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. | |
EAPI Eina_Bool | ecore_evas_ews_setup (int x, int y, int w, int h) |
Reconfigure the backing store used. | |
EAPI Ecore_Evas * | ecore_evas_ews_ecore_evas_get (void) |
Return the internal backing store in use. | |
EAPI Evas * | ecore_evas_ews_evas_get (void) |
Return the internal backing store in use. | |
EAPI Evas_Object * | ecore_evas_ews_background_get (void) |
Get the current background. | |
EAPI void | ecore_evas_ews_background_set (Evas_Object *o) |
Set the current background, must be created at evas ecore_evas_ews_evas_get() | |
EAPI const Eina_List * | ecore_evas_ews_children_get (void) |
Return all Ecore_Evas* created by EWS. | |
EAPI void | ecore_evas_ews_manager_set (const void *manager) |
Set the identifier of the manager taking care of internal windows. | |
EAPI const void * | ecore_evas_ews_manager_get (void) |
Get the identifier of the manager taking care of internal windows. | |
Variables | |
EAPI int | ECORE_EVAS_EWS_EVENT_MANAGER_CHANGE |
manager was changed | |
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...) |
Detailed Description
These are global scope functions to manage the EWS to be used by ecore_evas_ews_new().
- Since:
- 1.1
Function Documentation
EAPI void ecore_evas_ews_background_set | ( | Evas_Object * | o | ) |
Set the current background, must be created at evas ecore_evas_ews_evas_get()
It will be kept at lowest layer (EVAS_LAYER_MIN) and below everything else. You can set any object, default is a black rectangle.
- Note:
- previous object will be deleted!
References ecore_evas_get().
EAPI const Eina_List* ecore_evas_ews_children_get | ( | void | ) |
Return all Ecore_Evas* created by EWS.
- Note:
- do not change the returned list or its contents.
- Since:
- 1.1
EAPI Ecore_Evas* ecore_evas_ews_ecore_evas_get | ( | void | ) |
Return the internal backing store in use.
- Note:
- this will forced it to be created, making future calls to ecore_evas_ews_engine_set() void.
- See also:
- ecore_evas_ews_evas_get()
- Since:
- 1.1
Referenced by ecore_evas_ews_evas_get().
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.
- Returns:
- EINA_TRUE on success, EINA_FALSE if ews is already in use.
- Since:
- 1.1
EAPI Evas* ecore_evas_ews_evas_get | ( | void | ) |
Return the internal backing store in use.
- Note:
- this will forced it to be created, making future calls to ecore_evas_ews_engine_set() void.
- See also:
- ecore_evas_ews_ecore_evas_get()
- Since:
- 1.1
References ecore_evas_ews_ecore_evas_get(), and ecore_evas_get().
EAPI const void* ecore_evas_ews_manager_get | ( | void | ) |
Get the identifier of the manager taking care of internal windows.
- Returns:
- the value set by ecore_evas_ews_manager_set()
- Since:
- 1.1
EAPI void ecore_evas_ews_manager_set | ( | const void * | manager | ) |
Set the identifier of the manager taking care of internal windows.
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)
- Parameters:
-
manager any unique identifier address.
- See also:
- ecore_evas_ews_manager_get()
- Since:
- 1.1
References ECORE_EVAS_EWS_EVENT_MANAGER_CHANGE, and ecore_event_add().
EAPI Eina_Bool ecore_evas_ews_setup | ( | int | x, |
int | y, | ||
int | w, | ||
int | h | ||
) |
Reconfigure the backing store used.
- Since:
- 1.1
References ecore_evas_geometry_get(), ecore_evas_move(), ecore_evas_resize(), ecore_evas_size_max_set(), and ecore_evas_size_min_set().
Variable Documentation
EAPI int ECORE_EVAS_EWS_EVENT_ACTIVATE |
window was activated
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_ADD |
EAPI int ECORE_EVAS_EWS_EVENT_CONFIG_CHANGE |
some other window property changed (title, name, class, alpha, transparent, shaped...)
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_DEL |
window was deleted, pointer is already invalid but may be used as reference for further cleanup work.
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_FOCUS |
window was focused
- Since:
- 1.1
window fullscreen changed
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_HIDE |
window become hidden
- Since:
- 1.1
window minimized/iconified changed
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_LAYER_CHANGE |
window layer changed
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_LOWER |
window was lowered
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_MANAGER_CHANGE |
window maximized changed
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_MOVE |
window was moved
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_RAISE |
window was raised
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_RESIZE |
window was resized
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_SHOW |
window become visible
- Since:
- 1.1
EAPI int ECORE_EVAS_EWS_EVENT_UNFOCUS |
window lost focus
- Since:
- 1.1