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.cr

Enum 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

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def buffer_ends? #

[View source]
def display_line_ends? #

[View source]
def display_lines? #

[View source]
def horizontal_pages? #

[View source]
def logical_positions? #

[View source]
def pages? #

[View source]
def paragraph_ends? #

[View source]
def paragraphs? #

[View source]
def visual_positions? #

[View source]
def words? #

[View source]