Sets whether a Text actor should be in single line mode or not.
Only editable Texts can be in single line mode.
A text actor in single line mode will not wrap text and will clip the visible area to the predefined size. The contents of the text actor will scroll to display the end of the text if its length is bigger than the allocated width.
When setting the single line mode the activatable property is also set as a side effect. Instead of entering a new line character, the text actor will emit the activate signal.
this |
a Text |
single_line |
whether to enable single line mode |