mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
c9dba4b8e0
Add a tab that shows available signals for each object. For now, we only show if each signal has handlers connected or now. More functionality will be added later.
259 lines
11 KiB
XML
259 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<object class="GtkImage" id="update_image">
|
|
<property name="visible">True</property>
|
|
<property name="icon-name">view-refresh</property>
|
|
<property name="icon-size">4</property>
|
|
</object>
|
|
<object class="GtkImage" id="inspect_image">
|
|
<property name="visible">True</property>
|
|
<property name="icon-name">edit-find</property>
|
|
<property name="icon-size">4</property>
|
|
</object>
|
|
<object class="GtkMenu" id="widget_popup">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkMenuItem">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Send Widget to Shell</property>
|
|
<signal name="activate" handler="on_send_widget_to_shell_activate"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<template class="GtkInspectorWindow" parent="GtkWindow">
|
|
<property name="default-height">500</property>
|
|
<property name="default-width">1000</property>
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar">
|
|
<property name="visible">True</property>
|
|
<property name="show-close-button">True</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<style>
|
|
<class name="linked"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">True</property>
|
|
<property name="image">inspect_image</property>
|
|
<property name="tooltip-text" translatable="yes">Inspect</property>
|
|
<signal name="clicked" handler="on_inspect"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleButton">
|
|
<property name="visible">True</property>
|
|
<property name="image">update_image</property>
|
|
<property name="tooltip-text" translatable="yes">Show Graphic Updates</property>
|
|
<signal name="toggled" handler="on_graphic_updates_toggled"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="pack-type">start</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkNotebook">
|
|
<property name="visible">True</property>
|
|
<property name="show-border">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkInspectorButtonPath" id="button_path">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkPaned">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">horizontal</property>
|
|
<child>
|
|
<object class="GtkPaned">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="hscrollbar-policy">automatic</property>
|
|
<property name="vscrollbar-policy">always</property>
|
|
<property name="shadow-type">in</property>
|
|
<property name="width-request">250</property>
|
|
<property name="expand">True</property>
|
|
<child>
|
|
<object class="GtkInspectorWidgetTree" id="widget_tree">
|
|
<property name="visible">True</property>
|
|
<signal name="widget-changed" handler="on_widget_tree_selection_changed"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="resize">True</property>
|
|
<property name="shrink">False</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorPythonShell" id="python_shell">
|
|
<property name="visible">False</property>
|
|
</object>
|
|
<packing>
|
|
<property name="resize">False</property>
|
|
<property name="shrink">False</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="resize">True</property>
|
|
<property name="shrink">True</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkNotebook">
|
|
<property name="visible">True</property>
|
|
<property name="enable-popup">True</property>
|
|
<property name="show-border">False</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="hscrollbar-policy">automatic</property>
|
|
<property name="vscrollbar-policy">always</property>
|
|
<property name="shadow-type">in</property>
|
|
<property name="width-request">250</property>
|
|
<child>
|
|
<object class="GtkInspectorPropList" id="prop_list">
|
|
<property name="visible">True</property>
|
|
<property name="child-properties">False</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Properties</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="hscrollbar-policy">automatic</property>
|
|
<property name="vscrollbar-policy">always</property>
|
|
<property name="shadow-type">in</property>
|
|
<property name="width-request">250</property>
|
|
<child>
|
|
<object class="GtkInspectorPropList" id="child_prop_list">
|
|
<property name="visible">True</property>
|
|
<property name="child-properties">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Child Properties</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="hscrollbar-policy">automatic</property>
|
|
<property name="vscrollbar-policy">always</property>
|
|
<property name="shadow-type">in</property>
|
|
<property name="width-request">250</property>
|
|
<child>
|
|
<object class="GtkInspectorSignalsList" id="signals_list">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Signals</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorObjectHierarchy" id="object_hierarchy">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Hierarchy</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorClassesList" id="classes_list">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">CSS Classes</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorCssEditor" id="widget_css_editor">
|
|
<property name="visible">True</property>
|
|
<property name="global">False</property>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Custom CSS</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="resize">True</property>
|
|
<property name="shrink">True</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Widget Tree</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorThemes">
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Themes</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInspectorCssEditor">
|
|
<property name="visible">True</property>
|
|
<property name="global">True</property>
|
|
</object>
|
|
</child>
|
|
<child type="tab">
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Custom CSS</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|