EvinceView.Job¶
- Subclasses:
EvinceView.JobAnnots
,EvinceView.JobAttachments
,EvinceView.JobExport
,EvinceView.JobFind
,EvinceView.JobFonts
,EvinceView.JobLayers
,EvinceView.JobLinks
,EvinceView.JobLoad
,EvinceView.JobLoadFd
,EvinceView.JobLoadGFile
,EvinceView.JobLoadStream
,EvinceView.JobPageData
,EvinceView.JobPrint
,EvinceView.JobRender
,EvinceView.JobSave
,EvinceView.JobThumbnail
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
cancellable |
r |
||
cancelled |
r |
||
document |
r |
||
error |
r |
||
finished |
r |
||
idle_cancelled_id |
r |
||
idle_finished_id |
r |
||
parent |
r |
||
run_mode |
r |
Class Details¶
- class EvinceView.Job(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- classmethod scheduler_get_running_thread_job()¶
- Returns:
- Return type:
- classmethod scheduler_wait()¶
Synchronously waits until all jobs are done. Remember that main loop is not running already probably.
- cancel()¶
- failed(error)¶
- Parameters:
error (
GLib.Error
) – aGLib.Error
- get_run_mode()¶
- Return type:
- scheduler_push_job(priority)¶
- Parameters:
priority (
EvinceView.JobPriority
) –
- scheduler_update_job(priority)¶
- Parameters:
priority (
EvinceView.JobPriority
) –
- set_run_mode(run_mode)¶
- Parameters:
run_mode (
EvinceView.JobRunMode
) –
- succeeded()¶
- do_cancelled() virtual¶
- do_finished() virtual¶
Signal Details¶
- EvinceView.Job.signals.cancelled(job)¶
- Signal Name:
cancelled
- Flags:
- Parameters:
job (
EvinceView.Job
) – The object which received the signal
- EvinceView.Job.signals.finished(job)¶
- Signal Name:
finished
- Flags:
- Parameters:
job (
EvinceView.Job
) – The object which received the signal