ListItem
Object Hierarchy:
Description:
`GtkListItem` is used by list widgets to represent items in a [iface@Gio.
ListModel].
`GtkListItem` 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 [method@Gtk.ListItem.set_child].
`GtkListItem` objects exist in 2 stages:
- The unbound stage where the listitem is not currently connected to an item in the list. In that case, the [property@Gtk.ListItem:item] property is set to null.
- The bound stage where the listitem references an item from the list. The [property@Gtk.ListItem:item] property is not null.
All known sub-classes:
Namespace: Gtk
Package: gtk4
Content:
Properties:
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object