enum Gtk::InscriptionOverflow

Overview

The different methods to handle text in #Gtk::Inscription when it doesn't fit the available space.

Defined in:

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

Enum Members

Clip = 0_u32

Clip the remaining text

EllipsizeStart = 1_u32

Omit characters at the start of the text

EllipsizeMiddle = 2_u32

Omit characters at the middle of the text

EllipsizeEnd = 3_u32

Omit characters at the end of the text

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

def ellipsize_end? #

def ellipsize_middle? #

def ellipsize_start? #