k.u.t.r.ObjectListDoubleClick(SignalEvent) : class documentation

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

This event represents a double click on a row in objectlist
Method __init__ Create a new SignalEvent object.
Class Method connect Calls connect on object for signal signal_name.
Method serialize Serialize the widget, write the code here which is

Inherited from Event (via SignalEvent):

Method get_toplevel This fetches the toplevel widget for a specific object,
def __init__(self, objectlist, name, args):
Create a new SignalEvent object.
Parametersobject
name
args
@classmethod
def connect(cls, orig, signal_name, cb):
Calls connect on object for signal signal_name.
Parametersobjectobject to connect on
signal_namesignal name to listen to
cbcallback
def 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
Returnsstring to reproduce event Override this in a subclass.
API Documentation for Kiwi, generated by pydoctor at 2010-05-20 02:10:57.