Functions that get the attributes of a window. More...
Functions | |
EAPI void | ecore_x_get_window_attributes_prefetch (Ecore_X_Window window) |
Sends the GetWindowAttributes request. | |
EAPI void | ecore_x_get_window_attributes_fetch (void) |
Gets the reply of the GetWindowAttributes request sent by ecore_x_get_window_attributes_prefetch(). | |
EAPI Eina_Bool | ecore_x_window_attributes_get (Ecore_X_Window window, Ecore_X_Window_Attributes *att_ret) |
Retrieves the attributes of a window. | |
EAPI int | ecore_x_window_visible_get (Ecore_X_Window window) |
Finds out whether the given window is currently visible. |
Detailed Description
Functions that get the attributes of a window.
Function Documentation
EAPI Eina_Bool ecore_x_window_attributes_get | ( | Ecore_X_Window | window, |
Ecore_X_Window_Attributes * | att_ret | ||
) |
Retrieves the attributes of a window.
- Parameters:
-
windows Unused. att_ret Pointer to an Ecore_X_Window_Attributes structure in which the attributes of a window are to be stored.
Retrieves the attributes of a window. If att_ret
is NULL
, the function does nothing. If an error occurred, att_ret
is set to 0. Otherwise, the att_ret
structure is filled with the attributes os the requested window.
To use this function, you must call before, and in order, ecore_x_get_window_attributes_prefetch(), which sends the GetWindowAttributes request, then ecore_x_get_window_attributes_fetch(), which gets the reply.
EAPI int ecore_x_window_visible_get | ( | Ecore_X_Window | window | ) |
Finds out whether the given window is currently visible.
- Parameters:
-
window Unused.
- Returns:
- 1 if the window is visible, otherwise 0.
Finds out whether the given window is currently visible. If an error occurred, or if the window is not visible, 0 is returned. Otherwise 1 is returned.
To use this function, you must call before, and in order, ecore_x_get_window_attributes_prefetch(), which sends the GetWindowAttributes request, then ecore_x_get_window_attributes_fetch(), which gets the reply.