X Window Input Focus Functions
Functions that manage the focus of an X Window. More...Functions | |
EAPI void | ecore_x_window_focus (Ecore_X_Window window) |
Sets the focus to the window window . | |
EAPI void | ecore_x_window_focus_at_time (Ecore_X_Window window, Ecore_X_Time time) |
Sets the focus to the given window at a specific time. | |
EAPI void | ecore_x_get_input_focus_prefetch (void) |
Sends the GetInputFocus request. | |
EAPI void | ecore_x_get_input_focus_fetch (void) |
Gets the reply of the GetInputFocus request sent by ecore_x_get_input_focus_prefetch(). | |
EAPI Ecore_X_Window | ecore_x_window_focus_get (void) |
Gets the window that has focus. |
Detailed Description
Functions that manage the focus of an X Window.
Function Documentation
EAPI void ecore_x_window_focus | ( | Ecore_X_Window | window | ) |
Sets the focus to the window window
.
- Parameters:
-
window The window to focus.
EAPI void ecore_x_window_focus_at_time | ( | Ecore_X_Window | window, | |
Ecore_X_Time | time | |||
) |
Sets the focus to the given window at a specific time.
- Parameters:
-
window The window to focus. time When to set the focus to the window.
EAPI Ecore_X_Window ecore_x_window_focus_get | ( | void | ) |
Gets the window that has focus.
- Returns:
- The window that has focus.
0
is returned, otherwise the function returns the window that has focus.To use this function, you must call before, and in order, ecore_x_get_input_focus_prefetch(), which sends the GetInputFocus request, then ecore_x_get_input_focus_fetch(), which gets the reply.