1enum @beta Efl.Ui.Text_Scroller_Mode 2{ 3 default = 0, 4 singleline = 0, 5 multiline = 1, 6} 7 8class @beta Efl.Ui.Internal_Text_Scroller extends Efl.Ui.Scroller 9{ 10 [[Internal-usage text scroller class. 11 12 This class is a special scroller that evaluates its size based on the 13 @Efl.Canvas.Textblock 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 ]] 17 methods { 18 @property scroller_mode { 19 [[Mode of operation for the scroller, either default (singleline) or multiline.]] 20 set { 21 } 22 values { 23 mode: Efl.Ui.Text_Scroller_Mode; 24 } 25 } 26 @property viewport_clip { 27 [[The viewport's clip object]] 28 get { 29 } 30 values { 31 clip: Efl.Object; 32 } 33 } 34 initialize { 35 [[The Efl.Canvas.Textblock content of this scroller. 36 This should be called upon constructing the object. 37 ]] 38 params { 39 text_obj: Efl.Canvas.Textblock; [[The text object to query]] 40 text_table: Efl.Ui.Table; [[The table container of 41 the $text_obj]] 42 } 43 } 44 } 45 implements { 46 Efl.Object.constructor; 47 Efl.Object.finalize; 48 Efl.Object.destructor; 49 Efl.Canvas.Group.group_calculate; 50 } 51} 52