Gtk.Label.prototype.set_line_wrap_mode
function set_line_wrap_mode(wrap_mode:Pango.WrapMode):void { // Gjs wrapper for gtk_label_set_line_wrap_mode() }
If line wrapping is on (see Gtk.Label.prototype.set_line_wrap) this controls how the line wrapping is done. The default is Pango.WrapMode.word which means wrap on word boundaries.
Since 2.10
- wrap_mode
the line wrapping mode