BuilderListItemFactory


Object Hierarchy:

Gtk.BuilderListItemFactory Gtk.BuilderListItemFactory Gtk.BuilderListItemFactory Gtk.ListItemFactory Gtk.ListItemFactory Gtk.ListItemFactory->Gtk.BuilderListItemFactory GLib.Object GLib.Object GLib.Object->Gtk.ListItemFactory

Description:

[ CCode ( type_id = "gtk_builder_list_item_factory_get_type ()" ) ]
public sealed class BuilderListItemFactory : ListItemFactory

`GtkBuilderListItemFactory` is a `GtkListItemFactory` that creates widgets by instantiating `GtkBuilder` UI templates.

The templates must be extending `GtkListItem`, and typically use `GtkExpression`s to obtain data from the items in the model.

Example: ```xml <interface> <template class="GtkListItem"> <property name="child"> <object class="GtkLabel"> < property name="xalign">0</property> <binding name="label"> <lookup name="name" type="SettingsKey"> <lookup name="item">GtkListItem</lookup> </lookup> </binding> </object> </property> </template> < /interface> ```


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members: