Package: gtk

GEnum gtk:natural-wrap-mode

Declaration

(gobject:define-genum "GtkNaturalWrapMode" natural-wrap-mode
  (:export t
   :type-initializer "gtk_natural_wrap_mode_get_type")
  (:inherit 0)
  (:none 1)
  (:word 2))  

Values

:inherit
Inherit the minimum size request. In particular, this should be used with the :char value of the pango:wrap-mode enumeration.
:none
Try not to wrap the text. This mode is the closest to the behavior of GTK 3 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 the :word-char value of the pango:wrap-mode enumeration as the wrap mode.

Details

Options for selecting a different wrap mode for natural size requests. See for example the natural-wrap-mode property.

Since 4.6
 

See also

2024-4-24