mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 14:53:03 +00:00
docs: Clarify the scope of Text:single-line-mode
Only editable text actors can be in single-line mode.
This commit is contained in:
parent
21820d50ca
commit
b8b10ef4db
@ -2795,6 +2795,9 @@ clutter_text_class_init (ClutterTextClass *klass)
|
|||||||
* Setting this property will also set the #ClutterText:activatable
|
* Setting this property will also set the #ClutterText:activatable
|
||||||
* property as a side-effect.
|
* property as a side-effect.
|
||||||
*
|
*
|
||||||
|
* The #ClutterText:single-line-mode property is used only if the
|
||||||
|
* #ClutterText:editable property is set to %TRUE.
|
||||||
|
*
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
*/
|
*/
|
||||||
pspec = g_param_spec_boolean ("single-line-mode",
|
pspec = g_param_spec_boolean ("single-line-mode",
|
||||||
@ -4839,7 +4842,8 @@ clutter_text_get_chars (ClutterText *self,
|
|||||||
* @single_line: whether to enable single line mode
|
* @single_line: whether to enable single line mode
|
||||||
*
|
*
|
||||||
* Sets whether a #ClutterText actor should be in single line mode
|
* Sets whether a #ClutterText actor should be in single line mode
|
||||||
* or not.
|
* or not. Only editable #ClutterText<!-- -->s can be in single line
|
||||||
|
* mode.
|
||||||
*
|
*
|
||||||
* A text actor in single line mode will not wrap text and will clip
|
* A text actor in single line mode will not wrap text and will clip
|
||||||
* the the visible area to the predefined size. The contents of the
|
* the the visible area to the predefined size. The contents of the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user