EAPI void
elm_widget_disabled_set(Evas_Object *obj,
- int disabled)
+ Eina_Bool disabled)
{
API_ENTRY return;
if (sd->disabled == disabled) return;
- sd->disabled = disabled;
+ sd->disabled = !!disabled;
if (sd->focused)
{
Evas_Object *o, *parent;
if (sd->disable_func) sd->disable_func(obj);
}
-EAPI int
+EAPI Eina_Bool
elm_widget_disabled_get(const Evas_Object *obj)
{
API_ENTRY return 0;
EAPI void elm_widget_focus_steal(Evas_Object *obj);
EAPI void elm_widget_activate(Evas_Object *obj);
EAPI void elm_widget_change(Evas_Object *obj);
-EAPI void elm_widget_disabled_set(Evas_Object *obj, int disabled);
-EAPI int elm_widget_disabled_get(const Evas_Object *obj);
+EAPI void elm_widget_disabled_set(Evas_Object *obj, Eina_Bool disabled);
+EAPI Eina_Bool elm_widget_disabled_get(const Evas_Object *obj);
EAPI void elm_widget_show_region_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
EAPI void elm_widget_show_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
EAPI void elm_widget_focus_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);