lib/evas/canvas/efl_ui_draggable.eo \
lib/evas/canvas/efl_ui_clickable.eo \
lib/evas/canvas/efl_ui_scrollable.eo \
- lib/evas/canvas/evas_selectable_interface.eo \
+ lib/evas/canvas/efl_ui_selectable.eo \
lib/evas/canvas/evas_zoomable_interface.eo \
lib/evas/canvas/evas_canvas3d_camera.eo\
lib/evas/canvas/evas_canvas3d_texture.eo\
// EVENTS: should not call legacy
//eo_event_callback_call
- // (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, (void *)it_data->model);
+ // (data, EFL_UI_EVENT_SELECTED, (void *)it_data->model);
evas_object_smart_callback_call(data, "selected", (void *)it_data->path);
}
else if (sd->multi && it_data->is_dir && sd->double_tap_navigation)
{
// EVENTS: should not call legacy
//eo_event_callback_call
- // (fs, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, (void *)model);
+ // (fs, EFL_UI_EVENT_SELECTED, (void *)model);
evas_object_smart_callback_call(fs, "selected", (void *) str);
}
}
{
// EVENTS: should not call legacy
//eo_event_callback_call
- // (fs, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, (void *)model);
+ // (fs, EFL_UI_EVENT_SELECTED, (void *)model);
evas_object_smart_callback_call(fs, "selected", (void *) str);
}
}
// EVENTS: should not call legacy
//eo_event_callback_call
- // (fs, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, (void *)model);
+ // (fs, EFL_UI_EVENT_SELECTED, (void *)model);
evas_object_smart_callback_call(fs, "selected", (void *)str);
// EVENTS: should not call legacy
elm_widget_mirrored_automatic_set(li, EINA_FALSE);
eo_event_callback_add
- (li, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, _on_item_selected, obj);
+ (li, EFL_UI_EVENT_SELECTED, _on_item_selected, obj);
eo_event_callback_add
- (li, EVAS_SELECTABLE_INTERFACE_EVENT_UNSELECTED, _on_item_unselected, obj);
+ (li, EFL_UI_EVENT_UNSELECTED, _on_item_unselected, obj);
eo_event_callback_add
(li, ELM_GENLIST_EVENT_ACTIVATED, _on_item_activated, obj);
eo_event_callback_add
elm_gengrid_align_set(grid, 0.0, 0.0);
eo_event_callback_add
- (grid, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, _on_item_selected, obj);
+ (grid, EFL_UI_EVENT_SELECTED, _on_item_selected, obj);
eo_event_callback_add
- (grid, EVAS_SELECTABLE_INTERFACE_EVENT_UNSELECTED, _on_item_unselected, obj);
+ (grid, EFL_UI_EVENT_UNSELECTED, _on_item_unselected, obj);
eo_event_callback_add
(grid, ELM_GENGRID_EVENT_ACTIVATED, _on_item_activated, obj);
eo_event_callback_add
SIG_FWD(CLICKED_DOUBLE, EFL_UI_EVENT_CLICKED_DOUBLE)
SIG_FWD(FOCUSED, ELM_WIDGET_EVENT_FOCUSED)
SIG_FWD(UNFOCUSED, ELM_WIDGET_EVENT_UNFOCUSED)
-SIG_FWD(SELECTION_PASTE, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_PASTE)
-SIG_FWD(SELECTION_COPY, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_COPY)
-SIG_FWD(SELECTION_CUT, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_CUT)
+SIG_FWD(SELECTION_PASTE, EFL_UI_EVENT_SELECTION_PASTE)
+SIG_FWD(SELECTION_COPY, EFL_UI_EVENT_SELECTION_COPY)
+SIG_FWD(SELECTION_CUT, EFL_UI_EVENT_SELECTION_CUT)
SIG_FWD(UNPRESSED, EFL_UI_EVENT_UNPRESSED)
#undef SIG_FWD
SIG_FWD(CLICKED_DOUBLE, EFL_UI_EVENT_CLICKED_DOUBLE);
SIG_FWD(FOCUSED, ELM_WIDGET_EVENT_FOCUSED);
SIG_FWD(UNFOCUSED, ELM_WIDGET_EVENT_UNFOCUSED);
- SIG_FWD(SELECTION_PASTE, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_PASTE);
- SIG_FWD(SELECTION_COPY, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_COPY);
- SIG_FWD(SELECTION_CUT, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_CUT);
+ SIG_FWD(SELECTION_PASTE, EFL_UI_EVENT_SELECTION_PASTE);
+ SIG_FWD(SELECTION_COPY, EFL_UI_EVENT_SELECTION_COPY);
+ SIG_FWD(SELECTION_CUT, EFL_UI_EVENT_SELECTION_CUT);
#undef SIG_FWD
if (!elm_layout_theme_set
ELM_HOVERSEL_DATA_GET(obj2, sd);
if (item->func) item->func((void *)WIDGET_ITEM_DATA_GET(eo_it), obj2, eo_it);
- eo_event_callback_call(obj2, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_it);
+ eo_event_callback_call(obj2, EFL_UI_EVENT_SELECTED, eo_it);
evas_object_event_callback_add(sd->hover, EVAS_CALLBACK_DEL, _auto_update, item);
if ((!sd->final_position) &&
(sd->enabled_position & ELM_ACTIONSLIDER_LEFT))
eo_event_callback_call
- (obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, (char *)left);
+ (obj, EFL_UI_EVENT_SELECTED, (char *)left);
else if ((sd->final_position == 0.5) &&
(sd->enabled_position & ELM_ACTIONSLIDER_CENTER))
eo_event_callback_call
- (obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, (char *)center);
+ (obj, EFL_UI_EVENT_SELECTED, (char *)center);
else if ((sd->final_position == 1) &&
(sd->enabled_position & ELM_ACTIONSLIDER_RIGHT))
eo_event_callback_call
- (obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, (char *)right);
+ (obj, EFL_UI_EVENT_SELECTED, (char *)right);
sd->button_animator = NULL;
{
sd->final_position = 0;
eo_event_callback_call
- (obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, (char *)left);
+ (obj, EFL_UI_EVENT_SELECTED, (char *)left);
return;
}
{
sd->final_position = 0.5;
eo_event_callback_call
- (obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, (char *)center);
+ (obj, EFL_UI_EVENT_SELECTED, (char *)center);
ecore_animator_del(sd->button_animator);
sd->button_animator = ecore_animator_add(_button_animator, obj);
{
sd->final_position = 1;
eo_event_callback_call
- (obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, (char *)right);
+ (obj, EFL_UI_EVENT_SELECTED, (char *)right);
return;
}
all = (1 << 3) - 1 [[All positions for left/center/right.]]
}
-class Elm.Actionslider (Elm.Layout, Evas.Selectable_Interface)
+class Elm.Actionslider (Elm.Layout, Efl.Ui.Selectable)
{
[[An actionslider is a switcher for 2 or 3 labels
elm_genlist_mode_set(gl, ELM_LIST_COMPRESS);
elm_object_part_content_set(ly, "elm.swallow.list", gl);
eo_event_callback_add
- (gl, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, _colorclass_activate, cc);
+ (gl, EFL_UI_EVENT_SELECTED, _colorclass_activate, cc);
cc->reset = bt = elm_button_add(ly);
elm_object_style_set(bt, "colorclass");
-class Elm.Combobox (Elm.Button, Evas.Selectable_Interface,
+class Elm.Combobox (Elm.Button, Efl.Ui.Selectable,
Elm.Interface.Atspi_Widget_Action,
Elm.Entry, Elm.Genlist, Elm.Hover, Elm.Multibuttonentry)
{
if (it->func) it->func((void *)WIDGET_ITEM_DATA_GET(eo_it), WIDGET(it), eo_it);
eo_event_callback_call
- (WIDGET(it), EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_it);
+ (WIDGET(it), EFL_UI_EVENT_SELECTED, eo_it);
}
static int
class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable,
Elm.Interface.Atspi_Widget_Action,
Efl.Ui.Clickable, Efl.Ui.Scrollable,
- Evas.Selectable_Interface)
+ Efl.Ui.Selectable)
{
legacy_prefix: elm_diskselector;
eo_prefix: elm_obj_diskselector;
ELM_ENTRY_DATA_GET(data, sd);
eo_event_callback_call
- (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_PASTE, NULL);
+ (data, EFL_UI_EVENT_SELECTION_PASTE, NULL);
sd->selection_asked = EINA_TRUE;
ELM_ENTRY_DATA_GET(data, sd);
eo_event_callback_call
- (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_CUT, NULL);
+ (data, EFL_UI_EVENT_SELECTION_CUT, NULL);
/* Store it */
sd->sel_mode = EINA_FALSE;
if (!_elm_config->desktop_entry)
ELM_ENTRY_DATA_GET(data, sd);
eo_event_callback_call
- (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_COPY, NULL);
+ (data, EFL_UI_EVENT_SELECTION_COPY, NULL);
sd->sel_mode = EINA_FALSE;
if (!_elm_config->desktop_entry)
{
if (entry != data) elm_entry_select_none(entry);
}
eo_event_callback_call
- (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_START, NULL);
+ (data, EFL_UI_EVENT_SELECTION_START, NULL);
elm_object_focus_set(data, EINA_TRUE);
}
sd->have_selection = EINA_TRUE;
eo_event_callback_call
- (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_CHANGED, NULL);
+ (data, EFL_UI_EVENT_SELECTION_CHANGED, NULL);
_selection_store(ELM_SEL_TYPE_PRIMARY, data);
_update_selection_handler(data);
if (_elm_config->atspi_mode)
sd->have_selection = EINA_FALSE;
eo_event_callback_call
- (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_CLEARED, NULL);
+ (data, EFL_UI_EVENT_SELECTION_CLEARED, NULL);
if (sd->cut_sel)
{
elm_cnp_selection_set
if (!sd->editable) return;
eo_event_callback_call
- (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_PASTE, NULL);
+ (data, EFL_UI_EVENT_SELECTION_PASTE, NULL);
top = elm_widget_top_get(data);
if ((top) && (elm_win_window_id_get(top)))
}
if (sd->have_selection)
eo_event_callback_call
- (obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_CLEARED, NULL);
+ (obj, EFL_UI_EVENT_SELECTION_CLEARED, NULL);
sd->have_selection = EINA_FALSE;
edje_object_part_text_select_none(sd->entry_edje, "elm.text");
class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
Elm.Interface.Atspi.Text, Elm.Interface.Atspi.Text.Editable, Efl.File,
- Evas.Selectable_Interface, Efl.Ui.Scrollable)
+ Efl.Ui.Selectable, Efl.Ui.Scrollable)
{
legacy_prefix: elm_entry;
eo_prefix: elm_obj_entry;
class Elm.Fileselector (Elm.Layout, Elm.Interface.Fileselector,
Elm.Interface.Atspi_Widget_Action,
- Efl.Ui.Clickable, Evas.Selectable_Interface)
+ Efl.Ui.Clickable, Efl.Ui.Selectable)
{
legacy_prefix: elm_fileselector;
eo_prefix: elm_obj_fileselector;
class Elm.Fileselector_Entry (Elm.Layout, Elm.Interface.Fileselector,
- Efl.Ui.Clickable, Evas.Selectable_Interface)
+ Efl.Ui.Clickable, Efl.Ui.Selectable)
{
[[Not an EO API.]]
event_prefix: elm_fileselector_entry;
if (item->func)
item->func((void *)WIDGET_ITEM_DATA_GET(eo_item), WIDGET(item), eo_item);
eo_event_callback_call
- (sd->obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_item);
+ (sd->obj, EFL_UI_EVENT_SELECTED, eo_item);
}
static void
class Elm.Flipselector (Elm.Layout, Efl.Ui.Spin,
Elm.Interface.Atspi_Widget_Action,
- Evas.Selectable_Interface)
+ Efl.Ui.Selectable)
{
legacy_prefix: elm_flipselector;
eo_prefix: elm_obj_flipselector;
it->selected = EINA_FALSE;
sd->selected = eina_list_remove(sd->selected, eo_it);
eo_event_callback_call
- (WIDGET(it), EVAS_SELECTABLE_INTERFACE_EVENT_UNSELECTED, eo_it);
+ (WIDGET(it), EFL_UI_EVENT_UNSELECTED, eo_it);
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(eo_it, ELM_ATSPI_STATE_SELECTED, EINA_FALSE);
}
if (it->func.func) it->func.func((void *)it->func.data, WIDGET(it), eo_it);
if (it->generation == sd->generation)
{
- eo_event_callback_call(WIDGET(it), EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_it);
+ eo_event_callback_call(WIDGET(it), EFL_UI_EVENT_SELECTED, eo_it);
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(eo_it, ELM_ATSPI_STATE_SELECTED, EINA_TRUE);
}
it->selected = EINA_FALSE;
sd->selected = eina_list_remove(sd->selected, EO_OBJ(it));
eo_event_callback_call
- (WIDGET(it), EVAS_SELECTABLE_INTERFACE_EVENT_UNSELECTED, EO_OBJ(it));
+ (WIDGET(it), EFL_UI_EVENT_UNSELECTED, EO_OBJ(it));
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(EO_OBJ(it), ELM_ATSPI_STATE_SELECTED, EINA_FALSE);
}
if (it->func.func) it->func.func((void *)it->func.data, WIDGET(it), eo_it);
// delete item if it's requested deletion in the above callbacks.
if ((it->base)->on_deletion) goto item_deleted;
- eo_event_callback_call(WIDGET(it), EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_it);
+ eo_event_callback_call(WIDGET(it), EFL_UI_EVENT_SELECTED, eo_it);
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(eo_it, ELM_ATSPI_STATE_SELECTED, EINA_TRUE);
// delete item if it's requested deletion in the above callbacks.
class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection,
- Evas.Selectable_Interface)
+ Efl.Ui.Selectable)
{
legacy_prefix: elm_genlist;
eo_prefix: elm_obj_genlist;
import elm_icon;
-class Elm.Hoversel (Elm.Button, Evas.Selectable_Interface,
+class Elm.Hoversel (Elm.Button, Efl.Ui.Selectable,
Efl.Ui.Clickable,
Elm.Interface.Atspi_Widget_Action)
{
eo_event_callback_call
(data, EFL_UI_EVENT_CLICKED, eo_item);
eo_event_callback_call
- (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_item);
+ (data, EFL_UI_EVENT_SELECTED, eo_item);
eo_id_item = eo_item;
ELM_INDEX_ITEM_DATA_GET(eo_id_item, id_item);
if (id_item->func)
eo_event_callback_call
(obj, ELM_INDEX_EVENT_CHANGED, eo_it);
eo_event_callback_call
- (obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_it);
+ (obj, EFL_UI_EVENT_SELECTED, eo_it);
ecore_timer_del(sd->delay);
sd->delay = ecore_timer_add(sd->delay_change_time,
_delay_change_cb, obj);
class Elm.Index (Elm.Layout, Efl.Orientation,
- Efl.Ui.Clickable, Evas.Selectable_Interface)
+ Efl.Ui.Clickable, Efl.Ui.Selectable)
{
legacy_prefix: elm_index;
eo_prefix: elm_obj_index;
_elm_list_walk(sd);
if (it->func) it->func((void *)WIDGET_ITEM_DATA_GET(eo_it), WIDGET(it), eo_it);
- eo_event_callback_call(obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, eo_it);
+ eo_event_callback_call(obj, EFL_UI_EVENT_SELECTED, eo_it);
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(eo_it, ELM_ATSPI_STATE_SELECTED, EINA_TRUE);
sd->last_selected_item = eo_it;
if (!(it->base->disabled ||
(sd->select_mode == ELM_OBJECT_SELECT_MODE_NONE)))
eo_event_callback_call
- (WIDGET(it), EVAS_SELECTABLE_INTERFACE_EVENT_UNSELECTED, EO_OBJ(it));
+ (WIDGET(it), EFL_UI_EVENT_UNSELECTED, EO_OBJ(it));
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(EO_OBJ(it), ELM_ATSPI_STATE_SELECTED, EINA_FALSE);
}
class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection,
- Efl.Ui.Clickable, Evas.Selectable_Interface)
+ Efl.Ui.Clickable, Efl.Ui.Selectable)
{
legacy_prefix: elm_list;
eo_prefix: elm_obj_list;
elm_layout_signal_emit(VIEW(item), "elm,state,unselected", "elm");
if (item->icon)
elm_widget_signal_emit(item->icon, "elm,state,unselected", "elm");
- eo_event_callback_call(WIDGET(item), EVAS_SELECTABLE_INTERFACE_EVENT_UNSELECTED, EO_OBJ(item));
+ eo_event_callback_call(WIDGET(item), EFL_UI_EVENT_UNSELECTED, EO_OBJ(item));
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(EO_OBJ(item), ELM_ATSPI_STATE_SELECTED, EINA_FALSE);
}
{
if (it->func) it->func((void *)(WIDGET_ITEM_DATA_GET(EO_OBJ(it))), WIDGET(it), EO_OBJ(it));
}
- eo_event_callback_call(obj, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, EO_OBJ(it));
+ eo_event_callback_call(obj, EFL_UI_EVENT_SELECTED, EO_OBJ(it));
if (_elm_config->atspi_mode)
elm_interface_atspi_accessible_state_changed_signal_emit(EO_OBJ(it), ELM_ATSPI_STATE_SELECTED, EINA_TRUE);
}
class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
Elm.Interface.Atspi_Widget_Action, Elm.Interface.Atspi.Selection,
- Efl.Ui.Clickable, Evas.Selectable_Interface)
+ Efl.Ui.Clickable, Efl.Ui.Selectable)
{
legacy_prefix: elm_toolbar;
eo_prefix: elm_obj_toolbar;
#include "canvas/efl_ui_draggable.eo.h"
#include "canvas/efl_ui_clickable.eo.h"
#include "canvas/efl_ui_scrollable.eo.h"
-#include "canvas/evas_selectable_interface.eo.h"
+#include "canvas/efl_ui_selectable.eo.h"
#include "canvas/evas_zoomable_interface.eo.h"
#include "canvas/evas_canvas.eo.h"
#include "canvas/efl_ui_draggable.eo.c"
#include "canvas/efl_ui_clickable.eo.c"
#include "canvas/efl_ui_scrollable.eo.c"
-#include "canvas/evas_selectable_interface.eo.c"
+#include "canvas/efl_ui_selectable.eo.c"
#include "canvas/evas_zoomable_interface.eo.c"
-interface Evas.Selectable_Interface ()
+interface Efl.Ui.Selectable ()
{
+ event_prefix: efl_ui;
events {
selected;
unselected;