summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/demo.ui
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-01-29 14:12:08 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-01-29 14:12:08 +0000
commit12b46f84bf6af160db9ae14494657898a1c0f3e5 (patch)
tree4e99cff2d78fc8e65416afa61ad2e364eaab92dc /demos/gtk-demo/demo.ui
parent5c1a343c7588fdfb59aca3acccbbd430788c0126 (diff)
downloadgtk+-12b46f84bf6af160db9ae14494657898a1c0f3e5.tar.gz
Move the about dialog to the glade file, add accessible tags examples to
2008-01-29 Johan Dahlin <johan@gnome.org> * demos/gtk-demo/builder.c: (quit_activate), (about_activate), (do_builder): * demos/gtk-demo/demo.ui: Move the about dialog to the glade file, add accessible tags examples to the markup file. svn path=/trunk/; revision=19426
Diffstat (limited to 'demos/gtk-demo/demo.ui')
-rw-r--r--demos/gtk-demo/demo.ui32
1 files changed, 29 insertions, 3 deletions
diff --git a/demos/gtk-demo/demo.ui b/demos/gtk-demo/demo.ui
index a877223f0d..9d27c85cea 100644
--- a/demos/gtk-demo/demo.ui
+++ b/demos/gtk-demo/demo.ui
@@ -141,18 +141,28 @@
</toolbar>
</ui>
</object>
-
+ <object class="GtkAboutDialog" id="aboutdialog1">
+ <property name="program-name" translatable="yes">GtkBuilder demo</property>
+ <accessibility>
+ <relation target="window1" type="subwindow-of"/>
+ </accessibility>
+ </object>
<object class="GtkWindow" id="window1">
<property name="default_height">250</property>
<property name="default_width">440</property>
- <property name="title">builder</property>
+ <property name="title">GtkBuilder demo</property>
<child>
<object class="GtkVBox" id="vbox1">
<property name="visible">True</property>
<child>
<object constructor="uimanager" class="GtkMenuBar" id="menubar1">
<property name="visible">True</property>
- </object>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="a11y-menubar">
+ <property name="AtkObject::accessible-name">The menubar</property>
+ </object>
+ </child>
+ </object>
<packing>
<property name="expand">False</property>
</packing>
@@ -160,6 +170,11 @@
<child>
<object constructor="uimanager" class="GtkToolbar" id="toolbar1">
<property name="visible">True</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="a11y-toolbar">
+ <property name="AtkObject::accessible-name">The toolbar</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -177,6 +192,14 @@
<property name="visible">True</property>
<property name="model">liststore1</property>
<property name="tooltip-column">3</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="a11y-treeview">
+ <property name="AtkObject::accessible-name">Name list</property>
+ <property name="AtkObject::accessible-description">
+ A list of person with name, surname and age columns
+ </property>
+ </object>
+ </child>
<child>
<object class="GtkTreeViewColumn" id="column1">
<property name="title">Name</property>
@@ -212,6 +235,9 @@
</child>
</object>
</child>
+ <accessibility>
+ <action action_name="move-cursor" description="Move the cursor to select another person."/>
+ </accessibility>
</object>
<packing>
<property name="position">2</property>