Improved gtk threading: added with-* macros, functions to call gtk-main
[cl-gtk2.git] / gtk / demo / text-editor.ui
1 <?xml version="1.0"?>
2 <!--Generated with glade3 3.4.5 on Thu Mar 19 02:56:11 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             <signal handler="new" name="activate"/>
18           </object>
19         </child>
20         <child>
21           <object class="GtkAction" id="imagemenuitem2">
22             <property name="stock_id" translatable="yes">gtk-open</property>
23             <property name="name">imagemenuitem2</property>
24             <signal handler="open" name="activate"/>
25           </object>
26         </child>
27         <child>
28           <object class="GtkAction" id="imagemenuitem3">
29             <property name="stock_id" translatable="yes">gtk-save</property>
30             <property name="name">imagemenuitem3</property>
31             <signal handler="save" name="activate"/>
32           </object>
33         </child>
34         <child>
35           <object class="GtkAction" id="imagemenuitem4">
36             <property name="stock_id" translatable="yes">gtk-save-as</property>
37             <property name="name">imagemenuitem4</property>
38             <signal handler="save-as" name="activate"/>
39           </object>
40         </child>
41         <child>
42           <object class="GtkAction" id="imagemenuitem5">
43             <property name="stock_id" translatable="yes">gtk-quit</property>
44             <property name="name">imagemenuitem5</property>
45             <signal handler="quit" name="activate"/>
46           </object>
47         </child>
48         <child>
49           <object class="GtkAction" id="menuitem2">
50             <property name="name">menuitem2</property>
51             <property name="label" translatable="yes">_Edit</property>
52           </object>
53         </child>
54         <child>
55           <object class="GtkAction" id="imagemenuitem6">
56             <property name="stock_id" translatable="yes">gtk-cut</property>
57             <property name="name">imagemenuitem6</property>
58             <signal handler="cut" name="activate"/>
59           </object>
60         </child>
61         <child>
62           <object class="GtkAction" id="imagemenuitem7">
63             <property name="stock_id" translatable="yes">gtk-copy</property>
64             <property name="name">imagemenuitem7</property>
65             <signal handler="copy" name="activate"/>
66           </object>
67         </child>
68         <child>
69           <object class="GtkAction" id="imagemenuitem8">
70             <property name="stock_id" translatable="yes">gtk-paste</property>
71             <property name="name">imagemenuitem8</property>
72             <signal handler="paste" name="activate"/>
73           </object>
74         </child>
75         <child>
76           <object class="GtkAction" id="imagemenuitem9">
77             <property name="stock_id" translatable="yes">gtk-delete</property>
78             <property name="name">imagemenuitem9</property>
79             <signal handler="delete" name="activate"/>
80           </object>
81         </child>
82         <child>
83           <object class="GtkAction" id="menuitem3">
84             <property name="name">menuitem3</property>
85             <property name="label" translatable="yes">_View</property>
86           </object>
87         </child>
88         <child>
89           <object class="GtkAction" id="menuitem4">
90             <property name="name">menuitem4</property>
91             <property name="label" translatable="yes">_Help</property>
92           </object>
93         </child>
94         <child>
95           <object class="GtkAction" id="imagemenuitem10">
96             <property name="stock_id" translatable="yes">gtk-about</property>
97             <property name="name">imagemenuitem10</property>
98             <signal handler="about" name="activate"/>
99           </object>
100         </child>
101       </object>
102     </child>
103     <ui>
104       <menubar name="menubar1">
105         <menu action="menuitem1">
106           <menuitem action="imagemenuitem1"/>
107           <menuitem action="imagemenuitem2"/>
108           <menuitem action="imagemenuitem3"/>
109           <menuitem action="imagemenuitem4"/>
110           <separator/>
111           <menuitem action="imagemenuitem5"/>
112         </menu>
113         <menu action="menuitem2">
114           <menuitem action="imagemenuitem6"/>
115           <menuitem action="imagemenuitem7"/>
116           <menuitem action="imagemenuitem8"/>
117           <menuitem action="imagemenuitem9"/>
118         </menu>
119         <menuitem action="menuitem3"/>
120         <menu action="menuitem4">
121           <menuitem action="imagemenuitem10"/>
122         </menu>
123       </menubar>
124     </ui>
125   </object>
126   <object class="GtkWindow" id="window1">
127     <property name="title" translatable="yes">Lisp IDE :)</property>
128     <property name="window_position">GTK_WIN_POS_CENTER</property>
129     <property name="default_width">300</property>
130     <property name="default_height">200</property>
131     <property name="icon_name">accessories-text-editor</property>
132     <child>
133       <object class="GtkVBox" id="vbox1">
134         <property name="visible">True</property>
135         <child>
136           <object class="GtkMenuBar" constructor="uimanager1" id="menubar1">
137             <property name="visible">True</property>
138           </object>
139           <packing>
140             <property name="expand">False</property>
141           </packing>
142         </child>
143         <child>
144           <object class="GtkToolbar" id="toolbar1">
145             <property name="visible">True</property>
146             <property name="toolbar_style">GTK_TOOLBAR_ICONS</property>
147             <child>
148               <object class="GtkToolButton" id="toolbutton1">
149                 <property name="visible">True</property>
150                 <property name="label" translatable="yes">New</property>
151                 <property name="stock_id">gtk-new</property>
152                 <signal handler="new" name="clicked"/>
153               </object>
154               <packing>
155                 <property name="homogeneous">True</property>
156               </packing>
157             </child>
158             <child>
159               <object class="GtkToolButton" id="toolbutton2">
160                 <property name="visible">True</property>
161                 <property name="label" translatable="yes">Open</property>
162                 <property name="stock_id">gtk-open</property>
163                 <signal handler="open" name="clicked"/>
164               </object>
165               <packing>
166                 <property name="homogeneous">True</property>
167               </packing>
168             </child>
169             <child>
170               <object class="GtkToolButton" id="toolbutton3">
171                 <property name="visible">True</property>
172                 <property name="label" translatable="yes">Save</property>
173                 <property name="stock_id">gtk-save</property>
174                 <signal handler="save" name="clicked"/>
175               </object>
176               <packing>
177                 <property name="homogeneous">True</property>
178               </packing>
179             </child>
180             <child>
181               <object class="GtkToolButton" id="toolbutton4">
182                 <property name="visible">True</property>
183                 <property name="label" translatable="yes">Save as</property>
184                 <property name="stock_id">gtk-save-as</property>
185                 <signal handler="save-as" name="clicked"/>
186               </object>
187             </child>
188             <child>
189               <object class="GtkToolButton" id="toolbutton5">
190                 <property name="visible">True</property>
191                 <property name="label" translatable="yes">Eval</property>
192                 <property name="stock_id">gtk-execute</property>
193                 <signal handler="eval" name="clicked"/>
194               </object>
195               <packing>
196                 <property name="homogeneous">True</property>
197               </packing>
198             </child>
199           </object>
200           <packing>
201             <property name="expand">False</property>
202             <property name="position">1</property>
203           </packing>
204         </child>
205         <child>
206           <object class="GtkScrolledWindow" id="scrolledwindow1">
207             <property name="visible">True</property>
208             <property name="can_focus">True</property>
209             <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
210             <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
211             <child>
212               <object class="GtkTextView" id="textview1">
213                 <property name="visible">True</property>
214                 <property name="can_focus">True</property>
215               </object>
216             </child>
217           </object>
218           <packing>
219             <property name="position">2</property>
220           </packing>
221         </child>
222         <child>
223           <object class="GtkStatusbar" id="statusbar1">
224             <property name="visible">True</property>
225             <property name="spacing">2</property>
226           </object>
227           <packing>
228             <property name="expand">False</property>
229             <property name="position">3</property>
230           </packing>
231         </child>
232       </object>
233     </child>
234   </object>
235 </interface>