:right-sidebar: True NaturalWrapMode =================================================================== .. currentmodule:: gi.repository.Gtk .. versionadded:: 4.6 .. class:: NaturalWrapMode :no-contents-entry: Options for selecting a different wrap mode for natural size requests. See for example the :obj:`~gi.repository.Gtk.Label.props.natural_wrap_mode` property. Fields ------ .. rst-class:: interim-class .. class:: NaturalWrapMode :no-index: .. attribute:: INHERIT Inherit the minimum size request. In particular, this should be used with ``%PANGO_WRAP_CHAR``. .. attribute:: 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. .. attribute:: WORD Attempt to wrap at word boundaries. This is useful in particular when using ``%PANGO_WRAP_WORD_CHAR`` as the wrap mode.