GtkNaturalWrapMode

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

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

Values

ValueMeaning
Inherit0

Inherit the minimum size request. In particular, this should be used with pango.types.WrapMode.Char.

None1

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.

Word2

Attempt to wrap at word boundaries. This is useful in particular when using pango.types.WrapMode.WordChar as the wrap mode.