[gtkada] Changing a pixmap

Jean-Pierre Rosen rosen at adalog.fr
Fri Mar 21 16:44:13 CET 2003


I have a user interface (with GTKAda of course), generated with glade, that includes a pixmap, and I want to
change dynamically the picture (typically, changing a green "light" to red).

I did something like:
         Control_Window.Modif_Status := GTK.Pixmap.Create_Pixmap ("pixmaps/red.xpm",
                                                                           Control_Window_Pkg.Control_Window);
but it has no effect...
What did I miss?
---------------------------------------------------------
           J-P. Rosen (rosen at adalog.fr)
Visit Adalog's web site at http://www.adalog.fr



More information about the gtkada mailing list