RB.TaskProgress

g GObject.GInterface GObject.GInterface RB.TaskProgress RB.TaskProgress GObject.GInterface->RB.TaskProgress

Implementations:
 RB.RhythmDBImportJob, RB.TaskProgressSimple, RB.TrackTransferBatch

Methods

  cancel ()

Virtual Methods

  do_cancel ()

Properties

Name Type Flags Short Description
task-cancellable bool r/w whether the task can be cancelled
task-detail str r/w task detail
task-label str r/w task label
task-notify bool r/w whether to notify on completion
task-outcome RB.TaskOutcome r/w task outcome
task-progress float r/w task progress

Signals

None

Fields

None

Class Details

class RB.TaskProgress
Bases:GObject.GInterface
Structure:RB.TaskProgressInterface
cancel()
do_cancel() virtual

Property Details

RB.TaskProgress.props.task_cancellable
Name:task-cancellable
Type:bool
Default Value:False
Flags:READABLE, WRITABLE

whether the task can be cancelled

RB.TaskProgress.props.task_detail
Name:task-detail
Type:str
Default Value:None
Flags:READABLE, WRITABLE

task detail

RB.TaskProgress.props.task_label
Name:task-label
Type:str
Default Value:None
Flags:READABLE, WRITABLE

task label

RB.TaskProgress.props.task_notify
Name:task-notify
Type:bool
Default Value:False
Flags:READABLE, WRITABLE

whether to notify on completion

RB.TaskProgress.props.task_outcome
Name:task-outcome
Type:RB.TaskOutcome
Default Value:RB.TaskOutcome.NONE
Flags:READABLE, WRITABLE

task outcome

RB.TaskProgress.props.task_progress
Name:task-progress
Type:float
Default Value:0.0
Flags:READABLE, WRITABLE

task progress