problems setting the selected item in a clist
- From: "Norman Black" <stonybrk ix netcom com>
- To: "gtk-list" <gtk-list gnome org>, "gtk-app-devel-list" <gtk-app-devel-list gnome org>
- Subject: problems setting the selected item in a clist
- Date: Tue, 24 Apr 2001 13:32:36 -0700
I have a clist and my code does full text matching when the user types on
the keyboard. I use clist_select_row to change the selection. The clist is
using BROWSE as its selection mode.
The clist focus item does not move when I set the selection with select_row,
so if the user then presses a cursor key, the selection hops from where I
put it with select_row to something by the focus item.
How to I make the currently selected item also the focus item?
BTW: Why do BROWSE and SINGLE selection modes allow the focus and selection
to differ.
Best Regards,
Norman Black
Stony Brook Software
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]