GtkTreeView cursor focus



hi,

I am looking at the treeview source to find out how the cell-cursor focus is handled.
In a treeview I have selection mode is none. Cells are not editable.

When I focus the treeview and then press cursor up/down, the current line gets a thin rectangle draw around.

IMHO this is not correct, only the cell that has the focus, should be surrounded by the rectangle.

I would like to understand better whats going on. I suppose the focus has to do something with gtk-widget states.
Which state is used for the focus - GTK_STATE_ACTIVE or GTK_STATE_PRELIGHT ?
GTK_STATE_SELECTED is obviously for selections.

Many thanks

Stefan



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