
This reuses the property editor infrastructure from the property list pages. Good that css nodes are objects.
83 lines
3.2 KiB
XML
83 lines
3.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<template class="GtkInspectorCssNodeTree" parent="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkLabel" id="object_title">
|
|
<property name="visible">True</property>
|
|
<property name="halign">fill</property>
|
|
<property name="valign">center</property>
|
|
<property name="margin-top">12</property>
|
|
<property name="margin-bottom">12</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="hscrollbar-policy">never</property>
|
|
<property name="vscrollbar-policy">automatic</property>
|
|
<property name="expand">True</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="tree_view">
|
|
<property name="visible">True</property>
|
|
<property name="enable-search">False</property>
|
|
<signal name="row-activated" handler="row_activated"/>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="resizable">True</property>
|
|
<property name="title" translatable="yes">Type</property>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
<attribute name="sensitive">2</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="name_column">
|
|
<property name="resizable">True</property>
|
|
<property name="title" translatable="yes">Name</property>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">0</attribute>
|
|
<attribute name="sensitive">2</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="id_column">
|
|
<property name="resizable">True</property>
|
|
<property name="title" translatable="yes">ID</property>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">4</attribute>
|
|
<attribute name="sensitive">2</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="classes_column">
|
|
<property name="resizable">True</property>
|
|
<property name="title" translatable="yes">Classes</property>
|
|
<child>
|
|
<object class="GtkCellRendererText"/>
|
|
<attributes>
|
|
<attribute name="text">3</attribute>
|
|
<attribute name="sensitive">2</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|