forked from enlightenment/efl
Add const to getters.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com> SVN revision: 68976
This commit is contained in:
parent
788c6dcaf4
commit
4267833ed6
|
@ -1327,7 +1327,7 @@ elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient)
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Elm_Popup_Orient
|
EAPI Elm_Popup_Orient
|
||||||
elm_popup_orient_get(Evas_Object *obj)
|
elm_popup_orient_get(const Evas_Object *obj)
|
||||||
{
|
{
|
||||||
ELM_CHECK_WIDTYPE(obj, widtype) -1;
|
ELM_CHECK_WIDTYPE(obj, widtype) -1;
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
|
@ -1347,7 +1347,7 @@ elm_popup_timeout_set(Evas_Object *obj, double timeout)
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI double
|
EAPI double
|
||||||
elm_popup_timeout_get(Evas_Object *obj)
|
elm_popup_timeout_get(const Evas_Object *obj)
|
||||||
{
|
{
|
||||||
ELM_CHECK_WIDTYPE(obj, widtype) 0.0;
|
ELM_CHECK_WIDTYPE(obj, widtype) 0.0;
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
|
@ -1368,7 +1368,7 @@ elm_popup_allow_events_set(Evas_Object *obj, Eina_Bool allow)
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Eina_Bool
|
EAPI Eina_Bool
|
||||||
elm_popup_allow_events_get(Evas_Object *obj)
|
elm_popup_allow_events_get(const Evas_Object *obj)
|
||||||
{
|
{
|
||||||
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
|
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
|
|
|
@ -182,7 +182,7 @@ EAPI void elm_popup_content_text_wrap_type_set(Evas_Object *obj, Elm_Wrap_Type w
|
||||||
* @ingroup Popup
|
* @ingroup Popup
|
||||||
* @see elm_popup_content_text_wrap_type_set
|
* @see elm_popup_content_text_wrap_type_set
|
||||||
*/
|
*/
|
||||||
EAPI Elm_Wrap_Type elm_popup_content_text_wrap_type_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
|
EAPI Elm_Wrap_Type elm_popup_content_text_wrap_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets the orientation of the popup in the parent region
|
* @brief Sets the orientation of the popup in the parent region
|
||||||
|
@ -207,7 +207,7 @@ EAPI void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient) EINA_A
|
||||||
* @see elm_popup_orient_set()
|
* @see elm_popup_orient_set()
|
||||||
* @see Elm_Popup_Orient
|
* @see Elm_Popup_Orient
|
||||||
*/
|
*/
|
||||||
EAPI Elm_Popup_Orient elm_popup_orient_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
|
EAPI Elm_Popup_Orient elm_popup_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets a timeout to hide popup automatically
|
* @brief Sets a timeout to hide popup automatically
|
||||||
|
@ -239,7 +239,7 @@ EAPI void elm_popup_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNU
|
||||||
* @ingroup Popup
|
* @ingroup Popup
|
||||||
* @see elm_popup_timeout_set()
|
* @see elm_popup_timeout_set()
|
||||||
*/
|
*/
|
||||||
EAPI double elm_popup_timeout_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
|
EAPI double elm_popup_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets whether events should be passed to by a click outside.
|
* @brief Sets whether events should be passed to by a click outside.
|
||||||
|
@ -266,4 +266,4 @@ EAPI void elm_popup_allow_events_set(Evas_Object *obj, Eina_Bool allow);
|
||||||
* @see elm_popup_allow_events_set()
|
* @see elm_popup_allow_events_set()
|
||||||
* @note By default the Blocked event area is present
|
* @note By default the Blocked event area is present
|
||||||
*/
|
*/
|
||||||
EAPI Eina_Bool elm_popup_allow_events_get(Evas_Object *obj);
|
EAPI Eina_Bool elm_popup_allow_events_get(const Evas_Object *obj);
|
||||||
|
|
Loading…
Reference in New Issue