[gtkada] setting the background color of a gtk_frame object.

Preben Randhol randhol at pvv.org
Wed Aug 22 14:09:29 CEST 2001


Rabbix het Netwerkkeun <stijn at zeus.rug.ac.be> wrote on 22/08/2001 (01:23) :
> Hello,
> 
> Is there a simple way to set the background color of a Gtk_Frame object?
> 
> I looked around but apparently you can only set the background color of a
> window, the text in an entry, an item on the canvas... but not the
> background of a Gtk_Widget object.

Pack an Event_box in the frame and then set the colour of the Event_box.
You can add vbox/hbox to the Event_box.

-- 
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
                 «For me, Ada95 puts back the joy in programming.»




More information about the gtkada mailing list