summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_internal_text_scroller.eo
blob: 3108000d8359519cc41e7a33e93268a8d82e9f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
enum @beta Efl.Ui.Text_Scroller_Mode
{
   default = 0,
   singleline = 0,
   multiline = 1,
}

class @beta Efl.Ui.Internal_Text_Scroller extends Efl.Ui.Scroller
{
   [[Internal-usage text scroller class.

     This class is a special scroller that evaluates its size based on the
     @Efl.Canvas.Text object it holds. On initialization the object is meant
     to be passed along a container (so that other objects such as
     a "guide hint" text object are store in such container.
   ]]
   methods {
      @property scroller_mode {
         [[Mode of operation for the scroller, either default (singleline) or multiline.]]
         set {
         }
         values {
            mode: Efl.Ui.Text_Scroller_Mode;
         }
      }
      @property viewport_clip {
         [[The viewport's clip object]]
         get {
         }
         values {
            clip: Efl.Object;
         }
      }
      initialize {
         [[The Efl.Canvas.Text content of this scroller.
           This should be called upon constructing the object.
         ]]
         params {
            text_obj: Efl.Canvas.Text; [[The text object to query]]
            text_table: Efl.Ui.Table; [[The table container of
               the $text_obj]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.finalize;
      Efl.Object.destructor;
      Efl.Canvas.Group.group_calculate;
   }
}