Gtk tree/list with a scrollbar and the up/down arrow keys.




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.




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