EAPI void elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped);
EAPI Eina_Bool elm_win_shaped_get(Evas_Object *obj);
EAPI void elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha);
+ EAPI Eina_Bool elm_win_transparent_get(Evas_Object *obj);
+ EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent);
EAPI Eina_Bool elm_win_alpha_get(Evas_Object *obj);
EAPI void elm_win_override_set(Evas_Object *obj, Eina_Bool override);
EAPI Eina_Bool elm_win_override_get(Evas_Object *obj);
return ecore_evas_alpha_get(win->ee);
}
+EAPI void
+elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent)
+{
+ Elm_Win *win;
+ if (strcmp(elm_widget_type_get(obj), "win")) return;
+ win = elm_widget_data_get(obj);
+ if (!win) return;
+
+ if (win->xwin)
+ {
+ ecore_evas_transparent_set(win->ee, transparent);
+ _elm_win_xwin_update(win);
+ }
+ else
+ ecore_evas_transparent_set(win->ee, transparent);
+}
+
+EAPI Eina_Bool
+elm_win_transparent_get(Evas_Object *obj)
+{
+ Elm_Win *win;
+ if (strcmp(elm_widget_type_get(obj), "win")) return EINA_FALSE;
+ win = elm_widget_data_get(obj);
+ if (!win) return EINA_FALSE;
+
+ return ecore_evas_transparent_get(win->ee);
+}
+
EAPI void
elm_win_override_set(Evas_Object *obj, Eina_Bool override)
{