gtk2/gtk/inspector/window.ui
Matthias Clasen 4ace873046 Update ui files to new stack syntax
This conversion was done with the help of gtk4-builder-tool.
2019-02-08 00:09:44 -05:00

558 lines
29 KiB
XML

<interface domain="gtk40">
<object class="GtkAdjustment" id="magnification_adjustment">
<property name="lower">1.0</property>
<property name="upper">5.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>
<child type="titlebar">
<object class="GtkHeaderBar">
<property name="show-title-buttons">1</property>
<child>
<object class="GtkStack" id="button_stack">
<property name="visible-child-name" bind-source="top_stack" bind-property="visible-child-name"/>
<child>
<object class="GtkStackPage">
<property name="name">objects</property>
<property name="child">
<object class="GtkBox">
<property name="spacing">6</property>
<child>
<object class="GtkButton" id="select_object">
<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>
<property name="icon-name">find-location-symbolic</property>
<signal name="clicked" handler="gtk_inspector_on_inspect"/>
</object>
</child>
<child>
<object class="GtkStack" id="object_buttons">
<child>
<object class="GtkStackPage">
<property name="name">list</property>
<property name="child">
<object class="GtkButton" id="object_details_button">
<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>
<property name="icon-name">dialog-information-symbolic</property>
<signal name="clicked" handler="open_object_details"/>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">details</property>
<property name="child">
<object class="GtkButton">
<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>
<property name="icon-name">view-list-symbolic</property>
<signal name="clicked" handler="close_object_details"/>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">global</property>
<property name="child">
<object class="GtkStack" id="global_button_stack">
<property name="visible-child-name" bind-source="global_stack" bind-property="visible-child-name"/>
<child>
<object class="GtkStackPage">
<property name="name">general</property>
<property name="child">
<object class="GtkBox"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">visual</property>
<property name="child">
<object class="GtkBox"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">resources</property>
<property name="child">
<object class="GtkStack" id="resource_buttons">
<property name="halign">start</property>
<property name="valign">center</property>
<child>
<object class="GtkStackPage">
<property name="name">list</property>
<property name="child">
<object class="GtkButton">
<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>
<property name="icon-name">dialog-information-symbolic</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">details</property>
<property name="child">
<object class="GtkButton">
<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>
<property name="icon-name">view-list-symbolic</property>
</object>
</property>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">statistics</property>
<property name="child">
<object class="GtkToggleButton" id="record_statistics_button">
<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>
<property name="icon-name">media-record-symbolic</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">logs</property>
<property name="child">
<object class="GtkBox"/>
</property>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">css</property>
<property name="child">
<object class="GtkBox"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">recorder</property>
<property name="child">
<object class="GtkBox"/>
</property>
</object>
</child>
</object>
</child>
<child type="title">
<object class="GtkStackSwitcher">
<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">
<child>
<object class="GtkStackPage">
<property name="name">objects</property>
<property name="title" translatable="yes">Objects</property>
<property name="child">
<object class="GtkStack" id="object_stack">
<child>
<object class="GtkStackPage">
<property name="name">object-tree</property>
<property name="child">
<object class="GtkInspectorObjectTree" id="object_tree">
<signal name="object-activated" handler="on_object_activated"/>
<signal name="object-selected" handler="on_object_selected"/>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">object-details</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkCenterBox">
<child type="start">
<object class="GtkBox">
<property name="spacing">10</property>
<child>
<object class="GtkStackCombo" id="stackcombo">
<property name="margin">6</property>
<property name="stack">object_details</property>
</object>
</child>
<child>
<object class="GtkStack" id="object_start_stack">
<child>
<object class="GtkStackPage">
<property name="name">empty</property>
<property name="child">
<object class="GtkBox"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">signals</property>
<property name="child">
<object class="GtkBox">
<property name="spacing">6</property>
<property name="margin">6</property>
<child>
<object class="GtkToggleButton" id="signals_trace_button">
<property name="relief">none</property>
<property name="tooltip-text" translatable="yes">Trace signal emissions on this object</property>
<property name="icon-name">media-record-symbolic</property>
</object>
</child>
<child>
<object class="GtkButton" id="signals_clear_button">
<property name="relief">none</property>
<property name="tooltip-text" translatable="yes">Clear log</property>
<property name="icon-name">edit-clear-symbolic</property>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">magnifier</property>
<property name="child">
<object class="GtkScale">
<property name="width-request">150</property>
<property name="draw-value">0</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>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="center">
<object class="GtkStack" id="object_center_stack">
<property name="transition-type">crossfade</property>
<property name="hexpand">1</property>
<property name="halign">center</property>
<child>
<object class="GtkStackPage">
<property name="name">title</property>
<property name="child">
<object class="GtkLabel" id="object_title"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">prop-search</property>
<property name="child">
<object class="GtkSearchEntry" id="prop_search_entry">
<property name="margin">6</property>
<property name="max-width-chars">40</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">child-prop-search</property>
<property name="child">
<object class="GtkSearchEntry" id="child_prop_search_entry">
<property name="margin">6</property>
<property name="max-width-chars">40</property>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkStack" id="object_details">
<signal name="notify::visible-child" handler="object_details_changed"/>
<child>
<object class="GtkStackPage">
<property name="name">misc</property>
<property name="title" translatable="yes">Miscellaneous</property>
<property name="child">
<object class="GtkInspectorMiscInfo" id="misc_info">
<property name="object-tree">object_tree</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">properties</property>
<property name="title" translatable="yes">Properties</property>
<property name="child">
<object class="GtkInspectorPropList" id="prop_list">
<property name="child-properties">False</property>
<property name="object-tree">object_tree</property>
<property name="search-entry">prop_search_entry</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">signals</property>
<property name="title" translatable="yes">Signals</property>
<property name="child">
<object class="GtkInspectorSignalsList" id="signals_list">
<property name="trace-button">signals_trace_button</property>
<property name="clear-button">signals_clear_button</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">child-properties</property>
<property name="title" translatable="yes">Child Properties</property>
<property name="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>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">hierarchy</property>
<property name="title" translatable="yes">Class Hierarchy</property>
<property name="child">
<object class="GtkInspectorObjectHierarchy" id="object_hierarchy"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">selector</property>
<property name="title" translatable="yes">CSS Selector</property>
<property name="child">
<object class="GtkInspectorSelector" id="selector"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">css-nodes</property>
<property name="title" translatable="yes">CSS Nodes</property>
<property name="child">
<object class="GtkInspectorCssNodeTree" id="widget_css_node_tree">
<signal name="notify::node" handler="notify_node"/>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">size-groups</property>
<property name="title" translatable="yes">Size Groups</property>
<property name="child">
<object class="GtkInspectorSizeGroups" id="size_groups"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">data</property>
<property name="title" translatable="yes">Data</property>
<property name="child">
<object class="GtkInspectorDataList" id="data_list"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">actions</property>
<property name="title" translatable="yes">Actions</property>
<property name="child">
<object class="GtkInspectorActions" id="actions"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">menu</property>
<property name="title" translatable="yes">Menu</property>
<property name="child">
<object class="GtkInspectorMenu" id="menu"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">controllers</property>
<property name="title" translatable="yes">Controllers</property>
<property name="child">
<object class="GtkInspectorControllers" id="controllers">
<property name="object-tree">object_tree</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">magnifier</property>
<property name="title" translatable="yes">Magnifier</property>
<property name="child">
<object class="GtkInspectorMagnifier" id="magnifier">
<property name="adjustment">magnification_adjustment</property>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</property>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">global</property>
<property name="title" translatable="yes">Global</property>
<property name="child">
<object class="GtkBox">
<child>
<object class="GtkStackSidebar">
<property name="stack">global_stack</property>
</object>
</child>
<child>
<object class="GtkStack" id="global_stack">
<child>
<object class="GtkStackPage">
<property name="name">general</property>
<property name="title" translatable="yes">General</property>
<property name="child">
<object class="GtkInspectorGeneral"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">visual</property>
<property name="title" translatable="yes">Visual</property>
<property name="child">
<object class="GtkInspectorVisual"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">resources</property>
<property name="title" translatable="yes">Resources</property>
<property name="child">
<object class="GtkInspectorResourceList">
<property name="buttons">resource_buttons</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">statistics</property>
<property name="title" translatable="yes">Statistics</property>
<property name="child">
<object class="GtkInspectorStatistics">
<property name="button">record_statistics_button</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">logs</property>
<property name="title" translatable="yes">Logging</property>
<property name="child">
<object class="GtkInspectorLogs"/>
</property>
</object>
</child>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">css</property>
<property name="title" translatable="yes">CSS</property>
<property name="child">
<object class="GtkInspectorCssEditor"/>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">recorder</property>
<property name="title" translatable="yes">Recorder</property>
<property name="child">
<object class="GtkInspectorRecorder" id="widget_recorder"/>
</property>
</object>
</child>
</object>
</child>
</template>
</interface>