Improved gtk threading: added with-* macros, functions to call gtk-main
[cl-gtk2.git] / gtk / demo / demo1.ui
1 <?xml version="1.0"?>
2 <!--Generated with glade3 3.4.5 on Wed Mar 18 23:56:40 2009 -->
3 <interface>
4   <object class="GtkUIManager" id="uimanager1">
5     <child>
6       <object class="GtkActionGroup" id="actiongroup1">
7         <child>
8           <object class="GtkAction" id="menuitem1">
9             <property name="name">menuitem1</property>
10             <property name="label" translatable="yes">_File</property>
11           </object>
12         </child>
13         <child>
14           <object class="GtkAction" id="imagemenuitem1">
15             <property name="stock_id" translatable="yes">gtk-new</property>
16             <property name="name">imagemenuitem1</property>
17           </object>
18         </child>
19         <child>
20           <object class="GtkAction" id="imagemenuitem2">
21             <property name="stock_id" translatable="yes">gtk-open</property>
22             <property name="name">imagemenuitem2</property>
23           </object>
24         </child>
25         <child>
26           <object class="GtkAction" id="imagemenuitem3">
27             <property name="stock_id" translatable="yes">gtk-save</property>
28             <property name="name">imagemenuitem3</property>
29           </object>
30         </child>
31         <child>
32           <object class="GtkAction" id="imagemenuitem4">
33             <property name="stock_id" translatable="yes">gtk-save-as</property>
34             <property name="name">imagemenuitem4</property>
35           </object>
36         </child>
37         <child>
38           <object class="GtkAction" id="imagemenuitem5">
39             <property name="stock_id" translatable="yes">gtk-quit</property>
40             <property name="name">imagemenuitem5</property>
41             <signal handler="quit_cb" name="activate"/>
42           </object>
43         </child>
44         <child>
45           <object class="GtkAction" id="menuitem2">
46             <property name="name">menuitem2</property>
47             <property name="label" translatable="yes">_Edit</property>
48           </object>
49         </child>
50         <child>
51           <object class="GtkAction" id="imagemenuitem6">
52             <property name="stock_id" translatable="yes">gtk-cut</property>
53             <property name="name">imagemenuitem6</property>
54           </object>
55         </child>
56         <child>
57           <object class="GtkAction" id="imagemenuitem7">
58             <property name="stock_id" translatable="yes">gtk-copy</property>
59             <property name="name">imagemenuitem7</property>
60           </object>
61         </child>
62         <child>
63           <object class="GtkAction" id="imagemenuitem8">
64             <property name="stock_id" translatable="yes">gtk-paste</property>
65             <property name="name">imagemenuitem8</property>
66           </object>
67         </child>
68         <child>
69           <object class="GtkAction" id="imagemenuitem9">
70             <property name="stock_id" translatable="yes">gtk-delete</property>
71             <property name="name">imagemenuitem9</property>
72           </object>
73         </child>
74         <child>
75           <object class="GtkAction" id="menuitem3">
76             <property name="name">menuitem3</property>
77             <property name="label" translatable="yes">_View</property>
78           </object>
79         </child>
80         <child>
81           <object class="GtkAction" id="menuitem4">
82             <property name="name">menuitem4</property>
83             <property name="label" translatable="yes">_Help</property>
84           </object>
85         </child>
86         <child>
87           <object class="GtkAction" id="imagemenuitem10">
88             <property name="stock_id" translatable="yes">gtk-about</property>
89             <property name="name">imagemenuitem10</property>
90             <signal handler="about_cb" name="activate"/>
91           </object>
92         </child>
93       </object>
94     </child>
95     <ui>
96       <menubar name="menubar1">
97         <menu action="menuitem1">
98           <menuitem action="imagemenuitem1"/>
99           <menuitem action="imagemenuitem2"/>
100           <menuitem action="imagemenuitem3"/>
101           <menuitem action="imagemenuitem4"/>
102           <separator/>
103           <menuitem action="imagemenuitem5"/>
104         </menu>
105         <menu action="menuitem2">
106           <menuitem action="imagemenuitem6"/>
107           <menuitem action="imagemenuitem7"/>
108           <menuitem action="imagemenuitem8"/>
109           <menuitem action="imagemenuitem9"/>
110         </menu>
111         <menuitem action="menuitem3"/>
112         <menu action="menuitem4">
113           <menuitem action="imagemenuitem10"/>
114         </menu>
115       </menubar>
116     </ui>
117   </object>
118   <object class="GtkWindow" id="window1">
119     <property name="title" translatable="yes">Gtk Builder Demo</property>
120     <property name="window_position">GTK_WIN_POS_CENTER</property>
121     <property name="icon_name">gtk-unindent</property>
122     <child>
123       <object class="GtkVBox" id="vbox1">
124         <property name="visible">True</property>
125         <child>
126           <object class="GtkMenuBar" constructor="uimanager1" id="menubar1">
127             <property name="visible">True</property>
128           </object>
129           <packing>
130             <property name="expand">False</property>
131           </packing>
132         </child>
133         <child>
134           <object class="GtkToolbar" id="toolbar1">
135             <property name="visible">True</property>
136             <child>
137               <object class="GtkToolButton" id="toolbutton1">
138                 <property name="visible">True</property>
139                 <property name="label" translatable="yes">Button1</property>
140                 <property name="stock_id">gtk-about</property>
141                 <signal handler="toolbutton1_clicked_cb" name="clicked"/>
142               </object>
143               <packing>
144                 <property name="homogeneous">True</property>
145               </packing>
146             </child>
147             <child>
148               <object class="GtkToggleToolButton" id="Red">
149                 <property name="visible">True</property>
150                 <property name="stock_id">gtk-no</property>
151               </object>
152               <packing>
153                 <property name="homogeneous">True</property>
154               </packing>
155             </child>
156           </object>
157           <packing>
158             <property name="expand">False</property>
159             <property name="position">1</property>
160           </packing>
161         </child>
162         <child>
163           <object class="GtkScrolledWindow" id="scrolledwindow1">
164             <property name="visible">True</property>
165             <property name="can_focus">True</property>
166             <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
167             <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
168             <child>
169               <object class="GtkTextView" id="textview1">
170                 <property name="visible">True</property>
171                 <property name="can_focus">True</property>
172               </object>
173             </child>
174           </object>
175           <packing>
176             <property name="position">2</property>
177           </packing>
178         </child>
179         <child>
180           <object class="GtkStatusbar" id="statusbar1">
181             <property name="visible">True</property>
182             <property name="spacing">2</property>
183           </object>
184           <packing>
185             <property name="expand">False</property>
186             <property name="position">3</property>
187           </packing>
188         </child>
189       </object>
190     </child>
191   </object>
192 </interface>