Re: [gtk-list] Re: GtkWiW update...need some gdk help too.





On Tue, 25 Jan 2000, Chris Phelps wrote:

> Ive been working like mad for a couple of hours now. I havent made the base WiW
> widget yet, but that shouldnt take all that long, as the WiW child is the really
> important part. At the moment, things are looking pretty spiffy, but I have run
> into a small problem with the drawing of the widget. Since it is based on a
> GtkVBox, which is transparent, i have to write the code to put the background
> color and such behind the WiW Child widget, as well as add a border etc. I have
> this done fairly well with a single sub window, but when sub windows overlap,
> the sub window on the top doesnt draw over the other widgets that are inside the
> sub window that it is overlapping. Ive looked at some code for the gtkbutton and
> other, and havent been able to discern a reason for this.

> Here is the code:
> 
I don't understand why you dropped the idea of using gtkframe for the
subwindows. It has it's own window and you can select the border style.
You can pack a gtkhbox on the top with the bar and buttons. I don't know
what results you'll get withthis approcah regarding to your drawing
problem, but it's much easier than using a vbox as the parent class.
Regards,
<ADRIAN>



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