efl/src/lib/elementary/efl_access_selection.eo

61 lines
2.0 KiB
Plaintext

interface @beta Efl.Access.Selection
{
[[Elementary access selection interface]]
methods {
@property selected_children_count @protected @beta {
[[Gets the number of currently selected children]]
get {
return: int; [[Number of currently selected children]]
}
}
@property selected_child @protected @beta {
[[Gets child for given child index]]
get {
return: Efl.Object; [[Child object]]
}
keys {
selected_child_index: int; [[Index of child]]
}
}
child_select @protected @beta {
[[Adds selection for given child index]]
params {
@in child_index: int; [[Index of child]]
}
return: bool; [[$true if selection was added, $false otherwise]]
}
selected_child_deselect @protected @beta {
[[Removes selection for given child index]]
params {
@in child_index: int; [[Index of child]]
}
return: bool; [[$true if selection was removed, $false otherwise]]
}
is_child_selected @protected @beta {
[[Determines if child specified by index is selected]]
params {
@in child_index: int; [[Index of child]]
}
return: bool; [[$true if child is selected, $false otherwise]]
}
all_children_select @protected @beta {
[[Adds selection for all children]]
return: bool; [[$true if selection was added to all children, $false otherwise]]
}
access_selection_clear @protected @beta {
[[Clears the current selection]]
return: bool; [[$true if selection was cleared, $false otherwise]]
}
child_deselect @protected @beta {
[[Removes selection for given child index]]
params {
@in child_index: int; [[Index of child]]
}
return: bool; [[$true if selection was removed, $false otherwise]]
}
}
events {
access,selection,changed: void; [[Called when selection has been changed.]]
}
}