2014-05-29 19:56:24 -07:00
|
|
|
interface Elm_Interface_Atspi_Selection ()
|
|
|
|
{
|
|
|
|
legacy_prefix: null;
|
|
|
|
eo_prefix: elm_interface_atspi_selection;
|
|
|
|
properties {
|
2014-07-22 08:36:29 -07:00
|
|
|
selected_children_count @protected {
|
2014-05-29 19:56:24 -07:00
|
|
|
get {
|
|
|
|
/* Gets the number of currently selected children */
|
2014-08-11 07:46:11 -07:00
|
|
|
return: int;
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
selected_child @protected {
|
2014-05-29 19:56:24 -07:00
|
|
|
/* Gets child for given child index */
|
|
|
|
get {
|
2014-08-11 07:46:11 -07:00
|
|
|
return: Eo *;
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
|
|
|
keys {
|
|
|
|
int selected_child_index; /*@ index of selected child */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
methods {
|
2014-07-22 08:36:29 -07:00
|
|
|
child_select @protected {
|
2014-05-29 19:56:24 -07:00
|
|
|
/* Adds selection for given child index */
|
|
|
|
params {
|
|
|
|
@in int child_index;
|
|
|
|
}
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
selected_child_deselect @protected {
|
2014-05-29 19:56:24 -07:00
|
|
|
/* Removes selection for given child index */
|
|
|
|
params {
|
|
|
|
@in int child_index;
|
|
|
|
}
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
is_child_selected @protected {
|
2014-05-29 19:56:24 -07:00
|
|
|
/* Determines if child specified by index is selected */
|
|
|
|
params {
|
|
|
|
@in int child_index;
|
|
|
|
}
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
all_children_select @protected {
|
2014-05-29 19:56:24 -07:00
|
|
|
/* Adds selection for all children */
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
clear @protected {
|
2014-05-29 19:56:24 -07:00
|
|
|
/* Clears the current selection */
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
child_deselect @protected {
|
2014-05-29 19:56:24 -07:00
|
|
|
/* Removes selection for given child index */
|
|
|
|
params {
|
|
|
|
@in int child_index;
|
|
|
|
}
|
2014-08-11 07:46:11 -07:00
|
|
|
return: bool;
|
2014-05-29 19:56:24 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
events {
|
|
|
|
selection,changed; /*@ Called when selection has been changed. */
|
|
|
|
}
|
|
|
|
}
|