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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
|
<?xml version="1.0"?>
<GTK-Interface>
<project>
<name>project1</name>
<directory></directory>
<source_directory>src</source_directory>
<pixmaps_directory>pixmaps</pixmaps_directory>
<language>C</language>
<gnome_support>True</gnome_support>
<gettext_support>True</gettext_support>
<use_widget_names>False</use_widget_names>
<output_main_file>True</output_main_file>
<output_support_files>True</output_support_files>
<output_build_files>True</output_build_files>
<backup_source_files>True</backup_source_files>
<main_source_file>interface.c</main_source_file>
<main_header_file>interface.h</main_header_file>
<handler_source_file>callbacks.c</handler_source_file>
<handler_header_file>callbacks.h</handler_header_file>
<support_source_file>support.c</support_source_file>
<support_header_file>support.h</support_header_file>
</project>
<widget>
<class>GtkWindow</class>
<name>window1</name>
<signal>
<name>destroy</name>
<handler>gtk_main_quit</handler>
<last_modification_time>Mon, 07 Jun 1999 01:53:26 GMT</last_modification_time>
</signal>
<title>window1</title>
<type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position>
<allow_shrink>False</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>GtkMenuBar</class>
<name>menubar1</name>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<widget>
<class>GtkMenuItem</class>
<name>file1</name>
<label>File</label>
<right_justify>False</right_justify>
<widget>
<class>GtkMenu</class>
<name>file1_menu</name>
<widget>
<class>GtkMenuItem</class>
<name>quit1</name>
<accelerator>
<modifiers>GDK_CONTROL_MASK</modifiers>
<key>GDK_Q</key>
<signal>activate</signal>
</accelerator>
<signal>
<name>activate</name>
<handler>gtk_main_quit</handler>
<last_modification_time>Mon, 07 Jun 1999 01:54:35 GMT</last_modification_time>
</signal>
<label>Quit</label>
<right_justify>False</right_justify>
</widget>
</widget>
</widget>
</widget>
<widget>
<class>Custom</class>
<name>custom1</name>
<child>
<padding>4</padding>
<expand>True</expand>
<fill>True</fill>
</child>
<creation_function>gtk_color_selection_new</creation_function>
<int1>0</int1>
<int2>0</int2>
<last_modification_time>Mon, 07 Jun 1999 01:57:03 GMT</last_modification_time>
</widget>
<widget>
<class>GtkLabel</class>
<name>label1</name>
<child>
<padding>0</padding>
<expand>False</expand>
<fill>False</fill>
</child>
<label>This example shows the use of a custom widget.
In this case, the intitialiser is gtk_color_selection_new.</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
</widget>
</widget>
</GTK-Interface>
|