Package qubx :: Module util_panels :: Class ScriptProxyTask
[hide private]
[frames] | no frames]

Class ScriptProxyTask

source code

object --+    
         |    
 task.Task --+
             |
            ScriptProxyTask

Represents a running script, in order to show progress and status and allow user to stop and pause (first click on "Stop" pauses it, next click permanently stops it).

Instance Methods [hide private]
 
__init__(self, module)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
script_done(self)
Called by creator (TaskFace) when script finishes, stops proxy task.
source code
 
run(self)
Override this method to make the Task thread do something.
source code
 
__onInterrupt(self, task, cancel) source code
 
__onResume(self, task) source code

Inherited from task.Task: __call__, gui_call_recv, idle_wait, interrupt, join, send_exception, send_progress, send_result, send_status, set_progress, set_status, start, thread_main

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]

Inherited from task.Task: OnException, OnInterrupt, OnProgress, OnResult, OnStatus, OnTerminate, label, main_hold, progress, status, tid

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, module)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
Overrides: object.__init__

run(self)

source code 

Override this method to make the Task thread do something.

Overrides: task.Task.run
(inherited documentation)