forked from AuroraMiddleware/gtk
c5b7f9f11c
Without this, the focus will not be inside the top_stack when we switch to the statistics page and it shows the excuse. This in turn will make the next page not take focus as expected when switching away from the statistics page again.
176 lines
7.9 KiB
XML
176 lines
7.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<object class="GtkListStore" id="model">
|
|
<columns>
|
|
<column type="GType"/>
|
|
<column type="gchararray"/>
|
|
<column type="gint"/>
|
|
<column type="gint"/>
|
|
<column type="gint"/>
|
|
<column type="gint"/>
|
|
<column type="GtkGraphData"/>
|
|
<column type="GtkGraphData"/>
|
|
</columns>
|
|
</object>
|
|
<template class="GtkInspectorStatistics" parent="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkStack" id="stack">
|
|
<property name="visible">True</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkSearchBar" id="search_bar">
|
|
<property name="visible">True</property>
|
|
<property name="show-close-button">True</property>
|
|
<child>
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
<property name="visible">True</property>
|
|
<property name="max-width-chars">40</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="expand">True</property>
|
|
<property name="hscrollbar-policy">automatic</property>
|
|
<property name="vscrollbar-policy">always</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="view">
|
|
<property name="visible">True</property>
|
|
<property name="model">model</property>
|
|
<property name="search-column">1</property>
|
|
<property name="enable-search">True</property>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<property name="visible">True</property>
|
|
<property name="sort-column-id">1</property>
|
|
<property name="title" translatable="yes">Type</property>
|
|
<child>
|
|
<object class="GtkCellRendererText">
|
|
<property name="scale">0.8</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="column_self1">
|
|
<property name="visible">True</property>
|
|
<property name="sort-column-id">2</property>
|
|
<property name="title" translatable="yes">Self 1</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="renderer_self1">
|
|
<property name="scale">0.8</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="column_cumulative1">
|
|
<property name="visible">True</property>
|
|
<property name="sort-column-id">3</property>
|
|
<property name="title" translatable="yes">Cumulative 1</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="renderer_cumulative1">
|
|
<property name="scale">0.8</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="column_self2">
|
|
<property name="visible">True</property>
|
|
<property name="sort-column-id">4</property>
|
|
<property name="title" translatable="yes">Self 2</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="renderer_self2">
|
|
<property name="scale">0.8</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="column_cumulative2">
|
|
<property name="visible">True</property>
|
|
<property name="sort-column-id">5</property>
|
|
<property name="title" translatable="yes">Cumulative 2</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="renderer_cumulative2">
|
|
<property name="scale">0.8</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="column_self_graph">
|
|
<property name="visible">True</property>
|
|
<property name="sort-column-id">4</property>
|
|
<property name="title" translatable="yes">Self</property>
|
|
<child>
|
|
<object class="GtkCellRendererGraph" id="renderer_self_graph">
|
|
<property name="minimum">0</property>
|
|
<property name="xpad">1</property>
|
|
<property name="ypad">1</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="data">6</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="column_cumulative_graph">
|
|
<property name="visible">True</property>
|
|
<property name="sort-column-id">5</property>
|
|
<property name="title" translatable="yes">Cumulative</property>
|
|
<child>
|
|
<object class="GtkCellRendererGraph" id="renderer_cumulative_graph">
|
|
<property name="minimum">0</property>
|
|
<property name="xpad">1</property>
|
|
<property name="ypad">1</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="data">7</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">statistics</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<child>
|
|
<object class="GtkLabel">
|
|
<property name="visible">True</property>
|
|
<property name="label" translatable="yes">Enable statistics with GOBJECT_DEBUG=instance-count</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="name">excuse</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|