type Elm_Gen_Item_Reusable_Content_Get_Cb: __undefined_type; [[Elementary genlist/gengrid item reusable content callback type]]
type Elm_Tooltip_Item_Content_Cb: __undefined_type; [[Elementary tooltip item content callback type]]
type Elm_Object_Item_Signal_Cb: __undefined_type; [[Elementary object item signal callback type]]
-type Elm_Event_Cb: __undefined_type; [[Elementary event callback type]]
type Evas_Smart_Cb: __undefined_type; [[Evas smart callback type]]
type Eina_Compare_Cb: __undefined_type; [[Eina compare callback type]]
none, [[Icon has no type set]]
file, [[Icon is of type file]]
standard [[Icon is of type standard]]
-}
\ No newline at end of file
+}
sd->parent2 = parent;
}
-EOLIAN static void
-_elm_widget_widget_event_callback_add(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Elm_Event_Cb func, const void *data)
+EAPI void
+elm_widget_event_callback_add(Eo *obj, Elm_Event_Cb func, const void *data)
{
+ API_ENTRY return;
EINA_SAFETY_ON_NULL_RETURN(func);
Elm_Event_Cb_Data *ecb = ELM_NEW(Elm_Event_Cb_Data);
sd->event_cb = eina_list_append(sd->event_cb, ecb);
}
-EOLIAN static void*
-_elm_widget_widget_event_callback_del(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Elm_Event_Cb func, const void *data)
+EAPI void *
+elm_widget_event_callback_del(Eo *obj, Elm_Event_Cb func, const void *data)
{
+ API_ENTRY return NULL;
EINA_SAFETY_ON_NULL_RETURN_VAL(func, NULL);
Eina_List *l;
Elm_Event_Cb_Data *ecd;
+
EINA_LIST_FOREACH(sd->event_cb, l, ecd)
if ((ecd->func == func) && (ecd->data == data))
{
}
return: bool; [[$true on success, $false otherwise]]
}
- widget_event_callback_add {
- [[Add event callback]]
- legacy: elm_widget_event_callback_add;
- params {
- @in func: Elm_Event_Cb; [[Callback function]]
- @in data: const(void_ptr) @optional; [[Data pointer]]
- }
- }
access {
[['Virtual' function on the widget being set access.]]
params {
@in cur: ptr(Elm.Cursor); [[Cursor to be deleted]]
}
}
- widget_event_callback_del {
- [[Delete event callback handler]]
- legacy: elm_widget_event_callback_del;
- return: void_ptr; [[Handle to deleted callback]]
- params {
- @in func: Elm_Event_Cb; [[Callback handler]]
- @in data: const(void_ptr) @nullable; [[data pointer]]
- }
- }
on_focus {
[['Virtual' function handling focus in/out events on the widget]]
params {