Ecore_Xcb_Init_Group

Langue: en

Autres versions - même langue

Version: 382025 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

X Library Init and Shutdown Functions -

Functions that start and shut down the Ecore X Library.

Functions


EAPI int ecore_x_init (const char *name)
Initialize the X display connection to the given display.
EAPI int ecore_x_shutdown (void)
Shuts down the Ecore X library.
EAPI int ecore_x_disconnect (void)
Shuts down the Ecore X library.

Detailed Description

Functions that start and shut down the Ecore X Library.

Function Documentation

EAPI int ecore_x_disconnect (void)

Shuts down the Ecore X library. As ecore_xcb_shutdown, except do not close Display, only connection.

EAPI int ecore_x_init (const char * name)

Initialize the X display connection to the given display. Parameters:

name Display target name. If NULL, the default display is assumed.

Returns:

The number of times the library has been initialized without being shut down. 0 is returned if an error occurs.

References ecore_event_filter_add(), ecore_event_type_new(), ECORE_FD_READ, ecore_main_fd_handler_add(), ECORE_X_EVENT_ANY, ecore_x_netwm_init(), and ecore_x_window_override_new().

EAPI int ecore_x_shutdown (void)

Shuts down the Ecore X library. In shutting down the library, the X display connection is terminated and any event handlers for it are removed.

Returns:

The number of times the library has been initialized without being shut down.

Author

Generated automatically by Doxygen for Ecore from the source code.