Showing off dynamic styles: started work on preferences dialog.
[rodin/chimara.git] / player / chimara.ui
1 <?xml version="1.0"?>
2 <interface>
3   <requires lib="gtk+" version="2.16"/>
4   <!-- interface-naming-policy toplevel-contextual -->
5   <object class="GtkWindow" id="chimara">
6     <property name="title" translatable="yes">Chimara</property>
7     <property name="default_width">600</property>
8     <property name="default_height">800</property>
9     <signal name="delete_event" handler="on_window_delete_event"/>
10     <child>
11       <object class="GtkVBox" id="vbox">
12         <property name="visible">True</property>
13         <child>
14           <placeholder/>
15         </child>
16       </object>
17     </child>
18   </object>
19   <object class="GtkActionGroup" id="actiongroup"/>
20   <object class="GtkAction" id="game">
21     <property name="label">_Game</property>
22   </object>
23   <object class="GtkAction" id="open">
24     <property name="label">_Open...</property>
25     <property name="short_label">_Open</property>
26     <property name="tooltip">Quit the current game and load a new one</property>
27     <property name="stock_id">gtk-media-play</property>
28     <signal name="activate" handler="on_open_activate"/>
29   </object>
30   <object class="GtkAction" id="restore">
31     <property name="label">_Restore...</property>
32     <property name="short_label">_Restore</property>
33     <property name="tooltip">Restore a previously saved game</property>
34     <property name="stock_id">gtk-open</property>
35     <signal name="activate" handler="on_restore_activate"/>
36   </object>
37   <object class="GtkAction" id="save">
38     <property name="label">_Save</property>
39     <property name="tooltip">Save the game</property>
40     <property name="stock_id">gtk-save</property>
41     <signal name="activate" handler="on_save_activate"/>
42   </object>
43   <object class="GtkAction" id="quit_chimara">
44     <property name="label">_Quit Chimara</property>
45     <property name="tooltip">Leave the program</property>
46     <property name="stock_id">gtk-quit</property>
47     <signal name="activate" handler="on_quit_chimara_activate"/>
48   </object>
49   <object class="GtkAction" id="command">
50     <property name="label">_Command</property>
51   </object>
52   <object class="GtkAction" id="edit">
53     <property name="label">_Edit</property>
54   </object>
55   <object class="GtkAction" id="stop">
56     <property name="label">_Stop Game</property>
57     <property name="short_label">_Stop</property>
58     <property name="tooltip">Immediately stop the running game</property>
59     <property name="stock_id">gtk-stop</property>
60     <signal name="activate" handler="on_stop_activate"/>
61   </object>
62   <object class="GtkRecentAction" id="recent">
63     <property name="label">Open _Recent</property>
64     <property name="sort_type">mru</property>
65     <property name="limit">10</property>
66     <signal name="item_activated" handler="on_recent_item_activated"/>
67   </object>
68   <object class="GtkAction" id="undo">
69     <property name="label">_Undo</property>
70     <property name="tooltip">Attempt to undo the last move (the game may not allow this)</property>
71     <property name="stock_id">gtk-undo</property>
72     <signal name="activate" handler="on_undo_activate"/>
73   </object>
74   <object class="GtkAction" id="restart">
75     <property name="label">Res_tart</property>
76     <property name="tooltip">Tell the game to restart</property>
77     <property name="stock_id">gtk-media-rewind</property>
78     <signal name="activate" handler="on_restart_activate"/>
79   </object>
80   <object class="GtkAction" id="quit">
81     <property name="label">_Quit</property>
82     <property name="tooltip">Try to quit the game</property>
83     <property name="stock_id">gtk-media-stop</property>
84     <signal name="activate" handler="on_quit_activate"/>
85   </object>
86   <object class="GtkAction" id="copy">
87     <property name="label">_Copy</property>
88     <property name="tooltip">Copy the selection</property>
89     <property name="stock_id">gtk-copy</property>
90     <signal name="activate" handler="on_copy_activate"/>
91   </object>
92   <object class="GtkAction" id="paste">
93     <property name="label">_Paste</property>
94     <property name="tooltip">Paste the clipboard</property>
95     <property name="stock_id">gtk-paste</property>
96     <signal name="activate" handler="on_paste_activate"/>
97   </object>
98   <object class="GtkAction" id="preferences">
99     <property name="label">P_references</property>
100     <property name="tooltip">Configure the application</property>
101     <property name="stock_id">gtk-preferences</property>
102     <signal name="activate" handler="on_preferences_activate"/>
103   </object>
104   <object class="GtkAction" id="help">
105     <property name="label">_Help</property>
106   </object>
107   <object class="GtkAction" id="about">
108     <property name="label">_About...</property>
109     <property name="short_label">_About</property>
110     <property name="tooltip">About this application</property>
111     <property name="stock_id">gtk-about</property>
112     <signal name="activate" handler="on_about_activate"/>
113   </object>
114   <object class="GtkAboutDialog" id="aboutwindow">
115     <property name="border_width">5</property>
116     <property name="title" translatable="yes">About Chimara</property>
117     <property name="window_position">center</property>
118     <property name="type_hint">dialog</property>
119     <property name="has_separator">False</property>
120     <property name="program_name">Chimara</property>
121     <property name="copyright" translatable="yes">&#xA9; 2008&#x2013;2009 Marijn van Vliet and Philip Chimento</property>
122     <property name="comments" translatable="yes">Interactive Fiction Player</property>
123     <property name="license" translatable="yes">Copyright (C) 2008, Philip Chimento and Marijn van Vliet.
124 All rights reserved.
125
126 Chimara is free software copyrighted by Philip Chimento and Marijn van Vliet.
127
128 Redistribution and use in source and binary forms, with or without modification,
129 are permitted provided that the following conditions are met:
130
131 1. Redistributions of source code must retain the above copyright notice, this
132    list of conditions and the following disclaimer.
133 2. Redistributions in binary form must reproduce the above copyright notice,
134    this list of conditions and the following disclaimer in the documentation 
135    and/or other materials provided with the distribution.
136 3. Neither of the names Philip Chimento or Marijn van Vliet, nor the name of any 
137    other contributor may be used to endorse or promote products derived from 
138    this software without specific prior written permission.
139
140 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' 
141 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
142 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
143 DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
144 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
145 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
146 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
147 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
148 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
149 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
150 </property>
151     <property name="authors">Marijn van Vliet
152 Philip Chimento</property>
153     <signal name="response" handler="gtk_widget_hide"/>
154     <signal name="delete_event" handler="gtk_widget_hide_on_delete"/>
155     <child internal-child="vbox">
156       <object class="GtkVBox" id="dialog-vbox1">
157         <property name="visible">True</property>
158         <property name="spacing">2</property>
159         <child>
160           <placeholder/>
161         </child>
162         <child internal-child="action_area">
163           <object class="GtkHButtonBox" id="dialog-action_area1">
164             <property name="visible">True</property>
165             <property name="layout_style">end</property>
166           </object>
167           <packing>
168             <property name="expand">False</property>
169             <property name="pack_type">end</property>
170             <property name="position">0</property>
171           </packing>
172         </child>
173       </object>
174     </child>
175   </object>
176   <object class="GtkDialog" id="prefswindow">
177     <property name="border_width">5</property>
178     <property name="title" translatable="yes">Chimara Preferences</property>
179     <property name="window_position">center</property>
180     <property name="type_hint">dialog</property>
181     <signal name="response" handler="gtk_widget_hide"/>
182     <signal name="delete_event" handler="gtk_widget_hide_on_delete"/>
183     <child internal-child="vbox">
184       <object class="GtkVBox" id="dialog-vbox2">
185         <property name="visible">True</property>
186         <property name="spacing">9</property>
187         <child>
188           <object class="GtkNotebook" id="notebook1">
189             <property name="visible">True</property>
190             <property name="can_focus">True</property>
191             <child>
192               <object class="GtkFixed" id="fixed1">
193                 <property name="visible">True</property>
194               </object>
195             </child>
196             <child type="tab">
197               <object class="GtkLabel" id="label1">
198                 <property name="visible">True</property>
199                 <property name="label" translatable="yes">Environment</property>
200               </object>
201               <packing>
202                 <property name="tab_fill">False</property>
203               </packing>
204             </child>
205             <child>
206               <object class="GtkVBox" id="vbox1">
207                 <property name="visible">True</property>
208                 <child>
209                   <object class="GtkTable" id="table1">
210                     <property name="visible">True</property>
211                     <property name="n_columns">2</property>
212                     <child>
213                       <object class="GtkLabel" id="label5">
214                         <property name="visible">True</property>
215                         <property name="xalign">1</property>
216                         <property name="xpad">5</property>
217                         <property name="label" translatable="yes">Load layout from this CSS file:</property>
218                       </object>
219                       <packing>
220                         <property name="x_options">GTK_FILL</property>
221                       </packing>
222                     </child>
223                     <child>
224                       <object class="GtkFileChooserButton" id="css-filechooser">
225                         <property name="width_request">250</property>
226                         <property name="visible">True</property>
227                         <property name="title" translatable="yes">Select A CSS File</property>
228                       </object>
229                       <packing>
230                         <property name="left_attach">1</property>
231                         <property name="right_attach">2</property>
232                       </packing>
233                     </child>
234                   </object>
235                   <packing>
236                     <property name="expand">False</property>
237                     <property name="position">0</property>
238                   </packing>
239                 </child>
240                 <child>
241                   <object class="GtkHSeparator" id="hseparator1">
242                     <property name="visible">True</property>
243                   </object>
244                   <packing>
245                     <property name="expand">False</property>
246                     <property name="padding">5</property>
247                     <property name="position">1</property>
248                   </packing>
249                 </child>
250                 <child>
251                   <object class="GtkVBox" id="vbox3">
252                     <property name="visible">True</property>
253                     <child>
254                       <object class="GtkLabel" id="label9">
255                         <property name="visible">True</property>
256                         <property name="xalign">0</property>
257                         <property name="xpad">5</property>
258                         <property name="label" translatable="yes">Select a style to edit:</property>
259                       </object>
260                       <packing>
261                         <property name="expand">False</property>
262                         <property name="position">0</property>
263                       </packing>
264                     </child>
265                     <child>
266                       <object class="GtkHBox" id="hbox1">
267                         <property name="visible">True</property>
268                         <child>
269                           <object class="GtkScrolledWindow" id="scrolledwindow1">
270                             <property name="width_request">163</property>
271                             <property name="visible">True</property>
272                             <property name="can_focus">True</property>
273                             <property name="hscrollbar_policy">never</property>
274                             <property name="vscrollbar_policy">automatic</property>
275                             <child>
276                               <object class="GtkTreeView" id="style-treeview">
277                                 <property name="visible">True</property>
278                                 <property name="can_focus">True</property>
279                                 <property name="headers_visible">False</property>
280                                 <property name="headers_clickable">False</property>
281                               </object>
282                             </child>
283                           </object>
284                           <packing>
285                             <property name="position">0</property>
286                           </packing>
287                         </child>
288                         <child>
289                           <object class="GtkVBox" id="vbox4">
290                             <property name="visible">True</property>
291                             <child>
292                               <object class="GtkHBox" id="hbox2">
293                                 <property name="visible">True</property>
294                                 <child>
295                                   <object class="GtkLabel" id="label6">
296                                     <property name="visible">True</property>
297                                     <property name="label" translatable="yes">Font:</property>
298                                   </object>
299                                   <packing>
300                                     <property name="expand">False</property>
301                                     <property name="padding">5</property>
302                                     <property name="position">0</property>
303                                   </packing>
304                                 </child>
305                                 <child>
306                                   <object class="GtkFontButton" id="fontbutton1">
307                                     <property name="visible">True</property>
308                                     <property name="can_focus">True</property>
309                                     <property name="receives_default">True</property>
310                                     <signal name="font_set" handler="on_font_set"/>
311                                   </object>
312                                   <packing>
313                                     <property name="position">1</property>
314                                   </packing>
315                                 </child>
316                               </object>
317                               <packing>
318                                 <property name="expand">False</property>
319                                 <property name="position">0</property>
320                               </packing>
321                             </child>
322                             <child>
323                               <object class="GtkFixed" id="fixed2">
324                                 <property name="height_request">130</property>
325                                 <property name="visible">True</property>
326                                 <child>
327                                   <object class="GtkColorButton" id="colorbutton1">
328                                     <property name="width_request">40</property>
329                                     <property name="height_request">30</property>
330                                     <property name="visible">True</property>
331                                     <property name="can_focus">True</property>
332                                     <property name="receives_default">True</property>
333                                     <property name="color">#000000000000</property>
334                                     <signal name="color_set" handler="on_foreground_color_set"/>
335                                   </object>
336                                   <packing>
337                                     <property name="x">125</property>
338                                     <property name="y">10</property>
339                                   </packing>
340                                 </child>
341                                 <child>
342                                   <object class="GtkLabel" id="label7">
343                                     <property name="visible">True</property>
344                                     <property name="xpad">5</property>
345                                     <property name="label" translatable="yes">Foreground color:</property>
346                                   </object>
347                                   <packing>
348                                     <property name="x">4</property>
349                                     <property name="y">17</property>
350                                   </packing>
351                                 </child>
352                                 <child>
353                                   <object class="GtkLabel" id="label8">
354                                     <property name="visible">True</property>
355                                     <property name="label" translatable="yes">Background color:</property>
356                                   </object>
357                                   <packing>
358                                     <property name="x">6</property>
359                                     <property name="y">52</property>
360                                   </packing>
361                                 </child>
362                                 <child>
363                                   <object class="GtkColorButton" id="colorbutton2">
364                                     <property name="width_request">40</property>
365                                     <property name="height_request">30</property>
366                                     <property name="visible">True</property>
367                                     <property name="can_focus">True</property>
368                                     <property name="receives_default">True</property>
369                                     <property name="color">#ffffffffffff</property>
370                                     <signal name="color_set" handler="on_background_color_set"/>
371                                   </object>
372                                   <packing>
373                                     <property name="x">125</property>
374                                     <property name="y">45</property>
375                                   </packing>
376                                 </child>
377                                 <child>
378                                   <object class="GtkToolbar" id="style-toolbar">
379                                     <property name="width_request">283</property>
380                                     <property name="height_request">50</property>
381                                     <property name="visible">True</property>
382                                     <property name="toolbar_style">icons</property>
383                                     <child>
384                                       <object class="GtkToggleToolButton" id="toolbutton-left">
385                                         <property name="visible">True</property>
386                                         <property name="related_action">align-left</property>
387                                         <property name="use_action_appearance">True</property>
388                                         <property name="label" translatable="yes">Align _left</property>
389                                         <property name="use_underline">True</property>
390                                         <property name="stock_id">gtk-justify-left</property>
391                                       </object>
392                                       <packing>
393                                         <property name="expand">False</property>
394                                         <property name="homogeneous">True</property>
395                                       </packing>
396                                     </child>
397                                     <child>
398                                       <object class="GtkToggleToolButton" id="toolbutton-center">
399                                         <property name="visible">True</property>
400                                         <property name="related_action">align-center</property>
401                                         <property name="label" translatable="yes">Align _center</property>
402                                         <property name="use_underline">True</property>
403                                         <property name="stock_id">gtk-justify-center</property>
404                                       </object>
405                                       <packing>
406                                         <property name="expand">False</property>
407                                         <property name="homogeneous">True</property>
408                                       </packing>
409                                     </child>
410                                     <child>
411                                       <object class="GtkToggleToolButton" id="toolbutton-right">
412                                         <property name="visible">True</property>
413                                         <property name="related_action">align-right</property>
414                                         <property name="use_action_appearance">True</property>
415                                         <property name="label" translatable="yes">Align _right</property>
416                                         <property name="use_underline">True</property>
417                                         <property name="stock_id">gtk-justify-right</property>
418                                       </object>
419                                       <packing>
420                                         <property name="expand">False</property>
421                                         <property name="homogeneous">True</property>
422                                       </packing>
423                                     </child>
424                                     <child>
425                                       <object class="GtkToggleToolButton" id="toolbutton-justify">
426                                         <property name="visible">True</property>
427                                         <property name="related_action">align-justify</property>
428                                         <property name="use_action_appearance">True</property>
429                                         <property name="label" translatable="yes">Align _justify</property>
430                                         <property name="use_underline">True</property>
431                                         <property name="stock_id">gtk-justify-fill</property>
432                                       </object>
433                                       <packing>
434                                         <property name="expand">False</property>
435                                         <property name="homogeneous">True</property>
436                                       </packing>
437                                     </child>
438                                     <child>
439                                       <object class="GtkSeparatorToolItem" id="toolbutton4">
440                                         <property name="visible">True</property>
441                                       </object>
442                                       <packing>
443                                         <property name="expand">False</property>
444                                         <property name="homogeneous">True</property>
445                                       </packing>
446                                     </child>
447                                     <child>
448                                       <object class="GtkToggleToolButton" id="toolbutton-bold">
449                                         <property name="visible">True</property>
450                                         <property name="related_action">bold</property>
451                                         <property name="use_action_appearance">True</property>
452                                         <property name="label" translatable="yes">_Bold</property>
453                                         <property name="use_underline">True</property>
454                                         <property name="stock_id">gtk-bold</property>
455                                       </object>
456                                       <packing>
457                                         <property name="expand">False</property>
458                                         <property name="homogeneous">True</property>
459                                       </packing>
460                                     </child>
461                                     <child>
462                                       <object class="GtkToggleToolButton" id="toolbutton-italic">
463                                         <property name="visible">True</property>
464                                         <property name="related_action">italic</property>
465                                         <property name="use_action_appearance">True</property>
466                                         <property name="label" translatable="yes">_Italic</property>
467                                         <property name="use_underline">True</property>
468                                         <property name="stock_id">gtk-italic</property>
469                                       </object>
470                                       <packing>
471                                         <property name="expand">False</property>
472                                         <property name="homogeneous">True</property>
473                                       </packing>
474                                     </child>
475                                     <child>
476                                       <object class="GtkToggleToolButton" id="toolbutton-underline">
477                                         <property name="visible">True</property>
478                                         <property name="related_action">underline</property>
479                                         <property name="use_action_appearance">True</property>
480                                         <property name="label" translatable="yes">_Underline</property>
481                                         <property name="use_underline">True</property>
482                                         <property name="stock_id">gtk-underline</property>
483                                       </object>
484                                       <packing>
485                                         <property name="expand">False</property>
486                                         <property name="homogeneous">True</property>
487                                       </packing>
488                                     </child>
489                                   </object>
490                                   <packing>
491                                     <property name="y">86</property>
492                                   </packing>
493                                 </child>
494                               </object>
495                               <packing>
496                                 <property name="position">1</property>
497                               </packing>
498                             </child>
499                           </object>
500                           <packing>
501                             <property name="position">1</property>
502                           </packing>
503                         </child>
504                       </object>
505                       <packing>
506                         <property name="padding">5</property>
507                         <property name="position">1</property>
508                       </packing>
509                     </child>
510                   </object>
511                   <packing>
512                     <property name="padding">5</property>
513                     <property name="position">2</property>
514                   </packing>
515                 </child>
516                 <child>
517                   <object class="GtkLabel" id="label4">
518                     <property name="height_request">30</property>
519                     <property name="visible">True</property>
520                     <property name="xalign">0</property>
521                     <property name="yalign">1</property>
522                     <property name="xpad">5</property>
523                     <property name="label" translatable="yes">Example text:</property>
524                   </object>
525                   <packing>
526                     <property name="expand">False</property>
527                     <property name="position">3</property>
528                   </packing>
529                 </child>
530                 <child>
531                   <object class="GtkTextView" id="example-textview">
532                     <property name="height_request">100</property>
533                     <property name="visible">True</property>
534                     <property name="can_focus">True</property>
535                     <property name="editable">False</property>
536                     <property name="wrap_mode">word-char</property>
537                     <property name="left_margin">10</property>
538                     <property name="right_margin">10</property>
539                   </object>
540                   <packing>
541                     <property name="position">4</property>
542                   </packing>
543                 </child>
544               </object>
545               <packing>
546                 <property name="position">1</property>
547               </packing>
548             </child>
549             <child type="tab">
550               <object class="GtkLabel" id="label2">
551                 <property name="visible">True</property>
552                 <property name="label" translatable="yes">Layout</property>
553               </object>
554               <packing>
555                 <property name="position">1</property>
556                 <property name="tab_fill">False</property>
557               </packing>
558             </child>
559             <child>
560               <object class="GtkVBox" id="vbox2">
561                 <property name="visible">True</property>
562                 <child>
563                   <placeholder/>
564                 </child>
565                 <child>
566                   <placeholder/>
567                 </child>
568                 <child>
569                   <placeholder/>
570                 </child>
571               </object>
572               <packing>
573                 <property name="position">2</property>
574               </packing>
575             </child>
576             <child type="tab">
577               <object class="GtkLabel" id="label3">
578                 <property name="visible">True</property>
579                 <property name="label" translatable="yes">Interpreters</property>
580               </object>
581               <packing>
582                 <property name="position">2</property>
583                 <property name="tab_fill">False</property>
584               </packing>
585             </child>
586           </object>
587           <packing>
588             <property name="position">2</property>
589           </packing>
590         </child>
591         <child internal-child="action_area">
592           <object class="GtkHButtonBox" id="dialog-action_area2">
593             <property name="visible">True</property>
594             <property name="layout_style">end</property>
595             <child>
596               <object class="GtkButton" id="button1">
597                 <property name="label">gtk-save</property>
598                 <property name="visible">True</property>
599                 <property name="can_focus">True</property>
600                 <property name="receives_default">True</property>
601                 <property name="use_stock">True</property>
602               </object>
603               <packing>
604                 <property name="expand">False</property>
605                 <property name="fill">False</property>
606                 <property name="position">0</property>
607               </packing>
608             </child>
609             <child>
610               <object class="GtkButton" id="button2">
611                 <property name="label" translatable="yes">Reset</property>
612                 <property name="visible">True</property>
613                 <property name="can_focus">True</property>
614                 <property name="receives_default">True</property>
615               </object>
616               <packing>
617                 <property name="expand">False</property>
618                 <property name="fill">False</property>
619                 <property name="position">1</property>
620               </packing>
621             </child>
622             <child>
623               <object class="GtkButton" id="button-close">
624                 <property name="label">gtk-close</property>
625                 <property name="visible">True</property>
626                 <property name="can_focus">True</property>
627                 <property name="receives_default">True</property>
628                 <property name="use_stock">True</property>
629                 <signal name="clicked" handler="gtk_widget_hide" object="prefswindow"/>
630               </object>
631               <packing>
632                 <property name="expand">False</property>
633                 <property name="fill">False</property>
634                 <property name="position">2</property>
635               </packing>
636             </child>
637           </object>
638           <packing>
639             <property name="expand">False</property>
640             <property name="pack_type">end</property>
641             <property name="position">0</property>
642           </packing>
643         </child>
644       </object>
645     </child>
646     <action-widgets>
647       <action-widget response="0">button1</action-widget>
648       <action-widget response="0">button2</action-widget>
649       <action-widget response="0">button-close</action-widget>
650     </action-widgets>
651   </object>
652   <object class="GtkActionGroup" id="style-actiongroup"/>
653   <object class="GtkToggleAction" id="align-left">
654     <property name="label">Align _left</property>
655     <property name="short_label">Align _left</property>
656     <property name="tooltip">Align text to the left</property>
657     <property name="stock_id">gtk-justify-left</property>
658     <signal name="toggled" handler="on_toggle_left"/>
659   </object>
660   <object class="GtkToggleAction" id="align-justify">
661     <property name="label">Align _justify</property>
662     <property name="short_label">Align _justify</property>
663     <property name="tooltip">Justify the text</property>
664     <property name="stock_id">gtk-justify-fill</property>
665     <signal name="toggled" handler="on_toggle_justify"/>
666   </object>
667   <object class="GtkToggleAction" id="align-right">
668     <property name="label">Align _right</property>
669     <property name="short_label">Align _right</property>
670     <property name="tooltip">Align text to the right</property>
671     <property name="stock_id">gtk-justify-right</property>
672     <signal name="toggled" handler="on_toggle_right"/>
673   </object>
674   <object class="GtkToggleAction" id="bold">
675     <property name="label">_Bold</property>
676     <property name="short_label">_Bold</property>
677     <property name="tooltip">Make the text bold</property>
678     <property name="stock_id">gtk-bold</property>
679     <signal name="toggled" handler="on_toggle_bold"/>
680   </object>
681   <object class="GtkToggleAction" id="italic">
682     <property name="label">_Italic</property>
683     <property name="short_label">_Italic</property>
684     <property name="tooltip">Print the text in italics</property>
685     <property name="stock_id">gtk-italic</property>
686     <signal name="toggled" handler="on_toggle_italic"/>
687   </object>
688   <object class="GtkToggleAction" id="underline">
689     <property name="label">_Underline</property>
690     <property name="short_label">_Underline</property>
691     <property name="tooltip">Underline the text</property>
692     <property name="stock_id">gtk-underline</property>
693     <signal name="toggled" handler="on_toggle_underline"/>
694   </object>
695   <object class="GtkToggleAction" id="align-center">
696     <property name="stock_id">gtk-justify-center</property>
697     <signal name="toggled" handler="on_toggle_center"/>
698   </object>
699 </interface>