summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_internal_text_scroller.eo
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2018-11-12 15:09:56 +0200
committerDaniel Hirt <hirt.danny@gmail.com>2018-11-26 13:17:07 +0200
commit3e5616b3467d2cc2e5b52d2bb234f28c7d72e9bc (patch)
tree327f54a73bc3f794307285814b736d6495c4da5e /src/lib/elementary/efl_ui_internal_text_scroller.eo
parentacee09f5851903a7e16e1507766718ea22a266c8 (diff)
Ui text scroller: add usage of a guide
Diffstat (limited to 'src/lib/elementary/efl_ui_internal_text_scroller.eo')
-rw-r--r--src/lib/elementary/efl_ui_internal_text_scroller.eo27
1 files changed, 17 insertions, 10 deletions
diff --git a/src/lib/elementary/efl_ui_internal_text_scroller.eo b/src/lib/elementary/efl_ui_internal_text_scroller.eo
index 7058626..47624e4 100644
--- a/src/lib/elementary/efl_ui_internal_text_scroller.eo
+++ b/src/lib/elementary/efl_ui_internal_text_scroller.eo
@@ -7,17 +7,14 @@ enum Efl.Ui.Text_Scroller_Mode
7 7
8class Efl.Ui.Internal_Text_Scroller (Efl.Ui.Scroller) 8class Efl.Ui.Internal_Text_Scroller (Efl.Ui.Scroller)
9{ 9{
10 [[Efl ui text scroller class]] 10 [[Internal-usage text scroller class.
11
12 This class is a special scroller that evaluates its size based on the
13 $Efl.Canvas.Text object it holds. On initialization the object is meant
14 to be passed along a container (so that other objects such as
15 a "guide hint" text object are store in such container.
16 ]]
11 methods { 17 methods {
12 @property text_object {
13 [[The Efl.Canvas.Text content of this scroller]]
14 set {
15 [[Sets the given text object as the content of this scroller]]
16 }
17 values {
18 text_obj: Efl.Canvas.Text @nullable;
19 }
20 }
21 @property scroller_mode { 18 @property scroller_mode {
22 [[Mode of operation for the scroller]] 19 [[Mode of operation for the scroller]]
23 set { 20 set {
@@ -36,6 +33,16 @@ class Efl.Ui.Internal_Text_Scroller (Efl.Ui.Scroller)
36 clip: Efl.Object; 33 clip: Efl.Object;
37 } 34 }
38 } 35 }
36 initialize {
37 [[The Efl.Canvas.Text content of this scroller.
38 This should be called upon constructing the object.
39 ]]
40 params {
41 text_obj: Efl.Canvas.Text @nullable; [[The text object to query]]
42 text_table: Efl.Ui.Table @nullable; [[The table container of
43 the $text_obj]]
44 }
45 }
39 } 46 }
40 implements { 47 implements {
41 Efl.Object.constructor; 48 Efl.Object.constructor;