Builder list factory

This commit is contained in:
Cameron Dehning 2023-04-08 01:34:47 +00:00 committed by James Westman
parent 0cf9a8e4fc
commit a2fb86bc31
9 changed files with 98 additions and 1 deletions

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="GtkListView">
<property name="factory">
<object class="GtkBuilderListItemFactory" id="list_item_factory">
<property name="bytes"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="label">Hello</property>
</object>
</property>
</template>
</interface>]]></property>
</object>
</property>
</object>
</interface>