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