enum Gtk::WrapMode


Describes a type of line wrapping.

Defined in:


Enum Members

None = 0_u32

do not wrap lines; just make the text area wider

Char = 1_u32

wrap text, breaking lines anywhere the cursor can appear (between characters, usually - if you want to be technical, between graphemes, see pango_get_log_attrs())

Word = 2_u32

wrap text, breaking lines in between words

WordChar = 3_u32

wrap text, breaking lines in between words, or if that is not enough, also between graphemes

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

[View source]
def none? #

[View source]
def word? #

[View source]
def word_char? #

[View source]