Trees | Index | Help |
|
---|
Module indiclient :: Class mini_element_handler |
|
_blocking_indi_object_handler
--+ |gui_indi_object_handler
--+ |indi_vector_identifier
--+ | | |indi_element_identifier
--+ |indi_custom_element_handler
--+ | mini_element_handler
Method Summary | |
---|---|
| |
NoneType |
This method simply calls handlermethod with element as the only parameter. |
Inherited from indi_custom_element_handler | |
NoneType |
This hander method will be called only once. |
indielement
|
Returns the indielement this handler is associated
with. |
indivector
|
Returns the indivector this handler is associated
with. |
Inherited from gui_indi_object_handler | |
NoneType |
The method _blocking_on_gui_changed is called by the
GUI, in order to inform us, that a widget has changed. |
NoneType |
Important: Implement your GUI callback here but link you GUI callback signal to {_blocking_on_gui_changed} (see on_blocked if you want to know why) |
NoneType |
installs callbacks of the GUI that will call the function _blocking_on_gui_changed if the user
changes the the GUI object associated with this gui_indi_object_handler . |
NoneType |
uninstalls the GUI callback installed with set_bidirectional (see set_bidirectional for details) |
NoneType |
Called by the GUI whenever the widget associated with this handler has changed. |
Inherited from _blocking_indi_object_handler | |
NoneType |
activates the block. |
BooleanType |
Return True if blocked , False otherwise |
NoneType |
releases the block. |
NoneType |
This method activates the block, calls the method on_indiobject_changed (It is called by bigindiclient.process_events each time an
INDI object has been received) |
Instance Variable Summary | |
---|---|
function | handlermethod : The function to be called |
Inherited from indi_custom_element_handler | |
StringType | devicename : The name of the device this handler is associated with |
StringType | elementname : The name of the indielement this handler is associated with |
indiclient |
indi : The indiclient instance calling this handler (will be set by
indiclient automatically) |
StringType | type : The type of the handler |
StringType | vectorname : The name of the indivector this handler is associated with |
Inherited from _blocking_indi_object_handler | |
IntType | _blocked : A counter incremented each time the _block method is called and decremented by
_unblock , >0 means blocked, ==0 mean
unblocked |
Method Details |
---|
__init__(self,
devicename,
vectorname,
elementname,
handlermethod)
|
on_indiobject_changed(self, vector, element)This method simply callshandlermethod with element as the only parameter.
|
Instance Variable Details |
---|
handlermethodThe function to be called
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Sep 10 10:26:06 2005 | http://epydoc.sf.net |