Property

GtkLabel:wrap-mode

since: 4.0

Declaration

property wrap-mode: Pango.WrapMode [ read, write ]

Description [src]

Controls how the line wrapping is done.

This only affects the formatting if line wrapping is on (see the GtkLabel:wrap property). The default is PANGO_WRAP_WORD, which means wrap on word boundaries.

For sizing behavior, also consider the GtkLabel:natural-wrap-mode property.

Type: PangoWrapMode
Available since:4.0
Default valuePANGO_WRAP_WORD
Getter methodgtk_label_get_wrap_mode()
Setter methodgtk_label_set_wrap_mode()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno