forked from AuroraMiddleware/gtk
aa193ce4a4
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.
544 lines
25 KiB
XML
544 lines
25 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<object class="GtkAdjustment" id="magnification_adjustment">
|
|
<property name="lower">1.0</property>
|
|
<property name="upper">5.0</property>
|
|
<property name="page-size">0.0</property>
|
|
<property name="page-increment">0.1</property>
|
|
<property name="step-increment">0.1</property>
|
|
<property name="value">2.0</property>
|
|
</object>
|
|
<template class="GtkInspectorWindow" parent="GtkWindow">
|
|
<property name="default-height">500</property>
|
|
<property name="default-width">800</property>
|
|
<property name="icon">resource:///org/gtk/libgtk/inspector/logo.png</property>
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar">
|
|
<property name="visible">1</property>
|
|
<property name="show-close-button">1</property>
|
|
<child>
|
|
<object class="GtkStack" id="button_stack">
|
|
<property name="visible">1</property>
|
|
<property name="visible-child-name" bind-source="top_stack" bind-property="visible-child-name"/>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkButton" id="select_object">
|
|
<property name="visible">1</property>
|
|
<property name="focus-on-click">0</property>
|
|
<property name="tooltip-text" translatable="yes">Select an Object</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<signal name="clicked" handler="gtk_inspector_on_inspect"/>
|
|
<style>
|
|
<class name="image-button"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">1</property>
|
|
<property name="icon-name">find-location-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="object_buttons">
|
|
<property name="visible">1</property>
|
|
<child>
|
|
<object class="GtkButton" id="object_details_button">
|
|
<property name="visible">1</property>
|
|
<property name="focus-on-click">0</property>
|
|
<property name="tooltip-text" translatable="yes">Show Details</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<signal name="clicked" handler="open_object_details"/>
|
|
<style>
|
|
<class name="image-button"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">1</property>
|
|
<property name="icon-name">dialog-information-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">list</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">1</property>
|
|
<property name="focus-on-click">0</property>
|
|
<property name="tooltip-text" translatable="yes">Show all Objects</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<signal name="clicked" handler="close_object_details"/>
|
|
<style>
|
|
<class name="image-button"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">1</property>
|
|
<property name="icon-name">view-list-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">details</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">objects</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleButton" id="record_statistics_button">
|
|
<property name="visible">1</property>
|
|
<property name="focus-on-click">0</property>
|
|
<property name="tooltip-text" translatable="yes">Collect Statistics</property>
|
|
<property name="halign">start</property>
|
|
<property name="valign">center</property>
|
|
<style>
|
|
<class name="image-button"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">1</property>
|
|
<property name="icon-name">media-record-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">statistics</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="resource_buttons">
|
|
<property name="visible">1</property>
|
|
<property name="halign">start</property>
|
|
<property name="valign">center</property>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">1</property>
|
|
<property name="focus-on-click">0</property>
|
|
<property name="tooltip-text" translatable="yes">Show Details</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<style>
|
|
<class name="image-button"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">1</property>
|
|
<property name="icon-name">dialog-information-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">list</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">1</property>
|
|
<property name="focus-on-click">0</property>
|
|
<property name="tooltip-text" translatable="yes">Show all Resources</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<style>
|
|
<class name="image-button"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">1</property>
|
|
<property name="icon-name">view-list-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">details</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">resources</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">css</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">visual</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">general</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="title">
|
|
<object class="GtkStackSwitcher">
|
|
<property name="visible">1</property>
|
|
<property name="margin-start">6</property>
|
|
<property name="margin-end">6</property>
|
|
<property name="stack">top_stack</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="top_stack">
|
|
<property name="visible">1</property>
|
|
<child>
|
|
<object class="GtkStack" id="object_stack">
|
|
<property name="visible">1</property>
|
|
<child>
|
|
<object class="GtkInspectorObjectTree" id="object_tree">
|
|
<property name="visible">True</property>
|
|
<signal name="object-activated" handler="on_object_activated"/>
|
|
<signal name="object-selected" handler="on_object_selected"/>
|
|
</object>
|
|
<packing>
|
|
<property name="name">object-tree</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">1</property>
|
|
<property name="spacing">10</property>
|
|
<child>
|
|
<object class="GtkStackCombo" id="stackcombo">
|
|
<property name="visible">True</property>
|
|
<property name="margin">6</property>
|
|
<property name="stack">object_details</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="object_start_stack">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">empty</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="spacing">6</property>
|
|
<property name="margin">6</property>
|
|
<child>
|
|
<object class="GtkToggleButton" id="signals_trace_button">
|
|
<property name="visible">True</property>
|
|
<property name="relief">none</property>
|
|
<property name="tooltip-text" translatable="yes">Trace signal emissions on this object</property>
|
|
<style>
|
|
<class name="image-button"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="icon-name">media-record-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="signals_clear_button">
|
|
<property name="visible">True</property>
|
|
<property name="relief">none</property>
|
|
<property name="tooltip-text" translatable="yes">Clear log</property>
|
|
<style>
|
|
<class name="image-button"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">True</property>
|
|
<property name="icon-name">edit-clear-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">signals</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScale">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="width-request">150</property>
|
|
<property name="draw-value">False</property>
|
|
<property name="adjustment">magnification_adjustment</property>
|
|
<marks>
|
|
<mark value="1.0" position="bottom"/>
|
|
<mark value="2.0" position="bottom"/>
|
|
<mark value="3.0" position="bottom"/>
|
|
<mark value="4.0" position="bottom"/>
|
|
<mark value="5.0" position="bottom"/>
|
|
</marks>
|
|
</object>
|
|
<packing>
|
|
<property name="name">magnifier</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="center">
|
|
<object class="GtkStack" id="object_center_stack">
|
|
<property name="visible">1</property>
|
|
<property name="transition-type">crossfade</property>
|
|
<child>
|
|
<object class="GtkLabel" id="object_title">
|
|
<property name="visible">1</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">title</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSearchEntry" id="prop_search_entry">
|
|
<property name="visible">1</property>
|
|
<property name="margin">6</property>
|
|
<property name="max-width-chars">40</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">prop-search</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSearchEntry" id="child_prop_search_entry">
|
|
<property name="visible">1</property>
|
|
<property name="margin">6</property>
|
|
<property name="max-width-chars">40</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">child-prop-search</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="object_details">
|
|
<property name="visible">1</property>
|
|
<signal name="notify::visible-child" handler="object_details_changed"/>
|
|
<child>
|
|
<object class="GtkInspectorMiscInfo" id="misc_info">
|
|
<property name="visible">True</property>
|
|
<property name="object-tree">object_tree</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">misc</property>
|
|
<property name="title" translatable="yes">Miscellaneous</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorPropList" id="prop_list">
|
|
<property name="visible">True</property>
|
|
<property name="child-properties">False</property>
|
|
<property name="object-tree">object_tree</property>
|
|
<property name="search-entry">prop_search_entry</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">properties</property>
|
|
<property name="title" translatable="yes">Properties</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorSignalsList" id="signals_list">
|
|
<property name="visible">True</property>
|
|
<property name="trace-button">signals_trace_button</property>
|
|
<property name="clear-button">signals_clear_button</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">signals</property>
|
|
<property name="title" translatable="yes">Signals</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorPropList" id="child_prop_list">
|
|
<property name="child-properties">True</property>
|
|
<property name="object-tree">object_tree</property>
|
|
<property name="search-entry">child_prop_search_entry</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">child-properties</property>
|
|
<property name="title" translatable="yes">Child Properties</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorObjectHierarchy" id="object_hierarchy">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">hierarchy</property>
|
|
<property name="title" translatable="yes">Class Hierarchy</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorSelector" id="selector">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">selector</property>
|
|
<property name="title" translatable="yes">CSS Selector</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorCssNodeTree" id="widget_css_node_tree">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">css-nodes</property>
|
|
<property name="title" translatable="yes">CSS nodes</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorSizeGroups" id="size_groups"/>
|
|
<packing>
|
|
<property name="name">size-groups</property>
|
|
<property name="title" translatable="yes">Size Groups</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorDataList" id="data_list"/>
|
|
<packing>
|
|
<property name="name">data</property>
|
|
<property name="title" translatable="yes">Data</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorActions" id="actions"/>
|
|
<packing>
|
|
<property name="name">actions</property>
|
|
<property name="title" translatable="yes">Actions</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorMenu" id="menu"/>
|
|
<packing>
|
|
<property name="name">menu</property>
|
|
<property name="title" translatable="yes">Menu</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorGestures" id="gestures">
|
|
<property name="object-tree">object_tree</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">gestures</property>
|
|
<property name="title" translatable="yes">Gestures</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorMagnifier" id="magnifier">
|
|
<property name="adjustment">magnification_adjustment</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">magnifier</property>
|
|
<property name="title" translatable="yes">Magnifier</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">object-details</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">objects</property>
|
|
<property name="title" translatable="yes">Objects</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorStatistics">
|
|
<property name="visible">True</property>
|
|
<property name="button">record_statistics_button</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">statistics</property>
|
|
<property name="title" translatable="yes">Statistics</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorResourceList">
|
|
<property name="visible">True</property>
|
|
<property name="buttons">resource_buttons</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">resources</property>
|
|
<property name="title" translatable="yes">Resources</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorCssEditor">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">css</property>
|
|
<property name="title" translatable="yes">CSS</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorVisual">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">visual</property>
|
|
<property name="title" translatable="yes">Visual</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorGeneral">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">general</property>
|
|
<property name="title" translatable="yes">General</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|