5 static char * WheelbarrowFull_xpm[] = {
82 "Oh$;ya *3d.a8j,Xe.d3g8+ ",
83 " Oh$;ka *3d$a8lz,,xxc:.e3g54 ",
84 " Oh$;kO *pd$%svbzz,sxxxxfX..&wn> ",
85 " Oh$@mO *3dthwlsslszjzxxxxxxx3:td8M4 ",
86 " Oh$@g& *3d$XNlvvvlllm,mNwxxxxxxxfa.:,B* ",
87 " Oh$@,Od.czlllllzlmmqV@V#V@fxxxxxxxf:%j5& ",
88 " Oh$1hd5lllslllCCZrV#r#:#2AxxxxxxxxxcdwM* ",
89 " OXq6c.%8vvvllZZiqqApA:mq:Xxcpcxxxxxfdc9* ",
90 " 2r<6gde3bllZZrVi7S@SV77A::qApxxxxxxfdcM ",
91 " :,q-6MN.dfmZZrrSS:#riirDSAX@Af5xxxxxfevo",
92 " +A26jguXtAZZZC7iDiCCrVVii7Cmmmxxxxxx%3g",
93 " *#16jszN..3DZZZZrCVSA2rZrV7Dmmwxxxx&en",
94 " p2yFvzssXe:fCZZCiiD7iiZDiDSSZwwxx8e*>",
95 " OA1<jzxwwc:$d%NDZZZZCCCZCCZZCmxxfd.B ",
96 " 3206Bwxxszx%et.eaAp77m77mmmf3&eeeg* ",
97 " @26MvzxNzvlbwfpdettttttttttt.c,n& ",
98 " *;16=lsNwwNwgsvslbwwvccc3pcfu<o ",
99 " p;<69BvwwsszslllbBlllllllu<5+ ",
100 " OS0y6FBlvvvzvzss,u=Blllj=54 ",
101 " c1-699Blvlllllu7k96MMMg4 ",
102 " *10y8n6FjvllllB<166668 ",
103 " S-kg+>666<M<996-y6n<8* ",
104 " p71=4 m69996kD8Z-66698&& ",
105 " &i0ycm6n4 ogk17,0<6666g ",
106 " N-k-<> >=01-kuu666> ",
107 " ,6ky& &46-10ul,66, ",
108 " Ou0<> o66y<ulw<66& ",
109 " *kk5 >66By7=xu664 ",
110 " <<M4 466lj<Mxu66o ",
111 " *>> +66uv,zN666* ",
121 /* When invoked (via signal delete_event), terminates the application */
122 gint close_application( GtkWidget *widget,
133 /* GtkWidget is the storage type for widgets */
134 GtkWidget *window, *pixmap, *fixed;
135 GdkPixmap *gdk_pixmap;
140 /* Create the main window, and attach delete_event signal to terminate
141 * the application. Note that the main window will not have a titlebar
142 * since we're making it a popup. */
143 gtk_init (&argc, &argv);
144 window = gtk_window_new( GTK_WINDOW_POPUP );
145 g_signal_connect (GTK_OBJECT (window), "delete_event",
146 GTK_SIGNAL_FUNC (close_application), NULL);
147 gtk_widget_show (window);
149 /* Now for the pixmap and the pixmap widget */
150 style = gtk_widget_get_default_style();
151 gc = style->black_gc;
152 gdk_pixmap = gdk_pixmap_create_from_xpm_d( window->window, &mask,
153 &style->bg[GTK_STATE_NORMAL],
154 WheelbarrowFull_xpm );
155 pixmap = gtk_image_new_from_pixmap (gdk_pixmap, mask);
156 gtk_widget_show( pixmap );
158 /* To display the pixmap, we use a fixed widget to place the pixmap */
159 fixed = gtk_fixed_new();
160 gtk_widget_set_size_request (fixed, 200, 200);
161 gtk_fixed_put( GTK_FIXED(fixed), pixmap, 0, 0 );
162 gtk_container_add( GTK_CONTAINER(window), fixed );
163 gtk_widget_show( fixed );
165 /* This masks out everything except for the image itself */
166 gtk_widget_shape_combine_mask( window, mask, 0, 0 );
168 /* show the window */
169 /*gtk_widget_set_uposition( window, 20, 400 );*/
170 gtk_widget_show( window );