2019-01-18 05:29:31 -08: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 {
|
2017-11-01 05:31:46 -07:00
|
|
|
@property selected_children_count @protected @beta {
|
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
|
|
|
}
|
|
|
|
}
|
2017-11-01 05:31:46 -07:00
|
|
|
@property selected_child @protected @beta {
|
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
|
|
|
}
|
2017-11-01 05:31:46 -07:00
|
|
|
child_select @protected @beta {
|
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
|
|
|
}
|
2017-11-01 05:31:46 -07:00
|
|
|
selected_child_deselect @protected @beta {
|
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
|
|
|
}
|
2017-11-01 05:31:46 -07:00
|
|
|
is_child_selected @protected @beta {
|
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
|
|
|
}
|
2017-11-01 05:31:46 -07:00
|
|
|
all_children_select @protected @beta {
|
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
|
|
|
}
|
2018-02-14 18:14:52 -08:00
|
|
|
access_selection_clear @protected @beta {
|
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
|
|
|
}
|
2017-11-01 05:31:46 -07:00
|
|
|
child_deselect @protected @beta {
|
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 {
|
efl: Add missing event types
Summary:
All events must have a type now, otherwise bindings don't know how to handle
the event_info field.
Most of the missing event types were actually "void" (no event_info present).
Some struct definitions had to be moved to eo instead of h files, so they
are available to bindings. Some have not, and are marked with FIXME.
Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb).
In general, there are hundreds of changed files, but mostly to add a type which
was not present before, so there's no harm done.
Also, A lot of FIXMEs have been added which should be, like, fixed.
For example, some events can send different types of event_info, which is
very inconvenient (and error prone).
Test Plan: make with c# bindings works, make check and make examples work too.
Reviewers: cedric, q66, lauromoura
Subscribers: zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6169
2018-05-11 08:20:40 -07:00
|
|
|
selection,changed: void; [[Called when selection has been changed.]]
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
|
|
|
}
|