-
Cast constructor, converting any binary integer to a
WrapMode
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
do not wrap lines; just make the text area wider
Declaration
Swift
static let none: GtkWrapMode
-
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()
)Declaration
Swift
static let char: GtkWrapMode
-
wrap text, breaking lines in between words
Declaration
Swift
static let word: GtkWrapMode
-
wrap text, breaking lines in between words, or if that is not enough, also between graphemes
Declaration
Swift
static let wordChar: GtkWrapMode