EINA_SAFETY_ON_NULL_RETURN_VAL(child, EINA_FALSE);
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, EINA_FALSE);
+ if (redirect)
+ EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(redirect, MY_CLASS), EINA_FALSE);
+
+ F_DBG("Manager: %p register %p %p %p", obj, child, parent, redirect);
+
pnode = node_get(obj, pd, parent);
if (!pnode) return EINA_FALSE;
EINA_SAFETY_ON_NULL_RETURN_VAL(child, EINA_FALSE);
EINA_SAFETY_ON_NULL_RETURN_VAL(parent, EINA_FALSE);
+ if (redirect)
+ EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(redirect, MY_CLASS), EINA_FALSE);
+
+ F_DBG("Manager: %p register %p %p %p", obj, child, parent, redirect);
+
pnode = node_get(obj, pd, parent);
if (!pnode) return EINA_FALSE;
Node *node = node_get(obj, pd, child);
if (!node) return EINA_FALSE;
+ if (redirect)
+ EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(redirect, MY_CLASS), EINA_FALSE);
+
node->redirect_manager = redirect;
return EINA_TRUE;
if (!node) return;
+ F_DBG("Manager: %p unregister %p", obj, child);
+
+
//remove the object from the stack if it hasnt dont that until now
//after this its not at the top anymore
//elm_widget_focus_set(node->focusable, EINA_FALSE);