forked from AuroraMiddleware/gtk
713d3834f6
Make the button area in the top left a stack that is parallel to the main page stack. This avoids size changes as we switch between pages.
429 lines
19 KiB
XML
429 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<template class="GtkInspectorWindow" parent="GtkWindow">
|
|
<property name="default-height">500</property>
|
|
<property name="default-width">800</property>
|
|
<property name="icon">resource:///org/gtk/inspector/logo.png</property>
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar">
|
|
<property name="visible">True</property>
|
|
<property name="show-close-button">True</property>
|
|
<child>
|
|
<object class="GtkStack" id="button_stack">
|
|
<property name="visible">True</property>
|
|
<property name="visible-child-name" bind-source="top_stack" bind-property="visible-child-name"/>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkButton" id="select_object">
|
|
<property name="visible">True</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">True</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">True</property>
|
|
<child>
|
|
<object class="GtkButton" id="object_details_button">
|
|
<property name="visible">True</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">True</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">True</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">True</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">True</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">True</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">True</property>
|
|
<property name="halign">start</property>
|
|
<property name="valign">center</property>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">True</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">True</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">True</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">True</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">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">css</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">visual</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">general</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="pack-type">start</property>
|
|
</packing>
|
|
</child>
|
|
<child type="title">
|
|
<object class="GtkStackSwitcher">
|
|
<property name="visible">True</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">True</property>
|
|
<child>
|
|
<object class="GtkStack" id="object_stack">
|
|
<property name="visible">True</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">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<child>
|
|
<object class="GtkSidebar">
|
|
<property name="visible">True</property>
|
|
<property name="stack">object_details</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSeparator">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">vertical</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="object_details">
|
|
<property name="visible">True</property>
|
|
<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>
|
|
</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>
|
|
</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>
|
|
</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">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">Selector</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorClassesList" id="classes_list"/>
|
|
<packing>
|
|
<property name="name">css-classes</property>
|
|
<property name="title" translatable="yes">Style Classes</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorStylePropList" id="style_prop_list"/>
|
|
<packing>
|
|
<property name="name">style-properties</property>
|
|
<property name="title" translatable="yes">Style Properties</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorCssEditor" id="widget_css_editor">
|
|
<property name="global">False</property>
|
|
</object>
|
|
<packing>
|
|
<property name="name">css</property>
|
|
<property name="title" translatable="yes">CSS</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>
|
|
</object>
|
|
</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>
|
|
<property name="global">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>
|