Package kiwi :: Package ui :: Package test :: Module recorder :: Class ObjectListSelectionChanged
[frames | no frames]

Type ObjectListSelectionChanged

object --+        
         |        
     Event --+    
             |    
   SignalEvent --+
                 |
                ObjectListSelectionChanged


This event represents a selection change on a kiwi.ui.objectlist.ObjectList, eg when the user selects or unselects a row. It is actually tied to the signal changed on GtkTreeSelection object.
Method Summary
  connect(cls, orig, signal_name, cb)
(Class method)
  get_toplevel(self, widget)
This fetches the toplevel widget for a specific object, by default it assumes it's a wiget subclass and calls get_toplevel() for the widget
  serialize(self)
Serialize the widget, write the code here which is used to reproduce the event, for a button which is clicked the implementation looks like this:

Class Variable Summary
NoneType object_type = kiwi.ui.objectlist.ObjectList
NoneType signal_name: signal to listen to

Instance Method Details

get_toplevel(self, widget)

This fetches the toplevel widget for a specific object, by default it assumes it's a wiget subclass and calls get_toplevel() for the widget

Override this in a subclass.
Overrides:
kiwi.ui.test.recorder.Event.get_toplevel (inherited documentation)

serialize(self)

Serialize the widget, write the code here which is used to reproduce the event, for a button which is clicked the implementation looks like this:
>>> def serialize(self):
>>> ... return '%s.clicked' % self.name
Returns:
string to reproduce event Override this in a subclass.
Overrides:
kiwi.ui.test.recorder.Event.serialize (inherited documentation)

Class Variable Details

signal_name

signal to listen to
Type:
NoneType
Value:
'changed'                                                              

Generated by Epydoc 2.1 on Mon Jan 29 16:42:58 2007 http://epydoc.sf.net