enum
Gtk::MovementStep
Overview
Passed as argument to various keybinding signals for moving the cursor position.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gtk.crEnum Members
-
LogicalPositions =
0_u32 -
Move forward or back by graphemes
-
VisualPositions =
1_u32 -
Move left or right by graphemes
-
Words =
2_u32 -
Move forward or back by words
-
DisplayLines =
3_u32 -
Move up or down lines (wrapped lines)
-
DisplayLineEnds =
4_u32 -
Move to either end of a line
-
Paragraphs =
5_u32 -
Move up or down paragraphs (newline-ended lines)
-
ParagraphEnds =
6_u32 -
Move to either end of a paragraph
-
Pages =
7_u32 -
Move by pages
-
BufferEnds =
8_u32 -
Move to ends of the buffer
-
HorizontalPages =
9_u32 -
Move horizontally by pages
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#buffer_ends?
Returns
trueif this enum value equalsBufferEnds -
#display_line_ends?
Returns
trueif this enum value equalsDisplayLineEnds -
#display_lines?
Returns
trueif this enum value equalsDisplayLines -
#horizontal_pages?
Returns
trueif this enum value equalsHorizontalPages -
#logical_positions?
Returns
trueif this enum value equalsLogicalPositions -
#pages?
Returns
trueif this enum value equalsPages -
#paragraph_ends?
Returns
trueif this enum value equalsParagraphEnds -
#paragraphs?
Returns
trueif this enum value equalsParagraphs -
#visual_positions?
Returns
trueif this enum value equalsVisualPositions -
#words?
Returns
trueif this enum value equalsWords
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.