gtk2/demos/gtk-demo/theming.ui

255 lines
9.2 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">10</property>
2012-05-18 05:23:45 +00:00
<property name="orientation">vertical</property>
<child>
<object class="GtkToolbar">
2015-09-09 21:34:32 +00:00
<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">
<property name="label" translatable="yes">Normal</property>
<property name="use-underline">1</property>
<property name="is-important">1</property>
<property name="icon-name">edit-find</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">
<property name="label" translatable="yes">Active</property>
<property name="use-underline">1</property>
<property name="is-important">1</property>
<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">
2015-09-09 21:34:32 +00:00
<property name="sensitive">0</property>
<property name="label" translatable="yes">Insensitive</property>
<property name="use-underline">1</property>
<property name="is-important">1</property>
<property name="icon-name">edit-find</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">
<property name="label" translatable="yes">Raised</property>
<property name="use-underline">1</property>
<property name="is-important">1</property>
<property name="icon-name">edit-find</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">
<property name="label" translatable="yes">Raised Active</property>
<property name="use-underline">1</property>
<property name="is-important">1</property>
<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
<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">
2015-09-09 21:34:32 +00:00
<property name="sensitive">0</property>
<property name="label" translatable="yes">Insensitive Active</property>
<property name="use-underline">1</property>
<property name="icon-name">edit-find</property>
<property name="is-important">1</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="GtkToolItem">
2012-05-18 05:23:45 +00:00
<child>
<object class="GtkEntry" id="entry1">
<property name="can-focus">1</property>
<property name="invisible-char">•</property>
<property name="placeholder-text" translatable="yes">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">
2012-05-18 05:23:45 +00:00
<child>
<object class="GtkSwitch" id="switch1">
<property name="can-focus">1</property>
<property name="tooltip_text">Switch it</property>
2012-05-18 05:23:45 +00:00
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
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">
<property name="label" translatable="yes">Hi, I am a button</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
2012-05-18 05:23:45 +00:00
</object>
</child>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">And I&apos;m another button</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
2012-05-18 05:23:45 +00:00
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">This is a button party!</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
2012-05-18 05:23:45 +00:00
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
<child>
<object class="GtkToolbar">
2015-09-09 21:34:32 +00:00
<property name="hexpand">1</property>
<property name="toolbar-style">icons</property>
2012-05-18 05:23:45 +00:00
<style>
<class name="inline-toolbar"/>
</style>
<child>
<object class="GtkToggleToolButton">
<property name="label" translatable="yes">Normal</property>
<property name="use-underline">1</property>
<property name="icon-name">list-add-symbolic</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">
<property name="label" translatable="yes">Normal</property>
<property name="use-underline">1</property>
<property name="icon-name">list-add-symbolic</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">
<property name="label" translatable="yes">Active</property>
<property name="use-underline">1</property>
<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">
<property name="label" translatable="yes">Active</property>
<property name="use-underline">1</property>
<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">
2015-09-09 21:34:32 +00:00
<property name="sensitive">0</property>
<property name="label" translatable="yes">Insensitive</property>
<property name="use-underline">1</property>
<property name="icon-name">edit-find-symbolic</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">
2015-09-09 21:34:32 +00:00
<property name="sensitive">0</property>
<property name="label" translatable="yes">Insensitive Active</property>
<property name="use-underline">1</property>
<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>
<child>
<object class="GtkBox">
<property name="spacing">10</property>
<child>
<object class="GtkButton">
<property name="label">Plain</property>
<property name="halign">end</property>
<property name="hexpand">1</property>
<property name="vexpand">1</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="label">Destructive</property>
<style>
<class name="destructive-action"/>
</style>
</object>
</child>
<child>
<object class="GtkButton">
<property name="label">Suggested</property>
<style>
<class name="suggested-action"/>
</style>
</object>
</child>
</object>
</child>
2012-05-18 05:23:45 +00:00
</object>
</interface>