Re: columned list

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

 



Hi

The idea is to "emulate" the mouse behaviour. If you have a large list you
can scroll with the mouse, without selecting an item. Same with the
cursor: you scroll the list (change focus) and then select an item (press
space).

To move the selection with the focus:

gtk_clist_set_selection_mode( clist, GTK_SELECTION_BROWSE );

Now you need to follow the focus row - maybe connect button_press and
check, if clist->focus_row has changed. Then gtk_clist_select_row( clist,
focus_row, 0 );

HTH

Jan-Marek
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux