mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
c22e27f986
This lets us do two things: 1. Set the list-item role 2. Set selectable and selected states as appropriate https://bugzilla.gnome.org/show_bug.cgi?id=692258
43 lines
1.4 KiB
XML
43 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="can_focus">False</property>
|
|
<property name="type">popup</property>
|
|
<child>
|
|
<object class="GtkBox" id="box1">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkListBox" id="listbox1">
|
|
<property name="visible">True</property>
|
|
<property name="selection-mode">none</property>
|
|
<child>
|
|
<object class="GtkLabel" id="row1">
|
|
<property name="visible">True</property>
|
|
<property name="label">Row One</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="row2">
|
|
<property name="visible">True</property>
|
|
<property name="label">Row Two</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkListBox" id="listbox2">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkLabel" id="row3">
|
|
<property name="visible">True</property>
|
|
<property name="label">Row Tree</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|