3 <requires lib="gtk+" version="2.16"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkWindow" id="window">
6 <signal name="destroy" handler="window_destroy_cb"/>
8 <object class="GtkVBox" id="vbox1">
9 <property name="visible">True</property>
10 <property name="orientation">vertical</property>
15 <object class="GtkDrawingArea" id="drawarea">
16 <property name="width_request">200</property>
17 <property name="height_request">200</property>
18 <property name="visible">True</property>
19 <property name="events">GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_STRUCTURE_MASK</property>
20 <signal name="expose_event" handler="drawarea_expose_event_cb"/>
21 <signal name="button_press_event" handler="drawarea_button_press_event_cb"/>
24 <property name="position">1</property>
28 <object class="GtkButton" id="clear">
29 <property name="label" translatable="yes">clear</property>
30 <property name="visible">True</property>
31 <property name="can_focus">True</property>
32 <property name="receives_default">True</property>
33 <signal name="clicked" handler="clear"/>
34 <signal name="clicked" handler="gtk_widget_queue_draw" object="drawarea"/>
37 <property name="expand">False</property>
38 <property name="position">2</property>