diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c --- a/src/lib/elementary/efl_ui_widget.c +++ b/src/lib/elementary/efl_ui_widget.c @@ -4717,6 +4717,12 @@ item->item_focus_left = next_item; } +EOLIAN static Efl_Object * +_elm_widget_item_efl_part_part_get(const Eo *obj EINA_UNUSED, Elm_Widget_Item_Data *item, const char *part) +{ + return ELM_PART_IMPLEMENT(EFL_UI_WIDGET_PART_CLASS, item->view, part); +} + /* happy debug functions */ #ifdef ELM_DEBUG static void diff --git a/src/lib/elementary/elm_widget_item_eo.c b/src/lib/elementary/elm_widget_item_eo.c --- a/src/lib/elementary/elm_widget_item_eo.c +++ b/src/lib/elementary/elm_widget_item_eo.c @@ -516,6 +516,7 @@ EFL_OBJECT_OP_FUNC(efl_constructor, _elm_widget_item_efl_object_constructor), EFL_OBJECT_OP_FUNC(efl_destructor, _elm_widget_item_efl_object_destructor), EFL_OBJECT_OP_FUNC(efl_invalidate, _elm_widget_item_efl_object_invalidate), + EFL_OBJECT_OP_FUNC(efl_part_get, _elm_widget_item_efl_part_part_get), EFL_OBJECT_OP_FUNC(efl_access_object_state_set_get, _elm_widget_item_efl_access_object_state_set_get), EFL_OBJECT_OP_FUNC(efl_access_object_attributes_get, _elm_widget_item_efl_access_object_attributes_get), EFL_OBJECT_OP_FUNC(efl_access_component_extents_set, _elm_widget_item_efl_access_component_extents_set), @@ -553,6 +554,6 @@ NULL }; -EFL_DEFINE_CLASS(elm_widget_item_class_get, &_elm_widget_item_class_desc, EFL_OBJECT_CLASS, EFL_ACCESS_OBJECT_MIXIN, EFL_ACCESS_COMPONENT_MIXIN, NULL); +EFL_DEFINE_CLASS(elm_widget_item_class_get, &_elm_widget_item_class_desc, EFL_OBJECT_CLASS, EFL_PART_INTERFACE, EFL_ACCESS_OBJECT_MIXIN, EFL_ACCESS_COMPONENT_MIXIN, NULL); #include "elm_widget_item_eo.legacy.c"