X Display Attributes

Functions that set and retrieve X display attributes. More...

Functions

EAPI Ecore_X_Connection * ecore_x_connection_get (void)
 Retrieves the Ecore_X_Connection handle used for the current X connection.
EAPI int ecore_x_fd_get (void)
 Retrieves the X display file descriptor.
EAPI Ecore_X_Screen * ecore_x_default_screen_get (void)
 Retrieves the Ecore_X_Screen handle used for the current X connection.
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_Connection* ecore_x_connection_get ( void   ) 

Retrieves the Ecore_X_Connection handle used for the current X connection.

Returns:
The current X connection.
EAPI Ecore_X_Screen* ecore_x_default_screen_get ( void   ) 

Retrieves the Ecore_X_Screen handle used for the current X connection.

Returns:
The current default screen.
EAPI double ecore_x_double_click_time_get ( void   ) 

Retrieves the double and triple click flag timeout.

See ecore_xcb_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:
t The time in seconds
EAPI int ecore_x_fd_get ( void   ) 

Retrieves the X display file descriptor.

Returns:
The current X display file descriptor.