This event represents a selection change on a kiwi.ui.objectlist.ObjectList, eg when the user selects or unselects a row. It is actually tied to the signal changed on GtkTreeSelection object.

Method __init__ No summary
Class Method connect Calls connect on object for signal signal_name.
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:
Method _get_rows Undocumented

Inherited from Event (via SignalEvent):

Class Variable object_type subclass for type, Recorder uses this to automatically attach events to objects when they appear

Inherited from Event (via SignalEvent):

Class Variable object_type subclass for type, Recorder uses this to automatically attach events to objects when they appear
def __init__(self, objectlist, name, args):

Create a new SignalEvent object.

Parametersobject
name
args
def _get_rows(self):
Undocumented
@classmethod
def connect(cls, orig, signal_name, cb):

Calls connect on object for signal signal_name.

Parametersobjectobject to connect on
signal_namesignal name to listen to
cbcallback
def 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

Override this in a subclass.

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 2019-12-22 23:48:14.