enum Gtk::DeleteType


Passed to various keybinding signals for deleting text.

Defined in:


Enum Members

Chars = 0_u32

Delete characters.

WordEnds = 1_u32

Delete only the portion of the word to the left/right of cursor if we’re in the middle of a word.

Words = 2_u32

Delete words.

DisplayLines = 3_u32

Delete display-lines. Display-lines refers to the visible lines, with respect to the current line breaks. As opposed to paragraphs, which are defined by line breaks in the input.

DisplayLineEnds = 4_u32

Delete only the portion of the display-line to the left/right of cursor.

ParagraphEnds = 5_u32

Delete to the end of the paragraph. Like C-k in Emacs (or its reverse).

Paragraphs = 6_u32

Delete entire line. Like C-k in pico.

Whitespace = 7_u32

Delete only whitespace. Like M-\ in Emacs.

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 chars? #

def display_line_ends? #

def display_lines? #

def paragraph_ends? #

def paragraphs? #

def whitespace? #

def word_ends? #

def words? #