NaturalWrapMode#

Added in version 4.6.

class NaturalWrapMode#

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

See for example the natural_wrap_mode property.

Fields#

class NaturalWrapMode
INHERIT#

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

NONE#

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.

WORD#

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