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

Type WindowDeleteEvent

object --+    
         |    
     Event --+
             |
            WindowDeleteEvent


This event represents a user click on the close button in the window manager.
Method Summary
  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:
    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

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

Method Details

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
Returns:
string to reproduce event Override this in a subclass.
Overrides:
kiwi.ui.test.recorder.Event.serialize (inherited documentation)

Generated by Epydoc 2.1 on Thu Oct 19 03:18:13 2006 http://epydoc.sf.net