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 can but it's not a very good idea.  For example, if the user 
resizes your window, the widgets would then most likely not end up where 
you'd want them with respect to the rectangle.

Gtk provides mechanisms for doing this sort of thing appropriately. 
Take a look at hbox and vbox.  These are layout mechanisms.  Once you've 
placed widgets within a layout, they'll stay there, even if the layout 
is resized.

-- 
Guy Rouillier
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to