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
| Class Variable | signal_name | signal to listen to |
| Method | __init__ | No summary |
| Class Method | connect | Calls connect on object for signal signal_name. |
Inherited from Event:
| Class Variable | object_type | subclass for type, Recorder uses
this to automatically attach events to objects when they appear |
| 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.
| Parameters | object | |
| name | ||
| args |
Calls connect on object for signal signal_name.
| Parameters | object | object to connect on |
| signal_name | signal name to listen to | |
| cb | callback |