Re: Focus in GTK Windows



Felix Braun <fbraun po-box mcgill ca> writes: 
> 1. Which widget holds the focus if none of the widgets that I have added
>    have it.

None.

> 2. Why was the handling of focus implemented in that way? Isn't it more
>    intuitive to just have visible Widgets be focussable?

It's kind of broken. GTK 1.3.x/2.0 addresses this.

> 3. Can I disable it simply by using
> 	GTK_WIDGET_UNSET (InvisibleWidget, CAN_FOCUS);
>    and thus have only as many focussable widgets as I have added to the
>    window?

No. I'm not sure how you'd go about changing it, though there probably
is a way to hack it.

Havoc



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