X Display Attributes

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.
EAPI int ecore_x_fd_get (void)
 Retrieves the X display file descriptor.
EAPI void ecore_x_double_click_time_set (double t)
 Sets the timeout for a double and triple clicks to be flagged.
EAPI double ecore_x_double_click_time_get (void)
 Retrieves the double and triple click flag timeout.

Detailed Description

Functions that set and retrieve X display attributes.


Function Documentation

EAPI Ecore_X_Display* ecore_x_display_get ( void  )

Retrieves the Ecore_X_Display handle used for the current X connection.

Returns:
The current X display.
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.

Returns:
The timeout for double clicks in seconds.
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.

Parameters:
tThe time in seconds
EAPI int ecore_x_fd_get ( void  )

Retrieves the X display file descriptor.

Returns:
The current X display file descriptor.