mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
9283ca93c5
This is useful to sketch out in GtkBuilder widgets in different states all at once, so that we can check theming is right for them. Add some initial UI files for primary-toolbar and inline-toolbar widgets.
121 lines
5.7 KiB
XML
121 lines
5.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="can_focus">False</property>
|
|
<property name="default_width">600</property>
|
|
<child>
|
|
<object class="GtkGrid" id="grid">
|
|
<property name="row-spacing">6</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkToolbar" id="toolbar1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="icon_size">1</property>
|
|
<style>
|
|
<class name="inline-toolbar"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkToggleToolButton" id="toolbutton1">
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="label" translatable="yes">Normal</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="icon_name">list-add-symbolic</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="homogeneous">True</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleToolButton" id="toolbutton2">
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="label" translatable="yes">Normal</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="icon_name">list-add-symbolic</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="homogeneous">True</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleToolButton" id="toolbutton3">
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="label" translatable="yes">Active</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="icon_name">list-remove-symbolic</property>
|
|
<property name="active">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="homogeneous">True</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleToolButton" id="toolbutton4">
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="label" translatable="yes">Active</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="icon_name">list-remove-symbolic</property>
|
|
<property name="active">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="homogeneous">True</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleToolButton" id="toolbutton5">
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">False</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="label" translatable="yes">Insensitive</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="icon_name">edit-find-symbolic</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="homogeneous">True</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleToolButton" id="toolbutton6">
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">False</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="use_action_appearance">False</property>
|
|
<property name="label" translatable="yes">Insensitive Active</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="icon_name">go-up-symbolic</property>
|
|
<property name="active">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="homogeneous">True</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|