return ctxpopup_it->icon;
}
+EOLIAN static Evas_Object *
+_elm_ctxpopup_item_elm_widget_item_part_content_unset(Eo *eo_ctxpopup_it EINA_UNUSED,
+ Elm_Ctxpopup_Item_Data *ctxpopup_it,
+ const char *part)
+{
+ Evas_Object *content = NULL;
+
+ if (!ctxpopup_it || !ctxpopup_it->icon) return NULL;
+ if ((part) && (strcmp(part, "icon"))) return NULL;
+
+ ELM_CTXPOPUP_DATA_GET(WIDGET(ctxpopup_it), sd);
+
+ edje_object_part_unswallow(VIEW(ctxpopup_it), ctxpopup_it->icon);
+ evas_object_hide(ctxpopup_it->icon);
+
+ if (ctxpopup_it->label)
+ {
+ if (!sd->horizontal)
+ _elm_theme_object_set(WIDGET(ctxpopup_it), VIEW(ctxpopup_it), "ctxpopup",
+ "text_style_item",
+ elm_widget_style_get(WIDGET(ctxpopup_it)));
+ else
+ _elm_theme_object_set(WIDGET(ctxpopup_it), VIEW(ctxpopup_it), "ctxpopup",
+ "text_style_item_horizontal",
+ elm_widget_style_get(WIDGET(ctxpopup_it)));
+ }
+
+ content = ctxpopup_it->icon;
+ ctxpopup_it->icon = NULL;
+
+ sd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN;
+
+ if (sd->visible)
+ elm_layout_sizing_eval(WIDGET(ctxpopup_it));
+
+ return content;
+}
+
EOLIAN static void
_elm_ctxpopup_item_elm_widget_item_disable(Eo *eo_ctxpopup_it,
Elm_Ctxpopup_Item_Data *ctxpopup_it)