problems using gtk_clist_select_row and focus



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 focus does not move, 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]