1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
<?xml version="1.0"?>
<GTK-Interface>
<style>
<style_name>Hello</style_name>
<style_font>-adobe-helvetica-bold-r-normal-*-*-180-*-*-p-*-iso8859-1</style_font>
<fg:NORMAL>0,0,255</fg:NORMAL>
</style>
<widget>
<class>GtkWindow</class>
<name>window1</name>
<Signal>
<name>destroy</name>
<handler>close_window</handler>
</Signal>
<title>window1</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<allow_shrink>True</allow_shrink>
<allow_grow>True</allow_grow>
<auto_shrink>False</auto_shrink>
<widget>
<class>GtkVBox</class>
<name>vbox1</name>
<homogeneous>False</homogeneous>
<spacing>0</spacing>
<widget>
<class>GtkCombo</class>
<name>combo1</name>
<border_width>5</border_width>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
</child>
<Signal>
<name>add</name>
<handler>on_combo1_add</handler>
<object>window1</object>
</Signal>
<case_sensitive>False</case_sensitive>
<use_arrows>True</use_arrows>
<use_arrows_always>False</use_arrows_always>
</widget>
<widget>
<class>GtkHRuler</class>
<name>hruler1</name>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>True</fill>
</child>
<height>32</height>
<style_name>Hello</style_name>
<Accelerator>
<modifiers>GDK_CONTROL_MASK</modifiers>
<key>GDK_0</key>
<signal>hide</signal>
</Accelerator>
<Accelerator>
<modifiers>GDK_CONTROL_MASK</modifiers>
<key>GDK_1</key>
<signal>show</signal>
</Accelerator>
<metric>GTK_PIXELS</metric>
<lower>0</lower>
<upper>10</upper>
<position>0</position>
<max_size>10</max_size>
</widget>
<widget>
<class>GtkStatusbar</class>
<name>statusbar1</name>
<border_width>10</border_width>
<child>
<padding>0</padding>
<expand>True</expand>
<fill>True</fill>
</child>
</widget>
</widget>
</widget>
</GTK-Interface>
|