Re: coloring vbox/scrolled window



That worked. Thank you very much......

Deekshith M

On 9/24/05, riboaz xs4all nl <riboaz xs4all nl> wrote:
> hi,
>
> you need to use an event_box() to cover the region you want to colour,
> then  set the background of the event box to the colour you want.
>
> your hierarchy could be one of several options, one being:
>
> event box > vbox1 > scl > vbox2 > button
>
> cheers,
>
> richard
>
> > Hi all,
> >  witha  few of of VBOX scrolled window etc. Here is the containment.
> >
> > vbox1 > scl > vbox2 > button.
> >
> > I want to make the background area of button to be area. That is the
> > remaining uncovered part of scl/vbox2 should be in read. I tried to
> > set the BG/FG  color for scl/vbox2 it didn't work.
> >
> > Please help me
> >
> > +---------------------------------+
> > |                                  |
> > |                              <--|-------- This aread should be red.
> > |                                  |
> > |                                  |
> > |    +-------------------+       |
> > |     |                    |        |
> > |     |                    |        |
> > |     |                    |        |
> > |    +-------------------+       |
> > |                                  |
> > |                                  |
> > |                                  |
> > |                                  |
> > |                                  |
> > +---------------------------------+
> >
> > Thanks and Regards
> > Deekshit M
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
> >
>
>
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]