Package kiwi :: Package ui :: Package test :: Module recorder :: Class SignalEvent
[frames | no frames]

Type SignalEvent

object --+    
         |    
     Event --+
             |
            SignalEvent

Known Subclasses:
ButtonClickedEvent, EntryActivateEvent, EntrySetTextEvent, ImageMenuItemButtonReleaseEvent, MenuItemActivateEvent, ObjectListDoubleClick, ObjectListSelectionChanged, 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.
Method Summary
  connect(cls, object, signal_name, cb)
Calls connect on object for signal signal_name. (Class method)
    Inherited from Event
  get_toplevel(self, widget)
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
  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:

Class Variable Summary
NoneType signal_name: signal to listen to
    Inherited from Event
NoneType object_type: subclass for type, Recorder uses this to automatically attach events to objects when they appear

Class Method Details

connect(cls, object, signal_name, cb)

Calls connect on object for signal signal_name.
Parameters:
object - object to connect on
signal_name - signal name to listen to
cb - callback

Class Variable Details

signal_name

signal to listen to
Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Fri Mar 23 15:56:54 2007 http://epydoc.sf.net