Emits a short beep on the default display.
Removes an error trap pushed with gdk_error_trap_push(). May block until an error has been definitively received or not received from the X server. gdk_error_trap_pop_ignored() is preferred if you don’t need to know whether an error occurred, because it never has to block. If you don't need the return value of gdk_error_trap_pop(), use gdk_error_trap_pop_ignored().
Removes an error trap pushed with gdk_error_trap_push(), but without bothering to wait and see whether an error occurred. If an error arrives later asynchronously that was triggered while the trap was pushed, that error will be ignored.
This function allows X errors to be trapped instead of the normal behavior of exiting the application. It should only be used if it is not possible to avoid the X error in any other way. Errors are ignored on all gdk.Display currently known to the gdk.DisplayManager If you don’t care which error happens and just want to ignore everything, pop with gdk_error_trap_pop_ignored(). If you need the error code, use gdk_error_trap_pop() which may have to block and wait for the error to arrive from the X server.
Flushes the output buffers of all display connections and waits until all requests have been processed. This is rarely needed by applications.
Gets the name of the display, which usually comes from the DISPLAY environment variable or the --display command line option.
Gets the display name specified in the command line arguments passed to gdk_init() or gdk_parse_args(), if any.
Gets the program class. Unless the program class has explicitly been set with gdk_set_program_class() or with the --class commandline option, the default value is the program name (determined with g_get_prgname()) with the first character converted to uppercase.
Initializes the GDK library and connects to the windowing system. If initialization fails, a warning message is output and the application terminates with a call to exit(1).
Initializes the GDK library and connects to the windowing system, returning TRUE on success.
Grabs the keyboard so that all events are passed to this application until the keyboard is ungrabbed with gdk_keyboard_ungrab(). This overrides any previous keyboard grab by this client.
Ungrabs the keyboard on the default display, if it is grabbed by this application.
Indicates to the GUI environment that the application has finished loading. If the applications opens windows, this function is normally called after opening the application’s initial set of windows.
Indicates to the GUI environment that the application has finished loading, using a given identifier.
Parse command line arguments, and store for future use by calls to Display.open.
Grabs the pointer (usually a mouse) so that all events are passed to this application until the pointer is ungrabbed with gdk_pointer_ungrab(), or the grab window becomes unviewable. This overrides any previous pointer grab by this client.
Returns TRUE if the pointer on the default display is currently grabbed by this application.
Ungrabs the pointer on the default display, if it is grabbed by this application.
Sets a list of backends that GDK should try to use.
Sets the program class. The X11 backend uses the program class to set the class name part of the WM_CLASS property on toplevel windows; see the ICCCM.