enum Gtk::AccessibleTextGranularity

Overview

The granularity for queries about the text contents of a Gtk::AccessibleText implementation.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

Character = 0_u32

Use the boundary between characters (including non-printing characters)

Word = 1_u32

Use the boundary between words, starting from the beginning of the current word and ending at the beginning of the next word

Sentence = 2_u32

Use the boundary between sentences, starting from the beginning of the current sentence and ending at the beginning of the next sentence

Line = 3_u32

Use the boundary between lines, starting from the beginning of the current line and ending at the beginning of the next line

Paragraph = 4_u32

Use the boundary between paragraphs, starting from the beginning of the current paragraph and ending at the beginning of the next paragraph

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

def line? #

def paragraph? #

def sentence? #

def word? #