Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.Pango.Layout

Method GTK2.Pango.Layout()->set_single_paragraph_mode()


Method set_single_paragraph_mode

Pango.Layout set_single_paragraph_mode(int setting)

Description

If setting is true, do not treat newlines and similar characters as paragraph separators; instead, keep all text in a single paragraph, and display a glyph for paragraph separator characters. Used when you want to allow editing of newlines on a single text line.