Package org.gnome.gtk

Class BuilderListItemFactory

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class BuilderListItemFactory extends ListItemFactory
GtkBuilderListItemFactory is a GtkListItemFactory that creates widgets by instantiating GtkBuilder UI templates.

The templates must extend the class that the parent widget expects. For example, a factory provided to Gtk.ListView:factory must have a template that extends ListItem.

Templates typically use GtkExpressions to obtain data from the items in the model.

Example:

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