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

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

Known subclasses: kiwi.ui.test.recorder.ButtonClickedEvent, kiwi.ui.test.recorder.EntryActivateEvent, kiwi.ui.test.recorder.EntrySetTextEvent, kiwi.ui.test.recorder.ImageMenuItemButtonReleaseEvent, kiwi.ui.test.recorder.MenuItemActivateEvent, kiwi.ui.test.recorder.ObjectListDoubleClick, kiwi.ui.test.recorder.ObjectListSelectionChanged, kiwi.ui.test.recorder.ToolButtonReleaseEvent

A SignalEvent is an Event which is tied to a GObject signal, Recorder uses this to automatically attach itself to a signal at which point this object will be instantiated.
Class Variablessignal_namesignal to listen to
Method __init__ Create a new SignalEvent object.
Class Method connect Calls connect on object for signal signal_name.

Inherited from Event:

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, object, name, args):
Create a new SignalEvent object.
Parametersobject
name
args
@classmethod
def connect(cls, object, signal_name, cb):
Calls connect on object for signal signal_name.
Parametersobjectobject to connect on
signal_namesignal name to listen to
cbcallback
API Documentation for Kiwi, generated by pydoctor at 2010-05-20 02:10:57.