These are global scope functions to manage the EWS to be used by ecore_evas_ews_new(). More...
Functions | |
EAPI Eina_Bool | ecore_evas_ews_engine_set (const char *engine, const char *options) |
Sets the engine to be used by the backing store engine. More... | |
EAPI Eina_Bool | ecore_evas_ews_setup (int x, int y, int w, int h) |
Reconfigures the backing store used. More... | |
EAPI Ecore_Evas * | ecore_evas_ews_ecore_evas_get (void) |
Returns the internal backing store in use. More... | |
EAPI Evas * | ecore_evas_ews_evas_get (void) |
Returns the internal backing store in use. More... | |
EAPI Evas_Object * | ecore_evas_ews_background_get (void) |
Gets the current background. | |
EAPI void | ecore_evas_ews_background_set (Evas_Object *o) |
Sets the current background, must be created by evas ecore_evas_ews_evas_get(). More... | |
EAPI const Eina_List * | ecore_evas_ews_children_get (void) |
Returns all Ecore_Evas* created by EWS. More... | |
EAPI void | ecore_evas_ews_manager_set (const void *manager) |
Sets the identifier of the manager taking care of internal windows. More... | |
EAPI const void * | ecore_evas_ews_manager_get (void) |
Gets the identifier of the manager taking care of internal windows. More... | |
These are global scope functions to manage the EWS to be used by ecore_evas_ews_new().
Sets the engine to be used by the backing store engine.
engine | The engine to be set. |
options | The options of the engine to be set. |
EINA_TRUE
on success, EINA_FALSE
if ews is already in use.References EINA_FALSE, and EINA_TRUE.
Reconfigures the backing store used.
x | The X coordinate to be used. |
y | The Y coordinate to be used. |
w | The width of the Ecore_Evas to setup. |
h | The height of the Ecore_Evas to setup. |
EINA_TRUE
on success, EINA_FALSE
otherwise.References ecore_evas_geometry_get(), ecore_evas_move(), ecore_evas_resize(), ecore_evas_size_max_set(), ecore_evas_size_min_set(), EINA_FALSE, and EINA_TRUE.
EAPI Ecore_Evas* ecore_evas_ews_ecore_evas_get | ( | void | ) |
Returns the internal backing store in use.
Referenced by ecore_evas_ews_evas_get().
Returns the internal backing store in use.
References ecore_evas_ews_ecore_evas_get(), and ecore_evas_get().
EAPI void ecore_evas_ews_background_set | ( | Evas_Object * | o | ) |
Sets the current background, must be created by evas ecore_evas_ews_evas_get().
o | The Evas_Object for which to set the background. |
It will be kept at lowest layer (EVAS_LAYER_MIN) and below everything else. You can set any object, default is a black rectangle.
References ecore_evas_get(), ERR, EVAS_CALLBACK_FREE, EVAS_LAYER_MIN, evas_object_color_set(), evas_object_del(), evas_object_evas_get(), evas_object_event_callback_add(), evas_object_layer_set(), evas_object_lower(), evas_object_move(), evas_object_rectangle_add(), evas_object_resize(), evas_object_show(), evas_output_framespace_get(), and evas_output_viewport_get().
Returns all Ecore_Evas* created by EWS.
EAPI void ecore_evas_ews_manager_set | ( | const void * | manager | ) |
Sets the identifier of the manager taking care of internal windows.
manager | any unique identifier address. |
The ECORE_EVAS_EWS_EVENT_MANAGER_CHANGE event is issued. Consider handling it to know if you should stop handling events yourself (ie: another manager took over)
References ECORE_EVAS_EWS_EVENT_MANAGER_CHANGE, and ecore_event_add().
EAPI const void* ecore_evas_ews_manager_get | ( | void | ) |
Gets the identifier of the manager taking care of internal windows.
EAPI int ECORE_EVAS_EWS_EVENT_MANAGER_CHANGE |
EAPI int ECORE_EVAS_EWS_EVENT_ADD |
window was created
EAPI int ECORE_EVAS_EWS_EVENT_DEL |
window was deleted, pointer is already invalid but may be used as reference for further cleanup work.
EAPI int ECORE_EVAS_EWS_EVENT_RESIZE |
window was resized
EAPI int ECORE_EVAS_EWS_EVENT_MOVE |
window was moved
EAPI int ECORE_EVAS_EWS_EVENT_SHOW |
window become visible
EAPI int ECORE_EVAS_EWS_EVENT_HIDE |
window become hidden
EAPI int ECORE_EVAS_EWS_EVENT_FOCUS |
window was focused
EAPI int ECORE_EVAS_EWS_EVENT_UNFOCUS |
window lost focus
EAPI int ECORE_EVAS_EWS_EVENT_RAISE |
window was raised
EAPI int ECORE_EVAS_EWS_EVENT_LOWER |
window was lowered
EAPI int ECORE_EVAS_EWS_EVENT_ACTIVATE |
window was activated
EAPI int ECORE_EVAS_EWS_EVENT_ICONIFIED_CHANGE |
window minimized/iconified changed
EAPI int ECORE_EVAS_EWS_EVENT_MAXIMIZED_CHANGE |
window maximized changed
EAPI int ECORE_EVAS_EWS_EVENT_LAYER_CHANGE |
window layer changed
EAPI int ECORE_EVAS_EWS_EVENT_FULLSCREEN_CHANGE |
window fullscreen changed
EAPI int ECORE_EVAS_EWS_EVENT_CONFIG_CHANGE |
some other window property changed (title, name, class, alpha, transparent, shaped...)