If you pack your widgets into boxes or tables, then they will never overlap
(unless you're using buggy 3rd party widgets).  Normally, the only way to
make widgets overlap would be to use a Layout or a Fixed to manually place
your widgets.  But that's generally a bad idea.  I recommend that you read
http://www.pygtk.org/pygtk2tutorial/ch-PackingWidgets.html and pack your
widgets into boxes.

On Tue, Mar 6, 2012 at 8:14 AM, Adam Tauno Williams
<awill...@whitemice.org>wrote:

> This isn't specifically related to Gtk / PyGtk, but since I'm using
> PyGTK I thought I'd ask it here [it just relates generally to UI
> design].
>
> If I have a layout that contains widgets [which are rectangles]
> detecting with widgets overlap isn't that hard.  But is there a
> generally accepted scheme / algorthym for redistributing the widgets in
> such a fashion that they no longer overlap and 'feels' intuitive?  I've
> seen this behavior in a couple of applications and am curious if ther is
> anything like a 'standard' approach to this issue? [relevant links?]
>
> --
> System & Network Administrator [ LPI & NCLA ]
> <http://www.whitemiceconsulting.com>
> OpenGroupware Developer <http://www.opengroupware.us>
> Adam Tauno Williams
>
> _______________________________________________
> pygtk mailing list   pygtk@daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to