
The sidebar in the object page was using up more space than it deserves. Replace it with a combo box in the subheader. Now that we have more space, put the CSS node tree and the style properties in the same page again.
166 lines
7.3 KiB
XML
166 lines
7.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<object class="GtkListStore" id="prop_model">
|
|
<columns>
|
|
<column type="gchararray"/>
|
|
<column type="gchararray"/>
|
|
<column type="gchararray"/>
|
|
<column type="gint"/>
|
|
</columns>
|
|
</object>
|
|
<template class="GtkInspectorCssNodeTree" parent="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkPaned" id="paned">
|
|
<property name="visible">1</property>
|
|
<property name="wide-handle">1</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="position">300</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">1</property>
|
|
<property name="expand">1</property>
|
|
<property name="min-content-height">100</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="node_tree">
|
|
<property name="visible">1</property>
|
|
<property name="search-column">0</property>
|
|
<property name="enable-search">0</property>
|
|
<property name="enable-grid-lines">vertical</property>
|
|
<signal name="row-activated" handler="row_activated"/>
|
|
<signal name="button-press-event" handler="button_pressed"/>
|
|
<child internal-child="selection">
|
|
<object class="GtkTreeSelection">
|
|
<signal name="changed" handler="selection_changed"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="node_name_column">
|
|
<property name="resizable">1</property>
|
|
<property name="title" translatable="yes">Name</property>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
<attribute name="sensitive">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="node_id_column">
|
|
<property name="resizable">1</property>
|
|
<property name="title" translatable="yes">ID</property>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">3</attribute>
|
|
<attribute name="sensitive">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="node_classes_column">
|
|
<property name="resizable">1</property>
|
|
<property name="title" translatable="yes">Classes</property>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">2</attribute>
|
|
<attribute name="sensitive">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="node_state_column">
|
|
<property name="resizable">1</property>
|
|
<property name="title" translatable="yes">State</property>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">4</attribute>
|
|
<attribute name="sensitive">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">1</property>
|
|
<property name="expand">1</property>
|
|
<property name="min-content-height">100</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="prop_tree">
|
|
<property name="visible">1</property>
|
|
<property name="model">prop_model</property>
|
|
<property name="search-column">0</property>
|
|
<property name="enable-search">0</property>
|
|
<property name="enable-grid-lines">vertical</property>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="prop_name_column">
|
|
<property name="title" translatable="yes">CSS Property</property>
|
|
<property name="resizable">1</property>
|
|
<property name="sort-column-id">0</property>
|
|
<child>
|
|
<object class="GtkCellRendererText">
|
|
<property name="scale">0.8</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="title" translatable="yes">Value</property>
|
|
<property name="resizable">1</property>
|
|
<child>
|
|
<object class="GtkCellRendererText">
|
|
<property name="scale">0.8</property>
|
|
<property name="width-chars">20</property>
|
|
<property name="ellipsize">end</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="title" translatable="yes">Location</property>
|
|
<property name="resizable">1</property>
|
|
<child>
|
|
<object class="GtkCellRendererText">
|
|
<property name="scale">0.8</property>
|
|
<property name="width-chars">20</property>
|
|
<property name="ellipsize">end</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">2</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|