2017-09-18 19:18:22 -07:00
|
|
|
interface Efl.Access.Selection ()
|
2014-05-29 19:56:24 -07:00
|
|
|
{
|
2017-09-18 19:18:22 -07:00
|
|
|
[[Elementary access selection interface]]
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property selected_children_count @protected {
|
2014-05-29 19:56:24 -07:00
|
|
|
get {
|
2015-08-07 06:28:40 -07:00
|
|
|
[[Gets the number of currently selected children]]
|
2016-10-21 08:32:00 -07:00
|
|
|
return: int; [[Number of currently selected children]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property selected_child @protected {
|
2015-08-07 06:28:40 -07:00
|
|
|
[[Gets child for given child index]]
|
2014-05-29 19:56:24 -07:00
|
|
|
get {
|
2016-10-21 08:32:00 -07:00
|
|
|
return: Efl.Object; [[Child object]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
|
|
|
keys {
|
2016-10-21 08:32:00 -07:00
|
|
|
selected_child_index: int; [[Index of child]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
child_select @protected {
|
2015-08-07 06:28:40 -07:00
|
|
|
[[Adds selection for given child index]]
|
2014-05-29 19:56:24 -07:00
|
|
|
params {
|
2016-10-21 08:32:00 -07:00
|
|
|
@in child_index: int; [[Index of child]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2016-10-21 08:32:00 -07:00
|
|
|
return: bool; [[$true if selection was added, $false otherwise]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
selected_child_deselect @protected {
|
2015-08-07 06:28:40 -07:00
|
|
|
[[Removes selection for given child index]]
|
2014-05-29 19:56:24 -07:00
|
|
|
params {
|
2016-10-21 08:32:00 -07:00
|
|
|
@in child_index: int; [[Index of child]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2016-10-21 08:32:00 -07:00
|
|
|
return: bool; [[$true if selection was removed, $false otherwise]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
is_child_selected @protected {
|
2015-08-07 06:28:40 -07:00
|
|
|
[[Determines if child specified by index is selected]]
|
2014-05-29 19:56:24 -07:00
|
|
|
params {
|
2016-10-21 08:32:00 -07:00
|
|
|
@in child_index: int; [[Index of child]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2016-10-21 08:32:00 -07:00
|
|
|
return: bool; [[$true if child is selected, $false otherwise]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
all_children_select @protected {
|
2015-08-07 06:28:40 -07:00
|
|
|
[[Adds selection for all children]]
|
2016-10-21 08:32:00 -07:00
|
|
|
return: bool; [[$true if selection was added to all children, $false otherwise]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
clear @protected {
|
2015-08-07 06:28:40 -07:00
|
|
|
[[Clears the current selection]]
|
2016-10-21 08:32:00 -07:00
|
|
|
return: bool; [[$true if selection was cleared, $false otherwise]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
child_deselect @protected {
|
2015-08-07 06:28:40 -07:00
|
|
|
[[Removes selection for given child index]]
|
2014-05-29 19:56:24 -07:00
|
|
|
params {
|
2016-10-21 08:32:00 -07:00
|
|
|
@in child_index: int; [[Index of child]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2016-10-21 08:32:00 -07:00
|
|
|
return: bool; [[$true if selection was removed, $false otherwise]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
events {
|
2015-06-11 09:13:46 -07:00
|
|
|
selection,changed; [[Called when selection has been changed.]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
|
|
|
}
|