# Class k.u.t.r.ObjectListSelectionChanged(SignalEvent):

Part of kiwi.ui.test.recorder View In Hierarchy

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 | __init__ | Create a new SignalEvent object.
Method | _get_rows | Undocumented
Class Method | connect | Calls connect on object for signal signal_name.
Method | get_toplevel | This fetches the toplevel widget for a specific object,
Method | serialize | Serialize the widget, write the code here which is

def __init__(self, objectlist, name, args):
overrides kiwi.ui.test.recorder.SignalEvent.__init__
Create a new SignalEvent object.

Parameters | object |
| name |
| args |

def _get_rows(self):
Undocumented
@classmethod
def connect(cls, orig, signal_name, cb):
overrides kiwi.ui.test.recorder.SignalEvent.connect
Calls connect on object for signal signal_name.

Parameters | object | object to connect on
| signal_name | signal name to listen to
| cb | callback

def get_toplevel(self, widget):
overrides kiwi.ui.test.recorder.Event.get_toplevel

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.

def serialize(self):
overrides kiwi.ui.test.recorder.Event.serialize
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.