return popup;
}
+/**
+ * Enables/Disables the touch events pass through to below layer Objects.
+ *
+ * @param[in] obj The popup object
+ * @param[in] repeat EINA_TRUE Events are passed to lower objects, else no
+ *
+ * Enabling repeat event will remove the Blocked event area and events will
+ * pass to the lowever layer objects otherwise it is blocked.
+ *
+ * @note The default value is EINA_FALSE.
+ * @ingroup Popup
+ */
+EAPI void
+elm_popup_repeat_events_set(Evas_Object *obj, Eina_Bool repeat)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype);
+ Eina_Bool repeat_events = !!repeat;
+ Widget_Data *wd = elm_widget_data_get(obj);
+
+ if (!wd) return;
+ elm_notify_repeat_events_set(wd->notify, repeat_events);
+}
+
+/**
+ * Returns value indicating whether repeat event is enabled or not
+ * @param[in] obj the popup object
+ * @return EINA_FALSE if Blocked event area is present else EINA_TRUE
+ *
+ * @ingroup Popup
+ */
+EAPI Eina_Bool
+elm_popup_repeat_events_get(Evas_Object *obj)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
+ Widget_Data *wd = elm_widget_data_get(obj);
+
+ if (!wd) return EINA_FALSE;
+ return elm_notify_repeat_events_get(wd->notify);
+}
/**
- * This Set's the description text in content area of Popup widget.
+ * This sets the description text in content area of Popup widget.
*
* @param[in] obj The Popup object
* @param[in] text description text.
}
/**
- * This Get's the description text packed in content area of popup object.
+ * This returns the description text packed in content area of popup object.
*
* @param[in] obj The Popup object
* @return description text.
}
/**
- * This Set's the title text in title area of popup object.
+ * This sets the title text in title area of popup object.
*
* @param[in] obj The popup object
* @param[in] text The title text
}
/**
- * This Get's the title text packed in title area of popup object.
+ * This returns the title text packed in title area of popup object.
*
* @param[in] obj The Popup object
* @return title text
}
/**
- * This Set's the icon in the title area of Popup object.
+ * This sets the icon in the title area of Popup object.
*
* @param[in] obj The popup object
* @param[in] icon The title icon
}
/**
- * This Get's the icon packed in title area of Popup object.
+ * This returns the icon packed in title area of Popup object.
*
* @param[in] obj The Popup object
* @return title icon
}
/**
- * This Set's the content widget in content area of Popup object.
+ * This sets the content widget in content area of Popup object.
*
* @param[in] obj The popup object
* @param[in] content The content widget
}
/**
- * This Get's the content widget packed in content area of Popup object.
+ * This returns the content widget packed in content area of Popup object.
*
* @param[in] obj The Popup object
* @return content packed in popup widget
}
/**
- * This Set's the time before the popup window is hidden,
+ * This sets the time before the popup window is hidden,
* and ELM_POPUP_RESPONSE_TIMEOUT is sent along with response signal.
*
* @param[in] obj The popup object
}
/**
- * This Set's the mode of popup, by default ELM_POPUP_TYPE_NONE is set i.e, popup
+ * This sets the mode of popup, by default ELM_POPUP_TYPE_NONE is set i.e, popup
* will not close when clicked outside. if ELM_POPUP_TYPE_ALERT is set, popup will close
* when clicked outside, and ELM_POPUP_RESPONSE_NONE is sent along with response signal.
*
}
/**
- * This Hides the popup by emitting response signal.
+ * This hides the popup by emitting response signal.
*
* @param[in] obj The popup object
* @param[in] response_id response ID of the signal to be emitted along with response signal