mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
cda706b522
It does not really add much over the sensitive/insensitive rendering that is already indicating which widget is mapped. At the same time, set up signal handlers so we can update that when the widget changes.
69 lines
2.2 KiB
XML
69 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<object class="GtkTreeStore" id="model">
|
|
<columns>
|
|
<column type="gpointer"/>
|
|
<column type="gchararray"/>
|
|
<column type="gchararray"/>
|
|
<column type="gchararray"/>
|
|
<column type="gboolean"/>
|
|
</columns>
|
|
</object>
|
|
<template class="GtkInspectorWidgetTree" parent="GtkTreeView">
|
|
<property name="model">model</property>
|
|
<property name="enable-search">True</property>
|
|
<property name="search-column">2</property>
|
|
<child internal-child="selection">
|
|
<object class="GtkTreeSelection">
|
|
<signal name="changed" handler="on_widget_selected"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="title" translatable="yes">Object</property>
|
|
<property name="resizable">True</property>
|
|
<child>
|
|
<object class="GtkCellRendererText">
|
|
<property name="scale">0.8</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
<attribute name="sensitive">4</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="title" translatable="yes">Name</property>
|
|
<property name="resizable">True</property>
|
|
<child>
|
|
<object class="GtkCellRendererText">
|
|
<property name="scale">0.8</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">2</attribute>
|
|
<attribute name="sensitive">4</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="title" translatable="yes">Address</property>
|
|
<property name="resizable">True</property>
|
|
<child>
|
|
<object class="GtkCellRendererText">
|
|
<property name="scale">0.8</property>
|
|
<property name="family">monospace</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">3</attribute>
|
|
<attribute name="sensitive">4</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|