EAPI Elm_Object_Item *elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Object_Item *relative);
/**
+ * Set the transparency state of a window.
+ *
+ * Use elm_win_alpha_set() instead.
+ *
+ * @param obj The window object
+ * @param transparent If true, the window is transparent
+ *
+ * @see elm_win_alpha_set()
+ * @deprecated Please use elm_win_alpha_set()
+ */
+EINA_DEPRECATED EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent);
+
+/**
+ * Get the transparency state of a window.
+ *
+ * @param obj The window object
+ * @return If true, the window is transparent
+ *
+ * @see elm_win_transparent_set()
+ * @deprecated Please use elm_win_alpha_get()
+ */
+EINA_DEPRECATED EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj);
+
+/**
* @}
*/
return ecore_evas_alpha_get(win->ee);
}
-EAPI void
+EINA_DEPRECATED EAPI void
elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent)
{
Elm_Win *win;
}
}
-EAPI Eina_Bool
+EINA_DEPRECATED EAPI Eina_Bool
elm_win_transparent_get(const Evas_Object *obj)
{
Elm_Win *win;
EAPI Eina_Bool elm_win_alpha_get(const Evas_Object *obj);
/**
- * Set the transparency state of a window.
- *
- * Use elm_win_alpha_set() instead.
- *
- * @param obj The window object
- * @param transparent If true, the window is transparent
- *
- * @see elm_win_alpha_set()
- */
-// XXX: deprecate this
-EAPI void elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent);
-
-/**
- * Get the transparency state of a window.
- *
- * @param obj The window object
- * @return If true, the window is transparent
- *
- * @see elm_win_transparent_set()
- */
-// XXX: deprecate this
-EAPI Eina_Bool elm_win_transparent_get(const Evas_Object *obj);
-
-/**
* Set the override state of a window.
*
* A window with @p override set to EINA_TRUE will not be managed by the
if (str && (!strcmp(str, "enabled")))
{
elm_win_alpha_set(tt->tt_win, EINA_TRUE);
- elm_win_transparent_set(tt->tt_win, EINA_TRUE);
}
else
{
elm_win_alpha_set(tt->tt_win, EINA_FALSE);
- elm_win_transparent_set(tt->tt_win, EINA_FALSE);
}
}