[gtkada] inserting a xpm image
caleb baker
saleeb_13 at hotmail.com
Tue Sep 19 21:44:27 CEST 2000
hi
i'm trying to load an xpm image into a gui and i'm using pixmap and i'm
having trouble doing this.
i'm using the code
colour := white(Gtk.Widget.Get_Default_Colormap);
Clear(Graphics_window);
Set_Background (Graphics_window, colour);
Gdk.Bitmap.Gdk_New (mask, Graphics_window, 250, 250);
Create_From_Xpm (pic, Graphics_window, mask, colour, Image_file);
and it's complaining that graphics_window is null, i have looked the the
Gdk-window.ads and i can't find anything which sets what the graphics window
actually has in it.
also i'm not sure how to show it
any help, or examples of code would be appriciated
thanks
caleb baker
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
More information about the gtkada
mailing list