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.


Instance Method Detail

def buffer_ends? #

def display_line_ends? #

def display_lines? #

def horizontal_pages? #

def logical_positions? #

def pages? #

def paragraph_ends? #

def paragraphs? #

def visual_positions? #

def words? #