NaturalWrapMode

Options for selecting a different wrap mode for natural size requests.

See for example the property@Gtk.Label:natural-wrap-mode property.

Since

4.6

Entries

Link copied to clipboard

Inherit the minimum size request. In particular, this should be used with %PANGO_WRAP_CHAR.

Link copied to clipboard

Try not to wrap the text. This mode is the closest to GTK3's behavior but can lead to a wide label leaving lots of empty space below the text.

Link copied to clipboard

Attempt to wrap at word boundaries. This is useful in particular when using %PANGO_WRAP_WORD_CHAR as the wrap mode.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.