Module gdk::functions [−][src]
Functions
beep | Emits a short beep on the default display. |
display_arg_name | Gets the display name specified in the command line arguments passed
to |
error_trap_pop | Removes an error trap pushed with |
error_trap_pop_ignored | Removes an error trap pushed with |
error_trap_push | 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 |
events_get_angle | If both events contain X/Y information, this function will return |
events_get_center | If both events contain X/Y information, the center of both coordinates
will be returned in |
events_get_distance | If both events have X/Y information, the distance between both coordinates
(as in a straight line going from |
events_pending | Checks if any events are ready to be processed for any display. |
flush | Flushes the output buffers of all display connections and waits until all requests have been processed. This is rarely needed by applications. |
list_visuals | Lists the available visuals for the default screen.
(See |
notify_startup_complete | 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. |
notify_startup_complete_with_id | Indicates to the GUI environment that the application has finished loading, using a given identifier. |
pango_context_get | Creates a |
pango_context_get_for_display | v3_22 Creates a |
pango_context_get_for_screen | Creates a |
pixbuf_get_from_surface | Transfers image data from a |
program_class | Gets the program class. Unless the program class has explicitly
been set with |
property_delete | Deletes a property from a window. |
property_get | Retrieves a portion of the contents of a property. If the
property does not exist, then the function returns |
query_depths | This function returns the available bit depths for the default
screen. It’s equivalent to listing the visuals
( |
selection_convert | Retrieves the contents of a selection in a given form. |
selection_owner_get | Determines the owner of the given selection. |
selection_owner_get_for_display | Determine the owner of the given selection. |
selection_owner_set | Sets the owner of the given selection. |
selection_owner_set_for_display | Sets the |
selection_send_notify | Sends a response to SelectionRequest event. |
selection_send_notify_for_display | Send a response to SelectionRequest event. |
set_allowed_backends | Sets a list of backends that GDK should try to use. |
set_double_click_time | Set the double click time for the default display. See
|
set_program_class | Sets the program class. The X11 backend uses the program class to set
the class name part of the |
set_show_events | Sets whether a trace of received events is output.
Note that GTK+ must be compiled with debugging (that is,
configured using the |
shows_events | Gets whether event debugging output is enabled. |
synthesize_window_state | |
test_render_sync | Retrieves a pixel from |
test_simulate_button | This function is intended to be used in GTK+ test programs.
It will warp the mouse pointer to the given ( |
test_simulate_key | This function is intended to be used in GTK+ test programs.
If ( |
text_property_to_utf8_list_for_display | Converts a text property in the given encoding to a list of UTF-8 strings. |
utf8_to_string_target | Converts an UTF-8 string into the best possible representation as a STRING. The representation of characters not in STRING is not specified; it may be as pseudo-escape sequences \x{ABCD}, or it may be in some other form of approximation. |