[gtkada] Putting an XMP graphic on a button
Preben Randhol
randhol at pvv.org
Tue Jun 11 10:04:04 CEST 2002
"Grein, Christoph" <christoph.grein at eurocopter.com> wrote on 11/06/2002 (09:56) :
> At position (2), I get no warning and also no graphic on the button.
>
> What is wrong/missing?
Ah I was a bit confused at first. Try add:
> Gtk.Pixmap.Gtk_New (Graphic, Pixmap, Mask);
> Gtk.Button.Add (F_Smedit.Current_State_Scroll_Up, Graphic);
Show (F_Smedit.Current_State_Scroll_Up)
> end Set_Button_Pixmap;
And put the call in position (2)
--
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
«For me, Ada95 puts back the joy in programming.»
More information about the gtkada
mailing list