Functions that set and retrieve X display attributes. More...
Functions | |
EAPI Ecore_X_Display * | ecore_x_display_get (void) |
Retrieves the Ecore_X_Display handle used for the current X connection. More... | |
EAPI int | ecore_x_fd_get (void) |
Retrieves the X display file descriptor. More... | |
EAPI Ecore_X_Screen * | ecore_x_default_screen_get (void) |
Retrieves the Ecore_X_Screen handle used for the current X connection. More... | |
EAPI void | ecore_x_screen_size_get (const Ecore_X_Screen *screen, int *w, int *h) |
Retrieves the size of an Ecore_X_Screen. More... | |
EAPI int | ecore_x_screen_count_get (void) |
Retrieves the number of screens. More... | |
EAPI int | ecore_x_screen_index_get (const Ecore_X_Screen *screen) |
Retrieves the index number of the given screen. More... | |
EAPI Ecore_X_Screen * | ecore_x_screen_get (int idx) |
Retrieves the screen based on index number. More... | |
EAPI void | ecore_x_double_click_time_set (double t) |
Sets the timeout for a double and triple clicks to be flagged. More... | |
EAPI double | ecore_x_double_click_time_get (void) |
Retrieves the double and triple click flag timeout. More... | |
Functions that set and retrieve X display attributes.
EAPI Ecore_X_Display * ecore_x_display_get | ( | void | ) |
Retrieves the Ecore_X_Display handle used for the current X connection.
Referenced by elm_quicklaunch_seed().
EAPI int ecore_x_fd_get | ( | void | ) |
Retrieves the X display file descriptor.
References EINA_SAFETY_ON_NULL_RETURN_VAL.
EAPI Ecore_X_Screen * ecore_x_default_screen_get | ( | void | ) |
Retrieves the Ecore_X_Screen handle used for the current X connection.
References EINA_SAFETY_ON_NULL_RETURN_VAL.
EAPI void ecore_x_screen_size_get | ( | const Ecore_X_Screen * | screen, |
int * | w, | ||
int * | h | ||
) |
Retrieves the size of an Ecore_X_Screen.
screen | the handle to the screen to query. |
w | where to return the width. May be NULL. Returns 0 on errors. |
h | where to return the height. May be NULL. Returns 0 on errors. |
References EINA_SAFETY_ON_NULL_RETURN.
EAPI int ecore_x_screen_count_get | ( | void | ) |
Retrieves the number of screens.
References EINA_SAFETY_ON_NULL_RETURN_VAL.
EAPI int ecore_x_screen_index_get | ( | const Ecore_X_Screen * | screen | ) |
Retrieves the index number of the given screen.
screen | The screen for which the index will be retrieved. |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
Referenced by ecore_x_default_colormap_get(), ecore_x_default_depth_get(), and ecore_x_default_visual_get().
EAPI Ecore_X_Screen * ecore_x_screen_get | ( | int | idx | ) |
Retrieves the screen based on index number.
idx | The index that will be used to retrieve the screen. |
References EINA_SAFETY_ON_NULL_RETURN_VAL.
EAPI void ecore_x_double_click_time_set | ( | double | t | ) |
Sets the timeout for a double and triple clicks to be flagged.
This sets the time between clicks before the double_click flag is set in a button down event. If 3 clicks occur within double this time, the triple_click flag is also set.
t | The time in seconds |
EAPI double ecore_x_double_click_time_get | ( | void | ) |
Retrieves the double and triple click flag timeout.
See ecore_x_double_click_time_set for more information.