Re: Gtk tree/list with a scrollbar and the up/down arrow keys.
- From: Vladislav Grinchenko <3rdshift comcast net>
- To: EPC <elias perez granimondi com>
- Cc: Gtk+ app dev list <gtk-app-devel-list gnome org>
- Subject: Re: Gtk tree/list with a scrollbar and the up/down arrow keys.
- Date: Sun, 19 Sep 2004 16:52:39 -0400
Elias,
I faced same problem a while ago, although with gtkmm (C++ wrapper).
Take a look at the code:
http://home.comcast.net/~3rdShift/gtkmm/index.html
It's in C++, but the IF is very close to C.
-Vlad
On Fri, 2004-09-17 at 14:14, EPC wrote:
Hi everyone,
I have a GTK_LIST packed into a scrollbar window. I want to navigate
between the records in the list with the Up/Down arrow keys and always
have the selected record "visible".
When I browse through the list, the scrollbar doesn't move so I cannot
see the row that I'm selecting... I must move the scrollbar with the
mouse but I want to make the scrollbar "follow" the selection automatically.
How can I move the scrollbar in order to have the selected item always
visible? IMHO, this should be the default behaviour when packing a
tree/list inside a scrollbar.
Any idea would be nice... many thanks in advance,
E.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
_____________________________________________________________
Vladislav Grinchenko http://home.comcast.net/~3rdshift/
e-mail: 3rdshift comcast net
Focus on quality, and productivity will follow.
_____________________________________________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]