SignalListItemFactory

class SignalListItemFactory(**properties: Any)

Superclasses: ListItemFactory, Object

Constructors:

SignalListItemFactory(**properties)
new() -> Gtk.ListItemFactory

Constructors

class SignalListItemFactory
classmethod new() ListItemFactory

Creates a new GtkSignalListItemFactory.

You need to connect signal handlers before you use it.

Signals

class SignalListItemFactory.signals
bind(object: Object) None

Emitted when an object has been bound, for example when a new item has been set on a listitem and should be bound for use.

After this signal was emitted, the object might be shown in a ListView or other widget.

The unbind signal is the opposite of this signal and can be used to undo everything done in this signal.

Parameters:

object – The GObject to bind

setup(object: Object) None

Emitted when a new listitem has been created and needs to be setup for use.

It is the first signal emitted for every listitem.

The teardown signal is the opposite of this signal and can be used to undo everything done in this signal.

Parameters:

object – The GObject to set up

teardown(object: Object) None

Emitted when an object is about to be destroyed.

It is the last signal ever emitted for this object.

This signal is the opposite of the setup signal and should be used to undo everything done in that signal.

Parameters:

object – The GObject to tear down

unbind(object: Object) None

Emitted when an object has been unbound from its item, for example when a listitem was removed from use in a list widget and its item is about to be unset.

This signal is the opposite of the bind signal and should be used to undo everything done in that signal.

Parameters:

object – The GObject to unbind