This event represents a user click on a menu item. It could be a toplevel or a normal entry in a submenu.

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:

Inherited from Event (via SignalEvent):

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

Inherited from Event (via SignalEvent):

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
def 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
Returnsstring to reproduce event Override this in a subclass.
API Documentation for Kiwi, generated by pydoctor at 2015-12-07 23:44:36.