forked from AuroraMiddleware/gtk
df1816a29c
We are only using this as a boolean, so change it to a boolean property named has-frame.
39 lines
1.4 KiB
XML
39 lines
1.4 KiB
XML
<interface domain="gtk40">
|
|
<template class="GtkInspectorDataList" parent="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<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>
|