Pager creates Efl.Canvas.Rectangle objects when pager is constructed.
Since the parent of these component objects is evas, these component
objects are not deleted automatically when pager is deleted.
These component objects cause event block after pager is deleted.
(e.g. click event is blocked)
To resolve this issue, these component objects are deleted manually when
pager is deleted.
return obj;
}
+EOLIAN static void
+_efl_ui_pager_efl_object_invalidate(Eo *obj,
+ Efl_Ui_Pager_Data *pd)
+{
+ efl_invalidate(efl_super(obj, MY_CLASS));
+
+ /* Since the parent of foreclip and backclip is evas, foreclip and backclip
+ * are not deleted automatically when pager is deleted.
+ * Therefore, foreclip and backclip are deleted manually here. */
+ efl_del(pd->foreclip);
+ efl_del(pd->backclip);
+}
+
EOLIAN static int
_efl_ui_pager_efl_container_content_count(Eo *obj EINA_UNUSED,
Efl_Ui_Pager_Data *pd)
}
implements {
Efl.Object.constructor;
+ Efl.Object.invalidate;
Efl.Container.content_count;
Efl.Pack.pack_clear; //TODO
Efl.Pack.unpack_all; //TODO