2015-03-02 23:02:25 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface domain="gtk30">
|
2015-10-28 04:33:14 +00:00
|
|
|
<object class="GtkListStore" id="prop_model">
|
|
|
|
<columns>
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<column type="gint"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
2015-03-02 23:02:25 +00:00
|
|
|
<template class="GtkInspectorCssNodeTree" parent="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
2015-10-25 13:20:43 +00:00
|
|
|
<child>
|
2015-12-07 04:06:33 +00:00
|
|
|
<object class="GtkBox">
|
2015-10-28 04:33:14 +00:00
|
|
|
<property name="visible">1</property>
|
2015-12-07 04:06:33 +00:00
|
|
|
<property name="margin-start">6</property>
|
|
|
|
<property name="margin-end">6</property>
|
|
|
|
<child type="center">
|
|
|
|
<object class="GtkLabel" id="object_title">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="margin">12</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="node_list_button">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="no-show-all">1</property>
|
|
|
|
<property name="relief">none</property>
|
|
|
|
<property name="tooltip-text" translatable="yes">Show all CSS nodes</property>
|
|
|
|
<signal name="clicked" handler="switch_to_node_list" swapped="1"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="icon-name">pan-start-symbolic</property>
|
|
|
|
<property name="icon-size">1</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="prop_list_button">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="no-show-all">1</property>
|
|
|
|
<property name="relief">none</property>
|
|
|
|
<property name="tooltip-text" translatable="yes">Show CSS properties</property>
|
|
|
|
<signal name="clicked" handler="switch_to_prop_list" swapped="1"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="icon-name">pan-end-symbolic</property>
|
|
|
|
<property name="icon-size">1</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="pack-type">end</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2015-10-25 13:20:43 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2015-03-02 23:02:25 +00:00
|
|
|
<child>
|
2015-12-07 04:06:33 +00:00
|
|
|
<object class="GtkStack" id="stack">
|
2015-10-28 04:33:14 +00:00
|
|
|
<property name="visible">1</property>
|
2015-12-07 04:06:33 +00:00
|
|
|
<property name="transition-type">slide-left-right</property>
|
2015-03-02 23:02:25 +00:00
|
|
|
<child>
|
2015-10-28 04:33:14 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="expand">1</property>
|
|
|
|
<property name="min-content-height">100</property>
|
2015-03-02 23:02:25 +00:00
|
|
|
<child>
|
2015-10-28 04:33:14 +00:00
|
|
|
<object class="GtkTreeView" id="node_tree">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="search-column">0</property>
|
|
|
|
<property name="enable-search">0</property>
|
|
|
|
<signal name="row-activated" handler="row_activated"/>
|
2015-12-07 04:06:33 +00:00
|
|
|
<signal name="button-press-event" handler="button_pressed"/>
|
2015-10-28 04:33:14 +00:00
|
|
|
<child internal-child="selection">
|
|
|
|
<object class="GtkTreeSelection">
|
|
|
|
<signal name="changed" handler="selection_changed"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
2015-10-23 00:58:08 +00:00
|
|
|
<child>
|
2015-10-28 04:33:14 +00:00
|
|
|
<object class="GtkTreeViewColumn">
|
|
|
|
<property name="resizable">1</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>
|
2015-10-23 00:58:08 +00:00
|
|
|
</child>
|
2015-03-02 23:02:25 +00:00
|
|
|
<child>
|
2015-10-28 04:33:14 +00:00
|
|
|
<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">2</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">4</attribute>
|
|
|
|
<attribute name="sensitive">2</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
</object>
|
2015-03-02 23:02:25 +00:00
|
|
|
</child>
|
|
|
|
<child>
|
2015-10-28 04:33:14 +00:00
|
|
|
<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">3</attribute>
|
|
|
|
<attribute name="sensitive">2</attribute>
|
2015-10-31 04:07:19 +00:00
|
|
|
</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">5</attribute>
|
|
|
|
<attribute name="sensitive">2</attribute>
|
2015-10-28 04:33:14 +00:00
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
</object>
|
2015-03-02 23:02:25 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2015-10-28 04:33:14 +00:00
|
|
|
</object>
|
2015-12-07 04:06:33 +00:00
|
|
|
<packing>
|
|
|
|
<property name="name">node-list</property>
|
|
|
|
</packing>
|
2015-10-28 04:33:14 +00:00
|
|
|
</child>
|
|
|
|
<child>
|
2015-12-07 04:06:33 +00:00
|
|
|
<object class="GtkBox">
|
2015-10-28 04:33:14 +00:00
|
|
|
<property name="visible">1</property>
|
2015-12-07 04:06:33 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2015-03-02 23:02:25 +00:00
|
|
|
<child>
|
2015-12-07 04:06:33 +00:00
|
|
|
<object class="GtkBox">
|
2015-10-28 04:33:14 +00:00
|
|
|
<property name="visible">1</property>
|
2015-12-07 04:06:33 +00:00
|
|
|
<property name="orientation">horizontal</property>
|
|
|
|
<property name="margin">12</property>
|
2015-10-28 04:33:14 +00:00
|
|
|
<child>
|
2015-12-07 04:06:33 +00:00
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="label" translatable="yes">Node:</property>
|
2015-10-28 04:33:14 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2015-12-07 04:06:33 +00:00
|
|
|
<child type="center">
|
|
|
|
<object class="GtkLabel" id="css_node_info">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="expand">1</property>
|
|
|
|
<property name="min-content-height">100</property>
|
2015-10-28 04:33:14 +00:00
|
|
|
<child>
|
2015-12-07 04:06:33 +00:00
|
|
|
<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>
|
2015-10-28 04:33:14 +00:00
|
|
|
<child>
|
2015-12-07 04:06:33 +00:00
|
|
|
<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>
|
2015-10-28 04:33:14 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2015-12-07 04:06:33 +00:00
|
|
|
<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>
|
2015-10-28 04:33:14 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2015-03-02 23:02:25 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2015-12-07 04:06:33 +00:00
|
|
|
<packing>
|
|
|
|
<property name="name">prop-list</property>
|
|
|
|
</packing>
|
2015-03-02 23:02:25 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|