Now Uses gtkbuilder/glade for gui building.
[micahsconvexhulldemo.git] / gui.xml
blob19bdf6cd09cc9065c9b1ff6c88547342ad3d7430
1 <?xml version="1.0"?>
2 <interface>
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"/>
7     <child>
8       <object class="GtkVBox" id="vbox1">
9         <property name="visible">True</property>
10         <property name="orientation">vertical</property>
11         <child>
12           <placeholder/>
13         </child>
14         <child>
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"/>
22           </object>
23           <packing>
24             <property name="position">1</property>
25           </packing>
26         </child>
27         <child>
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"/>
35           </object>
36           <packing>
37             <property name="expand">False</property>
38             <property name="position">2</property>
39           </packing>
40         </child>
41       </object>
42     </child>
43   </object>
44 </interface>