forked from AuroraMiddleware/gtk
52666d6fe5
Rename the DataList object to TreeData, in preparation for adding a ListData object for list models. While we are touching it, modernize it a bit (drop the Private struct, use a layout manager, etc).
38 lines
1.3 KiB
XML
38 lines
1.3 KiB
XML
<interface domain="gtk40">
|
|
<template class="GtkInspectorTreeData" parent="GtkWidget">
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="spacing">6</property>
|
|
<property name="margin-start">6</property>
|
|
<property name="margin-end">6</property>
|
|
<property name="margin-top">6</property>
|
|
<property name="margin-bottom">6</property>
|
|
<child>
|
|
<object class="GtkToggleButton" id="show_button">
|
|
<property name="has-frame">0</property>
|
|
<property name="tooltip-text" translatable="yes">Show data</property>
|
|
<property name="icon-name">view-refresh-symbolic</property>
|
|
<signal name="toggled" handler="toggle_show"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="object_title">
|
|
<property name="hexpand">1</property>
|
|
<property name="halign">center</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="hexpand">1</property>
|
|
<property name="vexpand">1</property>
|
|
<property name="vscrollbar-policy">always</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="view"/>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|