git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68393
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
14 files changed:
static void
_item_text_set_hook(Elm_Object_Item *it, const char *part, const char *label)
{
static void
_item_text_set_hook(Elm_Object_Item *it, const char *part, const char *label)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
-
Widget_Data *wd;
Elm_Ctxpopup_Item *ctxpopup_it;
Widget_Data *wd;
Elm_Ctxpopup_Item *ctxpopup_it;
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
Elm_Ctxpopup_Item *ctxpopup_it;
if (part && strcmp(part, "default")) return NULL;
ctxpopup_it = (Elm_Ctxpopup_Item *) it;
Elm_Ctxpopup_Item *ctxpopup_it;
if (part && strcmp(part, "default")) return NULL;
ctxpopup_it = (Elm_Ctxpopup_Item *) it;
const char *part,
Evas_Object *content)
{
const char *part,
Evas_Object *content)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Widget_Data *wd;
Elm_Ctxpopup_Item *ctxpopup_it;
Widget_Data *wd;
Elm_Ctxpopup_Item *ctxpopup_it;
static Evas_Object *
_item_content_get_hook(const Elm_Object_Item *it, const char *part)
{
static Evas_Object *
_item_content_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
Elm_Ctxpopup_Item *ctxpopup_it;
if (part && strcmp(part, "icon")) return NULL;
ctxpopup_it = (Elm_Ctxpopup_Item *) it;
Elm_Ctxpopup_Item *ctxpopup_it;
if (part && strcmp(part, "icon")) return NULL;
ctxpopup_it = (Elm_Ctxpopup_Item *) it;
static void
_item_disable_hook(Elm_Object_Item *it)
{
static void
_item_disable_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
-
Widget_Data *wd;
Elm_Ctxpopup_Item *ctxpopup_it = (Elm_Ctxpopup_Item *) it;
Widget_Data *wd;
Elm_Ctxpopup_Item *ctxpopup_it = (Elm_Ctxpopup_Item *) it;
_item_signal_emit_hook(Elm_Object_Item *it, const char *emission,
const char *source)
{
_item_signal_emit_hook(Elm_Object_Item *it, const char *emission,
const char *source)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_Ctxpopup_Item *ctxpopup_it = (Elm_Ctxpopup_Item *) it;
edje_object_signal_emit(VIEW(ctxpopup_it), emission, source);
}
Elm_Ctxpopup_Item *ctxpopup_it = (Elm_Ctxpopup_Item *) it;
edje_object_signal_emit(VIEW(ctxpopup_it), emission, source);
}
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
-
Widget_Data *wd;
Elm_Ctxpopup_Item *ctxpopup_it = (Elm_Ctxpopup_Item *) it;
Widget_Data *wd;
Elm_Ctxpopup_Item *ctxpopup_it = (Elm_Ctxpopup_Item *) it;
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Hoversel_Item *) it)->label;
}
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Hoversel_Item *) it)->label;
}
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
Widget_Data *wd;
Elm_Hoversel_Item *item = (Elm_Hoversel_Item *) it;
wd = elm_widget_data_get(WIDGET(item));
Widget_Data *wd;
Elm_Hoversel_Item *item = (Elm_Hoversel_Item *) it;
wd = elm_widget_data_get(WIDGET(item));
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
_del_button_item((Elm_Multibuttonentry_Item *) it);
return EINA_TRUE;
}
_del_button_item((Elm_Multibuttonentry_Item *) it);
return EINA_TRUE;
}
static void
_item_text_set_hook(Elm_Object_Item *it, const char *part, const char *label)
{
static void
_item_text_set_hook(Elm_Object_Item *it, const char *part, const char *label)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
-
Elm_Multibuttonentry_Item *item;
if (part && strcmp(part, "default")) return;
if (!label) return;
Elm_Multibuttonentry_Item *item;
if (part && strcmp(part, "default")) return;
if (!label) return;
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
Elm_Multibuttonentry_Item *item;
if (part && strcmp(part, "default")) return NULL;
item = (Elm_Multibuttonentry_Item *) it;
Elm_Multibuttonentry_Item *item;
if (part && strcmp(part, "default")) return NULL;
item = (Elm_Multibuttonentry_Item *) it;
EAPI void *
elm_multibuttonentry_item_data_get(const Elm_Object_Item *it)
{
EAPI void *
elm_multibuttonentry_item_data_get(const Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
return elm_widget_item_data_get(it);
}
EAPI void
elm_multibuttonentry_item_data_set(Elm_Object_Item *it, void *data)
{
return elm_widget_item_data_get(it);
}
EAPI void
elm_multibuttonentry_item_data_set(Elm_Object_Item *it, void *data)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
return elm_widget_item_data_set(it, data);
}
return elm_widget_item_data_set(it, data);
}
const char *part,
const char *label)
{
const char *part,
const char *label)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
-
Elm_Naviframe_Text_Item_Pair *pair = NULL;
Elm_Naviframe_Item *navi_it = (Elm_Naviframe_Item *) it;
char buf[1024];
Elm_Naviframe_Text_Item_Pair *pair = NULL;
Elm_Naviframe_Item *navi_it = (Elm_Naviframe_Item *) it;
char buf[1024];
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
char buf[1024];
if (!part || !strcmp(part, "default"))
char buf[1024];
if (!part || !strcmp(part, "default"))
const char *part,
Evas_Object *content)
{
const char *part,
Evas_Object *content)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
-
Elm_Naviframe_Item *navi_it = (Elm_Naviframe_Item *) it;
//specified parts
Elm_Naviframe_Item *navi_it = (Elm_Naviframe_Item *) it;
//specified parts
static Evas_Object *
_item_content_get_hook(const Elm_Object_Item *it, const char *part)
{
static Evas_Object *
_item_content_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
Elm_Naviframe_Item *navi_it = (Elm_Naviframe_Item *) it;
//specified parts
Elm_Naviframe_Item *navi_it = (Elm_Naviframe_Item *) it;
//specified parts
static Evas_Object *
_item_content_unset_hook(Elm_Object_Item *it, const char *part)
{
static Evas_Object *
_item_content_unset_hook(Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
Elm_Naviframe_Item *navi_it = (Elm_Naviframe_Item *) it;
//specified parts
Elm_Naviframe_Item *navi_it = (Elm_Naviframe_Item *) it;
//specified parts
const char *emission,
const char *source)
{
const char *emission,
const char *source)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
elm_object_signal_emit(VIEW(it), emission, source);
}
elm_object_signal_emit(VIEW(it), emission, source);
}
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
Elm_Naviframe_Item *navi_it;
Widget_Data *wd;
Elm_Naviframe_Item *navi_it;
Widget_Data *wd;
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
Elm_Diskselector_Item *item, *item2, *dit;
Eina_List *l;
int i = 0;
Elm_Diskselector_Item *item, *item2, *dit;
Eina_List *l;
int i = 0;
static void
_item_text_set_hook(Elm_Object_Item *it, const char *part, const char *label)
{
static void
_item_text_set_hook(Elm_Object_Item *it, const char *part, const char *label)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_Diskselector_Item *item;
if (part && strcmp(part, "default")) return;
item = (Elm_Diskselector_Item *) it;
Elm_Diskselector_Item *item;
if (part && strcmp(part, "default")) return;
item = (Elm_Diskselector_Item *) it;
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Diskselector_Item *) it)->label;
}
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Diskselector_Item *) it)->label;
}
const char *part,
Evas_Object *content)
{
const char *part,
Evas_Object *content)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
if (part && strcmp(part, "icon")) return;
_item_icon_set((Elm_Diskselector_Item *) it, content);
_check_identical_item((Elm_Diskselector_Item *) it, content);
if (part && strcmp(part, "icon")) return;
_item_icon_set((Elm_Diskselector_Item *) it, content);
_check_identical_item((Elm_Diskselector_Item *) it, content);
static Evas_Object *
_item_content_get_hook(const Elm_Object_Item *it, const char *part)
{
static Evas_Object *
_item_content_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
if (part && strcmp(part, "icon")) return NULL;
return ((Elm_Diskselector_Item *) it)->icon;
}
if (part && strcmp(part, "icon")) return NULL;
return ((Elm_Diskselector_Item *) it)->icon;
}
const char *part,
const char *label)
{
const char *part,
const char *label)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
-
Widget_Data *wd;
Eina_List *l;
Elm_Flipselector_Item *item;
Widget_Data *wd;
Eina_List *l;
Elm_Flipselector_Item *item;
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
-
if (part && strcmp(part ,"default")) return NULL;
return ((Elm_Flipselector_Item *) it)->label;
if (part && strcmp(part ,"default")) return NULL;
return ((Elm_Flipselector_Item *) it)->label;
const char *emission,
const char *source)
{
const char *emission,
const char *source)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_Flipselector_Item *item = (Elm_Flipselector_Item *) it;
edje_object_signal_emit(VIEW(item), emission, source);
}
Elm_Flipselector_Item *item = (Elm_Flipselector_Item *) it;
edje_object_signal_emit(VIEW(item), emission, source);
}
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
Widget_Data *wd;
Elm_Flipselector_Item *item, *item2;
Eina_List *l;
Widget_Data *wd;
Elm_Flipselector_Item *item, *item2;
Eina_List *l;
static void
_item_disable_hook(Elm_Object_Item *it)
{
static void
_item_disable_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_Gen_Item *_it = (Elm_Gen_Item *) it;
if (_it->generation < _it->wd->generation) return;
Elm_Gen_Item *_it = (Elm_Gen_Item *) it;
if (_it->generation < _it->wd->generation) return;
static void
_item_del_pre_hook(Elm_Object_Item *it)
{
static void
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_Gen_Item *_it = (Elm_Gen_Item *) it;
if ((_it->relcount > 0) || (_it->walking > 0))
{
Elm_Gen_Item *_it = (Elm_Gen_Item *) it;
if ((_it->relcount > 0) || (_it->walking > 0))
{
EAPI const char *
elm_gengrid_item_cursor_get(const Elm_Object_Item *it)
{
EAPI const char *
elm_gengrid_item_cursor_get(const Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
return elm_widget_item_cursor_get(it);
}
return elm_widget_item_cursor_get(it);
}
elm_gengrid_item_cursor_style_set(Elm_Object_Item *it,
const char *style)
{
elm_gengrid_item_cursor_style_set(Elm_Object_Item *it,
const char *style)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
elm_widget_item_cursor_style_set(it, style);
}
EAPI const char *
elm_gengrid_item_cursor_style_get(const Elm_Object_Item *it)
{
elm_widget_item_cursor_style_set(it, style);
}
EAPI const char *
elm_gengrid_item_cursor_style_get(const Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
return elm_widget_item_cursor_style_get(it);
}
return elm_widget_item_cursor_style_get(it);
}
elm_gengrid_item_cursor_engine_only_set(Elm_Object_Item *it,
Eina_Bool engine_only)
{
elm_gengrid_item_cursor_engine_only_set(Elm_Object_Item *it,
Eina_Bool engine_only)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
elm_widget_item_cursor_engine_only_set(it, engine_only);
}
EAPI Eina_Bool
elm_gengrid_item_cursor_engine_only_get(const Elm_Object_Item *it)
{
elm_widget_item_cursor_engine_only_set(it, engine_only);
}
EAPI Eina_Bool
elm_gengrid_item_cursor_engine_only_get(const Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
return elm_widget_item_cursor_engine_only_get(it);
}
return elm_widget_item_cursor_engine_only_get(it);
}
static void
_item_disable_hook(Elm_Object_Item *it)
{
static void
_item_disable_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Eina_List *l;
Evas_Object *obj;
Elm_Gen_Item *_it = (Elm_Gen_Item *) it;
Eina_List *l;
Evas_Object *obj;
Elm_Gen_Item *_it = (Elm_Gen_Item *) it;
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
Elm_Gen_Item *_it = (Elm_Gen_Item *) it;
if ((_it->relcount > 0) || (_it->walking > 0))
Elm_Gen_Item *_it = (Elm_Gen_Item *) it;
if ((_it->relcount > 0) || (_it->walking > 0))
EAPI const char *
elm_genlist_item_cursor_get(const Elm_Object_Item *it)
{
EAPI const char *
elm_genlist_item_cursor_get(const Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
return elm_widget_item_cursor_get(it);
}
return elm_widget_item_cursor_get(it);
}
elm_genlist_item_cursor_style_set(Elm_Object_Item *it,
const char *style)
{
elm_genlist_item_cursor_style_set(Elm_Object_Item *it,
const char *style)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
elm_widget_item_cursor_style_set(it, style);
}
EAPI const char *
elm_genlist_item_cursor_style_get(const Elm_Object_Item *it)
{
elm_widget_item_cursor_style_set(it, style);
}
EAPI const char *
elm_genlist_item_cursor_style_get(const Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
return elm_widget_item_cursor_style_get(it);
}
return elm_widget_item_cursor_style_get(it);
}
elm_genlist_item_cursor_engine_only_set(Elm_Object_Item *it,
Eina_Bool engine_only)
{
elm_genlist_item_cursor_engine_only_set(Elm_Object_Item *it,
Eina_Bool engine_only)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
elm_widget_item_cursor_engine_only_set(it, engine_only);
}
EAPI Eina_Bool
elm_genlist_item_cursor_engine_only_get(const Elm_Object_Item *it)
{
elm_widget_item_cursor_engine_only_set(it, engine_only);
}
EAPI Eina_Bool
elm_genlist_item_cursor_engine_only_get(const Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
return elm_widget_item_cursor_engine_only_get(it);
}
return elm_widget_item_cursor_engine_only_get(it);
}
EAPI void
elm_genlist_mode_set(Evas_Object *obj,
EAPI void
elm_genlist_mode_set(Evas_Object *obj,
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
Widget_Data *wd = elm_widget_data_get(WIDGET(it));
if (!wd) return EINA_FALSE;
_item_free((Elm_Index_Item *) it);
Widget_Data *wd = elm_widget_data_get(WIDGET(it));
if (!wd) return EINA_FALSE;
_item_free((Elm_Index_Item *) it);
static void
_item_content_set(Elm_Object_Item *it, const char *part, Evas_Object *content)
{
static void
_item_content_set(Elm_Object_Item *it, const char *part, Evas_Object *content)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_List_Item *item = (Elm_List_Item *) it;
Evas_Object **icon_p = NULL;
Eina_Bool dummy = EINA_FALSE;
Elm_List_Item *item = (Elm_List_Item *) it;
Evas_Object **icon_p = NULL;
Eina_Bool dummy = EINA_FALSE;
static Evas_Object *
_item_content_get(const Elm_Object_Item *it, const char *part)
{
static Evas_Object *
_item_content_get(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
Elm_List_Item *item = (Elm_List_Item *) it;
if ((!part) || (!strcmp(part, "start")))
Elm_List_Item *item = (Elm_List_Item *) it;
if ((!part) || (!strcmp(part, "start")))
static void
_item_text_set(Elm_Object_Item *it, const char *part, const char *text)
{
static void
_item_text_set(Elm_Object_Item *it, const char *part, const char *text)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_List_Item *list_it = (Elm_List_Item *) it;
if (part && strcmp(part, "default")) return;
if (!eina_stringshare_replace(&list_it->label, text)) return;
Elm_List_Item *list_it = (Elm_List_Item *) it;
if (part && strcmp(part, "default")) return;
if (!eina_stringshare_replace(&list_it->label, text)) return;
static const char *
_item_text_get(const Elm_Object_Item *it, const char *part)
{
static const char *
_item_text_get(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
if (part && strcmp(part, "default")) return NULL;
return ((Elm_List_Item *) it)->label;
}
if (part && strcmp(part, "default")) return NULL;
return ((Elm_List_Item *) it)->label;
}
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_LIST_ITEM_CHECK_DELETED_RETURN(it, EINA_FALSE);
-
Evas_Object *obj = WIDGET(it);
Elm_List_Item *item = (Elm_List_Item *) it;
Widget_Data *wd = elm_widget_data_get(obj);
Evas_Object *obj = WIDGET(it);
Elm_List_Item *item = (Elm_List_Item *) it;
Widget_Data *wd = elm_widget_data_get(obj);
const char *part,
const char *label)
{
const char *part,
const char *label)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_Menu_Item *item;
if (part && strcmp(part, "default")) return;
Elm_Menu_Item *item;
if (part && strcmp(part, "default")) return;
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Menu_Item *) it)->label;
}
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Menu_Item *) it)->label;
}
const char *part,
Evas_Object *content)
{
const char *part,
Evas_Object *content)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_Menu_Item *item;
if (part && strcmp(part, "default")) return;
Elm_Menu_Item *item;
if (part && strcmp(part, "default")) return;
static Evas_Object *
_item_content_get_hook(const Elm_Object_Item *it, const char *part)
{
static Evas_Object *
_item_content_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Menu_Item *) it)->content;
}
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Menu_Item *) it)->content;
}
static void
_item_disable_hook(Elm_Object_Item *it)
{
static void
_item_disable_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_Menu_Item *item = (Elm_Menu_Item *) it;
if (elm_widget_item_disabled_get(item))
Elm_Menu_Item *item = (Elm_Menu_Item *) it;
if (elm_widget_item_disabled_get(item))
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
Elm_Menu_Item *item = (Elm_Menu_Item *) it;
Elm_Object_Item *_item;
Elm_Menu_Item *item = (Elm_Menu_Item *) it;
Elm_Object_Item *_item;
static void
_item_text_set_hook(Elm_Object_Item *it, const char *part, const char *label)
{
static void
_item_text_set_hook(Elm_Object_Item *it, const char *part, const char *label)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Widget_Data *wd;
Elm_Segment_Item *item;
Widget_Data *wd;
Elm_Segment_Item *item;
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Segment_Item *) it)->label;
}
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Segment_Item *) it)->label;
}
const char *part,
Evas_Object *content)
{
const char *part,
Evas_Object *content)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
Elm_Segment_Item *item;
if (part && strcmp(part, "icon")) return;
Elm_Segment_Item *item;
if (part && strcmp(part, "icon")) return;
static Evas_Object *
_item_content_get_hook(const Elm_Object_Item *it, const char *part)
{
static Evas_Object *
_item_content_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
if (part && strcmp(part, "icon")) return NULL;
return ((Elm_Segment_Item *) it)->icon;
}
if (part && strcmp(part, "icon")) return NULL;
return ((Elm_Segment_Item *) it)->icon;
}
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
Widget_Data *wd;
Elm_Segment_Item *item = (Elm_Segment_Item *) it;
Widget_Data *wd;
Elm_Segment_Item *item = (Elm_Segment_Item *) it;
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
-
Elm_Slideshow_Item *item = (Elm_Slideshow_Item *) it;
Widget_Data *wd = elm_widget_data_get(WIDGET(item));
if (!wd) return EINA_FALSE;
Elm_Slideshow_Item *item = (Elm_Slideshow_Item *) it;
Widget_Data *wd = elm_widget_data_get(WIDGET(item));
if (!wd) return EINA_FALSE;
static void
_item_disable_hook(Elm_Object_Item *it)
{
static void
_item_disable_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
-
Widget_Data *wd;
Elm_Toolbar_Item *toolbar_it = (Elm_Toolbar_Item *) it;
Widget_Data *wd;
Elm_Toolbar_Item *toolbar_it = (Elm_Toolbar_Item *) it;
const char *part,
const char *label)
{
const char *part,
const char *label)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it);
if (part && strcmp(part, "default")) return;
_item_label_set(((Elm_Toolbar_Item *) it), label, "elm,state,label_set");
}
if (part && strcmp(part, "default")) return;
_item_label_set(((Elm_Toolbar_Item *) it), label, "elm,state,label_set");
}
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
static const char *
_item_text_get_hook(const Elm_Object_Item *it, const char *part)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL);
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Toolbar_Item *) it)->label;
}
if (part && strcmp(part, "default")) return NULL;
return ((Elm_Toolbar_Item *) it)->label;
}
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
static Eina_Bool
_item_del_pre_hook(Elm_Object_Item *it)
{
- ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
-
Widget_Data *wd;
Evas_Object *obj2;
Elm_Toolbar_Item *item, *next;
Widget_Data *wd;
Evas_Object *obj2;
Elm_Toolbar_Item *item, *next;