1interface @beta Efl.Access.Selection 2{ 3 [[Elementary access selection interface]] 4 methods { 5 @property selected_children_count @protected @beta { 6 [[Gets the number of currently selected children]] 7 get { 8 return: int; [[Number of currently selected children]] 9 } 10 } 11 @property selected_child @protected @beta { 12 [[Gets child for given child index]] 13 get { 14 return: Efl.Object; [[Child object]] 15 } 16 keys { 17 selected_child_index: int; [[Index of child]] 18 } 19 } 20 child_select @protected @beta { 21 [[Adds selection for given child index]] 22 params { 23 @in child_index: int; [[Index of child]] 24 } 25 return: bool; [[$true if selection was added, $false otherwise]] 26 } 27 selected_child_deselect @protected @beta { 28 [[Removes selection for given child index]] 29 params { 30 @in child_index: int; [[Index of child]] 31 } 32 return: bool; [[$true if selection was removed, $false otherwise]] 33 } 34 is_child_selected @protected @beta { 35 [[Determines if child specified by index is selected]] 36 params { 37 @in child_index: int; [[Index of child]] 38 } 39 return: bool; [[$true if child is selected, $false otherwise]] 40 } 41 all_children_select @protected @beta { 42 [[Adds selection for all children]] 43 return: bool; [[$true if selection was added to all children, $false otherwise]] 44 } 45 access_selection_clear @protected @beta { 46 [[Clears the current selection]] 47 return: bool; [[$true if selection was cleared, $false otherwise]] 48 } 49 child_deselect @protected @beta { 50 [[Removes selection for given child index]] 51 params { 52 @in child_index: int; [[Index of child]] 53 } 54 return: bool; [[$true if selection was removed, $false otherwise]] 55 } 56 } 57 events { 58 access,selection,changed: void; [[Called when selection has been changed.]] 59 } 60} 61