Re: columned list
- From: Jan-Marek Glogowski <glogow fbihome de>
- To: Neil Zanella <nzanella gmail com>
- Cc: GTK List <gtk-list gnome org>
- Subject: Re: columned list
- Date: Sun, 21 Nov 2004 15:26:17 +0100 (CET)
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]