| Trees | Index | Help |
|
|---|
| Module gtkindiclient :: Class _switchlabelhandler |
|
indi_vector_identifier --+
|
indi_element_identifier --+
|
indi_vector_identifier --+
|
_blocking_indi_object_handler --+ |
| |
gui_indi_object_handler --+ |
| |
_gtkindi_widgetlist_handler --+ |
| |
_gtkindi_widget_handler --+
|
_gtkindi_widget_element_handler --+
|
_switchlabelhandler
indiswitch object connected to a GTK.Label
object, replacing On and Off by a customisable
label string
| Method Summary | |
|---|---|
| |
on_indiobject_changed(self,
vector,
element)
| |
| Inherited from _gtkindi_widget_element_handler | |
indielement
|
Returns the indielement this handler is associated
with. |
indivector
|
Returns the indivector this handler is associated
with. |
| |
| NoneType |
Called when the widget has changed and the INDI element needs to be updated |
| Inherited from _gtkindi_widgetlist_handler | |
| 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) |
| 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 |
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 will be called at least once by indiclient. |
| 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 | |
|---|---|
| StringType | offlabel: The Text to be displayed on the Label if the indiswitch is Off, Pango
markup is allowed |
| StringType | onlabel: The Text to be displayed on the Label if the indiswitch is On, Pango markup
is allowed |
| Inherited from _gtkindi_widget_element_handler | |
| GTK.Widget | widget: The GTK widget |
| Inherited from _gtkindi_widgetlist_handler | |
| list of GTK.Widget | widgetlist: The list GTK widgets to be connected |
| 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 |
| Inherited from indi_element_identifier | |
| StringType | devicename: The name of the device this handler is associated with |
| StringType | elementname: The name of the indielement this handler is associated with |
| StringType | vectorname: The name of the indivector this handler is associated with |
| Method Details |
|---|
__init__(self,
devicename,
vectorname,
elementname,
widget,
onlabel,
offlabel)
|
| Instance Variable Details |
|---|
offlabelThe Text to be displayed on the Label if theindiswitch is Off, Pango
markup is allowed
|
onlabelThe Text to be displayed on the Label if theindiswitch is On, Pango markup
is allowed
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sat Sep 10 10:26:04 2005 | http://epydoc.sf.net |