gtk2/gtk/inspector/window.ui
Matthias Clasen 351559fcfa Simplify all ui files again
Now even simpler!
2018-01-18 17:53:44 -05:00

472 lines
22 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<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>
<property name="icon">resource:///org/gtk/libgtk/inspector/logo.png</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="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="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>
<packing>
<property name="name">list</property>
</packing>
</child>
<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>
<packing>
<property name="name">details</property>
</packing>
</child>
</object>
</child>
</object>
<packing>
<property name="name">objects</property>
</packing>
</child>
<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="GtkBox"/>
<packing>
<property name="name">general</property>
</packing>
</child>
<child>
<object class="GtkBox"/>
<packing>
<property name="name">visual</property>
</packing>
</child>
<child>
<object class="GtkStack" id="resource_buttons">
<property name="halign">start</property>
<property name="valign">center</property>
<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>
<packing>
<property name="name">list</property>
</packing>
</child>
<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>
<packing>
<property name="name">details</property>
</packing>
</child>
</object>
<packing>
<property name="name">resources</property>
</packing>
</child>
<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>
<packing>
<property name="name">statistics</property>
</packing>
</child>
<child>
<object class="GtkBox"/>
<packing>
<property name="name">logs</property>
</packing>
</child>
</object>
<packing>
<property name="name">global</property>
</packing>
</child>
<child>
<object class="GtkBox"/>
<packing>
<property name="name">css</property>
</packing>
</child>
<child>
<object class="GtkBox"/>
<packing>
<property name="name">recorder</property>
</packing>
</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="GtkStack" id="object_stack">
<child>
<object class="GtkInspectorObjectTree" id="object_tree">
<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="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="GtkBox"/>
<packing>
<property name="name">empty</property>
</packing>
</child>
<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>
<packing>
<property name="name">signals</property>
</packing>
</child>
<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>
<mark value="2.0" position="bottom"></mark>
<mark value="3.0" position="bottom"></mark>
<mark value="4.0" position="bottom"></mark>
<mark value="5.0" position="bottom"></mark>
</marks>
</object>
<packing>
<property name="name">magnifier</property>
</packing>
</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="GtkLabel" id="object_title"/>
<packing>
<property name="name">title</property>
</packing>
</child>
<child>
<object class="GtkSearchEntry" id="prop_search_entry">
<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="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">
<signal name="notify::visible-child" handler="object_details_changed"/>
<child>
<object class="GtkInspectorMiscInfo" id="misc_info">
<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="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="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"/>
<packing>
<property name="name">hierarchy</property>
<property name="title" translatable="yes">Class Hierarchy</property>
</packing>
</child>
<child>
<object class="GtkInspectorSelector" id="selector"/>
<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"/>
<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="GtkBox">
<child>
<object class="GtkStackSidebar">
<property name="stack">global_stack</property>
</object>
</child>
<child>
<object class="GtkStack" id="global_stack">
<child>
<object class="GtkInspectorGeneral"/>
<packing>
<property name="name">general</property>
<property name="title" translatable="yes">General</property>
</packing>
</child>
<child>
<object class="GtkInspectorVisual"/>
<packing>
<property name="name">visual</property>
<property name="title" translatable="yes">Visual</property>
</packing>
</child>
<child>
<object class="GtkInspectorResourceList">
<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="GtkInspectorStatistics">
<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="GtkInspectorLogs"/>
<packing>
<property name="name">logs</property>
<property name="title" translatable="yes">Logging</property>
</packing>
</child>
</object>
</child>
</object>
<packing>
<property name="name">global</property>
<property name="title" translatable="yes">Global</property>
</packing>
</child>
<child>
<object class="GtkInspectorCssEditor"/>
<packing>
<property name="name">css</property>
<property name="title" translatable="yes">CSS</property>
</packing>
</child>
<child>
<object class="GtkInspectorRecorder" id="widget_recorder"/>
<packing>
<property name="name">recorder</property>
<property name="title" translatable="yes">Recorder</property>
</packing>
</child>
</object>
</child>
</template>
</interface>