| Trees | Indices | Help |
|
|---|
|
|
object --+
|
Requestable
Defines a resource which is calculated when needed and cached until invalidated; it may take a long time to calculate, so request is asynchronous -- you provide a receiver callback, which is called by gobject some time later.
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Override this method to compute the answer(s) and pass them via gobject; e.g.: >>> val = 2+2 >>> val2 = 2*2 >>> gobject.idle_add(receiver, val, val2) # it's up to you how many args are passed Alternatively, pass get=lambda receiver: ... to the constructor. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Dec 15 19:07:38 2017 | http://epydoc.sourceforge.net |