Package ch.bailu.gtk.gtk
Schnittstelle ListBox.OnMoveCursor
- Umschließende Klasse:
ListBox
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
onMoveCursor
(int step, int count, boolean extend, boolean modify) Emitted when the user initiates a cursor movement.
-
Methodendetails
-
onMoveCursor
void onMoveCursor(int step, int count, boolean extend, boolean modify) Emitted when the user initiates a cursor movement.
The default bindings for this signal come in two variants, the variant with
the Shift modifier extends the selection, the variant without the Shift
modifier does not. There are too many key combinations to list them all
here.
- <kbd>←</kbd>, <kbd>→</kbd>, <kbd>↑</kbd>, <kbd>↓</kbd>
move by individual children
- <kbd>Home</kbd>, <kbd>End</kbd> move to the ends of the box
- <kbd>PgUp</kbd>, <kbd>PgDn</kbd> move vertically by pages- Parameter:
step
- the granularity of the move, as a `GtkMovementStep`count
- the number of @step units to moveextend
- whether to extend the selectionmodify
- whether to modify the selection
-