docs/reference/gdk/ 0000775 0001750 0001750 00000000000 13620336745 014352 5 ustar mclasen mclasen docs/reference/gdk/version.xml 0000644 0001750 0001750 00000000007 13620336745 016554 0 ustar mclasen mclasen 3.98.0
docs/reference/gdk/gdk4-docs.xml 0000664 0001750 0001750 00000005606 13620320467 016654 0 ustar mclasen mclasen
]>
GDK 4 Reference Manual
This document is for the GDK 4 library, version &version;.
The latest versions can be found online at
https://developer.gnome.org/gdk4/.
If you are looking for the older GDK 3 series of libraries,
see https://developer.gnome.org/gdk3/.
API ReferenceIndex of all symbolsIndex of deprecated symbols
docs/reference/gdk/gdk4-sections.txt 0000664 0001750 0001750 00000067144 13620320467 017577 0 ustar mclasen mclasen
gdk/gdk.hGeneralgeneral
GDK_WINDOWING_X11
GDK_WINDOWING_WIN32
GDK_WINDOWING_QUARTZ
GDK_WINDOWING_WAYLAND
GDK_VERSION_4_0
GDK_VERSION_MIN_REQUIRED
GDK_VERSION_MAX_ALLOWED
GDK_DISABLE_DEPRECATION_WARNINGS
GDK_TYPE_GRAB_STATUS
GDK_TYPE_STATUS
GdkStatus
GDKVAR
gdk_axis_use_get_type
gdk_byte_order_get_type
gdk_crossing_mode_get_type
gdk_cursor_type_get_type
gdk_drag_action_get_type
gdk_drag_protocol_get_type
gdk_event_mask_get_type
gdk_event_type_get_type
gdk_extension_mode_get_type
gdk_filter_return_get_type
gdk_grab_ownership_get_type
gdk_grab_status_get_type
gdk_gravity_get_type
gdk_input_mode_get_type
gdk_input_source_get_type
gdk_modifier_intent_get_type
gdk_modifier_type_get_type
gdk_notify_type_get_type
gdk_prop_mode_get_type
gdk_scroll_direction_get_type
gdk_setting_action_get_type
gdk_status_get_type
gdk_visibility_state_get_type
gdk_surface_attributes_type_get_type
gdk_surface_edge_get_type
gdk_surface_hints_get_type
gdk_surface_state_get_type
gdk_surface_type_get_type
gdk_surface_type_hint_get_type
gdk_wm_decoration_get_type
gdk_wm_function_get_type
GDK_AVAILABLE_IN_4_0
GDK_AVAILABLE_IN_ALL
GDK_UNAVAILABLE
GDK_DEPRECATED
GDK_DEPRECATED_FOR
GDK_DEPRECATED_IN_4_0
GDK_DEPRECATED_IN_4_0_FOR
GDK_VERSION_CUR_STABLE
GDK_VERSION_PREV_STABLE
gdkdisplayGdkDisplay
GdkDisplay
gdk_display_open
gdk_display_get_default
gdk_display_get_name
gdk_display_device_is_grabbed
gdk_display_beep
gdk_display_sync
gdk_display_flush
gdk_display_close
gdk_display_is_closed
gdk_display_get_event
gdk_display_peek_event
gdk_display_put_event
gdk_display_has_pending
gdk_display_is_rgba
gdk_display_is_composited
gdk_display_get_default_group
gdk_display_supports_shapes
gdk_display_supports_input_shapes
gdk_display_get_app_launch_context
gdk_display_notify_startup_complete
gdk_display_get_default_seat
gdk_display_list_seats
gdk_display_get_n_monitors
gdk_display_get_monitor
gdk_display_get_monitor_at_surface
gdk_display_get_clipboard
gdk_display_get_primary_clipboard
gdk_display_get_setting
gdk_display_get_keymap
GDK_DISPLAY
GDK_DISPLAY_OBJECT
GDK_IS_DISPLAY
GDK_TYPE_DISPLAY
GDK_DISPLAY_CLASS
GDK_IS_DISPLAY_CLASS
GDK_DISPLAY_GET_CLASS
gdk_display_get_type
GdkDisplayClass
gdkdisplaymanagerGdkDisplayManager
GdkDisplayManager
gdk_display_manager_get
gdk_display_manager_get_default_display
gdk_display_manager_set_default_display
gdk_display_manager_list_displays
gdk_display_manager_open_display
gdk_set_allowed_backends
GDK_DISPLAY_MANAGER
GDK_DISPLAY_MANAGER_CLASS
GDK_DISPLAY_MANAGER_GET_CLASS
GDK_IS_DISPLAY_MANAGER_CLASS
GDK_IS_DISPLAY_MANAGER
GDK_TYPE_DISPLAY_MANAGER
GdkDisplayManagerClass
gdk_display_manager_get_type
Pixbufspixbufs
gdk_pixbuf_get_from_surface
RGBA Colorsrgba_colors
GdkRGBA
gdk_rgba_copy
gdk_rgba_free
gdk_rgba_is_clear
gdk_rgba_is_opaque
gdk_rgba_parse
gdk_rgba_equal
gdk_rgba_hash
gdk_rgba_to_string
GDK_TYPE_RGBA
gdk_rgba_get_type
GdkSurfacegdksurface
GdkSurface
GdkSurfaceType
GdkSurfaceHints
GdkGeometry
GdkGravity
GdkAnchorHints
GdkSurfaceEdge
GdkSurfaceTypeHint
GdkSurfaceState
gdk_surface_new_toplevel
gdk_surface_new_temp
gdk_surface_new_popup
gdk_surface_get_parent
gdk_surface_destroy
gdk_surface_get_surface_type
gdk_surface_get_display
gdk_surface_show
gdk_surface_show_unraised
gdk_surface_hide
gdk_surface_is_destroyed
gdk_surface_is_visible
gdk_surface_is_viewable
gdk_surface_get_state
gdk_surface_minimize
gdk_surface_unminimize
gdk_surface_stick
gdk_surface_unstick
gdk_surface_maximize
gdk_surface_unmaximize
gdk_surface_fullscreen
gdk_surface_fullscreen_on_monitor
gdk_surface_unfullscreen
GdkFullscreenMode
gdk_surface_get_fullscreen_mode
gdk_surface_set_fullscreen_mode
gdk_surface_set_keep_above
gdk_surface_set_keep_below
gdk_surface_set_opacity
gdk_surface_resize
gdk_surface_move_to_rect
gdk_surface_raise
gdk_surface_lower
gdk_surface_restack
gdk_surface_focus
gdk_surface_register_dnd
gdk_surface_begin_resize_drag
gdk_surface_begin_resize_drag_for_device
gdk_surface_begin_move_drag
gdk_surface_begin_move_drag_for_device
gdk_surface_show_window_menu
gdk_surface_constrain_size
gdk_surface_beep
gdk_surface_get_scale_factor
gdk_surface_set_opaque_region
gdk_surface_create_gl_context
gdk_surface_create_vulkan_context
gdk_surface_create_cairo_context
gdk_surface_queue_expose
gdk_surface_freeze_updates
gdk_surface_thaw_updates
gdk_surface_get_frame_clock
gdk_surface_set_accept_focus
gdk_surface_get_accept_focus
gdk_surface_set_focus_on_map
gdk_surface_get_focus_on_map
gdk_surface_input_shape_combine_region
gdk_surface_set_title
GDK_PARENT_RELATIVE
gdk_surface_set_cursor
gdk_surface_get_cursor
gdk_surface_set_geometry_hints
gdk_surface_get_width
gdk_surface_get_height
gdk_surface_set_icon_list
gdk_surface_set_modal_hint
gdk_surface_get_modal_hint
gdk_surface_set_type_hint
gdk_surface_get_type_hint
gdk_surface_set_shadow_width
gdk_surface_get_position
gdk_surface_get_device_position
GdkModifierType
GdkModifierIntent
gdk_surface_set_icon_name
gdk_surface_set_transient_for
gdk_surface_set_startup_id
gdk_surface_set_decorations
gdk_surface_get_decorations
GdkWMDecoration
gdk_surface_set_functions
GdkWMFunction
gdk_surface_get_support_multidevice
gdk_surface_set_support_multidevice
gdk_surface_get_device_cursor
gdk_surface_set_device_cursor
GDK_SURFACE
GDK_SURFACE_GET_CLASS
GDK_TYPE_SURFACE
GDK_IS_SURFACE
GDK_SURFACE_CLASS
GDK_IS_SURFACE_CLASS
GDK_TYPE_FILTER_RETURN
GDK_TYPE_GRAVITY
GDK_TYPE_MODIFIER_TYPE
GDK_TYPE_SURFACE_ATTRIBUTES_TYPE
GDK_TYPE_SURFACE_EDGE
GDK_TYPE_SURFACE_HINTS
GDK_TYPE_SURFACE_TYPE
GDK_TYPE_SURFACE_TYPE_HINT
GDK_TYPE_WM_DECORATION
GDK_TYPE_WM_FUNCTION
GDK_TYPE_SURFACE_STATE
gdk_surface_get_type
gdk_surface_window_class_get_type
GdkSurfaceClass
GdkSurfaceImpl
GdkSurfaceImplClass
GdkSurfaceRedirect
gdk_surface_impl_get_type
gdk_fullscreen_mode_get_type
gdkcontentformatsContent Formats
gdk_intern_mime_type
GdkContentFormats
gdk_content_formats_new
gdk_content_formats_new_for_gtype
gdk_content_formats_ref
gdk_content_formats_unref
gdk_content_formats_print
gdk_content_formats_to_string
gdk_content_formats_get_gtypes
gdk_content_formats_get_mime_types
gdk_content_formats_union
gdk_content_formats_match
gdk_content_formats_match_gtype
gdk_content_formats_match_mime_type
gdk_content_formats_contain_gtype
gdk_content_formats_contain_mime_type
gdk_content_formats_union_serialize_gtypes
gdk_content_formats_union_deserialize_gtypes
gdk_content_formats_union_serialize_mime_types
gdk_content_formats_union_deserialize_mime_types
GdkContentFormatsBuilder
gdk_content_formats_builder_new
gdk_content_formats_builder_free_to_formats
gdk_content_formats_builder_add_formats
gdk_content_formats_builder_add_gtype
gdk_content_formats_builder_add_mime_type
gdk_content_formats_builder_ref
gdk_content_formats_builder_unref
gdk_content_formats_builder_to_formats
GDK_TYPE_FILE_LIST
gdk_file_list_get_type
gdk_content_formats_get_type
gdk_content_formats_builder_get_type
Properties and Atomsproperties
GdkAtom
gdk_text_property_to_utf8_list_for_display
gdk_utf8_to_string_target
Pango Interactionpango_interaction
gdk_pango_layout_get_clip_region
gdk_pango_layout_line_get_clip_region
Cairo Interactioncairo_interaction
gdk_surface_create_similar_surface
gdk_cairo_get_clip_rectangle
gdk_cairo_set_source_rgba
gdk_cairo_set_source_pixbuf
gdk_cairo_rectangle
gdk_cairo_region
gdk_cairo_region_create_from_surface
gdk_cairo_draw_from_gl
gdk_cairo_surface_upload_to_gl
Points, Rectangles and Regionsregions
GdkPoint
GdkRectangle
gdk_rectangle_intersect
gdk_rectangle_union
gdk_rectangle_equal
gdk_rectangle_contains_point
gdk_rectangle_get_type
Keyboard Handlingkeys
GdkKeymap
GdkKeymapKey
gdk_keymap_lookup_key
gdk_keymap_translate_keyboard_state
gdk_keymap_get_entries_for_keyval
gdk_keymap_get_entries_for_keycode
gdk_keymap_get_direction
gdk_keymap_have_bidi_layouts
gdk_keymap_get_caps_lock_state
gdk_keymap_get_num_lock_state
gdk_keymap_get_scroll_lock_state
gdk_keymap_get_modifier_state
gdk_keymap_add_virtual_modifiers
gdk_keymap_map_virtual_modifiers
gdk_keymap_get_modifier_mask
gdk_keymap_get_display
gdk_keyval_name
gdk_keyval_from_name
gdk_keyval_convert_case
gdk_keyval_to_upper
gdk_keyval_to_lower
gdk_keyval_is_upper
gdk_keyval_is_lower
gdk_keyval_to_unicode
gdk_unicode_to_keyval
GDK_KEYMAP
GDK_IS_KEYMAP
GDK_TYPE_KEYMAP
GDK_KEYMAP_CLASS
GDK_IS_KEYMAP_CLASS
GDK_KEYMAP_GET_CLASS
GdkKeymapClass
gdk_keymap_get_type
GdkDevicegdkdevice
GdkDevice
GdkInputSource
GdkInputMode
GdkAxisUse
GdkAxisFlags
GdkDeviceToolType
GdkDeviceType
GdkGrabOwnership
gdk_device_get_name
gdk_device_get_vendor_id
gdk_device_get_product_id
gdk_device_get_source
gdk_device_set_mode
gdk_device_get_mode
gdk_device_set_key
gdk_device_get_key
gdk_device_set_axis_use
gdk_device_get_axis_use
gdk_device_get_associated_device
gdk_device_list_slave_devices
gdk_device_get_device_type
gdk_device_get_display
gdk_device_get_has_cursor
gdk_device_get_n_axes
gdk_device_get_n_keys
gdk_device_get_axes
gdk_device_get_seat
gdk_device_get_state
gdk_device_get_surface_at_position
gdk_device_get_history
gdk_device_free_history
GdkTimeCoord
gdk_device_get_axis
gdk_device_list_axes
gdk_device_get_axis_value
gdk_device_get_last_event_surface
gdk_device_tool_get_serial
gdk_device_tool_get_tool_type
gdk_device_tool_get_hardware_id
GDK_TYPE_AXIS_USE
GDK_TYPE_EXTENSION_MODE
GDK_TYPE_INPUT_MODE
GDK_TYPE_INPUT_SOURCE
GDK_TYPE_DEVICE_TYPE
GDK_TYPE_GRAB_OWNERSHIP
GDK_DEVICE
GDK_DEVICE_CLASS
GDK_DEVICE_GET_CLASS
GDK_IS_DEVICE
GDK_IS_DEVICE_CLASS
GDK_TYPE_DEVICE
GDK_DEVICE_TOOL
GDK_IS_DEVICE_TOOL
GdkDeviceClass
gdk_device_get_type
gdk_device_type_get_type
gdk_device_tool_get_type
gdk_device_tool_new
GDK_MAX_TIMECOORD_AXES
GdkDevicePadgdkdevicepad
GdkDevicePad
GdkDevicePadFeature
gdk_device_pad_get_n_groups
gdk_device_pad_get_group_n_modes
gdk_device_pad_get_n_features
gdk_device_pad_get_feature_group
GDK_TYPE_DEVICE_PAD
GDK_DEVICE_PAD
GDK_IS_DEVICE_PAD
GDK_DEVICE_PAD_GET_IFACE
gdk_device_pad_get_type
GdkSeatgdkseat
GdkSeat
GdkSeatCapabilities
GdkGrabStatus
GdkSeatGrabPrepareFunc
gdk_seat_get_display
gdk_seat_get_capabilities
gdk_seat_get_pointer
gdk_seat_get_keyboard
gdk_seat_get_slaves
gdk_seat_get_master_pointers
GDK_SEAT
GDK_IS_SEAT
GDK_TYPE_SEAT
GDK_TYPE_SEAT_CAPABILITIES
gdk_seat_get_type
gdk_seat_capabilities_get_type
Eventsevents
GdkEvent
GdkEventType
GdkEventMask
GdkScrollDirection
GdkCrossingMode
GdkNotifyType
GDK_CURRENT_TIME
GDK_PRIORITY_EVENTS
GDK_PRIORITY_REDRAW
GDK_EVENT_PROPAGATE
GDK_EVENT_STOP
GDK_BUTTON_PRIMARY
GDK_BUTTON_MIDDLE
GDK_BUTTON_SECONDARY
gdk_event_new
gdk_event_copy
gdk_event_get_axes
gdk_event_get_axis
gdk_event_get_button
gdk_event_get_click_count
gdk_event_get_coords
gdk_event_get_keycode
gdk_event_get_keyval
gdk_event_get_scroll_direction
gdk_event_get_scroll_deltas
gdk_event_is_scroll_stop_event
gdk_event_get_state
gdk_event_get_time
gdk_event_get_surface
gdk_event_get_event_type
GdkEventSequence
gdk_event_get_event_sequence
gdk_events_get_angle
gdk_events_get_center
gdk_events_get_distance
gdk_event_triggers_context_menu
gdk_event_get_seat
gdk_event_get_scancode
gdk_event_get_pointer_emulated
gdk_event_get_crossing_detail
gdk_event_get_crossing_mode
gdk_event_get_drop
gdk_event_get_focus_in
gdk_event_get_grab_surface
gdk_event_get_motion_history
gdk_event_get_key_group
gdk_event_get_key_is_modifier
gdk_event_get_pad_axis_value
gdk_event_get_pad_button
gdk_event_get_pad_group_mode
gdk_event_get_touch_emulating_pointer
gdk_event_get_touchpad_angle_delta
gdk_event_get_touchpad_deltas
gdk_event_get_touchpad_gesture_n_fingers
gdk_event_get_touchpad_gesture_phase
gdk_event_get_touchpad_scale
gdk_event_is_sent
gdk_get_show_events
gdk_set_show_events
gdk_event_set_display
gdk_event_get_display
gdk_event_get_device
gdk_event_set_device
gdk_event_get_source_device
gdk_event_set_source_device
gdk_event_get_device_tool
gdk_event_set_device_tool
GDK_TYPE_EVENT
GDK_TYPE_EVENT_MASK
GDK_TYPE_EVENT_TYPE
GDK_TYPE_CROSSING_MODE
GDK_TYPE_SCROLL_DIRECTION
GDK_TYPE_NOTIFY_TYPE
GDK_IS_EVENT
gdk_event_get_type
gdk_event_sequence_get_type
gdkpaintableGdkPaintable
GdkPaintable
GdkPaintableFlags
gdk_paintable_get_current_image
gdk_paintable_snapshot
gdk_paintable_get_flags
gdk_paintable_get_intrinsic_width
gdk_paintable_get_intrinsic_height
gdk_paintable_get_intrinsic_aspect_ratio
gdk_paintable_compute_concrete_size
gdk_paintable_invalidate_contents
gdk_paintable_invalidate_size
gdk_paintable_new_empty
GDK_TYPE_PAINTABLE
gdk_paintable_get_type
Texturestextures
GdkTexture
gdk_texture_new_for_pixbuf
gdk_texture_new_from_resource
gdk_texture_new_from_file
gdk_texture_get_width
gdk_texture_get_height
gdk_texture_download
gdk_texture_save_to_png
GdkMemoryFormat
GDK_MEMORY_DEFAULT
gdk_memory_texture_new
gdk_gl_texture_new
gdk_gl_texture_release
GdkTextureClass
gdk_texture_get_type
GDK_TYPE_TEXTURE
GDK_IS_TEXTURE
GDK_TEXTURE
GdkGLTextureClass
gdk_gl_texture_get_type
GDK_TYPE_GL_TEXTURE
GDK_IS_GL_TEXTURE
GDK_GL_TEXTURE
GdkMemoryTextureClass
gdk_memory_texture_get_type
GDK_TYPE_MEMORY_TEXTURE
GDK_IS_MEMORY_TEXTURE
GDK_MEMORY_TEXTURE
Cursorscursors
GdkCursor
gdk_cursor_new_from_texture
gdk_cursor_new_from_name
gdk_cursor_get_fallback
gdk_cursor_get_name
gdk_cursor_get_texture
gdk_cursor_get_hotspot_x
gdk_cursor_get_hotspot_y
GDK_TYPE_CURSOR
GDK_CURSOR
GDK_IS_CURSOR
gdk_cursor_get_type
Drag and Dropdnd
GdkDrag
GdkDrop
GdkDragCancelReason
gdk_drag_drop_done
gdk_drag_begin
GdkDragAction
GDK_ACTION_ALL
gdk_drag_get_display
gdk_drag_get_actions
gdk_drag_get_selected_action
gdk_drag_get_formats
gdk_drag_get_device
gdk_drag_get_drag_surface
gdk_drag_set_hotspot
gdk_drag_action_is_unique
gdk_drop_get_display
gdk_drop_get_device
gdk_drop_get_surface
gdk_drop_get_formats
gdk_drop_get_actions
gdk_drop_get_drag
gdk_drop_status
gdk_drop_finish
gdk_drop_read_async
gdk_drop_read_finish
gdk_drop_read_value_async
gdk_drop_read_value_finish
gdk_drop_read_text_async
gdk_drop_read_text_finish
GDK_DRAG
GDK_TYPE_DRAG
GDK_IS_DRAG
GDK_DRAG_CLASS
GDK_DRAG_GET_CLASS
GDK_IS_DRAG_CLASS
GDK_TYPE_DRAG_ACTION
GDK_TYPE_DRAG_PROTOCOL
GDK_TYPE_DROP
GDK_DROP
GDK_IS_DROP
GdkDragClass
gdk_drag_get_type
GdkDropClass
gdk_drop_get_type
x_interaction
GDK_SURFACE_XID
GDK_DISPLAY_XDISPLAY
GDK_POINTER_TO_XID
GDK_XID_TO_POINTER
gdk_x11_lookup_xdisplay
gdk_x11_get_server_time
gdk_x11_device_get_id
gdk_x11_device_manager_lookup
gdk_x11_display_open
gdk_x11_display_set_program_class
gdk_x11_display_get_user_time
gdk_x11_display_broadcast_startup_message
gdk_x11_display_get_startup_notification_id
gdk_x11_display_set_startup_notification_id
gdk_x11_display_get_xdisplay
gdk_x11_display_get_xscreen
gdk_x11_display_get_xrootwindow
gdk_x11_display_get_xcursor
gdk_x11_display_grab
gdk_x11_display_ungrab
gdk_x11_display_error_trap_push
gdk_x11_display_error_trap_pop
gdk_x11_display_error_trap_pop_ignored
gdk_x11_display_set_cursor_theme
gdk_x11_display_set_surface_scale
gdk_x11_display_get_glx_version
gdk_x11_register_standard_event_type
gdk_x11_screen_get_screen_number
gdk_x11_screen_get_xscreen
gdk_x11_screen_get_window_manager_name
gdk_x11_screen_get_monitor_output
gdk_x11_screen_lookup_visual
gdk_x11_screen_supports_net_wm_hint
gdk_x11_screen_get_number_of_desktops
gdk_x11_screen_get_current_desktop
gdk_x11_surface_lookup_for_display
gdk_x11_surface_get_xid
gdk_x11_surface_set_theme_variant
gdk_x11_surface_set_user_time
gdk_x11_surface_move_to_current_desktop
gdk_x11_surface_move_to_desktop
gdk_x11_surface_get_desktop
gdk_x11_surface_set_utf8_property
gdk_x11_surface_set_frame_sync_enabled
gdk_x11_keymap_get_group_for_state
gdk_x11_keymap_key_is_modifier
gdk_x11_visual_get_xvisual
gdk_x11_atom_to_xatom_for_display
gdk_x11_xatom_to_atom_for_display
gdk_x11_get_xatom_by_name_for_display
gdk_x11_get_xatom_name_for_display
gdk_x11_set_sm_client_id
gdk_x11_display_text_property_to_text_list
gdk_x11_free_text_list
gdk_x11_display_string_to_compound_text
gdk_x11_display_utf8_to_compound_text
gdk_x11_free_compound_text
GDK_TYPE_X11_APP_LAUNCH_CONTEXT
GDK_X11_APP_LAUNCH_CONTEXT
GDK_X11_APP_LAUNCH_CONTEXT_CLASS
GDK_IS_X11_APP_LAUNCH_CONTEXT
GDK_IS_X11_APP_LAUNCH_CONTEXT_CLASS
GDK_X11_APP_LAUNCH_CONTEXT_GET_CLASS
GDK_TYPE_X11_DEVICE_MANAGER_XI2
GDK_X11_DEVICE_MANAGER_XI2
GDK_X11_DEVICE_MANAGER_XI2_CLASS
GDK_IS_X11_DEVICE_MANAGER_XI2
GDK_IS_X11_DEVICE_MANAGER_XI2_CLASS
GDK_X11_DEVICE_MANAGER_XI2_GET_CLASS
GDK_TYPE_X11_DEVICE_MANAGER_XI
GDK_X11_DEVICE_MANAGER_XI
GDK_X11_DEVICE_MANAGER_XI_CLASS
GDK_IS_X11_DEVICE_MANAGER_XI
GDK_IS_X11_DEVICE_MANAGER_XI_CLASS
GDK_X11_DEVICE_MANAGER_XI_GET_CLASS
GDK_TYPE_X11_DEVICE_XI2
GDK_X11_DEVICE_XI2
GDK_X11_DEVICE_XI2_CLASS
GDK_IS_X11_DEVICE_XI2
GDK_IS_X11_DEVICE_XI2_CLASS
GDK_X11_DEVICE_XI2_GET_CLASS
GDK_TYPE_X11_DEVICE_XI
GDK_X11_DEVICE_XI
GDK_X11_DEVICE_XI_CLASS
GDK_IS_X11_DEVICE_XI
GDK_IS_X11_DEVICE_XI_CLASS
GDK_X11_DEVICE_XI_GET_CLASS
GDK_TYPE_X11_DISPLAY
GDK_X11_DISPLAY
GDK_X11_DISPLAY_CLASS
GDK_IS_X11_DISPLAY
GDK_IS_X11_DISPLAY_CLASS
GDK_X11_DISPLAY_GET_CLASS
GDK_TYPE_X11_DRAG_CONTEXT
GDK_X11_DRAG_CONTEXT
GDK_X11_DRAG_CONTEXT_CLASS
GDK_IS_X11_DRAG_CONTEXT
GDK_IS_X11_DRAG_CONTEXT_CLASS
GDK_X11_DRAG_CONTEXT_GET_CLASS
GDK_TYPE_X11_KEYMAP
GDK_X11_KEYMAP
GDK_X11_KEYMAP_CLASS
GDK_IS_X11_KEYMAP
GDK_IS_X11_KEYMAP_CLASS
GDK_X11_KEYMAP_GET_CLASS
GDK_TYPE_X11_GL_CONTEXT
GDK_X11_GL_CONTEXT
GDK_X11_GL_CONTEXT_CLASS
GDK_IS_X11_GL_CONTEXT
GDK_IS_X11_GL_CONTEXT_CLASS
GDK_TYPE_X11_SCREEN
GDK_X11_SCREEN
GDK_X11_SCREEN_CLASS
GDK_IS_X11_SCREEN
GDK_IS_X11_SCREEN_CLASS
GDK_X11_SCREEN_GET_CLASS
GDK_TYPE_X11_VISUAL
GDK_X11_VISUAL
GDK_X11_VISUAL_CLASS
GDK_IS_X11_VISUAL
GDK_IS_X11_VISUAL_CLASS
GDK_X11_VISUAL_GET_CLASS
GDK_TYPE_X11_SURFACE
GDK_X11_SURFACE
GDK_X11_SURFACE_CLASS
GDK_IS_X11_SURFACE
GDK_IS_X11_SURFACE_CLASS
GDK_X11_SURFACE_GET_CLASS
gdk_x11_app_launch_context_get_type
gdk_x11_cursor_get_type
gdk_x11_device_manager_xi2_get_type
gdk_x11_device_manager_xi_get_type
gdk_x11_device_xi2_get_type
gdk_x11_device_xi_get_type
gdk_x11_display_get_type
gdk_x11_display_manager_get_type
gdk_x11_drag_context_get_type
gdk_x11_keymap_get_type
gdk_x11_screen_get_type
gdk_x11_visual_get_type
gdk_x11_surface_get_type
gdk_surface_impl_x11_get_type
wayland_interaction
gdk_wayland_seat_get_wl_seat
gdk_wayland_device_get_wl_keyboard
gdk_wayland_device_get_wl_pointer
gdk_wayland_device_get_wl_seat
gdk_wayland_display_get_wl_compositor
gdk_wayland_display_get_wl_display
gdk_wayland_display_query_registry
gdk_wayland_surface_get_wl_surface
GdkWaylandSurfaceExported
gdk_wayland_surface_export_handle
gdk_wayland_surface_unexport_handle
gdk_wayland_surface_set_transient_for_exported
GDK_TYPE_WAYLAND_DEVICE
GDK_WAYLAND_DEVICE
GDK_WAYLAND_DEVICE_CLASS
GDK_WAYLAND_DEVICE_GET_CLASS
GDK_IS_WAYLAND_DEVICE
GDK_IS_WAYLAND_DEVICE_CLASS
GDK_TYPE_WAYLAND_DISPLAY
GDK_WAYLAND_DISPLAY
GDK_WAYLAND_DISPLAY_CLASS
GDK_WAYLAND_DISPLAY_GET_CLASS
GDK_IS_WAYLAND_DISPLAY
GDK_IS_WAYLAND_DISPLAY_CLASS
GDK_TYPE_WAYLAND_DISPLAY_MANAGER
GDK_WAYLAND_DISPLAY_MANAGER
GDK_WAYLAND_DISPLAY_MANAGER_CLASS
GDK_WAYLAND_DISPLAY_MANAGER_GET_CLASS
GDK_IS_WAYLAND_DISPLAY_MANAGER
GDK_IS_WAYLAND_DISPLAY_MANAGER_CLASS
GDK_TYPE_WAYLAND_SURFACE
GDK_WAYLAND_SURFACE
GDK_WAYLAND_SURFACE_CLASS
GDK_WAYLAND_SURFACE_GET_CLASS
GDK_IS_WAYLAND_SURFACE
GDK_IS_WAYLAND_SURFACE_CLASS
gdk_wayland_device_get_type
gdk_wayland_display_get_type
gdk_wayland_display_manager_get_type
gdk_wayland_surface_get_type
Application launchinggdkapplaunchcontext
GdkAppLaunchContext
gdk_app_launch_context_set_desktop
gdk_app_launch_context_set_timestamp
gdk_app_launch_context_set_icon
gdk_app_launch_context_set_icon_name
GDK_APP_LAUNCH_CONTEXT
GDK_APP_LAUNCH_CONTEXT_CLASS
GDK_APP_LAUNCH_CONTEXT_GET_CLASS
GDK_IS_APP_LAUNCH_CONTEXT
GDK_IS_APP_LAUNCH_CONTEXT_CLASS
GDK_TYPE_APP_LAUNCH_CONTEXT
GdkAppLaunchContextClass
gdk_app_launch_context_get_type
GdkFrameClockgdkframeclock
GdkFrameClock
gdk_frame_clock_get_frame_time
GdkFrameClockPhase
gdk_frame_clock_request_phase
gdk_frame_clock_begin_updating
gdk_frame_clock_end_updating
gdk_frame_clock_get_frame_counter
gdk_frame_clock_get_history_start
gdk_frame_clock_get_timings
gdk_frame_clock_get_current_timings
gdk_frame_clock_get_refresh_info
GDK_FRAME_CLOCK
GDK_FRAME_CLOCK_CLASS
GDK_FRAME_CLOCK_GET_CLASS
GDK_FRAME_CLOCK_IDLE
GDK_FRAME_CLOCK_IDLE_CLASS
GDK_FRAME_CLOCK_IDLE_GET_CLASS
GDK_IS_FRAME_CLOCK
GDK_IS_FRAME_CLOCK_CLASS
GDK_IS_FRAME_CLOCK_IDLE
GDK_IS_FRAME_CLOCK_IDLE_CLASS
GdkFrameClockPrivate
gdk_frame_clock_get_type
gdk_frame_clock_idle_get_type
GdkFrameTimingsgdkframetimings
GdkFrameTimings
gdk_frame_timings_ref
gdk_frame_timings_unref
gdk_frame_timings_get_frame_counter
gdk_frame_timings_get_complete
gdk_frame_timings_get_frame_time
gdk_frame_timings_get_presentation_time
gdk_frame_timings_get_refresh_interval
gdk_frame_timings_get_predicted_presentation_time
gdk_frame_timings_get_type
gdkdrawcontext
GdkDrawContext
gdk_draw_context_get_display
gdk_draw_context_get_surface
gdk_draw_context_begin_frame
gdk_draw_context_end_frame
gdk_draw_context_is_in_frame
gdk_draw_context_get_frame_region
GDK_DRAW_CONTEXT
GDK_IS_DRAW_CONTEXT
GDK_TYPE_DRAW_CONTEXT
GDK_DRAW_CONTEXT_CLASS
GDK_DRAW_CONTEXT_GET_CLASS
GDK_IS_DRAW_CONTEXT_CLASS
gdk_draw_context_get_type
gdkglcontext
GdkGLContext
gdk_gl_context_get_display
gdk_gl_context_get_surface
gdk_gl_context_get_shared_context
gdk_gl_context_get_version
gdk_gl_context_set_required_version
gdk_gl_context_get_required_version
gdk_gl_context_set_debug_enabled
gdk_gl_context_get_debug_enabled
gdk_gl_context_set_forward_compatible
gdk_gl_context_get_forward_compatible
gdk_gl_context_set_use_es
gdk_gl_context_get_use_es
gdk_gl_context_is_legacy
GdkGLError
gdk_gl_context_realize
gdk_gl_context_make_current
gdk_gl_context_get_current
gdk_gl_context_clear_current
GDK_GL_CONTEXT
GDK_IS_GL_CONTEXT
GDK_TYPE_GL_CONTEXT
GDK_GL_CONTEXT_CLASS
GDK_GL_CONTEXT_GET_CLASS
GDK_IS_GL_CONTEXT_CLASS
gdk_gl_context_get_type
gdk_gl_error_quark
GDK_GL_ERROR
GDK_TYPE_GL_ERROR
GDK_TYPE_GL_PROFILE
gdkmonitor
GdkMonitor
gdk_monitor_get_display
gdk_monitor_get_geometry
gdk_monitor_get_workarea
gdk_monitor_get_width_mm
gdk_monitor_get_height_mm
gdk_monitor_get_manufacturer
gdk_monitor_get_model
gdk_monitor_get_connector
gdk_monitor_get_scale_factor
gdk_monitor_get_refresh_rate
GdkSubpixelLayout
gdk_monitor_get_subpixel_layout
gdk_monitor_is_valid
gdk_monitor_get_type
GdkMonitorClass
GDK_TYPE_MONITOR
GDK_MONITOR
GDK_IS_MONITOR
gdkcairocontext
GdkCairoContext
gdk_cairo_context_cairo_create
gdk_cairo_context_get_type
gdkvulkancontext
GdkVulkanContext
GdkVulkanError
gdk_vulkan_context_get_device
gdk_vulkan_context_get_draw_index
gdk_vulkan_context_get_draw_semaphore
gdk_vulkan_context_get_image
gdk_vulkan_context_get_image_format
gdk_vulkan_context_get_instance
gdk_vulkan_context_get_n_images
gdk_vulkan_context_get_physical_device
gdk_vulkan_context_get_queue
gdk_vulkan_context_get_queue_family_index
gdk_vulkan_context_get_type
gdk_vulkan_error_quark
gdk_vulkan_strerror
gdkclipboard
GdkClipboard
gdk_clipboard_get_display
gdk_clipboard_get_formats
gdk_clipboard_is_local
gdk_clipboard_get_content
gdk_clipboard_store_async
gdk_clipboard_store_finish
gdk_clipboard_read_async
gdk_clipboard_read_finish
gdk_clipboard_read_value_async
gdk_clipboard_read_value_finish
gdk_clipboard_read_texture_async
gdk_clipboard_read_texture_finish
gdk_clipboard_read_text_async
gdk_clipboard_read_text_finish
gdk_clipboard_set_content
gdk_clipboard_set
gdk_clipboard_set_valist
gdk_clipboard_set_value
gdk_clipboard_set_text
gdk_clipboard_set_texture
GDK_TYPE_CLIPBOARD
GDK_CLIPBOARD
GDK_IS_CLIPBOARD
gdk_clipboard_get_type
gdkcontentprovider
GdkContentProvider
GdkContentProviderClass
gdk_content_provider_new_for_value
gdk_content_provider_new_for_bytes
gdk_content_provider_ref_formats
gdk_content_provider_ref_storable_formats
gdk_content_provider_content_changed
gdk_content_provider_write_mime_type_async
gdk_content_provider_write_mime_type_finish
gdk_content_provider_get_value
GDK_CONTENT_PROVIDER
GDK_CONTENT_PROVIDER_CLASS
GDK_CONTENT_PROVIDER_GET_CLASS
GDK_IS_CONTENT_PROVIDER
GDK_IS_CONTENT_PROVIDER_CLASS
gdk_content_provider_get_type
gdkcontentserializer
GdkContentSerializer
GdkContentSerializeFunc
gdk_content_serializer_get_mime_type
gdk_content_serializer_get_gtype
gdk_content_serializer_get_value
gdk_content_serializer_get_output_stream
gdk_content_serializer_get_priority
gdk_content_serializer_get_cancellable
gdk_content_serializer_get_user_data
gdk_content_serializer_set_task_data
gdk_content_serializer_get_task_data
gdk_content_serializer_return_success
gdk_content_serializer_return_error
gdk_content_register_serializer
gdk_content_serialize_async
gdk_content_serialize_finish
GDK_TYPE_CONTENT_SERIALIZER
GDK_CONTENT_SERIALIZER
GDK_IS_CONTENT_SERIALIZER
gdk_content_serializer_get_type
gdkcontentdeserializer
GdkContentDeserializer
GdkContentDeserializeFunc
gdk_content_deserializer_get_mime_type
gdk_content_deserializer_get_gtype
gdk_content_deserializer_get_value
gdk_content_deserializer_get_input_stream
gdk_content_deserializer_get_priority
gdk_content_deserializer_get_cancellable
gdk_content_deserializer_get_user_data
gdk_content_deserializer_set_task_data
gdk_content_deserializer_get_task_data
gdk_content_deserializer_return_success
gdk_content_deserializer_return_error
gdk_content_register_deserializer
gdk_content_deserialize_async
gdk_content_deserialize_finish
GDK_TYPE_CONTENT_DESERIALIZER
GDK_CONTENT_DESERIALIZER
GDK_IS_CONTENT_DESERIALIZER
gdk_content_deserializer_get_type
docs/reference/gdk/gdk4-overrides.txt 0000664 0001750 0001750 00000001023 13620320467 017732 0 ustar mclasen mclasen
# GdkAtom is an opaque typedef
GdkAtom
typedef struct _GdkAtom *GdkAtom;
GDK_WINDOWING_X11
#define GDK_WINDOWING_X11
GDK_WINDOWING_WIN32
#define GDK_WINDOWING_WIN32
GDK_WINDOWING_QUARTZ
#define GDK_WINDOWING_QUARTZ
GDK_WINDOWING_WAYLAND
#define GDK_WINDOWING_WAYLAND
GDK_DISABLE_DEPRECATION_WARNINGS
#define GDK_DISABLE_DEPRECATION_WARNINGS
docs/reference/gdk/gdk4-decl-list.txt 0000664 0001750 0001750 00000127450 13617646444 017641 0 ustar mclasen mclasen MwmUtil
MotifWmInfo
MwmInfo
MWM_INFO_STARTUP_STANDARD
MWM_INFO_STARTUP_CUSTOM
PropMotifWmHints
PropMwmHints
PROP_MOTIF_WM_HINTS_ELEMENTS
PROP_MWM_HINTS_ELEMENTS
PropMotifWmInfo
PropMwmInfo
PROP_MOTIF_WM_INFO_ELEMENTS
PROP_MWM_INFO_ELEMENTS
filetransferportalprivate
file_transfer_portal_register
file_transfer_portal_register_files
file_transfer_portal_register_files_finish
file_transfer_portal_retrieve_files
file_transfer_portal_retrieve_files_finish
gdkgdk-autocleanupgdkapplaunchcontext
gdk_app_launch_context_set_desktop
gdk_app_launch_context_set_timestamp
gdk_app_launch_context_set_icon
gdk_app_launch_context_set_icon_name
GDK_APP_LAUNCH_CONTEXT
GDK_IS_APP_LAUNCH_CONTEXT
GDK_TYPE_APP_LAUNCH_CONTEXT
gdk_app_launch_context_get_type
gdkasync
GdkSendXEventCallback
GdkRoundTripCallback
GdkChildInfoX11
gdkcairo
gdk_cairo_get_clip_rectangle
gdk_cairo_set_source_rgba
gdk_cairo_set_source_pixbuf
gdk_cairo_rectangle
gdk_cairo_region
gdk_cairo_region_create_from_surface
gdk_cairo_draw_from_gl
gdk_cairo_surface_upload_to_gl
gdkcairocontext
GDK_CAIRO_ERROR
gdk_cairo_context_cairo_create
GDK_CAIRO_CONTEXT
GDK_IS_CAIRO_CONTEXT
GDK_TYPE_CAIRO_CONTEXT
gdk_cairo_context_get_type
gdkcairocontext-waylandGdkWaylandCairoContext
GDK_IS_WAYLAND_CAIRO_CONTEXT
GDK_IS_WAYLAND_CAIRO_CONTEXT_CLASS
GDK_TYPE_WAYLAND_CAIRO_CONTEXT
GDK_WAYLAND_CAIRO_CONTEXT
GDK_WAYLAND_CAIRO_CONTEXT_CLASS
GDK_WAYLAND_CAIRO_CONTEXT_GET_CLASS
GdkWaylandCairoContext
GdkWaylandCairoContextClass
gdk_wayland_cairo_context_get_type
gdkcairocontext-x11GdkX11CairoContext
GDK_IS_X11_CAIRO_CONTEXT
GDK_IS_X11_CAIRO_CONTEXT_CLASS
GDK_TYPE_X11_CAIRO_CONTEXT
GDK_X11_CAIRO_CONTEXT
GDK_X11_CAIRO_CONTEXT_CLASS
GDK_X11_CAIRO_CONTEXT_GET_CLASS
GdkX11CairoContext
GdkX11CairoContextClass
gdk_x11_cairo_context_get_type
gdkcairocontextprivateGdkCairoContext
GDK_CAIRO_CONTEXT_CLASS
GDK_CAIRO_CONTEXT_GET_CLASS
GDK_IS_CAIRO_CONTEXT_CLASS
GdkCairoContext
GdkCairoContextClass
gdkclipboard
gdk_clipboard_get_display
gdk_clipboard_get_formats
gdk_clipboard_is_local
gdk_clipboard_get_content
gdk_clipboard_store_async
gdk_clipboard_store_finish
gdk_clipboard_read_async
gdk_clipboard_read_finish
gdk_clipboard_read_value_async
gdk_clipboard_read_value_finish
gdk_clipboard_read_texture_async
gdk_clipboard_read_texture_finish
gdk_clipboard_read_text_async
gdk_clipboard_read_text_finish
gdk_clipboard_set_content
gdk_clipboard_set
gdk_clipboard_set_valist
gdk_clipboard_set_value
gdk_clipboard_set_text
gdk_clipboard_set_texture
GDK_CLIPBOARD
GDK_IS_CLIPBOARD
GDK_TYPE_CLIPBOARD
gdk_clipboard_get_type
gdkclipboard-wayland
gdk_wayland_clipboard_new
gdk_wayland_clipboard_claim_remote
GDK_IS_WAYLAND_CLIPBOARD
GDK_TYPE_WAYLAND_CLIPBOARD
GDK_WAYLAND_CLIPBOARD
GdkWaylandClipboard
gdk_wayland_clipboard_get_type
gdkclipboard-x11
gdk_x11_clipboard_new
gdk_x11_clipboard_formats_to_targets
gdk_x11_clipboard_formats_to_atoms
GDK_IS_X11_CLIPBOARD
GDK_TYPE_X11_CLIPBOARD
GDK_X11_CLIPBOARD
GdkX11Clipboard
gdk_x11_clipboard_get_type
gdkconfig
GDK_WINDOWING_X11
GDK_WINDOWING_WAYLAND
GDK_RENDERING_VULKAN
gdkconstructor
G_DEFINE_CONSTRUCTOR
G_DEFINE_DESTRUCTOR
G_MSVC_CTOR
G_MSVC_DTOR
G_HAS_CONSTRUCTORS
G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA
G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA
G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS
G_DEFINE_DESTRUCTOR_PRAGMA_ARGS
gdkcontentdeserializer
GdkContentDeserializeFunc
gdk_content_deserializer_get_mime_type
gdk_content_deserializer_get_gtype
gdk_content_deserializer_get_value
gdk_content_deserializer_get_input_stream
gdk_content_deserializer_get_priority
gdk_content_deserializer_get_cancellable
gdk_content_deserializer_get_user_data
gdk_content_deserializer_set_task_data
gdk_content_deserializer_get_task_data
gdk_content_deserializer_return_success
gdk_content_deserializer_return_error
gdk_content_formats_union_deserialize_gtypes
gdk_content_formats_union_deserialize_mime_types
gdk_content_register_deserializer
gdk_content_deserialize_async
gdk_content_deserialize_finish
GdkContentDeserializer
GDK_CONTENT_DESERIALIZER
GDK_IS_CONTENT_DESERIALIZER
GDK_TYPE_CONTENT_DESERIALIZER
gdk_content_deserializer_get_type
gdkcontentformats
gdk_intern_mime_type
gdk_content_formats_new
gdk_content_formats_new_for_gtype
gdk_content_formats_ref
gdk_content_formats_unref
gdk_content_formats_print
gdk_content_formats_to_string
gdk_content_formats_get_gtypes
gdk_content_formats_get_mime_types
gdk_content_formats_union
gdk_content_formats_match
gdk_content_formats_match_gtype
gdk_content_formats_match_mime_type
gdk_content_formats_contain_gtype
gdk_content_formats_contain_mime_type
gdk_content_formats_builder_new
gdk_content_formats_builder_ref
gdk_content_formats_builder_unref
gdk_content_formats_builder_free_to_formats
gdk_content_formats_builder_to_formats
gdk_content_formats_builder_add_formats
gdk_content_formats_builder_add_mime_type
gdk_content_formats_builder_add_gtype
GDK_TYPE_CONTENT_FORMATS
GDK_TYPE_CONTENT_FORMATS_BUILDER
GDK_TYPE_FILE_LIST
GdkContentFormatsBuilder
gdk_content_formats_builder_get_type
gdk_content_formats_get_type
gdk_file_list_get_type
gdkcontentproviderGdkContentProvider
GdkContentProvider
gdk_content_provider_ref_formats
gdk_content_provider_ref_storable_formats
gdk_content_provider_content_changed
gdk_content_provider_write_mime_type_async
gdk_content_provider_write_mime_type_finish
gdk_content_provider_get_value
GDK_CONTENT_PROVIDER
GDK_CONTENT_PROVIDER_CLASS
GDK_CONTENT_PROVIDER_GET_CLASS
GDK_IS_CONTENT_PROVIDER
GDK_IS_CONTENT_PROVIDER_CLASS
GDK_TYPE_CONTENT_PROVIDER
GdkContentProviderClass
gdk_content_provider_get_type
gdkcontentproviderimpl
gdk_content_provider_new_for_value
gdk_content_provider_new_for_bytes
GdkContentProviderGetValueFunc
gdk_content_provider_new_with_callback
GdkContentProviderGetBytesFunc
gdk_content_provider_new_with_formats
gdkcontentserializer
GdkContentSerializeFunc
gdk_content_serializer_get_mime_type
gdk_content_serializer_get_gtype
gdk_content_serializer_get_value
gdk_content_serializer_get_output_stream
gdk_content_serializer_get_priority
gdk_content_serializer_get_cancellable
gdk_content_serializer_get_user_data
gdk_content_serializer_set_task_data
gdk_content_serializer_get_task_data
gdk_content_serializer_return_success
gdk_content_serializer_return_error
gdk_content_formats_union_serialize_gtypes
gdk_content_formats_union_serialize_mime_types
gdk_content_register_serializer
gdk_content_serialize_async
gdk_content_serialize_finish
GdkContentSerializer
GDK_CONTENT_SERIALIZER
GDK_IS_CONTENT_SERIALIZER
GDK_TYPE_CONTENT_SERIALIZER
gdk_content_serializer_get_type
gdkcursor
gdk_cursor_new_from_texture
gdk_cursor_new_from_name
gdk_cursor_get_fallback
gdk_cursor_get_name
gdk_cursor_get_texture
gdk_cursor_get_hotspot_x
gdk_cursor_get_hotspot_y
GDK_CURSOR
GDK_IS_CURSOR
GDK_TYPE_CURSOR
gdk_cursor_get_type
gdkdevice
GdkInputSource
GdkInputMode
GdkDeviceType
GDK_MAX_TIMECOORD_AXES
GdkTimeCoord
gdk_device_get_name
gdk_device_get_has_cursor
gdk_device_get_source
gdk_device_get_mode
gdk_device_set_mode
gdk_device_get_n_keys
gdk_device_get_key
gdk_device_set_key
gdk_device_get_axis_use
gdk_device_set_axis_use
gdk_device_get_state
gdk_device_get_surface_at_position
gdk_device_get_history
gdk_device_free_history
gdk_device_get_n_axes
gdk_device_list_axes
gdk_device_get_axis_value
gdk_device_get_axis
gdk_device_get_display
gdk_device_get_associated_device
gdk_device_list_slave_devices
gdk_device_get_device_type
gdk_device_get_last_event_surface
gdk_device_get_vendor_id
gdk_device_get_product_id
gdk_device_get_seat
gdk_device_get_axes
GDK_DEVICE
GDK_IS_DEVICE
GDK_TYPE_DEVICE
gdk_device_get_type
gdkdevicemanagerprivate-coreGdkX11DeviceManagerCore
GdkX11DeviceManagerCore
GdkX11DeviceManagerCoreClass
gdkdevicepadGdkDevicePad
GdkDevicePadFeature
gdk_device_pad_get_n_groups
gdk_device_pad_get_group_n_modes
gdk_device_pad_get_n_features
gdk_device_pad_get_feature_group
GDK_DEVICE_PAD
GDK_IS_DEVICE_PAD
GDK_TYPE_DEVICE_PAD
GdkDevicePad
GdkDevicePadInterface
gdk_device_pad_get_type
gdkdevicetool
GdkDeviceToolType
gdk_device_tool_get_serial
gdk_device_tool_get_hardware_id
gdk_device_tool_get_tool_type
GDK_DEVICE_TOOL
GDK_IS_DEVICE_TOOL
GDK_TYPE_DEVICE_TOOL
GdkDeviceTool
gdk_device_tool_get_type
gdkdisplay
gdk_display_open
gdk_display_get_name
gdk_display_device_is_grabbed
gdk_display_beep
gdk_display_sync
gdk_display_flush
gdk_display_close
gdk_display_is_closed
gdk_display_is_composited
gdk_display_is_rgba
gdk_display_get_event
gdk_display_peek_event
gdk_display_put_event
gdk_display_has_pending
gdk_display_get_default
gdk_display_get_default_group
gdk_display_get_clipboard
gdk_display_get_primary_clipboard
gdk_display_supports_shapes
gdk_display_supports_input_shapes
gdk_display_notify_startup_complete
gdk_display_get_startup_notification_id
gdk_display_get_app_launch_context
gdk_display_get_default_seat
gdk_display_list_seats
gdk_display_get_n_monitors
gdk_display_get_monitor
gdk_display_get_monitor_at_surface
gdk_display_get_keymap
gdk_display_get_setting
GDK_DISPLAY
GDK_IS_DISPLAY
GDK_TYPE_DISPLAY
gdk_display_get_type
gdkdisplay-waylandGdkWaylandDisplay
GDK_WAYLAND_MAX_THEME_SCALE
GDK_WAYLAND_THEME_SCALES_COUNT
GDK_ZWP_POINTER_GESTURES_V1_VERSION
GsdXftSettings
GdkWaylandShellVariant
GdkWaylandDisplay
GdkWaylandDisplayClass
GdkWaylandSelection
gdkdisplay-x11GdkX11Display
GdkX11Display
GdkX11DisplayClass
gdk_x11_display_get_max_request_size
gdk_x11_display_request_selection_notification
gdkdisplaymanager
gdk_display_manager_get
gdk_display_manager_get_default_display
gdk_display_manager_set_default_display
gdk_display_manager_list_displays
gdk_display_manager_open_display
gdk_set_allowed_backends
GDK_DISPLAY_MANAGER
GDK_IS_DISPLAY_MANAGER
GDK_TYPE_DISPLAY_MANAGER
gdk_display_manager_get_type
gdkdrag
GdkDragCancelReason
gdk_drag_get_display
gdk_drag_get_device
gdk_drag_get_formats
gdk_drag_get_actions
gdk_drag_get_selected_action
gdk_drag_action_is_unique
gdk_drag_begin
gdk_drag_drop_done
gdk_drag_get_drag_surface
gdk_drag_set_hotspot
GDK_DRAG
GDK_IS_DRAG
GDK_TYPE_DRAG
gdk_drag_get_type
gdkdrawcontext
gdk_draw_context_get_display
gdk_draw_context_get_surface
gdk_draw_context_begin_frame
gdk_draw_context_end_frame
gdk_draw_context_is_in_frame
gdk_draw_context_get_frame_region
GDK_DRAW_CONTEXT
GDK_IS_DRAW_CONTEXT
GDK_TYPE_DRAW_CONTEXT
gdk_draw_context_get_type
gdkdrop
gdk_drop_get_display
gdk_drop_get_device
gdk_drop_get_surface
gdk_drop_get_formats
gdk_drop_get_actions
gdk_drop_get_drag
gdk_drop_status
gdk_drop_finish
gdk_drop_read_async
gdk_drop_read_finish
gdk_drop_read_value_async
gdk_drop_read_value_finish
gdk_drop_read_text_async
gdk_drop_read_text_finish
gdk_drop_has_value
GDK_DROP
GDK_IS_DROP
GDK_TYPE_DROP
gdk_drop_get_type
gdkenumtypes
GDK_TYPE_INPUT_SOURCE
GDK_TYPE_INPUT_MODE
GDK_TYPE_DEVICE_TYPE
GDK_TYPE_DEVICE_PAD_FEATURE
GDK_TYPE_DEVICE_TOOL_TYPE
GDK_TYPE_DRAG_CANCEL_REASON
GDK_TYPE_EVENT_TYPE
GDK_TYPE_TOUCHPAD_GESTURE_PHASE
GDK_TYPE_SCROLL_DIRECTION
GDK_TYPE_NOTIFY_TYPE
GDK_TYPE_CROSSING_MODE
GDK_TYPE_FRAME_CLOCK_PHASE
GDK_TYPE_MEMORY_FORMAT
GDK_TYPE_SUBPIXEL_LAYOUT
GDK_TYPE_PAINTABLE_FLAGS
GDK_TYPE_SEAT_CAPABILITIES
GDK_TYPE_SURFACE_TYPE
GDK_TYPE_SURFACE_HINTS
GDK_TYPE_WM_DECORATION
GDK_TYPE_WM_FUNCTION
GDK_TYPE_GRAVITY
GDK_TYPE_ANCHOR_HINTS
GDK_TYPE_SURFACE_EDGE
GDK_TYPE_FULLSCREEN_MODE
GDK_TYPE_SURFACE_STATE
GDK_TYPE_BYTE_ORDER
GDK_TYPE_MODIFIER_TYPE
GDK_TYPE_MODIFIER_INTENT
GDK_TYPE_GRAB_STATUS
GDK_TYPE_GRAB_OWNERSHIP
GDK_TYPE_EVENT_MASK
GDK_TYPE_GL_ERROR
GDK_TYPE_VULKAN_ERROR
GDK_TYPE_SURFACE_TYPE_HINT
GDK_TYPE_AXIS_USE
GDK_TYPE_AXIS_FLAGS
GDK_TYPE_DRAG_ACTION
gdkevents
GDK_PRIORITY_EVENTS
GDK_PRIORITY_REDRAW
GDK_EVENT_PROPAGATE
GDK_EVENT_STOP
GDK_BUTTON_PRIMARY
GDK_BUTTON_MIDDLE
GDK_BUTTON_SECONDARY
GdkEventType
GdkTouchpadGesturePhase
GdkScrollDirection
GdkNotifyType
GdkCrossingMode
gdk_event_new
gdk_event_copy
gdk_event_get_surface
gdk_event_get_time
gdk_event_get_state
gdk_event_get_coords
gdk_event_set_coords
gdk_event_get_button
gdk_event_get_click_count
gdk_event_get_keyval
gdk_event_set_keyval
gdk_event_get_keycode
gdk_event_get_key_is_modifier
gdk_event_get_key_group
gdk_event_get_scroll_direction
gdk_event_get_scroll_deltas
gdk_event_is_scroll_stop_event
gdk_event_get_axis
gdk_event_set_device
gdk_event_get_device
gdk_event_set_source_device
gdk_event_get_source_device
gdk_event_triggers_context_menu
gdk_events_get_distance
gdk_events_get_angle
gdk_events_get_center
gdk_event_set_display
gdk_event_get_display
gdk_event_get_event_sequence
gdk_event_get_event_type
gdk_event_get_seat
gdk_set_show_events
gdk_get_show_events
gdk_event_get_device_tool
gdk_event_set_device_tool
gdk_event_get_scancode
gdk_event_get_pointer_emulated
gdk_event_is_sent
gdk_event_get_drop
gdk_event_get_crossing_mode
gdk_event_get_crossing_detail
gdk_event_get_touchpad_gesture_phase
gdk_event_get_touchpad_gesture_n_fingers
gdk_event_get_touchpad_deltas
gdk_event_get_touchpad_angle_delta
gdk_event_get_touchpad_scale
gdk_event_get_touch_emulating_pointer
gdk_event_get_grab_surface
gdk_event_get_focus_in
gdk_event_get_pad_group_mode
gdk_event_get_pad_button
gdk_event_get_pad_axis_value
gdk_event_get_axes
gdk_event_get_motion_history
GdkEventAny
GdkEventButton
GdkEventConfigure
GdkEventCrossing
GdkEventDND
GdkEventFocus
GdkEventGrabBroken
GdkEventKey
GdkEventMotion
GdkEventPadAxis
GdkEventPadButton
GdkEventPadGroupMode
GdkEventProximity
GdkEventScroll
GdkEventSetting
GdkEventTouch
GdkEventTouchpadPinch
GdkEventTouchpadSwipe
GDK_EVENT
GDK_IS_EVENT
GDK_TYPE_EVENT
GDK_TYPE_EVENT_SEQUENCE
GdkEvent
GdkEventSequence
gdk_event_get_type
gdk_event_sequence_get_type
gdkeventsource
gdk_x11_event_source_new
gdk_x11_event_source_add_translator
gdk_x11_event_source_select_events
gdk_event_source_xevent
GdkEventSource
gdkeventtranslatorGdkEventTranslator
GDK_EVENT_TRANSLATOR
GDK_EVENT_TRANSLATOR_GET_IFACE
GDK_IS_EVENT_TRANSLATOR
GDK_TYPE_EVENT_TRANSLATOR
GdkEventTranslator
GdkEventTranslatorIface
gdkframeclockGdkFrameClock
GdkFrameClockPhase
gdk_frame_clock_get_frame_time
gdk_frame_clock_request_phase
gdk_frame_clock_begin_updating
gdk_frame_clock_end_updating
gdk_frame_clock_get_frame_counter
gdk_frame_clock_get_history_start
gdk_frame_clock_get_timings
gdk_frame_clock_get_current_timings
gdk_frame_clock_get_refresh_info
GDK_FRAME_CLOCK
GDK_FRAME_CLOCK_CLASS
GDK_FRAME_CLOCK_GET_CLASS
GDK_IS_FRAME_CLOCK
GDK_IS_FRAME_CLOCK_CLASS
GDK_TYPE_FRAME_CLOCK
GdkFrameClock
GdkFrameClockClass
GdkFrameClockPrivate
gdk_frame_clock_get_type
gdkframetimings
gdk_frame_timings_ref
gdk_frame_timings_unref
gdk_frame_timings_get_frame_counter
gdk_frame_timings_get_complete
gdk_frame_timings_get_frame_time
gdk_frame_timings_get_presentation_time
gdk_frame_timings_get_refresh_interval
gdk_frame_timings_get_predicted_presentation_time
GdkFrameTimings
gdk_frame_timings_get_type
gdkglcontext
GDK_GL_ERROR
gdk_gl_error_quark
gdk_gl_context_get_display
gdk_gl_context_get_surface
gdk_gl_context_get_shared_context
gdk_gl_context_get_version
gdk_gl_context_is_legacy
gdk_gl_context_set_required_version
gdk_gl_context_get_required_version
gdk_gl_context_set_debug_enabled
gdk_gl_context_get_debug_enabled
gdk_gl_context_set_forward_compatible
gdk_gl_context_get_forward_compatible
gdk_gl_context_set_use_es
gdk_gl_context_get_use_es
gdk_gl_context_realize
gdk_gl_context_make_current
gdk_gl_context_get_current
gdk_gl_context_clear_current
GDK_GL_CONTEXT
GDK_IS_GL_CONTEXT
GDK_TYPE_GL_CONTEXT
gdk_gl_context_get_type
gdkglcontext-waylandGdkWaylandGLContext
GdkWaylandGLContext
GdkWaylandGLContextClass
gdk_wayland_display_init_gl
gdk_wayland_surface_create_gl_context
gdk_wayland_display_make_gl_context_current
gdkglcontext-x11GdkX11GLContext
GdkX11GLContext
GdkX11GLContextClass
gdk_x11_screen_init_gl
gdk_x11_surface_create_gl_context
gdk_x11_display_make_gl_context_current
gdkgltextureGdkGLTexture
gdk_gl_texture_new
gdk_gl_texture_release
GDK_GL_TEXTURE
GDK_IS_GL_TEXTURE
GDK_TYPE_GL_TEXTURE
GdkGLTexture
GdkGLTextureClass
gdk_gl_texture_get_type
gdkkeys
GdkKeymapKey
gdk_keymap_get_display
gdk_keymap_lookup_key
gdk_keymap_translate_keyboard_state
gdk_keymap_get_entries_for_keyval
gdk_keymap_get_entries_for_keycode
gdk_keymap_get_direction
gdk_keymap_have_bidi_layouts
gdk_keymap_get_caps_lock_state
gdk_keymap_get_num_lock_state
gdk_keymap_get_scroll_lock_state
gdk_keymap_get_modifier_state
gdk_keymap_add_virtual_modifiers
gdk_keymap_map_virtual_modifiers
gdk_keymap_get_modifier_mask
gdk_keyval_name
gdk_keyval_from_name
gdk_keyval_convert_case
gdk_keyval_to_upper
gdk_keyval_to_lower
gdk_keyval_is_upper
gdk_keyval_is_lower
gdk_keyval_to_unicode
gdk_unicode_to_keyval
GDK_IS_KEYMAP
GDK_KEYMAP
GDK_TYPE_KEYMAP
gdk_keymap_get_type
gdkmemorytextureGdkMemoryTexture
GdkMemoryFormat
GDK_MEMORY_DEFAULT
gdk_memory_texture_new
GDK_IS_MEMORY_TEXTURE
GDK_MEMORY_TEXTURE
GDK_TYPE_MEMORY_TEXTURE
GdkMemoryTexture
GdkMemoryTextureClass
gdk_memory_texture_get_type
gdkmonitorGdkMonitor
GdkSubpixelLayout
gdk_monitor_get_display
gdk_monitor_get_geometry
gdk_monitor_get_workarea
gdk_monitor_get_width_mm
gdk_monitor_get_height_mm
gdk_monitor_get_manufacturer
gdk_monitor_get_model
gdk_monitor_get_connector
gdk_monitor_get_scale_factor
gdk_monitor_get_refresh_rate
gdk_monitor_get_subpixel_layout
gdk_monitor_is_valid
GDK_IS_MONITOR
GDK_MONITOR
GDK_TYPE_MONITOR
GdkMonitor
GdkMonitorClass
gdk_monitor_get_type
gdkmonitor-waylandGdkWaylandMonitor
GdkWaylandMonitor
GdkWaylandMonitorClass
gdkmonitor-x11GdkX11Monitor
GdkX11Monitor
GdkX11MonitorClass
gdkpaintableGdkPaintable
GDK_TYPE_PAINTABLE
GdkPaintableFlags
GdkPaintableInterface
gdk_paintable_snapshot
gdk_paintable_get_current_image
gdk_paintable_get_flags
gdk_paintable_get_intrinsic_width
gdk_paintable_get_intrinsic_height
gdk_paintable_get_intrinsic_aspect_ratio
gdk_paintable_compute_concrete_size
gdk_paintable_invalidate_contents
gdk_paintable_invalidate_size
gdk_paintable_new_empty
GdkPaintable
gdkpango
gdk_pango_layout_line_get_clip_region
gdk_pango_layout_get_clip_region
gdkpixbuf
gdk_pixbuf_get_from_surface
gdk_pixbuf_get_from_texture
gdkprimary-wayland
gdk_wayland_primary_new
GDK_IS_WAYLAND_PRIMARY
GDK_TYPE_WAYLAND_PRIMARY
GDK_WAYLAND_PRIMARY
GdkWaylandPrimary
gdk_wayland_primary_get_type
gdkprivate-wayland
WL_SURFACE_HAS_BUFFER_SCALE
WL_POINTER_HAS_FRAME
gdk_wayland_display_system_bell
gdk_wayland_surface_sync
gdk_wayland_surface_request_frame
gdk_wayland_surface_attach_image
gdk_wayland_drop_new
gdk_wayland_drop_set_source_actions
gdk_wayland_drop_set_action
gdk_wayland_device_get_data_device
gdk_wayland_device_set_selection
gdk_wayland_device_get_drop_context
gdk_wayland_device_unset_touch_grab
gdk_wayland_display_get_toplevel_surfaces
gdk_wayland_display_get_output_refresh_rate
gdk_wayland_display_get_output_scale
gdk_wayland_display_get_wl_output
gdk_wayland_surface_get_egl_surface
gdk_wayland_surface_get_dummy_egl_surface
gdk_wayland_surface_get_gtk_surface
gdk_wayland_seat_set_global_cursor
gdk_wayland_seat_set_drag
gdk_wayland_surface_get_wl_output
gdk_wayland_surface_inhibit_shortcuts
gdk_wayland_surface_restore_shortcuts
gdk_wayland_surface_update_scale
gdkprofilerprivate
gdk_profiler_start
gdk_profiler_stop
gdk_profiler_is_running
gdk_profiler_add_mark
gdk_profiler_define_counter
gdk_profiler_set_counter
gdk_profiler_define_int_counter
gdk_profiler_set_int_counter
gdkproperty
gdk_text_property_to_utf8_list_for_display
gdk_utf8_to_string_target
gdkrectangle
gdk_rectangle_intersect
gdk_rectangle_union
gdk_rectangle_equal
gdk_rectangle_contains_point
GDK_TYPE_RECTANGLE
gdk_rectangle_get_type
gdkresourcesgdkrgba
gdk_rgba_copy
gdk_rgba_free
gdk_rgba_is_clear
gdk_rgba_is_opaque
gdk_rgba_hash
gdk_rgba_equal
gdk_rgba_parse
gdk_rgba_to_string
GDK_TYPE_RGBA
GdkRGBA
gdk_rgba_get_type
gdkrgbaprivate
GDK_RGBA
gdk_rgba_parser_parse
gdkscreen-x11GdkX11Screen
GdkX11Screen
GdkX11ScreenClass
gdk_x11_screen_get_work_area
gdk_x11_screen_get_setting
gdkseat
GdkSeatCapabilities
GdkSeatGrabPrepareFunc
gdk_seat_get_display
gdk_seat_get_capabilities
gdk_seat_get_slaves
gdk_seat_get_pointer
gdk_seat_get_keyboard
gdk_seat_get_master_pointers
GDK_IS_SEAT
GDK_SEAT
GDK_TYPE_SEAT
GdkSeat
gdk_seat_get_type
gdkseat-waylandGdkWaylandSeat
gdk_wayland_seat_update_cursor_scale
GDK_IS_WAYLAND_SEAT
GDK_IS_WAYLAND_SEAT_CLASS
GDK_TYPE_WAYLAND_SEAT
GDK_WAYLAND_SEAT
GDK_WAYLAND_SEAT_CLASS
GDK_WAYLAND_SEAT_GET_CLASS
GdkWaylandSeat
GdkWaylandSeatClass
gdk_wayland_seat_get_type
gdkselectioninputstream-x11GdkX11SelectionInputStream
gdk_x11_selection_input_stream_new_async
gdk_x11_selection_input_stream_new_finish
GDK_IS_X11_SELECTION_INPUT_STREAM
GDK_IS_X11_SELECTION_INPUT_STREAM_CLASS
GDK_TYPE_X11_SELECTION_INPUT_STREAM
GDK_X11_SELECTION_INPUT_STREAM
GDK_X11_SELECTION_INPUT_STREAM_CLASS
GDK_X11_SELECTION_INPUT_STREAM_GET_CLASS
GdkX11SelectionInputStream
GdkX11SelectionInputStreamClass
gdk_x11_selection_input_stream_get_type
gdkselectionoutputstream-x11GdkX11SelectionOutputStream
GdkX11SelectionOutputHandler
gdk_x11_selection_output_streams_create
GDK_IS_X11_SELECTION_OUTPUT_STREAM
GDK_IS_X11_SELECTION_OUTPUT_STREAM_CLASS
GDK_TYPE_X11_SELECTION_OUTPUT_STREAM
GDK_X11_SELECTION_OUTPUT_STREAM
GDK_X11_SELECTION_OUTPUT_STREAM_CLASS
GDK_X11_SELECTION_OUTPUT_STREAM_GET_CLASS
GdkX11SelectionOutputStream
GdkX11SelectionOutputStreamClass
gdk_x11_selection_output_stream_get_type
gdksnapshotGdkSnapshot
GDK_IS_SNAPSHOT
GDK_SNAPSHOT
GDK_TYPE_SNAPSHOT
GdkSnapshotClass
gdk_snapshot_get_type
gdksurfaceGdkSurface
GdkSurfaceType
GdkSurfaceHints
GdkWMDecoration
GdkWMFunction
GdkGravity
GdkAnchorHints
GdkSurfaceEdge
GdkFullscreenMode
GdkGeometry
GdkSurfaceState
gdk_surface_new_toplevel
gdk_surface_new_temp
gdk_surface_new_popup
gdk_surface_destroy
gdk_surface_get_surface_type
gdk_surface_is_destroyed
gdk_surface_get_parent
gdk_surface_get_display
gdk_surface_show
gdk_surface_hide
gdk_surface_show_unraised
gdk_surface_resize
gdk_surface_move_to_rect
gdk_surface_raise
gdk_surface_lower
gdk_surface_restack
gdk_surface_focus
gdk_surface_get_accept_focus
gdk_surface_set_accept_focus
gdk_surface_get_focus_on_map
gdk_surface_set_focus_on_map
gdk_surface_input_shape_combine_region
gdk_surface_is_visible
gdk_surface_is_viewable
gdk_surface_get_state
gdk_surface_set_type_hint
gdk_surface_get_type_hint
gdk_surface_get_modal_hint
gdk_surface_set_modal_hint
gdk_surface_set_geometry_hints
gdk_surface_set_title
gdk_surface_set_startup_id
gdk_surface_set_transient_for
gdk_surface_set_cursor
gdk_surface_get_cursor
gdk_surface_set_device_cursor
gdk_surface_get_device_cursor
gdk_surface_get_width
gdk_surface_get_height
gdk_surface_get_position
gdk_surface_translate_coordinates
gdk_surface_get_scale_factor
gdk_surface_get_device_position
gdk_surface_set_icon_list
gdk_surface_set_icon_name
gdk_surface_set_decorations
gdk_surface_get_decorations
gdk_surface_set_functions
gdk_surface_create_similar_surface
gdk_surface_beep
gdk_surface_minimize
gdk_surface_unminimize
gdk_surface_stick
gdk_surface_unstick
gdk_surface_maximize
gdk_surface_unmaximize
gdk_surface_fullscreen
gdk_surface_fullscreen_on_monitor
gdk_surface_set_fullscreen_mode
gdk_surface_get_fullscreen_mode
gdk_surface_unfullscreen
gdk_surface_set_keep_above
gdk_surface_set_keep_below
gdk_surface_set_opacity
gdk_surface_register_dnd
gdk_surface_begin_resize_drag
gdk_surface_begin_resize_drag_for_device
gdk_surface_begin_move_drag
gdk_surface_begin_move_drag_for_device
gdk_surface_queue_expose
gdk_surface_freeze_updates
gdk_surface_thaw_updates
gdk_surface_constrain_size
gdk_surface_set_support_multidevice
gdk_surface_get_support_multidevice
gdk_surface_get_frame_clock
gdk_surface_set_opaque_region
gdk_surface_set_shadow_width
gdk_surface_show_window_menu
gdk_surface_create_cairo_context
gdk_surface_create_gl_context
gdk_surface_create_vulkan_context
GDK_IS_SURFACE
GDK_IS_SURFACE_CLASS
GDK_SURFACE
GDK_SURFACE_CLASS
GDK_SURFACE_GET_CLASS
GDK_TYPE_SURFACE
GdkSurfaceClass
gdk_surface_get_type
gdksurface-x11GdkX11Surface
GdkX11Surface
GdkX11SurfaceClass
GdkToplevelX11
gdk_x11_surface_pre_damage
gdk_x11_surface_move
GdkXPositionInfo
gdksurfaceprivateGdkSurface
GdkSurface
GdkSurfaceClass
gdk_surface_set_state
GdkSurfaceMovedToRect
gdk_surface_move_to_rect_helper
gdktextlistconverter-x11
gdk_x11_text_list_converter_to_utf8_new
gdk_x11_text_list_converter_from_utf8_new
GDK_IS_X11_TEXT_LIST_CONVERTER
GDK_TYPE_X11_TEXT_LIST_CONVERTER
GDK_X11_TEXT_LIST_CONVERTER
GdkX11TextListConverter
gdk_x11_text_list_converter_get_type
gdktextureGdkTexture
gdk_texture_new_for_pixbuf
gdk_texture_new_from_resource
gdk_texture_new_from_file
gdk_texture_get_width
gdk_texture_get_height
gdk_texture_download
gdk_texture_save_to_png
GDK_IS_TEXTURE
GDK_TEXTURE
GDK_TYPE_TEXTURE
GdkTextureClass
gdk_texture_get_type
gdktypes
GDK_CURRENT_TIME
GDK_PARENT_RELATIVE
GdkPoint
GdkRectangle
GdkAtom
GdkByteOrder
GdkModifierType
GdkModifierIntent
GdkGrabStatus
GdkGrabOwnership
GdkEventMask
GdkGLError
GdkVulkanError
GdkSurfaceTypeHint
GdkAxisUse
GdkAxisFlags
GdkDragAction
GDK_ACTION_ALL
GdkAppLaunchContext
GdkCairoContext
GdkClipboard
GdkContentFormats
GdkContentProvider
GdkCursor
GdkDevice
GdkDisplay
GdkDisplayManager
GdkDrag
GdkDrawContext
GdkDrawingContext
GdkDrop
GdkGLContext
GdkKeymap
GdkRGBA
GdkSeat
GdkSnapshot
GdkSurface
GdkTexture
GdkVulkanContext
gdkversionmacros
GDK_MAJOR_VERSION
GDK_MINOR_VERSION
GDK_MICRO_VERSION
GDK_DEPRECATED
GDK_DEPRECATED_FOR
GDK_UNAVAILABLE
GDK_VERSION_3_92
GDK_VERSION_3_94
GDK_VERSION_4_0
GDK_VERSION_CUR_STABLE
GDK_VERSION_PREV_STABLE
GDK_VERSION_MIN_REQUIRED
GDK_VERSION_MAX_ALLOWED
GDK_AVAILABLE_IN_ALL
GDK_AVAILABLE_IN_4_0
GDK_DEPRECATED_IN_4_0
GDK_DEPRECATED_IN_4_0_FOR
gdkvisual-x11GdkX11Visual
GdkVisualType
gdk_x11_visual_get_xvisual
GDK_VISUAL_XVISUAL
gdk_x11_screen_lookup_visual
GDK_IS_X11_VISUAL
GDK_IS_X11_VISUAL_CLASS
GDK_TYPE_X11_VISUAL
GDK_X11_VISUAL
GDK_X11_VISUAL_CLASS
GDK_X11_VISUAL_GET_CLASS
GdkX11Visual
GdkX11VisualClass
gdk_x11_visual_get_type
gdkvulkancontext
GDK_VULKAN_ERROR
gdk_vulkan_error_quark
gdk_vulkan_strerror
gdk_vulkan_context_get_instance
gdk_vulkan_context_get_physical_device
gdk_vulkan_context_get_device
gdk_vulkan_context_get_queue
gdk_vulkan_context_get_queue_family_index
gdk_vulkan_context_get_image_format
gdk_vulkan_context_get_n_images
gdk_vulkan_context_get_image
gdk_vulkan_context_get_draw_index
gdk_vulkan_context_get_draw_semaphore
GDK_IS_VULKAN_CONTEXT
GDK_TYPE_VULKAN_CONTEXT
GDK_VULKAN_CONTEXT
gdk_vulkan_context_get_type
gdkvulkancontext-waylandGdkWaylandVulkanContext
VK_USE_PLATFORM_WAYLAND_KHR
GDK_IS_WAYLAND_VULKAN_CONTEXT
GDK_IS_WAYLAND_VULKAN_CONTEXT_CLASS
GDK_TYPE_WAYLAND_VULKAN_CONTEXT
GDK_WAYLAND_VULKAN_CONTEXT
GDK_WAYLAND_VULKAN_CONTEXT_CLASS
GDK_WAYLAND_VULKAN_CONTEXT_GET_CLASS
GdkWaylandVulkanContext
GdkWaylandVulkanContextClass
gdk_wayland_vulkan_context_get_type
gdkvulkancontext-x11GdkX11VulkanContext
VK_USE_PLATFORM_XLIB_KHR
GDK_IS_X11_VULKAN_CONTEXT
GDK_IS_X11_VULKAN_CONTEXT_CLASS
GDK_TYPE_X11_VULKAN_CONTEXT
GDK_X11_VULKAN_CONTEXT
GDK_X11_VULKAN_CONTEXT_CLASS
GDK_X11_VULKAN_CONTEXT_GET_CLASS
GdkX11VulkanContext
GdkX11VulkanContextClass
gdk_x11_vulkan_context_get_type
gdkwaylandgdkwaylanddeviceGdkWaylandDevice
gdk_wayland_device_get_wl_seat
gdk_wayland_device_get_wl_pointer
gdk_wayland_device_get_wl_keyboard
gdk_wayland_seat_get_wl_seat
gdk_wayland_device_get_node_path
gdk_wayland_device_pad_set_feedback
GDK_IS_WAYLAND_DEVICE
GDK_IS_WAYLAND_DEVICE_CLASS
GDK_TYPE_WAYLAND_DEVICE
GDK_WAYLAND_DEVICE
GDK_WAYLAND_DEVICE_CLASS
GDK_WAYLAND_DEVICE_GET_CLASS
GdkWaylandDevice
GdkWaylandDeviceClass
gdk_wayland_device_get_type
gdkwaylanddisplayGdkWaylandDisplay
gdk_wayland_display_get_wl_display
gdk_wayland_display_get_wl_compositor
gdk_wayland_display_set_cursor_theme
gdk_wayland_display_get_startup_notification_id
gdk_wayland_display_set_startup_notification_id
gdk_wayland_display_prefers_ssd
gdk_wayland_display_query_registry
GDK_IS_WAYLAND_DISPLAY
GDK_IS_WAYLAND_DISPLAY_CLASS
GDK_TYPE_WAYLAND_DISPLAY
GDK_WAYLAND_DISPLAY
GDK_WAYLAND_DISPLAY_CLASS
GDK_WAYLAND_DISPLAY_GET_CLASS
GdkWaylandDisplay
GdkWaylandDisplayClass
gdk_wayland_display_get_type
gdkwaylandglcontextGdkWaylandGLContext
GdkWaylandGLContext
GdkWaylandGLContextClass
GDK_TYPE_WAYLAND_GL_CONTEXT
GDK_WAYLAND_IS_GL_CONTEXT
gdk_wayland_gl_context_get_type
gdkwaylandmonitorGdkWaylandMonitor
gdk_wayland_monitor_get_wl_output
GDK_IS_WAYLAND_MONITOR
GDK_TYPE_WAYLAND_MONITOR
GDK_WAYLAND_MONITOR
GdkWaylandMonitor
GdkWaylandMonitorClass
gdk_wayland_monitor_get_type
gdkwaylandsurfaceGdkWaylandSurface
gdk_wayland_surface_new_subsurface
gdk_wayland_surface_get_wl_surface
gdk_wayland_surface_set_dbus_properties_libgtk_only
GdkWaylandSurfaceExported
gdk_wayland_surface_export_handle
gdk_wayland_surface_unexport_handle
gdk_wayland_surface_set_transient_for_exported
gdk_wayland_surface_announce_csd
GDK_IS_WAYLAND_SURFACE
GDK_IS_WAYLAND_SURFACE_CLASS
GDK_TYPE_WAYLAND_SURFACE
GDK_WAYLAND_SURFACE
GDK_WAYLAND_SURFACE_CLASS
GDK_WAYLAND_SURFACE_GET_CLASS
GdkWaylandSurface
GdkWaylandSurfaceClass
gdk_wayland_surface_get_type
gdkxgdkx-autocleanupsgdkx11applaunchcontextGdkX11AppLaunchContext
GDK_IS_X11_APP_LAUNCH_CONTEXT
GDK_IS_X11_APP_LAUNCH_CONTEXT_CLASS
GDK_TYPE_X11_APP_LAUNCH_CONTEXT
GDK_X11_APP_LAUNCH_CONTEXT
GDK_X11_APP_LAUNCH_CONTEXT_CLASS
GDK_X11_APP_LAUNCH_CONTEXT_GET_CLASS
GdkX11AppLaunchContext
GdkX11AppLaunchContextClass
gdk_x11_app_launch_context_get_type
gdkx11device
gdk_x11_device_get_id
gdkx11device-xi2GdkX11DeviceXI2
GDK_IS_X11_DEVICE_XI2
GDK_IS_X11_DEVICE_XI2_CLASS
GDK_TYPE_X11_DEVICE_XI2
GDK_X11_DEVICE_XI2
GDK_X11_DEVICE_XI2_CLASS
GDK_X11_DEVICE_XI2_GET_CLASS
GdkX11DeviceXI2
GdkX11DeviceXI2Class
gdk_x11_device_xi2_get_type
gdkx11devicemanager
gdk_x11_device_manager_lookup
gdkx11devicemanager-xi2GdkX11DeviceManagerXI2
GDK_IS_X11_DEVICE_MANAGER_XI2
GDK_IS_X11_DEVICE_MANAGER_XI2_CLASS
GDK_TYPE_X11_DEVICE_MANAGER_XI2
GDK_X11_DEVICE_MANAGER_XI2
GDK_X11_DEVICE_MANAGER_XI2_CLASS
GDK_X11_DEVICE_MANAGER_XI2_GET_CLASS
GdkX11DeviceManagerXI2
GdkX11DeviceManagerXI2Class
gdk_x11_device_manager_xi2_get_type
gdkx11displayGdkX11Display
gdk_x11_display_open
gdk_x11_display_get_xdisplay
gdk_x11_display_get_xscreen
gdk_x11_display_get_xrootwindow
gdk_x11_display_get_xcursor
GDK_DISPLAY_XDISPLAY
gdk_x11_display_get_user_time
gdk_x11_display_get_startup_notification_id
gdk_x11_display_set_startup_notification_id
gdk_x11_display_set_program_class
gdk_x11_display_set_cursor_theme
gdk_x11_display_broadcast_startup_message
gdk_x11_lookup_xdisplay
gdk_x11_display_get_screen
gdk_x11_display_get_primary_monitor
gdk_x11_display_grab
gdk_x11_display_ungrab
gdk_x11_display_set_surface_scale
gdk_x11_display_error_trap_push
gdk_x11_display_error_trap_pop
gdk_x11_display_error_trap_pop_ignored
gdk_x11_register_standard_event_type
gdk_x11_set_sm_client_id
GDK_IS_X11_DISPLAY
GDK_IS_X11_DISPLAY_CLASS
GDK_TYPE_X11_DISPLAY
GDK_X11_DISPLAY
GDK_X11_DISPLAY_CLASS
GDK_X11_DISPLAY_GET_CLASS
GdkX11Display
GdkX11DisplayClass
gdk_x11_display_get_type
gdkx11dndGdkX11Drag
GDK_IS_X11_DRAG
GDK_IS_X11_DRAG_CLASS
GDK_TYPE_X11_DRAG
GDK_X11_DRAG
GDK_X11_DRAG_CLASS
GDK_X11_DRAG_GET_CLASS
GdkX11Drag
GdkX11DragClass
gdk_x11_drag_get_type
gdkx11glcontextGdkX11GLContext
gdk_x11_display_get_glx_version
GdkX11GLContext
GdkX11GLContextClass
GDK_TYPE_X11_GL_CONTEXT
GDK_X11_IS_GL_CONTEXT
gdk_x11_gl_context_get_type
gdkx11keysGdkX11Keymap
gdk_x11_keymap_get_group_for_state
gdk_x11_keymap_key_is_modifier
GDK_IS_X11_KEYMAP
GDK_IS_X11_KEYMAP_CLASS
GDK_TYPE_X11_KEYMAP
GDK_X11_KEYMAP
GDK_X11_KEYMAP_CLASS
GDK_X11_KEYMAP_GET_CLASS
GdkX11Keymap
GdkX11KeymapClass
gdk_x11_keymap_get_type
gdkx11monitorGdkX11Monitor
gdk_x11_monitor_get_output
GDK_IS_X11_MONITOR
GDK_TYPE_X11_MONITOR
GDK_X11_MONITOR
GdkX11Monitor
GdkX11MonitorClass
gdk_x11_monitor_get_type
gdkx11property
gdk_x11_atom_to_xatom_for_display
gdk_x11_xatom_to_atom_for_display
gdk_x11_get_xatom_by_name_for_display
gdk_x11_get_xatom_name_for_display
gdkx11screenGdkX11Screen
gdk_x11_screen_get_xscreen
gdk_x11_screen_get_screen_number
gdk_x11_screen_get_window_manager_name
gdk_x11_screen_supports_net_wm_hint
gdk_x11_screen_get_monitor_output
gdk_x11_screen_get_number_of_desktops
gdk_x11_screen_get_current_desktop
GDK_IS_X11_SCREEN
GDK_IS_X11_SCREEN_CLASS
GDK_TYPE_X11_SCREEN
GDK_X11_SCREEN
GDK_X11_SCREEN_CLASS
GDK_X11_SCREEN_GET_CLASS
GdkX11Screen
GdkX11ScreenClass
gdk_x11_screen_get_type
gdkx11selection
gdk_x11_display_text_property_to_text_list
gdk_x11_free_text_list
gdk_x11_display_string_to_compound_text
gdk_x11_display_utf8_to_compound_text
gdk_x11_free_compound_text
gdkx11surfaceGdkX11Surface
gdk_x11_surface_get_xid
gdk_x11_surface_set_user_time
gdk_x11_surface_set_utf8_property
gdk_x11_surface_set_theme_variant
gdk_x11_surface_move_to_current_desktop
gdk_x11_surface_get_desktop
gdk_x11_surface_move_to_desktop
gdk_x11_surface_set_frame_sync_enabled
GDK_SURFACE_XDISPLAY
GDK_SURFACE_XID
gdk_x11_get_server_time
gdk_x11_surface_lookup_for_display
gdk_x11_surface_set_skip_taskbar_hint
gdk_x11_surface_set_skip_pager_hint
gdk_x11_surface_set_urgency_hint
gdk_x11_surface_set_group
gdk_x11_surface_get_group
GDK_IS_X11_SURFACE
GDK_IS_X11_SURFACE_CLASS
GDK_TYPE_X11_SURFACE
GDK_X11_SURFACE
GDK_X11_SURFACE_CLASS
GDK_X11_SURFACE_GET_CLASS
GdkX11Surface
GdkX11SurfaceClass
gdk_x11_surface_get_type
gdkx11utils
GDK_XID_TO_POINTER
GDK_POINTER_TO_XID
os-compatibility
os_create_anonymous_file
wayland-cursor
wl_cursor_image
wl_cursor
wl_cursor_theme_create
wl_cursor_theme_destroy
wl_cursor_theme_get_cursor
wl_cursor_image_get_buffer
wl_buffer
wl_cursor_theme
wl_shm
wm-button-layout-translation
translate_wm_button_layout_to_gtk
xcursor
XcursorBool
XcursorUInt
XcursorDim
XcursorPixel
XcursorImage
XcursorImages
xcursor_images_destroy
xcursor_load_images
xdg-output-unstable-v1-client-protocol
zxdg_output_manager_v1_interface
zxdg_output_v1_interface
ZXDG_OUTPUT_MANAGER_V1_DESTROY
ZXDG_OUTPUT_MANAGER_V1_GET_XDG_OUTPUT
ZXDG_OUTPUT_MANAGER_V1_DESTROY_SINCE_VERSION
ZXDG_OUTPUT_MANAGER_V1_GET_XDG_OUTPUT_SINCE_VERSION
zxdg_output_manager_v1_set_user_data
zxdg_output_manager_v1_get_user_data
zxdg_output_manager_v1_get_version
zxdg_output_manager_v1_destroy
zxdg_output_manager_v1_get_xdg_output
zxdg_output_v1_listener
zxdg_output_v1_add_listener
ZXDG_OUTPUT_V1_DESTROY
ZXDG_OUTPUT_V1_LOGICAL_POSITION_SINCE_VERSION
ZXDG_OUTPUT_V1_LOGICAL_SIZE_SINCE_VERSION
ZXDG_OUTPUT_V1_DONE_SINCE_VERSION
ZXDG_OUTPUT_V1_NAME_SINCE_VERSION
ZXDG_OUTPUT_V1_DESCRIPTION_SINCE_VERSION
ZXDG_OUTPUT_V1_DESTROY_SINCE_VERSION
zxdg_output_v1_set_user_data
zxdg_output_v1_get_user_data
zxdg_output_v1_get_version
zxdg_output_v1_destroy
wl_output
zxdg_output_manager_v1
zxdg_output_v1
xdg-shell-client-protocol
xdg_wm_base_interface
xdg_positioner_interface
xdg_surface_interface
xdg_toplevel_interface
xdg_popup_interface
XDG_WM_BASE_ERROR_ENUM
xdg_wm_base_error
xdg_wm_base_listener
xdg_wm_base_add_listener
XDG_WM_BASE_DESTROY
XDG_WM_BASE_CREATE_POSITIONER
XDG_WM_BASE_GET_XDG_SURFACE
XDG_WM_BASE_PONG
XDG_WM_BASE_PING_SINCE_VERSION
XDG_WM_BASE_DESTROY_SINCE_VERSION
XDG_WM_BASE_CREATE_POSITIONER_SINCE_VERSION
XDG_WM_BASE_GET_XDG_SURFACE_SINCE_VERSION
XDG_WM_BASE_PONG_SINCE_VERSION
xdg_wm_base_set_user_data
xdg_wm_base_get_user_data
xdg_wm_base_get_version
xdg_wm_base_destroy
xdg_wm_base_create_positioner
xdg_wm_base_get_xdg_surface
xdg_wm_base_pong
XDG_POSITIONER_ERROR_ENUM
xdg_positioner_error
XDG_POSITIONER_ANCHOR_ENUM
xdg_positioner_anchor
XDG_POSITIONER_GRAVITY_ENUM
xdg_positioner_gravity
XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_ENUM
xdg_positioner_constraint_adjustment
XDG_POSITIONER_DESTROY
XDG_POSITIONER_SET_SIZE
XDG_POSITIONER_SET_ANCHOR_RECT
XDG_POSITIONER_SET_ANCHOR
XDG_POSITIONER_SET_GRAVITY
XDG_POSITIONER_SET_CONSTRAINT_ADJUSTMENT
XDG_POSITIONER_SET_OFFSET
XDG_POSITIONER_DESTROY_SINCE_VERSION
XDG_POSITIONER_SET_SIZE_SINCE_VERSION
XDG_POSITIONER_SET_ANCHOR_RECT_SINCE_VERSION
XDG_POSITIONER_SET_ANCHOR_SINCE_VERSION
XDG_POSITIONER_SET_GRAVITY_SINCE_VERSION
XDG_POSITIONER_SET_CONSTRAINT_ADJUSTMENT_SINCE_VERSION
XDG_POSITIONER_SET_OFFSET_SINCE_VERSION
xdg_positioner_set_user_data
xdg_positioner_get_user_data
xdg_positioner_get_version
xdg_positioner_destroy
xdg_positioner_set_size
xdg_positioner_set_anchor_rect
xdg_positioner_set_anchor
xdg_positioner_set_gravity
xdg_positioner_set_constraint_adjustment
xdg_positioner_set_offset
XDG_SURFACE_ERROR_ENUM
xdg_surface_error
xdg_surface_listener
xdg_surface_add_listener
XDG_SURFACE_DESTROY
XDG_SURFACE_GET_TOPLEVEL
XDG_SURFACE_GET_POPUP
XDG_SURFACE_SET_WINDOW_GEOMETRY
XDG_SURFACE_ACK_CONFIGURE
XDG_SURFACE_CONFIGURE_SINCE_VERSION
XDG_SURFACE_DESTROY_SINCE_VERSION
XDG_SURFACE_GET_TOPLEVEL_SINCE_VERSION
XDG_SURFACE_GET_POPUP_SINCE_VERSION
XDG_SURFACE_SET_WINDOW_GEOMETRY_SINCE_VERSION
XDG_SURFACE_ACK_CONFIGURE_SINCE_VERSION
xdg_surface_set_user_data
xdg_surface_get_user_data
xdg_surface_get_version
xdg_surface_destroy
xdg_surface_get_toplevel
xdg_surface_get_popup
xdg_surface_set_window_geometry
xdg_surface_ack_configure
XDG_TOPLEVEL_RESIZE_EDGE_ENUM
xdg_toplevel_resize_edge
XDG_TOPLEVEL_STATE_ENUM
xdg_toplevel_state
XDG_TOPLEVEL_STATE_TILED_LEFT_SINCE_VERSION
XDG_TOPLEVEL_STATE_TILED_RIGHT_SINCE_VERSION
XDG_TOPLEVEL_STATE_TILED_TOP_SINCE_VERSION
XDG_TOPLEVEL_STATE_TILED_BOTTOM_SINCE_VERSION
xdg_toplevel_listener
xdg_toplevel_add_listener
XDG_TOPLEVEL_DESTROY
XDG_TOPLEVEL_SET_PARENT
XDG_TOPLEVEL_SET_TITLE
XDG_TOPLEVEL_SET_APP_ID
XDG_TOPLEVEL_SHOW_WINDOW_MENU
XDG_TOPLEVEL_MOVE
XDG_TOPLEVEL_RESIZE
XDG_TOPLEVEL_SET_MAX_SIZE
XDG_TOPLEVEL_SET_MIN_SIZE
XDG_TOPLEVEL_SET_MAXIMIZED
XDG_TOPLEVEL_UNSET_MAXIMIZED
XDG_TOPLEVEL_SET_FULLSCREEN
XDG_TOPLEVEL_UNSET_FULLSCREEN
XDG_TOPLEVEL_SET_MINIMIZED
XDG_TOPLEVEL_CONFIGURE_SINCE_VERSION
XDG_TOPLEVEL_CLOSE_SINCE_VERSION
XDG_TOPLEVEL_DESTROY_SINCE_VERSION
XDG_TOPLEVEL_SET_PARENT_SINCE_VERSION
XDG_TOPLEVEL_SET_TITLE_SINCE_VERSION
XDG_TOPLEVEL_SET_APP_ID_SINCE_VERSION
XDG_TOPLEVEL_SHOW_WINDOW_MENU_SINCE_VERSION
XDG_TOPLEVEL_MOVE_SINCE_VERSION
XDG_TOPLEVEL_RESIZE_SINCE_VERSION
XDG_TOPLEVEL_SET_MAX_SIZE_SINCE_VERSION
XDG_TOPLEVEL_SET_MIN_SIZE_SINCE_VERSION
XDG_TOPLEVEL_SET_MAXIMIZED_SINCE_VERSION
XDG_TOPLEVEL_UNSET_MAXIMIZED_SINCE_VERSION
XDG_TOPLEVEL_SET_FULLSCREEN_SINCE_VERSION
XDG_TOPLEVEL_UNSET_FULLSCREEN_SINCE_VERSION
XDG_TOPLEVEL_SET_MINIMIZED_SINCE_VERSION
xdg_toplevel_set_user_data
xdg_toplevel_get_user_data
xdg_toplevel_get_version
xdg_toplevel_destroy
xdg_toplevel_set_parent
xdg_toplevel_set_title
xdg_toplevel_set_app_id
xdg_toplevel_show_window_menu
xdg_toplevel_move
xdg_toplevel_resize
xdg_toplevel_set_max_size
xdg_toplevel_set_min_size
xdg_toplevel_set_maximized
xdg_toplevel_unset_maximized
xdg_toplevel_set_fullscreen
xdg_toplevel_unset_fullscreen
xdg_toplevel_set_minimized
XDG_POPUP_ERROR_ENUM
xdg_popup_error
xdg_popup_listener
xdg_popup_add_listener
XDG_POPUP_DESTROY
XDG_POPUP_GRAB
XDG_POPUP_CONFIGURE_SINCE_VERSION
XDG_POPUP_POPUP_DONE_SINCE_VERSION
XDG_POPUP_DESTROY_SINCE_VERSION
XDG_POPUP_GRAB_SINCE_VERSION
xdg_popup_set_user_data
xdg_popup_get_user_data
xdg_popup_get_version
xdg_popup_destroy
xdg_popup_grab
wl_output
wl_seat
wl_surface
xdg_popup
xdg_positioner
xdg_surface
xdg_toplevel
xdg_wm_base
xsettings-client
gdk_xsettings_root_window_filter
gdk_xsettings_manager_window_filter
docs/reference/gdk/gdk4.signals 0000664 0001750 0001750 00000011440 13617646444 016573 0 ustar mclasen mclasen GdkClipboard::changedvoidl
GdkClipboard *gdkclipboard
GdkContentProvider::content-changedvoidl
GdkContentProvider *gdkcontentprovider
GdkDevice::changedvoidl
GdkDevice *gdkdevice
GdkDevice::tool-changedvoidl
GdkDevice *gdkdevice
GdkDeviceTool *arg1
GdkDisplay::closedvoidl
GdkDisplay *gdkdisplay
gboolean arg1
GdkDisplay::monitor-addedvoidl
GdkDisplay *gdkdisplay
GdkMonitor *arg1
GdkDisplay::monitor-removedvoidl
GdkDisplay *gdkdisplay
GdkMonitor *arg1
GdkDisplay::openedvoidl
GdkDisplay *gdkdisplay
GdkDisplay::seat-addedvoidl
GdkDisplay *gdkdisplay
GdkSeat *arg1
GdkDisplay::seat-removedvoidl
GdkDisplay *gdkdisplay
GdkSeat *arg1
GdkDisplay::setting-changedvoidl
GdkDisplay *gdkdisplay
gchar *arg1
GdkDisplayManager::display-openedvoidl
GdkDisplayManager *gdkdisplaymanager
GdkDisplay *arg1
GdkDrag::cancelvoidl
GdkDrag *gdkdrag
GdkDragCancelReason arg1
GdkDrag::dnd-finishedvoidl
GdkDrag *gdkdrag
GdkDrag::drop-performedvoidl
GdkDrag *gdkdrag
GdkFrameClock::after-paintvoidl
GdkFrameClock *gdkframeclock
GdkFrameClock::before-paintvoidl
GdkFrameClock *gdkframeclock
GdkFrameClock::flush-eventsvoidl
GdkFrameClock *gdkframeclock
GdkFrameClock::layoutvoidl
GdkFrameClock *gdkframeclock
GdkFrameClock::paintvoidl
GdkFrameClock *gdkframeclock
GdkFrameClock::resume-eventsvoidl
GdkFrameClock *gdkframeclock
GdkFrameClock::updatevoidl
GdkFrameClock *gdkframeclock
GdkKeymap::direction-changedvoidl
GdkKeymap *gdkkeymap
GdkKeymap::keys-changedvoidl
GdkKeymap *gdkkeymap
GdkKeymap::state-changedvoidl
GdkKeymap *gdkkeymap
GdkMonitor::invalidatevoidf
GdkMonitor *gdkmonitor
GdkPaintable::invalidate-contentsvoidl
GdkPaintable *gdkpaintable
GdkPaintable::invalidate-sizevoidl
GdkPaintable *gdkpaintable
GdkSeat::device-addedvoidl
GdkSeat *gdkseat
GdkDevice *arg1
GdkSeat::device-removedvoidl
GdkSeat *gdkseat
GdkDevice *arg1
GdkSeat::tool-addedvoidl
GdkSeat *gdkseat
GdkDeviceTool *arg1
GdkSeat::tool-removedvoidl
GdkSeat *gdkseat
GdkDeviceTool *arg1
GdkSurface::eventgbooleanl
GdkSurface *gdksurface
GdkEvent *arg1
GdkSurface::moved-to-rectvoidf
GdkSurface *gdksurface
gpointer arg1
gpointer arg2
gboolean arg3
gboolean arg4
GdkSurface::rendergbooleanl
GdkSurface *gdksurface
CairoRegion *arg1
GdkSurface::size-changedvoidf
GdkSurface *gdksurface
gint arg1
gint arg2
GdkVulkanContext::images-updatedvoidl
GdkVulkanContext *gdkvulkancontext
docs/reference/gdk/gdk4.hierarchy 0000664 0001750 0001750 00000001161 13617646444 017110 0 ustar mclasen mclasen GObject
GAppLaunchContext
GdkAppLaunchContext
GdkClipboard
GdkContentDeserializer
GdkContentProvider
GdkContentSerializer
GdkCursor
GdkDevice
GdkDeviceTool
GdkDisplay
GdkDisplayManager
GdkDrag
GdkDrop
GdkEvent
GdkFrameClock
GdkDrawContext
GdkGLContext
GdkVulkanContext
GdkTexture
GdkGLTexture
GdkMemoryTexture
GdkKeymap
GdkMonitor
GdkSeat
GdkSnapshot
GdkSurface
GInterface
GTypePlugin
GAsyncResult
GdkDevicePad
GdkPaintable
GInitable
GAppInfo
GBoxed
GValueArray
GdkContentFormats
GdkRGBA
GdkRectangle
CairoRectangleInt
CairoRegion
GStrv
docs/reference/gdk/gdk4.interfaces 0000664 0001750 0001750 00000000261 13617646444 017255 0 ustar mclasen mclasen GdkContentDeserializer GAsyncResult
GdkContentSerializer GAsyncResult
GdkVulkanContext GInitable
GdkTexture GdkPaintable
GdkGLTexture GdkPaintable
GdkMemoryTexture GdkPaintable
docs/reference/gdk/gdk4.prerequisites 0000664 0001750 0001750 00000000144 13617646444 020036 0 ustar mclasen mclasen GAsyncResult GObject
GdkDevicePad GdkDevice
GdkPaintable GObject
GInitable GObject
GAppInfo GObject
docs/reference/gdk/gdk4.args 0000664 0001750 0001750 00000033477 13617646444 016105 0 ustar mclasen mclasen GdkAppLaunchContext::displayGdkDisplay*rwXDisplayDisplay.GdkClipboard::contentGdkContentProvider*rContentProvider of the clipboard's content.GdkClipboard::displayGdkDisplay*rwXDisplayDisplay owning this clipboard.GdkClipboard::formatsGdkContentFormats*rFormatsThe possible formats for data.GdkClipboard::localgbooleanrLocalIf the contents are owned by this process.TRUEGdkContentProvider::formatsGdkContentFormats*rFormatsThe possible formats for data.GdkContentProvider::storable-formatsGdkContentFormats*rStorable formatsThe formats that data should be stored in.GdkCursor::fallbackGdkCursor*rwXFallbackCursor image to fall back to if this cursor cannot be displayed.GdkCursor::hotspot-xgint>= 0rwXHotspot XHorizontal offset of the cursor hotspot.0GdkCursor::hotspot-ygint>= 0rwXHotspot YVertical offset of the cursor hotspot.0GdkCursor::namegchar*rwXNameName of this cursor.NULLGdkCursor::textureGdkTexture*rwXTextureThe texture displayed by this cursor.GdkDevice::associated-deviceGdkDevice*rAssociated deviceAssociated pointer or keyboard with this device.GdkDevice::axesGdkAxisFlagsrAxesAxes.GdkDevice::displayGdkDisplay*rwXDevice DisplayDisplay which the device belongs to.GdkDevice::has-cursorgbooleanrwXWhether the device has a cursorWhether there is a visible cursor following device motion.FALSEGdkDevice::input-modeGdkInputModerwInput mode for the deviceInput mode for the device.GDK_MODE_DISABLEDGdkDevice::input-sourceGdkInputSourcerwXInput sourceSource type for the device.GDK_SOURCE_MOUSEGdkDevice::n-axesguintrNumber of axes in the deviceNumber of axes in the device.0GdkDevice::namegchar*rwXDevice nameDevice name.NULLGdkDevice::num-touchesguintrwXNumber of concurrent touchesNumber of concurrent touches.0GdkDevice::product-idgchar*rwXProduct IDProduct ID.NULLGdkDevice::seatGdkSeat*rwSeatSeat.GdkDevice::toolGdkDeviceTool*rToolThe tool that is currently used with this device.GdkDevice::typeGdkDeviceTyperwXDevice typeDevice role in the device manager.GDK_DEVICE_TYPE_MASTERGdkDevice::vendor-idgchar*rwXVendor IDVendor ID.NULLGdkDeviceTool::axesGdkAxisFlagsrwXAxesTool axes.GdkDeviceTool::hardware-idguint64rwXHardware IDHardware ID.0GdkDeviceTool::serialguint64rwXSerialSerial number.0GdkDeviceTool::tool-typeGdkDeviceToolTyperwXTool typeTool type.GDK_DEVICE_TOOL_TYPE_UNKNOWNGdkDisplay::compositedgbooleanrCompositedComposited.TRUEGdkDisplay::rgbagbooleanrRGBARGBA.TRUEGdkDisplayManager::default-displayGdkDisplay*rwDefault DisplayThe default display for GDK.GdkDrag::actionsGdkDragActionrwActionsThe possible actions.GdkDrag::contentGdkContentProvider*rwXContentThe content being dragged.GdkDrag::deviceGdkDevice*rwXDeviceThe device performing the drag.GdkDrag::displayGdkDisplay*rDisplayDisplay this drag belongs to.GdkDrag::formatsGdkContentFormats*rwXFormatsThe possible formats for data.GdkDrag::selected-actionGdkDragActionrwSelected actionThe currently selected action.GdkDrag::surfaceGdkSurface*rwXSurfaceThe surface where the drag originates.GdkDrop::actionsGdkDragActionrwXActionsThe possible actions for this drop.GDK_ACTION_COPY | GDK_ACTION_MOVE | GDK_ACTION_LINKGdkDrop::deviceGdkDevice*rwXDeviceThe device performing the drop.GdkDrop::displayGdkDisplay*rDisplayDisplay this drag belongs to.GdkDrop::dragGdkDrag*rwXDragThe drag that initiated this drop.GdkDrop::formatsGdkContentFormats*rwXFormatsThe possible formats for data.GdkDrop::surfaceGdkSurface*rwXSurfaceThe surface the drop is happening on.GdkEvent::event-typeGdkEventTyperwXEvent typeEvent type.GDK_NOTHINGGdkGLContext::shared-contextGdkGLContext*rwXShared contextThe GL context this context shares data with.GdkKeymap::displayGdkDisplay*rwXDisplayThe display of the keymap.GdkMonitor::connectorgchar*rConnectorThe connector name.NULLGdkMonitor::displayGdkDisplay*rwXDisplayThe display of the monitor.GdkMonitor::geometryGdkRectangle*rGeometryThe geometry of the monitor.GdkMonitor::height-mmgint>= 0rPhysical heightThe height of the monitor, in millimeters.0GdkMonitor::manufacturergchar*rManufacturerThe manufacturer name.NULLGdkMonitor::modelgchar*rModelThe model name.NULLGdkMonitor::refresh-rategint>= 0rRefresh rateThe refresh rate, in millihertz.0GdkMonitor::scale-factorgint>= 0rScale factorThe scale factor.1GdkMonitor::subpixel-layoutGdkSubpixelLayoutrSubpixel layoutThe subpixel layout.GDK_SUBPIXEL_LAYOUT_UNKNOWNGdkMonitor::validgbooleanrValidWhether the monitor is still valid.TRUEGdkMonitor::width-mmgint>= 0rPhysical widthThe width of the monitor, in millimeters.0GdkMonitor::workareaGdkRectangle*rWorkareaThe workarea of the monitor.GdkSeat::displayGdkDisplay*rwXDisplayDisplay.GdkSurface::autohidegbooleanrwXAutohideWhether to dismiss the surface on outside clicks.FALSEGdkSurface::cursorGdkCursor*rwCursorCursor.GdkSurface::displayGdkDisplay*rwXDisplayDisplay.GdkSurface::frame-clockGdkFrameClock*rwXFrame ClockFrame Clock.GdkSurface::mappedgbooleanrMappedMapped.FALSEGdkSurface::parentGdkSurface*rwXParentParent surface.GdkSurface::stateGdkSurfaceStaterStateState.GDK_SURFACE_STATE_WITHDRAWNGdkSurface::surface-typeGdkSurfaceTyperwXSurface typeSurface type.GDK_SURFACE_TOPLEVELGdkTexture::heightgint>= 1rwXHeightThe height of the texture.1GdkTexture::widthgint>= 1rwXWidthThe width of the texture.1
docs/reference/gdk/gdk4.actions 0000664 0001750 0001750 00000000000 13617646444 016561 0 ustar mclasen mclasen docs/reference/gdk/xml/ 0000775 0001750 0001750 00000000000 13620320471 015137 5 ustar mclasen mclasen docs/reference/gdk/xml/general.xml 0000664 0001750 0001750 00000007021 13617646445 017320 0 ustar mclasen mclasen
]>
General3GDK4 LibraryGeneralLibrary initialization and miscellaneous functionsTypes and Values#defineGDK_WINDOWING_X11#defineGDK_WINDOWING_WIN32#defineGDK_WINDOWING_QUARTZ#defineGDK_WINDOWING_WAYLAND#defineGDK_VERSION_4_0#defineGDK_VERSION_MIN_REQUIRED#defineGDK_VERSION_MAX_ALLOWED#defineGDK_DISABLE_DEPRECATION_WARNINGSIncludes#include <gdk/gdk.h>
DescriptionThis section describes the GDK initialization functions and miscellaneous
utility functions, as well as deprecation facilities.The GDK and GTK headers annotate deprecated APIs in a way that produces
compiler warnings if these deprecated APIs are used. The warnings
can be turned off by defining the macro GDK_DISABLE_DEPRECATION_WARNINGS
before including the glib.h header.GDK and GTK also provide support for building applications against
defined subsets of deprecated or new APIs. Define the macro
GDK_VERSION_MIN_REQUIRED to specify up to what version
you want to receive warnings about deprecated APIs. Define the
macro GDK_VERSION_MAX_ALLOWED to specify the newest version
whose API you want to use.Functions
docs/reference/gdk/xml/gdkdisplay.xml 0000664 0001750 0001750 00000220634 13617646445 020045 0 ustar mclasen mclasen
]>
GdkDisplay3GDK4 LibraryGdkDisplayControls a set of monitors and their associated input devicesFunctionsGdkDisplay *
gdk_display_open ()GdkDisplay *
gdk_display_get_default ()const gchar *
gdk_display_get_name ()gbooleangdk_display_device_is_grabbed ()voidgdk_display_beep ()voidgdk_display_sync ()voidgdk_display_flush ()voidgdk_display_close ()gbooleangdk_display_is_closed ()GdkEvent *
gdk_display_get_event ()GdkEvent *
gdk_display_peek_event ()voidgdk_display_put_event ()gbooleangdk_display_has_pending ()gbooleangdk_display_is_rgba ()gbooleangdk_display_is_composited ()GdkSurface *
gdk_display_get_default_group ()gbooleangdk_display_supports_shapes ()gbooleangdk_display_supports_input_shapes ()GdkAppLaunchContext *
gdk_display_get_app_launch_context ()voidgdk_display_notify_startup_complete ()GdkSeat *
gdk_display_get_default_seat ()GList *
gdk_display_list_seats ()intgdk_display_get_n_monitors ()GdkMonitor *
gdk_display_get_monitor ()GdkMonitor *
gdk_display_get_monitor_at_surface ()GdkClipboard *
gdk_display_get_clipboard ()GdkClipboard *
gdk_display_get_primary_clipboard ()gbooleangdk_display_get_setting ()GdkKeymap *
gdk_display_get_keymap ()PropertiesgbooleancompositedReadgbooleanrgbaReadSignalsvoidclosedRun Lastvoidmonitor-addedRun Lastvoidmonitor-removedRun LastvoidopenedRun Lastvoidseat-addedRun Lastvoidseat-removedRun Lastvoidsetting-changedRun LastTypes and ValuesGdkDisplayObject Hierarchy GObject
╰── GdkDisplay
Includes#include <gdk/gdk.h>
DescriptionGdkDisplay objects are the GDK representation of a workstation.Their purpose are two-fold:To manage and provide information about input devices (pointers, keyboards, etc)To manage and provide information about output devices (monitors, projectors, etc)Most of the input device handling has been factored out into separate GdkSeat
objects. Every display has a one or more seats, which can be accessed with
gdk_display_get_default_seat() and gdk_display_list_seats().Output devices are represented by GdkMonitor objects, which can be accessed
with gdk_display_get_monitor() and similar APIs.Functionsgdk_display_open ()gdk_display_openGdkDisplay *
gdk_display_open (const gchar *display_name);Opens a display.Parametersdisplay_namethe name of the display to openReturnsa GdkDisplay, or NULL if the
display could not be opened. [nullable][transfer none]gdk_display_get_default ()gdk_display_get_defaultGdkDisplay *
gdk_display_get_default (void);Gets the default GdkDisplay. This is a convenience
function for:
gdk_display_manager_get_default_display (gdk_display_manager_get()).Returnsa GdkDisplay, or NULL if
there is no default display. [nullable][transfer none]gdk_display_get_name ()gdk_display_get_nameconst gchar *
gdk_display_get_name (GdkDisplay *display);Gets the name of the display.Parametersdisplaya GdkDisplayReturns a string representing the display name. This string is owned
by GDK and should not be modified or freed.gdk_display_device_is_grabbed ()gdk_display_device_is_grabbedgboolean
gdk_display_device_is_grabbed (GdkDisplay *display,
GdkDevice *device);Returns TRUE if there is an ongoing grab on device
for display
.Parametersdisplaya GdkDisplaydevicea GdkDeviceReturnsTRUE if there is a grab in effect for device
.gdk_display_beep ()gdk_display_beepvoid
gdk_display_beep (GdkDisplay *display);Emits a short beep on displayParametersdisplaya GdkDisplaygdk_display_sync ()gdk_display_syncvoid
gdk_display_sync (GdkDisplay *display);Flushes any requests queued for the windowing system and waits until all
requests have been handled. This is often used for making sure that the
display is synchronized with the current state of the program. Calling
gdk_display_sync() before gdk_error_trap_pop() makes sure that any errors
generated from earlier requests are handled before the error trap is
removed.This is most useful for X11. On windowing systems where requests are
handled synchronously, this function will do nothing.Parametersdisplaya GdkDisplaygdk_display_flush ()gdk_display_flushvoid
gdk_display_flush (GdkDisplay *display);Flushes any requests queued for the windowing system; this happens automatically
when the main loop blocks waiting for new events, but if your application
is drawing without returning control to the main loop, you may need
to call this function explicitly. A common case where this function
needs to be called is when an application is executing drawing commands
from a thread other than the thread where the main loop is running.This is most useful for X11. On windowing systems where requests are
handled synchronously, this function will do nothing.Parametersdisplaya GdkDisplaygdk_display_close ()gdk_display_closevoid
gdk_display_close (GdkDisplay *display);Closes the connection to the windowing system for the given display,
and cleans up associated resources.Parametersdisplaya GdkDisplaygdk_display_is_closed ()gdk_display_is_closedgboolean
gdk_display_is_closed (GdkDisplay *display);Finds out if the display has been closed.Parametersdisplaya GdkDisplayReturnsTRUE if the display is closed.gdk_display_get_event ()gdk_display_get_eventGdkEvent *
gdk_display_get_event (GdkDisplay *display);Gets the next GdkEvent to be processed for display
, fetching events from the
windowing system if necessary.Parametersdisplaya GdkDisplayReturnsthe next GdkEvent to be processed,
or NULL if no events are pending. [nullable][transfer full]gdk_display_peek_event ()gdk_display_peek_eventGdkEvent *
gdk_display_peek_event (GdkDisplay *display);Gets a copy of the first GdkEvent in the display
’s event queue, without
removing the event from the queue. (Note that this function will
not get more events from the windowing system. It only checks the events
that have already been moved to the GDK event queue.)Parametersdisplaya GdkDisplayReturnsthe first GdkEvent on the
event queue. [nullable][transfer full]gdk_display_put_event ()gdk_display_put_eventvoid
gdk_display_put_event (GdkDisplay *display,
const GdkEvent *event);Appends a copy of the given event onto the front of the event
queue for display
.Parametersdisplaya GdkDisplayeventa GdkEvent.gdk_display_has_pending ()gdk_display_has_pendinggboolean
gdk_display_has_pending (GdkDisplay *display);Returns whether the display has events that are waiting
to be processed.Parametersdisplaya GdkDisplayReturnsTRUE if there are events ready to be processed.gdk_display_is_rgba ()gdk_display_is_rgbagboolean
gdk_display_is_rgba (GdkDisplay *display);Returns wether surfaces on this display
are created with an
alpha channel.Even if a TRUE is returned, it is possible that the
surface’s alpha channel won’t be honored when displaying the
surface on the screen: in particular, for X an appropriate
windowing manager and compositing manager must be running to
provide appropriate display. Use gdk_display_is_composited()
to check if that is the case.For setting an overall opacity for a top-level surface, see
gdk_surface_set_opacity().On modern displays, this value is always TRUE.Parametersdisplaya GdkDisplayReturnsTRUE if surfaces are created with an alpha channel or
FALSE if the display does not support this functionality.gdk_display_is_composited ()gdk_display_is_compositedgboolean
gdk_display_is_composited (GdkDisplay *display);Returns whether surfaces can reasonably be expected to have
their alpha channel drawn correctly on the screen. Check
gdk_display_is_rgba() for wether the display supports an
alpha channel.On X11 this function returns whether a compositing manager is
compositing on display
.On modern displays, this value is always TRUE.Parametersdisplaya GdkDisplayReturns Whether surfaces with RGBA visuals can reasonably be
expected to have their alpha channels drawn correctly on the screen.gdk_display_get_default_group ()gdk_display_get_default_groupGdkSurface *
gdk_display_get_default_group (GdkDisplay *display);Returns the default group leader surface for all toplevel surfaces
on display
. This surface is implicitly created by GDK.
See gdk_surface_set_group().Parametersdisplaya GdkDisplayReturnsThe default group leader surface
for display
. [transfer none]gdk_display_supports_shapes ()gdk_display_supports_shapesgboolean
gdk_display_supports_shapes (GdkDisplay *display);Returns TRUE if gdk_surface_shape_combine_mask() can
be used to create shaped windows on display
.Parametersdisplaya GdkDisplayReturnsTRUE if shaped windows are supportedgdk_display_supports_input_shapes ()gdk_display_supports_input_shapesgboolean
gdk_display_supports_input_shapes (GdkDisplay *display);Returns TRUE if gdk_surface_input_shape_combine_mask() can
be used to modify the input shape of surfaces on display
.Parametersdisplaya GdkDisplayReturnsTRUE if surfaces with modified input shape are supportedgdk_display_get_app_launch_context ()gdk_display_get_app_launch_contextGdkAppLaunchContext *
gdk_display_get_app_launch_context (GdkDisplay *display);Returns a GdkAppLaunchContext suitable for launching
applications on the given display.Parametersdisplaya GdkDisplayReturnsa new GdkAppLaunchContext for display
.
Free with g_object_unref() when done. [transfer full]gdk_display_notify_startup_complete ()gdk_display_notify_startup_completevoid
gdk_display_notify_startup_complete (GdkDisplay *display,
const gchar *startup_id);Indicates to the GUI environment that the application has
finished loading, using a given identifier.GTK+ will call this function automatically for GtkWindow
with custom startup-notification identifier unless
gtk_window_set_auto_startup_notification() is called to
disable that feature.Parametersdisplaya GdkDisplaystartup_ida startup-notification identifier, for which
notification process should be completedgdk_display_get_default_seat ()gdk_display_get_default_seatGdkSeat *
gdk_display_get_default_seat (GdkDisplay *display);Returns the default GdkSeat for this display.Parametersdisplaya GdkDisplayReturnsthe default seat. [transfer none]gdk_display_list_seats ()gdk_display_list_seatsGList *
gdk_display_list_seats (GdkDisplay *display);Returns the list of seats known to display
.Parametersdisplaya GdkDisplayReturnsthe
list of seats known to the GdkDisplay. [transfer container][element-type GdkSeat]gdk_display_get_n_monitors ()gdk_display_get_n_monitorsint
gdk_display_get_n_monitors (GdkDisplay *display);Gets the number of monitors that belong to display
.The returned number is valid until the next emission of the
“monitor-added” or “monitor-removed” signal.Parametersdisplaya GdkDisplayReturns the number of monitorsgdk_display_get_monitor ()gdk_display_get_monitorGdkMonitor *
gdk_display_get_monitor (GdkDisplay *display,
int monitor_num);Gets a monitor associated with this display.Parametersdisplaya GdkDisplaymonitor_numnumber of the monitorReturnsthe GdkMonitor, or NULL if
monitor_num
is not a valid monitor number. [nullable][transfer none]gdk_display_get_monitor_at_surface ()gdk_display_get_monitor_at_surfaceGdkMonitor *
gdk_display_get_monitor_at_surface (GdkDisplay *display,
GdkSurface *surface);Gets the monitor in which the largest area of surface
resides, or a monitor close to surface
if it is outside
of all monitors.Parametersdisplaya GdkDisplaysurfacea GdkSurfaceReturnsthe monitor with the largest overlap with surface
. [transfer none]gdk_display_get_clipboard ()gdk_display_get_clipboardGdkClipboard *
gdk_display_get_clipboard (GdkDisplay *display);Gets the clipboard used for copy/paste operations.Parametersdisplaya GdkDisplayReturnsthe display's clipboard. [transfer none]gdk_display_get_primary_clipboard ()gdk_display_get_primary_clipboardGdkClipboard *
gdk_display_get_primary_clipboard (GdkDisplay *display);Gets the clipboard used for the primary selection. On backends where the
primary clipboard is not supported natively, GDK emulates this clipboard
locally.Parametersdisplaya GdkDisplayReturnsthe primary clipboard. [transfer none]gdk_display_get_setting ()gdk_display_get_settinggboolean
gdk_display_get_setting (GdkDisplay *display,
const char *name,
GValue *value);Retrieves a desktop-wide setting such as double-click time
for the display
.Parametersdisplaya GdkDisplaynamethe name of the settingvaluelocation to store the value of the settingReturnsTRUE if the setting existed and a value was stored
in value
, FALSE otherwisegdk_display_get_keymap ()gdk_display_get_keymapGdkKeymap *
gdk_display_get_keymap (GdkDisplay *display);Returns the GdkKeymap attached to display
.Parametersdisplaythe GdkDisplayReturnsthe GdkKeymap attached to display
. [transfer none]Property DetailsThe “composited” propertyGdkDisplay:composited “composited” gbooleanTRUE if the display properly composits the alpha channel.
See gdk_display_is_composited() for details.Owner: GdkDisplayFlags: ReadDefault value: TRUEThe “rgba” propertyGdkDisplay:rgba “rgba” gbooleanTRUE if the display supports an alpha channel. See gdk_display_is_rgba()
for details.Owner: GdkDisplayFlags: ReadDefault value: TRUESignal DetailsThe “closed” signalGdkDisplay::closedvoid
user_function (GdkDisplay *display,
gboolean is_error,
gpointer user_data)The ::closed signal is emitted when the connection to the windowing
system for display
is closed.Parametersdisplaythe object on which the signal is emittedis_errorTRUE if the display was closed due to an erroruser_datauser data set when the signal handler was connected.Flags: Run LastThe “monitor-added” signalGdkDisplay::monitor-addedvoid
user_function (GdkDisplay *display,
GdkMonitor *monitor,
gpointer user_data)The ::monitor-added signal is emitted whenever a monitor is
added.Parametersdisplaythe objedct on which the signal is emittedmonitorthe monitor that was just addeduser_datauser data set when the signal handler was connected.Flags: Run LastThe “monitor-removed” signalGdkDisplay::monitor-removedvoid
user_function (GdkDisplay *display,
GdkMonitor *monitor,
gpointer user_data)The ::monitor-removed signal is emitted whenever a monitor is
removed.Parametersdisplaythe object on which the signal is emittedmonitorthe monitor that was just removeduser_datauser data set when the signal handler was connected.Flags: Run LastThe “opened” signalGdkDisplay::openedvoid
user_function (GdkDisplay *display,
gpointer user_data)The ::opened signal is emitted when the connection to the windowing
system for display
is opened.Parametersdisplaythe object on which the signal is emitteduser_datauser data set when the signal handler was connected.Flags: Run LastThe “seat-added” signalGdkDisplay::seat-addedvoid
user_function (GdkDisplay *display,
GdkSeat *seat,
gpointer user_data)The ::seat-added signal is emitted whenever a new seat is made
known to the windowing system.Parametersdisplaythe object on which the signal is emittedseatthe seat that was just addeduser_datauser data set when the signal handler was connected.Flags: Run LastThe “seat-removed” signalGdkDisplay::seat-removedvoid
user_function (GdkDisplay *display,
GdkSeat *seat,
gpointer user_data)The ::seat-removed signal is emitted whenever a seat is removed
by the windowing system.Parametersdisplaythe object on which the signal is emittedseatthe seat that was just removeduser_datauser data set when the signal handler was connected.Flags: Run LastThe “setting-changed” signalGdkDisplay::setting-changedvoid
user_function (GdkDisplay *display,
gchar *setting,
gpointer user_data)The ::setting-changed signal is emitted whenever a setting
changes its value.Parametersdisplaythe object on which the signal is emittedsettingthe name of the setting that changeduser_datauser data set when the signal handler was connected.Flags: Run Last
docs/reference/gdk/xml/gdkdisplaymanager.xml 0000664 0001750 0001750 00000047641 13617646445 021405 0 ustar mclasen mclasen
]>
GdkDisplayManager3GDK4 LibraryGdkDisplayManagerMaintains a list of all open GdkDisplaysFunctionsGdkDisplayManager *
gdk_display_manager_get ()GdkDisplay *
gdk_display_manager_get_default_display ()voidgdk_display_manager_set_default_display ()GSList *
gdk_display_manager_list_displays ()GdkDisplay *
gdk_display_manager_open_display ()voidgdk_set_allowed_backends ()PropertiesGdkDisplay *default-displayRead / WriteSignalsvoiddisplay-openedRun LastTypes and ValuesGdkDisplayManagerObject Hierarchy GObject
╰── GdkDisplayManager
Includes#include <gdk/gdk.h>
DescriptionThe purpose of the GdkDisplayManager singleton object is to offer
notification when displays appear or disappear or the default display
changes.You can use gdk_display_manager_get() to obtain the GdkDisplayManager
singleton, but that should be rarely necessary. Typically, initializing
GTK opens a display that you can work with without ever accessing the
GdkDisplayManager.The GDK library can be built with support for multiple backends.
The GdkDisplayManager object determines which backend is used
at runtime.When writing backend-specific code that is supposed to work with
multiple GDK backends, you have to consider both compile time and
runtime. At compile time, use the GDK_WINDOWING_X11, GDK_WINDOWING_WIN32
macros, etc. to find out which backends are present in the GDK library
you are building your application against. At runtime, use type-check
macros like GDK_IS_X11_DISPLAY() to find out which backend is in use:Backend-specific codeFunctionsgdk_display_manager_get ()gdk_display_manager_getGdkDisplayManager *
gdk_display_manager_get (void);Gets the singleton GdkDisplayManager object.When called for the first time, this function consults the
GDK_BACKEND environment variable to find out which
of the supported GDK backends to use (in case GDK has been compiled
with multiple backends). Applications can use gdk_set_allowed_backends()
to limit what backends can be used.ReturnsThe global GdkDisplayManager singleton;
gdk_parse_args(), gdk_init(), or gdk_init_check() must have
been called first. [transfer none]gdk_display_manager_get_default_display ()gdk_display_manager_get_default_displayGdkDisplay *
gdk_display_manager_get_default_display
(GdkDisplayManager *manager);Gets the default GdkDisplay.Parametersmanagera GdkDisplayManagerReturnsa GdkDisplay, or NULL if
there is no default display. [nullable][transfer none]gdk_display_manager_set_default_display ()gdk_display_manager_set_default_displayvoid
gdk_display_manager_set_default_display
(GdkDisplayManager *manager,
GdkDisplay *display);Sets display
as the default display.Parametersmanagera GdkDisplayManagerdisplaya GdkDisplaygdk_display_manager_list_displays ()gdk_display_manager_list_displaysGSList *
gdk_display_manager_list_displays (GdkDisplayManager *manager);List all currently open displays.Parametersmanagera GdkDisplayManagerReturnsa newly
allocated GSList of GdkDisplay objects. Free with g_slist_free()
when you are done with it. [transfer container][element-type GdkDisplay]gdk_display_manager_open_display ()gdk_display_manager_open_displayGdkDisplay *
gdk_display_manager_open_display (GdkDisplayManager *manager,
const gchar *name);Opens a display.Parametersmanagera GdkDisplayManagernamethe name of the display to openReturnsa GdkDisplay, or NULL if the
display could not be opened. [nullable][transfer none]gdk_set_allowed_backends ()gdk_set_allowed_backendsvoid
gdk_set_allowed_backends (const gchar *backends);Sets a list of backends that GDK should try to use.This can be be useful if your application does not
work with certain GDK backends.By default, GDK tries all included backends.For example,
instructs GDK to try the Wayland backend first,
followed by the Quartz backend, and then all
others.If the GDK_BACKEND environment variable
is set, it determines what backends are tried in what
order, while still respecting the set of allowed backends
that are specified by this function.The possible backend names are x11, win32, quartz,
broadway, wayland. You can also include a * in the
list to try all remaining backends.This call must happen prior to gdk_display_open(),
gtk_init(), or gtk_init_check()
in order to take effect.Parametersbackendsa comma-separated list of backendsProperty DetailsThe “default-display” propertyGdkDisplayManager:default-display “default-display” GdkDisplay *The default display for GDK.Owner: GdkDisplayManagerFlags: Read / WriteSignal DetailsThe “display-opened” signalGdkDisplayManager::display-openedvoid
user_function (GdkDisplayManager *manager,
GdkDisplay *display,
gpointer user_data)The ::display-opened signal is emitted when a display is opened.Parametersmanagerthe object on which the signal is emitteddisplaythe opened displayuser_datauser data set when the signal handler was connected.Flags: Run Last
docs/reference/gdk/xml/pixbufs.xml 0000664 0001750 0001750 00000012001 13617646445 017355 0 ustar mclasen mclasen
]>
GdkPixbuf Interaction3GDK4 LibraryGdkPixbuf InteractionFunctions for obtaining pixbufsFunctionsGdkPixbuf *
gdk_pixbuf_get_from_surface ()Includes#include <gdk/gdk.h>
DescriptionPixbufs are client-side images. For details on how to create
and manipulate pixbufs, see the GdkPixbuf API documentation.The functions described here allow to obtain pixbufs from
GdkSurfaces and cairo surfaces.Functionsgdk_pixbuf_get_from_surface ()gdk_pixbuf_get_from_surfaceGdkPixbuf *
gdk_pixbuf_get_from_surface (cairo_surface_t *surface,
gint src_x,
gint src_y,
gint width,
gint height);Transfers image data from a cairo_surface_t and converts it to an RGB(A)
representation inside a GdkPixbuf. This allows you to efficiently read
individual pixels from cairo surfaces.This function will create an RGB pixbuf with 8 bits per channel.
The pixbuf will contain an alpha channel if the surface
contains one.Parameterssurfacesurface to copy fromsrc_xSource X coordinate within surfacesrc_ySource Y coordinate within surfacewidthWidth in pixels of region to getheightHeight in pixels of region to getReturnsA newly-created pixbuf with a
reference count of 1, or NULL on error. [nullable][transfer full]
docs/reference/gdk/xml/rgba_colors.xml 0000664 0001750 0001750 00000042027 13617646445 020204 0 ustar mclasen mclasen
]>
RGBA Colors3GDK4 LibraryRGBA ColorsRGBA colorsFunctionsGdkRGBA *
gdk_rgba_copy ()voidgdk_rgba_free ()gbooleangdk_rgba_is_clear ()gbooleangdk_rgba_is_opaque ()gbooleangdk_rgba_parse ()gbooleangdk_rgba_equal ()guintgdk_rgba_hash ()gchar *
gdk_rgba_to_string ()Types and ValuesGdkRGBAObject Hierarchy GBoxed
╰── GdkRGBA
Includes#include <gdk/gdk.h>
DescriptionGdkRGBA is a convenient way to pass rgba colors around.
It’s based on cairo’s way to deal with colors and mirrors its behavior.
All values are in the range from 0.0 to 1.0 inclusive. So the color
(0.0, 0.0, 0.0, 0.0) represents transparent black and
(1.0, 1.0, 1.0, 1.0) is opaque white. Other values will be clamped
to this range when drawing.Functionsgdk_rgba_copy ()gdk_rgba_copyGdkRGBA *
gdk_rgba_copy (const GdkRGBA *rgba);Makes a copy of a GdkRGBA.The result must be freed through gdk_rgba_free().Parametersrgbaa GdkRGBAReturns A newly allocated GdkRGBA, with the same contents as rgbagdk_rgba_free ()gdk_rgba_freevoid
gdk_rgba_free (GdkRGBA *rgba);Frees a GdkRGBA created with gdk_rgba_copy()Parametersrgbaa GdkRGBAgdk_rgba_is_clear ()gdk_rgba_is_cleargboolean
gdk_rgba_is_clear (const GdkRGBA *rgba);Checks if an rgba
value is transparent. That is, drawing with the value
would not produce any change.Parametersrgbaa GdkRGBAReturnsTRUE if the rgba
is cleargdk_rgba_is_opaque ()gdk_rgba_is_opaquegboolean
gdk_rgba_is_opaque (const GdkRGBA *rgba);Checks if an rgba
value is opaque. That is, drawing with the value
will not retain any results from previous contents.Parametersrgbaa GdkRGBAReturnsTRUE if the rgba
is opaquegdk_rgba_parse ()gdk_rgba_parsegboolean
gdk_rgba_parse (GdkRGBA *rgba,
const gchar *spec);Parses a textual representation of a color, filling in
the red
, green
, blue
and alpha
fields of the rgbaGdkRGBA.The string can be either one of:A standard name (Taken from the X11 rgb.txt file).A hexadecimal value in the form “#rgb”, “#rrggbb”,
“#rrrgggbbb” or ”#rrrrggggbbbb”A RGB color in the form “rgb(r,g,b)” (In this case the color will
have full opacity)A RGBA color in the form “rgba(r,g,b,a)”Where “r”, “g”, “b” and “a” are respectively the red, green, blue and
alpha color values. In the last two cases, “r”, “g”, and “b” are either integers
in the range 0 to 255 or percentage values in the range 0% to 100%, and
a is a floating point value in the range 0 to 1.Parametersrgbathe GdkRGBA to fill inspecthe string specifying the colorReturnsTRUE if the parsing succeededgdk_rgba_equal ()gdk_rgba_equalgboolean
gdk_rgba_equal (gconstpointer p1,
gconstpointer p2);Compares two RGBA colors.Parametersp1a GdkRGBA pointer. [type GdkRGBA]p2another GdkRGBA pointer. [type GdkRGBA]ReturnsTRUE if the two colors compare equalgdk_rgba_hash ()gdk_rgba_hashguint
gdk_rgba_hash (gconstpointer p);A hash function suitable for using for a hash
table that stores GdkRGBAs.Parameterspa GdkRGBA pointer. [type GdkRGBA]Returns The hash value for pgdk_rgba_to_string ()gdk_rgba_to_stringgchar *
gdk_rgba_to_string (const GdkRGBA *rgba);Returns a textual specification of rgba
in the form
rgb(r,g,b) or
rgba(r g,b,a),
where “r”, “g”, “b” and “a” represent the red, green,
blue and alpha values respectively. “r”, “g”, and “b” are
represented as integers in the range 0 to 255, and “a”
is represented as a floating point value in the range 0 to 1.These string forms are string forms that are supported by
the CSS3 colors module, and can be parsed by gdk_rgba_parse().Note that this string representation may lose some
precision, since “r”, “g” and “b” are represented as 8-bit
integers. If this is a concern, you should use a
different representation.Parametersrgbaa GdkRGBAReturns A newly allocated text string
docs/reference/gdk/xml/gdksurface.xml 0000664 0001750 0001750 00000611220 13617646445 020023 0 ustar mclasen mclasen
]>
Surfaces3GDK4 LibrarySurfacesOnscreen display areas in the target window systemFunctionsGdkSurface *
gdk_surface_new_toplevel ()GdkSurface *
gdk_surface_new_temp ()GdkSurface *
gdk_surface_new_popup ()GdkSurface *
gdk_surface_get_parent ()voidgdk_surface_destroy ()GdkSurfaceTypegdk_surface_get_surface_type ()GdkDisplay *
gdk_surface_get_display ()voidgdk_surface_show ()voidgdk_surface_show_unraised ()voidgdk_surface_hide ()gbooleangdk_surface_is_destroyed ()gbooleangdk_surface_is_visible ()gbooleangdk_surface_is_viewable ()GdkSurfaceStategdk_surface_get_state ()voidgdk_surface_minimize ()voidgdk_surface_unminimize ()voidgdk_surface_stick ()voidgdk_surface_unstick ()voidgdk_surface_maximize ()voidgdk_surface_unmaximize ()voidgdk_surface_fullscreen ()voidgdk_surface_fullscreen_on_monitor ()voidgdk_surface_unfullscreen ()GdkFullscreenModegdk_surface_get_fullscreen_mode ()voidgdk_surface_set_fullscreen_mode ()voidgdk_surface_set_keep_above ()voidgdk_surface_set_keep_below ()voidgdk_surface_set_opacity ()voidgdk_surface_resize ()voidgdk_surface_move_to_rect ()voidgdk_surface_raise ()voidgdk_surface_lower ()voidgdk_surface_restack ()voidgdk_surface_focus ()voidgdk_surface_register_dnd ()voidgdk_surface_begin_resize_drag ()voidgdk_surface_begin_resize_drag_for_device ()voidgdk_surface_begin_move_drag ()voidgdk_surface_begin_move_drag_for_device ()gbooleangdk_surface_show_window_menu ()voidgdk_surface_constrain_size ()voidgdk_surface_beep ()gintgdk_surface_get_scale_factor ()voidgdk_surface_set_opaque_region ()GdkGLContext *
gdk_surface_create_gl_context ()GdkVulkanContext *
gdk_surface_create_vulkan_context ()GdkCairoContext *
gdk_surface_create_cairo_context ()voidgdk_surface_queue_expose ()voidgdk_surface_freeze_updates ()voidgdk_surface_thaw_updates ()GdkFrameClock *
gdk_surface_get_frame_clock ()voidgdk_surface_set_accept_focus ()gbooleangdk_surface_get_accept_focus ()voidgdk_surface_set_focus_on_map ()gbooleangdk_surface_get_focus_on_map ()voidgdk_surface_input_shape_combine_region ()voidgdk_surface_set_title ()voidgdk_surface_set_cursor ()GdkCursor *
gdk_surface_get_cursor ()voidgdk_surface_set_geometry_hints ()intgdk_surface_get_width ()intgdk_surface_get_height ()voidgdk_surface_set_icon_list ()voidgdk_surface_set_modal_hint ()gbooleangdk_surface_get_modal_hint ()voidgdk_surface_set_type_hint ()GdkSurfaceTypeHintgdk_surface_get_type_hint ()voidgdk_surface_set_shadow_width ()voidgdk_surface_get_position ()voidgdk_surface_get_device_position ()voidgdk_surface_set_icon_name ()voidgdk_surface_set_transient_for ()voidgdk_surface_set_startup_id ()voidgdk_surface_set_decorations ()gbooleangdk_surface_get_decorations ()voidgdk_surface_set_functions ()gbooleangdk_surface_get_support_multidevice ()voidgdk_surface_set_support_multidevice ()GdkCursor *
gdk_surface_get_device_cursor ()voidgdk_surface_set_device_cursor ()PropertiesgbooleanautohideRead / Write / Construct OnlyGdkCursor *cursorRead / WriteGdkDisplay *displayRead / Write / Construct OnlyGdkFrameClock *frame-clockRead / Write / Construct OnlygbooleanmappedReadGdkSurface *parentRead / Write / Construct OnlyGdkSurfaceStatestateReadGdkSurfaceTypesurface-typeRead / Write / Construct OnlySignalsgbooleaneventRun Lastvoidmoved-to-rectRun FirstgbooleanrenderRun Lastvoidsize-changedRun FirstTypes and ValuesGdkSurfaceenumGdkSurfaceTypeenumGdkSurfaceHintsstructGdkGeometryenumGdkGravityenumGdkAnchorHintsenumGdkSurfaceEdgeenumGdkSurfaceTypeHintenumGdkSurfaceStateenumGdkFullscreenMode#defineGDK_PARENT_RELATIVEenumGdkModifierTypeenumGdkModifierIntentenumGdkWMDecorationenumGdkWMFunctionObject Hierarchy GObject
╰── GdkSurface
Includes#include <gdk/gdk.h>
DescriptionA GdkSurface is a (usually) rectangular region on the screen.
It’s a low-level object, used to implement high-level objects such as
GtkWindow on the GTK level.Functionsgdk_surface_new_toplevel ()gdk_surface_new_toplevelGdkSurface *
gdk_surface_new_toplevel (GdkDisplay *display,
int width,
int height);Creates a new toplevel surface.[constructor]Parametersdisplaythe display to create the surface onwidthwidth of new surfaceheightheight of new surfaceReturnsthe new GdkSurface. [transfer full]gdk_surface_new_temp ()gdk_surface_new_tempGdkSurface *
gdk_surface_new_temp (GdkDisplay *display,
const GdkRectangle *position);Creates a new temporary surface.
The surface will bypass surface management.[constructor]Parametersdisplaythe display to create the surface onpositionposition of the surface on screenReturnsthe new GdkSurface. [transfer full]gdk_surface_new_popup ()gdk_surface_new_popupGdkSurface *
gdk_surface_new_popup (GdkDisplay *display,
GdkSurface *parent,
gboolean autohide);Create a new popup surface.The surface will be attached to parent
and can
be positioned relative to it using
gdk_surface_move_to_rect().[constructor]Parametersdisplaythe display to create the surface onparentthe parent surface to attach the surface toautohidewhether to hide the surface on outside clicksReturnsa new GdkSurface. [transfer full]gdk_surface_get_parent ()gdk_surface_get_parentGdkSurface *
gdk_surface_get_parent (GdkSurface *surface);Returns the parent surface of a surface, or
NULL if the surface does not have a parent.Only popup surfaces have parents.Parameterssurfacea GtkSurfaceReturnsthe parent of
surface
, or NULL. [transfer none][nullable]gdk_surface_destroy ()gdk_surface_destroyvoid
gdk_surface_destroy (GdkSurface *surface);Destroys the window system resources associated with surface
and decrements surface
's
reference count. The window system resources for all children of surface
are also
destroyed, but the children’s reference counts are not decremented.Note that a surface will not be destroyed automatically when its reference count
reaches zero. You must call this function yourself before that happens.Parameterssurfacea GdkSurfacegdk_surface_get_surface_type ()gdk_surface_get_surface_typeGdkSurfaceType
gdk_surface_get_surface_type (GdkSurface *surface);Gets the type of the surface. See GdkSurfaceType.Parameterssurfacea GdkSurfaceReturns type of surfacegdk_surface_get_display ()gdk_surface_get_displayGdkDisplay *
gdk_surface_get_display (GdkSurface *surface);Gets the GdkDisplay associated with a GdkSurface.Parameterssurfacea GdkSurfaceReturnsthe GdkDisplay associated with surface
. [transfer none]gdk_surface_show ()gdk_surface_showvoid
gdk_surface_show (GdkSurface *surface);Like gdk_surface_show_unraised(), but also raises the surface to the
top of the surface stack (moves the surface to the front of the
Z-order).This function maps a surface so it’s visible onscreen. Its opposite
is gdk_surface_hide().When implementing a GtkWidget, you should call this function on the widget's
GdkSurface as part of the “map” method.Parameterssurfacea GdkSurfacegdk_surface_show_unraised ()gdk_surface_show_unraisedvoid
gdk_surface_show_unraised (GdkSurface *surface);Shows a GdkSurface onscreen, but does not modify its stacking
order. In contrast, gdk_surface_show() will raise the surface
to the top of the surface stack.On the X11 platform, in Xlib terms, this function calls
XMapWindow() (it also updates some internal GDK state, which means
that you can’t really use XMapWindow() directly on a GDK surface).Parameterssurfacea GdkSurfacegdk_surface_hide ()gdk_surface_hidevoid
gdk_surface_hide (GdkSurface *surface);For toplevel surfaces, withdraws them, so they will no longer be
known to the window manager; for all surfaces, unmaps them, so
they won’t be displayed. Normally done automatically as
part of gtk_widget_hide().Parameterssurfacea GdkSurfacegdk_surface_is_destroyed ()gdk_surface_is_destroyedgboolean
gdk_surface_is_destroyed (GdkSurface *surface);Check to see if a surface is destroyed..Parameterssurfacea GdkSurfaceReturnsTRUE if the surface is destroyedgdk_surface_is_visible ()gdk_surface_is_visiblegboolean
gdk_surface_is_visible (GdkSurface *surface);Checks whether the surface has been mapped (with gdk_surface_show() or
gdk_surface_show_unraised()).Parameterssurfacea GdkSurfaceReturnsTRUE if the surface is mappedgdk_surface_is_viewable ()gdk_surface_is_viewablegboolean
gdk_surface_is_viewable (GdkSurface *surface);Check if the surface and all ancestors of the surface are
mapped. (This is not necessarily "viewable" in the X sense, since
we only check as far as we have GDK surface parents, not to the root
surface.)Parameterssurfacea GdkSurfaceReturnsTRUE if the surface is viewablegdk_surface_get_state ()gdk_surface_get_stateGdkSurfaceState
gdk_surface_get_state (GdkSurface *surface);Gets the bitwise OR of the currently active surface state flags,
from the GdkSurfaceState enumeration.Parameterssurfacea GdkSurfaceReturns surface state bitfieldgdk_surface_minimize ()gdk_surface_minimizevoid
gdk_surface_minimize (GdkSurface *surface);Asks to minimize the surface
.The windowing system may choose to ignore the request.You can track the result of this request by using the “state”
property.This function only makes sense when surface
is a toplevel surface.Parameterssurfacea toplevel GdkSurfacegdk_surface_unminimize ()gdk_surface_unminimizevoid
gdk_surface_unminimize (GdkSurface *surface);Asks to unminimize the surface
.The windowing system may choose to ignore the request.You can track the result of this request by using the “state”
property.This function only makes sense when surface
is a toplevel surface.Parameterssurfacea toplevel GdkSurfacegdk_surface_stick ()gdk_surface_stickvoid
gdk_surface_stick (GdkSurface *surface);“Pins” a surface such that it’s on all workspaces and does not scroll
with viewports, for window managers that have scrollable viewports.
(When using GtkWindow, gtk_window_stick() may be more useful.)On the X11 platform, this function depends on window manager
support, so may have no effect with many window managers. However,
GDK will do the best it can to convince the window manager to stick
the surface. For window managers that don’t support this operation,
there’s nothing you can do to force it to happen.Parameterssurfacea toplevel GdkSurfacegdk_surface_unstick ()gdk_surface_unstickvoid
gdk_surface_unstick (GdkSurface *surface);Reverse operation for gdk_surface_stick(); see gdk_surface_stick(),
and gtk_window_unstick().Parameterssurfacea toplevel GdkSurfacegdk_surface_maximize ()gdk_surface_maximizevoid
gdk_surface_maximize (GdkSurface *surface);Maximizes the surface. If the surface was already maximized, then
this function does nothing.On X11, asks the window manager to maximize surface
, if the window
manager supports this operation. Not all window managers support
this, and some deliberately ignore it or don’t have a concept of
“maximized”; so you can’t rely on the maximization actually
happening. But it will happen with most standard window managers,
and GDK makes a best effort to get it to happen.On Windows, reliably maximizes the surface.Parameterssurfacea toplevel GdkSurfacegdk_surface_unmaximize ()gdk_surface_unmaximizevoid
gdk_surface_unmaximize (GdkSurface *surface);Unmaximizes the surface. If the surface wasn’t maximized, then this
function does nothing.On X11, asks the window manager to unmaximize surface
, if the
window manager supports this operation. Not all window managers
support this, and some deliberately ignore it or don’t have a
concept of “maximized”; so you can’t rely on the unmaximization
actually happening. But it will happen with most standard window
managers, and GDK makes a best effort to get it to happen.On Windows, reliably unmaximizes the surface.Parameterssurfacea toplevel GdkSurfacegdk_surface_fullscreen ()gdk_surface_fullscreenvoid
gdk_surface_fullscreen (GdkSurface *surface);Moves the surface into fullscreen mode. This means the
surface covers the entire screen and is above any panels
or task bars.If the surface was already fullscreen, then this function does nothing.On X11, asks the window manager to put surface
in a fullscreen
state, if the window manager supports this operation. Not all
window managers support this, and some deliberately ignore it or
don’t have a concept of “fullscreen”; so you can’t rely on the
fullscreenification actually happening. But it will happen with
most standard window managers, and GDK makes a best effort to get
it to happen.Parameterssurfacea toplevel GdkSurfacegdk_surface_fullscreen_on_monitor ()gdk_surface_fullscreen_on_monitorvoid
gdk_surface_fullscreen_on_monitor (GdkSurface *surface,
GdkMonitor *monitor);Moves the surface into fullscreen mode on the given monitor. This means
the surface covers the entire screen and is above any panels or task bars.If the surface was already fullscreen, then this function does nothing.Parameterssurfacea toplevel GdkSurfacemonitorWhich monitor to display fullscreen on.gdk_surface_unfullscreen ()gdk_surface_unfullscreenvoid
gdk_surface_unfullscreen (GdkSurface *surface);Moves the surface out of fullscreen mode. If the surface was not
fullscreen, does nothing.On X11, asks the window manager to move surface
out of the fullscreen
state, if the window manager supports this operation. Not all
window managers support this, and some deliberately ignore it or
don’t have a concept of “fullscreen”; so you can’t rely on the
unfullscreenification actually happening. But it will happen with
most standard window managers, and GDK makes a best effort to get
it to happen.Parameterssurfacea toplevel GdkSurfacegdk_surface_get_fullscreen_mode ()gdk_surface_get_fullscreen_modeGdkFullscreenMode
gdk_surface_get_fullscreen_mode (GdkSurface *surface);Obtains the GdkFullscreenMode of the surface
.Parameterssurfacea toplevel GdkSurfaceReturns The GdkFullscreenMode applied to the surface when fullscreen.gdk_surface_set_fullscreen_mode ()gdk_surface_set_fullscreen_modevoid
gdk_surface_set_fullscreen_mode (GdkSurface *surface,
GdkFullscreenMode mode);Specifies whether the surface
should span over all monitors (in a multi-head
setup) or only the current monitor when in fullscreen mode.The mode
argument is from the GdkFullscreenMode enumeration.
If GDK_FULLSCREEN_ON_ALL_MONITORS is specified, the fullscreen surface
will
span over all monitors of the display.On X11, searches through the list of monitors display the ones
which delimit the 4 edges of the entire display and will ask the window
manager to span the surface
over these monitors.If the XINERAMA extension is not available or not usable, this function
has no effect.Not all window managers support this, so you can’t rely on the fullscreen
surface to span over the multiple monitors when GDK_FULLSCREEN_ON_ALL_MONITORS
is specified.Parameterssurfacea toplevel GdkSurfacemodefullscreen modegdk_surface_set_keep_above ()gdk_surface_set_keep_abovevoid
gdk_surface_set_keep_above (GdkSurface *surface,
gboolean setting);Set if surface
must be kept above other surfaces. If the
surface was already above, then this function does nothing.On X11, asks the window manager to keep surface
above, if the window
manager supports this operation. Not all window managers support
this, and some deliberately ignore it or don’t have a concept of
“keep above”; so you can’t rely on the surface being kept above.
But it will happen with most standard window managers,
and GDK makes a best effort to get it to happen.Parameterssurfacea toplevel GdkSurfacesettingwhether to keep surface
above other surfacesgdk_surface_set_keep_below ()gdk_surface_set_keep_belowvoid
gdk_surface_set_keep_below (GdkSurface *surface,
gboolean setting);Set if surface
must be kept below other surfaces. If the
surface was already below, then this function does nothing.On X11, asks the window manager to keep surface
below, if the window
manager supports this operation. Not all window managers support
this, and some deliberately ignore it or don’t have a concept of
“keep below”; so you can’t rely on the surface being kept below.
But it will happen with most standard window managers,
and GDK makes a best effort to get it to happen.Parameterssurfacea toplevel GdkSurfacesettingwhether to keep surface
below other surfacesgdk_surface_set_opacity ()gdk_surface_set_opacityvoid
gdk_surface_set_opacity (GdkSurface *surface,
gdouble opacity);Set surface
to render as partially transparent,
with opacity 0 being fully transparent and 1 fully opaque. (Values
of the opacity parameter are clamped to the [0,1] range.) For toplevel surfaces this depends on support from the windowing system
that may not always be there. For instance, On X11, this works only on
X screens with a compositing manager running. On Wayland, there is no
per-surface opacity value that the compositor would apply. Instead, use
gdk_surface_set_opaque_region (surface, NULL) to tell the compositor
that the entire surface is (potentially) non-opaque, and draw your content
with alpha, or use gtk_widget_set_opacity() to set an overall opacity
for your widgets.Support for non-toplevel surfaces was added in 3.8.Parameterssurfacea top-level or non-native GdkSurfaceopacityopacitygdk_surface_resize ()gdk_surface_resizevoid
gdk_surface_resize (GdkSurface *surface,
gint width,
gint height);Resizes surface
; for toplevel surfaces, asks the window manager to resize
the surface. The window manager may not allow the resize. When using GTK,
use gtk_window_resize() instead of this low-level GDK function.Surfaces may not be resized below 1x1.Parameterssurfacea GdkSurfacewidthnew width of the surfaceheightnew height of the surfacegdk_surface_move_to_rect ()gdk_surface_move_to_rectvoid
gdk_surface_move_to_rect (GdkSurface *surface,
const GdkRectangle *rect,
GdkGravity rect_anchor,
GdkGravity surface_anchor,
GdkAnchorHints anchor_hints,
gint rect_anchor_dx,
gint rect_anchor_dy);Moves surface
to rect
, aligning their anchor points.rect
is relative to the top-left corner of the surface that surface
is
transient for. rect_anchor
and surface_anchor
determine anchor points on
rect
and surface
to pin together. rect
's anchor point can optionally be
offset by rect_anchor_dx
and rect_anchor_dy
, which is equivalent to
offsetting the position of surface
.anchor_hints
determines how surface
will be moved if the anchor points cause
it to move off-screen. For example, GDK_ANCHOR_FLIP_X will replace
GDK_GRAVITY_NORTH_WEST with GDK_GRAVITY_NORTH_EAST and vice versa if
surface
extends beyond the left or right edges of the monitor.Connect to the “moved-to-rect” signal to find out how it was
actually positioned.Parameterssurfacethe GdkSurface to moverectthe destination GdkRectangle to align surface
with. [not nullable]rect_anchorthe point on rect
to align with surface
's anchor pointsurface_anchorthe point on surface
to align with rect
's anchor pointanchor_hintspositioning hints to use when limited on spacerect_anchor_dxhorizontal offset to shift surface
, i.e. rect
's anchor
pointrect_anchor_dyvertical offset to shift surface
, i.e. rect
's anchor pointgdk_surface_raise ()gdk_surface_raisevoid
gdk_surface_raise (GdkSurface *surface);Raises surface
to the top of the Z-order (stacking order), so that
other surfaces with the same parent surface appear below surface
.
This is true whether or not the surfaces are visible.If surface
is a toplevel, the window manager may choose to deny the
request to move the surface in the Z-order, gdk_surface_raise() only
requests the restack, does not guarantee it.Parameterssurfacea GdkSurfacegdk_surface_lower ()gdk_surface_lowervoid
gdk_surface_lower (GdkSurface *surface);Lowers surface
to the bottom of the Z-order (stacking order), so that
other surfaces with the same parent surface appear above surface
.
This is true whether or not the other surfaces are visible.If surface
is a toplevel, the window manager may choose to deny the
request to move the surface in the Z-order, gdk_surface_lower() only
requests the restack, does not guarantee it.Note that gdk_surface_show() raises the surface again, so don’t call this
function before gdk_surface_show(). (Try gdk_surface_show_unraised().)Parameterssurfacea GdkSurfacegdk_surface_restack ()gdk_surface_restackvoid
gdk_surface_restack (GdkSurface *surface,
GdkSurface *sibling,
gboolean above);Changes the position of surface
in the Z-order (stacking order), so that
it is above sibling
(if above
is TRUE) or below sibling
(if above
is
FALSE).If sibling
is NULL, then this either raises (if above
is TRUE) or
lowers the surface.If surface
is a toplevel, the window manager may choose to deny the
request to move the surface in the Z-order, gdk_surface_restack() only
requests the restack, does not guarantee it.Parameterssurfacea GdkSurfacesiblinga GdkSurface that is a sibling of surface
, or NULL. [allow-none]abovea booleangdk_surface_focus ()gdk_surface_focusvoid
gdk_surface_focus (GdkSurface *surface,
guint32 timestamp);Sets keyboard focus to surface
. In most cases, gtk_window_present_with_time()
should be used on a GtkWindow, rather than calling this function.Parameterssurfacea GdkSurfacetimestamptimestamp of the event triggering the surface focusgdk_surface_register_dnd ()gdk_surface_register_dndvoid
gdk_surface_register_dnd (GdkSurface *surface);Registers a surface as a potential drop destination.Parameterssurfacea GdkSurface.gdk_surface_begin_resize_drag ()gdk_surface_begin_resize_dragvoid
gdk_surface_begin_resize_drag (GdkSurface *surface,
GdkSurfaceEdge edge,
gint button,
gint x,
gint y,
guint32 timestamp);Begins a surface resize operation (for a toplevel surface).This function assumes that the drag is controlled by the
client pointer device, use gdk_surface_begin_resize_drag_for_device()
to begin a drag with a different device.Parameterssurfacea toplevel GdkSurfaceedgethe edge or corner from which the drag is startedbuttonthe button being used to drag, or 0 for a keyboard-initiated dragxsurface X coordinate of mouse click that began the dragysurface Y coordinate of mouse click that began the dragtimestamptimestamp of mouse click that began the drag (use gdk_event_get_time())gdk_surface_begin_resize_drag_for_device ()gdk_surface_begin_resize_drag_for_devicevoid
gdk_surface_begin_resize_drag_for_device
(GdkSurface *surface,
GdkSurfaceEdge edge,
GdkDevice *device,
gint button,
gint x,
gint y,
guint32 timestamp);Begins a surface resize operation (for a toplevel surface).
You might use this function to implement a “window resize grip,”Parameterssurfacea toplevel GdkSurfaceedgethe edge or corner from which the drag is starteddevicethe device used for the operationbuttonthe button being used to drag, or 0 for a keyboard-initiated dragxsurface X coordinate of mouse click that began the dragysurface Y coordinate of mouse click that began the dragtimestamptimestamp of mouse click that began the drag (use gdk_event_get_time())gdk_surface_begin_move_drag ()gdk_surface_begin_move_dragvoid
gdk_surface_begin_move_drag (GdkSurface *surface,
gint button,
gint x,
gint y,
guint32 timestamp);Begins a surface move operation (for a toplevel surface).This function assumes that the drag is controlled by the
client pointer device, use gdk_surface_begin_move_drag_for_device()
to begin a drag with a different device.Parameterssurfacea toplevel GdkSurfacebuttonthe button being used to drag, or 0 for a keyboard-initiated dragxsurface X coordinate of mouse click that began the dragysurface Y coordinate of mouse click that began the dragtimestamptimestamp of mouse click that began the draggdk_surface_begin_move_drag_for_device ()gdk_surface_begin_move_drag_for_devicevoid
gdk_surface_begin_move_drag_for_device
(GdkSurface *surface,
GdkDevice *device,
gint button,
gint x,
gint y,
guint32 timestamp);Begins a surface move operation (for a toplevel surface).Parameterssurfacea toplevel GdkSurfacedevicethe device used for the operationbuttonthe button being used to drag, or 0 for a keyboard-initiated dragxsurface X coordinate of mouse click that began the dragysurface Y coordinate of mouse click that began the dragtimestamptimestamp of mouse click that began the draggdk_surface_show_window_menu ()gdk_surface_show_window_menugboolean
gdk_surface_show_window_menu (GdkSurface *surface,
GdkEvent *event);Asks the windowing system to show the window menu. The window menu
is the menu shown when right-clicking the titlebar on traditional
windows managed by the window manager. This is useful for windows
using client-side decorations, activating it with a right-click
on the window decorations.Parameterssurfacea GdkSurfaceeventa GdkEvent to show the menu forReturnsTRUE if the window menu was shown and FALSE otherwise.gdk_surface_constrain_size ()gdk_surface_constrain_sizevoid
gdk_surface_constrain_size (GdkGeometry *geometry,
GdkSurfaceHints flags,
gint width,
gint height,
gint *new_width,
gint *new_height);Constrains a desired width and height according to a
set of geometry hints (such as minimum and maximum size).Parametersgeometrya GdkGeometry structureflagsa mask indicating what portions of geometry
are setwidthdesired width of surfaceheightdesired height of the surfacenew_widthlocation to store resulting width. [out]new_heightlocation to store resulting height. [out]gdk_surface_beep ()gdk_surface_beepvoid
gdk_surface_beep (GdkSurface *surface);Emits a short beep associated to surface
in the appropriate
display, if supported. Otherwise, emits a short beep on
the display just as gdk_display_beep().Parameterssurfacea toplevel GdkSurfacegdk_surface_get_scale_factor ()gdk_surface_get_scale_factorgint
gdk_surface_get_scale_factor (GdkSurface *surface);Returns the internal scale factor that maps from surface coordiantes
to the actual device pixels. On traditional systems this is 1, but
on very high density outputs this can be a higher value (often 2).A higher value means that drawing is automatically scaled up to
a higher resolution, so any code doing drawing will automatically look
nicer. However, if you are supplying pixel-based data the scale
value can be used to determine whether to use a pixel resource
with higher resolution data.The scale of a surface may change during runtime, if this happens
a configure event will be sent to the toplevel surface.Parameterssurfacesurface to get scale factor forReturns the scale factorgdk_surface_set_opaque_region ()gdk_surface_set_opaque_regionvoid
gdk_surface_set_opaque_region (GdkSurface *surface,
cairo_region_t *region);For optimisation purposes, compositing window managers may
like to not draw obscured regions of surfaces, or turn off blending
during for these regions. With RGB windows with no transparency,
this is just the shape of the window, but with ARGB32 windows, the
compositor does not know what regions of the window are transparent
or not.This function only works for toplevel surfaces.GTK will update this property automatically if
the surface
background is opaque, as we know where the opaque regions
are. If your surface background is not opaque, please update this
property in your “css-changed” handler.Parameterssurfacea top-level or non-native GdkSurfaceregiona region, or NULL. [allow-none]gdk_surface_create_gl_context ()gdk_surface_create_gl_contextGdkGLContext *
gdk_surface_create_gl_context (GdkSurface *surface,
GError **error);Creates a new GdkGLContext matching the
framebuffer format to the visual of the GdkSurface. The context
is disconnected from any particular surface or surface.If the creation of the GdkGLContext failed, error
will be set.Before using the returned GdkGLContext, you will need to
call gdk_gl_context_make_current() or gdk_gl_context_realize().Parameterssurfacea GdkSurfaceerrorreturn location for an errorReturnsthe newly created GdkGLContext, or
NULL on error. [transfer full]gdk_surface_create_vulkan_context ()gdk_surface_create_vulkan_contextGdkVulkanContext *
gdk_surface_create_vulkan_context (GdkSurface *surface,
GError **error);Creates a new GdkVulkanContext for rendering on surface
.If the creation of the GdkVulkanContext failed, error
will be set.Parameterssurfacea GdkSurfaceerrorreturn location for an errorReturnsthe newly created GdkVulkanContext, or
NULL on error. [transfer full]gdk_surface_create_cairo_context ()gdk_surface_create_cairo_contextGdkCairoContext *
gdk_surface_create_cairo_context (GdkSurface *surface);Creates a new GdkCairoContext for rendering on surface
.Parameterssurfacea GdkSurfaceReturnsthe newly created GdkCairoContext. [transfer full]gdk_surface_queue_expose ()gdk_surface_queue_exposevoid
gdk_surface_queue_expose (GdkSurface *surface);Forces an expose event for surface
to be scheduled.If the invalid area of surface
is empty, an expose event will
still be emitted. Its invalid region will be empty.This function is useful for implementations that track invalid
regions on their own.Parameterssurfacea GdkSurfacegdk_surface_freeze_updates ()gdk_surface_freeze_updatesvoid
gdk_surface_freeze_updates (GdkSurface *surface);Temporarily freezes a surface such that it won’t receive expose
events. The surface will begin receiving expose events again when
gdk_surface_thaw_updates() is called. If gdk_surface_freeze_updates()
has been called more than once, gdk_surface_thaw_updates() must be called
an equal number of times to begin processing exposes.Parameterssurfacea GdkSurfacegdk_surface_thaw_updates ()gdk_surface_thaw_updatesvoid
gdk_surface_thaw_updates (GdkSurface *surface);Thaws a surface frozen with gdk_surface_freeze_updates(). Note that this
will not necessarily schedule updates if the surface freeze count reaches
zero.Parameterssurfacea GdkSurfacegdk_surface_get_frame_clock ()gdk_surface_get_frame_clockGdkFrameClock *
gdk_surface_get_frame_clock (GdkSurface *surface);Gets the frame clock for the surface. The frame clock for a surface
never changes unless the surface is reparented to a new toplevel
surface.Parameterssurfacesurface to get frame clock forReturnsthe frame clock. [transfer none]gdk_surface_set_accept_focus ()gdk_surface_set_accept_focusvoid
gdk_surface_set_accept_focus (GdkSurface *surface,
gboolean accept_focus);Setting accept_focus
to FALSE hints the desktop environment that the
surface doesn’t want to receive input focus.On X, it is the responsibility of the window manager to interpret this
hint. ICCCM-compliant window manager usually respect it.Parameterssurfacea toplevel GdkSurfaceaccept_focusTRUE if the surface should receive input focusgdk_surface_get_accept_focus ()gdk_surface_get_accept_focusgboolean
gdk_surface_get_accept_focus (GdkSurface *surface);Determines whether or not the desktop environment shuld be hinted that
the surface does not want to receive input focus.Parameterssurfacea toplevel GdkSurface.Returns whether or not the surface should receive input focus.gdk_surface_set_focus_on_map ()gdk_surface_set_focus_on_mapvoid
gdk_surface_set_focus_on_map (GdkSurface *surface,
gboolean focus_on_map);Setting focus_on_map
to FALSE hints the desktop environment that the
surface doesn’t want to receive input focus when it is mapped.
focus_on_map should be turned off for surfaces that aren’t triggered
interactively (such as popups from network activity).On X, it is the responsibility of the window manager to interpret
this hint. Window managers following the freedesktop.org window
manager extension specification should respect it.Parameterssurfacea toplevel GdkSurfacefocus_on_mapTRUE if the surface should receive input focus when mappedgdk_surface_get_focus_on_map ()gdk_surface_get_focus_on_mapgboolean
gdk_surface_get_focus_on_map (GdkSurface *surface);Determines whether or not the desktop environment should be hinted that the
surface does not want to receive input focus when it is mapped.Parameterssurfacea toplevel GdkSurface.Returns whether or not the surface wants to receive input focus when
it is mapped.gdk_surface_input_shape_combine_region ()gdk_surface_input_shape_combine_regionvoid
gdk_surface_input_shape_combine_region
(GdkSurface *surface,
const cairo_region_t *shape_region,
gint offset_x,
gint offset_y);Apply the region to the surface for the purpose of event
handling. Mouse events which happen while the pointer position
corresponds to an unset bit in the mask will be passed on the
surface below surface
.An input shape is typically used with RGBA surfaces.
The alpha channel of the surface defines which pixels are
invisible and allows for nicely antialiased borders,
and the input shape controls where the surface is
“clickable”.On the X11 platform, this requires version 1.1 of the
shape extension.On the Win32 platform, this functionality is not present and the
function does nothing.Parameterssurfacea GdkSurfaceshape_regionregion of surface to be non-transparentoffset_xX position of shape_region
in surface
coordinatesoffset_yY position of shape_region
in surface
coordinatesgdk_surface_set_title ()gdk_surface_set_titlevoid
gdk_surface_set_title (GdkSurface *surface,
const gchar *title);Sets the title of a toplevel surface, to be displayed in the titlebar.
If you haven’t explicitly set the icon name for the surface
(using gdk_surface_set_icon_name()), the icon name will be set to
title
as well. title
must be in UTF-8 encoding (as with all
user-readable strings in GDK and GTK). title
may not be NULL.Parameterssurfacea toplevel GdkSurfacetitletitle of surfacegdk_surface_set_cursor ()gdk_surface_set_cursorvoid
gdk_surface_set_cursor (GdkSurface *surface,
GdkCursor *cursor);Sets the default mouse pointer for a GdkSurface.Note that cursor
must be for the same display as surface
.Use gdk_cursor_new_from_name() or gdk_cursor_new_from_texture() to
create the cursor. To make the cursor invisible, use GDK_BLANK_CURSOR.
Passing NULL for the cursor
argument to gdk_surface_set_cursor() means
that surface
will use the cursor of its parent surface. Most surfaces
should use this default.Parameterssurfacea GdkSurfacecursora cursor. [allow-none]gdk_surface_get_cursor ()gdk_surface_get_cursorGdkCursor *
gdk_surface_get_cursor (GdkSurface *surface);Retrieves a GdkCursor pointer for the cursor currently set on the
specified GdkSurface, or NULL. If the return value is NULL then
there is no custom cursor set on the specified surface, and it is
using the cursor for its parent surface.Parameterssurfacea GdkSurfaceReturnsa GdkCursor, or NULL. The
returned object is owned by the GdkSurface and should not be
unreferenced directly. Use gdk_surface_set_cursor() to unset the
cursor of the surface. [nullable][transfer none]gdk_surface_set_geometry_hints ()gdk_surface_set_geometry_hintsvoid
gdk_surface_set_geometry_hints (GdkSurface *surface,
const GdkGeometry *geometry,
GdkSurfaceHints geom_mask);Sets the geometry hints for surface
. Hints flagged in geom_mask
are set, hints not flagged in geom_mask
are unset.
To unset all hints, use a geom_mask
of 0 and a geometry
of NULL.This function provides hints to the surfaceing system about
acceptable sizes for a toplevel surface. The purpose of
this is to constrain user resizing, but the windowing system
will typically (but is not required to) also constrain the
current size of the surface to the provided values and
constrain programatic resizing via gdk_surface_resize().Note that on X11, this effect has no effect on surfaces
of type GDK_SURFACE_TEMP since these surfaces are not resizable
by the user.Since you can’t count on the windowing system doing the
constraints for programmatic resizes, you should generally
call gdk_surface_constrain_size() yourself to determine
appropriate sizes.Parameterssurfacea toplevel GdkSurfacegeometrygeometry hintsgeom_maskbitmask indicating fields of geometry
to pay attention togdk_surface_get_width ()gdk_surface_get_widthint
gdk_surface_get_width (GdkSurface *surface);Returns the width of the given surface
.On the X11 platform the returned size is the size reported in the
most-recently-processed configure event, rather than the current
size on the X server.Parameterssurfacea GdkSurfaceReturns The width of surfacegdk_surface_get_height ()gdk_surface_get_heightint
gdk_surface_get_height (GdkSurface *surface);Returns the height of the given surface
.On the X11 platform the returned size is the size reported in the
most-recently-processed configure event, rather than the current
size on the X server.Parameterssurfacea GdkSurfaceReturns The height of surfacegdk_surface_set_icon_list ()gdk_surface_set_icon_listvoid
gdk_surface_set_icon_list (GdkSurface *surface,
GList *surfaces);Sets a list of icons for the surface. One of these will be used
to represent the surface when it has been iconified. The icon is
usually shown in an icon box or some sort of task bar. Which icon
size is shown depends on the window manager. The window manager
can scale the icon but setting several size icons can give better
image quality since the window manager may only need to scale the
icon by a small amount or not at all.Note that some platforms don't support surface icons.ParameterssurfaceThe GdkSurface toplevel surface to set the icon of.surfacesA list of image surfaces, of different sizes. [transfer none][element-type GdkTexture]gdk_surface_set_modal_hint ()gdk_surface_set_modal_hintvoid
gdk_surface_set_modal_hint (GdkSurface *surface,
gboolean modal);The application can use this hint to tell the window manager
that a certain surface has modal behaviour. The window manager
can use this information to handle modal surfaces in a special
way.You should only use this on surfaces for which you have
previously called gdk_surface_set_transient_for()ParameterssurfaceA toplevel GdkSurfacemodalTRUE if the surface is modal, FALSE otherwise.gdk_surface_get_modal_hint ()gdk_surface_get_modal_hintgboolean
gdk_surface_get_modal_hint (GdkSurface *surface);Determines whether or not the window manager is hinted that surface
has modal behaviour.ParameterssurfaceA toplevel GdkSurface.Returns whether or not the surface has the modal hint set.gdk_surface_set_type_hint ()gdk_surface_set_type_hintvoid
gdk_surface_set_type_hint (GdkSurface *surface,
GdkSurfaceTypeHint hint);The application can use this call to provide a hint to the surface
manager about the functionality of a surface. The window manager
can use this information when determining the decoration and behaviour
of the surface.The hint must be set before the surface is mapped.ParameterssurfaceA toplevel GdkSurfacehintA hint of the function this surface will havegdk_surface_get_type_hint ()gdk_surface_get_type_hintGdkSurfaceTypeHint
gdk_surface_get_type_hint (GdkSurface *surface);This function returns the type hint set for a surface.ParameterssurfaceA toplevel GdkSurfaceReturns The type hint set for surfacegdk_surface_set_shadow_width ()gdk_surface_set_shadow_widthvoid
gdk_surface_set_shadow_width (GdkSurface *surface,
gint left,
gint right,
gint top,
gint bottom);Newer GTK windows using client-side decorations use extra geometry
around their frames for effects like shadows and invisible borders.
Window managers that want to maximize windows or snap to edges need
to know where the extents of the actual frame lie, so that users
don’t feel like windows are snapping against random invisible edges.Note that this property is automatically updated by GTK, so this
function should only be used by applications which do not use GTK
to create toplevel surfaces.Parameterssurfacea GdkSurfaceleftThe left extentrightThe right extenttopThe top extentbottomThe bottom extentgdk_surface_get_position ()gdk_surface_get_positionvoid
gdk_surface_get_position (GdkSurface *surface,
gint *x,
gint *y);Obtains the position of the surface relative to its parent.Parameterssurfacea GdkSurfacexX coordinate of surface. [out]yY coordinate of surface. [out]gdk_surface_get_device_position ()gdk_surface_get_device_positionvoid
gdk_surface_get_device_position (GdkSurface *surface,
GdkDevice *device,
double *x,
double *y,
GdkModifierType *mask);Obtains the current device position in doubles and modifier state.
The position is given in coordinates relative to the upper left
corner of surface
.Parameterssurfacea GdkSurface.devicepointer GdkDevice to query to.xreturn location for the X coordinate of device
, or NULL. [out][allow-none]yreturn location for the Y coordinate of device
, or NULL. [out][allow-none]maskreturn location for the modifier mask, or NULL. [out][allow-none]gdk_surface_set_icon_name ()gdk_surface_set_icon_namevoid
gdk_surface_set_icon_name (GdkSurface *surface,
const gchar *name);Surfaces may have a name used while minimized, distinct from the
name they display in their titlebar. Most of the time this is a bad
idea from a user interface standpoint. But you can set such a name
with this function, if you like.After calling this with a non-NULLname
, calls to gdk_surface_set_title()
will not update the icon title.Using NULL for name
unsets the icon title; further calls to
gdk_surface_set_title() will again update the icon title as well.Note that some platforms don't support surface icons.Parameterssurfacea toplevel GdkSurfacenamename of surface while iconified (minimized). [allow-none]gdk_surface_set_transient_for ()gdk_surface_set_transient_forvoid
gdk_surface_set_transient_for (GdkSurface *surface,
GdkSurface *parent);Indicates to the window manager that surface
is a transient dialog
associated with the application surface parent
. This allows the
window manager to do things like center surface
on parent
and
keep surface
above parent
.See gtk_window_set_transient_for() if you’re using GtkWindow or
GtkDialog.Parameterssurfacea toplevel GdkSurfaceparentanother toplevel GdkSurfacegdk_surface_set_startup_id ()gdk_surface_set_startup_idvoid
gdk_surface_set_startup_id (GdkSurface *surface,
const gchar *startup_id);When using GTK, typically you should use gtk_window_set_startup_id()
instead of this low-level function.Parameterssurfacea toplevel GdkSurfacestartup_ida string with startup-notification identifiergdk_surface_set_decorations ()gdk_surface_set_decorationsvoid
gdk_surface_set_decorations (GdkSurface *surface,
GdkWMDecoration decorations);“Decorations” are the features the window manager adds to a toplevel GdkSurface.
This function sets the traditional Motif window manager hints that tell the
window manager which decorations you would like your surface to have.
Usually you should use gtk_window_set_decorated() on a GtkWindow instead of
using the GDK function directly.The decorations
argument is the logical OR of the fields in
the GdkWMDecoration enumeration. If GDK_DECOR_ALL is included in the
mask, the other bits indicate which decorations should be turned off.
If GDK_DECOR_ALL is not included, then the other bits indicate
which decorations should be turned on.Most window managers honor a decorations hint of 0 to disable all decorations,
but very few honor all possible combinations of bits.Parameterssurfacea toplevel GdkSurfacedecorationsdecoration hint maskgdk_surface_get_decorations ()gdk_surface_get_decorationsgboolean
gdk_surface_get_decorations (GdkSurface *surface,
GdkWMDecoration *decorations);Returns the decorations set on the GdkSurface with
gdk_surface_set_decorations().ParameterssurfaceThe toplevel GdkSurface to get the decorations fromdecorationsThe surface decorations will be written here. [out]ReturnsTRUE if the surface has decorations set, FALSE otherwise.gdk_surface_set_functions ()gdk_surface_set_functionsvoid
gdk_surface_set_functions (GdkSurface *surface,
GdkWMFunction functions);Sets hints about the window management functions to make available
via buttons on the window frame.On the X backend, this function sets the traditional Motif window
manager hint for this purpose. However, few window managers do
anything reliable or interesting with this hint. Many ignore it
entirely.The functions
argument is the logical OR of values from the
GdkWMFunction enumeration. If the bitmask includes GDK_FUNC_ALL,
then the other bits indicate which functions to disable; if
it doesn’t include GDK_FUNC_ALL, it indicates which functions to
enable.Parameterssurfacea toplevel GdkSurfacefunctionsbitmask of operations to allow on surfacegdk_surface_get_support_multidevice ()gdk_surface_get_support_multidevicegboolean
gdk_surface_get_support_multidevice (GdkSurface *surface);Returns TRUE if the surface is aware of the existence of multiple
devices.Parameterssurfacea GdkSurface.ReturnsTRUE if the surface handles multidevice features.gdk_surface_set_support_multidevice ()gdk_surface_set_support_multidevicevoid
gdk_surface_set_support_multidevice (GdkSurface *surface,
gboolean support_multidevice);This function will enable multidevice features in surface
.Multidevice aware surfaces will need to handle properly multiple,
per device enter/leave events, device grabs and grab ownerships.Parameterssurfacea GdkSurface.support_multideviceTRUE to enable multidevice support in surface
.gdk_surface_get_device_cursor ()gdk_surface_get_device_cursorGdkCursor *
gdk_surface_get_device_cursor (GdkSurface *surface,
GdkDevice *device);Retrieves a GdkCursor pointer for the device
currently set on the
specified GdkSurface, or NULL. If the return value is NULL then
there is no custom cursor set on the specified surface, and it is
using the cursor for its parent surface.Parameterssurfacea GdkSurface.devicea master, pointer GdkDevice.Returnsa GdkCursor, or NULL. The
returned object is owned by the GdkSurface and should not be
unreferenced directly. Use gdk_surface_set_cursor() to unset the
cursor of the surface. [nullable][transfer none]gdk_surface_set_device_cursor ()gdk_surface_set_device_cursorvoid
gdk_surface_set_device_cursor (GdkSurface *surface,
GdkDevice *device,
GdkCursor *cursor);Sets a specific GdkCursor for a given device when it gets inside surface
.
Use gdk_cursor_new_fromm_name() or gdk_cursor_new_from_texture() to create
the cursor. To make the cursor invisible, use GDK_BLANK_CURSOR. Passing
NULL for the cursor
argument to gdk_surface_set_cursor() means that
surface
will use the cursor of its parent surface. Most surfaces should
use this default.Parameterssurfacea GdkSurfacedevicea master, pointer GdkDevicecursora GdkCursorProperty DetailsThe “autohide” propertyGdkSurface:autohide “autohide” gbooleanWhether to dismiss the surface on outside clicks.Owner: GdkSurfaceFlags: Read / Write / Construct OnlyDefault value: FALSEThe “cursor” propertyGdkSurface:cursor “cursor” GdkCursor *The mouse pointer for a GdkSurface. See gdk_surface_set_cursor() and
gdk_surface_get_cursor() for details.Owner: GdkSurfaceFlags: Read / WriteThe “display” propertyGdkSurface:display “display” GdkDisplay *The GdkDisplay connection of the surface. See gdk_surface_get_display()
for details.Owner: GdkSurfaceFlags: Read / Write / Construct OnlyThe “frame-clock” propertyGdkSurface:frame-clock “frame-clock” GdkFrameClock *Frame Clock.Owner: GdkSurfaceFlags: Read / Write / Construct OnlyThe “mapped” propertyGdkSurface:mapped “mapped” gbooleanMapped.Owner: GdkSurfaceFlags: ReadDefault value: FALSEThe “parent” propertyGdkSurface:parent “parent” GdkSurface *Parent surface.Owner: GdkSurfaceFlags: Read / Write / Construct OnlyThe “state” propertyGdkSurface:state “state” GdkSurfaceStateState.Owner: GdkSurfaceFlags: ReadDefault value: GDK_SURFACE_STATE_WITHDRAWNThe “surface-type” propertyGdkSurface:surface-type “surface-type” GdkSurfaceTypeSurface type.Owner: GdkSurfaceFlags: Read / Write / Construct OnlyDefault value: GDK_SURFACE_TOPLEVELSignal DetailsThe “event” signalGdkSurface::eventgboolean
user_function (GdkSurface *surface,
GdkEvent *event,
gpointer user_data)Emitted when GDK receives an input event for surface
.Parameterssurfacethe GdkSurfaceeventan input eventuser_datauser data set when the signal handler was connected.ReturnsTRUE to indicate that the event has been handledFlags: Run LastThe “moved-to-rect” signalGdkSurface::moved-to-rectvoid
user_function (GdkSurface *surface,
gpointer flipped_rect,
gpointer final_rect,
gboolean flipped_x,
gboolean flipped_y,
gpointer user_data)Emitted when the position of surface
is finalized after being moved to a
destination rectangle.surface
might be flipped over the destination rectangle in order to keep
it on-screen, in which case flipped_x
and flipped_y
will be set to TRUE
accordingly.flipped_rect
is the ideal position of surface
after any possible
flipping, but before any possible sliding. final_rect
is flipped_rect
,
but possibly translated in the case that flipping is still ineffective in
keeping surface
on-screen.Parameterssurfacethe GdkSurface that movedflipped_rectthe position of surface
after any possible
flipping or NULL if the backend can't obtain it. [nullable]final_rectthe final position of surface
or NULL if the
backend can't obtain it. [nullable]flipped_xTRUE if the anchors were flipped horizontallyflipped_yTRUE if the anchors were flipped verticallyuser_datauser data set when the signal handler was connected.Flags: Run FirstStability Level: PrivateThe “render” signalGdkSurface::rendergboolean
user_function (GdkSurface *surface,
CairoRegion *region,
gpointer user_data)Emitted when part of the surface needs to be redrawn.Parameterssurfacethe GdkSurfaceregionthe region that needs to be redrawnuser_datauser data set when the signal handler was connected.ReturnsTRUE to indicate that the signal has been handledFlags: Run LastThe “size-changed” signalGdkSurface::size-changedvoid
user_function (GdkSurface *surface,
gint width,
gint height,
gpointer user_data)Emitted when the size of surface
is changed.Parameterssurfacethe GdkSurfacewidththe new widthheightthe new heightuser_datauser data set when the signal handler was connected.Flags: Run First
docs/reference/gdk/xml/gdkcontentformats.xml 0000664 0001750 0001750 00000165346 13617646445 021456 0 ustar mclasen mclasen
]>
Content Formats3GDK4 LibraryContent FormatsAdvertising and negotiating of content
exchange formatsFunctionsconst char *
gdk_intern_mime_type ()GdkContentFormats *
gdk_content_formats_new ()GdkContentFormats *
gdk_content_formats_new_for_gtype ()GdkContentFormats *
gdk_content_formats_ref ()voidgdk_content_formats_unref ()voidgdk_content_formats_print ()char *
gdk_content_formats_to_string ()const GType *
gdk_content_formats_get_gtypes ()const char * const *
gdk_content_formats_get_mime_types ()GdkContentFormats *
gdk_content_formats_union ()gbooleangdk_content_formats_match ()GTypegdk_content_formats_match_gtype ()const char *
gdk_content_formats_match_mime_type ()gbooleangdk_content_formats_contain_gtype ()gbooleangdk_content_formats_contain_mime_type ()GdkContentFormats *
gdk_content_formats_union_serialize_gtypes ()GdkContentFormats *
gdk_content_formats_union_deserialize_gtypes ()GdkContentFormats *
gdk_content_formats_union_serialize_mime_types ()GdkContentFormats *
gdk_content_formats_union_deserialize_mime_types ()GdkContentFormatsBuilder *
gdk_content_formats_builder_new ()GdkContentFormats *
gdk_content_formats_builder_free_to_formats ()voidgdk_content_formats_builder_add_formats ()voidgdk_content_formats_builder_add_gtype ()voidgdk_content_formats_builder_add_mime_type ()GdkContentFormatsBuilder *
gdk_content_formats_builder_ref ()voidgdk_content_formats_builder_unref ()GdkContentFormats *
gdk_content_formats_builder_to_formats ()Types and ValuesGdkContentFormatsGdkContentFormatsBuilderObject Hierarchy GBoxed
╰── GdkContentFormats
Includes#include <gdk/gdk.h>
DescriptionThis section describes the GdkContentFormats structure that is used to
advertise and negotiate the format of content passed between different
widgets, windows or applications using for example the clipboard or
drag'n'drop.GDK supports content in 2 forms: GType and mime type.
Using GTypes is meant only for in-process content transfers. Mime types
are meant to be used for data passing both in-process and out-of-process.
The details of how data is passed is described in the documentation of
the actual implementations.A GdkContentFormats describes a set of possible formats content can be
exchanged in. It is assumed that this set is ordered. GTypes are more
important than mime types. Order between different Gtypes or mime types
is the order they were added in, most important first. Functions that
care about order, such as gdk_content_formats_union() will describe in
their documentation how they interpret that order, though in general the
order of the first argument is considered the primary order of the result,
followed by the order of further arguments.For debugging purposes, the function gdk_content_formats_to_string() exists.
It will print a comma-seperated formats of formats from most important to least
important.GdkContentFormats is an immutable struct. After creation, you cannot change
the types it represents. Instead, new GdkContentFormats have to be created.
The GdkContentFormatsBuilder structure is meant to help in this endeavor.Functionsgdk_intern_mime_type ()gdk_intern_mime_typeconst char *
gdk_intern_mime_type (const char *string);Canonicalizes the given mime type and interns the result.If string
is not a valid mime type, NULL is returned instead.
See RFC 2048 for the syntax if mime types.Parametersstringstring of a potential mime type. [transfer none]Returns An interned string for the canonicalized mime type
or NULL if the string wasn't a valid mime typegdk_content_formats_new ()gdk_content_formats_newGdkContentFormats *
gdk_content_formats_new (const char **mime_types,
guint n_mime_types);Creates a new GdkContentFormats from an array of mime types.The mime types must be valid and different from each other or the
behavior of the return value is undefined. If you cannot guarantee
this, use GdkContentFormatsBuilder instead.Parametersmime_typesPointer to an
array of mime types. [array length=n_mime_types][allow-none]n_mime_typesnumber of entries in mime_types
.Returnsthe new GdkContentFormats. [transfer full]gdk_content_formats_new_for_gtype ()gdk_content_formats_new_for_gtypeGdkContentFormats *
gdk_content_formats_new_for_gtype (GType type);Creates a new GdkContentFormats for a given GType.Parameterstypea $GTypeReturns a new GdkContentFormatsgdk_content_formats_ref ()gdk_content_formats_refGdkContentFormats *
gdk_content_formats_ref (GdkContentFormats *formats);Increases the reference count of a GdkContentFormats by one.Parametersformatsa GdkContentFormatsReturns the passed in GdkContentFormats.gdk_content_formats_unref ()gdk_content_formats_unrefvoid
gdk_content_formats_unref (GdkContentFormats *formats);Decreases the reference count of a GdkContentFormats by one.
If the resulting reference count is zero, frees the formats.Parametersformatsa GdkContentFormatsgdk_content_formats_print ()gdk_content_formats_printvoid
gdk_content_formats_print (GdkContentFormats *formats,
GString *string);Prints the given formats
into a string for human consumption.
This is meant for debugging and logging.The form of the representation may change at any time and is
not guaranteed to stay identical.Parametersformatsa GdkContentFormatsstringa GString to print intogdk_content_formats_to_string ()gdk_content_formats_to_stringchar *
gdk_content_formats_to_string (GdkContentFormats *formats);Prints the given formats
into a human-readable string.
This is a small wrapper around gdk_content_formats_print() to help
when debugging.Parametersformatsa GdkContentFormatsReturnsa new string. [transfer full]gdk_content_formats_get_gtypes ()gdk_content_formats_get_gtypesconst GType *
gdk_content_formats_get_gtypes (GdkContentFormats *formats,
gsize *n_gtypes);Gets the GTypes included in formats
. Note that formats
may not
contain any GTypes, in particular when they are empty. In that
case NULL will be returned.Parametersformatsa GdkContentFormatsn_gtypesoptional pointer to take the
number of GTypes contained in the return value. [out][allow-none]ReturnsG_TYPE_INVALID-terminated array of
types included in formats
or NULL if none. [transfer none][nullable]gdk_content_formats_get_mime_types ()gdk_content_formats_get_mime_typesconst char * const *
gdk_content_formats_get_mime_types (GdkContentFormats *formats,
gsize *n_mime_types);Gets the mime types included in formats
. Note that formats
may not
contain any mime types, in particular when they are empty. In that
case NULL will be returned.Parametersformatsa GdkContentFormatsn_mime_typesoptional pointer to take the
number of mime types contained in the return value. [out][allow-none]ReturnsNULL-terminated array of
interned strings of mime types included in formats
or NULL
if none. [transfer none][nullable]gdk_content_formats_union ()gdk_content_formats_unionGdkContentFormats *
gdk_content_formats_union (GdkContentFormats *first,
const GdkContentFormats *second);Append all missing types from second
to first
, in the order
they had in second
.Parametersfirstthe GdkContentFormats to merge into. [transfer full]secondthe GdkContentFormats to merge from. [transfer none]Returns a new GdkContentFormatsgdk_content_formats_match ()gdk_content_formats_matchgboolean
gdk_content_formats_match (const GdkContentFormats *first,
const GdkContentFormats *second);Checks if first
and second
have any matching formats.Parametersfirstthe primary GdkContentFormats to intersectsecondthe GdkContentFormats to intersect withReturnsTRUE if a matching format was found.gdk_content_formats_match_gtype ()gdk_content_formats_match_gtypeGType
gdk_content_formats_match_gtype (const GdkContentFormats *first,
const GdkContentFormats *second);Finds the first GType from first
that is also contained
in second
. If no matching GType is found, G_TYPE_INVALID
is returned.Parametersfirstthe primary GdkContentFormats to intersectsecondthe GdkContentFormats to intersect withReturns The first common GType or G_TYPE_INVALID if none.gdk_content_formats_match_mime_type ()gdk_content_formats_match_mime_typeconst char *
gdk_content_formats_match_mime_type (const GdkContentFormats *first,
const GdkContentFormats *second);Finds the first mime type from first
that is also contained
in second
. If no matching mime type is found, NULL is
returned.Parametersfirstthe primary GdkContentFormats to intersectsecondthe GdkContentFormats to intersect withReturns The first common mime type or NULL if none.gdk_content_formats_contain_gtype ()gdk_content_formats_contain_gtypegboolean
gdk_content_formats_contain_gtype (const GdkContentFormats *formats,
GType type);Checks if a given GType is part of the given formats
.Parametersformatsa GdkContentFormatstypethe GType to search forReturnsTRUE if the GType was foundgdk_content_formats_contain_mime_type ()gdk_content_formats_contain_mime_typegboolean
gdk_content_formats_contain_mime_type (const GdkContentFormats *formats,
const char *mime_type);Checks if a given mime type is part of the given formats
.Parametersformatsa GdkContentFormatsmime_typethe mime type to search forReturnsTRUE if the mime_type was foundgdk_content_formats_union_serialize_gtypes ()gdk_content_formats_union_serialize_gtypesGdkContentFormats *
gdk_content_formats_union_serialize_gtypes
(GdkContentFormats *formats);Add GTypes for the mime types in formats
for which serializers are
registered.Return: a new GdkContentFormatsParametersformatsa GdkContentFormats. [transfer full]gdk_content_formats_union_deserialize_gtypes ()gdk_content_formats_union_deserialize_gtypesGdkContentFormats *
gdk_content_formats_union_deserialize_gtypes
(GdkContentFormats *formats);Add GTypes for mime types in formats
for which deserializers are
registered.Return: a new GdkContentFormatsParametersformatsa GdkContentFormatsgdk_content_formats_union_serialize_mime_types ()gdk_content_formats_union_serialize_mime_typesGdkContentFormats *
gdk_content_formats_union_serialize_mime_types
(GdkContentFormats *formats);Add mime types for GTypes in formats
for which serializers are
registered.Return: a new GdkContentFormatsParametersformatsa GdkContentFormats. [transfer full]gdk_content_formats_union_deserialize_mime_types ()gdk_content_formats_union_deserialize_mime_typesGdkContentFormats *
gdk_content_formats_union_deserialize_mime_types
(GdkContentFormats *formats);Add mime types for GTypes in formats
for which deserializers are
registered.Return: a new GdkContentFormatsParametersformatsa GdkContentFormatsgdk_content_formats_builder_new ()gdk_content_formats_builder_newGdkContentFormatsBuilder *
gdk_content_formats_builder_new (void);Create a new GdkContentFormatsBuilder object. The resulting builder
would create an empty GdkContentFormats. Use addition functions to add
types to it.Returns a new GdkContentFormatsBuildergdk_content_formats_builder_free_to_formats ()gdk_content_formats_builder_free_to_formatsGdkContentFormats *
gdk_content_formats_builder_free_to_formats
(GdkContentFormatsBuilder *builder);Creates a new GdkContentFormats from the current state of the
given builder
, and frees the builder
instance.[skip]Parametersbuildera GdkContentFormatsBuilderReturnsthe newly created GdkContentFormats
with all the formats added to builder
. [transfer full]gdk_content_formats_builder_add_formats ()gdk_content_formats_builder_add_formatsvoid
gdk_content_formats_builder_add_formats
(GdkContentFormatsBuilder *builder,
const GdkContentFormats *formats);Appends all formats from formats
to builder
, skipping those that
already exist.Parametersbuildera GdkContentFormatsBuilderformatsthe formats to addgdk_content_formats_builder_add_gtype ()gdk_content_formats_builder_add_gtypevoid
gdk_content_formats_builder_add_gtype (GdkContentFormatsBuilder *builder,
GType type);Appends gtype
to builder
if it has not already been added.Parametersbuildera GdkContentFormatsBuildertypea GTypegdk_content_formats_builder_add_mime_type ()gdk_content_formats_builder_add_mime_typevoid
gdk_content_formats_builder_add_mime_type
(GdkContentFormatsBuilder *builder,
const char *mime_type);Appends mime_type
to builder
if it has not already been added.Parametersbuildera GdkContentFormatsBuildermime_typea mime typegdk_content_formats_builder_ref ()gdk_content_formats_builder_refGdkContentFormatsBuilder *
gdk_content_formats_builder_ref (GdkContentFormatsBuilder *builder);Acquires a reference on the given builder
.This function is intended primarily for bindings. GdkContentFormatsBuilder objects
should not be kept around.Parametersbuildera GdkContentFormatsBuilderReturnsthe given GdkContentFormatsBuilder with
its reference count increased. [transfer none]gdk_content_formats_builder_unref ()gdk_content_formats_builder_unrefvoid
gdk_content_formats_builder_unref (GdkContentFormatsBuilder *builder);Releases a reference on the given builder
.Parametersbuildera GdkContentFormatsBuildergdk_content_formats_builder_to_formats ()gdk_content_formats_builder_to_formatsGdkContentFormats *
gdk_content_formats_builder_to_formats
(GdkContentFormatsBuilder *builder);Creates a new GdkContentFormats from the given builder
.The given GdkContentFormatsBuilder is reset once this function returns;
you cannot call this function multiple times on the same builder
instance.This function is intended primarily for bindings. C code should use
gdk_content_formats_builder_free_to_formats().Parametersbuildera GdkContentFormatsBuilderReturnsthe newly created GdkContentFormats
with all the formats added to builder
. [transfer full]See AlsoGdkDragContext, GdkClipboard, GdkContentProvider
docs/reference/gdk/xml/properties.xml 0000664 0001750 0001750 00000021233 13617646445 020100 0 ustar mclasen mclasen
]>
Properties and Atoms3GDK4 LibraryProperties and AtomsFunctions to manipulate properties on windowsFunctionsgintgdk_text_property_to_utf8_list_for_display ()gchar *
gdk_utf8_to_string_target ()Types and ValuestypedefGdkAtomIncludes#include <gdk/gdk.h>
DescriptionEach window under X can have any number of associated
“properties” attached to it.
Properties are arbitrary chunks of data identified by
“atom”s. (An “atom”
is a numeric index into a string table on the X server. They are used
to transfer strings efficiently between clients without
having to transfer the entire string.) A property
has an associated type, which is also identified
using an atom.A property has an associated “format”,
an integer describing how many bits are in each unit
of data inside the property. It must be 8, 16, or 32.
When data is transferred between the server and client,
if they are of different endianesses it will be byteswapped
as necessary according to the format of the property.
Note that on the client side, properties of format 32
will be stored with one unit per long,
even if a long integer has more than 32 bits on the platform.
(This decision was apparently made for Xlib to maintain
compatibility with programs that assumed longs were 32
bits, at the expense of programs that knew better.)The functions in this section are used to add, remove
and change properties on windows, to convert atoms
to and from strings and to manipulate some types of
data commonly stored in X window properties.Functionsgdk_text_property_to_utf8_list_for_display ()gdk_text_property_to_utf8_list_for_displaygint
gdk_text_property_to_utf8_list_for_display
(GdkDisplay *display,
GdkAtom encoding,
gint format,
const guchar *text,
gint length,
gchar ***list);Converts a text property in the given encoding to
a list of UTF-8 strings.Parametersdisplaya GdkDisplayencodingan atom representing the encoding of the textformatthe format of the propertytextthe text to convert. [array length=length]lengththe length of text
, in byteslistlocation to store the list
of strings or NULL. The list should be freed with
g_strfreev(). [out][array zero-terminated=1]Returns the number of strings in the resulting listgdk_utf8_to_string_target ()gdk_utf8_to_string_targetgchar *
gdk_utf8_to_string_target (const gchar *str);Converts a 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.Parametersstra UTF-8 stringReturnsthe newly-allocated string, or NULL if the
conversion failed. (It should not fail for any properly
formed UTF-8 string unless system limits like memory or
file descriptors are exceeded.). [nullable]
docs/reference/gdk/xml/pango_interaction.xml 0000664 0001750 0001750 00000032064 13617646445 021413 0 ustar mclasen mclasen
]>
Pango Interaction3GDK4 LibraryPango InteractionUsing Pango in GDKFunctionscairo_region_t *
gdk_pango_layout_get_clip_region ()cairo_region_t *
gdk_pango_layout_line_get_clip_region ()Includes#include <gdk/gdk.h>
DescriptionPango is the text layout system used by GDK and GTK+. The functions
and types in this section are used to obtain clip regions for
PangoLayouts, and to get PangoContexts that can be used with
GDK.Creating a PangoLayout object is the first step in rendering text,
and requires getting a handle to a PangoContext. For GTK+ programs,
you’ll usually want to use gtk_widget_get_pango_context(), or
gtk_widget_create_pango_layout(). Once you have a PangoLayout,
you can set the text and attributes of it with Pango functions like
pango_layout_set_text() and get its size with pango_layout_get_size().
(Note that Pango uses a fixed point system internally, so converting
between Pango units and pixels using PANGO_SCALE
or the PANGO_PIXELS() macro.)Rendering a Pango layout is done most simply with pango_cairo_show_layout();
you can also draw pieces of the layout with pango_cairo_show_layout_line().Draw transformed text with Pango and cairoOutput of the example above.Functionsgdk_pango_layout_get_clip_region ()gdk_pango_layout_get_clip_regioncairo_region_t *
gdk_pango_layout_get_clip_region (PangoLayout *layout,
gint x_origin,
gint y_origin,
const gint *index_ranges,
gint n_ranges);Obtains a clip region which contains the areas where the given ranges
of text would be drawn. x_origin
and y_origin
are the top left point
to center the layout. index_ranges
should contain
ranges of bytes in the layout’s text.Note that the regions returned correspond to logical extents of the text
ranges, not ink extents. So the drawn layout may in fact touch areas out of
the clip region. The clip region is mainly useful for highlightling parts
of text, such as when text is selected.[skip]Parameterslayouta PangoLayoutx_originX pixel where you intend to draw the layout with this clipy_originY pixel where you intend to draw the layout with this clipindex_rangesarray of byte indexes into the layout, where even members of array are start indexes and odd elements are end indexesn_rangesnumber of ranges in index_ranges
, i.e. half the size of index_rangesReturns a clip region containing the given rangesgdk_pango_layout_line_get_clip_region ()gdk_pango_layout_line_get_clip_regioncairo_region_t *
gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line,
gint x_origin,
gint y_origin,
const gint *index_ranges,
gint n_ranges);Obtains a clip region which contains the areas where the given
ranges of text would be drawn. x_origin
and y_origin
are the top left
position of the layout. index_ranges
should contain ranges of bytes in the layout’s text. The clip
region will include space to the left or right of the line (to the
layout bounding box) if you have indexes above or below the indexes
contained inside the line. This is to draw the selection all the way
to the side of the layout. However, the clip region is in line coordinates,
not layout coordinates.Note that the regions returned correspond to logical extents of the text
ranges, not ink extents. So the drawn line may in fact touch areas out of
the clip region. The clip region is mainly useful for highlightling parts
of text, such as when text is selected.[skip]Parameterslinea PangoLayoutLinex_originX pixel where you intend to draw the layout line with this clipy_originbaseline pixel where you intend to draw the layout line with this clipindex_rangesarray of byte indexes into the layout,
where even members of array are start indexes and odd elements
are end indexes. [array]n_rangesnumber of ranges in index_ranges
, i.e. half the size of index_rangesReturns a clip region containing the given ranges
docs/reference/gdk/xml/cairo_interaction.xml 0000664 0001750 0001750 00000062653 13617646445 021413 0 ustar mclasen mclasen
]>
Cairo Interaction3GDK4 LibraryCairo InteractionFunctions to support using cairoFunctionscairo_surface_t *
gdk_surface_create_similar_surface ()gbooleangdk_cairo_get_clip_rectangle ()voidgdk_cairo_set_source_rgba ()voidgdk_cairo_set_source_pixbuf ()voidgdk_cairo_rectangle ()voidgdk_cairo_region ()cairo_region_t *
gdk_cairo_region_create_from_surface ()voidgdk_cairo_draw_from_gl ()voidgdk_cairo_surface_upload_to_gl ()Includes#include <gdk/gdk.h>
DescriptionCairo is a graphics
library that supports vector graphics and image compositing that
can be used with GDK and GTK.GDK does not wrap the cairo API, instead it allows to create cairo
contexts which can be used to draw on GdkSurfaces. Additional
functions allow use GdkRectangles with cairo and to use GdkRGBAs,
GdkPixbufs and GdkSurfaces as sources for drawing operations.Functionsgdk_surface_create_similar_surface ()gdk_surface_create_similar_surfacecairo_surface_t *
gdk_surface_create_similar_surface (GdkSurface *surface,
cairo_content_t content,
int width,
int height);Create a new surface that is as compatible as possible with the
given surface
. For example the new surface will have the same
fallback resolution and font options as surface
. Generally, the new
surface will also use the same backend as surface
, unless that is
not possible for some reason. The type of the returned surface may
be examined with cairo_surface_get_type().Initially the surface contents are all 0 (transparent if contents
have transparency, black otherwise.)Parameterssurfacesurface to make new surface similar tocontentthe content for the new surfacewidthwidth of the new surfaceheightheight of the new surfaceReturns a pointer to the newly allocated surface. The caller
owns the surface and should call cairo_surface_destroy() when done
with it.This function always returns a valid pointer, but it will return a
pointer to a “nil” surface if other
is already in an error state
or any other error occurs.gdk_cairo_get_clip_rectangle ()gdk_cairo_get_clip_rectanglegboolean
gdk_cairo_get_clip_rectangle (cairo_t *cr,
GdkRectangle *rect);This is a convenience function around cairo_clip_extents().
It rounds the clip extents to integer coordinates and returns
a boolean indicating if a clip area exists.Parameterscra cairo contextrectreturn location for the clip, or NULL. [out][allow-none]ReturnsTRUE if a clip rectangle exists, FALSE if all of cr
is
clipped and all drawing can be skippedgdk_cairo_set_source_rgba ()gdk_cairo_set_source_rgbavoid
gdk_cairo_set_source_rgba (cairo_t *cr,
const GdkRGBA *rgba);Sets the specified GdkRGBA as the source color of cr
.Parameterscra cairo contextrgbaa GdkRGBAgdk_cairo_set_source_pixbuf ()gdk_cairo_set_source_pixbufvoid
gdk_cairo_set_source_pixbuf (cairo_t *cr,
const GdkPixbuf *pixbuf,
gdouble pixbuf_x,
gdouble pixbuf_y);Sets the given pixbuf as the source pattern for cr
.The pattern has an extend mode of CAIRO_EXTEND_NONE and is aligned
so that the origin of pixbuf
is pixbuf_x
, pixbuf_y
.Parameterscra cairo contextpixbufa GdkPixbufpixbuf_xX coordinate of location to place upper left corner of pixbufpixbuf_yY coordinate of location to place upper left corner of pixbufgdk_cairo_rectangle ()gdk_cairo_rectanglevoid
gdk_cairo_rectangle (cairo_t *cr,
const GdkRectangle *rectangle);Adds the given rectangle to the current path of cr
.Parameterscra cairo contextrectanglea GdkRectanglegdk_cairo_region ()gdk_cairo_regionvoid
gdk_cairo_region (cairo_t *cr,
const cairo_region_t *region);Adds the given region to the current path of cr
.Parameterscra cairo contextregiona cairo_region_tgdk_cairo_region_create_from_surface ()gdk_cairo_region_create_from_surfacecairo_region_t *
gdk_cairo_region_create_from_surface (cairo_surface_t *surface);Creates region that describes covers the area where the given
surface
is more than 50% opaque.This function takes into account device offsets that might be
set with cairo_surface_set_device_offset().Parameterssurfacea cairo surfaceReturns A cairo_region_t; must be freed with cairo_region_destroy()gdk_cairo_draw_from_gl ()gdk_cairo_draw_from_glvoid
gdk_cairo_draw_from_gl (cairo_t *cr,
GdkSurface *surface,
int source,
int source_type,
int buffer_scale,
int x,
int y,
int width,
int height);This is the main way to draw GL content in GTK. It takes a render buffer ID
(source_type
== GL_RENDERBUFFER) or a texture id (source_type
== GL_TEXTURE)
and draws it onto cr
with an OVER operation, respecting the current clip.
The top left corner of the rectangle specified by x
, y
, width
and height
will be drawn at the current (0,0) position of the cairo_t.This will work for *all* cairo_t, as long as surface
is realized, but the
fallback implementation that reads back the pixels from the buffer may be
used in the general case. In the case of direct drawing to a surface with
no special effects applied to cr
it will however use a more efficient
approach.For GL_RENDERBUFFER the code will always fall back to software for buffers
with alpha components, so make sure you use GL_TEXTURE if using alpha.Calling this may change the current GL context.Parameterscra cairo contextsurfaceThe surface we're rendering for (not necessarily into)sourceThe GL ID of the source buffersource_typeThe type of the sourcebuffer_scaleThe scale-factor that the source
buffer is allocated forxThe source x position in source
to start copying from in GL coordinatesyThe source y position in source
to start copying from in GL coordinateswidthThe width of the region to drawheightThe height of the region to drawgdk_cairo_surface_upload_to_gl ()gdk_cairo_surface_upload_to_glvoid
gdk_cairo_surface_upload_to_gl (cairo_surface_t *surface,
int target,
int width,
int height,
GdkGLContext *context);Uploads the contents of a Cairo surface
to a GL texture target
.Parameterssurfacea Cairo surfacetargeta GL texture targetwidththe width of the texture targetheightthe height of the texture targetcontexta GdkGLContext, or NULL to use the currently
bound context. [nullable]
docs/reference/gdk/xml/regions.xml 0000664 0001750 0001750 00000031717 13617646445 017362 0 ustar mclasen mclasen
]>
Points and Rectangles3GDK4 LibraryPoints and RectanglesSimple graphical data typesFunctionsgbooleangdk_rectangle_intersect ()voidgdk_rectangle_union ()gbooleangdk_rectangle_equal ()gbooleangdk_rectangle_contains_point ()Types and ValuesGdkPointGdkRectangleObject Hierarchy GBoxed
╰── GdkRectangle
Includes#include <gdk/gdk.h>
DescriptionGDK provides the GdkPoint and GdkRectangle data types for representing pixels
and sets of pixels on the screen. Together with Cairo’s cairo_region_t data
type, they make up the central types for representing graphical data.A GdkPoint represents an x and y coordinate of a point.A GdkRectangle represents the position and size of a rectangle.
The intersection of two rectangles can be computed with
gdk_rectangle_intersect(). To find the union of two rectangles use
gdk_rectangle_union().cairo_region_t is usually used for managing clipping of graphical operations.Functionsgdk_rectangle_intersect ()gdk_rectangle_intersectgboolean
gdk_rectangle_intersect (const GdkRectangle *src1,
const GdkRectangle *src2,
GdkRectangle *dest);Calculates the intersection of two rectangles. It is allowed for
dest
to be the same as either src1
or src2
. If the rectangles
do not intersect, dest
’s width and height is set to 0 and its x
and y values are undefined. If you are only interested in whether
the rectangles intersect, but not in the intersecting area itself,
pass NULL for dest
.Parameterssrc1a GdkRectanglesrc2a GdkRectangledestreturn location for the
intersection of src1
and src2
, or NULL. [out caller-allocates][allow-none]ReturnsTRUE if the rectangles intersect.gdk_rectangle_union ()gdk_rectangle_unionvoid
gdk_rectangle_union (const GdkRectangle *src1,
const GdkRectangle *src2,
GdkRectangle *dest);Calculates the union of two rectangles.
The union of rectangles src1
and src2
is the smallest rectangle which
includes both src1
and src2
within it.
It is allowed for dest
to be the same as either src1
or src2
.Note that this function does not ignore 'empty' rectangles (ie. with
zero width or height).Parameterssrc1a GdkRectanglesrc2a GdkRectangledestreturn location for the union of src1
and src2
. [out]gdk_rectangle_equal ()gdk_rectangle_equalgboolean
gdk_rectangle_equal (const GdkRectangle *rect1,
const GdkRectangle *rect2);Checks if the two given rectangles are equal.Parametersrect1a GdkRectanglerect2a GdkRectangleReturnsTRUE if the rectangles are equal.gdk_rectangle_contains_point ()gdk_rectangle_contains_pointgboolean
gdk_rectangle_contains_point (const GdkRectangle *rect,
int x,
int y);Returns TRUE if rect
contains the point described by x
and y
.Parametersrecta GdkRectanglexX coordinateyY coordinateReturnsTRUE if rect
contains the point
docs/reference/gdk/xml/gdkdevice.xml 0000664 0001750 0001750 00000247101 13617646446 017636 0 ustar mclasen mclasen
]>
GdkDevice3GDK4 LibraryGdkDeviceObject representing an input deviceFunctionsconst gchar *
gdk_device_get_name ()const gchar *
gdk_device_get_vendor_id ()const gchar *
gdk_device_get_product_id ()GdkInputSourcegdk_device_get_source ()gbooleangdk_device_set_mode ()GdkInputModegdk_device_get_mode ()voidgdk_device_set_key ()gbooleangdk_device_get_key ()voidgdk_device_set_axis_use ()GdkAxisUsegdk_device_get_axis_use ()GdkDevice *
gdk_device_get_associated_device ()GList *
gdk_device_list_slave_devices ()GdkDeviceTypegdk_device_get_device_type ()GdkDisplay *
gdk_device_get_display ()gbooleangdk_device_get_has_cursor ()gintgdk_device_get_n_axes ()gintgdk_device_get_n_keys ()GdkAxisFlagsgdk_device_get_axes ()GdkSeat *
gdk_device_get_seat ()voidgdk_device_get_state ()GdkSurface *
gdk_device_get_surface_at_position ()gbooleangdk_device_get_history ()voidgdk_device_free_history ()gbooleangdk_device_get_axis ()GList *
gdk_device_list_axes ()gbooleangdk_device_get_axis_value ()GdkSurface *
gdk_device_get_last_event_surface ()guint64gdk_device_tool_get_serial ()GdkDeviceToolTypegdk_device_tool_get_tool_type ()guint64gdk_device_tool_get_hardware_id ()PropertiesGdkDevice *associated-deviceReadGdkAxisFlagsaxesReadGdkDisplay *displayRead / Write / Construct Onlygbooleanhas-cursorRead / Write / Construct OnlyGdkInputModeinput-modeRead / WriteGdkInputSourceinput-sourceRead / Write / Construct Onlyguintn-axesReadgchar *nameRead / Write / Construct Onlyguintnum-touchesRead / Write / Construct Onlygchar *product-idRead / Write / Construct OnlyGdkSeat *seatRead / WriteGdkDeviceTool *toolReadGdkDeviceTypetypeRead / Write / Construct Onlygchar *vendor-idRead / Write / Construct OnlySignalsvoidchangedRun Lastvoidtool-changedRun LastTypes and ValuesGdkDeviceenumGdkInputSourceenumGdkInputModeenumGdkAxisUseenumGdkAxisFlagsenumGdkDeviceToolTypeenumGdkDeviceTypeenumGdkGrabOwnershipstructGdkTimeCoordObject Hierarchy GObject
╰── GdkDevice
Known Derived Interfaces
GdkDevice is required by
GdkDevicePad.Includes#include <gdk/gdk.h>
DescriptionThe GdkDevice object represents a single input device, such
as a keyboard, a mouse, a touchpad, etc.See the GdkSeat documentation for more information
about the various kinds of master and slave devices, and their
relationships.Functionsgdk_device_get_name ()gdk_device_get_nameconst gchar *
gdk_device_get_name (GdkDevice *device);Determines the name of the device.Parametersdevicea GdkDeviceReturns a namegdk_device_get_vendor_id ()gdk_device_get_vendor_idconst gchar *
gdk_device_get_vendor_id (GdkDevice *device);Returns the vendor ID of this device, or NULL if this information couldn't
be obtained. This ID is retrieved from the device, and is thus constant for
it.This function, together with gdk_device_get_product_id(), can be used to eg.
compose GSettings paths to store settings for this device.Parametersdevicea slave GdkDeviceReturnsthe vendor ID, or NULL. [nullable]gdk_device_get_product_id ()gdk_device_get_product_idconst gchar *
gdk_device_get_product_id (GdkDevice *device);Returns the product ID of this device, or NULL if this information couldn't
be obtained. This ID is retrieved from the device, and is thus constant for
it. See gdk_device_get_vendor_id() for more information.Parametersdevicea slave GdkDeviceReturnsthe product ID, or NULL. [nullable]gdk_device_get_source ()gdk_device_get_sourceGdkInputSource
gdk_device_get_source (GdkDevice *device);Determines the type of the device.Parametersdevicea GdkDeviceReturns a GdkInputSourcegdk_device_set_mode ()gdk_device_set_modegboolean
gdk_device_set_mode (GdkDevice *device,
GdkInputMode mode);Sets a the mode of an input device. The mode controls if the
device is active and whether the device’s range is mapped to the
entire screen or to a single surface.Note: This is only meaningful for floating devices, master devices (and
slaves connected to these) drive the pointer cursor, which is not limited
by the input mode.Parametersdevicea GdkDevice.modethe input mode.ReturnsTRUE if the mode was successfully changed.gdk_device_get_mode ()gdk_device_get_modeGdkInputMode
gdk_device_get_mode (GdkDevice *device);Determines the mode of the device.Parametersdevicea GdkDeviceReturns a GdkInputModegdk_device_set_key ()gdk_device_set_keyvoid
gdk_device_set_key (GdkDevice *device,
guint index_,
guint keyval,
GdkModifierType modifiers);Specifies the X key event to generate when a macro button of a device
is pressed.Parametersdevicea GdkDeviceindex_the index of the macro button to setkeyvalthe keyval to generatemodifiersthe modifiers to setgdk_device_get_key ()gdk_device_get_keygboolean
gdk_device_get_key (GdkDevice *device,
guint index_,
guint *keyval,
GdkModifierType *modifiers);If index_
has a valid keyval, this function will return TRUE
and fill in keyval
and modifiers
with the keyval settings.Parametersdevicea GdkDevice.index_the index of the macro button to get.keyvalreturn value for the keyval. [out]modifiersreturn value for modifiers. [out]ReturnsTRUE if keyval is set for index
.gdk_device_set_axis_use ()gdk_device_set_axis_usevoid
gdk_device_set_axis_use (GdkDevice *device,
guint index_,
GdkAxisUse use);Specifies how an axis of a device is used.Parametersdevicea pointer GdkDeviceindex_the index of the axisusespecifies how the axis is usedgdk_device_get_axis_use ()gdk_device_get_axis_useGdkAxisUse
gdk_device_get_axis_use (GdkDevice *device,
guint index_);Returns the axis use for index_
.Parametersdevicea pointer GdkDevice.index_the index of the axis.Returns a GdkAxisUse specifying how the axis is used.gdk_device_get_associated_device ()gdk_device_get_associated_deviceGdkDevice *
gdk_device_get_associated_device (GdkDevice *device);Returns the associated device to device
, if device
is of type
GDK_DEVICE_TYPE_MASTER, it will return the paired pointer or
keyboard.If device
is of type GDK_DEVICE_TYPE_SLAVE, it will return
the master device to which device
is attached to.If device
is of type GDK_DEVICE_TYPE_FLOATING, NULL will be
returned, as there is no associated device.Parametersdevicea GdkDeviceReturnsThe associated device, or
NULL. [nullable][transfer none]gdk_device_list_slave_devices ()gdk_device_list_slave_devicesGList *
gdk_device_list_slave_devices (GdkDevice *device);If the device if of type GDK_DEVICE_TYPE_MASTER, it will return
the list of slave devices attached to it, otherwise it will return
NULLParametersdevicea GdkDeviceReturnsthe list of slave devices, or NULL. The list must be
freed with g_list_free(), the contents of the list are
owned by GTK+ and should not be freed. [nullable][transfer container][element-type GdkDevice]gdk_device_get_device_type ()gdk_device_get_device_typeGdkDeviceType
gdk_device_get_device_type (GdkDevice *device);Returns the device type for device
.Parametersdevicea GdkDeviceReturns the GdkDeviceType for device
.gdk_device_get_display ()gdk_device_get_displayGdkDisplay *
gdk_device_get_display (GdkDevice *device);Returns the GdkDisplay to which device
pertains.Parametersdevicea GdkDeviceReturnsa GdkDisplay. This memory is owned
by GTK+, and must not be freed or unreffed. [transfer none]gdk_device_get_has_cursor ()gdk_device_get_has_cursorgboolean
gdk_device_get_has_cursor (GdkDevice *device);Determines whether the pointer follows device motion.
This is not meaningful for keyboard devices, which don't have a pointer.Parametersdevicea GdkDeviceReturnsTRUE if the pointer follows device motiongdk_device_get_n_axes ()gdk_device_get_n_axesgint
gdk_device_get_n_axes (GdkDevice *device);Returns the number of axes the device currently has.Parametersdevicea pointer GdkDeviceReturns the number of axes.gdk_device_get_n_keys ()gdk_device_get_n_keysgint
gdk_device_get_n_keys (GdkDevice *device);Returns the number of keys the device currently has.Parametersdevicea GdkDeviceReturns the number of keys.gdk_device_get_axes ()gdk_device_get_axesGdkAxisFlags
gdk_device_get_axes (GdkDevice *device);Returns the axes currently available on the device.Parametersdevicea GdkDevicegdk_device_get_seat ()gdk_device_get_seatGdkSeat *
gdk_device_get_seat (GdkDevice *device);Returns the GdkSeat the device belongs to.ParametersdeviceA GdkDeviceReturnsA GdkSeat. This memory is owned by GTK+ and
must not be freed. [transfer none]gdk_device_get_state ()gdk_device_get_statevoid
gdk_device_get_state (GdkDevice *device,
GdkSurface *surface,
gdouble *axes,
GdkModifierType *mask);Gets the current state of a pointer device relative to surface
. As a slave
device’s coordinates are those of its master pointer, this
function may not be called on devices of type GDK_DEVICE_TYPE_SLAVE,
unless there is an ongoing grab on them. See gdk_seat_grab().[skip]Parametersdevicea GdkDevice.surfacea GdkSurface.axesan array of doubles to store the values of
the axes of device
in, or NULL. [nullable][array]masklocation to store the modifiers, or NULL. [optional][out]gdk_device_get_surface_at_position ()gdk_device_get_surface_at_positionGdkSurface *
gdk_device_get_surface_at_position (GdkDevice *device,
double *win_x,
double *win_y);Obtains the surface underneath device
, returning the location of the device in win_x
and win_y
in
double precision. Returns NULL if the surface tree under device
is not known to GDK (for example,
belongs to another application).As a slave device coordinates are those of its master pointer, This
function may not be called on devices of type GDK_DEVICE_TYPE_SLAVE,
unless there is an ongoing grab on them, see gdk_seat_grab().Parametersdevicepointer GdkDevice to query info to.win_xreturn location for the X coordinate of the device location,
relative to the surface origin, or NULL. [out][allow-none]win_yreturn location for the Y coordinate of the device location,
relative to the surface origin, or NULL. [out][allow-none]Returnsthe GdkSurface under the
device position, or NULL. [nullable][transfer none]gdk_device_get_history ()gdk_device_get_historygboolean
gdk_device_get_history (GdkDevice *device,
GdkSurface *surface,
guint32 start,
guint32 stop,
GdkTimeCoord ***events,
gint *n_events);Obtains the motion history for a pointer device; given a starting and
ending timestamp, return all events in the motion history for
the device in the given range of time. Some windowing systems
do not support motion history, in which case, FALSE will
be returned. (This is not distinguishable from the case where
motion history is supported and no events were found.)Note that there is also gdk_surface_set_event_compression() to get
more motion events delivered directly, independent of the windowing
system.[skip]Parametersdevicea GdkDevicesurfacethe surface with respect to which which the event coordinates will be reportedstartstarting timestamp for range of events to returnstopending timestamp for the range of events to returneventslocation to store a newly-allocated array of GdkTimeCoord, or
NULL. [array length=n_events][out][transfer full][optional]n_eventslocation to store the length of
events
, or NULL. [out][optional]ReturnsTRUE if the windowing system supports motion history and
at least one event was found.gdk_device_free_history ()gdk_device_free_historyvoid
gdk_device_free_history (GdkTimeCoord **events,
gint n_events);Frees an array of GdkTimeCoord that was returned by gdk_device_get_history().[skip]Parameterseventsan array of GdkTimeCoord. [array length=n_events]n_eventsthe length of the array.gdk_device_get_axis ()gdk_device_get_axisgboolean
gdk_device_get_axis (GdkDevice *device,
gdouble *axes,
GdkAxisUse use,
gdouble *value);Interprets an array of double as axis values for a given device,
and locates the value in the array for a given axis use.[skip]Parametersdevicea GdkDeviceaxespointer to an array of axes. [array]usethe use to look forvaluelocation to store the found value. [out]ReturnsTRUE if the given axis use was found, otherwise FALSEgdk_device_list_axes ()gdk_device_list_axesGList *
gdk_device_list_axes (GdkDevice *device);Returns a GList of GdkAtoms, containing the labels for
the axes that device
currently has.Parametersdevicea pointer GdkDeviceReturnsA GList of strings, free with g_list_free(). [transfer container][element-type GdkAtom]gdk_device_get_axis_value ()gdk_device_get_axis_valuegboolean
gdk_device_get_axis_value (GdkDevice *device,
gdouble *axes,
GdkAtom axis_label,
gdouble *value);Interprets an array of double as axis values for a given device,
and locates the value in the array for a given axis label, as returned
by gdk_device_list_axes()[skip]Parametersdevicea pointer GdkDevice.axespointer to an array of axes. [array]axis_labelname of the labelvaluelocation to store the found value. [out]ReturnsTRUE if the given axis use was found, otherwise FALSE.gdk_device_get_last_event_surface ()gdk_device_get_last_event_surfaceGdkSurface *
gdk_device_get_last_event_surface (GdkDevice *device);Gets information about which surface the given pointer device is in, based on events
that have been received so far from the display server. If another application
has a pointer grab, or this application has a grab with owner_events = FALSE,
NULL may be returned even if the pointer is physically over one of this
application's surfaces.Parametersdevicea GdkDevice, with a source other than GDK_SOURCE_KEYBOARDReturnsthe last surface the device. [transfer none][allow-none]gdk_device_tool_get_serial ()gdk_device_tool_get_serialguint64
gdk_device_tool_get_serial (GdkDeviceTool *tool);Gets the serial of this tool, this value can be used to identify a
physical tool (eg. a tablet pen) across program executions.Parameterstoola GdkDeviceToolReturns The serial ID for this toolgdk_device_tool_get_tool_type ()gdk_device_tool_get_tool_typeGdkDeviceToolType
gdk_device_tool_get_tool_type (GdkDeviceTool *tool);Gets the GdkDeviceToolType of the tool.Parameterstoola GdkDeviceToolReturns The physical type for this tool. This can be used to figure out what
sort of pen is being used, such as an airbrush or a pencil.gdk_device_tool_get_hardware_id ()gdk_device_tool_get_hardware_idguint64
gdk_device_tool_get_hardware_id (GdkDeviceTool *tool);Gets the hardware ID of this tool, or 0 if it's not known. When
non-zero, the identificator is unique for the given tool model,
meaning that two identical tools will share the same hardware_id
,
but will have different serial numbers (see gdk_device_tool_get_serial()).This is a more concrete (and device specific) method to identify
a GdkDeviceTool than gdk_device_tool_get_tool_type(), as a tablet
may support multiple devices with the same GdkDeviceToolType,
but having different hardware identificators.Parameterstoola GdkDeviceToolReturns The hardware identificator of this tool.Property DetailsThe “associated-device” propertyGdkDevice:associated-device “associated-device” GdkDevice *Associated pointer or keyboard with this device, if any. Devices of type GDK_DEVICE_TYPE_MASTER
always come in keyboard/pointer pairs. Other device types will have a NULL associated device.Owner: GdkDeviceFlags: ReadThe “axes” propertyGdkDevice:axes “axes” GdkAxisFlagsThe axes currently available for this device.Owner: GdkDeviceFlags: ReadThe “display” propertyGdkDevice:display “display” GdkDisplay *The GdkDisplay the GdkDevice pertains to.Owner: GdkDeviceFlags: Read / Write / Construct OnlyThe “has-cursor” propertyGdkDevice:has-cursor “has-cursor” gbooleanWhether the device is represented by a cursor on the screen. Devices of type
GDK_DEVICE_TYPE_MASTER will have TRUE here.Owner: GdkDeviceFlags: Read / Write / Construct OnlyDefault value: FALSEThe “input-mode” propertyGdkDevice:input-mode “input-mode” GdkInputModeInput mode for the device.Owner: GdkDeviceFlags: Read / WriteDefault value: GDK_MODE_DISABLEDThe “input-source” propertyGdkDevice:input-source “input-source” GdkInputSourceSource type for the device.Owner: GdkDeviceFlags: Read / Write / Construct OnlyDefault value: GDK_SOURCE_MOUSEThe “n-axes” propertyGdkDevice:n-axes “n-axes” guintNumber of axes in the device.Owner: GdkDeviceFlags: ReadDefault value: 0The “name” propertyGdkDevice:name “name” gchar *The device name.Owner: GdkDeviceFlags: Read / Write / Construct OnlyDefault value: NULLThe “num-touches” propertyGdkDevice:num-touches “num-touches” guintThe maximal number of concurrent touches on a touch device.
Will be 0 if the device is not a touch device or if the number
of touches is unknown.Owner: GdkDeviceFlags: Read / Write / Construct OnlyDefault value: 0The “product-id” propertyGdkDevice:product-id “product-id” gchar *Product ID of this device, see gdk_device_get_product_id().Owner: GdkDeviceFlags: Read / Write / Construct OnlyDefault value: NULLThe “seat” propertyGdkDevice:seat “seat” GdkSeat *GdkSeat of this device.Owner: GdkDeviceFlags: Read / WriteThe “tool” propertyGdkDevice:tool “tool” GdkDeviceTool *The tool that is currently used with this device.Owner: GdkDeviceFlags: ReadThe “type” propertyGdkDevice:type “type” GdkDeviceTypeDevice role in the device manager.Owner: GdkDeviceFlags: Read / Write / Construct OnlyDefault value: GDK_DEVICE_TYPE_MASTERThe “vendor-id” propertyGdkDevice:vendor-id “vendor-id” gchar *Vendor ID of this device, see gdk_device_get_vendor_id().Owner: GdkDeviceFlags: Read / Write / Construct OnlyDefault value: NULLSignal DetailsThe “changed” signalGdkDevice::changedvoid
user_function (GdkDevice *device,
gpointer user_data)The ::changed signal is emitted either when the GdkDevice
has changed the number of either axes or keys. For example
In X this will normally happen when the slave device routing
events through the master device changes (for example, user
switches from the USB mouse to a tablet), in that case the
master device will change to reflect the new slave device
axes and keys.Parametersdevicethe GdkDevice that changed.user_datauser data set when the signal handler was connected.Flags: Run LastThe “tool-changed” signalGdkDevice::tool-changedvoid
user_function (GdkDevice *device,
GdkDeviceTool *tool,
gpointer user_data)The ::tool-changed signal is emitted on pen/eraser
GdkDevices whenever tools enter or leave proximity.Parametersdevicethe GdkDevice that changed.toolThe new current tooluser_datauser data set when the signal handler was connected.Flags: Run LastSee AlsoGdkSeat
docs/reference/gdk/xml/gdkdevicepad.xml 0000664 0001750 0001750 00000027237 13617646446 020331 0 ustar mclasen mclasen
]>
GtkDevicePad3GDK4 LibraryGtkDevicePadPad device interfaceFunctionsgintgdk_device_pad_get_n_groups ()gintgdk_device_pad_get_group_n_modes ()gintgdk_device_pad_get_n_features ()gintgdk_device_pad_get_feature_group ()Types and ValuesGdkDevicePadenumGdkDevicePadFeatureObject Hierarchy GInterface
╰── GdkDevicePad
Prerequisites
GdkDevicePad requires
GdkDevice.Includes#include <gdk/gdk.h>
DescriptionGdkDevicePad is an interface implemented by devices of type
GDK_SOURCE_TABLET_PAD, it allows querying the features provided
by the pad device.Tablet pads may contain one or more groups, each containing a subset
of the buttons/rings/strips available. gdk_device_pad_get_n_groups()
can be used to obtain the number of groups, gdk_device_pad_get_n_features()
and gdk_device_pad_get_feature_group() can be combined to find out the
number of buttons/rings/strips the device has, and how are they grouped.Each of those groups have different modes, which may be used to map
each individual pad feature to multiple actions. Only one mode is
effective (current) for each given group, different groups may have
different current modes. The number of available modes in a group can
be found out through gdk_device_pad_get_group_n_modes(), and the current
mode for a given group will be notified through the GdkEventPadGroupMode
event.Functionsgdk_device_pad_get_n_groups ()gdk_device_pad_get_n_groupsgint
gdk_device_pad_get_n_groups (GdkDevicePad *pad);Returns the number of groups this pad device has. Pads have
at least one group. A pad group is a subcollection of
buttons/strip/rings that is affected collectively by a same
current mode.Parameterspada GdkDevicePadReturns The number of button/ring/strip groups in the pad.gdk_device_pad_get_group_n_modes ()gdk_device_pad_get_group_n_modesgint
gdk_device_pad_get_group_n_modes (GdkDevicePad *pad,
gint group_idx);Returns the number of modes that group
may have.Parameterspada GdkDevicePadgroup_idxgroup to get the number of available modes fromReturns The number of modes available in group
.gdk_device_pad_get_n_features ()gdk_device_pad_get_n_featuresgint
gdk_device_pad_get_n_features (GdkDevicePad *pad,
GdkDevicePadFeature feature);Returns the number of features a tablet pad has.Parameterspada GdkDevicePadfeaturea pad featureReturns The amount of elements of type feature
that this pad has.gdk_device_pad_get_feature_group ()gdk_device_pad_get_feature_groupgint
gdk_device_pad_get_feature_group (GdkDevicePad *pad,
GdkDevicePadFeature feature,
gint feature_idx);Returns the group the given feature
and idx
belong to,
or -1 if feature/index do not exist in pad
.Parameterspada GdkDevicePadfeaturethe feature type to get the group fromfeature_idxthe index of the feature to get the group fromReturns The group number of the queried pad feature.
docs/reference/gdk/xml/gdkseat.xml 0000664 0001750 0001750 00000064513 13617646446 017337 0 ustar mclasen mclasen
]>
GdkSeat3GDK4 LibraryGdkSeatObject representing a user seatFunctionsvoid(*GdkSeatGrabPrepareFunc)()GdkDisplay *
gdk_seat_get_display ()GdkSeatCapabilitiesgdk_seat_get_capabilities ()GdkDevice *
gdk_seat_get_pointer ()GdkDevice *
gdk_seat_get_keyboard ()GList *
gdk_seat_get_slaves ()GList *
gdk_seat_get_master_pointers ()PropertiesGdkDisplay *displayRead / Write / Construct OnlySignalsvoiddevice-addedRun Lastvoiddevice-removedRun Lastvoidtool-addedRun Lastvoidtool-removedRun LastTypes and ValuesGdkSeatenumGdkSeatCapabilitiesenumGdkGrabStatusObject Hierarchy GObject
╰── GdkSeat
Includes#include <gdk/gdk.h>
DescriptionThe GdkSeat object represents a collection of input devices
that belong to a user.FunctionsGdkSeatGrabPrepareFunc ()GdkSeatGrabPrepareFuncvoid(*GdkSeatGrabPrepareFunc) (GdkSeat *seat,
GdkSurface *surface,
gpointer user_data);Type of the callback used to set up surface
so it can be
grabbed. A typical action would be ensuring the surface is
visible, although there's room for other initialization
actions.Parametersseatthe GdkSeat being grabbedsurfacethe GdkSurface being grabbeduser_datauser data passed in gdk_seat_grab()gdk_seat_get_display ()gdk_seat_get_displayGdkDisplay *
gdk_seat_get_display (GdkSeat *seat);Returns the GdkDisplay this seat belongs to.Parametersseata GdkSeatReturnsa GdkDisplay. This object is owned by GTK
and must not be freed. [transfer none]gdk_seat_get_capabilities ()gdk_seat_get_capabilitiesGdkSeatCapabilities
gdk_seat_get_capabilities (GdkSeat *seat);Returns the capabilities this GdkSeat currently has.Parametersseata GdkSeatReturns the seat capabilitiesgdk_seat_get_pointer ()gdk_seat_get_pointerGdkDevice *
gdk_seat_get_pointer (GdkSeat *seat);Returns the master device that routes pointer events.Parametersseata GdkSeatReturnsa master GdkDevice with pointer
capabilities. This object is owned by GTK and must not be freed. [transfer none][nullable]gdk_seat_get_keyboard ()gdk_seat_get_keyboardGdkDevice *
gdk_seat_get_keyboard (GdkSeat *seat);Returns the master device that routes keyboard events.Parametersseata GdkSeatReturnsa master GdkDevice with keyboard
capabilities. This object is owned by GTK and must not be freed. [transfer none][nullable]gdk_seat_get_slaves ()gdk_seat_get_slavesGList *
gdk_seat_get_slaves (GdkSeat *seat,
GdkSeatCapabilities capabilities);Returns the slave devices that match the given capabilities.Parametersseata GdkSeatcapabilitiescapabilities to get devices forReturnsA list of GdkDevices.
The list must be freed with g_list_free(), the elements are owned
by GDK and must not be freed. [transfer container][element-type GdkDevice]gdk_seat_get_master_pointers ()gdk_seat_get_master_pointersGList *
gdk_seat_get_master_pointers (GdkSeat *seat,
GdkSeatCapabilities capabilities);Returns all master pointers with the given capabilities driven by this seat
.
On most backends this function will return a list with a single element (meaning
that all input devices drive the same onscreen cursor).In other backends where there can possibly be multiple foci (eg. wayland),
this function will return all master GdkDevices that represent these.ParametersseatThe GdkSeatcapabilitiesQueried capabilitiesReturnsA list
of master pointing devices. [transfer container][element-type GdkDevice]Property DetailsThe “display” propertyGdkSeat:display “display” GdkDisplay *GdkDisplay of this seat.Owner: GdkSeatFlags: Read / Write / Construct OnlySignal DetailsThe “device-added” signalGdkSeat::device-addedvoid
user_function (GdkSeat *seat,
GdkDevice *device,
gpointer user_data)The ::device-added signal is emitted when a new input
device is related to this seat.Parametersseatthe object on which the signal is emitteddevicethe newly added GdkDevice.user_datauser data set when the signal handler was connected.Flags: Run LastThe “device-removed” signalGdkSeat::device-removedvoid
user_function (GdkSeat *seat,
GdkDevice *device,
gpointer user_data)The ::device-removed signal is emitted when an
input device is removed (e.g. unplugged).Parametersseatthe object on which the signal is emitteddevicethe just removed GdkDevice.user_datauser data set when the signal handler was connected.Flags: Run LastThe “tool-added” signalGdkSeat::tool-addedvoid
user_function (GdkSeat *seat,
GdkDeviceTool *tool,
gpointer user_data)The ::tool-added signal is emitted whenever a new tool
is made known to the seat. The tool may later be assigned
to a device (i.e. on proximity with a tablet). The device
will emit the “tool-changed” signal accordingly.A same tool may be used by several devices.Parametersseatthe object on which the signal is emittedtoolthe new GdkDeviceTool known to the seatuser_datauser data set when the signal handler was connected.Flags: Run LastThe “tool-removed” signalGdkSeat::tool-removedvoid
user_function (GdkSeat *seat,
GdkDeviceTool *tool,
gpointer user_data)This signal is emitted whenever a tool is no longer known
to this seat
.Parametersseatthe object on which the signal is emittedtoolthe just removed GdkDeviceTooluser_datauser data set when the signal handler was connected.Flags: Run LastSee AlsoGdkDisplay, GdkDevice
docs/reference/gdk/xml/gdkpaintable.xml 0000664 0001750 0001750 00000105676 13617646446 020350 0 ustar mclasen mclasen
]>
GdkPaintable3GDK4 LibraryGdkPaintableAn interface for a paintable regionFunctionsGdkPaintable *
gdk_paintable_get_current_image ()voidgdk_paintable_snapshot ()GdkPaintableFlagsgdk_paintable_get_flags ()intgdk_paintable_get_intrinsic_width ()intgdk_paintable_get_intrinsic_height ()doublegdk_paintable_get_intrinsic_aspect_ratio ()voidgdk_paintable_compute_concrete_size ()voidgdk_paintable_invalidate_contents ()voidgdk_paintable_invalidate_size ()GdkPaintable *
gdk_paintable_new_empty ()Signalsvoidinvalidate-contentsRun Lastvoidinvalidate-sizeRun LastTypes and ValuesGdkPaintableenumGdkPaintableFlagsObject Hierarchy GInterface
╰── GdkPaintable
Prerequisites
GdkPaintable requires
GObject.Known Implementations
GdkPaintable is implemented by
GdkTexture.Includes#include <gdk/gdk.h>
DescriptionGdkPaintable is a simple interface used by GDK and GDK to represent
objects that can be painted anywhere at any size without requiring any
sort of layout. The interface is inspired by similar concepts elsewhere,
such as ClutterContent,
HTML/CSS Paint Sources,
or SVG Paint Servers.A GdkPaintable can be snapshot at any time and size using
gdk_paintable_snapshot(). How the paintable interprets that size and if it
scales or centers itself into the given rectangle is implementation defined,
though if you are implementing a GdkPaintable and don't know what to do, it
is suggested that you scale your paintable ignoring any potential aspect ratio.The contents that a GdkPaintable produces may depend on the GdkSnapshot passed
to it. For example, paintables may decide to use more detailed images on higher
resolution screens or when OpenGL is available. A GdkPaintable will however
always produce the same output for the same snapshot.A GdkPaintable may change its contents, meaning that it will now produce a
different output with the same snpashot. Once that happens, it will call
gdk_paintable_invalidate_contents() which will emit the
“invalidate-contents” signal.
If a paintable is known to never change its contents, it will set the
GDK_PAINTABLE_STATIC_CONTENT flag. If a consumer cannot deal with changing
contents, it may call gdk_paintable_get_static_image() which will return a
static paintable and use that.A paintable can report an intrinsic (or preferred) size or aspect ratio it
wishes to be rendered at, though it doesn't have to. Consumers of the interface
can use this information to layout thepaintable appropriately.
Just like the contents, the size of a paintable can change. A paintable will
indicate this by calling gdk_paintable_invalidate_size() which will emit the
“invalidate-size” signal.
And just like for contents, if a paintable is known to never change its size,
it will set the GDK_PAINTABLE_STATIC_SIZE flag.Besides API for applications, there are some functions that are only
useful for implementing subclasses and should not be used by applications:
gdk_paintable_invalidate_contents(),
gdk_paintable_invalidate_size(),
gdk_paintable_new_empty().Functionsgdk_paintable_get_current_image ()gdk_paintable_get_current_imageGdkPaintable *
gdk_paintable_get_current_image (GdkPaintable *paintable);Gets an immutable paintable for the current contents displayed by paintable
.This is useful when you want to retain the current state of an animation, for
example to take a screenshot of a running animation.If the paintable
is already immutable, it will return itself.Parameterspaintablea GdkPaintableReturnsAn immutable paintable for the current
contents of paintable
. [transfer full]gdk_paintable_snapshot ()gdk_paintable_snapshotvoid
gdk_paintable_snapshot (GdkPaintable *paintable,
GdkSnapshot *snapshot,
double width,
double height);Snapshots the given paintable with the given width
and height
at the
current (0,0) offset of the snapshot
. If width
and height
are not larger
than zero, this function will do nothing.Parameterspaintablea GdkPaintablesnapshota GdkSnapshot to snapshot towidthwidth to snapshot inheightheight to snapshot ingdk_paintable_get_flags ()gdk_paintable_get_flagsGdkPaintableFlags
gdk_paintable_get_flags (GdkPaintable *paintable);Get flags for the paintable. This is oftentimes useful for optimizations.See GdkPaintableFlags for the flags and what they mean.Parameterspaintablea GdkPaintableReturns The GdkPaintableFlags for this paintable.gdk_paintable_get_intrinsic_width ()gdk_paintable_get_intrinsic_widthint
gdk_paintable_get_intrinsic_width (GdkPaintable *paintable);Gets the preferred width the paintable
would like to be displayed at.
Consumers of this interface can use this to reserve enough space to draw
the paintable.This is a purely informational value and does not in any way limit the values
that may be passed to gdk_paintable_snapshot().If the paintable
does not have a preferred width, it returns 0. Negative
values are never returned.Parameterspaintablea GdkPaintableReturns the intrinsic width of paintable
or 0 if none.gdk_paintable_get_intrinsic_height ()gdk_paintable_get_intrinsic_heightint
gdk_paintable_get_intrinsic_height (GdkPaintable *paintable);Gets the preferred height the paintable
would like to be displayed at.
Consumers of this interface can use this to reserve enough space to draw
the paintable.This is a purely informational value and does not in any way limit the values
that may be passed to gdk_paintable_snapshot().If the paintable
does not have a preferred height, it returns 0. Negative
values are never returned.Parameterspaintablea GdkPaintableReturns the intrinsic height of paintable
or 0 if none.gdk_paintable_get_intrinsic_aspect_ratio ()gdk_paintable_get_intrinsic_aspect_ratiodouble
gdk_paintable_get_intrinsic_aspect_ratio
(GdkPaintable *paintable);Gets the preferred aspect ratio the paintable
would like to be displayed at.
The aspect ration is the width divided by the height, so a value of 0.5 means
that the paintable
prefers to be displayed twice as high as it is wide.
Consumers of this interface can use this to preserve aspect ratio when displaying
this paintable.This is a purely informational value and does not in any way limit the values
that may be passed to gdk_paintable_snapshot().Usually when a paintable
returns non-0 values from
gdk_paintable_get_intrinsic_width() and gdk_paintable_get_intrinsic_height()
the aspect ratio should conform to those values, though that is not required.If the paintable
does not have a preferred aspect ratio, it returns 0.0.
Negative values are never returned.Parameterspaintablea GdkPaintableReturns the intrinsic aspect ratio of paintable
or 0.0 if none.gdk_paintable_compute_concrete_size ()gdk_paintable_compute_concrete_sizevoid
gdk_paintable_compute_concrete_size (GdkPaintable *paintable,
double specified_width,
double specified_height,
double default_width,
double default_height,
double *concrete_width,
double *concrete_height);Applies the sizing algorithm outlined in
https://drafts.csswg.org/css-images-3/default-sizing
to the given paintable
. See that link for more details.It is not necessary to call this function when both specified_width
and specified_height
are known, but it is useful to call this
function in GtkWidget:measure implementations to compute the
other dimension when only one dimension is given.Parameterspaintablea GdkPaintablespecified_widththe width paintable
could be drawn into or
0.0 if unknownspecified_heightthe height paintable
could be drawn into or
0.0 if unknowndefault_widththe width paintable
would be drawn into if
no other constraints were givendefault_heightthe height paintable
would be drawn into if
no other constraints were givenconcrete_widthwill be set to the concrete width
computed. [out]concrete_heightwill be set to the concrete height
computed. [out]gdk_paintable_invalidate_contents ()gdk_paintable_invalidate_contentsvoid
gdk_paintable_invalidate_contents (GdkPaintable *paintable);Called by implementations of GdkPaintable to invalidate their contents.
Unless the contents are invalidated, implementations must guarantee that
multiple calls to GdkPaintable::snapshot produce the same output.This function will emit the GdkPaintable::invalidate-contents signal.If a paintable
reports the GDK_PAINTABLE_STATIC_CONTENTS flag,
it must not call this function.Parameterspaintablea GdkPaintablegdk_paintable_invalidate_size ()gdk_paintable_invalidate_sizevoid
gdk_paintable_invalidate_size (GdkPaintable *paintable);Called by implementations of GdkPaintable to invalidate their size.
As long as the size is not invalidated, paintable
must return the same values
for its width, height and intrinsic height.This function will emit the GdkPaintable::invalidate-size signal.If a paintable
reports the GDK_PAINTABLE_STATIC_SIZE flag,
it must not call this function.Parameterspaintablea GdkPaintablegdk_paintable_new_empty ()gdk_paintable_new_emptyGdkPaintable *
gdk_paintable_new_empty (int intrinsic_width,
int intrinsic_height);Returns a paintable that has the given intrinsic size and draws nothing.
This is often useful for implementing the GdkPaintableClass:get_current_image()
virtual function when the paintable is in an incomplete state (like a
GtkMediaStream before receiving the first frame).Parametersintrinsic_widthThe intrinsic width to report. Can be 0 for no width.intrinsic_heightThe intrinsic height to report. Can be 0 for no height.Returnsa GdkPaintable. [transfer full]Signal DetailsThe “invalidate-contents” signalGdkPaintable::invalidate-contentsvoid
user_function (GdkPaintable *paintable,
gpointer user_data)Emitted when the contents of the paintable
change.Examples for such an event would be videos changing to the next frame or
the icon theme for an icon changing.Parameterspaintablea GdkPaintableuser_datauser data set when the signal handler was connected.Flags: Run LastThe “invalidate-size” signalGdkPaintable::invalidate-sizevoid
user_function (GdkPaintable *paintable,
gpointer user_data)Emitted when the intrinsic size of the paintable
changes. This means the values
reported by at least one of gdk_paintable_get_intrinsic_width(),
gdk_paintable_get_intrinsic_height() or gdk_paintable_get_intrinsic_aspect_ratio()
has changed.Examples for such an event would be a paintable displaying the contents of a toplevel
surface being resized.Parameterspaintablea GdkPaintableuser_datauser data set when the signal handler was connected.Flags: Run LastSee AlsoClutterContent, GtkImage, GdkTexture, GtkSnapshot
docs/reference/gdk/xml/textures.xml 0000664 0001750 0001750 00000065713 13617646446 017603 0 ustar mclasen mclasen
]>
GdkTexture3GDK4 LibraryGdkTexturePixel dataFunctionsGdkTexture *
gdk_texture_new_for_pixbuf ()GdkTexture *
gdk_texture_new_from_resource ()GdkTexture *
gdk_texture_new_from_file ()intgdk_texture_get_width ()intgdk_texture_get_height ()voidgdk_texture_download ()gbooleangdk_texture_save_to_png ()GdkTexture *
gdk_memory_texture_new ()GdkTexture *
gdk_gl_texture_new ()voidgdk_gl_texture_release ()PropertiesgintheightRead / Write / Construct OnlygintwidthRead / Write / Construct OnlyTypes and ValuesGdkTextureenumGdkMemoryFormat#defineGDK_MEMORY_DEFAULTObject Hierarchy GObject
╰── GdkTexture
Implemented Interfaces
GdkTexture implements
GdkPaintable.Includes#include <gdk/gdk.h>
DescriptionGdkTexture is the basic element used to refer to pixel data.
It is primarily mean for pixel data that will not change over
multiple frames, and will be used for a long time.You cannot get your pixel data back once you've uploaded it.GdkTexture is an immutable object: That means you cannot change
anything about it other than increasing the reference count via
g_object_ref().Functionsgdk_texture_new_for_pixbuf ()gdk_texture_new_for_pixbufGdkTexture *
gdk_texture_new_for_pixbuf (GdkPixbuf *pixbuf);Creates a new texture object representing the GdkPixbuf.Parameterspixbufa GdkPixbufReturns a new GdkTexturegdk_texture_new_from_resource ()gdk_texture_new_from_resourceGdkTexture *
gdk_texture_new_from_resource (const char *resource_path);Creates a new texture by loading an image from a resource.
The file format is detected automatically.It is a fatal error if resource_path
does not specify a valid
image resource and the program will abort if that happens.
If you are unsure about the validity of a resource, use
gdk_texture_new_from_file() to load it.Parametersresource_paththe path of the resource fileReturns A newly-created texturegdk_texture_new_from_file ()gdk_texture_new_from_fileGdkTexture *
gdk_texture_new_from_file (GFile *file,
GError **error);Creates a new texture by loading an image from a file. The file format is
detected automatically. If NULL is returned, then error
will be set.ParametersfileGFile to loaderrorReturn location for an errorReturns A newly-created GdkTexture or NULL if an error occured.gdk_texture_get_width ()gdk_texture_get_widthint
gdk_texture_get_width (GdkTexture *texture);Returns the width of texture
.Parameterstexturea GdkTextureReturns the width of the GdkTexturegdk_texture_get_height ()gdk_texture_get_heightint
gdk_texture_get_height (GdkTexture *texture);Returns the height of the texture
.Parameterstexturea GdkTextureReturns the height of the GdkTexturegdk_texture_download ()gdk_texture_downloadvoid
gdk_texture_download (GdkTexture *texture,
guchar *data,
gsize stride);Downloads the texture
into local memory. This may be
an expensive operation, as the actual texture data may
reside on a GPU or on a remote display server.The data format of the downloaded data is equivalent to
CAIRO_FORMAT_ARGB32, so every downloaded pixel requires
4 bytes of memory.Downloading a texture into a Cairo image surface:Parameterstexturea GdkTexturedatapointer to enough memory to be filled with the
downloaded data of texture
. [array]striderowstride in bytesgdk_texture_save_to_png ()gdk_texture_save_to_pnggboolean
gdk_texture_save_to_png (GdkTexture *texture,
const char *filename);Store the given texture
to the filename
as a PNG file.This is a utility function intended for debugging and testing.
If you want more control over formats, proper error handling or
want to store to a GFile or other location, you might want to
look into using the gdk-pixbuf library.Parameterstexturea GdkTexturefilenamethe filename to store toReturnsTRUE if saving succeeded, FALSE on failure.gdk_memory_texture_new ()gdk_memory_texture_newGdkTexture *
gdk_memory_texture_new (int width,
int height,
GdkMemoryFormat format,
GBytes *bytes,
gsize stride);Creates a new texture for a blob of image data.
The GBytes must contain stride
x height
pixels
in the given format.Parameterswidththe width of the textureheightthe height of the textureformatthe format of the databytesthe GBytes containing the pixel datastriderowstride for the dataReturns A newly-created GdkTexturegdk_gl_texture_new ()gdk_gl_texture_newGdkTexture *
gdk_gl_texture_new (GdkGLContext *context,
guint id,
int width,
int height,
GDestroyNotify destroy,
gpointer data);Creates a new texture for an existing GL texture.Note that the GL texture must not be modified until destroy
is called,
which will happen when the GdkTexture object is finalized, or due to
an explicit call of gdk_gl_texture_release().Parameterscontexta GdkGLContextidthe ID of a texture that was created with contextwidththe nominal width of the textureheightthe nominal height of the texturedestroya destroy notify that will be called when the GL resources
are releaseddatadata that gets passed to destroyReturnsA newly-created GdkTexture. [transfer full]gdk_gl_texture_release ()gdk_gl_texture_releasevoid
gdk_gl_texture_release (GdkGLTexture *self);Releases the GL resources held by a GdkGLTexture that
was created with gdk_gl_texture_new().The texture contents are still available via the
gdk_texture_download() function, after this function
has been called.Parametersselfa GdkTexture wrapping a GL textureProperty DetailsThe “height” propertyGdkTexture:height “height” gintThe height of the texture.Owner: GdkTextureFlags: Read / Write / Construct OnlyAllowed values: >= 1Default value: 1The “width” propertyGdkTexture:width “width” gintThe width of the texture.Owner: GdkTextureFlags: Read / Write / Construct OnlyAllowed values: >= 1Default value: 1
docs/reference/gdk/xml/cursors.xml 0000664 0001750 0001750 00000072306 13617646446 017414 0 ustar mclasen mclasen
]>
Cursors3GDK4 LibraryCursorsNamed and texture cursorsFunctionsGdkCursor *
gdk_cursor_new_from_texture ()GdkCursor *
gdk_cursor_new_from_name ()GdkCursor *
gdk_cursor_get_fallback ()const char *
gdk_cursor_get_name ()GdkTexture *
gdk_cursor_get_texture ()intgdk_cursor_get_hotspot_x ()intgdk_cursor_get_hotspot_y ()PropertiesGdkCursor *fallbackRead / Write / Construct Onlyginthotspot-xRead / Write / Construct Onlyginthotspot-yRead / Write / Construct Onlygchar *nameRead / Write / Construct OnlyGdkTexture *textureRead / Write / Construct OnlyTypes and ValuesGdkCursorObject Hierarchy GObject
╰── GdkCursor
Includes#include <gdk/gdk.h>
DescriptionThese functions are used to create and destroy cursors. Cursors
are immutable objects, so once you created them, there is no way
to modify them later. Create a new cursor, when you want to change
something about it.Cursors by themselves are not very interesting, they must be
bound to a window for users to see them. This is done with
gdk_surface_set_cursor() or gdk_surface_set_device_cursor().
Applications will typically use higher-level GTK+ functions such
as gtk_widget_set_cursor() instead.Cursors are not bound to a given GdkDisplay, so they can be shared.
However, the appearance of cursors may vary when used on different
platforms.There are multiple ways to create cursors. The platform's own cursors
can be created with gdk_cursor_new_from_name(). That function lists
the commonly available names that are shared with the CSS specification.
Other names may be available, depending on the platform in use.
Another option to create a cursor is to use gdk_cursor_new_from_texture()
and provide an image to use for the cursor.To ease work with unsupported cursors, a fallback cursor can be provided.
If a GdkSurface cannot use a cursor because of the reasons mentioned above,
it will try the fallback cursor. Of course, fallback cursors can themselves
have fallback cursors again, so it is possible to provide a chain of
progressively easier to support cursors. If none of the provided cursors
can be supported, the default cursor will be the ultimate fallback.Functionsgdk_cursor_new_from_texture ()gdk_cursor_new_from_textureGdkCursor *
gdk_cursor_new_from_texture (GdkTexture *texture,
int hotspot_x,
int hotspot_y,
GdkCursor *fallback);Creates a new cursor from a GdkTexture.Parameterstexturethe texture providing the pixel datahotspot_xthe horizontal offset of the “hotspot” of the cursorhotspot_ythe vertical offset of the “hotspot” of the cursorfallbackNULL or the GdkCursor to fall back to when
this one cannot be supported. [allow-none]Returns a new GdkCursor.gdk_cursor_new_from_name ()gdk_cursor_new_from_nameGdkCursor *
gdk_cursor_new_from_name (const gchar *name,
GdkCursor *fallback);Creates a new cursor by looking up name
in the current cursor
theme.A recommended set of cursor names that will work across different
platforms can be found in the CSS specification:"none" "default" "help" "pointer" "context-menu" "progress" "wait" "cell" "crosshair" "text" "vertical-text" "alias" "copy" "no-drop" "move" "not-allowed" "grab" "grabbing" "all-scroll" "col-resize" "row-resize" "n-resize" "e-resize" "s-resize" "w-resize" "ne-resize" "nw-resize" "sw-resize" "se-resize" "ew-resize" "ns-resize" "nesw-resize" "nwse-resize" "zoom-in" "zoom-out"ParametersfallbackNULL or the GdkCursor to fall back to when
this one cannot be supported. [allow-none]namethe name of the cursorReturnsa new GdkCursor, or NULL if there is no
cursor with the given name. [nullable]gdk_cursor_get_fallback ()gdk_cursor_get_fallbackGdkCursor *
gdk_cursor_get_fallback (GdkCursor *cursor);Returns the fallback for this cursor
. The fallback will be used if this
cursor is not available on a given GdkDisplay.For named cursors, this can happen when using nonstandard names or when
using an incomplete cursor theme.
For textured cursors, this can happen when the texture is too large or
when the GdkDisplay it is used on does not support textured cursors.Parameterscursora GdkCursor.Returnsthe fallback of the cursor or NULL to use
the default cursor as fallback. [transfer none][nullable]gdk_cursor_get_name ()gdk_cursor_get_nameconst char *
gdk_cursor_get_name (GdkCursor *cursor);Returns the name of the cursor. If the cursor is not a named cursor, NULL
will be returned and the GdkCursor::texture property will be set.Parameterscursora GdkCursor.Returnsthe name of the cursor or NULL if it is not
a named cursor. [transfer none][nullable]gdk_cursor_get_texture ()gdk_cursor_get_textureGdkTexture *
gdk_cursor_get_texture (GdkCursor *cursor);Returns the texture for the cursor. If the cursor is a named cursor, NULL
will be returned and the GdkCursor::name property will be set.Parameterscursora GdkCursor.Returnsthe texture for cursor or NULL if it is a
named cursor. [transfer none][nullable]gdk_cursor_get_hotspot_x ()gdk_cursor_get_hotspot_xint
gdk_cursor_get_hotspot_x (GdkCursor *cursor);Returns the horizontal offset of the hotspot. The hotspot indicates the
pixel that will be directly above the cursor.Parameterscursora GdkCursor.Returns the horizontal offset of the hotspot or 0 for named cursorsgdk_cursor_get_hotspot_y ()gdk_cursor_get_hotspot_yint
gdk_cursor_get_hotspot_y (GdkCursor *cursor);Returns the vertical offset of the hotspot. The hotspot indicates the
pixel that will be directly above the cursor.Parameterscursora GdkCursor.Returns the vertical offset of the hotspot or 0 for named cursorsProperty DetailsThe “fallback” propertyGdkCursor:fallback “fallback” GdkCursor *Cursor image to fall back to if this cursor cannot be displayed.Owner: GdkCursorFlags: Read / Write / Construct OnlyThe “hotspot-x” propertyGdkCursor:hotspot-x “hotspot-x” gintHorizontal offset of the cursor hotspot.Owner: GdkCursorFlags: Read / Write / Construct OnlyAllowed values: >= 0Default value: 0The “hotspot-y” propertyGdkCursor:hotspot-y “hotspot-y” gintVertical offset of the cursor hotspot.Owner: GdkCursorFlags: Read / Write / Construct OnlyAllowed values: >= 0Default value: 0The “name” propertyGdkCursor:name “name” gchar *Name of this cursor.Owner: GdkCursorFlags: Read / Write / Construct OnlyDefault value: NULLThe “texture” propertyGdkCursor:texture “texture” GdkTexture *The texture displayed by this cursor.Owner: GdkCursorFlags: Read / Write / Construct Only
docs/reference/gdk/xml/dnd.xml 0000664 0001750 0001750 00000225136 13617646446 016462 0 ustar mclasen mclasen
]>
Drag And Drop3GDK4 LibraryDrag And DropFunctions for controlling drag and drop handlingFunctionsvoidgdk_drag_drop_done ()GdkDrag *
gdk_drag_begin ()GdkDisplay *
gdk_drag_get_display ()GdkDragActiongdk_drag_get_actions ()GdkDragActiongdk_drag_get_selected_action ()GdkContentFormats *
gdk_drag_get_formats ()GdkDevice *
gdk_drag_get_device ()GdkSurface *
gdk_drag_get_drag_surface ()voidgdk_drag_set_hotspot ()gbooleangdk_drag_action_is_unique ()GdkDisplay *
gdk_drop_get_display ()GdkDevice *
gdk_drop_get_device ()GdkSurface *
gdk_drop_get_surface ()GdkContentFormats *
gdk_drop_get_formats ()GdkDragActiongdk_drop_get_actions ()GdkDrag *
gdk_drop_get_drag ()voidgdk_drop_status ()voidgdk_drop_finish ()voidgdk_drop_read_async ()GInputStream *
gdk_drop_read_finish ()voidgdk_drop_read_value_async ()const GValue *
gdk_drop_read_value_finish ()voidgdk_drop_read_text_async ()char *
gdk_drop_read_text_finish ()PropertiesGdkDragActionactionsRead / WriteGdkContentProvider *contentRead / Write / Construct OnlyGdkDevice *deviceRead / Write / Construct OnlyGdkDisplay *displayReadGdkContentFormats *formatsRead / Write / Construct OnlyGdkDragActionselected-actionRead / WriteGdkSurface *surfaceRead / Write / Construct OnlyGdkDragActionactionsRead / Write / Construct OnlyGdkDevice *deviceRead / Write / Construct OnlyGdkDisplay *displayReadGdkDrag *dragRead / Write / Construct OnlyGdkContentFormats *formatsRead / Write / Construct OnlyGdkSurface *surfaceRead / Write / Construct OnlySignalsvoidcancelRun Lastvoiddnd-finishedRun Lastvoiddrop-performedRun LastTypes and ValuesGdkDragGdkDropenumGdkDragCancelReasonenumGdkDragAction#defineGDK_ACTION_ALLObject Hierarchy GObject
├── GdkDrag
╰── GdkDrop
Includes#include <gdk/gdk.h>
DescriptionThese functions provide a low-level interface for drag and drop.The GdkDrag object represents the source side of an ongoing DND operation.
It is created when a drag is started, and stays alive for duration of
the DND operation. After a drag has been started with gdk_drag_begin(),
the caller gets informed about the status of the ongoing drag operation
with signals on the GtkDrag object.The GdkDrop object represents the target side of an ongoing DND operation.
Possible drop sites get informed about the status of the ongoing drag operation
with events of type GDK_DRAG_ENTER, GDK_DRAG_LEAVE, GDK_DRAG_MOTION and
GDK_DROP_START. The GdkDrop object can be obtained from these GdkEvents
using gdk_event_get_drop().The actual data transfer is initiated from the target side via an async
read, using one of the GdkDrop functions for this purpose: gdk_drop_read_async(),
gdk_drop_read_value_async() or gdk_drop_read_text_async().GTK provides a higher level abstraction based on top of these functions,
and so they are not normally needed in GTK applications. See the
Drag and Drop section of the GTK documentation
for more information.Functionsgdk_drag_drop_done ()gdk_drag_drop_donevoid
gdk_drag_drop_done (GdkDrag *drag,
gboolean success);Inform GDK if the drop ended successfully. Passing FALSE
for success
may trigger a drag cancellation animation.This function is called by the drag source, and should
be the last call before dropping the reference to the
drag
.The GdkDrag will only take the first gdk_drag_drop_done()
call as effective, if this function is called multiple times,
all subsequent calls will be ignored.Parametersdraga GdkDragsuccesswhether the drag was ultimatively successfulgdk_drag_begin ()gdk_drag_beginGdkDrag *
gdk_drag_begin (GdkSurface *surface,
GdkDevice *device,
GdkContentProvider *content,
GdkDragAction actions,
gint dx,
gint dy);Starts a drag and creates a new drag context for it.This function is called by the drag source. After this call, you
probably want to set up the drag icon using the surface returned
by gdk_drag_get_drag_surface().Note: if actions
include GDK_ACTION_MOVE, you need to listen for
the “dnd-finished” signal and delete the data at the source
if gdk_drag_get_selected_action() returns GDK_ACTION_MOVE.Parameterssurfacethe source surface for this dragdevicethe device that controls this dragcontentthe offered content. [transfer none]actionsthe actions supported by this dragdxthe x offset to device
's position where the drag nominally starteddythe y offset to device
's position where the drag nominally startedReturnsa newly created GdkDrag or
NULL on error. [transfer full][nullable]gdk_drag_get_display ()gdk_drag_get_displayGdkDisplay *
gdk_drag_get_display (GdkDrag *drag);Gets the GdkDisplay that the drag object was created for.Parametersdraga GdkDragReturnsa GdkDisplay. [transfer none]gdk_drag_get_actions ()gdk_drag_get_actionsGdkDragAction
gdk_drag_get_actions (GdkDrag *drag);Determines the bitmask of possible actions proposed by the source.Parametersdraga GdkDragReturns the GdkDragAction flagsgdk_drag_get_selected_action ()gdk_drag_get_selected_actionGdkDragAction
gdk_drag_get_selected_action (GdkDrag *drag);Determines the action chosen by the drag destination.Parametersdraga GdkDragReturns a GdkDragAction valuegdk_drag_get_formats ()gdk_drag_get_formatsGdkContentFormats *
gdk_drag_get_formats (GdkDrag *drag);Retrieves the formats supported by this GdkDrag object.Parametersdraga GdkDragReturnsa GdkContentFormats. [transfer none]gdk_drag_get_device ()gdk_drag_get_deviceGdkDevice *
gdk_drag_get_device (GdkDrag *drag);Returns the GdkDevice associated to the GdkDrag object.Parametersdraga GdkDragReturnsThe GdkDevice associated to drag
. [transfer none]gdk_drag_get_drag_surface ()gdk_drag_get_drag_surfaceGdkSurface *
gdk_drag_get_drag_surface (GdkDrag *drag);Returns the surface on which the drag icon should be rendered
during the drag operation. Note that the surface may not be
available until the drag operation has begun. GDK will move
the surface in accordance with the ongoing drag operation.
The surface is owned by drag
and will be destroyed when
the drag operation is over.Parametersdraga GdkDragReturnsthe drag surface, or NULL. [nullable][transfer none]gdk_drag_set_hotspot ()gdk_drag_set_hotspotvoid
gdk_drag_set_hotspot (GdkDrag *drag,
gint hot_x,
gint hot_y);Sets the position of the drag surface that will be kept
under the cursor hotspot. Initially, the hotspot is at the
top left corner of the drag surface.Parametersdraga GdkDraghot_xx coordinate of the drag surface hotspothot_yy coordinate of the drag surface hotspotgdk_drag_action_is_unique ()gdk_drag_action_is_uniquegboolean
gdk_drag_action_is_unique (GdkDragAction action);Checks if action
represents a single action or if it
includes multiple flags that can be selected from.When action
is 0 - ie no action was given, TRUE
is returned.Parametersactiona GdkDragActionReturnsTRUE if exactly one action was givengdk_drop_get_display ()gdk_drop_get_displayGdkDisplay *
gdk_drop_get_display (GdkDrop *self);Gets the GdkDisplay that self
was created for.Parametersselfa GdkDropReturnsa GdkDisplay. [transfer none]gdk_drop_get_device ()gdk_drop_get_deviceGdkDevice *
gdk_drop_get_device (GdkDrop *self);Returns the GdkDevice performing the drop.Parametersselfa GdkDropReturnsThe GdkDevice performing the drop. [transfer none]gdk_drop_get_surface ()gdk_drop_get_surfaceGdkSurface *
gdk_drop_get_surface (GdkDrop *self);Returns the GdkSurface performing the drop.Parametersselfa GdkDropReturnsThe GdkSurface performing the drop. [transfer none]gdk_drop_get_formats ()gdk_drop_get_formatsGdkContentFormats *
gdk_drop_get_formats (GdkDrop *self);Returns the GdkContentFormats that the drop offers the data
to be read in.Parametersselfa GdkDropReturnsThe possible GdkContentFormats. [transfer none]gdk_drop_get_actions ()gdk_drop_get_actionsGdkDragAction
gdk_drop_get_actions (GdkDrop *self);Returns the possible actions for this GdkDrop. If this value
contains multiple actions - ie gdk_drag_action_is_unique()
returns FALSE for the result - gdk_drag_finish() must choose
the action to use when accepting the drop. This will only
happen if you passed GDK_ACTION_ASK as one of the possible
actions in gdk_drag_status(). GDK_ACTION_ASK itself will not
be included in the actions returned by this function.This value may change over the lifetime of the GdkDrop both
as a response to source side actions as well as to calls to
gdk_drop_status() or gdk_drag_finish(). The source side will
not change this value anymore once a drop has started.Parametersselfa GdkDropReturns The possible GdkDragActionsgdk_drop_get_drag ()gdk_drop_get_dragGdkDrag *
gdk_drop_get_drag (GdkDrop *self);If this is an in-app drag-and-drop operation, returns the GdkDrag
that corresponds to this drop.If it is not, NULL is returned.Parametersselfa GdkDropReturnsthe corresponding GdkDrag. [transfer none][nullable]gdk_drop_status ()gdk_drop_statusvoid
gdk_drop_status (GdkDrop *self,
GdkDragAction actions);Selects all actions that are potentially supported by the destination.When calling this function, do not restrict the passed in actions to
the ones provided by gdk_drop_get_actions(). Those actions may
change in the future, even depending on the actions you provide here.This function should be called by drag destinations in response to
GDK_DRAG_ENTER or GDK_DRAG_MOTION events. If the destination does
not yet know the exact actions it supports, it should set any possible
actions first and then later call this function again.Parametersselfa GdkDropactionsSupported actions of the destination, or 0 to indicate
that a drop will not be acceptedgdk_drop_finish ()gdk_drop_finishvoid
gdk_drop_finish (GdkDrop *self,
GdkDragAction action);Ends the drag operation after a drop.The action
must be a single action selected from the actions
available via gdk_drop_get_actions().Parametersselfa GdkDropactionthe action performed by the destination or 0 if the drop
failedgdk_drop_read_async ()gdk_drop_read_asyncvoid
gdk_drop_read_async (GdkDrop *self,
const char **mime_types,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Asynchronously read the dropped data from a GdkDrop
in a format that complies with one of the mime types.Parametersselfa GdkDropmime_typespointer to an array of mime types. [array zero-terminated=1][element-type utf8]io_prioritythe io priority for the read operationcancellableoptional GCancellable object,
NULL to ignore. [allow-none]callbacka GAsyncReadyCallback to call when
the request is satisfied. [scope async]user_datathe data to pass to callback
. [closure]gdk_drop_read_finish ()gdk_drop_read_finishGInputStream *
gdk_drop_read_finish (GdkDrop *self,
GAsyncResult *result,
const char **out_mime_type,
GError **error);Finishes an async drop read operation, see gdk_drop_read_async().Parametersselfa GdkDropresulta GAsyncResultout_mime_typereturn location for the used mime type. [out][type utf8]errorlocation to store error information on failure, or NULL. [allow-none]Returnsthe GInputStream, or NULL. [nullable][transfer full]gdk_drop_read_value_async ()gdk_drop_read_value_asyncvoid
gdk_drop_read_value_async (GdkDrop *self,
GType type,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Asynchronously request the drag operation's contents converted to the given
type
. When the operation is finished callback
will be called.
You can then call gdk_drop_read_value_finish() to get the resulting
GValue.For local drag'n'drop operations that are available in the given GType, the
value will be copied directly. Otherwise, GDK will try to use
gdk_content_deserialize_async() to convert the data.Parametersselfa GdkDroptypea GType to readio_prioritythe I/O priority
of the request. cancellableoptional GCancellable object, NULL to ignore. [nullable]callbackcallback to call when the request is satisfied. [scope async]user_datathe data to pass to callback function. [closure]gdk_drop_read_value_finish ()gdk_drop_read_value_finishconst GValue *
gdk_drop_read_value_finish (GdkDrop *self,
GAsyncResult *result,
GError **error);Finishes an async drop read started with
gdk_drop_read_value_async().Parametersselfa GdkDropresulta GAsyncResulterrora GError location to store the error occurring, or NULL to
ignore.Returnsa GValue containing the result. [transfer none]gdk_drop_read_text_async ()gdk_drop_read_text_asyncvoid
gdk_drop_read_text_async (GdkDrop *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Asynchronously request the drag operation's contents converted to a string.
When the operation is finished callback
will be called. You can then
call gdk_drop_read_text_finish() to get the result.This is a simple wrapper around gdk_drop_read_value_async(). Use
that function or gdk_drop_read_async() directly if you need more
control over the operation.Parametersselfa GdkDropcancellableoptional GCancellable object, NULL to ignore. [nullable]callbackcallback to call when the request is satisfied. [scope async]user_datathe data to pass to callback function. [closure]gdk_drop_read_text_finish ()gdk_drop_read_text_finishchar *
gdk_drop_read_text_finish (GdkDrop *self,
GAsyncResult *result,
GError **error);Finishes an asynchronous read started with
gdk_drop_read_text_async().Parametersselfa GdkDropresulta GAsyncResulterrora GError location to store the error occurring, or NULL to
ignore.Returnsa new string or NULL on error. [transfer full][nullable]Property DetailsThe “actions” propertyGdkDrag:actions “actions” GdkDragActionThe possible actions.Owner: GdkDragFlags: Read / WriteThe “content” propertyGdkDrag:content “content” GdkContentProvider *The GdkContentProvider.Owner: GdkDragFlags: Read / Write / Construct OnlyThe “device” propertyGdkDrag:device “device” GdkDevice *The GdkDevice that is performing the drag.Owner: GdkDragFlags: Read / Write / Construct OnlyThe “display” propertyGdkDrag:display “display” GdkDisplay *The GdkDisplay that the drag belongs to.Owner: GdkDragFlags: ReadThe “formats” propertyGdkDrag:formats “formats” GdkContentFormats *The possible formats that the drag can provide its data in.Owner: GdkDragFlags: Read / Write / Construct OnlyThe “selected-action” propertyGdkDrag:selected-action “selected-action” GdkDragActionThe currently selected action.Owner: GdkDragFlags: Read / WriteThe “surface” propertyGdkDrag:surface “surface” GdkSurface *The surface where the drag originates.Owner: GdkDragFlags: Read / Write / Construct OnlyThe “actions” propertyGdkDrop:actions “actions” GdkDragActionThe possible actions for this dropOwner: GdkDropFlags: Read / Write / Construct OnlyDefault value: GDK_ACTION_COPY | GDK_ACTION_MOVE | GDK_ACTION_LINKThe “device” propertyGdkDrop:device “device” GdkDevice *The GdkDevice performing the dropOwner: GdkDropFlags: Read / Write / Construct OnlyThe “display” propertyGdkDrop:display “display” GdkDisplay *The GdkDisplay that the drop belongs to.Owner: GdkDropFlags: ReadThe “drag” propertyGdkDrop:drag “drag” GdkDrag *The GdkDrag that initiated this dropOwner: GdkDropFlags: Read / Write / Construct OnlyThe “formats” propertyGdkDrop:formats “formats” GdkContentFormats *The possible formats that the drop can provide its data in.Owner: GdkDropFlags: Read / Write / Construct OnlyThe “surface” propertyGdkDrop:surface “surface” GdkSurface *The GdkSurface the drop happens onOwner: GdkDropFlags: Read / Write / Construct OnlySignal DetailsThe “cancel” signalGdkDrag::cancelvoid
user_function (GdkDrag *drag,
GdkDragCancelReason reason,
gpointer user_data)The drag operation was cancelled.ParametersdragThe object on which the signal is emittedreasonThe reason the drag was cancelleduser_datauser data set when the signal handler was connected.Flags: Run LastThe “dnd-finished” signalGdkDrag::dnd-finishedvoid
user_function (GdkDrag *drag,
gpointer user_data)The drag operation was finished, the destination
finished reading all data. The drag object can now
free all miscellaneous data.ParametersdragThe object on which the signal is emitteduser_datauser data set when the signal handler was connected.Flags: Run LastThe “drop-performed” signalGdkDrag::drop-performedvoid
user_function (GdkDrag *drag,
gpointer user_data)The drag operation was performed on an accepting client.ParametersdragThe object on which the signal is emitteduser_datauser data set when the signal handler was connected.Flags: Run Last
docs/reference/gdk/xml/x_interaction.xml 0000664 0001750 0001750 00000362404 13617646446 020563 0 ustar mclasen mclasen
]>
X Window System Interaction3GDK4 LibraryX Window System InteractionX backend-specific functionsFunctions#defineGDK_SURFACE_XID()#defineGDK_DISPLAY_XDISPLAY()#defineGDK_POINTER_TO_XID()#defineGDK_XID_TO_POINTER()GdkDisplay *
gdk_x11_lookup_xdisplay ()guint32gdk_x11_get_server_time ()gintgdk_x11_device_get_id ()GdkDevice *
gdk_x11_device_manager_lookup ()GdkDisplay *
gdk_x11_display_open ()voidgdk_x11_display_set_program_class ()guint32gdk_x11_display_get_user_time ()voidgdk_x11_display_broadcast_startup_message ()const gchar *
gdk_x11_display_get_startup_notification_id ()voidgdk_x11_display_set_startup_notification_id ()Display *
gdk_x11_display_get_xdisplay ()Screen *
gdk_x11_display_get_xscreen ()Windowgdk_x11_display_get_xrootwindow ()Cursorgdk_x11_display_get_xcursor ()voidgdk_x11_display_grab ()voidgdk_x11_display_ungrab ()voidgdk_x11_display_error_trap_push ()gintgdk_x11_display_error_trap_pop ()voidgdk_x11_display_error_trap_pop_ignored ()voidgdk_x11_display_set_cursor_theme ()voidgdk_x11_display_set_surface_scale ()gbooleangdk_x11_display_get_glx_version ()voidgdk_x11_register_standard_event_type ()intgdk_x11_screen_get_screen_number ()Screen *
gdk_x11_screen_get_xscreen ()const char *
gdk_x11_screen_get_window_manager_name ()XIDgdk_x11_screen_get_monitor_output ()GdkX11Visual *
gdk_x11_screen_lookup_visual ()gbooleangdk_x11_screen_supports_net_wm_hint ()guint32gdk_x11_screen_get_number_of_desktops ()guint32gdk_x11_screen_get_current_desktop ()GdkSurface *
gdk_x11_surface_lookup_for_display ()Windowgdk_x11_surface_get_xid ()voidgdk_x11_surface_set_theme_variant ()voidgdk_x11_surface_set_user_time ()voidgdk_x11_surface_move_to_current_desktop ()voidgdk_x11_surface_move_to_desktop ()guint32gdk_x11_surface_get_desktop ()voidgdk_x11_surface_set_utf8_property ()voidgdk_x11_surface_set_frame_sync_enabled ()gintgdk_x11_keymap_get_group_for_state ()gbooleangdk_x11_keymap_key_is_modifier ()Visual *
gdk_x11_visual_get_xvisual ()Atomgdk_x11_atom_to_xatom_for_display ()GdkAtomgdk_x11_xatom_to_atom_for_display ()Atomgdk_x11_get_xatom_by_name_for_display ()const gchar *
gdk_x11_get_xatom_name_for_display ()voidgdk_x11_set_sm_client_id ()gintgdk_x11_display_text_property_to_text_list ()voidgdk_x11_free_text_list ()gintgdk_x11_display_string_to_compound_text ()gbooleangdk_x11_display_utf8_to_compound_text ()voidgdk_x11_free_compound_text ()Includes#include <gdk/x11/gdkx.h>
DescriptionThe functions in this section are specific to the GDK X11 backend.
To use them, you need to include the <gdk/x11/gdkx.h> header and use
the X11-specific pkg-config file gtk4-x11 to build your application.To make your code compile with other GDK backends, guard backend-specific
calls by an ifdef as follows. Since GDK may be built with multiple
backends, you should also check for the backend that is in use (e.g. by
using the GDK_IS_X11_DISPLAY() macro).FunctionsGDK_SURFACE_XID()GDK_SURFACE_XID#define GDK_SURFACE_XID(win) (gdk_x11_surface_get_xid (win))
Returns the X window belonging to a GdkSurface.Parameterswina GdkSurface.Returns the Xlib Window of win
.GDK_DISPLAY_XDISPLAY()GDK_DISPLAY_XDISPLAY#define GDK_DISPLAY_XDISPLAY(display) (gdk_x11_display_get_xdisplay (display))
Returns the display of a GdkDisplay.Parametersdisplaya GdkDisplayReturns an Xlib Display*GDK_POINTER_TO_XID()GDK_POINTER_TO_XID#define GDK_POINTER_TO_XID(pointer) GPOINTER_TO_UINT(pointer)
Converts a gpointer
back to an XID that was previously converted
using GDK_XID_TO_POINTER().Parameterspointerpointer to extract an XID fromGDK_XID_TO_POINTER()GDK_XID_TO_POINTER#define GDK_XID_TO_POINTER(xid) GUINT_TO_POINTER(xid)
Converts an XID into a gpointer
. This is useful with data structures
that use pointer arguments such as GHashTable. Use GDK_POINTER_TO_XID()
to convert the argument back to an XID.ParametersxidXID to stuff into the pointergdk_x11_lookup_xdisplay ()gdk_x11_lookup_xdisplayGdkDisplay *
gdk_x11_lookup_xdisplay (Display *xdisplay);Find the GdkDisplay corresponding to xdisplay
, if any exists.Parametersxdisplaya pointer to an X DisplayReturnsthe GdkDisplay, if found, otherwise NULL. [transfer none][type GdkX11Display]gdk_x11_get_server_time ()gdk_x11_get_server_timeguint32
gdk_x11_get_server_time (GdkSurface *surface);Routine to get the current X server time stamp.Parameterssurfacea GdkSurface, used for communication
with the server. The surface must have
GDK_PROPERTY_CHANGE_MASK in its events mask or a hang will
result. [type GdkX11Surface]Returns the time stamp.gdk_x11_device_get_id ()gdk_x11_device_get_idgint
gdk_x11_device_get_id (GdkDevice *device);Returns the device ID as seen by XInput2.Parametersdevicea GdkDevice. [type GdkX11DeviceXI2]Returns the XInput2 device ID.gdk_x11_device_manager_lookup ()gdk_x11_device_manager_lookupGdkDevice *
gdk_x11_device_manager_lookup (GdkX11DeviceManagerXI2 *device_manager,
gint device_id);Returns the GdkDevice that wraps the given device ID.Parametersdevice_managera GdkDeviceManager. [type GdkX11DeviceManagerXI2]device_ida device ID, as understood by the XInput2 protocolReturnsThe GdkDevice wrapping the device ID,
or NULL if the given ID doesn’t currently represent a device. [transfer none][allow-none][type GdkX11DeviceXI2]gdk_x11_display_open ()gdk_x11_display_openGdkDisplay *
gdk_x11_display_open (const char *display_name);Tries to open a new display to the X server given by
display_name
. If opening the display fails, NULL is
returned.Parametersdisplay_namename of the X display.
See the XOpenDisplay() for details. [allow-none]ReturnsThe new display or
NULL on error. [nullable][transfer full]gdk_x11_display_set_program_class ()gdk_x11_display_set_program_classvoid
gdk_x11_display_set_program_class (GdkDisplay *display,
const char *program_class);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.Parametersdisplaya GdkDisplayprogram_classa stringgdk_x11_display_get_user_time ()gdk_x11_display_get_user_timeguint32
gdk_x11_display_get_user_time (GdkDisplay *display);Returns the timestamp of the last user interaction on
display
. The timestamp is taken from events caused
by user interaction such as key presses or pointer
movements. See gdk_x11_surface_set_user_time().Parametersdisplaya GdkDisplay. [type GdkX11Display]Returns the timestamp of the last user interaction gdk_x11_display_broadcast_startup_message ()gdk_x11_display_broadcast_startup_messagevoid
gdk_x11_display_broadcast_startup_message
(GdkDisplay *display,
const char *message_type,
...);Sends a startup notification message of type message_type
to
display
. This is a convenience function for use by code that implements the
freedesktop startup notification specification. Applications should
not normally need to call it directly. See the
Startup Notification Protocol specification
for definitions of the message types and keys that can be used.Parametersdisplaya GdkDisplay. [type GdkX11Display]message_typestartup notification message type ("new", "change",
or "remove")...a list of key/value pairs (as strings), terminated by a
NULL key. (A NULL value for a key will cause that key to be
skipped in the output.)gdk_x11_display_get_startup_notification_id ()gdk_x11_display_get_startup_notification_idconst gchar *
gdk_x11_display_get_startup_notification_id
(GdkDisplay *display);Gets the startup notification ID for a display.Parametersdisplaya GdkDisplay. [type GdkX11Display]Returns the startup notification ID for displaygdk_x11_display_set_startup_notification_id ()gdk_x11_display_set_startup_notification_idvoid
gdk_x11_display_set_startup_notification_id
(GdkDisplay *display,
const gchar *startup_id);Sets the startup notification ID for a display.This is usually taken from the value of the DESKTOP_STARTUP_ID
environment variable, but in some cases (such as the application not
being launched using exec()) it can come from other sources.If the ID contains the string "_TIME" then the portion following that
string is taken to be the X11 timestamp of the event that triggered
the application to be launched and the GDK current event time is set
accordingly.The startup ID is also what is used to signal that the startup is
complete (for example, when opening a window or when calling
gdk_notify_startup_complete()).Parametersdisplaya GdkDisplay. [type GdkX11Display]startup_idthe startup notification ID (must be valid utf8)gdk_x11_display_get_xdisplay ()gdk_x11_display_get_xdisplayDisplay *
gdk_x11_display_get_xdisplay (GdkDisplay *display);Returns the X display of a GdkDisplay.Parametersdisplaya GdkDisplay. [type GdkX11Display]Returnsan X display. [transfer none]gdk_x11_display_get_xscreen ()gdk_x11_display_get_xscreenScreen *
gdk_x11_display_get_xscreen (GdkDisplay *display);Returns the X Screen used by GdkDisplay.Parametersdisplaya GdkDisplay. [type GdkX11Display]Returnsan X Screen. [transfer none]gdk_x11_display_get_xrootwindow ()gdk_x11_display_get_xrootwindowWindow
gdk_x11_display_get_xrootwindow (GdkDisplay *display);Returns the root X window used by GdkDisplay.Parametersdisplaya GdkDisplay. [type GdkX11Display]Returns an X Windowgdk_x11_display_get_xcursor ()gdk_x11_display_get_xcursorCursor
gdk_x11_display_get_xcursor (GdkDisplay *display,
GdkCursor *cursor);Returns the X cursor belonging to a GdkCursor, potentially
creating the cursor.Be aware that the returned cursor may not be unique to cursor
.
It may for example be shared with its fallback cursor. On old
X servers that don't support the XCursor extension, all cursors
may even fall back to a few default cursors.Parametersdisplaya GdkDisplay. [type GdkX11Display]cursora GdkCursor.Returns an Xlib Cursor.gdk_x11_display_grab ()gdk_x11_display_grabvoid
gdk_x11_display_grab (GdkDisplay *display);Call XGrabServer() on display
.
To ungrab the display again, use gdk_x11_display_ungrab(). gdk_x11_display_grab()/gdk_x11_display_ungrab() calls can be nested.Parametersdisplaya GdkDisplay. [type GdkX11Display]gdk_x11_display_ungrab ()gdk_x11_display_ungrabvoid
gdk_x11_display_ungrab (GdkDisplay *display);Ungrab display
after it has been grabbed with
gdk_x11_display_grab().Parametersdisplaya GdkDisplay. [type GdkX11Display]gdk_x11_display_error_trap_push ()gdk_x11_display_error_trap_pushvoid
gdk_x11_display_error_trap_push (GdkDisplay *display);Begins a range of X requests on display
for which X error events
will be ignored. Unignored errors (when no trap is pushed) will abort
the application. Use gdk_x11_display_error_trap_pop() or
gdk_x11_display_error_trap_pop_ignored()to lift a trap pushed
with this function.See also gdk_error_trap_push() to push a trap on all displays.Parametersdisplaya GdkDisplay. [type GdkX11Display]gdk_x11_display_error_trap_pop ()gdk_x11_display_error_trap_popgint
gdk_x11_display_error_trap_pop (GdkDisplay *display);Pops the error trap pushed by gdk_x11_display_error_trap_push().
Will XSync() if necessary and will always block until
the error is known to have occurred or not occurred,
so the error code can be returned.If you don’t need to use the return value,
gdk_x11_display_error_trap_pop_ignored() would be more efficient.See gdk_error_trap_pop() for the all-displays-at-once
equivalent.Parametersdisplaythe display. [type GdkX11Display]Returns X error code or 0 on successgdk_x11_display_error_trap_pop_ignored ()gdk_x11_display_error_trap_pop_ignoredvoid
gdk_x11_display_error_trap_pop_ignored
(GdkDisplay *display);Pops the error trap pushed by gdk_x11_display_error_trap_push().
Does not block to see if an error occurred; merely records the
range of requests to ignore errors for, and ignores those errors
if they arrive asynchronously.See gdk_error_trap_pop_ignored() for the all-displays-at-once
equivalent.Parametersdisplaythe display. [type GdkX11Display]gdk_x11_display_set_cursor_theme ()gdk_x11_display_set_cursor_themevoid
gdk_x11_display_set_cursor_theme (GdkDisplay *display,
const gchar *theme,
const gint size);Sets the cursor theme from which the images for cursor
should be taken.If the windowing system supports it, existing cursors created
with gdk_cursor_new(), gdk_cursor_new_for_display() and
gdk_cursor_new_from_name() are updated to reflect the theme
change. Custom cursors constructed with
gdk_cursor_new_from_texture() will have to be handled
by the application (GTK+ applications can learn about
cursor theme changes by listening for change notification
for the corresponding GtkSetting).Parametersdisplaya GdkDisplay. [type GdkX11Display]themethe name of the cursor theme to use, or NULL to unset
a previously set value. [nullable]sizethe cursor size to use, or 0 to keep the previous sizegdk_x11_display_set_surface_scale ()gdk_x11_display_set_surface_scalevoid
gdk_x11_display_set_surface_scale (GdkDisplay *display,
gint scale);Forces a specific window scale for all windows on this display,
instead of using the default or user configured scale. This
is can be used to disable scaling support by setting scale
to
1, or to programmatically set the window scale.Once the scale is set by this call it will not change in response
to later user configuration changes.Parametersdisplaythe display. [type GdkX11Display]scaleThe new scale valuegdk_x11_display_get_glx_version ()gdk_x11_display_get_glx_versiongboolean
gdk_x11_display_get_glx_version (GdkDisplay *display,
gint *major,
gint *minor);Retrieves the version of the GLX implementation.Parametersdisplaya GdkDisplaymajorreturn location for the GLX major version. [out]minorreturn location for the GLX minor version. [out]ReturnsTRUE if GLX is availablegdk_x11_register_standard_event_type ()gdk_x11_register_standard_event_typevoid
gdk_x11_register_standard_event_type (GdkDisplay *display,
gint event_base,
gint n_events);Registers interest in receiving extension events with type codes
between event_base
and event_base + n_events - 1.
The registered events must have the window field in the same place
as core X events (this is not the case for e.g. XKB extension events).GDK may register the events of some X extensions on its own.This function should only be needed in unusual circumstances, e.g.
when filtering XInput extension events on the root window.Parametersdisplaya GdkDisplay. [type GdkX11Display]event_basefirst event type code to registern_eventsnumber of event type codes to registergdk_x11_screen_get_screen_number ()gdk_x11_screen_get_screen_numberint
gdk_x11_screen_get_screen_number (GdkX11Screen *screen);Returns the index of a GdkX11Screen.Parametersscreena GdkX11ScreenReturns the position of screen
among the screens
of its displaygdk_x11_screen_get_xscreen ()gdk_x11_screen_get_xscreenScreen *
gdk_x11_screen_get_xscreen (GdkX11Screen *screen);Returns the screen of a GdkX11Screen.Parametersscreena GdkX11ScreenReturnsan Xlib Screen*. [transfer none]gdk_x11_screen_get_window_manager_name ()gdk_x11_screen_get_window_manager_nameconst char *
gdk_x11_screen_get_window_manager_name
(GdkX11Screen *screen);Returns the name of the window manager for screen
.Parametersscreena GdkX11ScreenReturns the name of the window manager screen screen
, or
"unknown" if the window manager is unknown. The string is owned by GDK
and should not be freed.gdk_x11_screen_get_monitor_output ()gdk_x11_screen_get_monitor_outputXID
gdk_x11_screen_get_monitor_output (GdkX11Screen *screen,
gint monitor_num);Gets the XID of the specified output/monitor.
If the X server does not support version 1.2 of the RANDR
extension, 0 is returned.Parametersscreena GdkX11Screenmonitor_numnumber of the monitor, between 0 and gdk_screen_get_n_monitors (screen)Returns the XID of the monitorgdk_x11_screen_lookup_visual ()gdk_x11_screen_lookup_visualGdkX11Visual *
gdk_x11_screen_lookup_visual (GdkX11Screen *screen,
VisualID xvisualid);Looks up the GdkVisual for a particular screen and X Visual ID.Parametersscreena GdkX11Screen.xvisualidan X Visual ID.Returnsthe GdkVisual (owned by the screen
object), or NULL if the visual ID wasn’t found. [transfer none][type GdkX11Visual]gdk_x11_screen_supports_net_wm_hint ()gdk_x11_screen_supports_net_wm_hintgboolean
gdk_x11_screen_supports_net_wm_hint (GdkX11Screen *screen,
GdkAtom property);This function is specific to the X11 backend of GDK, and indicates
whether the window manager supports a certain hint from the
Extended Window Manager Hints specification.When using this function, keep in mind that the window manager
can change over time; so you shouldn’t use this function in
a way that impacts persistent application state. A common bug
is that your application can start up before the window manager
does when the user logs in, and before the window manager starts
gdk_x11_screen_supports_net_wm_hint() will return FALSE for every property.
You can monitor the window_manager_changed signal on GdkX11Screen to detect
a window manager change.Parametersscreenthe relevant GdkX11Screen.propertya property atom.ReturnsTRUE if the window manager supports propertygdk_x11_screen_get_number_of_desktops ()gdk_x11_screen_get_number_of_desktopsguint32
gdk_x11_screen_get_number_of_desktops (GdkX11Screen *screen);Returns the number of workspaces for screen
when running under a
window manager that supports multiple workspaces, as described
in the
Extended Window Manager Hints specification.Parametersscreena GdkX11ScreenReturns the number of workspaces, or 0 if workspaces are not supportedgdk_x11_screen_get_current_desktop ()gdk_x11_screen_get_current_desktopguint32
gdk_x11_screen_get_current_desktop (GdkX11Screen *screen);Returns the current workspace for screen
when running under a
window manager that supports multiple workspaces, as described
in the
Extended Window Manager Hints specification.Parametersscreena GdkX11ScreenReturns the current workspace, or 0 if workspaces are not supportedgdk_x11_surface_lookup_for_display ()gdk_x11_surface_lookup_for_displayGdkSurface *
gdk_x11_surface_lookup_for_display (GdkDisplay *display,
Window window);Looks up the GdkSurface that wraps the given native window handle.Parametersdisplaythe GdkDisplay corresponding to the
window handle. [type GdkX11Display]windowan Xlib WindowReturnsthe GdkSurface wrapper for the native
window, or NULL if there is none. [transfer none][type GdkX11Surface]gdk_x11_surface_get_xid ()gdk_x11_surface_get_xidWindow
gdk_x11_surface_get_xid (GdkSurface *surface);Returns the X resource (surface) belonging to a GdkSurface.Parameterssurfacea native GdkSurface. [type GdkX11Surface]Returns the ID of drawable
’s X resource.gdk_x11_surface_set_theme_variant ()gdk_x11_surface_set_theme_variantvoid
gdk_x11_surface_set_theme_variant (GdkSurface *surface,
const char *variant);GTK+ applications can request a dark theme variant. In order to
make other applications - namely window managers using GTK+ for
themeing - aware of this choice, GTK+ uses this function to
export the requested theme variant as _GTK_THEME_VARIANT property
on toplevel surfaces.Note that this property is automatically updated by GTK+, so this
function should only be used by applications which do not use GTK+
to create toplevel surfaces.Parameterssurfacea GdkSurface. [type GdkX11Surface]variantthe theme variant to exportgdk_x11_surface_set_user_time ()gdk_x11_surface_set_user_timevoid
gdk_x11_surface_set_user_time (GdkSurface *surface,
guint32 timestamp);The application can use this call to update the _NET_WM_USER_TIME
property on a toplevel surface. This property stores an Xserver
time which represents the time of the last user input event
received for this surface. This property may be used by the window
manager to alter the focus, stacking, and/or placement behavior of
surfaces when they are mapped depending on whether the new surface
was created by a user action or is a "pop-up" surface activated by a
timer or some other event.Note that this property is automatically updated by GDK, so this
function should only be used by applications which handle input
events bypassing GDK.ParameterssurfaceA toplevel GdkSurface. [type GdkX11Surface]timestampAn XServer timestamp to which the property should be setgdk_x11_surface_move_to_current_desktop ()gdk_x11_surface_move_to_current_desktopvoid
gdk_x11_surface_move_to_current_desktop
(GdkSurface *surface);Moves the surface to the correct workspace when running under a
window manager that supports multiple workspaces, as described
in the Extended Window Manager Hints specification.
Will not do anything if the surface is already on all workspaces.Parameterssurfacea GdkSurface. [type GdkX11Surface]gdk_x11_surface_move_to_desktop ()gdk_x11_surface_move_to_desktopvoid
gdk_x11_surface_move_to_desktop (GdkSurface *surface,
guint32 desktop);Moves the surface to the given workspace when running unde a
window manager that supports multiple workspaces, as described
in the Extended Window Manager Hints specification.Parameterssurfacea GdkSurface. [type GdkX11Surface]desktopthe number of the workspace to move the surface togdk_x11_surface_get_desktop ()gdk_x11_surface_get_desktopguint32
gdk_x11_surface_get_desktop (GdkSurface *surface);Gets the number of the workspace surface
is on.Parameterssurfacea GdkSurface. [type GdkX11Surface]Returns the current workspace of surfacegdk_x11_surface_set_utf8_property ()gdk_x11_surface_set_utf8_propertyvoid
gdk_x11_surface_set_utf8_property (GdkSurface *surface,
const gchar *name,
const gchar *value);This function modifies or removes an arbitrary X11 window
property of type UTF8_STRING. If the given surface
is
not a toplevel surface, it is ignored.Parameterssurfacea GdkSurface. [type GdkX11Surface]nameProperty name, will be interned as an X atomvalueProperty value, or NULL to delete. [allow-none]gdk_x11_surface_set_frame_sync_enabled ()gdk_x11_surface_set_frame_sync_enabledvoid
gdk_x11_surface_set_frame_sync_enabled
(GdkSurface *surface,
gboolean frame_sync_enabled);This function can be used to disable frame synchronization for a surface.
Normally frame synchronziation will be enabled or disabled based on whether
the system has a compositor that supports frame synchronization, but if
the surface is not directly managed by the window manager, then frame
synchronziation may need to be disabled. This is the case for a surface
embedded via the XEMBED protocol.Parameterssurfacea native GdkSurface. [type GdkX11Surface]frame_sync_enabledwhether frame-synchronization should be enabledgdk_x11_keymap_get_group_for_state ()gdk_x11_keymap_get_group_for_stategint
gdk_x11_keymap_get_group_for_state (GdkKeymap *keymap,
guint state);Extracts the group from the state field sent in an X Key event.
This is only needed for code processing raw X events, since GdkEventKey
directly includes an is_modifier field.Parameterskeymapa GdkX11Keymap. [type GdkX11Keymap]stateraw state returned from XReturns the index of the active keyboard group for the eventgdk_x11_keymap_key_is_modifier ()gdk_x11_keymap_key_is_modifiergboolean
gdk_x11_keymap_key_is_modifier (GdkKeymap *keymap,
guint keycode);Determines whether a particular key code represents a key that
is a modifier. That is, it’s a key that normally just affects
the keyboard state and the behavior of other keys rather than
producing a direct effect itself. This is only needed for code
processing raw X events, since GdkEventKey directly includes
an is_modifier field.Parameterskeymapa GdkX11Keymap. [type GdkX11Keymap]keycodethe hardware keycode from a key eventReturnsTRUE if the hardware keycode is a modifier keygdk_x11_visual_get_xvisual ()gdk_x11_visual_get_xvisualVisual *
gdk_x11_visual_get_xvisual (GdkX11Visual *visual);Returns the X visual belonging to a GdkVisual.Parametersvisuala GdkVisual. [type GdkX11Visual]Returnsan Xlib Visual*. [transfer none]gdk_x11_atom_to_xatom_for_display ()gdk_x11_atom_to_xatom_for_displayAtom
gdk_x11_atom_to_xatom_for_display (GdkDisplay *display,
GdkAtom atom);Converts from a GdkAtom to the X atom for a GdkDisplay
with the same string value. The special value NULL
is converted to None.ParametersdisplayA GdkDisplay. [type GdkX11Display]atomA GdkAtom, or NULLReturns the X atom corresponding to atom
, or Nonegdk_x11_xatom_to_atom_for_display ()gdk_x11_xatom_to_atom_for_displayGdkAtom
gdk_x11_xatom_to_atom_for_display (GdkDisplay *display,
Atom xatom);Convert from an X atom for a GdkDisplay to the corresponding
GdkAtom.ParametersdisplayA GdkDisplay. [type GdkX11Display]xatoman X atom Returnsthe corresponding GdkAtom. [transfer none]gdk_x11_get_xatom_by_name_for_display ()gdk_x11_get_xatom_by_name_for_displayAtom
gdk_x11_get_xatom_by_name_for_display (GdkDisplay *display,
const gchar *atom_name);Returns the X atom for a GdkDisplay corresponding to atom_name
.
This function caches the result, so if called repeatedly it is much
faster than XInternAtom(), which is a round trip to the server each time.Parametersdisplaya GdkDisplay. [type GdkX11Display]atom_namea stringReturns a X atom for a GdkDisplaygdk_x11_get_xatom_name_for_display ()gdk_x11_get_xatom_name_for_displayconst gchar *
gdk_x11_get_xatom_name_for_display (GdkDisplay *display,
Atom xatom);Returns the name of an X atom for its display. This
function is meant mainly for debugging, so for convenience, unlike
XAtomName() and the result doesn’t need to
be freed.Parametersdisplaythe GdkDisplay where xatom
is defined. [type GdkX11Display]xatoman X atom Returns name of the X atom; this string is owned by GDK,
so it shouldn’t be modifed or freed. gdk_x11_set_sm_client_id ()gdk_x11_set_sm_client_idvoid
gdk_x11_set_sm_client_id (const gchar *sm_client_id);Sets the SM_CLIENT_ID property on the application’s leader window so that
the window manager can save the application’s state using the X11R6 ICCCM
session management protocol.See the X Session Management Library documentation for more information on
session management and the Inter-Client Communication Conventions ManualParameterssm_client_idthe client id assigned by the session manager
when the connection was opened, or NULL to remove the property. [nullable]gdk_x11_display_text_property_to_text_list ()gdk_x11_display_text_property_to_text_listgint
gdk_x11_display_text_property_to_text_list
(GdkDisplay *display,
GdkAtom encoding,
gint format,
const guchar *text,
gint length,
gchar ***list);Convert a text string from the encoding as it is stored
in a property into an array of strings in the encoding of
the current locale. (The elements of the array represent the
nul-separated elements of the original text string.)ParametersdisplayThe GdkDisplay where the encoding is defined. [type GdkX11Display]encodingan atom representing the encoding. The most
common values for this are STRING, or COMPOUND_TEXT.
This is value used as the type for the propertyformatthe format of the propertytextThe text datalengthThe number of items to transformlistlocation to store an array of strings in
the encoding of the current locale. This array should be
freed using gdk_free_text_list().Returns the number of strings stored in list, or 0,
if the conversion failedgdk_x11_free_text_list ()gdk_x11_free_text_listvoid
gdk_x11_free_text_list (gchar **list);Frees the array of strings created by
gdk_x11_display_text_property_to_text_list().Parameterslistthe value stored in the list
parameter by
a call to gdk_x11_display_text_property_to_text_list().gdk_x11_display_string_to_compound_text ()gdk_x11_display_string_to_compound_textgint
gdk_x11_display_string_to_compound_text
(GdkDisplay *display,
const gchar *str,
GdkAtom *encoding,
gint *format,
guchar **ctext,
gint *length);Convert a string from the encoding of the current
locale into a form suitable for storing in a window property.Parametersdisplaythe GdkDisplay where the encoding is defined. [type GdkX11Display]stra nul-terminated stringencodinglocation to store the encoding atom
(to be used as the type for the property). [out][transfer none]formatlocation to store the format of the property. [out]ctextlocation to store newly
allocated data for the property. [out][array length=length]lengththe length of ctext
, in bytesReturns 0 upon success, non-zero upon failuregdk_x11_display_utf8_to_compound_text ()gdk_x11_display_utf8_to_compound_textgboolean
gdk_x11_display_utf8_to_compound_text (GdkDisplay *display,
const gchar *str,
GdkAtom *encoding,
gint *format,
guchar **ctext,
gint *length);Converts from UTF-8 to compound text.Parametersdisplaya GdkDisplay. [type GdkX11Display]stra UTF-8 stringencodinglocation to store resulting encoding. [out]formatlocation to store format of the result. [out]ctextlocation to store the data of the result. [out][array length=length]lengthlocation to store the length of the data
stored in ctextReturnsTRUE if the conversion succeeded,
otherwise FALSEgdk_x11_free_compound_text ()gdk_x11_free_compound_textvoid
gdk_x11_free_compound_text (guchar *ctext);Frees the data returned from gdk_x11_display_string_to_compound_text().ParametersctextThe pointer stored in ctext
from a call to
gdk_x11_display_string_to_compound_text().
docs/reference/gdk/xml/wayland_interaction.xml 0000664 0001750 0001750 00000067207 13617646446 021756 0 ustar mclasen mclasen
]>
Wayland Interaction3GDK4 LibraryWayland InteractionWayland backend-specific functionsFunctionsstruct wl_seat *
gdk_wayland_seat_get_wl_seat ()struct wl_keyboard *
gdk_wayland_device_get_wl_keyboard ()struct wl_pointer *
gdk_wayland_device_get_wl_pointer ()struct wl_seat *
gdk_wayland_device_get_wl_seat ()struct wl_compositor *
gdk_wayland_display_get_wl_compositor ()struct wl_display *
gdk_wayland_display_get_wl_display ()gbooleangdk_wayland_display_query_registry ()struct wl_surface *
gdk_wayland_surface_get_wl_surface ()void(*GdkWaylandSurfaceExported)()gbooleangdk_wayland_surface_export_handle ()voidgdk_wayland_surface_unexport_handle ()gbooleangdk_wayland_surface_set_transient_for_exported ()Includes#include <gdk/wayland/gdkwayland.h>
DescriptionThe functions in this section are specific to the GDK Wayland backend.
To use them, you need to include the <gdk/wayland/gdkwayland.h> header and
use the Wayland-specific pkg-config gtk4-wayland file to build your
application.To make your code compile with other GDK backends, guard backend-specific
calls by an ifdef as follows. Since GDK may be built with multiple
backends, you should also check for the backend that is in use (e.g. by
using the GDK_IS_WAYLAND_DISPLAY() macro).Functionsgdk_wayland_seat_get_wl_seat ()gdk_wayland_seat_get_wl_seatstruct wl_seat *
gdk_wayland_seat_get_wl_seat (GdkSeat *seat);Returns the Wayland wl_seat of a GdkSeat.Parametersseata GdkSeat. [type GdkWaylandSeat]Returnsa Wayland wl_seat. [transfer none]gdk_wayland_device_get_wl_keyboard ()gdk_wayland_device_get_wl_keyboardstruct wl_keyboard *
gdk_wayland_device_get_wl_keyboard (GdkDevice *device);Returns the Wayland wl_keyboard of a GdkDevice.Parametersdevicea GdkDevice. [type GdkWaylandDevice]Returnsa Wayland wl_keyboard. [transfer none]gdk_wayland_device_get_wl_pointer ()gdk_wayland_device_get_wl_pointerstruct wl_pointer *
gdk_wayland_device_get_wl_pointer (GdkDevice *device);Returns the Wayland wl_pointer of a GdkDevice.Parametersdevicea GdkDevice. [type GdkWaylandDevice]Returnsa Wayland wl_pointer. [transfer none]gdk_wayland_device_get_wl_seat ()gdk_wayland_device_get_wl_seatstruct wl_seat *
gdk_wayland_device_get_wl_seat (GdkDevice *device);Returns the Wayland wl_seat of a GdkDevice.Parametersdevicea GdkDevice. [type GdkWaylandDevice]Returnsa Wayland wl_seat. [transfer none]gdk_wayland_display_get_wl_compositor ()gdk_wayland_display_get_wl_compositorstruct wl_compositor *
gdk_wayland_display_get_wl_compositor (GdkDisplay *display);Returns the Wayland global singleton compositor of a GdkDisplay.Parametersdisplaya GdkDisplay. [type GdkWaylandDisplay]Returnsa Wayland wl_compositor. [transfer none]gdk_wayland_display_get_wl_display ()gdk_wayland_display_get_wl_displaystruct wl_display *
gdk_wayland_display_get_wl_display (GdkDisplay *display);Returns the Wayland wl_display of a GdkDisplay.Parametersdisplaya GdkDisplay. [type GdkWaylandDisplay]Returnsa Wayland wl_display. [transfer none]gdk_wayland_display_query_registry ()gdk_wayland_display_query_registrygboolean
gdk_wayland_display_query_registry (GdkDisplay *display,
const gchar *global);Returns TRUE if the the interface was found in the display
wl_registry.global handler.Parametersdisplaya wayland GdkDisplayglobalglobal interface to query in the registryReturnsTRUE if the global is offered by the compositorgdk_wayland_surface_get_wl_surface ()gdk_wayland_surface_get_wl_surfacestruct wl_surface *
gdk_wayland_surface_get_wl_surface (GdkSurface *surface);Returns the Wayland surface of a GdkSurface.Parameterssurfacea GdkSurface. [type GdkWaylandSurface]Returnsa Wayland wl_surface. [transfer none]GdkWaylandSurfaceExported ()GdkWaylandSurfaceExportedvoid(*GdkWaylandSurfaceExported) (GdkSurface *surface,
const char *handle,
gpointer user_data);Callback that gets called when the handle for a surface has been
obtained from the Wayland compositor. The handle can be passed
to other processes, for the purpose of marking surfaces as transient
for out-of-process surfaces.Parameterssurfacethe GdkSurface that is exportedhandlethe handleuser_datauser data that was passed to gdk_wayland_surface_export_handle()gdk_wayland_surface_export_handle ()gdk_wayland_surface_export_handlegboolean
gdk_wayland_surface_export_handle (GdkSurface *surface,
GdkWaylandSurfaceExported callback,
gpointer user_data,
GDestroyNotify destroy_func);Asynchronously obtains a handle for a surface that can be passed
to other processes. When the handle has been obtained, callback
will be called.It is an error to call this function on a surface that is already
exported.When the handle is no longer needed, gdk_wayland_surface_unexport_handle()
should be called to clean up resources.The main purpose for obtaining a handle is to mark a surface
from another surface as transient for this one, see
gdk_wayland_surface_set_transient_for_exported().Note that this API depends on an unstable Wayland protocol,
and thus may require changes in the future.Parameterssurfacethe GdkSurface to obtain a handle forcallbackcallback to call with the handleuser_datauser data for callback
. [closure]destroy_funcdestroy notify for user_dataReturnsTRUE if the handle has been requested, FALSE if
an error occurred.gdk_wayland_surface_unexport_handle ()gdk_wayland_surface_unexport_handlevoid
gdk_wayland_surface_unexport_handle (GdkSurface *surface);Destroys the handle that was obtained with
gdk_wayland_surface_export_handle().It is an error to call this function on a surface that
does not have a handle.Note that this API depends on an unstable Wayland protocol,
and thus may require changes in the future.Parameterssurfacethe GdkSurface to unexportgdk_wayland_surface_set_transient_for_exported ()gdk_wayland_surface_set_transient_for_exportedgboolean
gdk_wayland_surface_set_transient_for_exported
(GdkSurface *surface,
char *parent_handle_str);Marks surface
as transient for the surface to which the given
parent_handle_str
refers. Typically, the handle will originate
from a gdk_wayland_surface_export_handle() call in another process.Note that this API depends on an unstable Wayland protocol,
and thus may require changes in the future.Parameterssurfacethe GdkSurface to make as transientparent_handle_stran exported handle for a surfaceReturnsTRUE if the surface has been marked as transient,
FALSE if an error occurred.
docs/reference/gdk/xml/gdkapplaunchcontext.xml 0000664 0001750 0001750 00000032540 13617646446 021756 0 ustar mclasen mclasen
]>
Application launching3GDK4 LibraryApplication launchingStartup notification for applicationsFunctionsvoidgdk_app_launch_context_set_desktop ()voidgdk_app_launch_context_set_timestamp ()voidgdk_app_launch_context_set_icon ()voidgdk_app_launch_context_set_icon_name ()PropertiesGdkDisplay *displayRead / Write / Construct OnlyTypes and ValuesGdkAppLaunchContextObject Hierarchy GObject
╰── GAppLaunchContext
╰── GdkAppLaunchContext
Includes#include <gdk/gdk.h>
DescriptionGdkAppLaunchContext is an implementation of GAppLaunchContext that
handles launching an application in a graphical context. It provides
startup notification and allows to launch applications on a specific
screen or workspace.Launching an applicationtime);
if (!g_app_info_launch_default_for_uri ("http://www.gtk.org", context, &error))
g_warning ("Launching failed: %s\n", error->message);
g_object_unref (context);
]]>Functionsgdk_app_launch_context_set_desktop ()gdk_app_launch_context_set_desktopvoid
gdk_app_launch_context_set_desktop (GdkAppLaunchContext *context,
gint desktop);Sets the workspace on which applications will be launched when
using this context when running under a window manager that
supports multiple workspaces, as described in the
Extended Window Manager Hints.When the workspace is not specified or desktop
is set to -1,
it is up to the window manager to pick one, typically it will
be the current workspace.Parameterscontexta GdkAppLaunchContextdesktopthe number of a workspace, or -1gdk_app_launch_context_set_timestamp ()gdk_app_launch_context_set_timestampvoid
gdk_app_launch_context_set_timestamp (GdkAppLaunchContext *context,
guint32 timestamp);Sets the timestamp of context
. The timestamp should ideally
be taken from the event that triggered the launch.Window managers can use this information to avoid moving the
focus to the newly launched application when the user is busy
typing in another window. This is also known as 'focus stealing
prevention'.Parameterscontexta GdkAppLaunchContexttimestampa timestampgdk_app_launch_context_set_icon ()gdk_app_launch_context_set_iconvoid
gdk_app_launch_context_set_icon (GdkAppLaunchContext *context,
GIcon *icon);Sets the icon for applications that are launched with this
context.Window Managers can use this information when displaying startup
notification.See also gdk_app_launch_context_set_icon_name().Parameterscontexta GdkAppLaunchContexticona GIcon, or NULL. [allow-none]gdk_app_launch_context_set_icon_name ()gdk_app_launch_context_set_icon_namevoid
gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context,
const char *icon_name);Sets the icon for applications that are launched with this context.
The icon_name
will be interpreted in the same way as the Icon field
in desktop files. See also gdk_app_launch_context_set_icon().If both icon
and icon_name
are set, the icon_name
takes priority.
If neither icon
or icon_name
is set, the icon is taken from either
the file that is passed to launched application or from the GAppInfo
for the launched application itself.Parameterscontexta GdkAppLaunchContexticon_namean icon name, or NULL. [allow-none]Property DetailsThe “display” propertyGdkAppLaunchContext:display “display” GdkDisplay *Display.Owner: GdkAppLaunchContextFlags: Read / Write / Construct Only
docs/reference/gdk/xml/gdkframeclock.xml 0000664 0001750 0001750 00000114104 13617646446 020501 0 ustar mclasen mclasen
]>
Frame clock3GDK4 LibraryFrame clockFrame clock syncs painting to a window or displayFunctionsgint64gdk_frame_clock_get_frame_time ()voidgdk_frame_clock_request_phase ()voidgdk_frame_clock_begin_updating ()voidgdk_frame_clock_end_updating ()gint64gdk_frame_clock_get_frame_counter ()gint64gdk_frame_clock_get_history_start ()GdkFrameTimings *
gdk_frame_clock_get_timings ()GdkFrameTimings *
gdk_frame_clock_get_current_timings ()voidgdk_frame_clock_get_refresh_info ()Signalsvoidafter-paintRun Lastvoidbefore-paintRun Lastvoidflush-eventsRun LastvoidlayoutRun LastvoidpaintRun Lastvoidresume-eventsRun LastvoidupdateRun LastTypes and ValuesGdkFrameClockenumGdkFrameClockPhaseObject Hierarchy GObject
╰── GdkFrameClock
Includes#include <gdk/gdk.h>
DescriptionA GdkFrameClock tells the application when to update and repaint a
window. This may be synced to the vertical refresh rate of the
monitor, for example. Even when the frame clock uses a simple timer
rather than a hardware-based vertical sync, the frame clock helps
because it ensures everything paints at the same time (reducing the
total number of frames). The frame clock can also automatically
stop painting when it knows the frames will not be visible, or
scale back animation framerates.GdkFrameClock is designed to be compatible with an OpenGL-based
implementation or with mozRequestAnimationFrame in Firefox,
for example.A frame clock is idle until someone requests a frame with
gdk_frame_clock_request_phase(). At some later point that makes
sense for the synchronization being implemented, the clock will
process a frame and emit signals for each phase that has been
requested. (See the signals of the GdkFrameClock class for
documentation of the phases. GDK_FRAME_CLOCK_PHASE_UPDATE and the
“update” signal are most interesting for application
writers, and are used to update the animations, using the frame time
given by gdk_frame_clock_get_frame_time().The frame time is reported in microseconds and generally in the same
timescale as g_get_monotonic_time(), however, it is not the same
as g_get_monotonic_time(). The frame time does not advance during
the time a frame is being painted, and outside of a frame, an attempt
is made so that all calls to gdk_frame_clock_get_frame_time() that
are called at a “similar” time get the same value. This means that
if different animations are timed by looking at the difference in
time between an initial value from gdk_frame_clock_get_frame_time()
and the value inside the “update” signal of the clock,
they will stay exactly synchronized.Functionsgdk_frame_clock_get_frame_time ()gdk_frame_clock_get_frame_timegint64
gdk_frame_clock_get_frame_time (GdkFrameClock *frame_clock);Gets the time that should currently be used for animations. Inside
the processing of a frame, it’s the time used to compute the
animation position of everything in a frame. Outside of a frame, it's
the time of the conceptual “previous frame,” which may be either
the actual previous frame time, or if that’s too old, an updated
time.Parametersframe_clocka GdkFrameClockReturns a timestamp in microseconds, in the timescale of
of g_get_monotonic_time().gdk_frame_clock_request_phase ()gdk_frame_clock_request_phasevoid
gdk_frame_clock_request_phase (GdkFrameClock *frame_clock,
GdkFrameClockPhase phase);Asks the frame clock to run a particular phase. The signal
corresponding the requested phase will be emitted the next
time the frame clock processes. Multiple calls to
gdk_frame_clock_request_phase() will be combined together
and only one frame processed. If you are displaying animated
content and want to continually request the
GDK_FRAME_CLOCK_PHASE_UPDATE phase for a period of time,
you should use gdk_frame_clock_begin_updating() instead, since
this allows GTK to adjust system parameters to get maximally
smooth animations.Parametersframe_clocka GdkFrameClockphasethe phase that is requestedgdk_frame_clock_begin_updating ()gdk_frame_clock_begin_updatingvoid
gdk_frame_clock_begin_updating (GdkFrameClock *frame_clock);Starts updates for an animation. Until a matching call to
gdk_frame_clock_end_updating() is made, the frame clock will continually
request a new frame with the GDK_FRAME_CLOCK_PHASE_UPDATE phase.
This function may be called multiple times and frames will be
requested until gdk_frame_clock_end_updating() is called the same
number of times.Parametersframe_clocka GdkFrameClockgdk_frame_clock_end_updating ()gdk_frame_clock_end_updatingvoid
gdk_frame_clock_end_updating (GdkFrameClock *frame_clock);Stops updates for an animation. See the documentation for
gdk_frame_clock_begin_updating().Parametersframe_clocka GdkFrameClockgdk_frame_clock_get_frame_counter ()gdk_frame_clock_get_frame_countergint64
gdk_frame_clock_get_frame_counter (GdkFrameClock *frame_clock);A GdkFrameClock maintains a 64-bit counter that increments for
each frame drawn.Parametersframe_clocka GdkFrameClockReturns inside frame processing, the value of the frame counter
for the current frame. Outside of frame processing, the frame
counter for the last frame.gdk_frame_clock_get_history_start ()gdk_frame_clock_get_history_startgint64
gdk_frame_clock_get_history_start (GdkFrameClock *frame_clock);GdkFrameClock internally keeps a history of GdkFrameTimings
objects for recent frames that can be retrieved with
gdk_frame_clock_get_timings(). The set of stored frames
is the set from the counter values given by
gdk_frame_clock_get_history_start() and
gdk_frame_clock_get_frame_counter(), inclusive.Parametersframe_clocka GdkFrameClockReturns the frame counter value for the oldest frame
that is available in the internal frame history of the
GdkFrameClock.gdk_frame_clock_get_timings ()gdk_frame_clock_get_timingsGdkFrameTimings *
gdk_frame_clock_get_timings (GdkFrameClock *frame_clock,
gint64 frame_counter);Retrieves a GdkFrameTimings object holding timing information
for the current frame or a recent frame. The GdkFrameTimings
object may not yet be complete: see gdk_frame_timings_get_complete().Parametersframe_clocka GdkFrameClockframe_counterthe frame counter value identifying the frame to
be received.Returnsthe GdkFrameTimings object for
the specified frame, or NULL if it is not available. See
gdk_frame_clock_get_history_start(). [nullable][transfer none]gdk_frame_clock_get_current_timings ()gdk_frame_clock_get_current_timingsGdkFrameTimings *
gdk_frame_clock_get_current_timings (GdkFrameClock *frame_clock);Gets the frame timings for the current frame.Parametersframe_clocka GdkFrameClockReturnsthe GdkFrameTimings for the
frame currently being processed, or even no frame is being
processed, for the previous frame. Before any frames have been
processed, returns NULL. [nullable][transfer none]gdk_frame_clock_get_refresh_info ()gdk_frame_clock_get_refresh_infovoid
gdk_frame_clock_get_refresh_info (GdkFrameClock *frame_clock,
gint64 base_time,
gint64 *refresh_interval_return,
gint64 *presentation_time_return);Using the frame history stored in the frame clock, finds the last
known presentation time and refresh interval, and assuming that
presentation times are separated by the refresh interval,
predicts a presentation time that is a multiple of the refresh
interval after the last presentation time, and later than base_time
.Parametersframe_clocka GdkFrameClockbase_timebase time for determining a presentaton timerefresh_interval_returna location to store the
determined refresh interval, or NULL. A default refresh interval of
1/60th of a second will be stored if no history is present. [out][optional]presentation_time_returna location to store the next
candidate presentation time after the given base time.
0 will be will be stored if no history is present. [out]Signal DetailsThe “after-paint” signalGdkFrameClock::after-paintvoid
user_function (GdkFrameClock *clock,
gpointer user_data)This signal ends processing of the frame. Applications
should generally not handle this signal.Parametersclockthe frame clock emitting the signaluser_datauser data set when the signal handler was connected.Flags: Run LastThe “before-paint” signalGdkFrameClock::before-paintvoid
user_function (GdkFrameClock *clock,
gpointer user_data)This signal begins processing of the frame. Applications
should generally not handle this signal.Parametersclockthe frame clock emitting the signaluser_datauser data set when the signal handler was connected.Flags: Run LastThe “flush-events” signalGdkFrameClock::flush-eventsvoid
user_function (GdkFrameClock *clock,
gpointer user_data)This signal is used to flush pending motion events that
are being batched up and compressed together. Applications
should not handle this signal.Parametersclockthe frame clock emitting the signaluser_datauser data set when the signal handler was connected.Flags: Run LastThe “layout” signalGdkFrameClock::layoutvoid
user_function (GdkFrameClock *clock,
gpointer user_data)This signal is emitted as the second step of toolkit and
application processing of the frame. Any work to update
sizes and positions of application elements should be
performed. GTK normally handles this internally.Parametersclockthe frame clock emitting the signaluser_datauser data set when the signal handler was connected.Flags: Run LastThe “paint” signalGdkFrameClock::paintvoid
user_function (GdkFrameClock *clock,
gpointer user_data)This signal is emitted as the third step of toolkit and
application processing of the frame. The frame is
repainted. GDK normally handles this internally and
produces expose events, which are turned into GTK
“draw” signals.Parametersclockthe frame clock emitting the signaluser_datauser data set when the signal handler was connected.Flags: Run LastThe “resume-events” signalGdkFrameClock::resume-eventsvoid
user_function (GdkFrameClock *clock,
gpointer user_data)This signal is emitted after processing of the frame is
finished, and is handled internally by GTK to resume normal
event processing. Applications should not handle this signal.Parametersclockthe frame clock emitting the signaluser_datauser data set when the signal handler was connected.Flags: Run LastThe “update” signalGdkFrameClock::updatevoid
user_function (GdkFrameClock *clock,
gpointer user_data)This signal is emitted as the first step of toolkit and
application processing of the frame. Animations should
be updated using gdk_frame_clock_get_frame_time().
Applications can connect directly to this signal, or
use gtk_widget_add_tick_callback() as a more convenient
interface.Parametersclockthe frame clock emitting the signaluser_datauser data set when the signal handler was connected.Flags: Run Last
docs/reference/gdk/xml/gdkframetimings.xml 0000664 0001750 0001750 00000044270 13617646446 021066 0 ustar mclasen mclasen
]>
Frame timings3GDK4 LibraryFrame timingsObject holding timing information for a single frameFunctionsGdkFrameTimings *
gdk_frame_timings_ref ()voidgdk_frame_timings_unref ()gint64gdk_frame_timings_get_frame_counter ()gbooleangdk_frame_timings_get_complete ()gint64gdk_frame_timings_get_frame_time ()gint64gdk_frame_timings_get_presentation_time ()gint64gdk_frame_timings_get_refresh_interval ()gint64gdk_frame_timings_get_predicted_presentation_time ()Types and ValuesGdkFrameTimingsIncludes#include <gdk/gdk.h>
DescriptionA GdkFrameTimings object holds timing information for a single frame
of the application’s displays. To retrieve GdkFrameTimings objects,
use gdk_frame_clock_get_timings() or gdk_frame_clock_get_current_timings().
The information in GdkFrameTimings is useful for precise synchronization
of video with the event or audio streams, and for measuring
quality metrics for the application’s display, such as latency and jitter.Functionsgdk_frame_timings_ref ()gdk_frame_timings_refGdkFrameTimings *
gdk_frame_timings_ref (GdkFrameTimings *timings);Increases the reference count of timings
.Parameterstimingsa GdkFrameTimingsReturnstimingsgdk_frame_timings_unref ()gdk_frame_timings_unrefvoid
gdk_frame_timings_unref (GdkFrameTimings *timings);Decreases the reference count of timings
. If timings
is no longer referenced, it will be freed.Parameterstimingsa GdkFrameTimingsgdk_frame_timings_get_frame_counter ()gdk_frame_timings_get_frame_countergint64
gdk_frame_timings_get_frame_counter (GdkFrameTimings *timings);Gets the frame counter value of the GdkFrameClock when this
this frame was drawn.Parameterstimingsa GdkFrameTimingsReturns the frame counter value for this framegdk_frame_timings_get_complete ()gdk_frame_timings_get_completegboolean
gdk_frame_timings_get_complete (GdkFrameTimings *timings);The timing information in a GdkFrameTimings is filled in
incrementally as the frame as drawn and passed off to the
window system for processing and display to the user. The
accessor functions for GdkFrameTimings can return 0 to
indicate an unavailable value for two reasons: either because
the information is not yet available, or because it isn't
available at all. Once gdk_frame_timings_get_complete() returns
TRUE for a frame, you can be certain that no further values
will become available and be stored in the GdkFrameTimings.Parameterstimingsa GdkFrameTimingsReturnsTRUE if all information that will be available
for the frame has been filled in.gdk_frame_timings_get_frame_time ()gdk_frame_timings_get_frame_timegint64
gdk_frame_timings_get_frame_time (GdkFrameTimings *timings);Returns the frame time for the frame. This is the time value
that is typically used to time animations for the frame. See
gdk_frame_clock_get_frame_time().ParameterstimingsA GdkFrameTimingsReturns the frame time for the frame, in the timescale
of g_get_monotonic_time()gdk_frame_timings_get_presentation_time ()gdk_frame_timings_get_presentation_timegint64
gdk_frame_timings_get_presentation_time
(GdkFrameTimings *timings);Reurns the presentation time. This is the time at which the frame
became visible to the user.Parameterstimingsa GdkFrameTimingsReturns the time the frame was displayed to the user, in the
timescale of g_get_monotonic_time(), or 0 if no presentation
time is available. See gdk_frame_timings_get_complete()gdk_frame_timings_get_refresh_interval ()gdk_frame_timings_get_refresh_intervalgint64
gdk_frame_timings_get_refresh_interval
(GdkFrameTimings *timings);Gets the natural interval between presentation times for
the display that this frame was displayed on. Frame presentation
usually happens during the “vertical blanking interval”.Parameterstimingsa GdkFrameTimingsReturns the refresh interval of the display, in microseconds,
or 0 if the refresh interval is not available.
See gdk_frame_timings_get_complete().gdk_frame_timings_get_predicted_presentation_time ()gdk_frame_timings_get_predicted_presentation_timegint64
gdk_frame_timings_get_predicted_presentation_time
(GdkFrameTimings *timings);Gets the predicted time at which this frame will be displayed. Although
no predicted time may be available, if one is available, it will
be available while the frame is being generated, in contrast to
gdk_frame_timings_get_presentation_time(), which is only available
after the frame has been presented. In general, if you are simply
animating, you should use gdk_frame_clock_get_frame_time() rather
than this function, but this function is useful for applications
that want exact control over latency. For example, a movie player
may want this information for Audio/Video synchronization.Parameterstimingsa GdkFrameTimingsReturns The predicted time at which the frame will be presented,
in the timescale of g_get_monotonic_time(), or 0 if no predicted
presentation time is available.
docs/reference/gdk/xml/gdkdrawcontext.xml 0000664 0001750 0001750 00000040714 13617646446 020742 0 ustar mclasen mclasen
]>
GdkDrawContext3GDK4 LibraryGdkDrawContextBase class for draw contextsFunctionsGdkDisplay *
gdk_draw_context_get_display ()GdkSurface *
gdk_draw_context_get_surface ()voidgdk_draw_context_begin_frame ()voidgdk_draw_context_end_frame ()gbooleangdk_draw_context_is_in_frame ()const cairo_region_t *
gdk_draw_context_get_frame_region ()Types and ValuesGdkDrawContextObject Hierarchy GObject
╰── GdkDrawContext
├── GdkGLContext
╰── GdkVulkanContext
Includes#include <gdk/gdk.h>
DescriptionGdkDrawContext is the base object used by contexts implementing different
rendering methods, such as GdkGLContext or GdkVulkanContext. It provides
shared functionality between those contexts.You will always interact with one of those s.ubclasses.A GdkDrawContext is always associated with a single toplevel surface.Functionsgdk_draw_context_get_display ()gdk_draw_context_get_displayGdkDisplay *
gdk_draw_context_get_display (GdkDrawContext *context);Retrieves the GdkDisplay the context
is created forParameterscontexta GdkDrawContextReturnsa GdkDisplay or NULL. [nullable][transfer none]gdk_draw_context_get_surface ()gdk_draw_context_get_surfaceGdkSurface *
gdk_draw_context_get_surface (GdkDrawContext *context);Retrieves the GdkSurface used by the context
.Parameterscontexta GdkDrawContextReturnsa GdkSurface or NULL. [nullable][transfer none]gdk_draw_context_begin_frame ()gdk_draw_context_begin_framevoid
gdk_draw_context_begin_frame (GdkDrawContext *context,
const cairo_region_t *region);Indicates that you are beginning the process of redrawing region
on the context
's surface.Calling this function begins a drawing operation using context
on the
surface that context
was created from. The actual requirements and
guarantees for the drawing operation vary for different implementations
of drawing, so a GdkCairoContext and a GdkGLContext need to be treated
differently.A call to this function is a requirement for drawing and must be followed
by a call to gdk_draw_context_end_frame(), which will complete the
drawing operation and ensure the contents become visible on screen.Note that the region
passed to this function is the minimum region that
needs to be drawn and depending on implementation, windowing system and
hardware in use, it might be necessary to draw a larger region. Drawing
implementation must use gdk_draw_context_get_frame_region() to query the
region that must be drawn.When using GTK+, the widget system automatically places calls to
gdk_draw_context_begin_frame() and gdk_draw_context_end_frame() via the
use of GskRenderers, so application code does not need to call these
functions explicitly.Parameterscontextthe context used to draw the frameregionminimum region that should be drawngdk_draw_context_end_frame ()gdk_draw_context_end_framevoid
gdk_draw_context_end_frame (GdkDrawContext *context);Ends a drawing operation started with gdk_draw_context_begin_frame()
and makes the drawing available on screen. See that function for more
details about drawing.When using a GdkGLContext, this function may call glFlush()
implicitly before returning; it is not recommended to call glFlush()
explicitly before calling this function.Parameterscontexta GdkDrawContextgdk_draw_context_is_in_frame ()gdk_draw_context_is_in_framegboolean
gdk_draw_context_is_in_frame (GdkDrawContext *context);Returns TRUE if context
is in the process of drawing to its surface
after a call to gdk_draw_context_begin_frame() and not yet having called
gdk_draw_context_end_frame().
In this situation, drawing commands may be effecting the contents of a
context
's surface.Parameterscontexta GdkDrawContextReturnsTRUE if the context is between begin_frame() and end_frame() calls.gdk_draw_context_get_frame_region ()gdk_draw_context_get_frame_regionconst cairo_region_t *
gdk_draw_context_get_frame_region (GdkDrawContext *context);Retrieves the region that is currently in the process of being repainted.After a call to gdk_draw_context_begin_frame() this function will return
a union of the region passed to that function and the area of the surface
that the context
determined needs to be repainted.If context
is not inbetween calls to gdk_draw_context_begin_frame() and
gdk_draw_context_end_frame(), NULL will be returned.Parameterscontexta GdkDrawContextReturnsa Cairo region or NULL if not drawing
a frame. [transfer none][nullable]
docs/reference/gdk/xml/gdkglcontext.xml 0000664 0001750 0001750 00000117263 13617646446 020413 0 ustar mclasen mclasen
]>
GdkGLContext3GDK4 LibraryGdkGLContextOpenGL draw contextFunctionsGdkDisplay *
gdk_gl_context_get_display ()GdkSurface *
gdk_gl_context_get_surface ()GdkGLContext *
gdk_gl_context_get_shared_context ()voidgdk_gl_context_get_version ()voidgdk_gl_context_set_required_version ()voidgdk_gl_context_get_required_version ()voidgdk_gl_context_set_debug_enabled ()gbooleangdk_gl_context_get_debug_enabled ()voidgdk_gl_context_set_forward_compatible ()gbooleangdk_gl_context_get_forward_compatible ()voidgdk_gl_context_set_use_es ()gbooleangdk_gl_context_get_use_es ()gbooleangdk_gl_context_is_legacy ()gbooleangdk_gl_context_realize ()voidgdk_gl_context_make_current ()GdkGLContext *
gdk_gl_context_get_current ()voidgdk_gl_context_clear_current ()PropertiesGdkGLContext *shared-contextRead / Write / Construct OnlyTypes and ValuesGdkGLContextenumGdkGLErrorObject Hierarchy GObject
╰── GdkDrawContext
╰── GdkGLContext
Includes#include <gdk/gdk.h>
DescriptionGdkGLContext is an object representing the platform-specific
OpenGL draw context.GdkGLContexts are created for a GdkSurface using
gdk_surface_create_gl_context(), and the context will match the
the characteristics of the surface.A GdkGLContext is not tied to any particular normal framebuffer.
For instance, it cannot draw to the GdkSurface back buffer. The GDK
repaint system is in full control of the painting to that. Instead,
you can create render buffers or textures and use gdk_cairo_draw_from_gl()
in the draw function of your widget to draw them. Then GDK will handle
the integration of your rendering with that of other widgets.Support for GdkGLContext is platform-specific, context creation
can fail, returning NULL context.A GdkGLContext has to be made "current" in order to start using
it, otherwise any OpenGL call will be ignored.Creating a new OpenGL contextIn order to create a new GdkGLContext instance you need a
GdkSurface, which you typically get during the realize call
of a widget.A GdkGLContext is not realized until either gdk_gl_context_make_current(),
or until it is realized using gdk_gl_context_realize(). It is possible to
specify details of the GL context like the OpenGL version to be used, or
whether the GL context should have extra state validation enabled after
calling gdk_surface_create_gl_context() by calling gdk_gl_context_realize().
If the realization fails you have the option to change the settings of the
GdkGLContext and try again.Using a GdkGLContextYou will need to make the GdkGLContext the current context
before issuing OpenGL calls; the system sends OpenGL commands to
whichever context is current. It is possible to have multiple
contexts, so you always need to ensure that the one which you
want to draw with is the current one before issuing commands:You can now perform your drawing using OpenGL commands.You can check which GdkGLContext is the current one by using
gdk_gl_context_get_current(); you can also unset any GdkGLContext
that is currently set by calling gdk_gl_context_clear_current().Functionsgdk_gl_context_get_display ()gdk_gl_context_get_displayGdkDisplay *
gdk_gl_context_get_display (GdkGLContext *context);Retrieves the GdkDisplay the context
is created forParameterscontexta GdkGLContextReturnsa GdkDisplay or NULL. [nullable][transfer none]gdk_gl_context_get_surface ()gdk_gl_context_get_surfaceGdkSurface *
gdk_gl_context_get_surface (GdkGLContext *context);Retrieves the GdkSurface used by the context
.Parameterscontexta GdkGLContextReturnsa GdkSurface or NULL. [nullable][transfer none]gdk_gl_context_get_shared_context ()gdk_gl_context_get_shared_contextGdkGLContext *
gdk_gl_context_get_shared_context (GdkGLContext *context);Retrieves the GdkGLContext that this context
share data with.Parameterscontexta GdkGLContextReturnsa GdkGLContext or NULL. [nullable][transfer none]gdk_gl_context_get_version ()gdk_gl_context_get_versionvoid
gdk_gl_context_get_version (GdkGLContext *context,
int *major,
int *minor);Retrieves the OpenGL version of the context
.The context
must be realized prior to calling this function.Parameterscontexta GdkGLContextmajorreturn location for the major version. [out]minorreturn location for the minor version. [out]gdk_gl_context_set_required_version ()gdk_gl_context_set_required_versionvoid
gdk_gl_context_set_required_version (GdkGLContext *context,
int major,
int minor);Sets the major and minor version of OpenGL to request.Setting major
and minor
to zero will use the default values.The GdkGLContext must not be realized or made current prior to calling
this function.Parameterscontexta GdkGLContextmajorthe major version to requestminorthe minor version to requestgdk_gl_context_get_required_version ()gdk_gl_context_get_required_versionvoid
gdk_gl_context_get_required_version (GdkGLContext *context,
int *major,
int *minor);Retrieves the major and minor version requested by calling
gdk_gl_context_set_required_version().Parameterscontexta GdkGLContextmajorreturn location for the major version to request. [out][nullable]minorreturn location for the minor version to request. [out][nullable]gdk_gl_context_set_debug_enabled ()gdk_gl_context_set_debug_enabledvoid
gdk_gl_context_set_debug_enabled (GdkGLContext *context,
gboolean enabled);Sets whether the GdkGLContext should perform extra validations and
run time checking. This is useful during development, but has
additional overhead.The GdkGLContext must not be realized or made current prior to
calling this function.Parameterscontexta GdkGLContextenabledwhether to enable debugging in the contextgdk_gl_context_get_debug_enabled ()gdk_gl_context_get_debug_enabledgboolean
gdk_gl_context_get_debug_enabled (GdkGLContext *context);Retrieves the value set using gdk_gl_context_set_debug_enabled().Parameterscontexta GdkGLContextReturnsTRUE if debugging is enabledgdk_gl_context_set_forward_compatible ()gdk_gl_context_set_forward_compatiblevoid
gdk_gl_context_set_forward_compatible (GdkGLContext *context,
gboolean compatible);Sets whether the GdkGLContext should be forward compatible.Forward compatibile contexts must not support OpenGL functionality that
has been marked as deprecated in the requested version; non-forward
compatible contexts, on the other hand, must support both deprecated and
non deprecated functionality.The GdkGLContext must not be realized or made current prior to calling
this function.Parameterscontexta GdkGLContextcompatiblewhether the context should be forward compatiblegdk_gl_context_get_forward_compatible ()gdk_gl_context_get_forward_compatiblegboolean
gdk_gl_context_get_forward_compatible (GdkGLContext *context);Retrieves the value set using gdk_gl_context_set_forward_compatible().Parameterscontexta GdkGLContextReturnsTRUE if the context should be forward compatiblegdk_gl_context_set_use_es ()gdk_gl_context_set_use_esvoid
gdk_gl_context_set_use_es (GdkGLContext *context,
int use_es);Requests that GDK create an OpenGL ES context instead of an OpenGL one,
if the platform and windowing system allows it.The context
must not have been realized.By default, GDK will attempt to automatically detect whether the
underlying GL implementation is OpenGL or OpenGL ES once the context
is realized.You should check the return value of gdk_gl_context_get_use_es() after
calling gdk_gl_context_realize() to decide whether to use the OpenGL or
OpenGL ES API, extensions, or shaders.Parameterscontexta GdkGLContext:use_eswhether the context should use OpenGL ES instead of OpenGL,
or -1 to allow auto-detectiongdk_gl_context_get_use_es ()gdk_gl_context_get_use_esgboolean
gdk_gl_context_get_use_es (GdkGLContext *context);Checks whether the context
is using an OpenGL or OpenGL ES profile.Parameterscontexta GdkGLContextReturnsTRUE if the GdkGLContext is using an OpenGL ES profilegdk_gl_context_is_legacy ()gdk_gl_context_is_legacygboolean
gdk_gl_context_is_legacy (GdkGLContext *context);Whether the GdkGLContext is in legacy mode or not.The GdkGLContext must be realized before calling this function.When realizing a GL context, GDK will try to use the OpenGL 3.2 core
profile; this profile removes all the OpenGL API that was deprecated
prior to the 3.2 version of the specification. If the realization is
successful, this function will return FALSE.If the underlying OpenGL implementation does not support core profiles,
GDK will fall back to a pre-3.2 compatibility profile, and this function
will return TRUE.You can use the value returned by this function to decide which kind
of OpenGL API to use, or whether to do extension discovery, or what
kind of shader programs to load.Parameterscontexta GdkGLContextReturnsTRUE if the GL context is in legacy modegdk_gl_context_realize ()gdk_gl_context_realizegboolean
gdk_gl_context_realize (GdkGLContext *context,
GError **error);Realizes the given GdkGLContext.It is safe to call this function on a realized GdkGLContext.Parameterscontexta GdkGLContexterrorreturn location for a GErrorReturnsTRUE if the context is realizedgdk_gl_context_make_current ()gdk_gl_context_make_currentvoid
gdk_gl_context_make_current (GdkGLContext *context);Makes the context
the current one.Parameterscontexta GdkGLContextgdk_gl_context_get_current ()gdk_gl_context_get_currentGdkGLContext *
gdk_gl_context_get_current (void);Retrieves the current GdkGLContext.Returnsthe current GdkGLContext, or NULL. [nullable][transfer none]gdk_gl_context_clear_current ()gdk_gl_context_clear_currentvoid
gdk_gl_context_clear_current (void);Clears the current GdkGLContext.Any OpenGL call after this function returns will be ignored
until gdk_gl_context_make_current() is called.Property DetailsThe “shared-context” propertyGdkGLContext:shared-context “shared-context” GdkGLContext *The GdkGLContext that this context is sharing data with, or NULLOwner: GdkGLContextFlags: Read / Write / Construct Only
docs/reference/gdk/xml/gdkmonitor.xml 0000664 0001750 0001750 00000106133 13617646446 020065 0 ustar mclasen mclasen
]>
GdkMonitor3GDK4 LibraryGdkMonitorObject representing an outputFunctionsGdkDisplay *
gdk_monitor_get_display ()voidgdk_monitor_get_geometry ()voidgdk_monitor_get_workarea ()intgdk_monitor_get_width_mm ()intgdk_monitor_get_height_mm ()const char *
gdk_monitor_get_manufacturer ()const char *
gdk_monitor_get_model ()const char *
gdk_monitor_get_connector ()intgdk_monitor_get_scale_factor ()intgdk_monitor_get_refresh_rate ()GdkSubpixelLayoutgdk_monitor_get_subpixel_layout ()gbooleangdk_monitor_is_valid ()Propertiesgchar *connectorReadGdkDisplay *displayRead / Write / Construct OnlyGdkRectangle *geometryReadgintheight-mmReadgchar *manufacturerReadgchar *modelReadgintrefresh-rateReadgintscale-factorReadGdkSubpixelLayoutsubpixel-layoutReadgbooleanvalidReadgintwidth-mmReadGdkRectangle *workareaReadSignalsvoidinvalidateRun FirstTypes and ValuesGdkMonitorenumGdkSubpixelLayoutObject Hierarchy GObject
╰── GdkMonitor
Includes#include <gdk/gdk.h>
DescriptionGdkMonitor objects represent the individual outputs that are
associated with a GdkDisplay. GdkDisplay has APIs to enumerate
monitors with gdk_display_get_n_monitors() and gdk_display_get_monitor(), and
to find particular monitors with gdk_display_get_primary_monitor() or
gdk_display_get_monitor_at_surface().Functionsgdk_monitor_get_display ()gdk_monitor_get_displayGdkDisplay *
gdk_monitor_get_display (GdkMonitor *monitor);Gets the display that this monitor belongs to.Parametersmonitora GdkMonitorReturnsthe display. [transfer none]gdk_monitor_get_geometry ()gdk_monitor_get_geometryvoid
gdk_monitor_get_geometry (GdkMonitor *monitor,
GdkRectangle *geometry);Retrieves the size and position of an individual monitor within the
display coordinate space. The returned geometry is in ”application pixels”,
not in ”device pixels” (see gdk_monitor_get_scale_factor()).Parametersmonitora GdkMonitorgeometrya GdkRectangle to be filled with the monitor geometry. [out]gdk_monitor_get_workarea ()gdk_monitor_get_workareavoid
gdk_monitor_get_workarea (GdkMonitor *monitor,
GdkRectangle *workarea);Retrieves the size and position of the “work area” on a monitor
within the display coordinate space. The returned geometry is in
”application pixels”, not in ”device pixels” (see
gdk_monitor_get_scale_factor()).The work area should be considered when positioning menus and
similar popups, to avoid placing them below panels, docks or other
desktop components.Note that not all backends may have a concept of workarea. This
function will return the monitor geometry if a workarea is not
available, or does not apply.Parametersmonitora GdkMonitorworkareaa GdkRectangle to be filled with
the monitor workarea. [out]gdk_monitor_get_width_mm ()gdk_monitor_get_width_mmint
gdk_monitor_get_width_mm (GdkMonitor *monitor);Gets the width in millimeters of the monitor.Parametersmonitora GdkMonitorReturns the physical width of the monitorgdk_monitor_get_height_mm ()gdk_monitor_get_height_mmint
gdk_monitor_get_height_mm (GdkMonitor *monitor);Gets the height in millimeters of the monitor.Parametersmonitora GdkMonitorReturns the physical height of the monitorgdk_monitor_get_manufacturer ()gdk_monitor_get_manufacturerconst char *
gdk_monitor_get_manufacturer (GdkMonitor *monitor);Gets the name or PNP ID of the monitor's manufacturer, if available.Note that this value might also vary depending on actual
display backend.PNP ID registry is located at https://uefi.org/pnp_id_listParametersmonitora GdkMonitorReturnsthe name of the manufacturer, or NULL. [transfer none][nullable]gdk_monitor_get_model ()gdk_monitor_get_modelconst char *
gdk_monitor_get_model (GdkMonitor *monitor);Gets the a string identifying the monitor model, if available.Parametersmonitora GdkMonitorReturnsthe monitor model, or NULL. [transfer none][nullable]gdk_monitor_get_connector ()gdk_monitor_get_connectorconst char *
gdk_monitor_get_connector (GdkMonitor *monitor);Gets the name of the monitor's connector, if available.Parametersmonitora GdkMonitorReturnsthe name of the connector. [transfer none][nullable]gdk_monitor_get_scale_factor ()gdk_monitor_get_scale_factorint
gdk_monitor_get_scale_factor (GdkMonitor *monitor);Gets the internal scale factor that maps from monitor coordinates
to the actual device pixels. On traditional systems this is 1, but
on very high density outputs this can be a higher value (often 2).This can be used if you want to create pixel based data for a
particular monitor, but most of the time you’re drawing to a surface
where it is better to use gdk_surface_get_scale_factor() instead.Parametersmonitora GdkMonitorReturns the scale factorgdk_monitor_get_refresh_rate ()gdk_monitor_get_refresh_rateint
gdk_monitor_get_refresh_rate (GdkMonitor *monitor);Gets the refresh rate of the monitor, if available.The value is in milli-Hertz, so a refresh rate of 60Hz
is returned as 60000.Parametersmonitora GdkMonitorReturns the refresh rate in milli-Hertz, or 0gdk_monitor_get_subpixel_layout ()gdk_monitor_get_subpixel_layoutGdkSubpixelLayout
gdk_monitor_get_subpixel_layout (GdkMonitor *monitor);Gets information about the layout of red, green and blue
primaries for each pixel in this monitor, if available.Parametersmonitora GdkMonitorReturns the subpixel layoutgdk_monitor_is_valid ()gdk_monitor_is_validgboolean
gdk_monitor_is_valid (GdkMonitor *monitor);Returns TRUE if the monitor
object corresponds to a
physical monitor. The monitor
becomes invalid when the
physical monitor is unplugged or removed.Parametersmonitora GdkMonitorReturnsTRUE if the object corresponds to a physical monitorProperty DetailsThe “connector” propertyGdkMonitor:connector “connector” gchar *The connector name.Owner: GdkMonitorFlags: ReadDefault value: NULLThe “display” propertyGdkMonitor:display “display” GdkDisplay *The display of the monitor.Owner: GdkMonitorFlags: Read / Write / Construct OnlyThe “geometry” propertyGdkMonitor:geometry “geometry” GdkRectangle *The geometry of the monitor.Owner: GdkMonitorFlags: ReadThe “height-mm” propertyGdkMonitor:height-mm “height-mm” gintThe height of the monitor, in millimeters.Owner: GdkMonitorFlags: ReadAllowed values: >= 0Default value: 0The “manufacturer” propertyGdkMonitor:manufacturer “manufacturer” gchar *The manufacturer name.Owner: GdkMonitorFlags: ReadDefault value: NULLThe “model” propertyGdkMonitor:model “model” gchar *The model name.Owner: GdkMonitorFlags: ReadDefault value: NULLThe “refresh-rate” propertyGdkMonitor:refresh-rate “refresh-rate” gintThe refresh rate, in millihertz.Owner: GdkMonitorFlags: ReadAllowed values: >= 0Default value: 0The “scale-factor” propertyGdkMonitor:scale-factor “scale-factor” gintThe scale factor.Owner: GdkMonitorFlags: ReadAllowed values: >= 0Default value: 1The “subpixel-layout” propertyGdkMonitor:subpixel-layout “subpixel-layout” GdkSubpixelLayoutThe subpixel layout.Owner: GdkMonitorFlags: ReadDefault value: GDK_SUBPIXEL_LAYOUT_UNKNOWNThe “valid” propertyGdkMonitor:valid “valid” gbooleanWhether the monitor is still valid.Owner: GdkMonitorFlags: ReadDefault value: TRUEThe “width-mm” propertyGdkMonitor:width-mm “width-mm” gintThe width of the monitor, in millimeters.Owner: GdkMonitorFlags: ReadAllowed values: >= 0Default value: 0The “workarea” propertyGdkMonitor:workarea “workarea” GdkRectangle *The workarea of the monitor.Owner: GdkMonitorFlags: ReadSignal DetailsThe “invalidate” signalGdkMonitor::invalidatevoid
user_function (GdkMonitor *monitor,
gpointer user_data)The ::invalidate signal gets emitted when the output represented
by monitor
gets disconnected.Parametersmonitorthe object on which this signal was emitteduser_datauser data set when the signal handler was connected.Flags: Run First
docs/reference/gdk/xml/gdkcairocontext.xml 0000664 0001750 0001750 00000011373 13617646446 021101 0 ustar mclasen mclasen
]>
GdkCairoContext3GDK4 LibraryGdkCairoContextCairo draw contextFunctionscairo_t *
gdk_cairo_context_cairo_create ()Types and ValuesGdkCairoContextIncludes#include <gdk/gdk.h>
DescriptionGdkCairoContext is an object representing the platform-specific
draw context.GdkCairoContexts are created for a GdkDisplay using
gdk_surface_create_cairo_context(), and the context can then be used
to draw on that GdkSurface.Functionsgdk_cairo_context_cairo_create ()gdk_cairo_context_cairo_createcairo_t *
gdk_cairo_context_cairo_create (GdkCairoContext *self);Retrieves a Cairo context to be used to draw on the GdkSurface
of context
. A call to gdk_draw_context_begin_frame() with this
context
must have been done or this function will return NULL.The returned context is guaranteed to be valid until
gdk_draw_context_end_frame() is called.Parametersselfa GdkCairoContext that is currently drawingReturnsa Cairo context to be used
to draw the contents of the GdkSurface. NULL is returned
when contet
is not drawing. [transfer full][nullable]
docs/reference/gdk/xml/gdkvulkancontext.xml 0000664 0001750 0001750 00000056732 13617646446 021314 0 ustar mclasen mclasen
]>
GdkVulkanContext3GDK4 LibraryGdkVulkanContextVulkan draw contextFunctionsVkDevicegdk_vulkan_context_get_device ()uint32_tgdk_vulkan_context_get_draw_index ()VkSemaphoregdk_vulkan_context_get_draw_semaphore ()VkImagegdk_vulkan_context_get_image ()VkFormatgdk_vulkan_context_get_image_format ()VkInstancegdk_vulkan_context_get_instance ()uint32_tgdk_vulkan_context_get_n_images ()VkPhysicalDevicegdk_vulkan_context_get_physical_device ()VkQueuegdk_vulkan_context_get_queue ()uint32_tgdk_vulkan_context_get_queue_family_index ()Signalsvoidimages-updatedRun LastTypes and ValuesGdkVulkanContextenumGdkVulkanErrorObject Hierarchy GObject
╰── GdkDrawContext
╰── GdkVulkanContext
Implemented Interfaces
GdkVulkanContext implements
GInitable.Includes#include <gdk/gdk.h>
DescriptionGdkVulkanContext is an object representing the platform-specific
Vulkan draw context.GdkVulkanContexts are created for a GdkSurface using
gdk_surface_create_vulkan_context(), and the context will match the
the characteristics of the surface.Support for GdkVulkanContext is platform-specific, context creation
can fail, returning NULL context.Functionsgdk_vulkan_context_get_device ()gdk_vulkan_context_get_deviceVkDevice
gdk_vulkan_context_get_device (GdkVulkanContext *context);Gets the Vulkan device that this context is using.Parameterscontexta GdkVulkanContextReturnsthe VkDevice. [transfer none]gdk_vulkan_context_get_draw_index ()gdk_vulkan_context_get_draw_indexuint32_t
gdk_vulkan_context_get_draw_index (GdkVulkanContext *context);Gets the index of the image that is currently being drawn.This function can only be used between gdk_draw_context_begin_frame() and
gdk_draw_context_end_frame() calls.Parameterscontexta GdkVulkanContextReturns the index of the images that is being drawngdk_vulkan_context_get_draw_semaphore ()gdk_vulkan_context_get_draw_semaphoreVkSemaphore
gdk_vulkan_context_get_draw_semaphore (GdkVulkanContext *context);Gets the Vulkan semaphore that protects access to the image that is
currently being drawn.This function can only be used between gdk_draw_context_begin_frame() and
gdk_draw_context_end_frame() calls.Parameterscontexta GdkVulkanContextReturnsthe VkSemaphore. [transfer none]gdk_vulkan_context_get_image ()gdk_vulkan_context_get_imageVkImage
gdk_vulkan_context_get_image (GdkVulkanContext *context,
guint id);Gets the image with index id
that this context is using.Parameterscontexta GdkVulkanContextidthe index of the image to returnReturnsthe VkImage. [transfer none]gdk_vulkan_context_get_image_format ()gdk_vulkan_context_get_image_formatVkFormat
gdk_vulkan_context_get_image_format (GdkVulkanContext *context);Gets the image format that this context is using.Parameterscontexta GdkVulkanContextReturnsthe VkFormat. [transfer none]gdk_vulkan_context_get_instance ()gdk_vulkan_context_get_instanceVkInstance
gdk_vulkan_context_get_instance (GdkVulkanContext *context);Gets the Vulkan instance that is associated with context
.Parameterscontexta GdkVulkanContextReturnsthe VkInstance. [transfer none]gdk_vulkan_context_get_n_images ()gdk_vulkan_context_get_n_imagesuint32_t
gdk_vulkan_context_get_n_images (GdkVulkanContext *context);Gets the number of images that this context is using in its swap chain.Parameterscontexta GdkVulkanContextReturns the number of imagesgdk_vulkan_context_get_physical_device ()gdk_vulkan_context_get_physical_deviceVkPhysicalDevice
gdk_vulkan_context_get_physical_device
(GdkVulkanContext *context);Gets the Vulkan physical device that this context is using.Parameterscontexta GdkVulkanContextReturnsthe VkPhysicalDevice. [transfer none]gdk_vulkan_context_get_queue ()gdk_vulkan_context_get_queueVkQueue
gdk_vulkan_context_get_queue (GdkVulkanContext *context);Gets the Vulkan queue that this context is using.Parameterscontexta GdkVulkanContextReturnsthe VkQueue. [transfer none]gdk_vulkan_context_get_queue_family_index ()gdk_vulkan_context_get_queue_family_indexuint32_t
gdk_vulkan_context_get_queue_family_index
(GdkVulkanContext *context);Gets the family index for the queue that this context is using.
See vkGetPhysicalDeviceQueueFamilyProperties().Parameterscontexta GdkVulkanContextReturns the indexSignal DetailsThe “images-updated” signalGdkVulkanContext::images-updatedvoid
user_function (GdkVulkanContext *context,
gpointer user_data)This signal is emitted when the images managed by this context have
changed. Usually this means that the swapchain had to be recreated,
for example in response to a change of the surface size.Parameterscontextthe object on which the signal is emitteduser_datauser data set when the signal handler was connected.Flags: Run Last
docs/reference/gdk/xml/gdkclipboard.xml 0000664 0001750 0001750 00000171612 13617646446 020341 0 ustar mclasen mclasen
]>
Clipboards3GDK4 LibraryClipboardsShare data between applications for Copy-and-PasteFunctionsGdkDisplay *
gdk_clipboard_get_display ()GdkContentFormats *
gdk_clipboard_get_formats ()gbooleangdk_clipboard_is_local ()GdkContentProvider *
gdk_clipboard_get_content ()voidgdk_clipboard_store_async ()gbooleangdk_clipboard_store_finish ()voidgdk_clipboard_read_async ()GInputStream *
gdk_clipboard_read_finish ()voidgdk_clipboard_read_value_async ()const GValue *
gdk_clipboard_read_value_finish ()voidgdk_clipboard_read_texture_async ()GdkTexture *
gdk_clipboard_read_texture_finish ()voidgdk_clipboard_read_text_async ()char *
gdk_clipboard_read_text_finish ()gbooleangdk_clipboard_set_content ()voidgdk_clipboard_set ()voidgdk_clipboard_set_valist ()voidgdk_clipboard_set_value ()voidgdk_clipboard_set_text ()voidgdk_clipboard_set_texture ()PropertiesGdkContentProvider *contentReadGdkDisplay *displayRead / Write / Construct OnlyGdkContentFormats *formatsReadgbooleanlocalReadSignalsvoidchangedRun LastTypes and ValuesGdkClipboardObject Hierarchy GObject
╰── GdkClipboard
Includes#include <gdk/gdk.h>
DescriptionThe GdkClipboard object represents a clipboard of data shared
between different applications or between different parts of
the same application.To get a GdkClipboard object, use gdk_display_get_clipboard() or
gdk_display_get_primary_clipboard(). You can find out about the data that
is currently available in a clipboard using gdk_clipboard_get_formats().To make text or image data available in a clipboard, use gdk_clipboard_set_text() or
gdk_clipboard_set_texture(). For other data, you can use gdk_clipboard_set_content(),
which takes a GdkContentProvider object.To read textual or image data from a clipboard, use gdk_clipboard_read_text_async() or
gdk_clipboard_read_texture_async(). For other data, use gdk_clipboard_read_async(),
which provides a GInputStream object.Functionsgdk_clipboard_get_display ()gdk_clipboard_get_displayGdkDisplay *
gdk_clipboard_get_display (GdkClipboard *clipboard);Gets the GdkDisplay that the clipboard was created for.Parametersclipboarda GdkClipboardReturnsa GdkDisplay. [transfer none]gdk_clipboard_get_formats ()gdk_clipboard_get_formatsGdkContentFormats *
gdk_clipboard_get_formats (GdkClipboard *clipboard);Gets the formats that the clipboard can provide its current contents in.Parametersclipboarda GdkClipboardReturnsThe formats of the clipboard. [transfer none]gdk_clipboard_is_local ()gdk_clipboard_is_localgboolean
gdk_clipboard_is_local (GdkClipboard *clipboard);Returns if the clipboard is local. A clipboard is considered local if it was
last claimed by the running application.Note that gdk_clipboard_get_content() may return NULL even on a local
clipboard. In this case the clipboard is empty.Parametersclipboarda GdkClipboardReturnsTRUE if the clipboard is localgdk_clipboard_get_content ()gdk_clipboard_get_contentGdkContentProvider *
gdk_clipboard_get_content (GdkClipboard *clipboard);Returns the GdkContentProvider currently set on clipboard
. If the
clipboard
is empty or its contents are not owned by the current process,
NULL will be returned.Parametersclipboarda GdkClipboardReturnsThe content of a clipboard or NULL
if the clipboard does not maintain any content. [transfer none][nullable]gdk_clipboard_store_async ()gdk_clipboard_store_asyncvoid
gdk_clipboard_store_async (GdkClipboard *clipboard,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Asynchronously instructs the clipboard
to store its contents remotely to
preserve them for later usage. If the clipboard is not local, this function
does nothing but report success.This function is called automatically when gtk_main() or GtkApplication
exit, so you likely don't need to call it.Parametersclipboarda GdkClipboardio_prioritythe I/O priority
of the request. cancellableoptional GCancellable object, NULL to ignore. [nullable]callbackcallback to call when the request is satisfied. [scope async]user_datathe data to pass to callback function. [closure]gdk_clipboard_store_finish ()gdk_clipboard_store_finishgboolean
gdk_clipboard_store_finish (GdkClipboard *clipboard,
GAsyncResult *result,
GError **error);Finishes an asynchronous clipboard store started with gdk_clipboard_store_async().Parametersclipboarda GdkClipboardresulta GAsyncResulterrora GError location to store the error occurring, or NULL to
ignore.ReturnsTRUE if storing was successful.gdk_clipboard_read_async ()gdk_clipboard_read_asyncvoid
gdk_clipboard_read_async (GdkClipboard *clipboard,
const char **mime_types,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Asynchronously requests an input stream to read the clipboard
's
contents from. When the operation is finished callback
will be called.
You can then call gdk_clipboard_read_finish() to get the result of the
operation.The clipboard will choose the most suitable mime type from the given list
to fulfill the request, preferring the ones listed first.Parametersclipboarda GdkClipboardmime_typesa NULL-terminated array of mime types to choose fromio_prioritythe I/O priority
of the request. cancellableoptional GCancellable object, NULL to ignore. [nullable]callbackcallback to call when the request is satisfied. [scope async]user_datathe data to pass to callback function. [closure]gdk_clipboard_read_finish ()gdk_clipboard_read_finishGInputStream *
gdk_clipboard_read_finish (GdkClipboard *clipboard,
GAsyncResult *result,
const char **out_mime_type,
GError **error);Finishes an asynchronous clipboard read started with gdk_clipboard_read_async().Parametersclipboarda GdkClipboardresulta GAsyncResultout_mime_typepointer to store
the chosen mime type in or NULL. [out][allow-none][transfer none]errora GError location to store the error occurring, or NULL to
ignore.Returnsa GInputStream or NULL on error. [transfer full]gdk_clipboard_read_value_async ()gdk_clipboard_read_value_asyncvoid
gdk_clipboard_read_value_async (GdkClipboard *clipboard,
GType type,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Asynchronously request the clipboard
contents converted to the given
type
. When the operation is finished callback
will be called.
You can then call gdk_clipboard_read_value_finish() to get the resulting
GValue.For local clipboard contents that are available in the given GType, the
value will be copied directly. Otherwise, GDK will try to use
gdk_content_deserialize_async() to convert the clipboard's data.Parametersclipboarda GdkClipboardtypea GType to readio_prioritythe I/O priority
of the request. cancellableoptional GCancellable object, NULL to ignore. [nullable]callbackcallback to call when the request is satisfied. [scope async]user_datathe data to pass to callback function. [closure]gdk_clipboard_read_value_finish ()gdk_clipboard_read_value_finishconst GValue *
gdk_clipboard_read_value_finish (GdkClipboard *clipboard,
GAsyncResult *result,
GError **error);Finishes an asynchronous clipboard read started with
gdk_clipboard_read_value_async().Parametersclipboarda GdkClipboardresulta GAsyncResulterrora GError location to store the error occurring, or NULL to
ignore.Returnsa GValue containing the result. [transfer none]gdk_clipboard_read_texture_async ()gdk_clipboard_read_texture_asyncvoid
gdk_clipboard_read_texture_async (GdkClipboard *clipboard,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Asynchronously request the clipboard
contents converted to a GdkPixbuf.
When the operation is finished callback
will be called. You can then
call gdk_clipboard_read_texture_finish() to get the result.This is a simple wrapper around gdk_clipboard_read_value_async(). Use
that function or gdk_clipboard_read_async() directly if you need more
control over the operation.Parametersclipboarda GdkClipboardcancellableoptional GCancellable object, NULL to ignore. [nullable]callbackcallback to call when the request is satisfied. [scope async]user_datathe data to pass to callback function. [closure]gdk_clipboard_read_texture_finish ()gdk_clipboard_read_texture_finishGdkTexture *
gdk_clipboard_read_texture_finish (GdkClipboard *clipboard,
GAsyncResult *result,
GError **error);Finishes an asynchronous clipboard read started with
gdk_clipboard_read_texture_async().Parametersclipboarda GdkClipboardresulta GAsyncResulterrora GError location to store the error occurring, or NULL to
ignore.Returnsa new GdkTexture or NULL on error. [transfer full][nullable]gdk_clipboard_read_text_async ()gdk_clipboard_read_text_asyncvoid
gdk_clipboard_read_text_async (GdkClipboard *clipboard,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Asynchronously request the clipboard
contents converted to a string.
When the operation is finished callback
will be called. You can then
call gdk_clipboard_read_text_finish() to get the result.This is a simple wrapper around gdk_clipboard_read_value_async(). Use
that function or gdk_clipboard_read_async() directly if you need more
control over the operation.Parametersclipboarda GdkClipboardcancellableoptional GCancellable object, NULL to ignore. [nullable]callbackcallback to call when the request is satisfied. [scope async]user_datathe data to pass to callback function. [closure]gdk_clipboard_read_text_finish ()gdk_clipboard_read_text_finishchar *
gdk_clipboard_read_text_finish (GdkClipboard *clipboard,
GAsyncResult *result,
GError **error);Finishes an asynchronous clipboard read started with
gdk_clipboard_read_text_async().Parametersclipboarda GdkClipboardresulta GAsyncResulterrora GError location to store the error occurring, or NULL to
ignore.Returnsa new string or NULL on error. [transfer full][nullable]gdk_clipboard_set_content ()gdk_clipboard_set_contentgboolean
gdk_clipboard_set_content (GdkClipboard *clipboard,
GdkContentProvider *provider);Sets a new content provider on clipboard
. The clipboard will claim the
GdkDisplay's resources and advertise these new contents to other
applications.In the rare case of a failure, this function will return FALSE. The
clipboard will then continue reporting its old contents and ignore
provider
.If the contents are read by either an external application or the
clipboard
's read functions, clipboard
will select the best format to
transfer the contents and then request that format from provider
.Parametersclipboarda GdkClipboardproviderthe new contents of clipboard
or
NULL to clear the clipboard. [transfer none][allow-none]ReturnsTRUE if setting the clipboard succeededgdk_clipboard_set ()gdk_clipboard_setvoid
gdk_clipboard_set (GdkClipboard *clipboard,
GType type,
...);Sets the clipboard to contain the value collected from the given
varargs.Parametersclipboarda GdkClipboardtypetype of value to set...value contents conforming to typegdk_clipboard_set_valist ()gdk_clipboard_set_valistvoid
gdk_clipboard_set_valist (GdkClipboard *clipboard,
GType type,
va_list args);Sets the clipboard to contain the value collected from the given
args
.[skip]Parametersclipboarda GdkClipboardtypetype of value to setargsvarargs containing the value of typegdk_clipboard_set_value ()gdk_clipboard_set_valuevoid
gdk_clipboard_set_value (GdkClipboard *clipboard,
const GValue *value);Sets the clipboard
to contain the given value
.[rename-to gdk_clipboard_set]Parametersclipboarda GdkClipboardvaluea GValue to setgdk_clipboard_set_text ()gdk_clipboard_set_textvoid
gdk_clipboard_set_text (GdkClipboard *clipboard,
const char *text);Puts the given text
into the clipboard.[skip]Parametersclipboarda GdkClipboardtextText to put into the clipboardgdk_clipboard_set_texture ()gdk_clipboard_set_texturevoid
gdk_clipboard_set_texture (GdkClipboard *clipboard,
GdkTexture *texture);Puts the given texture
into the clipboard.[skip]Parametersclipboarda GdkClipboardtexturea GdkTexture to put into the clipboardProperty DetailsThe “content” propertyGdkClipboard:content “content” GdkContentProvider *The GdkContentProvider or NULL if the clipboard is empty or contents are
provided otherwise.Owner: GdkClipboardFlags: ReadThe “display” propertyGdkClipboard:display “display” GdkDisplay *The GdkDisplay that the clipboard belongs to.Owner: GdkClipboardFlags: Read / Write / Construct OnlyThe “formats” propertyGdkClipboard:formats “formats” GdkContentFormats *The possible formats that the clipboard can provide its data in.Owner: GdkClipboardFlags: ReadThe “local” propertyGdkClipboard:local “local” gbooleanTRUE if the contents of the clipboard are owned by this process.Owner: GdkClipboardFlags: ReadDefault value: TRUESignal DetailsThe “changed” signalGdkClipboard::changedvoid
user_function (GdkClipboard *clipboard,
gpointer user_data)The ::changed signal is emitted when the clipboard changes ownership.Parametersclipboardthe object on which the signal was emitteduser_datauser data set when the signal handler was connected.Flags: Run LastSee AlsoGdkContentProvider, GdkContentFormats
docs/reference/gdk/xml/gdkcontentserializer.xml 0000664 0001750 0001750 00000102376 13617646446 022147 0 ustar mclasen mclasen
]>
GdkContentSerializer3GDK4 LibraryGdkContentSerializerSerialize content for transferFunctionsvoid(*GdkContentSerializeFunc)()const char *
gdk_content_serializer_get_mime_type ()GTypegdk_content_serializer_get_gtype ()const GValue *
gdk_content_serializer_get_value ()GOutputStream *
gdk_content_serializer_get_output_stream ()intgdk_content_serializer_get_priority ()GCancellable *
gdk_content_serializer_get_cancellable ()gpointergdk_content_serializer_get_user_data ()voidgdk_content_serializer_set_task_data ()gpointergdk_content_serializer_get_task_data ()voidgdk_content_serializer_return_success ()voidgdk_content_serializer_return_error ()voidgdk_content_register_serializer ()voidgdk_content_serialize_async ()gbooleangdk_content_serialize_finish ()Types and ValuesGdkContentSerializerObject Hierarchy GObject
╰── GdkContentSerializer
Implemented Interfaces
GdkContentSerializer implements
GAsyncResult.Includes#include <gdk/gdk.h>
DescriptionA GdkContentSerializer is used to serialize content for inter-application
data transfers.FunctionsGdkContentSerializeFunc ()GdkContentSerializeFuncvoid(*GdkContentSerializeFunc) (GdkContentSerializer *serializer);The type of a function that can be registered with gdk_content_register_serializer().
When the function gets called to operate on content, it can call functions on the
serializer
object to obtain the mime type, output stream, user data, etc. for its
operation.Parametersserializera GdkContentSerializergdk_content_serializer_get_mime_type ()gdk_content_serializer_get_mime_typeconst char *
gdk_content_serializer_get_mime_type (GdkContentSerializer *serializer);Gets the mime type to serialize to.Parametersserializera GdkContentSerializerReturnsthe mime type for the current operation. [transfer none]gdk_content_serializer_get_gtype ()gdk_content_serializer_get_gtypeGType
gdk_content_serializer_get_gtype (GdkContentSerializer *serializer);Gets the GType to of the object to serialize.Parametersserializera GdkContentSerializerReturns the GType for the current operationgdk_content_serializer_get_value ()gdk_content_serializer_get_valueconst GValue *
gdk_content_serializer_get_value (GdkContentSerializer *serializer);Gets the GValue to read the object to serialize from.Parametersserializera GdkContentSerializerReturnsthe GValue for the current operation. [transfer none]gdk_content_serializer_get_output_stream ()gdk_content_serializer_get_output_streamGOutputStream *
gdk_content_serializer_get_output_stream
(GdkContentSerializer *serializer);Gets the output stream that was passed to gdk_content_serialize_async().Parametersserializera GdkContentSerializerReturnsthe output stream for the current operation. [transfer none]gdk_content_serializer_get_priority ()gdk_content_serializer_get_priorityint
gdk_content_serializer_get_priority (GdkContentSerializer *serializer);Gets the io priority that was passed to gdk_content_serialize_async().Parametersserializera GdkContentSerializerReturns the io priority for the current operationgdk_content_serializer_get_cancellable ()gdk_content_serializer_get_cancellableGCancellable *
gdk_content_serializer_get_cancellable
(GdkContentSerializer *serializer);Gets the cancellable that was passed to gdk_content_serialize_async().Parametersserializera GdkContentSerializerReturnsthe cancellable for the current operation. [transfer none]gdk_content_serializer_get_user_data ()gdk_content_serializer_get_user_datagpointer
gdk_content_serializer_get_user_data (GdkContentSerializer *serializer);Gets the user data that was passed when the serializer was registered.Parametersserializera GdkContentSerializerReturnsthe user data for this serializer. [transfer none]gdk_content_serializer_set_task_data ()gdk_content_serializer_set_task_datavoid
gdk_content_serializer_set_task_data (GdkContentSerializer *serializer,
gpointer data,
GDestroyNotify notify);Associate data with the current serialization operation.Parametersserializera GdkContentSerializerdatadata to associate with this operationnotifydestroy notify for datagdk_content_serializer_get_task_data ()gdk_content_serializer_get_task_datagpointer
gdk_content_serializer_get_task_data (GdkContentSerializer *serializer);Gets the data that was associated with serializer
via gdk_content_serializer_set_task_data().Parametersserializera GdkContentSerializerReturnsthe task data for serializer
. [transfer none]gdk_content_serializer_return_success ()gdk_content_serializer_return_successvoid
gdk_content_serializer_return_success (GdkContentSerializer *serializer);Indicate that the serialization has been successfully completed.Parametersserializera GdkContentSerializergdk_content_serializer_return_error ()gdk_content_serializer_return_errorvoid
gdk_content_serializer_return_error (GdkContentSerializer *serializer,
GError *error);Indicate that the serialization has ended with an error.
This function consumes error
.Parametersserializera GdkContentSerializererrora GErrorgdk_content_register_serializer ()gdk_content_register_serializervoid
gdk_content_register_serializer (GType type,
const char *mime_type,
GdkContentSerializeFunc serialize,
gpointer data,
GDestroyNotify notify);Registers a function to convert objects of the given type
to
a serialized representation with the given mime type.Parameterstypethe type of objects that the function can serializemime_typethe mime type to serialize toserializethe callbackdatadata that serialize
can accessnotifydestroy notify for datagdk_content_serialize_async ()gdk_content_serialize_asyncvoid
gdk_content_serialize_async (GOutputStream *stream,
const char *mime_type,
const GValue *value,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Serialize content and write it to the given output stream, asynchronously.
When the operation is finished, callback
will be called. You can then
call gdk_content_serialize_finish() to get the result of the operation.Parametersstreama GOutputStream to write the serialized content tomime_typethe mime type to serialize tovaluethe content to serializeio_prioritythe io priority of the operationcancellableoptional GCancellable object. [nullable]callbackcallback to call when the operation is done. [scope async]user_datadata to pass to the callback function. [closure]gdk_content_serialize_finish ()gdk_content_serialize_finishgboolean
gdk_content_serialize_finish (GAsyncResult *result,
GError **error);Finishes a content serialization operation.Parametersresultthe GAsyncResulterrorreturn location for an errorReturnsTRUE if the operation was successful, FALSE if an
error occurred. In this case, error
is setSee AlsoGdkContentDeserializer, GdkContentProvider
docs/reference/gdk/xml/gdkcontentdeserializer.xml 0000664 0001750 0001750 00000104270 13617646446 022453 0 ustar mclasen mclasen
]>
GdkContentDeserializer3GDK4 LibraryGdkContentDeserializerDeserialize content for transferFunctionsvoid(*GdkContentDeserializeFunc)()const char *
gdk_content_deserializer_get_mime_type ()GTypegdk_content_deserializer_get_gtype ()GValue *
gdk_content_deserializer_get_value ()GInputStream *
gdk_content_deserializer_get_input_stream ()intgdk_content_deserializer_get_priority ()GCancellable *
gdk_content_deserializer_get_cancellable ()gpointergdk_content_deserializer_get_user_data ()voidgdk_content_deserializer_set_task_data ()gpointergdk_content_deserializer_get_task_data ()voidgdk_content_deserializer_return_success ()voidgdk_content_deserializer_return_error ()voidgdk_content_register_deserializer ()voidgdk_content_deserialize_async ()gbooleangdk_content_deserialize_finish ()Types and ValuesGdkContentDeserializerObject Hierarchy GObject
╰── GdkContentDeserializer
Implemented Interfaces
GdkContentDeserializer implements
GAsyncResult.Includes#include <gdk/gdk.h>
DescriptionA GdkContentDeserializer is used to deserialize content received via
inter-application data transfers.FunctionsGdkContentDeserializeFunc ()GdkContentDeserializeFuncvoid(*GdkContentDeserializeFunc) (GdkContentDeserializer *deserializer);The type of a function that can be registered with gdk_content_register_deserializer().
When the function gets called to operate on content, it can call functions on the
deserializer
object to obtain the mime type, input stream, user data, etc. for its
operation.Parametersdeserializera GdkContentDeserializergdk_content_deserializer_get_mime_type ()gdk_content_deserializer_get_mime_typeconst char *
gdk_content_deserializer_get_mime_type
(GdkContentDeserializer *deserializer);Gets the mime type to deserialize from.Parametersdeserializera GdkContentDeserializerReturnsthe mime type for the current operation. [transfer none]gdk_content_deserializer_get_gtype ()gdk_content_deserializer_get_gtypeGType
gdk_content_deserializer_get_gtype (GdkContentDeserializer *deserializer);Gets the GType to create an instance of.Parametersdeserializera GdkContentDeserializerReturns the GType for the current operationgdk_content_deserializer_get_value ()gdk_content_deserializer_get_valueGValue *
gdk_content_deserializer_get_value (GdkContentDeserializer *deserializer);Gets the GValue to store the deserialized object in.Parametersdeserializera GdkContentDeserializerReturnsthe GValue for the current operation. [transfer none]gdk_content_deserializer_get_input_stream ()gdk_content_deserializer_get_input_streamGInputStream *
gdk_content_deserializer_get_input_stream
(GdkContentDeserializer *deserializer);Gets the input stream that was passed to gdk_content_deserialize_async().Parametersdeserializera GdkContentDeserializerReturnsthe input stream for the current operation. [transfer none]gdk_content_deserializer_get_priority ()gdk_content_deserializer_get_priorityint
gdk_content_deserializer_get_priority (GdkContentDeserializer *deserializer);Gets the io priority that was passed to gdk_content_deserialize_async().Parametersdeserializera GdkContentDeserializerReturns the io priority for the current operationgdk_content_deserializer_get_cancellable ()gdk_content_deserializer_get_cancellableGCancellable *
gdk_content_deserializer_get_cancellable
(GdkContentDeserializer *deserializer);Gets the cancellable that was passed to gdk_content_deserialize_async().Parametersdeserializera GdkContentDeserializerReturnsthe cancellable for the current operation. [transfer none]gdk_content_deserializer_get_user_data ()gdk_content_deserializer_get_user_datagpointer
gdk_content_deserializer_get_user_data
(GdkContentDeserializer *deserializer);Gets the user data that was passed when the deserializer was registered.Parametersdeserializera GdkContentDeserializerReturnsthe user data for this deserializer. [transfer none]gdk_content_deserializer_set_task_data ()gdk_content_deserializer_set_task_datavoid
gdk_content_deserializer_set_task_data
(GdkContentDeserializer *deserializer,
gpointer data,
GDestroyNotify notify);Associate data with the current deserialization operation.Parametersdeserializera GdkContentDeserializerdatadata to associate with this operationnotifydestroy notify for datagdk_content_deserializer_get_task_data ()gdk_content_deserializer_get_task_datagpointer
gdk_content_deserializer_get_task_data
(GdkContentDeserializer *deserializer);Gets the data that was associated with deserializer
via gdk_content_deserializer_set_task_data().Parametersdeserializera GdkContentDeserializerReturnsthe task data for deserializer
. [transfer none]gdk_content_deserializer_return_success ()gdk_content_deserializer_return_successvoid
gdk_content_deserializer_return_success
(GdkContentDeserializer *deserializer);Indicate that the deserialization has been successfully completed.Parametersdeserializera GdkContentDeserializergdk_content_deserializer_return_error ()gdk_content_deserializer_return_errorvoid
gdk_content_deserializer_return_error (GdkContentDeserializer *deserializer,
GError *error);Indicate that the deserialization has ended with an error.
This function consumes error
.Parametersdeserializera GdkContentDeserializererrora GErrorgdk_content_register_deserializer ()gdk_content_register_deserializervoid
gdk_content_register_deserializer (const char *mime_type,
GType type,
GdkContentDeserializeFunc deserialize,
gpointer data,
GDestroyNotify notify);Registers a function to create objects of a given type
from
a serialized representation with the given mime type.Parametersmime_typethe mime type which the function can deserialize fromtypethe type of objects that the function createsdeserializethe callbackdatadata that deserialize
can accessnotifydestroy notify for datagdk_content_deserialize_async ()gdk_content_deserialize_asyncvoid
gdk_content_deserialize_async (GInputStream *stream,
const char *mime_type,
GType type,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Read content from the given input stream and deserialize it, asynchronously.
When the operation is finished, callback
will be called. You can then
call gdk_content_deserialize_finish() to get the result of the operation.Parametersstreama GInputStream to read the serialized content frommime_typethe mime type to deserialize fromtypethe GType to deserialize fromio_prioritythe io priority of the operationcancellableoptional GCancellable object. [nullable]callbackcallback to call when the operation is done. [scope async]user_datadata to pass to the callback function. [closure]gdk_content_deserialize_finish ()gdk_content_deserialize_finishgboolean
gdk_content_deserialize_finish (GAsyncResult *result,
GValue *value,
GError **error);Finishes a content deserialization operation.Parametersresultthe GAsyncResultvaluereturn location for the result of the operationerrorreturn location for an errorReturnsTRUE if the operation was successful. In this case, value
is set.
FALSE if an error occurred. In this case, error
is setSee AlsoGdkContentSerializer
docs/reference/gdk/xml/gdk4-doc.top 0000664 0001750 0001750 00000000000 13617646446 017270 0 ustar mclasen mclasen docs/reference/gdk/xml/gdk4-doc.bottom 0000664 0001750 0001750 00000003044 13617646446 020005 0 ustar mclasen mclasen
docs/reference/gdk/xml/tree_index.sgml 0000664 0001750 0001750 00000006632 13617646446 020203 0 ustar mclasen mclasen
]>
GObject
├── GAppLaunchContext
│╰── GdkAppLaunchContext
├── GdkClipboard
├── GdkContentDeserializer
├── GdkContentProvider
├── GdkContentSerializer
├── GdkCursor
├── GdkDevice
├── GdkDisplay
├── GdkDisplayManager
├── GdkDrag
├── GdkDrop
├── GdkEvent
├── GdkFrameClock
├── GdkDrawContext
│├── GdkGLContext
│╰── GdkVulkanContext
├── GdkTexture
├── GdkKeymap
├── GdkMonitor
├── GdkSeat
╰── GdkSurface
GInterface
├── GdkDevicePad
╰── GdkPaintable
GBoxed
├── GdkContentFormats
├── GdkRGBA
╰── GdkRectangle
docs/reference/gdk/xml/object_index.sgml 0000664 0001750 0001750 00000004731 13617646446 020510 0 ustar mclasen mclasen
]>
GAppLaunchContextGBoxedGInterfaceGObjectGdkAppLaunchContextGdkClipboardGdkContentDeserializerGdkContentFormatsGdkContentProviderGdkContentSerializerGdkCursorGdkDeviceGdkDevicePadGdkDisplayGdkDisplayManagerGdkDragGdkDrawContextGdkDropGdkEventGdkFrameClockGdkGLContextGdkKeymapGdkMonitorGdkPaintableGdkRGBAGdkRectangleGdkSeatGdkSurfaceGdkTextureGdkVulkanContext
docs/reference/gdk/xml/api-index-full.xml 0000664 0001750 0001750 00000503243 13617646446 020531 0 ustar mclasen mclasen
]>
AGDK_ACTION_ALL, macro in Drag and DropGdkAnchorHints, enum in GdkSurfaceGdkAppLaunchContext, struct in Application launchingGdkAppLaunchContext:display, object property in Application launchinggdk_app_launch_context_set_desktop, function in Application launchinggdk_app_launch_context_set_icon, function in Application launchinggdk_app_launch_context_set_icon_name, function in Application launchinggdk_app_launch_context_set_timestamp, function in Application launchingGdkAtom, typedef in Properties and AtomsGdkAxisFlags, enum in GdkDeviceGdkAxisUse, enum in GdkDeviceBGDK_BUTTON_MIDDLE, macro in EventsGDK_BUTTON_PRIMARY, macro in EventsGDK_BUTTON_SECONDARY, macro in EventsCGdkCairoContext, struct in GdkCairoContextgdk_cairo_context_cairo_create, function in GdkCairoContextgdk_cairo_draw_from_gl, function in Cairo Interactiongdk_cairo_get_clip_rectangle, function in Cairo Interactiongdk_cairo_rectangle, function in Cairo Interactiongdk_cairo_region, function in Cairo Interactiongdk_cairo_region_create_from_surface, function in Cairo Interactiongdk_cairo_set_source_pixbuf, function in Cairo Interactiongdk_cairo_set_source_rgba, function in Cairo Interactiongdk_cairo_surface_upload_to_gl, function in Cairo InteractionGdkClipboard, struct in ClipboardsGdkClipboard::changed, object signal in ClipboardsGdkClipboard:content, object property in ClipboardsGdkClipboard:display, object property in ClipboardsGdkClipboard:formats, object property in ClipboardsGdkClipboard:local, object property in Clipboardsgdk_clipboard_get_content, function in Clipboardsgdk_clipboard_get_display, function in Clipboardsgdk_clipboard_get_formats, function in Clipboardsgdk_clipboard_is_local, function in Clipboardsgdk_clipboard_read_async, function in Clipboardsgdk_clipboard_read_finish, function in Clipboardsgdk_clipboard_read_texture_async, function in Clipboardsgdk_clipboard_read_texture_finish, function in Clipboardsgdk_clipboard_read_text_async, function in Clipboardsgdk_clipboard_read_text_finish, function in Clipboardsgdk_clipboard_read_value_async, function in Clipboardsgdk_clipboard_read_value_finish, function in Clipboardsgdk_clipboard_set, function in Clipboardsgdk_clipboard_set_content, function in Clipboardsgdk_clipboard_set_text, function in Clipboardsgdk_clipboard_set_texture, function in Clipboardsgdk_clipboard_set_valist, function in Clipboardsgdk_clipboard_set_value, function in Clipboardsgdk_clipboard_store_async, function in Clipboardsgdk_clipboard_store_finish, function in ClipboardsGdkContentDeserializeFunc, user_function in GdkContentDeserializerGdkContentDeserializer, struct in GdkContentDeserializerGdkContentFormats, struct in Content FormatsGdkContentFormatsBuilder, struct in Content FormatsGdkContentProvider, struct in GdkContentProviderGdkContentProvider::content-changed, object signal in GdkContentProviderGdkContentProvider:formats, object property in GdkContentProviderGdkContentProvider:storable-formats, object property in GdkContentProviderGdkContentProviderClass, struct in GdkContentProviderGdkContentSerializeFunc, user_function in GdkContentSerializerGdkContentSerializer, struct in GdkContentSerializergdk_content_deserializer_get_cancellable, function in GdkContentDeserializergdk_content_deserializer_get_gtype, function in GdkContentDeserializergdk_content_deserializer_get_input_stream, function in GdkContentDeserializergdk_content_deserializer_get_mime_type, function in GdkContentDeserializergdk_content_deserializer_get_priority, function in GdkContentDeserializergdk_content_deserializer_get_task_data, function in GdkContentDeserializergdk_content_deserializer_get_user_data, function in GdkContentDeserializergdk_content_deserializer_get_value, function in GdkContentDeserializergdk_content_deserializer_return_error, function in GdkContentDeserializergdk_content_deserializer_return_success, function in GdkContentDeserializergdk_content_deserializer_set_task_data, function in GdkContentDeserializergdk_content_deserialize_async, function in GdkContentDeserializergdk_content_deserialize_finish, function in GdkContentDeserializergdk_content_formats_builder_add_formats, function in Content Formatsgdk_content_formats_builder_add_gtype, function in Content Formatsgdk_content_formats_builder_add_mime_type, function in Content Formatsgdk_content_formats_builder_free_to_formats, function in Content Formatsgdk_content_formats_builder_new, function in Content Formatsgdk_content_formats_builder_ref, function in Content Formatsgdk_content_formats_builder_to_formats, function in Content Formatsgdk_content_formats_builder_unref, function in Content Formatsgdk_content_formats_contain_gtype, function in Content Formatsgdk_content_formats_contain_mime_type, function in Content Formatsgdk_content_formats_get_gtypes, function in Content Formatsgdk_content_formats_get_mime_types, function in Content Formatsgdk_content_formats_match, function in Content Formatsgdk_content_formats_match_gtype, function in Content Formatsgdk_content_formats_match_mime_type, function in Content Formatsgdk_content_formats_new, function in Content Formatsgdk_content_formats_new_for_gtype, function in Content Formatsgdk_content_formats_print, function in Content Formatsgdk_content_formats_ref, function in Content Formatsgdk_content_formats_to_string, function in Content Formatsgdk_content_formats_union, function in Content Formatsgdk_content_formats_union_deserialize_gtypes, function in Content Formatsgdk_content_formats_union_deserialize_mime_types, function in Content Formatsgdk_content_formats_union_serialize_gtypes, function in Content Formatsgdk_content_formats_union_serialize_mime_types, function in Content Formatsgdk_content_formats_unref, function in Content Formatsgdk_content_provider_content_changed, function in GdkContentProvidergdk_content_provider_get_value, function in GdkContentProvidergdk_content_provider_new_for_bytes, function in GdkContentProvidergdk_content_provider_new_for_value, function in GdkContentProvidergdk_content_provider_ref_formats, function in GdkContentProvidergdk_content_provider_ref_storable_formats, function in GdkContentProvidergdk_content_provider_write_mime_type_async, function in GdkContentProvidergdk_content_provider_write_mime_type_finish, function in GdkContentProvidergdk_content_register_deserializer, function in GdkContentDeserializergdk_content_register_serializer, function in GdkContentSerializergdk_content_serializer_get_cancellable, function in GdkContentSerializergdk_content_serializer_get_gtype, function in GdkContentSerializergdk_content_serializer_get_mime_type, function in GdkContentSerializergdk_content_serializer_get_output_stream, function in GdkContentSerializergdk_content_serializer_get_priority, function in GdkContentSerializergdk_content_serializer_get_task_data, function in GdkContentSerializergdk_content_serializer_get_user_data, function in GdkContentSerializergdk_content_serializer_get_value, function in GdkContentSerializergdk_content_serializer_return_error, function in GdkContentSerializergdk_content_serializer_return_success, function in GdkContentSerializergdk_content_serializer_set_task_data, function in GdkContentSerializergdk_content_serialize_async, function in GdkContentSerializergdk_content_serialize_finish, function in GdkContentSerializerGdkCrossingMode, enum in EventsGDK_CURRENT_TIME, macro in EventsGdkCursor, struct in CursorsGdkCursor:fallback, object property in CursorsGdkCursor:hotspot-x, object property in CursorsGdkCursor:hotspot-y, object property in CursorsGdkCursor:name, object property in CursorsGdkCursor:texture, object property in Cursorsgdk_cursor_get_fallback, function in Cursorsgdk_cursor_get_hotspot_x, function in Cursorsgdk_cursor_get_hotspot_y, function in Cursorsgdk_cursor_get_name, function in Cursorsgdk_cursor_get_texture, function in Cursorsgdk_cursor_new_from_name, function in Cursorsgdk_cursor_new_from_texture, function in CursorsDGdkDevice, struct in GdkDeviceGdkDevice::changed, object signal in GdkDeviceGdkDevice::tool-changed, object signal in GdkDeviceGdkDevice:associated-device, object property in GdkDeviceGdkDevice:axes, object property in GdkDeviceGdkDevice:display, object property in GdkDeviceGdkDevice:has-cursor, object property in GdkDeviceGdkDevice:input-mode, object property in GdkDeviceGdkDevice:input-source, object property in GdkDeviceGdkDevice:n-axes, object property in GdkDeviceGdkDevice:name, object property in GdkDeviceGdkDevice:num-touches, object property in GdkDeviceGdkDevice:product-id, object property in GdkDeviceGdkDevice:seat, object property in GdkDeviceGdkDevice:tool, object property in GdkDeviceGdkDevice:type, object property in GdkDeviceGdkDevice:vendor-id, object property in GdkDeviceGdkDevicePad, struct in GdkDevicePadGdkDevicePadFeature, enum in GdkDevicePadGdkDeviceToolType, enum in GdkDeviceGdkDeviceType, enum in GdkDevicegdk_device_free_history, function in GdkDevicegdk_device_get_associated_device, function in GdkDevicegdk_device_get_axes, function in GdkDevicegdk_device_get_axis, function in GdkDevicegdk_device_get_axis_use, function in GdkDevicegdk_device_get_axis_value, function in GdkDevicegdk_device_get_device_type, function in GdkDevicegdk_device_get_display, function in GdkDevicegdk_device_get_has_cursor, function in GdkDevicegdk_device_get_history, function in GdkDevicegdk_device_get_key, function in GdkDevicegdk_device_get_last_event_surface, function in GdkDevicegdk_device_get_mode, function in GdkDevicegdk_device_get_name, function in GdkDevicegdk_device_get_n_axes, function in GdkDevicegdk_device_get_n_keys, function in GdkDevicegdk_device_get_product_id, function in GdkDevicegdk_device_get_seat, function in GdkDevicegdk_device_get_source, function in GdkDevicegdk_device_get_state, function in GdkDevicegdk_device_get_surface_at_position, function in GdkDevicegdk_device_get_vendor_id, function in GdkDevicegdk_device_list_axes, function in GdkDevicegdk_device_list_slave_devices, function in GdkDevicegdk_device_pad_get_feature_group, function in GdkDevicePadgdk_device_pad_get_group_n_modes, function in GdkDevicePadgdk_device_pad_get_n_features, function in GdkDevicePadgdk_device_pad_get_n_groups, function in GdkDevicePadgdk_device_set_axis_use, function in GdkDevicegdk_device_set_key, function in GdkDevicegdk_device_set_mode, function in GdkDevicegdk_device_tool_get_hardware_id, function in GdkDevicegdk_device_tool_get_serial, function in GdkDevicegdk_device_tool_get_tool_type, function in GdkDeviceGDK_DISABLE_DEPRECATION_WARNINGS, macro in GeneralGdkDisplay, struct in GdkDisplayGdkDisplay::closed, object signal in GdkDisplayGdkDisplay::monitor-added, object signal in GdkDisplayGdkDisplay::monitor-removed, object signal in GdkDisplayGdkDisplay::opened, object signal in GdkDisplayGdkDisplay::seat-added, object signal in GdkDisplayGdkDisplay::seat-removed, object signal in GdkDisplayGdkDisplay::setting-changed, object signal in GdkDisplayGdkDisplay:composited, object property in GdkDisplayGdkDisplay:rgba, object property in GdkDisplayGdkDisplayManager, struct in GdkDisplayManagerGdkDisplayManager::display-opened, object signal in GdkDisplayManagerGdkDisplayManager:default-display, object property in GdkDisplayManagergdk_display_beep, function in GdkDisplaygdk_display_close, function in GdkDisplaygdk_display_device_is_grabbed, function in GdkDisplaygdk_display_flush, function in GdkDisplaygdk_display_get_app_launch_context, function in GdkDisplaygdk_display_get_clipboard, function in GdkDisplaygdk_display_get_default, function in GdkDisplaygdk_display_get_default_group, function in GdkDisplaygdk_display_get_default_seat, function in GdkDisplaygdk_display_get_event, function in GdkDisplaygdk_display_get_keymap, function in GdkDisplaygdk_display_get_monitor, function in GdkDisplaygdk_display_get_monitor_at_surface, function in GdkDisplaygdk_display_get_name, function in GdkDisplaygdk_display_get_n_monitors, function in GdkDisplaygdk_display_get_primary_clipboard, function in GdkDisplaygdk_display_get_setting, function in GdkDisplaygdk_display_has_pending, function in GdkDisplaygdk_display_is_closed, function in GdkDisplaygdk_display_is_composited, function in GdkDisplaygdk_display_is_rgba, function in GdkDisplaygdk_display_list_seats, function in GdkDisplaygdk_display_manager_get, function in GdkDisplayManagergdk_display_manager_get_default_display, function in GdkDisplayManagergdk_display_manager_list_displays, function in GdkDisplayManagergdk_display_manager_open_display, function in GdkDisplayManagergdk_display_manager_set_default_display, function in GdkDisplayManagergdk_display_notify_startup_complete, function in GdkDisplaygdk_display_open, function in GdkDisplaygdk_display_peek_event, function in GdkDisplaygdk_display_put_event, function in GdkDisplaygdk_display_supports_input_shapes, function in GdkDisplaygdk_display_supports_shapes, function in GdkDisplaygdk_display_sync, function in GdkDisplayGDK_DISPLAY_XDISPLAY, macro in X Window System InteractionGdkDrag, struct in Drag and DropGdkDrag::cancel, object signal in Drag and DropGdkDrag::dnd-finished, object signal in Drag and DropGdkDrag::drop-performed, object signal in Drag and DropGdkDrag:actions, object property in Drag and DropGdkDrag:content, object property in Drag and DropGdkDrag:device, object property in Drag and DropGdkDrag:display, object property in Drag and DropGdkDrag:formats, object property in Drag and DropGdkDrag:selected-action, object property in Drag and DropGdkDrag:surface, object property in Drag and DropGdkDragAction, enum in Drag and DropGdkDragCancelReason, enum in Drag and Dropgdk_drag_action_is_unique, function in Drag and Dropgdk_drag_begin, function in Drag and Dropgdk_drag_drop_done, function in Drag and Dropgdk_drag_get_actions, function in Drag and Dropgdk_drag_get_device, function in Drag and Dropgdk_drag_get_display, function in Drag and Dropgdk_drag_get_drag_surface, function in Drag and Dropgdk_drag_get_formats, function in Drag and Dropgdk_drag_get_selected_action, function in Drag and Dropgdk_drag_set_hotspot, function in Drag and DropGdkDrawContext, struct in GdkDrawContextgdk_draw_context_begin_frame, function in GdkDrawContextgdk_draw_context_end_frame, function in GdkDrawContextgdk_draw_context_get_display, function in GdkDrawContextgdk_draw_context_get_frame_region, function in GdkDrawContextgdk_draw_context_get_surface, function in GdkDrawContextgdk_draw_context_is_in_frame, function in GdkDrawContextGdkDrop, struct in Drag and DropGdkDrop:actions, object property in Drag and DropGdkDrop:device, object property in Drag and DropGdkDrop:display, object property in Drag and DropGdkDrop:drag, object property in Drag and DropGdkDrop:formats, object property in Drag and DropGdkDrop:surface, object property in Drag and Dropgdk_drop_finish, function in Drag and Dropgdk_drop_get_actions, function in Drag and Dropgdk_drop_get_device, function in Drag and Dropgdk_drop_get_display, function in Drag and Dropgdk_drop_get_drag, function in Drag and Dropgdk_drop_get_formats, function in Drag and Dropgdk_drop_get_surface, function in Drag and Dropgdk_drop_read_async, function in Drag and Dropgdk_drop_read_finish, function in Drag and Dropgdk_drop_read_text_async, function in Drag and Dropgdk_drop_read_text_finish, function in Drag and Dropgdk_drop_read_value_async, function in Drag and Dropgdk_drop_read_value_finish, function in Drag and Dropgdk_drop_status, function in Drag and DropEGdkEvent, union in EventsGdkEvent:event-type, object property in EventsGdkEventMask, enum in EventsGdkEventSequence, struct in Eventsgdk_events_get_angle, function in Eventsgdk_events_get_center, function in Eventsgdk_events_get_distance, function in EventsGdkEventType, enum in Eventsgdk_event_copy, function in Eventsgdk_event_get_axes, function in Eventsgdk_event_get_axis, function in Eventsgdk_event_get_button, function in Eventsgdk_event_get_click_count, function in Eventsgdk_event_get_coords, function in Eventsgdk_event_get_crossing_detail, function in Eventsgdk_event_get_crossing_mode, function in Eventsgdk_event_get_device, function in Eventsgdk_event_get_device_tool, function in Eventsgdk_event_get_display, function in Eventsgdk_event_get_drop, function in Eventsgdk_event_get_event_sequence, function in Eventsgdk_event_get_event_type, function in Eventsgdk_event_get_focus_in, function in Eventsgdk_event_get_grab_surface, function in Eventsgdk_event_get_keycode, function in Eventsgdk_event_get_keyval, function in Eventsgdk_event_get_key_group, function in Eventsgdk_event_get_key_is_modifier, function in Eventsgdk_event_get_motion_history, function in Eventsgdk_event_get_pad_axis_value, function in Eventsgdk_event_get_pad_button, function in Eventsgdk_event_get_pad_group_mode, function in Eventsgdk_event_get_pointer_emulated, function in Eventsgdk_event_get_scancode, function in Eventsgdk_event_get_scroll_deltas, function in Eventsgdk_event_get_scroll_direction, function in Eventsgdk_event_get_seat, function in Eventsgdk_event_get_source_device, function in Eventsgdk_event_get_state, function in Eventsgdk_event_get_surface, function in Eventsgdk_event_get_time, function in Eventsgdk_event_get_touchpad_angle_delta, function in Eventsgdk_event_get_touchpad_deltas, function in Eventsgdk_event_get_touchpad_gesture_n_fingers, function in Eventsgdk_event_get_touchpad_gesture_phase, function in Eventsgdk_event_get_touchpad_scale, function in Eventsgdk_event_get_touch_emulating_pointer, function in Eventsgdk_event_is_scroll_stop_event, function in Eventsgdk_event_is_sent, function in Eventsgdk_event_new, function in EventsGDK_EVENT_PROPAGATE, macro in Eventsgdk_event_set_device, function in Eventsgdk_event_set_device_tool, function in Eventsgdk_event_set_display, function in Eventsgdk_event_set_source_device, function in EventsGDK_EVENT_STOP, macro in Eventsgdk_event_triggers_context_menu, function in EventsFGdkFrameClock, struct in GdkFrameClockGdkFrameClock::after-paint, object signal in GdkFrameClockGdkFrameClock::before-paint, object signal in GdkFrameClockGdkFrameClock::flush-events, object signal in GdkFrameClockGdkFrameClock::layout, object signal in GdkFrameClockGdkFrameClock::paint, object signal in GdkFrameClockGdkFrameClock::resume-events, object signal in GdkFrameClockGdkFrameClock::update, object signal in GdkFrameClockGdkFrameClockPhase, enum in GdkFrameClockGdkFrameTimings, struct in GdkFrameTimingsgdk_frame_clock_begin_updating, function in GdkFrameClockgdk_frame_clock_end_updating, function in GdkFrameClockgdk_frame_clock_get_current_timings, function in GdkFrameClockgdk_frame_clock_get_frame_counter, function in GdkFrameClockgdk_frame_clock_get_frame_time, function in GdkFrameClockgdk_frame_clock_get_history_start, function in GdkFrameClockgdk_frame_clock_get_refresh_info, function in GdkFrameClockgdk_frame_clock_get_timings, function in GdkFrameClockgdk_frame_clock_request_phase, function in GdkFrameClockgdk_frame_timings_get_complete, function in GdkFrameTimingsgdk_frame_timings_get_frame_counter, function in GdkFrameTimingsgdk_frame_timings_get_frame_time, function in GdkFrameTimingsgdk_frame_timings_get_predicted_presentation_time, function in GdkFrameTimingsgdk_frame_timings_get_presentation_time, function in GdkFrameTimingsgdk_frame_timings_get_refresh_interval, function in GdkFrameTimingsgdk_frame_timings_ref, function in GdkFrameTimingsgdk_frame_timings_unref, function in GdkFrameTimingsGdkFullscreenMode, enum in GdkSurfaceGGdkGeometry, struct in GdkSurfacegdk_get_show_events, function in EventsGdkGLContext, struct in GdkGLContextGdkGLContext:shared-context, object property in GdkGLContextGdkGLError, enum in GdkGLContextgdk_gl_context_clear_current, function in GdkGLContextgdk_gl_context_get_current, function in GdkGLContextgdk_gl_context_get_debug_enabled, function in GdkGLContextgdk_gl_context_get_display, function in GdkGLContextgdk_gl_context_get_forward_compatible, function in GdkGLContextgdk_gl_context_get_required_version, function in GdkGLContextgdk_gl_context_get_shared_context, function in GdkGLContextgdk_gl_context_get_surface, function in GdkGLContextgdk_gl_context_get_use_es, function in GdkGLContextgdk_gl_context_get_version, function in GdkGLContextgdk_gl_context_is_legacy, function in GdkGLContextgdk_gl_context_make_current, function in GdkGLContextgdk_gl_context_realize, function in GdkGLContextgdk_gl_context_set_debug_enabled, function in GdkGLContextgdk_gl_context_set_forward_compatible, function in GdkGLContextgdk_gl_context_set_required_version, function in GdkGLContextgdk_gl_context_set_use_es, function in GdkGLContextgdk_gl_texture_new, function in Texturesgdk_gl_texture_release, function in TexturesGdkGrabOwnership, enum in GdkDeviceGdkGrabStatus, enum in GdkSeatGdkGravity, enum in GdkSurfaceIGdkInputMode, enum in GdkDeviceGdkInputSource, enum in GdkDevicegdk_intern_mime_type, function in Content FormatsKGdkKeymap, struct in Keyboard HandlingGdkKeymap::direction-changed, object signal in Keyboard HandlingGdkKeymap::keys-changed, object signal in Keyboard HandlingGdkKeymap::state-changed, object signal in Keyboard HandlingGdkKeymap:display, object property in Keyboard HandlingGdkKeymapKey, struct in Keyboard Handlinggdk_keymap_add_virtual_modifiers, function in Keyboard Handlinggdk_keymap_get_caps_lock_state, function in Keyboard Handlinggdk_keymap_get_direction, function in Keyboard Handlinggdk_keymap_get_display, function in Keyboard Handlinggdk_keymap_get_entries_for_keycode, function in Keyboard Handlinggdk_keymap_get_entries_for_keyval, function in Keyboard Handlinggdk_keymap_get_modifier_mask, function in Keyboard Handlinggdk_keymap_get_modifier_state, function in Keyboard Handlinggdk_keymap_get_num_lock_state, function in Keyboard Handlinggdk_keymap_get_scroll_lock_state, function in Keyboard Handlinggdk_keymap_have_bidi_layouts, function in Keyboard Handlinggdk_keymap_lookup_key, function in Keyboard Handlinggdk_keymap_map_virtual_modifiers, function in Keyboard Handlinggdk_keymap_translate_keyboard_state, function in Keyboard Handlinggdk_keyval_convert_case, function in Keyboard Handlinggdk_keyval_from_name, function in Keyboard Handlinggdk_keyval_is_lower, function in Keyboard Handlinggdk_keyval_is_upper, function in Keyboard Handlinggdk_keyval_name, function in Keyboard Handlinggdk_keyval_to_lower, function in Keyboard Handlinggdk_keyval_to_unicode, function in Keyboard Handlinggdk_keyval_to_upper, function in Keyboard HandlingMGdkMemoryFormat, enum in TexturesGDK_MEMORY_DEFAULT, macro in Texturesgdk_memory_texture_new, function in TexturesGdkModifierIntent, enum in GdkSurfaceGdkModifierType, enum in GdkSurfaceGdkMonitor, struct in GdkMonitorGdkMonitor::invalidate, object signal in GdkMonitorGdkMonitor:connector, object property in GdkMonitorGdkMonitor:display, object property in GdkMonitorGdkMonitor:geometry, object property in GdkMonitorGdkMonitor:height-mm, object property in GdkMonitorGdkMonitor:manufacturer, object property in GdkMonitorGdkMonitor:model, object property in GdkMonitorGdkMonitor:refresh-rate, object property in GdkMonitorGdkMonitor:scale-factor, object property in GdkMonitorGdkMonitor:subpixel-layout, object property in GdkMonitorGdkMonitor:valid, object property in GdkMonitorGdkMonitor:width-mm, object property in GdkMonitorGdkMonitor:workarea, object property in GdkMonitorgdk_monitor_get_connector, function in GdkMonitorgdk_monitor_get_display, function in GdkMonitorgdk_monitor_get_geometry, function in GdkMonitorgdk_monitor_get_height_mm, function in GdkMonitorgdk_monitor_get_manufacturer, function in GdkMonitorgdk_monitor_get_model, function in GdkMonitorgdk_monitor_get_refresh_rate, function in GdkMonitorgdk_monitor_get_scale_factor, function in GdkMonitorgdk_monitor_get_subpixel_layout, function in GdkMonitorgdk_monitor_get_width_mm, function in GdkMonitorgdk_monitor_get_workarea, function in GdkMonitorgdk_monitor_is_valid, function in GdkMonitorNGdkNotifyType, enum in EventsPGdkPaintable, struct in GdkPaintableGdkPaintable::invalidate-contents, object signal in GdkPaintableGdkPaintable::invalidate-size, object signal in GdkPaintableGdkPaintableFlags, enum in GdkPaintablegdk_paintable_compute_concrete_size, function in GdkPaintablegdk_paintable_get_current_image, function in GdkPaintablegdk_paintable_get_flags, function in GdkPaintablegdk_paintable_get_intrinsic_aspect_ratio, function in GdkPaintablegdk_paintable_get_intrinsic_height, function in GdkPaintablegdk_paintable_get_intrinsic_width, function in GdkPaintablegdk_paintable_invalidate_contents, function in GdkPaintablegdk_paintable_invalidate_size, function in GdkPaintablegdk_paintable_new_empty, function in GdkPaintablegdk_paintable_snapshot, function in GdkPaintablegdk_pango_layout_get_clip_region, function in Pango Interactiongdk_pango_layout_line_get_clip_region, function in Pango InteractionGDK_PARENT_RELATIVE, macro in GdkSurfacegdk_pixbuf_get_from_surface, function in PixbufsGdkPoint, struct in Points, Rectangles and RegionsGDK_POINTER_TO_XID, macro in X Window System InteractionGDK_PRIORITY_EVENTS, macro in EventsGDK_PRIORITY_REDRAW, macro in EventsRGdkRectangle, struct in Points, Rectangles and Regionsgdk_rectangle_contains_point, function in Points, Rectangles and Regionsgdk_rectangle_equal, function in Points, Rectangles and Regionsgdk_rectangle_intersect, function in Points, Rectangles and Regionsgdk_rectangle_union, function in Points, Rectangles and RegionsGdkRGBA, struct in RGBA Colorsgdk_rgba_copy, function in RGBA Colorsgdk_rgba_equal, function in RGBA Colorsgdk_rgba_free, function in RGBA Colorsgdk_rgba_hash, function in RGBA Colorsgdk_rgba_is_clear, function in RGBA Colorsgdk_rgba_is_opaque, function in RGBA Colorsgdk_rgba_parse, function in RGBA Colorsgdk_rgba_to_string, function in RGBA ColorsSGdkScrollDirection, enum in EventsGdkSeat, struct in GdkSeatGdkSeat::device-added, object signal in GdkSeatGdkSeat::device-removed, object signal in GdkSeatGdkSeat::tool-added, object signal in GdkSeatGdkSeat::tool-removed, object signal in GdkSeatGdkSeat:display, object property in GdkSeatGdkSeatCapabilities, enum in GdkSeatGdkSeatGrabPrepareFunc, user_function in GdkSeatgdk_seat_get_capabilities, function in GdkSeatgdk_seat_get_display, function in GdkSeatgdk_seat_get_keyboard, function in GdkSeatgdk_seat_get_master_pointers, function in GdkSeatgdk_seat_get_pointer, function in GdkSeatgdk_seat_get_slaves, function in GdkSeatgdk_set_allowed_backends, function in GdkDisplayManagergdk_set_show_events, function in EventsGdkSubpixelLayout, enum in GdkMonitorGdkSurface, struct in GdkSurfaceGdkSurface::event, object signal in GdkSurfaceGdkSurface::moved-to-rect, object signal in GdkSurfaceGdkSurface::render, object signal in GdkSurfaceGdkSurface::size-changed, object signal in GdkSurfaceGdkSurface:autohide, object property in GdkSurfaceGdkSurface:cursor, object property in GdkSurfaceGdkSurface:display, object property in GdkSurfaceGdkSurface:frame-clock, object property in GdkSurfaceGdkSurface:mapped, object property in GdkSurfaceGdkSurface:parent, object property in GdkSurfaceGdkSurface:state, object property in GdkSurfaceGdkSurface:surface-type, object property in GdkSurfaceGdkSurfaceEdge, enum in GdkSurfaceGdkSurfaceHints, enum in GdkSurfaceGdkSurfaceState, enum in GdkSurfaceGdkSurfaceType, enum in GdkSurfaceGdkSurfaceTypeHint, enum in GdkSurfacegdk_surface_beep, function in GdkSurfacegdk_surface_begin_move_drag, function in GdkSurfacegdk_surface_begin_move_drag_for_device, function in GdkSurfacegdk_surface_begin_resize_drag, function in GdkSurfacegdk_surface_begin_resize_drag_for_device, function in GdkSurfacegdk_surface_constrain_size, function in GdkSurfacegdk_surface_create_cairo_context, function in GdkSurfacegdk_surface_create_gl_context, function in GdkSurfacegdk_surface_create_similar_surface, function in Cairo Interactiongdk_surface_create_vulkan_context, function in GdkSurfacegdk_surface_destroy, function in GdkSurfacegdk_surface_focus, function in GdkSurfacegdk_surface_freeze_updates, function in GdkSurfacegdk_surface_fullscreen, function in GdkSurfacegdk_surface_fullscreen_on_monitor, function in GdkSurfacegdk_surface_get_accept_focus, function in GdkSurfacegdk_surface_get_cursor, function in GdkSurfacegdk_surface_get_decorations, function in GdkSurfacegdk_surface_get_device_cursor, function in GdkSurfacegdk_surface_get_device_position, function in GdkSurfacegdk_surface_get_display, function in GdkSurfacegdk_surface_get_focus_on_map, function in GdkSurfacegdk_surface_get_frame_clock, function in GdkSurfacegdk_surface_get_fullscreen_mode, function in GdkSurfacegdk_surface_get_height, function in GdkSurfacegdk_surface_get_modal_hint, function in GdkSurfacegdk_surface_get_parent, function in GdkSurfacegdk_surface_get_position, function in GdkSurfacegdk_surface_get_scale_factor, function in GdkSurfacegdk_surface_get_state, function in GdkSurfacegdk_surface_get_support_multidevice, function in GdkSurfacegdk_surface_get_surface_type, function in GdkSurfacegdk_surface_get_type_hint, function in GdkSurfacegdk_surface_get_width, function in GdkSurfacegdk_surface_hide, function in GdkSurfacegdk_surface_input_shape_combine_region, function in GdkSurfacegdk_surface_is_destroyed, function in GdkSurfacegdk_surface_is_viewable, function in GdkSurfacegdk_surface_is_visible, function in GdkSurfacegdk_surface_lower, function in GdkSurfacegdk_surface_maximize, function in GdkSurfacegdk_surface_minimize, function in GdkSurfacegdk_surface_move_to_rect, function in GdkSurfacegdk_surface_new_popup, function in GdkSurfacegdk_surface_new_temp, function in GdkSurfacegdk_surface_new_toplevel, function in GdkSurfacegdk_surface_queue_expose, function in GdkSurfacegdk_surface_raise, function in GdkSurfacegdk_surface_register_dnd, function in GdkSurfacegdk_surface_resize, function in GdkSurfacegdk_surface_restack, function in GdkSurfacegdk_surface_set_accept_focus, function in GdkSurfacegdk_surface_set_cursor, function in GdkSurfacegdk_surface_set_decorations, function in GdkSurfacegdk_surface_set_device_cursor, function in GdkSurfacegdk_surface_set_focus_on_map, function in GdkSurfacegdk_surface_set_fullscreen_mode, function in GdkSurfacegdk_surface_set_functions, function in GdkSurfacegdk_surface_set_geometry_hints, function in GdkSurfacegdk_surface_set_icon_list, function in GdkSurfacegdk_surface_set_icon_name, function in GdkSurfacegdk_surface_set_keep_above, function in GdkSurfacegdk_surface_set_keep_below, function in GdkSurfacegdk_surface_set_modal_hint, function in GdkSurfacegdk_surface_set_opacity, function in GdkSurfacegdk_surface_set_opaque_region, function in GdkSurfacegdk_surface_set_shadow_width, function in GdkSurfacegdk_surface_set_startup_id, function in GdkSurfacegdk_surface_set_support_multidevice, function in GdkSurfacegdk_surface_set_title, function in GdkSurfacegdk_surface_set_transient_for, function in GdkSurfacegdk_surface_set_type_hint, function in GdkSurfacegdk_surface_show, function in GdkSurfacegdk_surface_show_unraised, function in GdkSurfacegdk_surface_show_window_menu, function in GdkSurfacegdk_surface_stick, function in GdkSurfacegdk_surface_thaw_updates, function in GdkSurfacegdk_surface_unfullscreen, function in GdkSurfacegdk_surface_unmaximize, function in GdkSurfacegdk_surface_unminimize, function in GdkSurfacegdk_surface_unstick, function in GdkSurfaceGDK_SURFACE_XID, macro in X Window System InteractionTGdkTexture, struct in TexturesGdkTexture:height, object property in TexturesGdkTexture:width, object property in Texturesgdk_texture_download, function in Texturesgdk_texture_get_height, function in Texturesgdk_texture_get_width, function in Texturesgdk_texture_new_for_pixbuf, function in Texturesgdk_texture_new_from_file, function in Texturesgdk_texture_new_from_resource, function in Texturesgdk_texture_save_to_png, function in Texturesgdk_text_property_to_utf8_list_for_display, function in Properties and AtomsGdkTimeCoord, struct in GdkDeviceUgdk_unicode_to_keyval, function in Keyboard Handlinggdk_utf8_to_string_target, function in Properties and AtomsVGDK_VERSION_4_0, macro in GeneralGDK_VERSION_MAX_ALLOWED, macro in GeneralGDK_VERSION_MIN_REQUIRED, macro in GeneralGdkVulkanContext, struct in GdkVulkanContextGdkVulkanContext::images-updated, object signal in GdkVulkanContextGdkVulkanError, enum in GdkVulkanContextgdk_vulkan_context_get_device, function in GdkVulkanContextgdk_vulkan_context_get_draw_index, function in GdkVulkanContextgdk_vulkan_context_get_draw_semaphore, function in GdkVulkanContextgdk_vulkan_context_get_image, function in GdkVulkanContextgdk_vulkan_context_get_image_format, function in GdkVulkanContextgdk_vulkan_context_get_instance, function in GdkVulkanContextgdk_vulkan_context_get_n_images, function in GdkVulkanContextgdk_vulkan_context_get_physical_device, function in GdkVulkanContextgdk_vulkan_context_get_queue, function in GdkVulkanContextgdk_vulkan_context_get_queue_family_index, function in GdkVulkanContextWGdkWaylandSurfaceExported, user_function in Wayland Interactiongdk_wayland_device_get_wl_keyboard, function in Wayland Interactiongdk_wayland_device_get_wl_pointer, function in Wayland Interactiongdk_wayland_device_get_wl_seat, function in Wayland Interactiongdk_wayland_display_get_wl_compositor, function in Wayland Interactiongdk_wayland_display_get_wl_display, function in Wayland Interactiongdk_wayland_display_query_registry, function in Wayland Interactiongdk_wayland_seat_get_wl_seat, function in Wayland Interactiongdk_wayland_surface_export_handle, function in Wayland Interactiongdk_wayland_surface_get_wl_surface, function in Wayland Interactiongdk_wayland_surface_set_transient_for_exported, function in Wayland Interactiongdk_wayland_surface_unexport_handle, function in Wayland InteractionGDK_WINDOWING_QUARTZ, macro in GeneralGDK_WINDOWING_WAYLAND, macro in GeneralGDK_WINDOWING_WIN32, macro in GeneralGDK_WINDOWING_X11, macro in GeneralGdkWMDecoration, enum in GdkSurfaceGdkWMFunction, enum in GdkSurfaceXgdk_x11_atom_to_xatom_for_display, function in X Window System Interactiongdk_x11_device_get_id, function in X Window System Interactiongdk_x11_device_manager_lookup, function in X Window System Interactiongdk_x11_display_broadcast_startup_message, function in X Window System Interactiongdk_x11_display_error_trap_pop, function in X Window System Interactiongdk_x11_display_error_trap_pop_ignored, function in X Window System Interactiongdk_x11_display_error_trap_push, function in X Window System Interactiongdk_x11_display_get_glx_version, function in X Window System Interactiongdk_x11_display_get_startup_notification_id, function in X Window System Interactiongdk_x11_display_get_user_time, function in X Window System Interactiongdk_x11_display_get_xcursor, function in X Window System Interactiongdk_x11_display_get_xdisplay, function in X Window System Interactiongdk_x11_display_get_xrootwindow, function in X Window System Interactiongdk_x11_display_get_xscreen, function in X Window System Interactiongdk_x11_display_grab, function in X Window System Interactiongdk_x11_display_open, function in X Window System Interactiongdk_x11_display_set_cursor_theme, function in X Window System Interactiongdk_x11_display_set_program_class, function in X Window System Interactiongdk_x11_display_set_startup_notification_id, function in X Window System Interactiongdk_x11_display_set_surface_scale, function in X Window System Interactiongdk_x11_display_string_to_compound_text, function in X Window System Interactiongdk_x11_display_text_property_to_text_list, function in X Window System Interactiongdk_x11_display_ungrab, function in X Window System Interactiongdk_x11_display_utf8_to_compound_text, function in X Window System Interactiongdk_x11_free_compound_text, function in X Window System Interactiongdk_x11_free_text_list, function in X Window System Interactiongdk_x11_get_server_time, function in X Window System Interactiongdk_x11_get_xatom_by_name_for_display, function in X Window System Interactiongdk_x11_get_xatom_name_for_display, function in X Window System Interactiongdk_x11_keymap_get_group_for_state, function in X Window System Interactiongdk_x11_keymap_key_is_modifier, function in X Window System Interactiongdk_x11_lookup_xdisplay, function in X Window System Interactiongdk_x11_register_standard_event_type, function in X Window System Interactiongdk_x11_screen_get_current_desktop, function in X Window System Interactiongdk_x11_screen_get_monitor_output, function in X Window System Interactiongdk_x11_screen_get_number_of_desktops, function in X Window System Interactiongdk_x11_screen_get_screen_number, function in X Window System Interactiongdk_x11_screen_get_window_manager_name, function in X Window System Interactiongdk_x11_screen_get_xscreen, function in X Window System Interactiongdk_x11_screen_lookup_visual, function in X Window System Interactiongdk_x11_screen_supports_net_wm_hint, function in X Window System Interactiongdk_x11_set_sm_client_id, function in X Window System Interactiongdk_x11_surface_get_desktop, function in X Window System Interactiongdk_x11_surface_get_xid, function in X Window System Interactiongdk_x11_surface_lookup_for_display, function in X Window System Interactiongdk_x11_surface_move_to_current_desktop, function in X Window System Interactiongdk_x11_surface_move_to_desktop, function in X Window System Interactiongdk_x11_surface_set_frame_sync_enabled, function in X Window System Interactiongdk_x11_surface_set_theme_variant, function in X Window System Interactiongdk_x11_surface_set_user_time, function in X Window System Interactiongdk_x11_surface_set_utf8_property, function in X Window System Interactiongdk_x11_visual_get_xvisual, function in X Window System Interactiongdk_x11_xatom_to_atom_for_display, function in X Window System InteractionGDK_XID_TO_POINTER, macro in X Window System Interaction
docs/reference/gdk/xml/api-index-deprecated.xml 0000664 0001750 0001750 00000000526 13617646446 021663 0 ustar mclasen mclasen
]>
docs/reference/gdk/xml/annotation-glossary.xml 0000664 0001750 0001750 00000012263 13617646446 021723 0 ustar mclasen mclasen
]>
Annotation GlossaryAallow-noneNULL is OK, both for passing and for returning.arrayParameter points to an array of items.CclosureThis parameter is a 'user_data', for callbacks; many bindings can pass NULL here.constructorThis symbol is a constructor, not a static method.Eelement-typeGenerics and defining elements of containers and arrays.IinoutParameter for input and for returning results. Default is transfer full.Nnot nullableNULL must not be passed as the value in, out, in-out; or as a return value.nullableNULL may be passed as the value in, out, in-out; or as a return value.OoptionalNULL may be passed instead of a pointer to a location.outParameter for returning results. Default is transfer full.out caller-allocatesOut parameter, where caller must allocate storage.PPrivateAn interface that can be used within the GNOME stack itself, but that is not
documented for end-users. Such functions should only be used in specified and
documented ways.
Rrename-toRename the original symbol's name to SYMBOL.Sscope asyncThe callback is valid until first called.skipExposed in C code, not necessarily available in other languages.Ttransfer containerFree data container after the code is done.transfer fullFree data after the code is done.transfer noneDon't free data after the code is done.typeOverride the parsed C type with given type.
docs/reference/gdk/xml/gdkcontentprovider.xml 0000664 0001750 0001750 00000066740 13617650761 021627 0 ustar mclasen mclasen
]>
GdkContentProvider3GDK4 LibraryGdkContentProviderProvides content for data transfer between applicationsFunctionsGdkContentProvider *
gdk_content_provider_new_for_value ()GdkContentProvider *
gdk_content_provider_new_for_bytes ()GdkContentFormats *
gdk_content_provider_ref_formats ()GdkContentFormats *
gdk_content_provider_ref_storable_formats ()voidgdk_content_provider_content_changed ()voidgdk_content_provider_write_mime_type_async ()gbooleangdk_content_provider_write_mime_type_finish ()gbooleangdk_content_provider_get_value ()PropertiesGdkContentFormats *formatsReadGdkContentFormats *storable-formatsReadSignalsvoidcontent-changedRun LastTypes and ValuesGdkContentProviderstructGdkContentProviderClassObject Hierarchy GObject
╰── GdkContentProvider
Includes#include <gdk/gdk.h>
DescriptionA GdkContentProvider is used to provide content for the clipboard in
a number of formats.To create a GdkContentProvider, use gdk_content_provider_new_for_value() or
gdk_content_provider_new_for_bytes().GDK knows how to handle common text and image formats out-of-the-box. See
GdkContentSerializer and GdkContentDeserializer if you want to add support
for application-specific data formats.Functionsgdk_content_provider_new_for_value ()gdk_content_provider_new_for_valueGdkContentProvider *
gdk_content_provider_new_for_value (const GValue *value);Create a content provider that provides the given value
.Parametersvaluea GValueReturns a new GdkContentProvidergdk_content_provider_new_for_bytes ()gdk_content_provider_new_for_bytesGdkContentProvider *
gdk_content_provider_new_for_bytes (const char *mime_type,
GBytes *bytes);Create a content provider that provides the given bytes
as data for
the given mime_type
.Parametersmime_typethe mime typebytesa GBytes with the data for mime_type
. [transfer none]Returns a new GdkContentProvidergdk_content_provider_ref_formats ()gdk_content_provider_ref_formatsGdkContentFormats *
gdk_content_provider_ref_formats (GdkContentProvider *provider);Gets the formats that the provider can provide its current contents in.Parametersprovidera GdkContentProviderReturnsThe formats of the provider. [transfer full]gdk_content_provider_ref_storable_formats ()gdk_content_provider_ref_storable_formatsGdkContentFormats *
gdk_content_provider_ref_storable_formats
(GdkContentProvider *provider);Gets the formats that the provider suggests other applications to store
the data in.
An example of such an application would be a clipboard manager.This can be assumed to be a subset of gdk_content_provider_ref_formats().Parametersprovidera GdkContentProviderReturnsThe storable formats of the provider. [transfer full]gdk_content_provider_content_changed ()gdk_content_provider_content_changedvoid
gdk_content_provider_content_changed (GdkContentProvider *provider);Emits the “contents-changed” signal.Parametersprovidera GdkContentProvidergdk_content_provider_write_mime_type_async ()gdk_content_provider_write_mime_type_asyncvoid
gdk_content_provider_write_mime_type_async
(GdkContentProvider *provider,
const char *mime_type,
GOutputStream *stream,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);Asynchronously writes the contents of provider
to stream
in the given
mime_type
. When the operation is finished callback
will be called. You
can then call gdk_content_provider_write_mime_type_finish() to get the
result of the operation.The given mime type does not need to be listed in the formats returned by
gdk_content_provider_ref_formats(). However, if the given GType is not
supported, G_IO_ERROR_NOT_SUPPORTED will be reported.The given stream
will not be closed.Parametersprovidera GdkContentProvidermime_typethe mime type to provide the data instreamthe GOutputStream to write toio_prioritythe I/O priority
of the request. cancellableoptional GCancellable object, NULL to ignore. [nullable]callbackcallback to call when the request is satisfied. [scope async]user_datathe data to pass to callback function. [closure]gdk_content_provider_write_mime_type_finish ()gdk_content_provider_write_mime_type_finishgboolean
gdk_content_provider_write_mime_type_finish
(GdkContentProvider *provider,
GAsyncResult *result,
GError **error);Finishes an asynchronous write operation started with
gdk_content_provider_write_mime_type_async().Parametersprovidera GdkContentProviderresulta GAsyncResulterrora GError location to store the error occurring, or NULL to
ignore.ReturnsTRUE if the operation was completed successfully. Otherwise
error
will be set to describe the failure.gdk_content_provider_get_value ()gdk_content_provider_get_valuegboolean
gdk_content_provider_get_value (GdkContentProvider *provider,
GValue *value,
GError **error);Gets the contents of provider
stored in value
.The value
will have been initialized to the GType the value should be
provided in. This given GType does not need to be listed in the formats
returned by gdk_content_provider_ref_formats(). However, if the given
GType is not supported, this operation can fail and
G_IO_ERROR_NOT_SUPPORTED will be reported.Parametersprovidera GdkContentProvidervaluethe GValue to fillerrora GError location to store the error occurring, or NULL to
ignore.ReturnsTRUE if the value was set successfully. Otherwise
error
will be set to describe the failure.Property DetailsThe “formats” propertyGdkContentProvider:formats “formats” GdkContentFormats *The possible formats that the provider can provide its data in.Owner: GdkContentProviderFlags: ReadThe “storable-formats” propertyGdkContentProvider:storable-formats “storable-formats” GdkContentFormats *The subset of formats that clipboard managers should store this provider's data in.Owner: GdkContentProviderFlags: ReadSignal DetailsThe “content-changed” signalGdkContentProvider::content-changedvoid
user_function (GdkContentProvider *gdkcontentprovider,
gpointer user_data)Emitted whenever the content provided by this provider has changed.Parametersuser_datauser data set when the signal handler was connected.Flags: Run LastSee AlsoGdkContentSerializer, GdkContentDeserializer
docs/reference/gdk/xml/keys.xml 0000664 0001750 0001750 00000203353 13620320471 016642 0 ustar mclasen mclasen
]>
Key Values3GDK4 LibraryKey ValuesFunctions for manipulating keyboard codesFunctionsguintgdk_keymap_lookup_key ()gbooleangdk_keymap_translate_keyboard_state ()gbooleangdk_keymap_get_entries_for_keyval ()gbooleangdk_keymap_get_entries_for_keycode ()PangoDirectiongdk_keymap_get_direction ()gbooleangdk_keymap_have_bidi_layouts ()gbooleangdk_keymap_get_caps_lock_state ()gbooleangdk_keymap_get_num_lock_state ()gbooleangdk_keymap_get_scroll_lock_state ()guintgdk_keymap_get_modifier_state ()voidgdk_keymap_add_virtual_modifiers ()gbooleangdk_keymap_map_virtual_modifiers ()GdkModifierTypegdk_keymap_get_modifier_mask ()GdkDisplay *
gdk_keymap_get_display ()const char *
gdk_keyval_name ()guintgdk_keyval_from_name ()voidgdk_keyval_convert_case ()guintgdk_keyval_to_upper ()guintgdk_keyval_to_lower ()gbooleangdk_keyval_is_upper ()gbooleangdk_keyval_is_lower ()guint32gdk_keyval_to_unicode ()guintgdk_unicode_to_keyval ()PropertiesGdkDisplay *displayRead / Write / Construct OnlySignalsvoiddirection-changedRun Lastvoidkeys-changedRun Lastvoidstate-changedRun LastTypes and ValuesGdkKeymapstructGdkKeymapKeyObject Hierarchy GObject
╰── GdkKeymap
Includes#include <gdk/gdk.h>
DescriptionKey values are the codes which are sent whenever a key is pressed or released.
They appear in the GdkEventKey.keyval field of the GdkEventKey structure.
The complete list of key values can be found in the gdk/gdkkeysyms.h header file.Key values are regularly updated from the upstream X.org X11 implementation,
so new values are added regularly. They will be prefixed with GDK_KEY_ rather
than XF86XK_ or XK_ (for older symbols).Key values can be converted into a string representation using
gdk_keyval_name(). The reverse function, converting a string to a key value,
is provided by gdk_keyval_from_name().The case of key values can be determined using gdk_keyval_is_upper() and
gdk_keyval_is_lower(). Key values can be converted to upper or lower case
using gdk_keyval_to_upper() and gdk_keyval_to_lower().When it makes sense, key values can be converted to and from
Unicode characters with gdk_keyval_to_unicode() and gdk_unicode_to_keyval().GroupsOne GdkKeymap object exists for each user display. To obtain keymaps for
a display, use gdk_display_get_keymap(). A keymap is a mapping from
GdkKeymapKey to key values. You can think of a GdkKeymapKey as a
representation of a symbol printed on a physical keyboard key. That is, it
contains three pieces of information. First, it contains the hardware keycode;
this is an identifying number for a physical key. Second, it contains the
“level” of the key. The level indicates which symbol on the
key will be used, in a vertical direction. So on a standard US keyboard, the key
with the number “1“ on it also has the exclamation point (”!”) character on
it. The level indicates whether to use the “1” or the “!” symbol. The letter
keys are considered to have a lowercase letter at level 0, and an uppercase
letter at level 1, though only the uppercase letter is printed. Third, the
GdkKeymapKey contains a group; groups are not used on standard US keyboards,
but are used in many other countries. On a keyboard with groups, there can be 3
or 4 symbols printed on a single key. The group indicates movement in a
horizontal direction. Usually groups are used for two different languages. In
group 0, a key might have two English characters, and in group 1 it might have
two Hebrew characters. The Hebrew characters will be printed on the key next to
the English characters.In order to use a keymap to interpret a key event, it’s necessary to first
convert the keyboard state into an effective group and level. This is done via a
set of rules that varies widely according to type of keyboard and user
configuration. The function gdk_keymap_translate_keyboard_state() accepts a
keyboard state -- consisting of hardware keycode pressed, active modifiers, and
active group -- applies the appropriate rules, and returns the group/level to be
used to index the keymap, along with the modifiers which did not affect the
group and level. i.e. it returns “unconsumed modifiers.” The keyboard group may
differ from the effective group used for keymap lookups because some keys don't
have multiple groups - e.g. the Enter key is always in group 0 regardless of
keyboard state.Note that gdk_keymap_translate_keyboard_state() also returns the keyval, i.e. it
goes ahead and performs the keymap lookup in addition to telling you which
effective group/level values were used for the lookup. GdkEventKey already
contains this keyval, however, so you don’t normally need to call
gdk_keymap_translate_keyboard_state() just to get the keyval.Functionsgdk_keymap_lookup_key ()gdk_keymap_lookup_keyguint
gdk_keymap_lookup_key (GdkKeymap *keymap,
const GdkKeymapKey *key);Looks up the keyval mapped to a keycode/group/level triplet.
If no keyval is bound to key
, returns 0. For normal user input,
you want to use gdk_keymap_translate_keyboard_state() instead of
this function, since the effective group/level may not be
the same as the current keyboard state.Parameterskeymapa GdkKeymapkeya GdkKeymapKey with keycode, group, and level initializedReturns a keyval, or 0 if none was mapped to the given keygdk_keymap_translate_keyboard_state ()gdk_keymap_translate_keyboard_stategboolean
gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,
guint hardware_keycode,
GdkModifierType state,
gint group,
guint *keyval,
gint *effective_group,
gint *level,
GdkModifierType *consumed_modifiers);Translates the contents of a GdkEventKey into a keyval, effective
group, and level. Modifiers that affected the translation and
are thus unavailable for application use are returned in
consumed_modifiers
.
See Groups for an explanation of
groups and levels. The effective_group
is the group that was
actually used for the translation; some keys such as Enter are not
affected by the active keyboard group. The level
is derived from
state
. For convenience, GdkEventKey already contains the translated
keyval, so this function isn’t as useful as you might think.consumed_modifiers
gives modifiers that should be masked outfrom state
when comparing this key press to a hot key. For instance, on a US keyboard,
the plus symbol is shifted, so when comparing a key press to a
<Control>plus accelerator <Shift> should be masked out.hardware_keycode,
event->state, event->group,
&keyval, NULL, NULL, &consumed);
if (keyval == GDK_PLUS &&
(event->state & ~consumed & ALL_ACCELS_MASK) == GDK_CONTROL_MASK)
// Control was pressed
]]>An older interpretation consumed_modifiers
was that it contained
all modifiers that might affect the translation of the key;
this allowed accelerators to be stored with irrelevant consumed
modifiers, by doing:state & ~consumed & ALL_ACCELS_MASK) == (accel_mods & ~consumed))
// Accelerator was pressed
]]>However, this did not work if multi-modifier combinations were
used in the keymap, since, for instance, <Control> would be
masked out even if only <Control><Alt> was used in the keymap.
To support this usage as well as well as possible, all single
modifier combinations that could affect the key for any combination
of modifiers will be returned in consumed_modifiers
; multi-modifier
combinations are returned only when actually found in state
. When
you store accelerators, you should always store them with consumed
modifiers removed. Store <Control>plus, not <Control><Shift>plus,Parameterskeymapa GdkKeymaphardware_keycodea keycodestatea modifier stategroupactive keyboard groupkeyvalreturn location for keyval, or NULL. [out][allow-none]effective_groupreturn location for effective
group, or NULL. [out][allow-none]levelreturn location for level, or NULL. [out][allow-none]consumed_modifiersreturn location for modifiers
that were used to determine the group or level, or NULL. [out][allow-none]ReturnsTRUE if there was a keyval bound to the keycode/state/groupgdk_keymap_get_entries_for_keyval ()gdk_keymap_get_entries_for_keyvalgboolean
gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap,
guint keyval,
GdkKeymapKey **keys,
gint *n_keys);Obtains a list of keycode/group/level combinations that will
generate keyval
. Groups and levels are two kinds of keyboard mode;
in general, the level determines whether the top or bottom symbol
on a key is used, and the group determines whether the left or
right symbol is used. On US keyboards, the shift key changes the
keyboard level, and there are no groups. A group switch key might
convert a keyboard between Hebrew to English modes, for example.
GdkEventKey contains a group field that indicates the active
keyboard group. The level is computed from the modifier mask.
The returned array should be freed
with g_free().Parameterskeymapa GdkKeymapkeyvala keyval, such as GDK_KEY_a, GDK_KEY_Up, GDK_KEY_Return, etc.keysreturn location
for an array of GdkKeymapKey. [out][array length=n_keys][transfer full]n_keysreturn location for number of elements in returned arrayReturnsTRUE if keys were found and returnedgdk_keymap_get_entries_for_keycode ()gdk_keymap_get_entries_for_keycodegboolean
gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap,
guint hardware_keycode,
GdkKeymapKey **keys,
guint **keyvals,
gint *n_entries);Returns the keyvals bound to hardware_keycode
.
The Nth GdkKeymapKey in keys
is bound to the Nth
keyval in keyvals
. Free the returned arrays with g_free().
When a keycode is pressed by the user, the keyval from
this list of entries is selected by considering the effective
keyboard group and level. See gdk_keymap_translate_keyboard_state().Parameterskeymapa GdkKeymaphardware_keycodea keycodekeysreturn
location for array of GdkKeymapKey, or NULL. [out][array length=n_entries][transfer full][optional]keyvalsreturn
location for array of keyvals, or NULL. [out][array length=n_entries][transfer full][optional]n_entrieslength of keys
and keyvalsReturnsTRUE if there were any entriesgdk_keymap_get_direction ()gdk_keymap_get_directionPangoDirection
gdk_keymap_get_direction (GdkKeymap *keymap);Returns the direction of effective layout of the keymap.
The direction of a layout is the direction of the majority of its
symbols. See pango_unichar_direction().Parameterskeymapa GdkKeymapReturnsPANGO_DIRECTION_LTR or PANGO_DIRECTION_RTL
if it can determine the direction. PANGO_DIRECTION_NEUTRAL
otherwise.gdk_keymap_have_bidi_layouts ()gdk_keymap_have_bidi_layoutsgboolean
gdk_keymap_have_bidi_layouts (GdkKeymap *keymap);Determines if keyboard layouts for both right-to-left and left-to-right
languages are in use.Parameterskeymapa GdkKeymapReturnsTRUE if there are layouts in both directions, FALSE otherwisegdk_keymap_get_caps_lock_state ()gdk_keymap_get_caps_lock_stategboolean
gdk_keymap_get_caps_lock_state (GdkKeymap *keymap);Returns whether the Caps Lock modifer is locked.Parameterskeymapa GdkKeymapReturnsTRUE if Caps Lock is ongdk_keymap_get_num_lock_state ()gdk_keymap_get_num_lock_stategboolean
gdk_keymap_get_num_lock_state (GdkKeymap *keymap);Returns whether the Num Lock modifer is locked.Parameterskeymapa GdkKeymapReturnsTRUE if Num Lock is ongdk_keymap_get_scroll_lock_state ()gdk_keymap_get_scroll_lock_stategboolean
gdk_keymap_get_scroll_lock_state (GdkKeymap *keymap);Returns whether the Scroll Lock modifer is locked.Parameterskeymapa GdkKeymapReturnsTRUE if Scroll Lock is ongdk_keymap_get_modifier_state ()gdk_keymap_get_modifier_stateguint
gdk_keymap_get_modifier_state (GdkKeymap *keymap);Returns the current modifier state.Parameterskeymapa GdkKeymapReturns the current modifier state.gdk_keymap_add_virtual_modifiers ()gdk_keymap_add_virtual_modifiersvoid
gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
GdkModifierType *state);Maps the non-virtual modifiers (i.e Mod2, Mod3, ...) which are set
in state
to the virtual modifiers (i.e. Super, Hyper and Meta) and
set the corresponding bits in state
.GDK already does this before delivering key events, but for
compatibility reasons, it only sets the first virtual modifier
it finds, whereas this function sets all matching virtual modifiers.This function is useful when matching key events against
accelerators.Parameterskeymapa GdkKeymapstatepointer to the modifier mask to change. [inout]gdk_keymap_map_virtual_modifiers ()gdk_keymap_map_virtual_modifiersgboolean
gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
GdkModifierType *state);Maps the virtual modifiers (i.e. Super, Hyper and Meta) which
are set in state
to their non-virtual counterparts (i.e. Mod2,
Mod3,...) and set the corresponding bits in state
.This function is useful when matching key events against
accelerators.Parameterskeymapa GdkKeymapstatepointer to the modifier state to map. [inout]ReturnsFALSE if two virtual modifiers were mapped to the
same non-virtual modifier. Note that FALSE is also returned
if a virtual modifier is mapped to a non-virtual modifier that
was already set in state
.gdk_keymap_get_modifier_mask ()gdk_keymap_get_modifier_maskGdkModifierType
gdk_keymap_get_modifier_mask (GdkKeymap *keymap,
GdkModifierIntent intent);Returns the modifier mask the keymap
’s windowing system backend
uses for a particular purpose.Note that this function always returns real hardware modifiers, not
virtual ones (e.g. it will return GDK_MOD1_MASK rather than
GDK_META_MASK if the backend maps MOD1 to META), so there are use
cases where the return value of this function has to be transformed
by gdk_keymap_add_virtual_modifiers() in order to contain the
expected result.Parameterskeymapa GdkKeymapintentthe use case for the modifier maskReturns the modifier mask used for intent
.gdk_keymap_get_display ()gdk_keymap_get_displayGdkDisplay *
gdk_keymap_get_display (GdkKeymap *keymap);Retrieves the GdkDisplay associated to the keymap
.Parameterskeymapa GdkKeymapReturnsa GdkDisplay. [transfer none]gdk_keyval_name ()gdk_keyval_nameconst char *
gdk_keyval_name (guint keyval);Converts a key value into a symbolic name.The names are the same as those in the
gdk/gdkkeysyms.h header file
but without the leading “GDK_KEY_”.Parameterskeyvala key valueReturnsa string containing the name
of the key, or NULL if keyval
is not a valid key. The string
should not be modified. [nullable][transfer none]gdk_keyval_from_name ()gdk_keyval_from_nameguint
gdk_keyval_from_name (const gchar *keyval_name);Converts a key name to a key value.The names are the same as those in the
gdk/gdkkeysyms.h header file
but without the leading “GDK_KEY_”.Parameterskeyval_namea key nameReturns the corresponding key value, or GDK_KEY_VoidSymbol
if the key name is not a valid keygdk_keyval_convert_case ()gdk_keyval_convert_casevoid
gdk_keyval_convert_case (guint symbol,
guint *lower,
guint *upper);Obtains the upper- and lower-case versions of the keyval symbol
.
Examples of keyvals are GDK_KEY_a, GDK_KEY_Enter, GDK_KEY_F1, etc.Parameterssymbola keyvallowerreturn location for lowercase version of symbol
. [out]upperreturn location for uppercase version of symbol
. [out]gdk_keyval_to_upper ()gdk_keyval_to_upperguint
gdk_keyval_to_upper (guint keyval);Converts a key value to upper case, if applicable.Parameterskeyvala key value.Returns the upper case form of keyval
, or keyval
itself if it is already
in upper case or it is not subject to case conversion.gdk_keyval_to_lower ()gdk_keyval_to_lowerguint
gdk_keyval_to_lower (guint keyval);Converts a key value to lower case, if applicable.Parameterskeyvala key value.Returns the lower case form of keyval
, or keyval
itself if it is already
in lower case or it is not subject to case conversion.gdk_keyval_is_upper ()gdk_keyval_is_uppergboolean
gdk_keyval_is_upper (guint keyval);Returns TRUE if the given key value is in upper case.Parameterskeyvala key value.ReturnsTRUE if keyval
is in upper case, or if keyval
is not subject to
case conversion.gdk_keyval_is_lower ()gdk_keyval_is_lowergboolean
gdk_keyval_is_lower (guint keyval);Returns TRUE if the given key value is in lower case.Parameterskeyvala key value.ReturnsTRUE if keyval
is in lower case, or if keyval
is not
subject to case conversion.gdk_keyval_to_unicode ()gdk_keyval_to_unicodeguint32
gdk_keyval_to_unicode (guint keyval);Convert from a GDK key symbol to the corresponding ISO10646 (Unicode)
character.Parameterskeyvala GDK key symbol Returns the corresponding unicode character, or 0 if there
is no corresponding character.gdk_unicode_to_keyval ()gdk_unicode_to_keyvalguint
gdk_unicode_to_keyval (guint32 wc);Convert from a ISO10646 character to a key symbol.Parameterswca ISO10646 encoded characterReturns the corresponding GDK key symbol, if one exists.
or, if there is no corresponding symbol,
wc | 0x01000000Property DetailsThe “display” propertyGdkKeymap:display “display” GdkDisplay *The display of the keymap.Owner: GdkKeymapFlags: Read / Write / Construct OnlySignal DetailsThe “direction-changed” signalGdkKeymap::direction-changedvoid
user_function (GdkKeymap *keymap,
gpointer user_data)The ::direction-changed signal gets emitted when the direction
of the keymap changes. See gdk_keymap_get_direction().Parameterskeymapthe object on which the signal is emitteduser_datauser data set when the signal handler was connected.Flags: Run LastThe “keys-changed” signalGdkKeymap::keys-changedvoid
user_function (GdkKeymap *keymap,
gpointer user_data)The ::keys-changed signal is emitted when the mapping represented by
keymap
changes.Parameterskeymapthe object on which the signal is emitteduser_datauser data set when the signal handler was connected.Flags: Run LastThe “state-changed” signalGdkKeymap::state-changedvoid
user_function (GdkKeymap *keymap,
gpointer user_data)The ::state-changed signal is emitted when the state of the
keyboard changes, e.g when Caps Lock is turned on or off.
See gdk_keymap_get_caps_lock_state().Parameterskeymapthe object on which the signal is emitteduser_datauser data set when the signal handler was connected.Flags: Run Last
docs/reference/gdk/xml/events.xml 0000664 0001750 0001750 00000331122 13620320471 017167 0 ustar mclasen mclasen
]>
Events3GDK4 LibraryEventsFunctions for handling events from the window systemFunctionsGdkEvent *
gdk_event_new ()GdkEvent *
gdk_event_copy ()gbooleangdk_event_get_axes ()gbooleangdk_event_get_axis ()gbooleangdk_event_get_button ()gbooleangdk_event_get_click_count ()gbooleangdk_event_get_coords ()gbooleangdk_event_get_keycode ()gbooleangdk_event_get_keyval ()gbooleangdk_event_get_scroll_direction ()gbooleangdk_event_get_scroll_deltas ()gbooleangdk_event_is_scroll_stop_event ()gbooleangdk_event_get_state ()guint32gdk_event_get_time ()GdkSurface *
gdk_event_get_surface ()GdkEventTypegdk_event_get_event_type ()GdkEventSequence *
gdk_event_get_event_sequence ()gbooleangdk_events_get_angle ()gbooleangdk_events_get_center ()gbooleangdk_events_get_distance ()gbooleangdk_event_triggers_context_menu ()GdkSeat *
gdk_event_get_seat ()intgdk_event_get_scancode ()gbooleangdk_event_get_pointer_emulated ()gbooleangdk_event_get_crossing_detail ()gbooleangdk_event_get_crossing_mode ()GdkDrop *
gdk_event_get_drop ()gbooleangdk_event_get_focus_in ()gbooleangdk_event_get_grab_surface ()GList *
gdk_event_get_motion_history ()gbooleangdk_event_get_key_group ()gbooleangdk_event_get_key_is_modifier ()gbooleangdk_event_get_pad_axis_value ()gbooleangdk_event_get_pad_button ()gbooleangdk_event_get_pad_group_mode ()gbooleangdk_event_get_touch_emulating_pointer ()gbooleangdk_event_get_touchpad_angle_delta ()gbooleangdk_event_get_touchpad_deltas ()gbooleangdk_event_get_touchpad_gesture_n_fingers ()gbooleangdk_event_get_touchpad_gesture_phase ()gbooleangdk_event_get_touchpad_scale ()gbooleangdk_event_is_sent ()gbooleangdk_get_show_events ()voidgdk_set_show_events ()voidgdk_event_set_display ()GdkDisplay *
gdk_event_get_display ()GdkDevice *
gdk_event_get_device ()voidgdk_event_set_device ()GdkDevice *
gdk_event_get_source_device ()voidgdk_event_set_source_device ()GdkDeviceTool *
gdk_event_get_device_tool ()voidgdk_event_set_device_tool ()PropertiesGdkEventTypeevent-typeRead / Write / Construct OnlyTypes and ValuesGdkEventenumGdkEventTypeenumGdkEventMaskenumGdkScrollDirectionenumGdkCrossingModeenumGdkNotifyType#defineGDK_CURRENT_TIME#defineGDK_PRIORITY_EVENTS#defineGDK_PRIORITY_REDRAW#defineGDK_EVENT_PROPAGATE#defineGDK_EVENT_STOP#defineGDK_BUTTON_PRIMARY#defineGDK_BUTTON_MIDDLE#defineGDK_BUTTON_SECONDARYGdkEventSequenceObject Hierarchy GObject
╰── GdkEvent
Includes#include <gdk/gdk.h>
DescriptionThis section describes functions dealing with events from the window
system.In GTK+ applications the events are handled automatically by toplevel
widgets and passed on to the appropriate widgets, so these functions are
rarely needed.Functionsgdk_event_new ()gdk_event_newGdkEvent *
gdk_event_new (GdkEventType type);Creates a new event of the given type. All fields are set to 0.Parameterstypea GdkEventTypeReturns a newly-allocated GdkEvent. Free with g_object_unref()gdk_event_copy ()gdk_event_copyGdkEvent *
gdk_event_copy (const GdkEvent *event);Copies a GdkEvent, copying or incrementing the reference count of the
resources associated with it (e.g. GdkSurface’s and strings).Parameterseventa GdkEventReturnsa copy of event
. Free with g_object_unref(). [transfer full]gdk_event_get_axes ()gdk_event_get_axesgboolean
gdk_event_get_axes (GdkEvent *event,
gdouble **axes,
guint *n_axes);Extracts all axis values from an event.Parameterseventa GdkEventaxesthe array of values for all axes. [transfer none][out][array length=n_axes]n_axesthe length of array. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_axis ()gdk_event_get_axisgboolean
gdk_event_get_axis (const GdkEvent *event,
GdkAxisUse axis_use,
gdouble *value);Extract the axis value for a particular axis use from
an event structure.Parameterseventa GdkEventaxis_usethe axis use to look forvaluelocation to store the value found. [out]ReturnsTRUE if the specified axis was found, otherwise FALSEgdk_event_get_button ()gdk_event_get_buttongboolean
gdk_event_get_button (const GdkEvent *event,
guint *button);Extract the button number from an event.Parameterseventa GdkEventbuttonlocation to store mouse button number. [out]ReturnsTRUE if the event delivered a button numbergdk_event_get_click_count ()gdk_event_get_click_countgboolean
gdk_event_get_click_count (const GdkEvent *event,
guint *click_count);Extracts the click count from an event.Parameterseventa GdkEventclick_countlocation to store click count. [out]ReturnsTRUE if the event delivered a click countgdk_event_get_coords ()gdk_event_get_coordsgboolean
gdk_event_get_coords (const GdkEvent *event,
gdouble *x_win,
gdouble *y_win);Extract the event surface relative x/y coordinates from an event.Parameterseventa GdkEventx_winlocation to put event surface x coordinate. [out][optional]y_winlocation to put event surface y coordinate. [out][optional]ReturnsTRUE if the event delivered event surface coordinatesgdk_event_get_keycode ()gdk_event_get_keycodegboolean
gdk_event_get_keycode (const GdkEvent *event,
guint16 *keycode);Extracts the hardware keycode from an event.Also see gdk_event_get_scancode().Parameterseventa GdkEventkeycodelocation to store the keycode. [out]ReturnsTRUE if the event delivered a hardware keycodegdk_event_get_keyval ()gdk_event_get_keyvalgboolean
gdk_event_get_keyval (const GdkEvent *event,
guint *keyval);Extracts the keyval from an event.Parameterseventa GdkEventkeyvallocation to store the keyval. [out]ReturnsTRUE if the event delivered a key symbolgdk_event_get_scroll_direction ()gdk_event_get_scroll_directiongboolean
gdk_event_get_scroll_direction (const GdkEvent *event,
GdkScrollDirection *direction);Extracts the scroll direction from an event.Parameterseventa GdkEventdirectionlocation to store the scroll direction. [out]ReturnsTRUE if the event delivered a scroll directiongdk_event_get_scroll_deltas ()gdk_event_get_scroll_deltasgboolean
gdk_event_get_scroll_deltas (const GdkEvent *event,
gdouble *delta_x,
gdouble *delta_y);Retrieves the scroll deltas from a GdkEventParameterseventa GdkEventdelta_xreturn location for X delta. [out]delta_yreturn location for Y delta. [out]ReturnsTRUE if the event contains smooth scroll informationgdk_event_is_scroll_stop_event ()gdk_event_is_scroll_stop_eventgboolean
gdk_event_is_scroll_stop_event (const GdkEvent *event);Check whether a scroll event is a stop scroll event. Scroll sequences
with smooth scroll information may provide a stop scroll event once the
interaction with the device finishes, e.g. by lifting a finger. This
stop scroll event is the signal that a widget may trigger kinetic
scrolling based on the current velocity.Stop scroll events always have a delta of 0/0.Parameterseventa GdkEventReturnsTRUE if the event is a scroll stop eventgdk_event_get_state ()gdk_event_get_stategboolean
gdk_event_get_state (const GdkEvent *event,
GdkModifierType *state);If the event contains a “state” field, puts that field in state
.Otherwise stores an empty state (0).
event
may be NULL, in which case it’s treated
as if the event had no state field.Parameterseventa GdkEvent or NULL. [allow-none]statereturn location for state. [out]ReturnsTRUE if there was a state field in the eventgdk_event_get_time ()gdk_event_get_timeguint32
gdk_event_get_time (const GdkEvent *event);Returns the time stamp from event
, if there is one; otherwise
returns GDK_CURRENT_TIME. If event
is NULL, returns GDK_CURRENT_TIME.Parameterseventa GdkEventReturns time stamp field from eventgdk_event_get_surface ()gdk_event_get_surfaceGdkSurface *
gdk_event_get_surface (const GdkEvent *event);Extracts the GdkSurface associated with an event.Parameterseventa GdkEventReturnsThe GdkSurface associated with the event. [transfer none]gdk_event_get_event_type ()gdk_event_get_event_typeGdkEventType
gdk_event_get_event_type (const GdkEvent *event);Retrieves the type of the event.Parameterseventa GdkEventReturns a GdkEventTypegdk_event_get_event_sequence ()gdk_event_get_event_sequenceGdkEventSequence *
gdk_event_get_event_sequence (const GdkEvent *event);If event
if of type GDK_TOUCH_BEGIN, GDK_TOUCH_UPDATE,
GDK_TOUCH_END or GDK_TOUCH_CANCEL, returns the GdkEventSequence
to which the event belongs. Otherwise, return NULL.Parameterseventa GdkEventReturnsthe event sequence that the event belongs to. [transfer none]gdk_events_get_angle ()gdk_events_get_anglegboolean
gdk_events_get_angle (GdkEvent *event1,
GdkEvent *event2,
gdouble *angle);If both events contain X/Y information, this function will return TRUE
and return in angle
the relative angle from event1
to event2
. The rotation
direction for positive angles is from the positive X axis towards the positive
Y axis.Parametersevent1first GdkEventevent2second GdkEventanglereturn location for the relative angle between both events. [out]ReturnsTRUE if the angle could be calculated.gdk_events_get_center ()gdk_events_get_centergboolean
gdk_events_get_center (GdkEvent *event1,
GdkEvent *event2,
gdouble *x,
gdouble *y);If both events contain X/Y information, the center of both coordinates
will be returned in x
and y
.Parametersevent1first GdkEventevent2second GdkEventxreturn location for the X coordinate of the center. [out]yreturn location for the Y coordinate of the center. [out]ReturnsTRUE if the center could be calculated.gdk_events_get_distance ()gdk_events_get_distancegboolean
gdk_events_get_distance (GdkEvent *event1,
GdkEvent *event2,
gdouble *distance);If both events have X/Y information, the distance between both coordinates
(as in a straight line going from event1
to event2
) will be returned.Parametersevent1first GdkEventevent2second GdkEventdistancereturn location for the distance. [out]ReturnsTRUE if the distance could be calculated.gdk_event_triggers_context_menu ()gdk_event_triggers_context_menugboolean
gdk_event_triggers_context_menu (const GdkEvent *event);This function returns whether a GdkEventButton should trigger a
context menu, according to platform conventions. The right mouse
button always triggers context menus. Additionally, if
gdk_keymap_get_modifier_mask() returns a non-0 mask for
GDK_MODIFIER_INTENT_CONTEXT_MENU, then the left mouse button will
also trigger a context menu if this modifier is pressed.This function should always be used instead of simply checking for
event->button == GDK_BUTTON_SECONDARY.Parameterseventa GdkEvent, currently only button events are meaningful valuesReturnsTRUE if the event should trigger a context menu.gdk_event_get_seat ()gdk_event_get_seatGdkSeat *
gdk_event_get_seat (const GdkEvent *event);Returns the GdkSeat this event was generated for.Parameterseventa GdkEventReturnsThe GdkSeat of this event. [transfer none]gdk_event_get_scancode ()gdk_event_get_scancodeint
gdk_event_get_scancode (GdkEvent *event);Gets the keyboard low-level scancode of a key event.This is usually hardware_keycode. On Windows this is the high
word of WM_KEY{DOWN,UP} lParam which contains the scancode and
some extended flags.Parameterseventa GdkEventReturns The associated keyboard scancode or 0gdk_event_get_pointer_emulated ()gdk_event_get_pointer_emulatedgboolean
gdk_event_get_pointer_emulated (GdkEvent *event);Returns whether this event is an 'emulated' pointer event (typically
from a touch event), as opposed to a real one.Parameterseventa GdkEventReturnsTRUE if this event is emulatedgdk_event_get_crossing_detail ()gdk_event_get_crossing_detailgboolean
gdk_event_get_crossing_detail (const GdkEvent *event,
GdkNotifyType *detail);Extracts the crossing detail from an event.Parameterseventa GdkEventdetailreturn location for the crossing detail. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_crossing_mode ()gdk_event_get_crossing_modegboolean
gdk_event_get_crossing_mode (const GdkEvent *event,
GdkCrossingMode *mode);Extracts the crossing mode from an event.Parameterseventa GdkEventmodereturn location for the crossing mode. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_drop ()gdk_event_get_dropGdkDrop *
gdk_event_get_drop (const GdkEvent *event);Gets the GdkDrop from a DND event.Parameterseventa GdkEventReturnsthe drop. [transfer none][nullable]gdk_event_get_focus_in ()gdk_event_get_focus_ingboolean
gdk_event_get_focus_in (const GdkEvent *event,
gboolean *focus_in);Extracts whether this is a focus-in or focus-out event.Parameterseventa GdkEventfocus_inreturn location for focus direction. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_grab_surface ()gdk_event_get_grab_surfacegboolean
gdk_event_get_grab_surface (const GdkEvent *event,
GdkSurface **surface);Extracts the grab surface from a grab broken event.Parameterseventa GdkEventsurfaceReturn location for the grab surface. [out][transfer none]ReturnsTRUE on success, otherwise FALSEgdk_event_get_motion_history ()gdk_event_get_motion_historyGList *
gdk_event_get_motion_history (const GdkEvent *event);Retrieves the history of the event
motion, as a list of time and
coordinates.Parameterseventa GdkEvent of type GDK_MOTION_NOTIFYReturnsa list
of time and coordinates. [transfer container][element-type GdkTimeCoord][nullable]gdk_event_get_key_group ()gdk_event_get_key_groupgboolean
gdk_event_get_key_group (const GdkEvent *event,
guint *group);Extracts the key group from an event.Parameterseventa GdkEventgroupreturn location for the key group. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_key_is_modifier ()gdk_event_get_key_is_modifiergboolean
gdk_event_get_key_is_modifier (const GdkEvent *event,
gboolean *is_modifier);Extracts whether the event is a key event for
a modifier key.Parameterseventa GdkEventis_modifierreturn location for the value. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_pad_axis_value ()gdk_event_get_pad_axis_valuegboolean
gdk_event_get_pad_axis_value (const GdkEvent *event,
guint *index,
gdouble *value);Extracts the information from a pad event.Parameterseventa GdkEventindexReturn location for the axis index. [out]valueReturn location for the axis value. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_pad_button ()gdk_event_get_pad_buttongboolean
gdk_event_get_pad_button (const GdkEvent *event,
guint *button);Extracts information about the pressed button from
a pad event.Parameterseventa GdkEventbuttonReturn location for the button. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_pad_group_mode ()gdk_event_get_pad_group_modegboolean
gdk_event_get_pad_group_mode (const GdkEvent *event,
guint *group,
guint *mode);Extracts group and mode information from a pad event.Parameterseventa GdkEventgroupreturn location for the group. [out]modereturn location for the mode. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_touch_emulating_pointer ()gdk_event_get_touch_emulating_pointergboolean
gdk_event_get_touch_emulating_pointer (const GdkEvent *event,
gboolean *emulating);Extracts whether a touch event is emulating a pointer event.Parameterseventa GdkEventemulatingReturn location for information. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_touchpad_angle_delta ()gdk_event_get_touchpad_angle_deltagboolean
gdk_event_get_touchpad_angle_delta (const GdkEvent *event,
double *delta);Extracts the angle from a touchpad event.Parameterseventa GdkEventdeltaReturn location for angle. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_touchpad_deltas ()gdk_event_get_touchpad_deltasgboolean
gdk_event_get_touchpad_deltas (const GdkEvent *event,
double *dx,
double *dy);Extracts delta information from a touchpad event.Parameterseventa GdkEventdxreturn location for x. [out]dyreturn location for y. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_touchpad_gesture_n_fingers ()gdk_event_get_touchpad_gesture_n_fingersgboolean
gdk_event_get_touchpad_gesture_n_fingers
(const GdkEvent *event,
guint *n_fingers);Extracts the number of fingers from a touchpad event.Parameterseventa GdkEventn_fingersreturn location for the number of fingers. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_touchpad_gesture_phase ()gdk_event_get_touchpad_gesture_phasegboolean
gdk_event_get_touchpad_gesture_phase (const GdkEvent *event,
GdkTouchpadGesturePhase *phase);Extracts the touchpad gesture phase from a touchpad event.Parameterseventa GdkEventphaseReturn location for the gesture phase. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_get_touchpad_scale ()gdk_event_get_touchpad_scalegboolean
gdk_event_get_touchpad_scale (const GdkEvent *event,
double *scale);Extracts the scale from a touchpad event.Parameterseventa GdkEventscaleReturn location for scale. [out]ReturnsTRUE on success, otherwise FALSEgdk_event_is_sent ()gdk_event_is_sentgboolean
gdk_event_is_sent (const GdkEvent *event);Returns whether the event was sent explicitly.Parameterseventa GdkEventReturnsTRUE if the event was sent explicitlygdk_get_show_events ()gdk_get_show_eventsgboolean
gdk_get_show_events (void);Gets whether event debugging output is enabled.ReturnsTRUE if event debugging output is enabled.gdk_set_show_events ()gdk_set_show_eventsvoid
gdk_set_show_events (gboolean show_events);Sets whether a trace of received events is output.
Note that GTK+ must be compiled with debugging (that is,
configured using the --enable-debug option)
to use this option.Parametersshow_eventsTRUE to output event debugging information.gdk_event_set_display ()gdk_event_set_displayvoid
gdk_event_set_display (GdkEvent *event,
GdkDisplay *display);Sets the display that an event is associated with.Parameterseventa GdkEventdisplaya GdkDisplaygdk_event_get_display ()gdk_event_get_displayGdkDisplay *
gdk_event_get_display (const GdkEvent *event);Retrieves the GdkDisplay associated to the event
.Parameterseventa GdkEventReturnsa GdkDisplay. [transfer none][nullable]gdk_event_get_device ()gdk_event_get_deviceGdkDevice *
gdk_event_get_device (const GdkEvent *event);If the event contains a “device” field, this function will return
it, else it will return NULL.Parameterseventa GdkEvent.Returnsa GdkDevice, or NULL. [nullable][transfer none]gdk_event_set_device ()gdk_event_set_devicevoid
gdk_event_set_device (GdkEvent *event,
GdkDevice *device);Sets the device for event
to device
. The event must
have been allocated by GTK+, for instance, by
gdk_event_copy().Parameterseventa GdkEventdevicea GdkDevicegdk_event_get_source_device ()gdk_event_get_source_deviceGdkDevice *
gdk_event_get_source_device (const GdkEvent *event);This function returns the hardware (slave) GdkDevice that has
triggered the event, falling back to the virtual (master) device
(as in gdk_event_get_device()) if the event wasn’t caused by
interaction with a hardware device. This may happen for example
in synthesized crossing events after a GdkSurface updates its
geometry or a grab is acquired/released.If the event does not contain a device field, this function will
return NULL.Parameterseventa GdkEventReturnsa GdkDevice, or NULL. [nullable][transfer none]gdk_event_set_source_device ()gdk_event_set_source_devicevoid
gdk_event_set_source_device (GdkEvent *event,
GdkDevice *device);Sets the slave device for event
to device
.The event must have been allocated by GTK+,
for instance by gdk_event_copy().Parameterseventa GdkEventdevicea GdkDevicegdk_event_get_device_tool ()gdk_event_get_device_toolGdkDeviceTool *
gdk_event_get_device_tool (const GdkEvent *event);If the event was generated by a device that supports
different tools (eg. a tablet), this function will
return a GdkDeviceTool representing the tool that
caused the event. Otherwise, NULL will be returned.Note: the GdkDeviceTool<!-- -->s will be constant during
the application lifetime, if settings must be stored
persistently across runs, see gdk_device_tool_get_serial()Parameterseventa GdkEventReturnsThe current device tool, or NULL. [transfer none]gdk_event_set_device_tool ()gdk_event_set_device_toolvoid
gdk_event_set_device_tool (GdkEvent *event,
GdkDeviceTool *tool);Sets the device tool for this event, should be rarely used.Parameterseventa GdkEventtooltool to set on the event, or NULL. [nullable]Property DetailsThe “event-type” propertyGdkEvent:event-type “event-type” GdkEventTypeEvent type.Owner: GdkEventFlags: Read / Write / Construct OnlyDefault value: GDK_NOTHINGSee AlsoEvent Structures
docs/reference/gdk/gdk4-unused.txt 0000664 0001750 0001750 00000035000 13617646446 017253 0 ustar mclasen mclasen GDK_CAIRO_CONTEXT
GDK_CAIRO_CONTEXT_CLASS
GDK_CAIRO_CONTEXT_GET_CLASS
GDK_CAIRO_ERROR
GDK_EVENT
GDK_EVENT_TRANSLATOR
GDK_EVENT_TRANSLATOR_GET_IFACE
GDK_IS_CAIRO_CONTEXT
GDK_IS_CAIRO_CONTEXT_CLASS
GDK_IS_EVENT_TRANSLATOR
GDK_IS_SNAPSHOT
GDK_IS_VULKAN_CONTEXT
GDK_IS_WAYLAND_CAIRO_CONTEXT
GDK_IS_WAYLAND_CAIRO_CONTEXT_CLASS
GDK_IS_WAYLAND_CLIPBOARD
GDK_IS_WAYLAND_MONITOR
GDK_IS_WAYLAND_PRIMARY
GDK_IS_WAYLAND_SEAT
GDK_IS_WAYLAND_SEAT_CLASS
GDK_IS_WAYLAND_VULKAN_CONTEXT
GDK_IS_WAYLAND_VULKAN_CONTEXT_CLASS
GDK_IS_X11_CAIRO_CONTEXT
GDK_IS_X11_CAIRO_CONTEXT_CLASS
GDK_IS_X11_CLIPBOARD
GDK_IS_X11_DRAG
GDK_IS_X11_DRAG_CLASS
GDK_IS_X11_MONITOR
GDK_IS_X11_SELECTION_INPUT_STREAM
GDK_IS_X11_SELECTION_INPUT_STREAM_CLASS
GDK_IS_X11_SELECTION_OUTPUT_STREAM
GDK_IS_X11_SELECTION_OUTPUT_STREAM_CLASS
GDK_IS_X11_TEXT_LIST_CONVERTER
GDK_IS_X11_VULKAN_CONTEXT
GDK_IS_X11_VULKAN_CONTEXT_CLASS
GDK_MAJOR_VERSION
GDK_MICRO_VERSION
GDK_MINOR_VERSION
GDK_RENDERING_VULKAN
GDK_RGBA
GDK_SNAPSHOT
GDK_SURFACE_XDISPLAY
GDK_TYPE_ANCHOR_HINTS
GDK_TYPE_AXIS_FLAGS
GDK_TYPE_BYTE_ORDER
GDK_TYPE_CAIRO_CONTEXT
GDK_TYPE_CONTENT_FORMATS
GDK_TYPE_CONTENT_FORMATS_BUILDER
GDK_TYPE_CONTENT_PROVIDER
GDK_TYPE_DEVICE_PAD_FEATURE
GDK_TYPE_DEVICE_TOOL
GDK_TYPE_DEVICE_TOOL_TYPE
GDK_TYPE_DRAG_CANCEL_REASON
GDK_TYPE_EVENT_SEQUENCE
GDK_TYPE_EVENT_TRANSLATOR
GDK_TYPE_FRAME_CLOCK
GDK_TYPE_FRAME_CLOCK_PHASE
GDK_TYPE_FULLSCREEN_MODE
GDK_TYPE_MEMORY_FORMAT
GDK_TYPE_MODIFIER_INTENT
GDK_TYPE_PAINTABLE_FLAGS
GDK_TYPE_RECTANGLE
GDK_TYPE_SNAPSHOT
GDK_TYPE_SUBPIXEL_LAYOUT
GDK_TYPE_TOUCHPAD_GESTURE_PHASE
GDK_TYPE_VULKAN_CONTEXT
GDK_TYPE_VULKAN_ERROR
GDK_TYPE_WAYLAND_CAIRO_CONTEXT
GDK_TYPE_WAYLAND_CLIPBOARD
GDK_TYPE_WAYLAND_GL_CONTEXT
GDK_TYPE_WAYLAND_MONITOR
GDK_TYPE_WAYLAND_PRIMARY
GDK_TYPE_WAYLAND_SEAT
GDK_TYPE_WAYLAND_VULKAN_CONTEXT
GDK_TYPE_X11_CAIRO_CONTEXT
GDK_TYPE_X11_CLIPBOARD
GDK_TYPE_X11_DRAG
GDK_TYPE_X11_MONITOR
GDK_TYPE_X11_SELECTION_INPUT_STREAM
GDK_TYPE_X11_SELECTION_OUTPUT_STREAM
GDK_TYPE_X11_TEXT_LIST_CONVERTER
GDK_TYPE_X11_VULKAN_CONTEXT
GDK_VERSION_3_92
GDK_VERSION_3_94
GDK_VISUAL_XVISUAL
GDK_VULKAN_CONTEXT
GDK_VULKAN_ERROR
GDK_WAYLAND_CAIRO_CONTEXT
GDK_WAYLAND_CAIRO_CONTEXT_CLASS
GDK_WAYLAND_CAIRO_CONTEXT_GET_CLASS
GDK_WAYLAND_CLIPBOARD
GDK_WAYLAND_GL_CONTEXT
GDK_WAYLAND_IS_GL_CONTEXT
GDK_WAYLAND_MAX_THEME_SCALE
GDK_WAYLAND_MONITOR
GDK_WAYLAND_PRIMARY
GDK_WAYLAND_SEAT
GDK_WAYLAND_SEAT_CLASS
GDK_WAYLAND_SEAT_GET_CLASS
GDK_WAYLAND_THEME_SCALES_COUNT
GDK_WAYLAND_VULKAN_CONTEXT
GDK_WAYLAND_VULKAN_CONTEXT_CLASS
GDK_WAYLAND_VULKAN_CONTEXT_GET_CLASS
GDK_X11_CAIRO_CONTEXT
GDK_X11_CAIRO_CONTEXT_CLASS
GDK_X11_CAIRO_CONTEXT_GET_CLASS
GDK_X11_CLIPBOARD
GDK_X11_DRAG
GDK_X11_DRAG_CLASS
GDK_X11_DRAG_GET_CLASS
GDK_X11_IS_GL_CONTEXT
GDK_X11_MONITOR
GDK_X11_SELECTION_INPUT_STREAM
GDK_X11_SELECTION_INPUT_STREAM_CLASS
GDK_X11_SELECTION_INPUT_STREAM_GET_CLASS
GDK_X11_SELECTION_OUTPUT_STREAM
GDK_X11_SELECTION_OUTPUT_STREAM_CLASS
GDK_X11_SELECTION_OUTPUT_STREAM_GET_CLASS
GDK_X11_TEXT_LIST_CONVERTER
GDK_X11_VULKAN_CONTEXT
GDK_X11_VULKAN_CONTEXT_CLASS
GDK_X11_VULKAN_CONTEXT_GET_CLASS
GDK_ZWP_POINTER_GESTURES_V1_VERSION
G_DEFINE_CONSTRUCTOR
G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA
G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS
G_DEFINE_DESTRUCTOR
G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA
G_DEFINE_DESTRUCTOR_PRAGMA_ARGS
G_HAS_CONSTRUCTORS
G_MSVC_CTOR
G_MSVC_DTOR
GdkByteOrder
GdkCairoContextClass
GdkChildInfoX11
GdkContentProviderGetBytesFunc
GdkContentProviderGetValueFunc
GdkDeviceTool
GdkDrawingContext
GdkEventAny
GdkEventButton
GdkEventConfigure
GdkEventCrossing
GdkEventDND
GdkEventFocus
GdkEventGrabBroken
GdkEventKey
GdkEventMotion
GdkEventPadAxis
GdkEventPadButton
GdkEventPadGroupMode
GdkEventProximity
GdkEventScroll
GdkEventSetting
GdkEventSource
GdkEventTouch
GdkEventTouchpadPinch
GdkEventTouchpadSwipe
GdkEventTranslator
GdkEventTranslatorIface
GdkGLTexture
GdkMemoryTexture
GdkRoundTripCallback
GdkSendXEventCallback
GdkSnapshot
GdkSnapshotClass
GdkSurfaceMovedToRect
GdkToplevelX11
GdkTouchpadGesturePhase
GdkVisualType
GdkWaylandCairoContext
GdkWaylandCairoContextClass
GdkWaylandClipboard
GdkWaylandDevice
GdkWaylandDeviceClass
GdkWaylandDisplay
GdkWaylandDisplayClass
GdkWaylandGLContext
GdkWaylandGLContextClass
GdkWaylandMonitor
GdkWaylandMonitorClass
GdkWaylandPrimary
GdkWaylandSeat
GdkWaylandSeatClass
GdkWaylandSelection
GdkWaylandShellVariant
GdkWaylandSurface
GdkWaylandSurfaceClass
GdkWaylandVulkanContext
GdkWaylandVulkanContextClass
GdkX11AppLaunchContext
GdkX11AppLaunchContextClass
GdkX11CairoContext
GdkX11CairoContextClass
GdkX11Clipboard
GdkX11DeviceManagerCore
GdkX11DeviceManagerCoreClass
GdkX11DeviceManagerXI2
GdkX11DeviceManagerXI2Class
GdkX11DeviceXI2
GdkX11DeviceXI2Class
GdkX11Display
GdkX11DisplayClass
GdkX11Drag
GdkX11DragClass
GdkX11GLContext
GdkX11GLContextClass
GdkX11Keymap
GdkX11KeymapClass
GdkX11Monitor
GdkX11MonitorClass
GdkX11Screen
GdkX11ScreenClass
GdkX11SelectionInputStream
GdkX11SelectionInputStreamClass
GdkX11SelectionOutputHandler
GdkX11SelectionOutputStream
GdkX11SelectionOutputStreamClass
GdkX11Surface
GdkX11SurfaceClass
GdkX11TextListConverter
GdkX11Visual
GdkX11VisualClass
GdkX11VulkanContext
GdkX11VulkanContextClass
GdkXPositionInfo
GsdXftSettings
MWM_INFO_STARTUP_CUSTOM
MWM_INFO_STARTUP_STANDARD
MotifWmInfo
MwmInfo
PROP_MOTIF_WM_HINTS_ELEMENTS
PROP_MOTIF_WM_INFO_ELEMENTS
PROP_MWM_HINTS_ELEMENTS
PROP_MWM_INFO_ELEMENTS
PropMotifWmHints
PropMotifWmInfo
PropMwmHints
PropMwmInfo
VK_USE_PLATFORM_WAYLAND_KHR
VK_USE_PLATFORM_XLIB_KHR
WL_POINTER_HAS_FRAME
WL_SURFACE_HAS_BUFFER_SCALE
XDG_POPUP_CONFIGURE_SINCE_VERSION
XDG_POPUP_DESTROY
XDG_POPUP_DESTROY_SINCE_VERSION
XDG_POPUP_ERROR_ENUM
XDG_POPUP_GRAB
XDG_POPUP_GRAB_SINCE_VERSION
XDG_POPUP_POPUP_DONE_SINCE_VERSION
XDG_POSITIONER_ANCHOR_ENUM
XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_ENUM
XDG_POSITIONER_DESTROY
XDG_POSITIONER_DESTROY_SINCE_VERSION
XDG_POSITIONER_ERROR_ENUM
XDG_POSITIONER_GRAVITY_ENUM
XDG_POSITIONER_SET_ANCHOR
XDG_POSITIONER_SET_ANCHOR_RECT
XDG_POSITIONER_SET_ANCHOR_RECT_SINCE_VERSION
XDG_POSITIONER_SET_ANCHOR_SINCE_VERSION
XDG_POSITIONER_SET_CONSTRAINT_ADJUSTMENT
XDG_POSITIONER_SET_CONSTRAINT_ADJUSTMENT_SINCE_VERSION
XDG_POSITIONER_SET_GRAVITY
XDG_POSITIONER_SET_GRAVITY_SINCE_VERSION
XDG_POSITIONER_SET_OFFSET
XDG_POSITIONER_SET_OFFSET_SINCE_VERSION
XDG_POSITIONER_SET_SIZE
XDG_POSITIONER_SET_SIZE_SINCE_VERSION
XDG_SURFACE_ACK_CONFIGURE
XDG_SURFACE_ACK_CONFIGURE_SINCE_VERSION
XDG_SURFACE_CONFIGURE_SINCE_VERSION
XDG_SURFACE_DESTROY
XDG_SURFACE_DESTROY_SINCE_VERSION
XDG_SURFACE_ERROR_ENUM
XDG_SURFACE_GET_POPUP
XDG_SURFACE_GET_POPUP_SINCE_VERSION
XDG_SURFACE_GET_TOPLEVEL
XDG_SURFACE_GET_TOPLEVEL_SINCE_VERSION
XDG_SURFACE_SET_WINDOW_GEOMETRY
XDG_SURFACE_SET_WINDOW_GEOMETRY_SINCE_VERSION
XDG_TOPLEVEL_CLOSE_SINCE_VERSION
XDG_TOPLEVEL_CONFIGURE_SINCE_VERSION
XDG_TOPLEVEL_DESTROY
XDG_TOPLEVEL_DESTROY_SINCE_VERSION
XDG_TOPLEVEL_MOVE
XDG_TOPLEVEL_MOVE_SINCE_VERSION
XDG_TOPLEVEL_RESIZE
XDG_TOPLEVEL_RESIZE_EDGE_ENUM
XDG_TOPLEVEL_RESIZE_SINCE_VERSION
XDG_TOPLEVEL_SET_APP_ID
XDG_TOPLEVEL_SET_APP_ID_SINCE_VERSION
XDG_TOPLEVEL_SET_FULLSCREEN
XDG_TOPLEVEL_SET_FULLSCREEN_SINCE_VERSION
XDG_TOPLEVEL_SET_MAXIMIZED
XDG_TOPLEVEL_SET_MAXIMIZED_SINCE_VERSION
XDG_TOPLEVEL_SET_MAX_SIZE
XDG_TOPLEVEL_SET_MAX_SIZE_SINCE_VERSION
XDG_TOPLEVEL_SET_MINIMIZED
XDG_TOPLEVEL_SET_MINIMIZED_SINCE_VERSION
XDG_TOPLEVEL_SET_MIN_SIZE
XDG_TOPLEVEL_SET_MIN_SIZE_SINCE_VERSION
XDG_TOPLEVEL_SET_PARENT
XDG_TOPLEVEL_SET_PARENT_SINCE_VERSION
XDG_TOPLEVEL_SET_TITLE
XDG_TOPLEVEL_SET_TITLE_SINCE_VERSION
XDG_TOPLEVEL_SHOW_WINDOW_MENU
XDG_TOPLEVEL_SHOW_WINDOW_MENU_SINCE_VERSION
XDG_TOPLEVEL_STATE_ENUM
XDG_TOPLEVEL_STATE_TILED_BOTTOM_SINCE_VERSION
XDG_TOPLEVEL_STATE_TILED_LEFT_SINCE_VERSION
XDG_TOPLEVEL_STATE_TILED_RIGHT_SINCE_VERSION
XDG_TOPLEVEL_STATE_TILED_TOP_SINCE_VERSION
XDG_TOPLEVEL_UNSET_FULLSCREEN
XDG_TOPLEVEL_UNSET_FULLSCREEN_SINCE_VERSION
XDG_TOPLEVEL_UNSET_MAXIMIZED
XDG_TOPLEVEL_UNSET_MAXIMIZED_SINCE_VERSION
XDG_WM_BASE_CREATE_POSITIONER
XDG_WM_BASE_CREATE_POSITIONER_SINCE_VERSION
XDG_WM_BASE_DESTROY
XDG_WM_BASE_DESTROY_SINCE_VERSION
XDG_WM_BASE_ERROR_ENUM
XDG_WM_BASE_GET_XDG_SURFACE
XDG_WM_BASE_GET_XDG_SURFACE_SINCE_VERSION
XDG_WM_BASE_PING_SINCE_VERSION
XDG_WM_BASE_PONG
XDG_WM_BASE_PONG_SINCE_VERSION
XcursorBool
XcursorDim
XcursorImage
XcursorImages
XcursorPixel
XcursorUInt
ZXDG_OUTPUT_MANAGER_V1_DESTROY
ZXDG_OUTPUT_MANAGER_V1_DESTROY_SINCE_VERSION
ZXDG_OUTPUT_MANAGER_V1_GET_XDG_OUTPUT
ZXDG_OUTPUT_MANAGER_V1_GET_XDG_OUTPUT_SINCE_VERSION
ZXDG_OUTPUT_V1_DESCRIPTION_SINCE_VERSION
ZXDG_OUTPUT_V1_DESTROY
ZXDG_OUTPUT_V1_DESTROY_SINCE_VERSION
ZXDG_OUTPUT_V1_DONE_SINCE_VERSION
ZXDG_OUTPUT_V1_LOGICAL_POSITION_SINCE_VERSION
ZXDG_OUTPUT_V1_LOGICAL_SIZE_SINCE_VERSION
ZXDG_OUTPUT_V1_NAME_SINCE_VERSION
file_transfer_portal_register
file_transfer_portal_register_files
file_transfer_portal_register_files_finish
file_transfer_portal_retrieve_files
file_transfer_portal_retrieve_files_finish
gdk_content_provider_new_with_callback
gdk_content_provider_new_with_formats
gdk_display_get_startup_notification_id
gdk_drop_has_value
gdk_event_set_coords
gdk_event_set_keyval
gdk_event_source_xevent
gdk_pixbuf_get_from_texture
gdk_profiler_add_mark
gdk_profiler_define_counter
gdk_profiler_define_int_counter
gdk_profiler_is_running
gdk_profiler_set_counter
gdk_profiler_set_int_counter
gdk_profiler_start
gdk_profiler_stop
gdk_rgba_parser_parse
gdk_snapshot_get_type
gdk_surface_move_to_rect_helper
gdk_surface_set_state
gdk_surface_translate_coordinates
gdk_wayland_cairo_context_get_type
gdk_wayland_clipboard_claim_remote
gdk_wayland_clipboard_get_type
gdk_wayland_clipboard_new
gdk_wayland_device_get_data_device
gdk_wayland_device_get_drop_context
gdk_wayland_device_get_node_path
gdk_wayland_device_pad_set_feedback
gdk_wayland_device_set_selection
gdk_wayland_device_unset_touch_grab
gdk_wayland_display_get_output_refresh_rate
gdk_wayland_display_get_output_scale
gdk_wayland_display_get_startup_notification_id
gdk_wayland_display_get_toplevel_surfaces
gdk_wayland_display_get_wl_output
gdk_wayland_display_init_gl
gdk_wayland_display_make_gl_context_current
gdk_wayland_display_prefers_ssd
gdk_wayland_display_set_cursor_theme
gdk_wayland_display_set_startup_notification_id
gdk_wayland_display_system_bell
gdk_wayland_drop_new
gdk_wayland_drop_set_action
gdk_wayland_drop_set_source_actions
gdk_wayland_gl_context_get_type
gdk_wayland_monitor_get_type
gdk_wayland_monitor_get_wl_output
gdk_wayland_primary_get_type
gdk_wayland_primary_new
gdk_wayland_seat_get_type
gdk_wayland_seat_set_drag
gdk_wayland_seat_set_global_cursor
gdk_wayland_seat_update_cursor_scale
gdk_wayland_surface_announce_csd
gdk_wayland_surface_attach_image
gdk_wayland_surface_create_gl_context
gdk_wayland_surface_get_dummy_egl_surface
gdk_wayland_surface_get_egl_surface
gdk_wayland_surface_get_gtk_surface
gdk_wayland_surface_get_wl_output
gdk_wayland_surface_inhibit_shortcuts
gdk_wayland_surface_new_subsurface
gdk_wayland_surface_request_frame
gdk_wayland_surface_restore_shortcuts
gdk_wayland_surface_set_dbus_properties_libgtk_only
gdk_wayland_surface_sync
gdk_wayland_surface_update_scale
gdk_wayland_vulkan_context_get_type
gdk_x11_cairo_context_get_type
gdk_x11_clipboard_formats_to_atoms
gdk_x11_clipboard_formats_to_targets
gdk_x11_clipboard_get_type
gdk_x11_clipboard_new
gdk_x11_display_get_max_request_size
gdk_x11_display_get_primary_monitor
gdk_x11_display_get_screen
gdk_x11_display_make_gl_context_current
gdk_x11_display_request_selection_notification
gdk_x11_drag_get_type
gdk_x11_event_source_add_translator
gdk_x11_event_source_new
gdk_x11_event_source_select_events
gdk_x11_gl_context_get_type
gdk_x11_monitor_get_output
gdk_x11_monitor_get_type
gdk_x11_screen_get_setting
gdk_x11_screen_get_work_area
gdk_x11_screen_init_gl
gdk_x11_selection_input_stream_get_type
gdk_x11_selection_input_stream_new_async
gdk_x11_selection_input_stream_new_finish
gdk_x11_selection_output_stream_get_type
gdk_x11_selection_output_streams_create
gdk_x11_surface_create_gl_context
gdk_x11_surface_get_group
gdk_x11_surface_move
gdk_x11_surface_pre_damage
gdk_x11_surface_set_group
gdk_x11_surface_set_skip_pager_hint
gdk_x11_surface_set_skip_taskbar_hint
gdk_x11_surface_set_urgency_hint
gdk_x11_text_list_converter_from_utf8_new
gdk_x11_text_list_converter_get_type
gdk_x11_text_list_converter_to_utf8_new
gdk_x11_vulkan_context_get_type
gdk_xsettings_manager_window_filter
gdk_xsettings_root_window_filter
os_create_anonymous_file
translate_wm_button_layout_to_gtk
wl_buffer
wl_cursor
wl_cursor_image
wl_cursor_image_get_buffer
wl_cursor_theme
wl_cursor_theme_create
wl_cursor_theme_destroy
wl_cursor_theme_get_cursor
wl_output
wl_seat
wl_shm
wl_surface
xcursor_images_destroy
xcursor_load_images
xdg_popup
xdg_popup_add_listener
xdg_popup_destroy
xdg_popup_error
xdg_popup_get_user_data
xdg_popup_get_version
xdg_popup_grab
xdg_popup_interface
xdg_popup_listener
xdg_popup_set_user_data
xdg_positioner
xdg_positioner_anchor
xdg_positioner_constraint_adjustment
xdg_positioner_destroy
xdg_positioner_error
xdg_positioner_get_user_data
xdg_positioner_get_version
xdg_positioner_gravity
xdg_positioner_interface
xdg_positioner_set_anchor
xdg_positioner_set_anchor_rect
xdg_positioner_set_constraint_adjustment
xdg_positioner_set_gravity
xdg_positioner_set_offset
xdg_positioner_set_size
xdg_positioner_set_user_data
xdg_surface
xdg_surface_ack_configure
xdg_surface_add_listener
xdg_surface_destroy
xdg_surface_error
xdg_surface_get_popup
xdg_surface_get_toplevel
xdg_surface_get_user_data
xdg_surface_get_version
xdg_surface_interface
xdg_surface_listener
xdg_surface_set_user_data
xdg_surface_set_window_geometry
xdg_toplevel
xdg_toplevel_add_listener
xdg_toplevel_destroy
xdg_toplevel_get_user_data
xdg_toplevel_get_version
xdg_toplevel_interface
xdg_toplevel_listener
xdg_toplevel_move
xdg_toplevel_resize
xdg_toplevel_resize_edge
xdg_toplevel_set_app_id
xdg_toplevel_set_fullscreen
xdg_toplevel_set_max_size
xdg_toplevel_set_maximized
xdg_toplevel_set_min_size
xdg_toplevel_set_minimized
xdg_toplevel_set_parent
xdg_toplevel_set_title
xdg_toplevel_set_user_data
xdg_toplevel_show_window_menu
xdg_toplevel_state
xdg_toplevel_unset_fullscreen
xdg_toplevel_unset_maximized
xdg_wm_base
xdg_wm_base_add_listener
xdg_wm_base_create_positioner
xdg_wm_base_destroy
xdg_wm_base_error
xdg_wm_base_get_user_data
xdg_wm_base_get_version
xdg_wm_base_get_xdg_surface
xdg_wm_base_interface
xdg_wm_base_listener
xdg_wm_base_pong
xdg_wm_base_set_user_data
zxdg_output_manager_v1
zxdg_output_manager_v1_destroy
zxdg_output_manager_v1_get_user_data
zxdg_output_manager_v1_get_version
zxdg_output_manager_v1_get_xdg_output
zxdg_output_manager_v1_interface
zxdg_output_manager_v1_set_user_data
zxdg_output_v1
zxdg_output_v1_add_listener
zxdg_output_v1_destroy
zxdg_output_v1_get_user_data
zxdg_output_v1_get_version
zxdg_output_v1_interface
zxdg_output_v1_listener
zxdg_output_v1_set_user_data
docs/reference/gdk/sgml.stamp 0000664 0001750 0001750 00000000011 13620320471 016337 0 ustar mclasen mclasen timestamp docs/reference/gdk/html.stamp 0000664 0001750 0001750 00000000011 13620320501 016333 0 ustar mclasen mclasen timestamp docs/reference/gdk/gdk4-undocumented.txt 0000664 0001750 0001750 00000000324 13617650761 020436 0 ustar mclasen mclasen 99% symbol docs coverage.
844 symbols documented.
1 symbols incomplete.
12 not documented.
Airbrush
Brush
Eraser
Finger
GdkContentProviderClass ()
GdkFrameClock
GdkPaintable
Lens
Mouse
Pen
Pencil
finger
docs/reference/gdk/gdk4-undeclared.txt 0000664 0001750 0001750 00000000000 13617650761 020041 0 ustar mclasen mclasen docs/reference/gdk/html/ 0000775 0001750 0001750 00000000000 13620320501 015275 5 ustar mclasen mclasen docs/reference/gdk/html/rotated-text.png 0000664 0001750 0001750 00000036136 13620320467 020453 0 ustar mclasen mclasen PNG
IHDR 'O pHYs tIME8#FH IDATxohSYwNBtBS*`?4Cq ڠ#h;*UЉCZ4Sˤ*42)LOBSȁ
o~?4IMcS6M49kA
_[@$z HA A'bQEo%>tdKQ})X G<l9L˜DOyO;14-1(w/'?l/?XYV!EPD}Ŭ? VW~MJ~{(U#8JDAT`5,Ƌ0BYD8bF9$^wGa3_s
/1=%ң;?
Cmo~K}=9kcYgG̰/@dԷcQ(FB>b{ Ø/ :ٖz
{r,eXⶵǜs5mS0o