GtkListItem

gtk.list_item.ListItem is used by list widgets to represent items in a gio.list_model.ListModel.

gtk.list_item.ListItem objects are managed by the list widget (with its factory) and cannot be created by applications, but they need to be populated by application code. This is done by calling gtk.list_item.ListItem.setChild.

gtk.list_item.ListItem objects exist in 2 stages:

1. The unbound stage where the listitem is not currently connected to an item in the list. In that case, the gtk.list_item.ListItem.GObject.Object property is set to null.

2. The bound stage where the listitem references an item from the list. The gtk.list_item.ListItem.GObject.Object property is not null.

struct GtkListItem