Package: gtk

Class gtk:builder-list-item-factory

Superclasses

gtk:list-item-factory, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

bytes
The bytes property of type g:bytes (Read / Write / Construct Only)
The bytes instance containing the UI definition.
resource
The resource property of type :string (Read / Write / Construct Only)
The resource path containing the UI definition.
Default value: nil
scope
The scope property of type gtk:builder-scope (Read / Write / Construct Only)
The scope to use when instantiating list items.

Details

The gtk:builder-list-item-factory object is a gtk:list-item-factory object that creates widgets by instantiating gtk:builder UI templates.

The templates must be extending the gtk:list-item object, and typically use the gtk:expression instances to obtain data from the items in the model.

Examples

<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>    
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2023-8-13