diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-08 02:20:18 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-08 02:20:50 +0000 |
commit | 4cc27285b16a53e1cc4c72703a16c701b5d0c1ee (patch) | |
tree | a00e713827fe0fac2c111b1530aa426167cab39a /gtk/inspector/actions.ui | |
parent | e1c1c46e34366bab45f7a1d57aed8f42d11e424c (diff) | |
download | gtk+-4cc27285b16a53e1cc4c72703a16c701b5d0c1ee.tar.gz |
inspector: Port actions to a list view
Diffstat (limited to 'gtk/inspector/actions.ui')
-rw-r--r-- | gtk/inspector/actions.ui | 146 |
1 files changed, 76 insertions, 70 deletions
diff --git a/gtk/inspector/actions.ui b/gtk/inspector/actions.ui index 06c3ca63b1..86f068b60c 100644 --- a/gtk/inspector/actions.ui +++ b/gtk/inspector/actions.ui @@ -1,3 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> <interface domain="gtk40"> <object class="GtkListStore" id="model"> <columns> @@ -11,84 +12,89 @@ </object> <template class="GtkInspectorActions" parent="GtkBox"> <property name="orientation">vertical</property> + <style> + <class name="view"/> + </style> + <child> + <object class="GtkBox"> + <style> + <class name="header"/> + </style> + <child> + <object class="GtkLabel" id="prefix_heading"> + <property name="label" translatable="yes">Prefix</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkLabel" id="name_heading"> + <property name="label" translatable="yes">Name</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkLabel" id="enabled_heading"> + <property name="label" translatable="yes">Enabled</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkLabel" id="parameter_heading"> + <property name="label" translatable="yes">Parameter Type</property> + <property name="xalign">0</property> + </object> + </child> + <child> + <object class="GtkLabel" id="state_heading"> + <property name="label" translatable="yes">State</property> + <property name="xalign">0</property> + </object> + </child> + </object> + </child> <child> <object class="GtkScrolledWindow"> <property name="expand">1</property> <property name="hscrollbar-policy">never</property> <child> - <object class="GtkTreeView"> - <property name="model">model</property> - <property name="enable-search">0</property> - <property name="activate-on-single-click">1</property> - <signal name="row-activated" handler="row_activated"/> - <child> - <object class="GtkTreeViewColumn"> - <property name="title" translatable="yes">Prefix</property> - <child> - <object class="GtkCellRendererText"> - <property name="scale">0.8</property> - </object> - <attributes> - <attribute name="text">0</attribute> - </attributes> - </child> - </object> - </child> - <child> - <object class="GtkTreeViewColumn"> - <property name="title" translatable="yes">Name</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"> - <property name="title" translatable="yes">Enabled</property> - <child> - <object class="GtkCellRendererText"> - <property name="scale">0.8</property> - </object> - <attributes> - <attribute name="text">2</attribute> - </attributes> - </child> - </object> - </child> - <child> - <object class="GtkTreeViewColumn"> - <property name="title" translatable="yes">Parameter Type</property> - <child> - <object class="GtkCellRendererText"> - <property name="scale">0.8</property> - </object> - <attributes> - <attribute name="text">3</attribute> - </attributes> - </child> - </object> - </child> - <child> - <object class="GtkTreeViewColumn"> - <property name="title" translatable="yes">State</property> - <child> - <object class="GtkCellRendererText"> - <property name="scale">0.8</property> - </object> - <attributes> - <attribute name="text">4</attribute> - </attributes> - </child> - </object> - </child> + <object class="GtkListBox" id="list"> + <style> + <class name="list"/> + </style> + <property name="selection-mode">none</property> </object> </child> </object> </child> </template> + <object class="GtkSizeGroup" id="prefix"> + <property name="mode">horizontal</property> + <widgets> + <widget name="prefix_heading"/> + </widgets> + </object> + <object class="GtkSizeGroup" id="name"> + <property name="mode">horizontal</property> + <widgets> + <widget name="name_heading"/> + </widgets> + </object> + <object class="GtkSizeGroup" id="enabled"> + <property name="mode">horizontal</property> + <widgets> + <widget name="enabled_heading"/> + </widgets> + </object> + <object class="GtkSizeGroup" id="parameter"> + <property name="mode">horizontal</property> + <widgets> + <widget name="parameter_heading"/> + </widgets> + </object> + <object class="GtkSizeGroup" id="state"> + <property name="mode">horizontal</property> + <widgets> + <widget name="state_heading"/> + </widgets> + </object> </interface> |