ListBox doesn't skip unselectable items when cursor moving but...
Submitted by bug..@..out.nl
Link to original bug (#790174)
Description
... select_row() does not update the internal move pointer.
Trying to create empty ListBox items that are skipped during cursor movement.
I can achieve skipping using event handlers.
Unselectable rows still consume a cursor movement.
So the internal cursor movement does get stuck on the unselectable item, and you can even fire the activation event on it.
It is possible to skip using select_row, however,
This does not advance or change the internal movement cursor.
So while the former may be called a "feature", the latter is a clear omission.
I realize that it is probably possible to change this cursor using the GtkAdjustment.
Regardless:
- using select_row() should change the cursor position for keys
- unselectable rows should not be valid values for the cursor position.
Version: 3.18.x