gtk2/demos/gtk-demo/theming.ui

275 lines
11 KiB
Plaintext
Raw Normal View History

2012-05-18 05:23:45 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkGrid" id="grid">
<property name="row-spacing">6</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkToolbar" id="toolbar1">
2015-09-09 21:34:32 +00:00
<property name="visible">1</property>
<property name="hexpand">1</property>
<property name="show-arrow">0</property>
2012-05-18 05:23:45 +00:00
<style>
<class name="primary-toolbar"/>
</style>
<child>
<object class="GtkToggleToolButton" id="toolbutton1">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="use_action_appearance">0</property>
<property name="label" translatable="1">Normal</property>
<property name="use_underline">1</property>
<property name="is_important">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">edit-find</property>
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToggleToolButton" id="toolbutton2">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="use_action_appearance">0</property>
<property name="label" translatable="1">Active</property>
<property name="use_underline">1</property>
<property name="is_important">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">edit-find</property>
2015-09-09 21:34:32 +00:00
<property name="active">1</property>
2012-05-18 05:23:45 +00:00
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToggleToolButton" id="toolbutton3">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="sensitive">0</property>
<property name="label" translatable="1">Insensitive</property>
<property name="use_underline">1</property>
<property name="is_important">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">edit-find</property>
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToggleToolButton" id="toolbutton5">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="label" translatable="1">Raised</property>
<property name="use_underline">1</property>
<property name="is_important">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">edit-find-symbolic</property>
<style>
<class name="raised"/>
</style>
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToggleToolButton" id="toolbutton6">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="label" translatable="1">Raised Active</property>
<property name="use_underline">1</property>
<property name="is_important">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">edit-find-symbolic</property>
2015-09-09 21:34:32 +00:00
<property name="active">1</property>
2012-05-18 05:23:45 +00:00
<style>
<class name="raised"/>
</style>
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToggleToolButton" id="toolbutton4">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="sensitive">0</property>
<property name="label" translatable="1">Insensitive Active</property>
<property name="use_underline">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">edit-find</property>
2015-09-09 21:34:32 +00:00
<property name="is_important">1</property>
<property name="active">1</property>
2012-05-18 05:23:45 +00:00
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToolItem" id="toolitementry">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
2012-05-18 05:23:45 +00:00
<child>
<object class="GtkEntry" id="entry1">
2015-09-09 21:34:32 +00:00
<property name="visible">1</property>
<property name="can_focus">1</property>
2012-05-18 05:23:45 +00:00
<property name="invisible_char">•</property>
2015-09-09 21:34:32 +00:00
<property name="placeholder-text" translatable="1">Search...</property>
2012-05-18 05:23:45 +00:00
<property name="secondary-icon-name">edit-find-symbolic</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkToolItem" id="toolitemswitch">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
2012-05-18 05:23:45 +00:00
<child>
<object class="GtkSwitch" id="switch1">
2015-09-09 21:34:32 +00:00
<property name="visible">1</property>
<property name="can_focus">1</property>
2012-05-18 05:23:45 +00:00
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="box1">
2015-09-09 21:34:32 +00:00
<property name="visible">1</property>
2012-05-18 05:23:45 +00:00
<property name="valign">center</property>
<property name="halign">center</property>
<style>
<class name="linked"/>
</style>
<child>
<object class="GtkButton" id="button1">
2015-09-09 21:34:32 +00:00
<property name="label" translatable="1">Hi, I am a button</property>
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="use_action_appearance">0</property>
2012-05-18 05:23:45 +00:00
</object>
</child>
<child>
<object class="GtkButton" id="button2">
2015-09-09 21:34:32 +00:00
<property name="label" translatable="1">And I&apos;m another button</property>
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="use_action_appearance">0</property>
2012-05-18 05:23:45 +00:00
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="button3">
2015-09-09 21:34:32 +00:00
<property name="label" translatable="1">This is a button party!</property>
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<property name="use_action_appearance">0</property>
2012-05-18 05:23:45 +00:00
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
<child>
<object class="GtkToolbar" id="itoolbar1">
2015-09-09 21:34:32 +00:00
<property name="visible">1</property>
<property name="hexpand">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_size">1</property>
<style>
<class name="inline-toolbar"/>
</style>
<child>
<object class="GtkToggleToolButton" id="itoolbutton1">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="use_action_appearance">0</property>
<property name="label" translatable="1">Normal</property>
<property name="use_underline">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">list-add-symbolic</property>
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToggleToolButton" id="itoolbutton2">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="use_action_appearance">0</property>
<property name="label" translatable="1">Normal</property>
<property name="use_underline">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">list-add-symbolic</property>
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToggleToolButton" id="itoolbutton3">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="use_action_appearance">0</property>
<property name="label" translatable="1">Active</property>
<property name="use_underline">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">list-remove-symbolic</property>
2015-09-09 21:34:32 +00:00
<property name="active">1</property>
2012-05-18 05:23:45 +00:00
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToggleToolButton" id="itoolbutton4">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="use_action_appearance">0</property>
<property name="label" translatable="1">Active</property>
<property name="use_underline">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">list-remove-symbolic</property>
2015-09-09 21:34:32 +00:00
<property name="active">1</property>
2012-05-18 05:23:45 +00:00
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToggleToolButton" id="itoolbutton5">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="sensitive">0</property>
<property name="use_action_appearance">0</property>
<property name="label" translatable="1">Insensitive</property>
<property name="use_underline">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">edit-find-symbolic</property>
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
<child>
<object class="GtkToggleToolButton" id="itoolbutton6">
2015-09-09 21:34:32 +00:00
<property name="use_action_appearance">0</property>
<property name="visible">1</property>
<property name="sensitive">0</property>
<property name="use_action_appearance">0</property>
<property name="label" translatable="1">Insensitive Active</property>
<property name="use_underline">1</property>
2012-05-18 05:23:45 +00:00
<property name="icon_name">go-up-symbolic</property>
2015-09-09 21:34:32 +00:00
<property name="active">1</property>
2012-05-18 05:23:45 +00:00
</object>
<packing>
2015-09-09 21:34:32 +00:00
<property name="homogeneous">1</property>
2012-05-18 05:23:45 +00:00
</packing>
</child>
</object>
</child>
</object>
</interface>