efl_event_callback_add(pd->win_parent, EFL_GFX_EVENT_MOVE, _parent_geom_cb, obj);
}
-EOLIAN static Eina_Bool
-_efl_ui_popup_efl_container_content_set(Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED, Eo *content)
-{
- return efl_content_set(efl_part(obj, "elm.swallow.content"), content);
-}
-
-EOLIAN static Eo*
-_efl_ui_popup_efl_container_content_get(Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED)
-{
- return efl_content_get(efl_part(obj, "elm.swallow.content"));
-}
-
-EOLIAN static Eo*
-_efl_ui_popup_efl_container_content_unset(Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED)
-{
- return efl_content_unset(efl_part(obj, "elm.swallow.content"));
-}
-
EOLIAN static void
_efl_ui_popup_align_set(Eo *obj EINA_UNUSED, Efl_Ui_Popup_Data *pd, Efl_Ui_Popup_Align type)
{
return efl_content_unset(efl_part(efl_super(obj, MY_CLASS), part));
}
+/* Standard widget overrides */
+
+ELM_PART_CONTENT_DEFAULT_SET(efl_ui_popup, "elm.swallow.content")
+ELM_PART_CONTENT_DEFAULT_IMPLEMENT(efl_ui_popup, Efl_Ui_Popup_Data)
+
/* Efl.Part begin */
ELM_PART_OVERRIDE_CONTENT_SET(efl_ui_popup, EFL_UI_POPUP, Efl_Ui_Popup_Data)
bottom
}
-class Efl.Ui.Popup(Efl.Ui.Layout)
+class Efl.Ui.Popup(Efl.Ui.Layout, Efl.Content)
{
methods {
@property align {
Efl.Gfx.position { set; }
Efl.Gfx.visible { set; }
Elm.Widget.widget_parent { set; }
- Efl.Container.content { get; set; }
- Efl.Container.content_unset;
+ Efl.Content.content { get; set; }
+ Efl.Content.content_unset;
Efl.Part.part;
}
events {
[[Efl UI Popup Alert internal part class]]
data: null;
implements {
- Efl.Container.content { get; set; }
- Efl.Container.content_unset;
+ Efl.Content.content { get; set; }
+ Efl.Content.content_unset;
Efl.Text.text { get; set; }
}
}
[[Efl UI Popup Alert Scroll internal part class]]
data: null;
implements {
- Efl.Container.content { get; set; }
- Efl.Container.content_unset;
+ Efl.Content.content { get; set; }
+ Efl.Content.content_unset;
Efl.Text.text { set; get; }
}
}
[[Efl UI Popup Alert Text internal part class]]
data: null;
implements {
- Efl.Container.content { get; set; }
- Efl.Container.content_unset;
+ Efl.Content.content { get; set; }
+ Efl.Content.content_unset;
Efl.Text.text { get; set; }
}
}
[[Efl UI Popup internal part class]]
data: null;
implements {
- Efl.Container.content { get; set; }
- Efl.Container.content_unset;
+ Efl.Content.content { get; set; }
+ Efl.Content.content_unset;
Efl.Canvas.Object.repeat_events { set; get; }
Efl.File.file { set; }
}