Re: Newbie question - GTK focus order control



Thanks. Looks like v2 is what I really need, but I'll code out some mock ups and play around with 1.2. I can probably find a happy medium with a little playing.

Bill

--On Friday, May 25, 2001 01:47:54 PM -0400 Havoc Pennington <hp redhat com> wrote:


"William D. Ezell" <wdezell snowhill com> writes:
Ah.  That would explain why I've not seen altering it addressed.

So, to implement a design that makes the best of the default behavior
what should one expect that behavior to be?  Is order determined by the
order in which the widgets are created in code or by their final
positions in the container/window/whatever (e.g., something like order =
upper-left to bottom-right)?

I hope the answer is the former, because the latter would preclude
potentially useful layouts like multi-columnar arrangments where you'd
fill in a bunch of stuff top-to-bottom on the left side of an
arrangement before comitting via button(s) on the right.

It's based on widget positions within each container. The widgets are
sorted first vertically then horizontally. So the tab focus goes
top row of widgets, next row of widgets, next row of widgets, etc.

This is within a container though, not "global" for a window. So by
playing with extra containers you should be able to affect the focus
to some extent, I think so anyway.

It's fairly lame, but we have fixed it up in the next version, is the
best comfort I can offer. ;-)

Havoc




----------------------------------------------------------------------
        Help stop Spam/UCE.  Visit http://www.cauce.org
----------------------------------------------------------------------




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