Re: How to determine a widget is visible or not within a scrollw?



On Sat, Feb 22, 2003 at 03:55:25PM -0500, yanxin wrote:
I have a layout in a scrolled window, and some widgets inside the
layout. My question is, when I hit a tab key, the focus may go to a
widget which is not inside the current viewable area, how do I determine
this and automatically adjust the scrollbar and show the widget that has
just got the focus?

It should be happening automatically. Run "testgtk" from the GTK
distribution and tab around in the "scrolled window" test for example.
If it's not working file a small compilable test case showing it not
working on bugzilla.gnome.org

Havoc



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