GTK+ Draw a Rectangle over other widgets?

2006-08-20 Thread Wolfman
Does someone know how can draw a simple rectangle over other widgets or a complete window? Cause iam trying to write a window splitting system but i dont know how to draw this rectangle...:( best regards.. -- View this message in context: http://www.nabble.com/GTK%2B-Draw-a-Rectangle-over-othe

Re: GTK+ Draw a Rectangle over other widgets?

2006-08-20 Thread Matt Hoosier
Because some Gtk+ widgets use their own X11 windows while others render themselves into a parent widget's X11 window, this may be a harder job than you think. The most consistent solution might be to allocate another X11 window (perhaps in pop-up mode, so suppress window decorations), manually posi

Re: GTK+ Draw a Rectangle over other widgets?

2006-08-20 Thread Stefan Kost
hi, Wolfman wrote: > Does someone know how can draw a simple rectangle over other widgets or a > complete window? > Cause iam trying to write a window splitting system but i dont know how to > draw this rectangle...:( > > best regards.. > you can subclass the widget, override the _expose_even

Re: GTK+ Draw a Rectangle over other widgets?

2006-08-20 Thread Wolfman
@Stefan Can u tell me how to call the expose in simple example? @Matt Do u mean something like an overlay window? That could also do this job but is there a way to make a popup window transparent? -- View this message in context: http://www.nabble.com/GTK%2B-Draw-a-Rectangle-over-other-widgets

Re: GTK+ Draw a Rectangle over other widgets?

2006-08-20 Thread Guy Rouillier
Wolfman wrote: > Does someone know how can draw a simple rectangle over other widgets or a > complete window? > Cause iam trying to write a window splitting system but i dont know how to > draw this rectangle...:( > You can't just draw a rectangle in order to group widgets. Well, I suppose you

Re: GTK+ Draw a Rectangle over other widgets?

2006-08-21 Thread ensonic
On 12:33:05 am 21/08/2006 Wolfman <[EMAIL PROTECTED]> wrote: > > @Stefan > Can u tell me how to call the expose in simple example? You don call that, gtk+ calls that to ask the widget to redraw. See bt_sequence_view_expose_event() in http://buzztard.cvs.sourceforge.net/buzztard/buzztard/src/ui/e