kiwi.ui.test.recorder.SignalEvent(Event) class documentationkiwi.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 L{Event} which is tied to a GObject signal,
L{Recorder} uses this to automatically attach itself to a signal
at which point this object will be instantiated.
@cvar signal_name: signal to listen to
| Method | __init__ | No summary |
| Class Method | connect | Calls connect on I{object} for signal I{signal_name}. |
Inherited from Event:
| Method | 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 |
| Method | 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: |
Create a new SignalEvent object. @param object: @param name: @param args:
Calls connect on I{object} for signal I{signal_name}.
@param object: object to connect on
@param signal_name: signal name to listen to
@param cb: callback