
;; Objects for namespace Gdk

(define-object CicpParamsClass
  (in-module "Gdk")
  (c-name "GdkCicpParamsClass")
  (gtype-id "GDK_TYPE_CICP_PARAMS_CLASS")
)

(define-object ColorState
  (in-module "Gdk")
  (c-name "GdkColorState")
  (gtype-id "GDK_TYPE_COLOR_STATE")
)

(define-object ContentFormats
  (in-module "Gdk")
  (c-name "GdkContentFormats")
  (gtype-id "GDK_TYPE_CONTENT_FORMATS")
)

(define-object ContentFormatsBuilder
  (in-module "Gdk")
  (c-name "GdkContentFormatsBuilder")
  (gtype-id "GDK_TYPE_CONTENT_FORMATS_BUILDER")
)

(define-object ContentProviderClass
  (in-module "Gdk")
  (c-name "GdkContentProviderClass")
  (gtype-id "GDK_TYPE_CONTENT_PROVIDER_CLASS")
)

(define-object DevicePadInterface
  (in-module "Gdk")
  (c-name "GdkDevicePadInterface")
  (gtype-id "GDK_TYPE_DEVICE_PAD_INTERFACE")
)

(define-object DmabufFormats
  (in-module "Gdk")
  (c-name "GdkDmabufFormats")
  (gtype-id "GDK_TYPE_DMABUF_FORMATS")
)

(define-object DmabufTextureBuilderClass
  (in-module "Gdk")
  (c-name "GdkDmabufTextureBuilderClass")
  (gtype-id "GDK_TYPE_DMABUF_TEXTURE_BUILDER_CLASS")
)

(define-object DmabufTextureClass
  (in-module "Gdk")
  (c-name "GdkDmabufTextureClass")
  (gtype-id "GDK_TYPE_DMABUF_TEXTURE_CLASS")
)

(define-object DragSurfaceInterface
  (in-module "Gdk")
  (c-name "GdkDragSurfaceInterface")
  (gtype-id "GDK_TYPE_DRAG_SURFACE_INTERFACE")
)

(define-object DragSurfaceSize
  (in-module "Gdk")
  (c-name "GdkDragSurfaceSize")
  (gtype-id "GDK_TYPE_DRAG_SURFACE_SIZE")
)

(define-object EventSequence
  (in-module "Gdk")
  (c-name "GdkEventSequence")
  (gtype-id "GDK_TYPE_EVENT_SEQUENCE")
)

(define-object FileList
  (in-module "Gdk")
  (c-name "GdkFileList")
  (gtype-id "GDK_TYPE_FILE_LIST")
)

(define-object FrameClockClass
  (in-module "Gdk")
  (c-name "GdkFrameClockClass")
  (gtype-id "GDK_TYPE_FRAME_CLOCK_CLASS")
)

(define-object FrameClockPrivate
  (in-module "Gdk")
  (c-name "GdkFrameClockPrivate")
  (gtype-id "GDK_TYPE_FRAME_CLOCK_PRIVATE")
)

(define-object FrameTimings
  (in-module "Gdk")
  (c-name "GdkFrameTimings")
  (gtype-id "GDK_TYPE_FRAME_TIMINGS")
)

(define-object GLTextureBuilderClass
  (in-module "Gdk")
  (c-name "GdkGLTextureBuilderClass")
  (gtype-id "GDK_TYPE_GL_TEXTURE_BUILDER_CLASS")
)

(define-object GLTextureClass
  (in-module "Gdk")
  (c-name "GdkGLTextureClass")
  (gtype-id "GDK_TYPE_GL_TEXTURE_CLASS")
)

(define-object KeymapKey
  (in-module "Gdk")
  (c-name "GdkKeymapKey")
  (gtype-id "GDK_TYPE_KEYMAP_KEY")
)

(define-object MemoryTextureBuilderClass
  (in-module "Gdk")
  (c-name "GdkMemoryTextureBuilderClass")
  (gtype-id "GDK_TYPE_MEMORY_TEXTURE_BUILDER_CLASS")
)

(define-object MemoryTextureClass
  (in-module "Gdk")
  (c-name "GdkMemoryTextureClass")
  (gtype-id "GDK_TYPE_MEMORY_TEXTURE_CLASS")
)

(define-object MonitorClass
  (in-module "Gdk")
  (c-name "GdkMonitorClass")
  (gtype-id "GDK_TYPE_MONITOR_CLASS")
)

(define-object PaintableInterface
  (in-module "Gdk")
  (c-name "GdkPaintableInterface")
  (gtype-id "GDK_TYPE_PAINTABLE_INTERFACE")
)

(define-object PopupInterface
  (in-module "Gdk")
  (c-name "GdkPopupInterface")
  (gtype-id "GDK_TYPE_POPUP_INTERFACE")
)

(define-object PopupLayout
  (in-module "Gdk")
  (c-name "GdkPopupLayout")
  (gtype-id "GDK_TYPE_POPUP_LAYOUT")
)

(define-object RGBA
  (in-module "Gdk")
  (c-name "GdkRGBA")
  (gtype-id "GDK_TYPE_RGBA")
)

(define-object Rectangle
  (in-module "Gdk")
  (c-name "GdkRectangle")
  (gtype-id "GDK_TYPE_RECTANGLE")
)

(define-object SnapshotClass
  (in-module "Gdk")
  (c-name "GdkSnapshotClass")
  (gtype-id "GDK_TYPE_SNAPSHOT_CLASS")
)

(define-object SurfaceClass
  (in-module "Gdk")
  (c-name "GdkSurfaceClass")
  (gtype-id "GDK_TYPE_SURFACE_CLASS")
)

(define-object TextureClass
  (in-module "Gdk")
  (c-name "GdkTextureClass")
  (gtype-id "GDK_TYPE_TEXTURE_CLASS")
)

(define-object TextureDownloader
  (in-module "Gdk")
  (c-name "GdkTextureDownloader")
  (gtype-id "GDK_TYPE_TEXTURE_DOWNLOADER")
)

(define-object TimeCoord
  (in-module "Gdk")
  (c-name "GdkTimeCoord")
  (gtype-id "GDK_TYPE_TIME_COORD")
)

(define-object ToplevelInterface
  (in-module "Gdk")
  (c-name "GdkToplevelInterface")
  (gtype-id "GDK_TYPE_TOPLEVEL_INTERFACE")
)

(define-object ToplevelLayout
  (in-module "Gdk")
  (c-name "GdkToplevelLayout")
  (gtype-id "GDK_TYPE_TOPLEVEL_LAYOUT")
)

(define-object ToplevelSize
  (in-module "Gdk")
  (c-name "GdkToplevelSize")
  (gtype-id "GDK_TYPE_TOPLEVEL_SIZE")
)

(define-object DevicePad
  (in-module "Gdk")
  (c-name "GdkDevicePad")
  (gtype-id "GDK_TYPE_DEVICE_PAD")
)

(define-object DragSurface
  (in-module "Gdk")
  (c-name "GdkDragSurface")
  (gtype-id "GDK_TYPE_DRAG_SURFACE")
)

(define-object Paintable
  (in-module "Gdk")
  (c-name "GdkPaintable")
  (gtype-id "GDK_TYPE_PAINTABLE")
)

(define-object Popup
  (in-module "Gdk")
  (c-name "GdkPopup")
  (gtype-id "GDK_TYPE_POPUP")
)

(define-object Toplevel
  (in-module "Gdk")
  (c-name "GdkToplevel")
  (gtype-id "GDK_TYPE_TOPLEVEL")
)

(define-object AppLaunchContext
  (in-module "Gdk")
  (c-name "GdkAppLaunchContext")
  (gtype-id "GDK_TYPE_APP_LAUNCH_CONTEXT")
)

(define-object ButtonEvent
  (in-module "Gdk")
  (c-name "GdkButtonEvent")
  (gtype-id "GDK_TYPE_BUTTON_EVENT")
)

(define-object CairoContext
  (in-module "Gdk")
  (c-name "GdkCairoContext")
  (gtype-id "GDK_TYPE_CAIRO_CONTEXT")
)

(define-object CicpParams
  (in-module "Gdk")
  (c-name "GdkCicpParams")
  (gtype-id "GDK_TYPE_CICP_PARAMS")
)

(define-object Clipboard
  (in-module "Gdk")
  (c-name "GdkClipboard")
  (gtype-id "GDK_TYPE_CLIPBOARD")
)

(define-object ContentDeserializer
  (in-module "Gdk")
  (c-name "GdkContentDeserializer")
  (gtype-id "GDK_TYPE_CONTENT_DESERIALIZER")
)

(define-object ContentProvider
  (in-module "Gdk")
  (c-name "GdkContentProvider")
  (gtype-id "GDK_TYPE_CONTENT_PROVIDER")
)

(define-object ContentSerializer
  (in-module "Gdk")
  (c-name "GdkContentSerializer")
  (gtype-id "GDK_TYPE_CONTENT_SERIALIZER")
)

(define-object CrossingEvent
  (in-module "Gdk")
  (c-name "GdkCrossingEvent")
  (gtype-id "GDK_TYPE_CROSSING_EVENT")
)

(define-object Cursor
  (in-module "Gdk")
  (c-name "GdkCursor")
  (gtype-id "GDK_TYPE_CURSOR")
)

(define-object DNDEvent
  (in-module "Gdk")
  (c-name "GdkDNDEvent")
  (gtype-id "GDK_TYPE_DND_EVENT")
)

(define-object DeleteEvent
  (in-module "Gdk")
  (c-name "GdkDeleteEvent")
  (gtype-id "GDK_TYPE_DELETE_EVENT")
)

(define-object Device
  (in-module "Gdk")
  (c-name "GdkDevice")
  (gtype-id "GDK_TYPE_DEVICE")
)

(define-object DeviceTool
  (in-module "Gdk")
  (c-name "GdkDeviceTool")
  (gtype-id "GDK_TYPE_DEVICE_TOOL")
)

(define-object Display
  (in-module "Gdk")
  (c-name "GdkDisplay")
  (gtype-id "GDK_TYPE_DISPLAY")
)

(define-object DisplayManager
  (in-module "Gdk")
  (c-name "GdkDisplayManager")
  (gtype-id "GDK_TYPE_DISPLAY_MANAGER")
)

(define-object DmabufTexture
  (in-module "Gdk")
  (c-name "GdkDmabufTexture")
  (gtype-id "GDK_TYPE_DMABUF_TEXTURE")
)

(define-object DmabufTextureBuilder
  (in-module "Gdk")
  (c-name "GdkDmabufTextureBuilder")
  (gtype-id "GDK_TYPE_DMABUF_TEXTURE_BUILDER")
)

(define-object Drag
  (in-module "Gdk")
  (c-name "GdkDrag")
  (gtype-id "GDK_TYPE_DRAG")
)

(define-object DrawContext
  (in-module "Gdk")
  (c-name "GdkDrawContext")
  (gtype-id "GDK_TYPE_DRAW_CONTEXT")
)

(define-object Drop
  (in-module "Gdk")
  (c-name "GdkDrop")
  (gtype-id "GDK_TYPE_DROP")
)

(define-object Event
  (in-module "Gdk")
  (c-name "GdkEvent")
  (gtype-id "GDK_TYPE_EVENT")
)

(define-object FocusEvent
  (in-module "Gdk")
  (c-name "GdkFocusEvent")
  (gtype-id "GDK_TYPE_FOCUS_EVENT")
)

(define-object FrameClock
  (in-module "Gdk")
  (c-name "GdkFrameClock")
  (gtype-id "GDK_TYPE_FRAME_CLOCK")
)

(define-object GLContext
  (in-module "Gdk")
  (c-name "GdkGLContext")
  (gtype-id "GDK_TYPE_GL_CONTEXT")
)

(define-object GLTexture
  (in-module "Gdk")
  (c-name "GdkGLTexture")
  (gtype-id "GDK_TYPE_GL_TEXTURE")
)

(define-object GLTextureBuilder
  (in-module "Gdk")
  (c-name "GdkGLTextureBuilder")
  (gtype-id "GDK_TYPE_GL_TEXTURE_BUILDER")
)

(define-object GrabBrokenEvent
  (in-module "Gdk")
  (c-name "GdkGrabBrokenEvent")
  (gtype-id "GDK_TYPE_GRAB_BROKEN_EVENT")
)

(define-object KeyEvent
  (in-module "Gdk")
  (c-name "GdkKeyEvent")
  (gtype-id "GDK_TYPE_KEY_EVENT")
)

(define-object MemoryTexture
  (in-module "Gdk")
  (c-name "GdkMemoryTexture")
  (gtype-id "GDK_TYPE_MEMORY_TEXTURE")
)

(define-object MemoryTextureBuilder
  (in-module "Gdk")
  (c-name "GdkMemoryTextureBuilder")
  (gtype-id "GDK_TYPE_MEMORY_TEXTURE_BUILDER")
)

(define-object Monitor
  (in-module "Gdk")
  (c-name "GdkMonitor")
  (gtype-id "GDK_TYPE_MONITOR")
)

(define-object MotionEvent
  (in-module "Gdk")
  (c-name "GdkMotionEvent")
  (gtype-id "GDK_TYPE_MOTION_EVENT")
)

(define-object PadEvent
  (in-module "Gdk")
  (c-name "GdkPadEvent")
  (gtype-id "GDK_TYPE_PAD_EVENT")
)

(define-object ProximityEvent
  (in-module "Gdk")
  (c-name "GdkProximityEvent")
  (gtype-id "GDK_TYPE_PROXIMITY_EVENT")
)

(define-object ScrollEvent
  (in-module "Gdk")
  (c-name "GdkScrollEvent")
  (gtype-id "GDK_TYPE_SCROLL_EVENT")
)

(define-object Seat
  (in-module "Gdk")
  (c-name "GdkSeat")
  (gtype-id "GDK_TYPE_SEAT")
)

(define-object Snapshot
  (in-module "Gdk")
  (c-name "GdkSnapshot")
  (gtype-id "GDK_TYPE_SNAPSHOT")
)

(define-object Surface
  (in-module "Gdk")
  (c-name "GdkSurface")
  (gtype-id "GDK_TYPE_SURFACE")
)

(define-object Texture
  (in-module "Gdk")
  (c-name "GdkTexture")
  (gtype-id "GDK_TYPE_TEXTURE")
)

(define-object TouchEvent
  (in-module "Gdk")
  (c-name "GdkTouchEvent")
  (gtype-id "GDK_TYPE_TOUCH_EVENT")
)

(define-object TouchpadEvent
  (in-module "Gdk")
  (c-name "GdkTouchpadEvent")
  (gtype-id "GDK_TYPE_TOUCHPAD_EVENT")
)

(define-object VulkanContext
  (in-module "Gdk")
  (c-name "GdkVulkanContext")
  (gtype-id "GDK_TYPE_VULKAN_CONTEXT")
)


;; Functions for namespace Gdk

(define-function gdk_cairo_draw_from_gl
  (c-name "gdk_cairo_draw_from_gl")
  (return-type "none")
  (parameters
    '("cairo_t*" "cr")
    '("GdkSurface*" "surface")
    '("int" "source")
    '("int" "source_type")
    '("int" "buffer_scale")
    '("int" "x")
    '("int" "y")
    '("int" "width")
    '("int" "height")
  )
)

(define-function gdk_cairo_rectangle
  (c-name "gdk_cairo_rectangle")
  (return-type "none")
  (parameters
    '("cairo_t*" "cr")
    '("const-GdkRectangle*" "rectangle")
  )
)

(define-function gdk_cairo_region
  (c-name "gdk_cairo_region")
  (return-type "none")
  (parameters
    '("cairo_t*" "cr")
    '("const-cairo_region_t*" "region")
  )
)

(define-function gdk_cairo_region_create_from_surface
  (c-name "gdk_cairo_region_create_from_surface")
  (return-type "cairo_region_t*")
  (parameters
    '("cairo_surface_t*" "surface")
  )
)

(define-function gdk_cairo_set_source_pixbuf
  (c-name "gdk_cairo_set_source_pixbuf")
  (return-type "none")
  (parameters
    '("cairo_t*" "cr")
    '("const-GdkPixbuf*" "pixbuf")
    '("double" "pixbuf_x")
    '("double" "pixbuf_y")
  )
)

(define-function gdk_cairo_set_source_rgba
  (c-name "gdk_cairo_set_source_rgba")
  (return-type "none")
  (parameters
    '("cairo_t*" "cr")
    '("const-GdkRGBA*" "rgba")
  )
)

(define-function gdk_color_state_get_oklab
  (c-name "gdk_color_state_get_oklab")
  (return-type "GdkColorState*")
)

(define-function gdk_color_state_get_oklch
  (c-name "gdk_color_state_get_oklch")
  (return-type "GdkColorState*")
)

(define-function gdk_color_state_get_rec2100_linear
  (c-name "gdk_color_state_get_rec2100_linear")
  (return-type "GdkColorState*")
)

(define-function gdk_color_state_get_rec2100_pq
  (c-name "gdk_color_state_get_rec2100_pq")
  (return-type "GdkColorState*")
)

(define-function gdk_color_state_get_srgb
  (c-name "gdk_color_state_get_srgb")
  (return-type "GdkColorState*")
)

(define-function gdk_color_state_get_srgb_linear
  (c-name "gdk_color_state_get_srgb_linear")
  (return-type "GdkColorState*")
)

(define-function gdk_content_deserialize_async
  (c-name "gdk_content_deserialize_async")
  (return-type "none")
  (parameters
    '("GInputStream*" "stream")
    '("const-char*" "mime_type")
    '("GType" "type")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function gdk_content_deserialize_finish
  (c-name "gdk_content_deserialize_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GValue*" "value")
    '("GError**" "error")
  )
)

(define-function gdk_content_formats_parse
  (c-name "gdk_content_formats_parse")
  (return-type "GdkContentFormats*")
  (parameters
    '("const-char*" "string")
  )
)

(define-function gdk_content_register_deserializer
  (c-name "gdk_content_register_deserializer")
  (return-type "none")
  (parameters
    '("const-char*" "mime_type")
    '("GType" "type")
    '("GdkContentDeserializeFunc" "deserialize")
    '("gpointer" "data")
    '("GDestroyNotify" "notify")
  )
)

(define-function gdk_content_register_serializer
  (c-name "gdk_content_register_serializer")
  (return-type "none")
  (parameters
    '("GType" "type")
    '("const-char*" "mime_type")
    '("GdkContentSerializeFunc" "serialize")
    '("gpointer" "data")
    '("GDestroyNotify" "notify")
  )
)

(define-function gdk_content_serialize_async
  (c-name "gdk_content_serialize_async")
  (return-type "none")
  (parameters
    '("GOutputStream*" "stream")
    '("const-char*" "mime_type")
    '("const-GValue*" "value")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-function gdk_content_serialize_finish
  (c-name "gdk_content_serialize_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function gdk_dmabuf_error_quark
  (c-name "gdk_dmabuf_error_quark")
  (return-type "GQuark")
)

(define-function gdk_drag_action_is_unique
  (c-name "gdk_drag_action_is_unique")
  (return-type "gboolean")
  (parameters
    '("GdkDragAction" "action")
  )
)

(define-function gdk_events_get_angle
  (c-name "gdk_events_get_angle")
  (return-type "gboolean")
  (parameters
    '("GdkEvent*" "event1")
    '("GdkEvent*" "event2")
    '("double*" "angle")
  )
)

(define-function gdk_events_get_center
  (c-name "gdk_events_get_center")
  (return-type "gboolean")
  (parameters
    '("GdkEvent*" "event1")
    '("GdkEvent*" "event2")
    '("double*" "x")
    '("double*" "y")
  )
)

(define-function gdk_events_get_distance
  (c-name "gdk_events_get_distance")
  (return-type "gboolean")
  (parameters
    '("GdkEvent*" "event1")
    '("GdkEvent*" "event2")
    '("double*" "distance")
  )
)

(define-function gdk_gl_error_quark
  (c-name "gdk_gl_error_quark")
  (return-type "GQuark")
)

(define-function gdk_intern_mime_type
  (c-name "gdk_intern_mime_type")
  (return-type "const-char*")
  (parameters
    '("const-char*" "string")
  )
)

(define-function gdk_keyval_convert_case
  (c-name "gdk_keyval_convert_case")
  (return-type "none")
  (parameters
    '("guint" "symbol")
    '("guint*" "lower")
    '("guint*" "upper")
  )
)

(define-function gdk_keyval_from_name
  (c-name "gdk_keyval_from_name")
  (return-type "guint")
  (parameters
    '("const-char*" "keyval_name")
  )
)

(define-function gdk_keyval_is_lower
  (c-name "gdk_keyval_is_lower")
  (return-type "gboolean")
  (parameters
    '("guint" "keyval")
  )
)

(define-function gdk_keyval_is_upper
  (c-name "gdk_keyval_is_upper")
  (return-type "gboolean")
  (parameters
    '("guint" "keyval")
  )
)

(define-function gdk_keyval_name
  (c-name "gdk_keyval_name")
  (return-type "const-char*")
  (parameters
    '("guint" "keyval")
  )
)

(define-function gdk_keyval_to_lower
  (c-name "gdk_keyval_to_lower")
  (return-type "guint")
  (parameters
    '("guint" "keyval")
  )
)

(define-function gdk_keyval_to_unicode
  (c-name "gdk_keyval_to_unicode")
  (return-type "guint32")
  (parameters
    '("guint" "keyval")
  )
)

(define-function gdk_keyval_to_upper
  (c-name "gdk_keyval_to_upper")
  (return-type "guint")
  (parameters
    '("guint" "keyval")
  )
)

(define-function gdk_paintable_new_empty
  (c-name "gdk_paintable_new_empty")
  (return-type "GdkPaintable*")
  (parameters
    '("int" "intrinsic_width")
    '("int" "intrinsic_height")
  )
)

(define-function gdk_pango_layout_get_clip_region
  (c-name "gdk_pango_layout_get_clip_region")
  (return-type "cairo_region_t*")
  (parameters
    '("PangoLayout*" "layout")
    '("int" "x_origin")
    '("int" "y_origin")
    '("const-int*" "index_ranges")
    '("int" "n_ranges")
  )
)

(define-function gdk_pango_layout_line_get_clip_region
  (c-name "gdk_pango_layout_line_get_clip_region")
  (return-type "cairo_region_t*")
  (parameters
    '("PangoLayoutLine*" "line")
    '("int" "x_origin")
    '("int" "y_origin")
    '("const-int*" "index_ranges")
    '("int" "n_ranges")
  )
)

(define-function gdk_pixbuf_get_from_surface
  (c-name "gdk_pixbuf_get_from_surface")
  (return-type "GdkPixbuf*")
  (parameters
    '("cairo_surface_t*" "surface")
    '("int" "src_x")
    '("int" "src_y")
    '("int" "width")
    '("int" "height")
  )
)

(define-function gdk_pixbuf_get_from_texture
  (c-name "gdk_pixbuf_get_from_texture")
  (return-type "GdkPixbuf*")
  (parameters
    '("GdkTexture*" "texture")
  )
)

(define-function gdk_set_allowed_backends
  (c-name "gdk_set_allowed_backends")
  (return-type "none")
  (parameters
    '("const-char*" "backends")
  )
)

(define-function gdk_texture_error_quark
  (c-name "gdk_texture_error_quark")
  (return-type "GQuark")
)

(define-function gdk_unicode_to_keyval
  (c-name "gdk_unicode_to_keyval")
  (return-type "guint")
  (parameters
    '("guint32" "wc")
  )
)

(define-function gdk_vulkan_error_quark
  (c-name "gdk_vulkan_error_quark")
  (return-type "GQuark")
)

(define-function gdk_dmabuf_error_quark
  (c-name "gdk_dmabuf_error_quark")
  (return-type "GQuark")
)

(define-function gdk_gl_error_quark
  (c-name "gdk_gl_error_quark")
  (return-type "GQuark")
)

(define-function gdk_texture_error_quark
  (c-name "gdk_texture_error_quark")
  (return-type "GQuark")
)

(define-function gdk_vulkan_error_quark
  (c-name "gdk_vulkan_error_quark")
  (return-type "GQuark")
)

(define-function gdk_drag_action_is_unique
  (c-name "gdk_drag_action_is_unique")
  (return-type "gboolean")
  (parameters
    '("GdkDragAction" "action")
  )
)

(define-function gdk_color_state_get_oklab
  (c-name "gdk_color_state_get_oklab")
  (return-type "GdkColorState*")
)

(define-function gdk_color_state_get_oklch
  (c-name "gdk_color_state_get_oklch")
  (return-type "GdkColorState*")
)

(define-function gdk_color_state_get_rec2100_linear
  (c-name "gdk_color_state_get_rec2100_linear")
  (return-type "GdkColorState*")
)

(define-function gdk_color_state_get_rec2100_pq
  (c-name "gdk_color_state_get_rec2100_pq")
  (return-type "GdkColorState*")
)

(define-function gdk_color_state_get_srgb
  (c-name "gdk_color_state_get_srgb")
  (return-type "GdkColorState*")
)

(define-function gdk_color_state_get_srgb_linear
  (c-name "gdk_color_state_get_srgb_linear")
  (return-type "GdkColorState*")
)

(define-method create_cicp_params
  (of-object "GdkColorState")
  (c-name "gdk_color_state_create_cicp_params")
  (return-type "GdkCicpParams*")
)

(define-method equal
  (of-object "GdkColorState")
  (c-name "gdk_color_state_equal")
  (return-type "gboolean")
  (parameters
    '("GdkColorState*" "other")
  )
)

(define-method equivalent
  (of-object "GdkColorState")
  (c-name "gdk_color_state_equivalent")
  (return-type "gboolean")
  (parameters
    '("GdkColorState*" "other")
  )
)

(define-method ref
  (of-object "GdkColorState")
  (c-name "gdk_color_state_ref")
  (return-type "GdkColorState*")
)

(define-method unref
  (of-object "GdkColorState")
  (c-name "gdk_color_state_unref")
  (return-type "none")
)

(define-function gdk_content_formats_parse
  (c-name "gdk_content_formats_parse")
  (return-type "GdkContentFormats*")
  (parameters
    '("const-char*" "string")
  )
)

(define-method contain_gtype
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_contain_gtype")
  (return-type "gboolean")
  (parameters
    '("GType" "type")
  )
)

(define-method contain_mime_type
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_contain_mime_type")
  (return-type "gboolean")
  (parameters
    '("const-char*" "mime_type")
  )
)

(define-method get_gtypes
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_get_gtypes")
  (return-type "const-GType*")
  (parameters
    '("gsize*" "n_gtypes")
  )
)

(define-method get_mime_types
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_get_mime_types")
  (return-type "const-char*-const*")
  (parameters
    '("gsize*" "n_mime_types")
  )
)

(define-method is_empty
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_is_empty")
  (return-type "gboolean")
)

(define-method match
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_match")
  (return-type "gboolean")
  (parameters
    '("const-GdkContentFormats*" "second")
  )
)

(define-method match_gtype
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_match_gtype")
  (return-type "GType")
  (parameters
    '("const-GdkContentFormats*" "second")
  )
)

(define-method match_mime_type
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_match_mime_type")
  (return-type "const-char*")
  (parameters
    '("const-GdkContentFormats*" "second")
  )
)

(define-method print
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_print")
  (return-type "none")
  (parameters
    '("GString*" "string")
  )
)

(define-method ref
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_ref")
  (return-type "GdkContentFormats*")
)

(define-method to_string
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_to_string")
  (return-type "char*")
)

(define-method union
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_union")
  (return-type "GdkContentFormats*")
  (parameters
    '("const-GdkContentFormats*" "second")
  )
)

(define-method union_deserialize_gtypes
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_union_deserialize_gtypes")
  (return-type "GdkContentFormats*")
)

(define-method union_deserialize_mime_types
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_union_deserialize_mime_types")
  (return-type "GdkContentFormats*")
)

(define-method union_serialize_gtypes
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_union_serialize_gtypes")
  (return-type "GdkContentFormats*")
)

(define-method union_serialize_mime_types
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_union_serialize_mime_types")
  (return-type "GdkContentFormats*")
)

(define-method unref
  (of-object "GdkContentFormats")
  (c-name "gdk_content_formats_unref")
  (return-type "none")
)

(define-function gdk_content_formats_new
  (c-name "gdk_content_formats_new")
  (is-constructor-of "GdkContentFormats")
  (return-type "GdkContentFormats*")
  (parameters
    '("const-char**" "mime_types")
    '("guint" "n_mime_types")
  )
)

(define-function gdk_content_formats_new_for_gtype
  (c-name "gdk_content_formats_new_for_gtype")
  (is-constructor-of "GdkContentFormats")
  (return-type "GdkContentFormats*")
  (parameters
    '("GType" "type")
  )
)

(define-method add_formats
  (of-object "GdkContentFormatsBuilder")
  (c-name "gdk_content_formats_builder_add_formats")
  (return-type "none")
  (parameters
    '("const-GdkContentFormats*" "formats")
  )
)

(define-method add_gtype
  (of-object "GdkContentFormatsBuilder")
  (c-name "gdk_content_formats_builder_add_gtype")
  (return-type "none")
  (parameters
    '("GType" "type")
  )
)

(define-method add_mime_type
  (of-object "GdkContentFormatsBuilder")
  (c-name "gdk_content_formats_builder_add_mime_type")
  (return-type "none")
  (parameters
    '("const-char*" "mime_type")
  )
)

(define-method free_to_formats
  (of-object "GdkContentFormatsBuilder")
  (c-name "gdk_content_formats_builder_free_to_formats")
  (return-type "GdkContentFormats*")
)

(define-method ref
  (of-object "GdkContentFormatsBuilder")
  (c-name "gdk_content_formats_builder_ref")
  (return-type "GdkContentFormatsBuilder*")
)

(define-method to_formats
  (of-object "GdkContentFormatsBuilder")
  (c-name "gdk_content_formats_builder_to_formats")
  (return-type "GdkContentFormats*")
)

(define-method unref
  (of-object "GdkContentFormatsBuilder")
  (c-name "gdk_content_formats_builder_unref")
  (return-type "none")
)

(define-function gdk_content_formats_builder_new
  (c-name "gdk_content_formats_builder_new")
  (is-constructor-of "GdkContentFormatsBuilder")
  (return-type "GdkContentFormatsBuilder*")
)

(define-method contains
  (of-object "GdkDmabufFormats")
  (c-name "gdk_dmabuf_formats_contains")
  (return-type "gboolean")
  (parameters
    '("guint32" "fourcc")
    '("guint64" "modifier")
  )
)

(define-method equal
  (of-object "GdkDmabufFormats")
  (c-name "gdk_dmabuf_formats_equal")
  (return-type "gboolean")
  (parameters
    '("const-GdkDmabufFormats*" "formats2")
  )
)

(define-method get_format
  (of-object "GdkDmabufFormats")
  (c-name "gdk_dmabuf_formats_get_format")
  (return-type "none")
  (parameters
    '("gsize" "idx")
    '("guint32*" "fourcc")
    '("guint64*" "modifier")
  )
)

(define-method get_n_formats
  (of-object "GdkDmabufFormats")
  (c-name "gdk_dmabuf_formats_get_n_formats")
  (return-type "gsize")
)

(define-method ref
  (of-object "GdkDmabufFormats")
  (c-name "gdk_dmabuf_formats_ref")
  (return-type "GdkDmabufFormats*")
)

(define-method unref
  (of-object "GdkDmabufFormats")
  (c-name "gdk_dmabuf_formats_unref")
  (return-type "none")
)

(define-method set_size
  (of-object "GdkDragSurfaceSize")
  (c-name "gdk_drag_surface_size_set_size")
  (return-type "none")
  (parameters
    '("int" "width")
    '("int" "height")
  )
)

(define-method get_files
  (of-object "GdkFileList")
  (c-name "gdk_file_list_get_files")
  (return-type "GSList*")
)

(define-function gdk_file_list_new_from_array
  (c-name "gdk_file_list_new_from_array")
  (is-constructor-of "GdkFileList")
  (return-type "GdkFileList*")
  (parameters
    '("GFile**" "files")
    '("gsize" "n_files")
  )
)

(define-function gdk_file_list_new_from_list
  (c-name "gdk_file_list_new_from_list")
  (is-constructor-of "GdkFileList")
  (return-type "GdkFileList*")
  (parameters
    '("GSList*" "files")
  )
)

(define-method get_complete
  (of-object "GdkFrameTimings")
  (c-name "gdk_frame_timings_get_complete")
  (return-type "gboolean")
)

(define-method get_frame_counter
  (of-object "GdkFrameTimings")
  (c-name "gdk_frame_timings_get_frame_counter")
  (return-type "gint64")
)

(define-method get_frame_time
  (of-object "GdkFrameTimings")
  (c-name "gdk_frame_timings_get_frame_time")
  (return-type "gint64")
)

(define-method get_predicted_presentation_time
  (of-object "GdkFrameTimings")
  (c-name "gdk_frame_timings_get_predicted_presentation_time")
  (return-type "gint64")
)

(define-method get_presentation_time
  (of-object "GdkFrameTimings")
  (c-name "gdk_frame_timings_get_presentation_time")
  (return-type "gint64")
)

(define-method get_refresh_interval
  (of-object "GdkFrameTimings")
  (c-name "gdk_frame_timings_get_refresh_interval")
  (return-type "gint64")
)

(define-method ref
  (of-object "GdkFrameTimings")
  (c-name "gdk_frame_timings_ref")
  (return-type "GdkFrameTimings*")
)

(define-method unref
  (of-object "GdkFrameTimings")
  (c-name "gdk_frame_timings_unref")
  (return-type "none")
)

(define-method copy
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_copy")
  (return-type "GdkPopupLayout*")
)

(define-method equal
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_equal")
  (return-type "gboolean")
  (parameters
    '("GdkPopupLayout*" "other")
  )
)

(define-method get_anchor_hints
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_get_anchor_hints")
  (return-type "GdkAnchorHints")
)

(define-method get_anchor_rect
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_get_anchor_rect")
  (return-type "const-GdkRectangle*")
)

(define-method get_offset
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_get_offset")
  (return-type "none")
  (parameters
    '("int*" "dx")
    '("int*" "dy")
  )
)

(define-method get_rect_anchor
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_get_rect_anchor")
  (return-type "GdkGravity")
)

(define-method get_shadow_width
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_get_shadow_width")
  (return-type "none")
  (parameters
    '("int*" "left")
    '("int*" "right")
    '("int*" "top")
    '("int*" "bottom")
  )
)

(define-method get_surface_anchor
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_get_surface_anchor")
  (return-type "GdkGravity")
)

(define-method ref
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_ref")
  (return-type "GdkPopupLayout*")
)

(define-method set_anchor_hints
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_set_anchor_hints")
  (return-type "none")
  (parameters
    '("GdkAnchorHints" "anchor_hints")
  )
)

(define-method set_anchor_rect
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_set_anchor_rect")
  (return-type "none")
  (parameters
    '("const-GdkRectangle*" "anchor_rect")
  )
)

(define-method set_offset
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_set_offset")
  (return-type "none")
  (parameters
    '("int" "dx")
    '("int" "dy")
  )
)

(define-method set_rect_anchor
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_set_rect_anchor")
  (return-type "none")
  (parameters
    '("GdkGravity" "anchor")
  )
)

(define-method set_shadow_width
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_set_shadow_width")
  (return-type "none")
  (parameters
    '("int" "left")
    '("int" "right")
    '("int" "top")
    '("int" "bottom")
  )
)

(define-method set_surface_anchor
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_set_surface_anchor")
  (return-type "none")
  (parameters
    '("GdkGravity" "anchor")
  )
)

(define-method unref
  (of-object "GdkPopupLayout")
  (c-name "gdk_popup_layout_unref")
  (return-type "none")
)

(define-function gdk_popup_layout_new
  (c-name "gdk_popup_layout_new")
  (is-constructor-of "GdkPopupLayout")
  (return-type "GdkPopupLayout*")
  (parameters
    '("const-GdkRectangle*" "anchor_rect")
    '("GdkGravity" "rect_anchor")
    '("GdkGravity" "surface_anchor")
  )
)

(define-method copy
  (of-object "GdkRGBA")
  (c-name "gdk_rgba_copy")
  (return-type "GdkRGBA*")
)

(define-method equal
  (of-object "GdkRGBA")
  (c-name "gdk_rgba_equal")
  (return-type "gboolean")
  (parameters
    '("gconstpointer" "p2")
  )
)

(define-method free
  (of-object "GdkRGBA")
  (c-name "gdk_rgba_free")
  (return-type "none")
)

(define-method hash
  (of-object "GdkRGBA")
  (c-name "gdk_rgba_hash")
  (return-type "guint")
)

(define-method is_clear
  (of-object "GdkRGBA")
  (c-name "gdk_rgba_is_clear")
  (return-type "gboolean")
)

(define-method is_opaque
  (of-object "GdkRGBA")
  (c-name "gdk_rgba_is_opaque")
  (return-type "gboolean")
)

(define-method parse
  (of-object "GdkRGBA")
  (c-name "gdk_rgba_parse")
  (return-type "gboolean")
  (parameters
    '("const-char*" "spec")
  )
)

(define-method print
  (of-object "GdkRGBA")
  (c-name "gdk_rgba_print")
  (return-type "GString*")
  (parameters
    '("GString*" "string")
  )
)

(define-method to_string
  (of-object "GdkRGBA")
  (c-name "gdk_rgba_to_string")
  (return-type "char*")
)

(define-method contains_point
  (of-object "GdkRectangle")
  (c-name "gdk_rectangle_contains_point")
  (return-type "gboolean")
  (parameters
    '("int" "x")
    '("int" "y")
  )
)

(define-method equal
  (of-object "GdkRectangle")
  (c-name "gdk_rectangle_equal")
  (return-type "gboolean")
  (parameters
    '("const-GdkRectangle*" "rect2")
  )
)

(define-method intersect
  (of-object "GdkRectangle")
  (c-name "gdk_rectangle_intersect")
  (return-type "gboolean")
  (parameters
    '("const-GdkRectangle*" "src2")
    '("GdkRectangle*" "dest")
  )
)

(define-method union
  (of-object "GdkRectangle")
  (c-name "gdk_rectangle_union")
  (return-type "none")
  (parameters
    '("const-GdkRectangle*" "src2")
    '("GdkRectangle*" "dest")
  )
)

(define-method copy
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_copy")
  (return-type "GdkTextureDownloader*")
)

(define-method download_bytes
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_download_bytes")
  (return-type "GBytes*")
  (parameters
    '("gsize*" "out_stride")
  )
)

(define-method download_bytes_with_planes
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_download_bytes_with_planes")
  (return-type "GBytes*")
  (parameters
    '("gsize*" "out_offsets")
    '("gsize*" "out_strides")
  )
)

(define-method download_into
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_download_into")
  (return-type "none")
  (parameters
    '("guchar*" "data")
    '("gsize" "stride")
  )
)

(define-method free
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_free")
  (return-type "none")
)

(define-method get_color_state
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_get_color_state")
  (return-type "GdkColorState*")
)

(define-method get_format
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_get_format")
  (return-type "GdkMemoryFormat")
)

(define-method get_texture
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_get_texture")
  (return-type "GdkTexture*")
)

(define-method set_color_state
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_set_color_state")
  (return-type "none")
  (parameters
    '("GdkColorState*" "color_state")
  )
)

(define-method set_format
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_set_format")
  (return-type "none")
  (parameters
    '("GdkMemoryFormat" "format")
  )
)

(define-method set_texture
  (of-object "GdkTextureDownloader")
  (c-name "gdk_texture_downloader_set_texture")
  (return-type "none")
  (parameters
    '("GdkTexture*" "texture")
  )
)

(define-function gdk_texture_downloader_new
  (c-name "gdk_texture_downloader_new")
  (is-constructor-of "GdkTextureDownloader")
  (return-type "GdkTextureDownloader*")
  (parameters
    '("GdkTexture*" "texture")
  )
)

(define-method copy
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_copy")
  (return-type "GdkToplevelLayout*")
)

(define-method equal
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_equal")
  (return-type "gboolean")
  (parameters
    '("GdkToplevelLayout*" "other")
  )
)

(define-method get_fullscreen
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_get_fullscreen")
  (return-type "gboolean")
  (parameters
    '("gboolean*" "fullscreen")
  )
)

(define-method get_fullscreen_monitor
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_get_fullscreen_monitor")
  (return-type "GdkMonitor*")
)

(define-method get_maximized
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_get_maximized")
  (return-type "gboolean")
  (parameters
    '("gboolean*" "maximized")
  )
)

(define-method get_resizable
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_get_resizable")
  (return-type "gboolean")
)

(define-method ref
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_ref")
  (return-type "GdkToplevelLayout*")
)

(define-method set_fullscreen
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_set_fullscreen")
  (return-type "none")
  (parameters
    '("gboolean" "fullscreen")
    '("GdkMonitor*" "monitor")
  )
)

(define-method set_maximized
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_set_maximized")
  (return-type "none")
  (parameters
    '("gboolean" "maximized")
  )
)

(define-method set_resizable
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_set_resizable")
  (return-type "none")
  (parameters
    '("gboolean" "resizable")
  )
)

(define-method unref
  (of-object "GdkToplevelLayout")
  (c-name "gdk_toplevel_layout_unref")
  (return-type "none")
)

(define-function gdk_toplevel_layout_new
  (c-name "gdk_toplevel_layout_new")
  (is-constructor-of "GdkToplevelLayout")
  (return-type "GdkToplevelLayout*")
)

(define-method get_bounds
  (of-object "GdkToplevelSize")
  (c-name "gdk_toplevel_size_get_bounds")
  (return-type "none")
  (parameters
    '("int*" "bounds_width")
    '("int*" "bounds_height")
  )
)

(define-method set_min_size
  (of-object "GdkToplevelSize")
  (c-name "gdk_toplevel_size_set_min_size")
  (return-type "none")
  (parameters
    '("int" "min_width")
    '("int" "min_height")
  )
)

(define-method set_shadow_width
  (of-object "GdkToplevelSize")
  (c-name "gdk_toplevel_size_set_shadow_width")
  (return-type "none")
  (parameters
    '("int" "left")
    '("int" "right")
    '("int" "top")
    '("int" "bottom")
  )
)

(define-method set_size
  (of-object "GdkToplevelSize")
  (c-name "gdk_toplevel_size_set_size")
  (return-type "none")
  (parameters
    '("int" "width")
    '("int" "height")
  )
)

(define-method get_feature_group
  (of-object "GdkDevicePad")
  (c-name "gdk_device_pad_get_feature_group")
  (return-type "int")
  (parameters
    '("GdkDevicePadFeature" "feature")
    '("int" "feature_idx")
  )
)

(define-method get_group_n_modes
  (of-object "GdkDevicePad")
  (c-name "gdk_device_pad_get_group_n_modes")
  (return-type "int")
  (parameters
    '("int" "group_idx")
  )
)

(define-method get_n_features
  (of-object "GdkDevicePad")
  (c-name "gdk_device_pad_get_n_features")
  (return-type "int")
  (parameters
    '("GdkDevicePadFeature" "feature")
  )
)

(define-method get_n_groups
  (of-object "GdkDevicePad")
  (c-name "gdk_device_pad_get_n_groups")
  (return-type "int")
)

(define-method present
  (of-object "GdkDragSurface")
  (c-name "gdk_drag_surface_present")
  (return-type "gboolean")
  (parameters
    '("int" "width")
    '("int" "height")
  )
)

(define-function gdk_paintable_new_empty
  (c-name "gdk_paintable_new_empty")
  (return-type "GdkPaintable*")
  (parameters
    '("int" "intrinsic_width")
    '("int" "intrinsic_height")
  )
)

(define-method compute_concrete_size
  (of-object "GdkPaintable")
  (c-name "gdk_paintable_compute_concrete_size")
  (return-type "none")
  (parameters
    '("double" "specified_width")
    '("double" "specified_height")
    '("double" "default_width")
    '("double" "default_height")
    '("double*" "concrete_width")
    '("double*" "concrete_height")
  )
)

(define-method get_current_image
  (of-object "GdkPaintable")
  (c-name "gdk_paintable_get_current_image")
  (return-type "GdkPaintable*")
)

(define-method get_flags
  (of-object "GdkPaintable")
  (c-name "gdk_paintable_get_flags")
  (return-type "GdkPaintableFlags")
)

(define-method get_intrinsic_aspect_ratio
  (of-object "GdkPaintable")
  (c-name "gdk_paintable_get_intrinsic_aspect_ratio")
  (return-type "double")
)

(define-method get_intrinsic_height
  (of-object "GdkPaintable")
  (c-name "gdk_paintable_get_intrinsic_height")
  (return-type "int")
)

(define-method get_intrinsic_width
  (of-object "GdkPaintable")
  (c-name "gdk_paintable_get_intrinsic_width")
  (return-type "int")
)

(define-method invalidate_contents
  (of-object "GdkPaintable")
  (c-name "gdk_paintable_invalidate_contents")
  (return-type "none")
)

(define-method invalidate_size
  (of-object "GdkPaintable")
  (c-name "gdk_paintable_invalidate_size")
  (return-type "none")
)

(define-method snapshot
  (of-object "GdkPaintable")
  (c-name "gdk_paintable_snapshot")
  (return-type "none")
  (parameters
    '("GdkSnapshot*" "snapshot")
    '("double" "width")
    '("double" "height")
  )
)

(define-method get_autohide
  (of-object "GdkPopup")
  (c-name "gdk_popup_get_autohide")
  (return-type "gboolean")
)

(define-method get_parent
  (of-object "GdkPopup")
  (c-name "gdk_popup_get_parent")
  (return-type "GdkSurface*")
)

(define-method get_position_x
  (of-object "GdkPopup")
  (c-name "gdk_popup_get_position_x")
  (return-type "int")
)

(define-method get_position_y
  (of-object "GdkPopup")
  (c-name "gdk_popup_get_position_y")
  (return-type "int")
)

(define-method get_rect_anchor
  (of-object "GdkPopup")
  (c-name "gdk_popup_get_rect_anchor")
  (return-type "GdkGravity")
)

(define-method get_surface_anchor
  (of-object "GdkPopup")
  (c-name "gdk_popup_get_surface_anchor")
  (return-type "GdkGravity")
)

(define-method present
  (of-object "GdkPopup")
  (c-name "gdk_popup_present")
  (return-type "gboolean")
  (parameters
    '("int" "width")
    '("int" "height")
    '("GdkPopupLayout*" "layout")
  )
)

(define-method begin_move
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_begin_move")
  (return-type "none")
  (parameters
    '("GdkDevice*" "device")
    '("int" "button")
    '("double" "x")
    '("double" "y")
    '("guint32" "timestamp")
  )
)

(define-method begin_resize
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_begin_resize")
  (return-type "none")
  (parameters
    '("GdkSurfaceEdge" "edge")
    '("GdkDevice*" "device")
    '("int" "button")
    '("double" "x")
    '("double" "y")
    '("guint32" "timestamp")
  )
)

(define-method focus
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_focus")
  (return-type "none")
  (parameters
    '("guint32" "timestamp")
  )
)

(define-method get_capabilities
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_get_capabilities")
  (return-type "GdkToplevelCapabilities")
)

(define-method get_gravity
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_get_gravity")
  (return-type "GdkGravity")
)

(define-method get_state
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_get_state")
  (return-type "GdkToplevelState")
)

(define-method inhibit_system_shortcuts
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_inhibit_system_shortcuts")
  (return-type "none")
  (parameters
    '("GdkEvent*" "event")
  )
)

(define-method lower
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_lower")
  (return-type "gboolean")
)

(define-method minimize
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_minimize")
  (return-type "gboolean")
)

(define-method present
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_present")
  (return-type "none")
  (parameters
    '("GdkToplevelLayout*" "layout")
  )
)

(define-method restore_system_shortcuts
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_restore_system_shortcuts")
  (return-type "none")
)

(define-method set_decorated
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_set_decorated")
  (return-type "none")
  (parameters
    '("gboolean" "decorated")
  )
)

(define-method set_deletable
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_set_deletable")
  (return-type "none")
  (parameters
    '("gboolean" "deletable")
  )
)

(define-method set_gravity
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_set_gravity")
  (return-type "none")
  (parameters
    '("GdkGravity" "gravity")
  )
)

(define-method set_icon_list
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_set_icon_list")
  (return-type "none")
  (parameters
    '("GList*" "surfaces")
  )
)

(define-method set_modal
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_set_modal")
  (return-type "none")
  (parameters
    '("gboolean" "modal")
  )
)

(define-method set_startup_id
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_set_startup_id")
  (return-type "none")
  (parameters
    '("const-char*" "startup_id")
  )
)

(define-method set_title
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_set_title")
  (return-type "none")
  (parameters
    '("const-char*" "title")
  )
)

(define-method set_transient_for
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_set_transient_for")
  (return-type "none")
  (parameters
    '("GdkSurface*" "parent")
  )
)

(define-method show_window_menu
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_show_window_menu")
  (return-type "gboolean")
  (parameters
    '("GdkEvent*" "event")
  )
)

(define-method supports_edge_constraints
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_supports_edge_constraints")
  (return-type "gboolean")
)

(define-method titlebar_gesture
  (of-object "GdkToplevel")
  (c-name "gdk_toplevel_titlebar_gesture")
  (return-type "gboolean")
  (parameters
    '("GdkTitlebarGesture" "gesture")
  )
)

(define-method get_display
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_get_display")
  (return-type "GdkDisplay*")
)

(define-method set_desktop
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_set_desktop")
  (return-type "none")
  (parameters
    '("int" "desktop")
  )
)

(define-method set_icon
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_set_icon")
  (return-type "none")
  (parameters
    '("GIcon*" "icon")
  )
)

(define-method set_icon_name
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_set_icon_name")
  (return-type "none")
  (parameters
    '("const-char*" "icon_name")
  )
)

(define-method set_timestamp
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_set_timestamp")
  (return-type "none")
  (parameters
    '("guint32" "timestamp")
  )
)

(define-method get_button
  (of-object "GdkButtonEvent")
  (c-name "gdk_button_event_get_button")
  (return-type "guint")
)

(define-method cairo_create
  (of-object "GdkCairoContext")
  (c-name "gdk_cairo_context_cairo_create")
  (return-type "cairo_t*")
)

(define-method build_color_state
  (of-object "GdkCicpParams")
  (c-name "gdk_cicp_params_build_color_state")
  (return-type "GdkColorState*")
  (parameters
    '("GError**" "error")
  )
)

(define-method get_color_primaries
  (of-object "GdkCicpParams")
  (c-name "gdk_cicp_params_get_color_primaries")
  (return-type "guint")
)

(define-method get_matrix_coefficients
  (of-object "GdkCicpParams")
  (c-name "gdk_cicp_params_get_matrix_coefficients")
  (return-type "guint")
)

(define-method get_range
  (of-object "GdkCicpParams")
  (c-name "gdk_cicp_params_get_range")
  (return-type "GdkCicpRange")
)

(define-method get_transfer_function
  (of-object "GdkCicpParams")
  (c-name "gdk_cicp_params_get_transfer_function")
  (return-type "guint")
)

(define-method set_color_primaries
  (of-object "GdkCicpParams")
  (c-name "gdk_cicp_params_set_color_primaries")
  (return-type "none")
  (parameters
    '("guint" "color_primaries")
  )
)

(define-method set_matrix_coefficients
  (of-object "GdkCicpParams")
  (c-name "gdk_cicp_params_set_matrix_coefficients")
  (return-type "none")
  (parameters
    '("guint" "matrix_coefficients")
  )
)

(define-method set_range
  (of-object "GdkCicpParams")
  (c-name "gdk_cicp_params_set_range")
  (return-type "none")
  (parameters
    '("GdkCicpRange" "range")
  )
)

(define-method set_transfer_function
  (of-object "GdkCicpParams")
  (c-name "gdk_cicp_params_set_transfer_function")
  (return-type "none")
  (parameters
    '("guint" "transfer_function")
  )
)

(define-function gdk_cicp_params_new
  (c-name "gdk_cicp_params_new")
  (is-constructor-of "GdkCicpParams")
  (return-type "GdkCicpParams*")
)

(define-method get_content
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_get_content")
  (return-type "GdkContentProvider*")
)

(define-method get_display
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_formats
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_get_formats")
  (return-type "GdkContentFormats*")
)

(define-method is_local
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_is_local")
  (return-type "gboolean")
)

(define-method read_async
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_read_async")
  (return-type "none")
  (parameters
    '("const-char**" "mime_types")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_finish
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_read_finish")
  (return-type "GInputStream*")
  (parameters
    '("GAsyncResult*" "result")
    '("const-char**" "out_mime_type")
    '("GError**" "error")
  )
)

(define-method read_text_async
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_read_text_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_text_finish
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_read_text_finish")
  (return-type "char*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method read_texture_async
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_read_texture_async")
  (return-type "none")
  (parameters
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_texture_finish
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_read_texture_finish")
  (return-type "GdkTexture*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method read_value_async
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_read_value_async")
  (return-type "none")
  (parameters
    '("GType" "type")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_value_finish
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_read_value_finish")
  (return-type "const-GValue*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method set
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_set")
  (return-type "none")
  (parameters
    '("GType" "type")
  )
  (varargs #t)
)

(define-method set_content
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_set_content")
  (return-type "gboolean")
  (parameters
    '("GdkContentProvider*" "provider")
  )
)

(define-method set_text
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_set_text")
  (return-type "none")
  (parameters
    '("const-char*" "text")
  )
)

(define-method set_texture
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_set_texture")
  (return-type "none")
  (parameters
    '("GdkTexture*" "texture")
  )
)

(define-method set_valist
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_set_valist")
  (return-type "none")
  (parameters
    '("GType" "type")
    '("va_list" "args")
  )
)

(define-method set_value
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_set_value")
  (return-type "none")
  (parameters
    '("const-GValue*" "value")
  )
)

(define-method store_async
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_store_async")
  (return-type "none")
  (parameters
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method store_finish
  (of-object "GdkClipboard")
  (c-name "gdk_clipboard_store_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method get_cancellable
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_get_cancellable")
  (return-type "GCancellable*")
)

(define-method get_gtype
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_get_gtype")
  (return-type "GType")
)

(define-method get_input_stream
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_get_input_stream")
  (return-type "GInputStream*")
)

(define-method get_mime_type
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_get_mime_type")
  (return-type "const-char*")
)

(define-method get_priority
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_get_priority")
  (return-type "int")
)

(define-method get_task_data
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_get_task_data")
  (return-type "gpointer")
)

(define-method get_user_data
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_get_user_data")
  (return-type "gpointer")
)

(define-method get_value
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_get_value")
  (return-type "GValue*")
)

(define-method return_error
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_return_error")
  (return-type "none")
  (parameters
    '("GError*" "error")
  )
)

(define-method return_success
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_return_success")
  (return-type "none")
)

(define-method set_task_data
  (of-object "GdkContentDeserializer")
  (c-name "gdk_content_deserializer_set_task_data")
  (return-type "none")
  (parameters
    '("gpointer" "data")
    '("GDestroyNotify" "notify")
  )
)

(define-method content_changed
  (of-object "GdkContentProvider")
  (c-name "gdk_content_provider_content_changed")
  (return-type "none")
)

(define-method get_value
  (of-object "GdkContentProvider")
  (c-name "gdk_content_provider_get_value")
  (return-type "gboolean")
  (parameters
    '("GValue*" "value")
    '("GError**" "error")
  )
)

(define-method ref_formats
  (of-object "GdkContentProvider")
  (c-name "gdk_content_provider_ref_formats")
  (return-type "GdkContentFormats*")
)

(define-method ref_storable_formats
  (of-object "GdkContentProvider")
  (c-name "gdk_content_provider_ref_storable_formats")
  (return-type "GdkContentFormats*")
)

(define-method write_mime_type_async
  (of-object "GdkContentProvider")
  (c-name "gdk_content_provider_write_mime_type_async")
  (return-type "none")
  (parameters
    '("const-char*" "mime_type")
    '("GOutputStream*" "stream")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method write_mime_type_finish
  (of-object "GdkContentProvider")
  (c-name "gdk_content_provider_write_mime_type_finish")
  (return-type "gboolean")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-function gdk_content_provider_new_for_bytes
  (c-name "gdk_content_provider_new_for_bytes")
  (is-constructor-of "GdkContentProvider")
  (return-type "GdkContentProvider*")
  (parameters
    '("const-char*" "mime_type")
    '("GBytes*" "bytes")
  )
)

(define-function gdk_content_provider_new_for_value
  (c-name "gdk_content_provider_new_for_value")
  (is-constructor-of "GdkContentProvider")
  (return-type "GdkContentProvider*")
  (parameters
    '("const-GValue*" "value")
  )
)

(define-function gdk_content_provider_new_typed
  (c-name "gdk_content_provider_new_typed")
  (is-constructor-of "GdkContentProvider")
  (return-type "GdkContentProvider*")
  (parameters
    '("GType" "type")
  )
  (varargs #t)
)

(define-function gdk_content_provider_new_union
  (c-name "gdk_content_provider_new_union")
  (is-constructor-of "GdkContentProvider")
  (return-type "GdkContentProvider*")
  (parameters
    '("GdkContentProvider**" "providers")
    '("gsize" "n_providers")
  )
)

(define-method get_cancellable
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_get_cancellable")
  (return-type "GCancellable*")
)

(define-method get_gtype
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_get_gtype")
  (return-type "GType")
)

(define-method get_mime_type
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_get_mime_type")
  (return-type "const-char*")
)

(define-method get_output_stream
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_get_output_stream")
  (return-type "GOutputStream*")
)

(define-method get_priority
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_get_priority")
  (return-type "int")
)

(define-method get_task_data
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_get_task_data")
  (return-type "gpointer")
)

(define-method get_user_data
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_get_user_data")
  (return-type "gpointer")
)

(define-method get_value
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_get_value")
  (return-type "const-GValue*")
)

(define-method return_error
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_return_error")
  (return-type "none")
  (parameters
    '("GError*" "error")
  )
)

(define-method return_success
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_return_success")
  (return-type "none")
)

(define-method set_task_data
  (of-object "GdkContentSerializer")
  (c-name "gdk_content_serializer_set_task_data")
  (return-type "none")
  (parameters
    '("gpointer" "data")
    '("GDestroyNotify" "notify")
  )
)

(define-method get_detail
  (of-object "GdkCrossingEvent")
  (c-name "gdk_crossing_event_get_detail")
  (return-type "GdkNotifyType")
)

(define-method get_focus
  (of-object "GdkCrossingEvent")
  (c-name "gdk_crossing_event_get_focus")
  (return-type "gboolean")
)

(define-method get_mode
  (of-object "GdkCrossingEvent")
  (c-name "gdk_crossing_event_get_mode")
  (return-type "GdkCrossingMode")
)

(define-method get_fallback
  (of-object "GdkCursor")
  (c-name "gdk_cursor_get_fallback")
  (return-type "GdkCursor*")
)

(define-method get_hotspot_x
  (of-object "GdkCursor")
  (c-name "gdk_cursor_get_hotspot_x")
  (return-type "int")
)

(define-method get_hotspot_y
  (of-object "GdkCursor")
  (c-name "gdk_cursor_get_hotspot_y")
  (return-type "int")
)

(define-method get_name
  (of-object "GdkCursor")
  (c-name "gdk_cursor_get_name")
  (return-type "const-char*")
)

(define-method get_texture
  (of-object "GdkCursor")
  (c-name "gdk_cursor_get_texture")
  (return-type "GdkTexture*")
)

(define-function gdk_cursor_new_from_callback
  (c-name "gdk_cursor_new_from_callback")
  (is-constructor-of "GdkCursor")
  (return-type "GdkCursor*")
  (parameters
    '("GdkCursorGetTextureCallback" "callback")
    '("gpointer" "data")
    '("GDestroyNotify" "destroy")
    '("GdkCursor*" "fallback")
  )
)

(define-function gdk_cursor_new_from_name
  (c-name "gdk_cursor_new_from_name")
  (is-constructor-of "GdkCursor")
  (return-type "GdkCursor*")
  (parameters
    '("const-char*" "name")
    '("GdkCursor*" "fallback")
  )
)

(define-function gdk_cursor_new_from_texture
  (c-name "gdk_cursor_new_from_texture")
  (is-constructor-of "GdkCursor")
  (return-type "GdkCursor*")
  (parameters
    '("GdkTexture*" "texture")
    '("int" "hotspot_x")
    '("int" "hotspot_y")
    '("GdkCursor*" "fallback")
  )
)

(define-method get_drop
  (of-object "GdkDNDEvent")
  (c-name "gdk_dnd_event_get_drop")
  (return-type "GdkDrop*")
)

(define-method get_active_layout_index
  (of-object "GdkDevice")
  (c-name "gdk_device_get_active_layout_index")
  (return-type "gint")
)

(define-method get_caps_lock_state
  (of-object "GdkDevice")
  (c-name "gdk_device_get_caps_lock_state")
  (return-type "gboolean")
)

(define-method get_device_tool
  (of-object "GdkDevice")
  (c-name "gdk_device_get_device_tool")
  (return-type "GdkDeviceTool*")
)

(define-method get_direction
  (of-object "GdkDevice")
  (c-name "gdk_device_get_direction")
  (return-type "PangoDirection")
)

(define-method get_display
  (of-object "GdkDevice")
  (c-name "gdk_device_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_has_cursor
  (of-object "GdkDevice")
  (c-name "gdk_device_get_has_cursor")
  (return-type "gboolean")
)

(define-method get_layout_names
  (of-object "GdkDevice")
  (c-name "gdk_device_get_layout_names")
  (return-type "gchar**")
)

(define-method get_modifier_state
  (of-object "GdkDevice")
  (c-name "gdk_device_get_modifier_state")
  (return-type "GdkModifierType")
)

(define-method get_name
  (of-object "GdkDevice")
  (c-name "gdk_device_get_name")
  (return-type "const-char*")
)

(define-method get_num_lock_state
  (of-object "GdkDevice")
  (c-name "gdk_device_get_num_lock_state")
  (return-type "gboolean")
)

(define-method get_num_touches
  (of-object "GdkDevice")
  (c-name "gdk_device_get_num_touches")
  (return-type "guint")
)

(define-method get_product_id
  (of-object "GdkDevice")
  (c-name "gdk_device_get_product_id")
  (return-type "const-char*")
)

(define-method get_scroll_lock_state
  (of-object "GdkDevice")
  (c-name "gdk_device_get_scroll_lock_state")
  (return-type "gboolean")
)

(define-method get_seat
  (of-object "GdkDevice")
  (c-name "gdk_device_get_seat")
  (return-type "GdkSeat*")
)

(define-method get_source
  (of-object "GdkDevice")
  (c-name "gdk_device_get_source")
  (return-type "GdkInputSource")
)

(define-method get_surface_at_position
  (of-object "GdkDevice")
  (c-name "gdk_device_get_surface_at_position")
  (return-type "GdkSurface*")
  (parameters
    '("double*" "win_x")
    '("double*" "win_y")
  )
)

(define-method get_timestamp
  (of-object "GdkDevice")
  (c-name "gdk_device_get_timestamp")
  (return-type "guint32")
)

(define-method get_vendor_id
  (of-object "GdkDevice")
  (c-name "gdk_device_get_vendor_id")
  (return-type "const-char*")
)

(define-method has_bidi_layouts
  (of-object "GdkDevice")
  (c-name "gdk_device_has_bidi_layouts")
  (return-type "gboolean")
)

(define-method get_axes
  (of-object "GdkDeviceTool")
  (c-name "gdk_device_tool_get_axes")
  (return-type "GdkAxisFlags")
)

(define-method get_hardware_id
  (of-object "GdkDeviceTool")
  (c-name "gdk_device_tool_get_hardware_id")
  (return-type "guint64")
)

(define-method get_serial
  (of-object "GdkDeviceTool")
  (c-name "gdk_device_tool_get_serial")
  (return-type "guint64")
)

(define-method get_tool_type
  (of-object "GdkDeviceTool")
  (c-name "gdk_device_tool_get_tool_type")
  (return-type "GdkDeviceToolType")
)

(define-function gdk_display_get_default
  (c-name "gdk_display_get_default")
  (return-type "GdkDisplay*")
)

(define-function gdk_display_open
  (c-name "gdk_display_open")
  (return-type "GdkDisplay*")
  (parameters
    '("const-char*" "display_name")
  )
)

(define-method beep
  (of-object "GdkDisplay")
  (c-name "gdk_display_beep")
  (return-type "none")
)

(define-method close
  (of-object "GdkDisplay")
  (c-name "gdk_display_close")
  (return-type "none")
)

(define-method create_gl_context
  (of-object "GdkDisplay")
  (c-name "gdk_display_create_gl_context")
  (return-type "GdkGLContext*")
  (parameters
    '("GError**" "error")
  )
)

(define-method device_is_grabbed
  (of-object "GdkDisplay")
  (c-name "gdk_display_device_is_grabbed")
  (return-type "gboolean")
  (parameters
    '("GdkDevice*" "device")
  )
)

(define-method flush
  (of-object "GdkDisplay")
  (c-name "gdk_display_flush")
  (return-type "none")
)

(define-method get_app_launch_context
  (of-object "GdkDisplay")
  (c-name "gdk_display_get_app_launch_context")
  (return-type "GdkAppLaunchContext*")
)

(define-method get_clipboard
  (of-object "GdkDisplay")
  (c-name "gdk_display_get_clipboard")
  (return-type "GdkClipboard*")
)

(define-method get_default_seat
  (of-object "GdkDisplay")
  (c-name "gdk_display_get_default_seat")
  (return-type "GdkSeat*")
)

(define-method get_dmabuf_formats
  (of-object "GdkDisplay")
  (c-name "gdk_display_get_dmabuf_formats")
  (return-type "GdkDmabufFormats*")
)

(define-method get_monitor_at_surface
  (of-object "GdkDisplay")
  (c-name "gdk_display_get_monitor_at_surface")
  (return-type "GdkMonitor*")
  (parameters
    '("GdkSurface*" "surface")
  )
)

(define-method get_monitors
  (of-object "GdkDisplay")
  (c-name "gdk_display_get_monitors")
  (return-type "GListModel*")
)

(define-method get_name
  (of-object "GdkDisplay")
  (c-name "gdk_display_get_name")
  (return-type "const-char*")
)

(define-method get_primary_clipboard
  (of-object "GdkDisplay")
  (c-name "gdk_display_get_primary_clipboard")
  (return-type "GdkClipboard*")
)

(define-method get_setting
  (of-object "GdkDisplay")
  (c-name "gdk_display_get_setting")
  (return-type "gboolean")
  (parameters
    '("const-char*" "name")
    '("GValue*" "value")
  )
)

(define-method get_startup_notification_id
  (of-object "GdkDisplay")
  (c-name "gdk_display_get_startup_notification_id")
  (return-type "const-char*")
)

(define-method is_closed
  (of-object "GdkDisplay")
  (c-name "gdk_display_is_closed")
  (return-type "gboolean")
)

(define-method is_composited
  (of-object "GdkDisplay")
  (c-name "gdk_display_is_composited")
  (return-type "gboolean")
)

(define-method is_rgba
  (of-object "GdkDisplay")
  (c-name "gdk_display_is_rgba")
  (return-type "gboolean")
)

(define-method list_seats
  (of-object "GdkDisplay")
  (c-name "gdk_display_list_seats")
  (return-type "GList*")
)

(define-method map_keycode
  (of-object "GdkDisplay")
  (c-name "gdk_display_map_keycode")
  (return-type "gboolean")
  (parameters
    '("guint" "keycode")
    '("GdkKeymapKey**" "keys")
    '("guint**" "keyvals")
    '("int*" "n_entries")
  )
)

(define-method map_keyval
  (of-object "GdkDisplay")
  (c-name "gdk_display_map_keyval")
  (return-type "gboolean")
  (parameters
    '("guint" "keyval")
    '("GdkKeymapKey**" "keys")
    '("int*" "n_keys")
  )
)

(define-method notify_startup_complete
  (of-object "GdkDisplay")
  (c-name "gdk_display_notify_startup_complete")
  (return-type "none")
  (parameters
    '("const-char*" "startup_id")
  )
)

(define-method prepare_gl
  (of-object "GdkDisplay")
  (c-name "gdk_display_prepare_gl")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method put_event
  (of-object "GdkDisplay")
  (c-name "gdk_display_put_event")
  (return-type "none")
  (parameters
    '("GdkEvent*" "event")
  )
)

(define-method supports_input_shapes
  (of-object "GdkDisplay")
  (c-name "gdk_display_supports_input_shapes")
  (return-type "gboolean")
)

(define-method supports_shadow_width
  (of-object "GdkDisplay")
  (c-name "gdk_display_supports_shadow_width")
  (return-type "gboolean")
)

(define-method sync
  (of-object "GdkDisplay")
  (c-name "gdk_display_sync")
  (return-type "none")
)

(define-method translate_key
  (of-object "GdkDisplay")
  (c-name "gdk_display_translate_key")
  (return-type "gboolean")
  (parameters
    '("guint" "keycode")
    '("GdkModifierType" "state")
    '("int" "group")
    '("guint*" "keyval")
    '("int*" "effective_group")
    '("int*" "level")
    '("GdkModifierType*" "consumed")
  )
)

(define-function gdk_display_manager_get
  (c-name "gdk_display_manager_get")
  (return-type "GdkDisplayManager*")
)

(define-method get_default_display
  (of-object "GdkDisplayManager")
  (c-name "gdk_display_manager_get_default_display")
  (return-type "GdkDisplay*")
)

(define-method list_displays
  (of-object "GdkDisplayManager")
  (c-name "gdk_display_manager_list_displays")
  (return-type "GSList*")
)

(define-method open_display
  (of-object "GdkDisplayManager")
  (c-name "gdk_display_manager_open_display")
  (return-type "GdkDisplay*")
  (parameters
    '("const-char*" "name")
  )
)

(define-method set_default_display
  (of-object "GdkDisplayManager")
  (c-name "gdk_display_manager_set_default_display")
  (return-type "none")
  (parameters
    '("GdkDisplay*" "display")
  )
)

(define-method build
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_build")
  (return-type "GdkTexture*")
  (parameters
    '("GDestroyNotify" "destroy")
    '("gpointer" "data")
    '("GError**" "error")
  )
)

(define-method get_color_state
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_color_state")
  (return-type "GdkColorState*")
)

(define-method get_display
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_fd
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_fd")
  (return-type "int")
  (parameters
    '("unsigned-int" "plane")
  )
)

(define-method get_fourcc
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_fourcc")
  (return-type "guint32")
)

(define-method get_height
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_height")
  (return-type "unsigned-int")
)

(define-method get_modifier
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_modifier")
  (return-type "guint64")
)

(define-method get_n_planes
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_n_planes")
  (return-type "unsigned-int")
)

(define-method get_offset
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_offset")
  (return-type "unsigned-int")
  (parameters
    '("unsigned-int" "plane")
  )
)

(define-method get_premultiplied
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_premultiplied")
  (return-type "gboolean")
)

(define-method get_stride
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_stride")
  (return-type "unsigned-int")
  (parameters
    '("unsigned-int" "plane")
  )
)

(define-method get_update_region
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_update_region")
  (return-type "cairo_region_t*")
)

(define-method get_update_texture
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_update_texture")
  (return-type "GdkTexture*")
)

(define-method get_width
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_get_width")
  (return-type "unsigned-int")
)

(define-method set_color_state
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_color_state")
  (return-type "none")
  (parameters
    '("GdkColorState*" "color_state")
  )
)

(define-method set_display
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_display")
  (return-type "none")
  (parameters
    '("GdkDisplay*" "display")
  )
)

(define-method set_fd
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_fd")
  (return-type "none")
  (parameters
    '("unsigned-int" "plane")
    '("int" "fd")
  )
)

(define-method set_fourcc
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_fourcc")
  (return-type "none")
  (parameters
    '("guint32" "fourcc")
  )
)

(define-method set_height
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_height")
  (return-type "none")
  (parameters
    '("unsigned-int" "height")
  )
)

(define-method set_modifier
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_modifier")
  (return-type "none")
  (parameters
    '("guint64" "modifier")
  )
)

(define-method set_n_planes
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_n_planes")
  (return-type "none")
  (parameters
    '("unsigned-int" "n_planes")
  )
)

(define-method set_offset
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_offset")
  (return-type "none")
  (parameters
    '("unsigned-int" "plane")
    '("unsigned-int" "offset")
  )
)

(define-method set_premultiplied
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_premultiplied")
  (return-type "none")
  (parameters
    '("gboolean" "premultiplied")
  )
)

(define-method set_stride
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_stride")
  (return-type "none")
  (parameters
    '("unsigned-int" "plane")
    '("unsigned-int" "stride")
  )
)

(define-method set_update_region
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_update_region")
  (return-type "none")
  (parameters
    '("cairo_region_t*" "region")
  )
)

(define-method set_update_texture
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_update_texture")
  (return-type "none")
  (parameters
    '("GdkTexture*" "texture")
  )
)

(define-method set_width
  (of-object "GdkDmabufTextureBuilder")
  (c-name "gdk_dmabuf_texture_builder_set_width")
  (return-type "none")
  (parameters
    '("unsigned-int" "width")
  )
)

(define-function gdk_dmabuf_texture_builder_new
  (c-name "gdk_dmabuf_texture_builder_new")
  (is-constructor-of "GdkDmabufTextureBuilder")
  (return-type "GdkDmabufTextureBuilder*")
)

(define-function gdk_drag_begin
  (c-name "gdk_drag_begin")
  (return-type "GdkDrag*")
  (parameters
    '("GdkSurface*" "surface")
    '("GdkDevice*" "device")
    '("GdkContentProvider*" "content")
    '("GdkDragAction" "actions")
    '("double" "dx")
    '("double" "dy")
  )
)

(define-method drop_done
  (of-object "GdkDrag")
  (c-name "gdk_drag_drop_done")
  (return-type "none")
  (parameters
    '("gboolean" "success")
  )
)

(define-method get_actions
  (of-object "GdkDrag")
  (c-name "gdk_drag_get_actions")
  (return-type "GdkDragAction")
)

(define-method get_content
  (of-object "GdkDrag")
  (c-name "gdk_drag_get_content")
  (return-type "GdkContentProvider*")
)

(define-method get_device
  (of-object "GdkDrag")
  (c-name "gdk_drag_get_device")
  (return-type "GdkDevice*")
)

(define-method get_display
  (of-object "GdkDrag")
  (c-name "gdk_drag_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_drag_surface
  (of-object "GdkDrag")
  (c-name "gdk_drag_get_drag_surface")
  (return-type "GdkSurface*")
)

(define-method get_formats
  (of-object "GdkDrag")
  (c-name "gdk_drag_get_formats")
  (return-type "GdkContentFormats*")
)

(define-method get_selected_action
  (of-object "GdkDrag")
  (c-name "gdk_drag_get_selected_action")
  (return-type "GdkDragAction")
)

(define-method get_surface
  (of-object "GdkDrag")
  (c-name "gdk_drag_get_surface")
  (return-type "GdkSurface*")
)

(define-method set_hotspot
  (of-object "GdkDrag")
  (c-name "gdk_drag_set_hotspot")
  (return-type "none")
  (parameters
    '("int" "hot_x")
    '("int" "hot_y")
  )
)

(define-method begin_frame
  (of-object "GdkDrawContext")
  (c-name "gdk_draw_context_begin_frame")
  (return-type "none")
  (parameters
    '("const-cairo_region_t*" "region")
  )
)

(define-method end_frame
  (of-object "GdkDrawContext")
  (c-name "gdk_draw_context_end_frame")
  (return-type "none")
)

(define-method get_display
  (of-object "GdkDrawContext")
  (c-name "gdk_draw_context_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_frame_region
  (of-object "GdkDrawContext")
  (c-name "gdk_draw_context_get_frame_region")
  (return-type "const-cairo_region_t*")
)

(define-method get_surface
  (of-object "GdkDrawContext")
  (c-name "gdk_draw_context_get_surface")
  (return-type "GdkSurface*")
)

(define-method is_in_frame
  (of-object "GdkDrawContext")
  (c-name "gdk_draw_context_is_in_frame")
  (return-type "gboolean")
)

(define-method finish
  (of-object "GdkDrop")
  (c-name "gdk_drop_finish")
  (return-type "none")
  (parameters
    '("GdkDragAction" "action")
  )
)

(define-method get_actions
  (of-object "GdkDrop")
  (c-name "gdk_drop_get_actions")
  (return-type "GdkDragAction")
)

(define-method get_device
  (of-object "GdkDrop")
  (c-name "gdk_drop_get_device")
  (return-type "GdkDevice*")
)

(define-method get_display
  (of-object "GdkDrop")
  (c-name "gdk_drop_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_drag
  (of-object "GdkDrop")
  (c-name "gdk_drop_get_drag")
  (return-type "GdkDrag*")
)

(define-method get_formats
  (of-object "GdkDrop")
  (c-name "gdk_drop_get_formats")
  (return-type "GdkContentFormats*")
)

(define-method get_surface
  (of-object "GdkDrop")
  (c-name "gdk_drop_get_surface")
  (return-type "GdkSurface*")
)

(define-method read_async
  (of-object "GdkDrop")
  (c-name "gdk_drop_read_async")
  (return-type "none")
  (parameters
    '("const-char**" "mime_types")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_finish
  (of-object "GdkDrop")
  (c-name "gdk_drop_read_finish")
  (return-type "GInputStream*")
  (parameters
    '("GAsyncResult*" "result")
    '("const-char**" "out_mime_type")
    '("GError**" "error")
  )
)

(define-method read_value_async
  (of-object "GdkDrop")
  (c-name "gdk_drop_read_value_async")
  (return-type "none")
  (parameters
    '("GType" "type")
    '("int" "io_priority")
    '("GCancellable*" "cancellable")
    '("GAsyncReadyCallback" "callback")
    '("gpointer" "user_data")
  )
)

(define-method read_value_finish
  (of-object "GdkDrop")
  (c-name "gdk_drop_read_value_finish")
  (return-type "const-GValue*")
  (parameters
    '("GAsyncResult*" "result")
    '("GError**" "error")
  )
)

(define-method status
  (of-object "GdkDrop")
  (c-name "gdk_drop_status")
  (return-type "none")
  (parameters
    '("GdkDragAction" "actions")
    '("GdkDragAction" "preferred")
  )
)

(define-method get_axes
  (of-object "GdkEvent")
  (c-name "gdk_event_get_axes")
  (return-type "gboolean")
  (parameters
    '("double**" "axes")
    '("guint*" "n_axes")
  )
)

(define-method get_axis
  (of-object "GdkEvent")
  (c-name "gdk_event_get_axis")
  (return-type "gboolean")
  (parameters
    '("GdkAxisUse" "axis_use")
    '("double*" "value")
  )
)

(define-method get_device
  (of-object "GdkEvent")
  (c-name "gdk_event_get_device")
  (return-type "GdkDevice*")
)

(define-method get_device_tool
  (of-object "GdkEvent")
  (c-name "gdk_event_get_device_tool")
  (return-type "GdkDeviceTool*")
)

(define-method get_display
  (of-object "GdkEvent")
  (c-name "gdk_event_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_event_sequence
  (of-object "GdkEvent")
  (c-name "gdk_event_get_event_sequence")
  (return-type "GdkEventSequence*")
)

(define-method get_event_type
  (of-object "GdkEvent")
  (c-name "gdk_event_get_event_type")
  (return-type "GdkEventType")
)

(define-method get_history
  (of-object "GdkEvent")
  (c-name "gdk_event_get_history")
  (return-type "GdkTimeCoord*")
  (parameters
    '("guint*" "out_n_coords")
  )
)

(define-method get_modifier_state
  (of-object "GdkEvent")
  (c-name "gdk_event_get_modifier_state")
  (return-type "GdkModifierType")
)

(define-method get_pointer_emulated
  (of-object "GdkEvent")
  (c-name "gdk_event_get_pointer_emulated")
  (return-type "gboolean")
)

(define-method get_position
  (of-object "GdkEvent")
  (c-name "gdk_event_get_position")
  (return-type "gboolean")
  (parameters
    '("double*" "x")
    '("double*" "y")
  )
)

(define-method get_seat
  (of-object "GdkEvent")
  (c-name "gdk_event_get_seat")
  (return-type "GdkSeat*")
)

(define-method get_surface
  (of-object "GdkEvent")
  (c-name "gdk_event_get_surface")
  (return-type "GdkSurface*")
)

(define-method get_time
  (of-object "GdkEvent")
  (c-name "gdk_event_get_time")
  (return-type "guint32")
)

(define-method ref
  (of-object "GdkEvent")
  (c-name "gdk_event_ref")
  (return-type "GdkEvent*")
)

(define-method triggers_context_menu
  (of-object "GdkEvent")
  (c-name "gdk_event_triggers_context_menu")
  (return-type "gboolean")
)

(define-method unref
  (of-object "GdkEvent")
  (c-name "gdk_event_unref")
  (return-type "none")
)

(define-method get_in
  (of-object "GdkFocusEvent")
  (c-name "gdk_focus_event_get_in")
  (return-type "gboolean")
)

(define-method begin_updating
  (of-object "GdkFrameClock")
  (c-name "gdk_frame_clock_begin_updating")
  (return-type "none")
)

(define-method end_updating
  (of-object "GdkFrameClock")
  (c-name "gdk_frame_clock_end_updating")
  (return-type "none")
)

(define-method get_current_timings
  (of-object "GdkFrameClock")
  (c-name "gdk_frame_clock_get_current_timings")
  (return-type "GdkFrameTimings*")
)

(define-method get_fps
  (of-object "GdkFrameClock")
  (c-name "gdk_frame_clock_get_fps")
  (return-type "double")
)

(define-method get_frame_counter
  (of-object "GdkFrameClock")
  (c-name "gdk_frame_clock_get_frame_counter")
  (return-type "gint64")
)

(define-method get_frame_time
  (of-object "GdkFrameClock")
  (c-name "gdk_frame_clock_get_frame_time")
  (return-type "gint64")
)

(define-method get_history_start
  (of-object "GdkFrameClock")
  (c-name "gdk_frame_clock_get_history_start")
  (return-type "gint64")
)

(define-method get_refresh_info
  (of-object "GdkFrameClock")
  (c-name "gdk_frame_clock_get_refresh_info")
  (return-type "none")
  (parameters
    '("gint64" "base_time")
    '("gint64*" "refresh_interval_return")
    '("gint64*" "presentation_time_return")
  )
)

(define-method get_timings
  (of-object "GdkFrameClock")
  (c-name "gdk_frame_clock_get_timings")
  (return-type "GdkFrameTimings*")
  (parameters
    '("gint64" "frame_counter")
  )
)

(define-method request_phase
  (of-object "GdkFrameClock")
  (c-name "gdk_frame_clock_request_phase")
  (return-type "none")
  (parameters
    '("GdkFrameClockPhase" "phase")
  )
)

(define-function gdk_gl_context_clear_current
  (c-name "gdk_gl_context_clear_current")
  (return-type "none")
)

(define-function gdk_gl_context_get_current
  (c-name "gdk_gl_context_get_current")
  (return-type "GdkGLContext*")
)

(define-method get_allowed_apis
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_get_allowed_apis")
  (return-type "GdkGLAPI")
)

(define-method get_api
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_get_api")
  (return-type "GdkGLAPI")
)

(define-method get_debug_enabled
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_get_debug_enabled")
  (return-type "gboolean")
)

(define-method get_display
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_forward_compatible
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_get_forward_compatible")
  (return-type "gboolean")
)

(define-method get_required_version
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_get_required_version")
  (return-type "none")
  (parameters
    '("int*" "major")
    '("int*" "minor")
  )
)

(define-method get_shared_context
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_get_shared_context")
  (return-type "GdkGLContext*")
)

(define-method get_surface
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_get_surface")
  (return-type "GdkSurface*")
)

(define-method get_use_es
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_get_use_es")
  (return-type "gboolean")
)

(define-method get_version
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_get_version")
  (return-type "none")
  (parameters
    '("int*" "major")
    '("int*" "minor")
  )
)

(define-method is_legacy
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_is_legacy")
  (return-type "gboolean")
)

(define-method is_shared
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_is_shared")
  (return-type "gboolean")
  (parameters
    '("GdkGLContext*" "other")
  )
)

(define-method make_current
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_make_current")
  (return-type "none")
)

(define-method realize
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_realize")
  (return-type "gboolean")
  (parameters
    '("GError**" "error")
  )
)

(define-method set_allowed_apis
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_set_allowed_apis")
  (return-type "none")
  (parameters
    '("GdkGLAPI" "apis")
  )
)

(define-method set_debug_enabled
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_set_debug_enabled")
  (return-type "none")
  (parameters
    '("gboolean" "enabled")
  )
)

(define-method set_forward_compatible
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_set_forward_compatible")
  (return-type "none")
  (parameters
    '("gboolean" "compatible")
  )
)

(define-method set_required_version
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_set_required_version")
  (return-type "none")
  (parameters
    '("int" "major")
    '("int" "minor")
  )
)

(define-method set_use_es
  (of-object "GdkGLContext")
  (c-name "gdk_gl_context_set_use_es")
  (return-type "none")
  (parameters
    '("int" "use_es")
  )
)

(define-method release
  (of-object "GdkGLTexture")
  (c-name "gdk_gl_texture_release")
  (return-type "none")
)

(define-function gdk_gl_texture_new
  (c-name "gdk_gl_texture_new")
  (is-constructor-of "GdkGLTexture")
  (return-type "GdkTexture*")
  (parameters
    '("GdkGLContext*" "context")
    '("guint" "id")
    '("int" "width")
    '("int" "height")
    '("GDestroyNotify" "destroy")
    '("gpointer" "data")
  )
)

(define-method build
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_build")
  (return-type "GdkTexture*")
  (parameters
    '("GDestroyNotify" "destroy")
    '("gpointer" "data")
  )
)

(define-method get_color_state
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_get_color_state")
  (return-type "GdkColorState*")
)

(define-method get_context
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_get_context")
  (return-type "GdkGLContext*")
)

(define-method get_format
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_get_format")
  (return-type "GdkMemoryFormat")
)

(define-method get_has_mipmap
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_get_has_mipmap")
  (return-type "gboolean")
)

(define-method get_height
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_get_height")
  (return-type "int")
)

(define-method get_id
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_get_id")
  (return-type "guint")
)

(define-method get_sync
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_get_sync")
  (return-type "gpointer")
)

(define-method get_update_region
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_get_update_region")
  (return-type "cairo_region_t*")
)

(define-method get_update_texture
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_get_update_texture")
  (return-type "GdkTexture*")
)

(define-method get_width
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_get_width")
  (return-type "int")
)

(define-method set_color_state
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_set_color_state")
  (return-type "none")
  (parameters
    '("GdkColorState*" "color_state")
  )
)

(define-method set_context
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_set_context")
  (return-type "none")
  (parameters
    '("GdkGLContext*" "context")
  )
)

(define-method set_format
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_set_format")
  (return-type "none")
  (parameters
    '("GdkMemoryFormat" "format")
  )
)

(define-method set_has_mipmap
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_set_has_mipmap")
  (return-type "none")
  (parameters
    '("gboolean" "has_mipmap")
  )
)

(define-method set_height
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_set_height")
  (return-type "none")
  (parameters
    '("int" "height")
  )
)

(define-method set_id
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_set_id")
  (return-type "none")
  (parameters
    '("guint" "id")
  )
)

(define-method set_sync
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_set_sync")
  (return-type "none")
  (parameters
    '("gpointer" "sync")
  )
)

(define-method set_update_region
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_set_update_region")
  (return-type "none")
  (parameters
    '("cairo_region_t*" "region")
  )
)

(define-method set_update_texture
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_set_update_texture")
  (return-type "none")
  (parameters
    '("GdkTexture*" "texture")
  )
)

(define-method set_width
  (of-object "GdkGLTextureBuilder")
  (c-name "gdk_gl_texture_builder_set_width")
  (return-type "none")
  (parameters
    '("int" "width")
  )
)

(define-function gdk_gl_texture_builder_new
  (c-name "gdk_gl_texture_builder_new")
  (is-constructor-of "GdkGLTextureBuilder")
  (return-type "GdkGLTextureBuilder*")
)

(define-method get_grab_surface
  (of-object "GdkGrabBrokenEvent")
  (c-name "gdk_grab_broken_event_get_grab_surface")
  (return-type "GdkSurface*")
)

(define-method get_implicit
  (of-object "GdkGrabBrokenEvent")
  (c-name "gdk_grab_broken_event_get_implicit")
  (return-type "gboolean")
)

(define-method get_consumed_modifiers
  (of-object "GdkKeyEvent")
  (c-name "gdk_key_event_get_consumed_modifiers")
  (return-type "GdkModifierType")
)

(define-method get_keycode
  (of-object "GdkKeyEvent")
  (c-name "gdk_key_event_get_keycode")
  (return-type "guint")
)

(define-method get_keyval
  (of-object "GdkKeyEvent")
  (c-name "gdk_key_event_get_keyval")
  (return-type "guint")
)

(define-method get_layout
  (of-object "GdkKeyEvent")
  (c-name "gdk_key_event_get_layout")
  (return-type "guint")
)

(define-method get_level
  (of-object "GdkKeyEvent")
  (c-name "gdk_key_event_get_level")
  (return-type "guint")
)

(define-method get_match
  (of-object "GdkKeyEvent")
  (c-name "gdk_key_event_get_match")
  (return-type "gboolean")
  (parameters
    '("guint*" "keyval")
    '("GdkModifierType*" "modifiers")
  )
)

(define-method is_modifier
  (of-object "GdkKeyEvent")
  (c-name "gdk_key_event_is_modifier")
  (return-type "gboolean")
)

(define-method matches
  (of-object "GdkKeyEvent")
  (c-name "gdk_key_event_matches")
  (return-type "GdkKeyMatch")
  (parameters
    '("guint" "keyval")
    '("GdkModifierType" "modifiers")
  )
)

(define-function gdk_memory_texture_new
  (c-name "gdk_memory_texture_new")
  (is-constructor-of "GdkMemoryTexture")
  (return-type "GdkTexture*")
  (parameters
    '("int" "width")
    '("int" "height")
    '("GdkMemoryFormat" "format")
    '("GBytes*" "bytes")
    '("gsize" "stride")
  )
)

(define-method build
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_build")
  (return-type "GdkTexture*")
)

(define-method get_bytes
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_get_bytes")
  (return-type "GBytes*")
)

(define-method get_color_state
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_get_color_state")
  (return-type "GdkColorState*")
)

(define-method get_format
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_get_format")
  (return-type "GdkMemoryFormat")
)

(define-method get_height
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_get_height")
  (return-type "int")
)

(define-method get_offset
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_get_offset")
  (return-type "gsize")
  (parameters
    '("unsigned-int" "plane")
  )
)

(define-method get_stride
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_get_stride")
  (return-type "gsize")
)

(define-method get_stride_for_plane
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_get_stride_for_plane")
  (return-type "gsize")
  (parameters
    '("unsigned-int" "plane")
  )
)

(define-method get_update_region
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_get_update_region")
  (return-type "cairo_region_t*")
)

(define-method get_update_texture
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_get_update_texture")
  (return-type "GdkTexture*")
)

(define-method get_width
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_get_width")
  (return-type "int")
)

(define-method set_bytes
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_set_bytes")
  (return-type "none")
  (parameters
    '("GBytes*" "bytes")
  )
)

(define-method set_color_state
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_set_color_state")
  (return-type "none")
  (parameters
    '("GdkColorState*" "color_state")
  )
)

(define-method set_format
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_set_format")
  (return-type "none")
  (parameters
    '("GdkMemoryFormat" "format")
  )
)

(define-method set_height
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_set_height")
  (return-type "none")
  (parameters
    '("int" "height")
  )
)

(define-method set_offset
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_set_offset")
  (return-type "none")
  (parameters
    '("unsigned-int" "plane")
    '("gsize" "offset")
  )
)

(define-method set_stride
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_set_stride")
  (return-type "none")
  (parameters
    '("gsize" "stride")
  )
)

(define-method set_stride_for_plane
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_set_stride_for_plane")
  (return-type "none")
  (parameters
    '("unsigned-int" "plane")
    '("gsize" "stride")
  )
)

(define-method set_update_region
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_set_update_region")
  (return-type "none")
  (parameters
    '("cairo_region_t*" "region")
  )
)

(define-method set_update_texture
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_set_update_texture")
  (return-type "none")
  (parameters
    '("GdkTexture*" "texture")
  )
)

(define-method set_width
  (of-object "GdkMemoryTextureBuilder")
  (c-name "gdk_memory_texture_builder_set_width")
  (return-type "none")
  (parameters
    '("int" "width")
  )
)

(define-function gdk_memory_texture_builder_new
  (c-name "gdk_memory_texture_builder_new")
  (is-constructor-of "GdkMemoryTextureBuilder")
  (return-type "GdkMemoryTextureBuilder*")
)

(define-method get_connector
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_connector")
  (return-type "const-char*")
)

(define-method get_description
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_description")
  (return-type "const-char*")
)

(define-method get_display
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_geometry
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_geometry")
  (return-type "none")
  (parameters
    '("GdkRectangle*" "geometry")
  )
)

(define-method get_height_mm
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_height_mm")
  (return-type "int")
)

(define-method get_manufacturer
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_manufacturer")
  (return-type "const-char*")
)

(define-method get_model
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_model")
  (return-type "const-char*")
)

(define-method get_refresh_rate
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_refresh_rate")
  (return-type "int")
)

(define-method get_scale
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_scale")
  (return-type "double")
)

(define-method get_scale_factor
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_scale_factor")
  (return-type "int")
)

(define-method get_subpixel_layout
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_subpixel_layout")
  (return-type "GdkSubpixelLayout")
)

(define-method get_width_mm
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_get_width_mm")
  (return-type "int")
)

(define-method is_valid
  (of-object "GdkMonitor")
  (c-name "gdk_monitor_is_valid")
  (return-type "gboolean")
)

(define-method get_axis_value
  (of-object "GdkPadEvent")
  (c-name "gdk_pad_event_get_axis_value")
  (return-type "none")
  (parameters
    '("guint*" "index")
    '("double*" "value")
  )
)

(define-method get_button
  (of-object "GdkPadEvent")
  (c-name "gdk_pad_event_get_button")
  (return-type "guint")
)

(define-method get_group_mode
  (of-object "GdkPadEvent")
  (c-name "gdk_pad_event_get_group_mode")
  (return-type "none")
  (parameters
    '("guint*" "group")
    '("guint*" "mode")
  )
)

(define-method get_deltas
  (of-object "GdkScrollEvent")
  (c-name "gdk_scroll_event_get_deltas")
  (return-type "none")
  (parameters
    '("double*" "delta_x")
    '("double*" "delta_y")
  )
)

(define-method get_direction
  (of-object "GdkScrollEvent")
  (c-name "gdk_scroll_event_get_direction")
  (return-type "GdkScrollDirection")
)

(define-method get_relative_direction
  (of-object "GdkScrollEvent")
  (c-name "gdk_scroll_event_get_relative_direction")
  (return-type "GdkScrollRelativeDirection")
)

(define-method get_unit
  (of-object "GdkScrollEvent")
  (c-name "gdk_scroll_event_get_unit")
  (return-type "GdkScrollUnit")
)

(define-method is_stop
  (of-object "GdkScrollEvent")
  (c-name "gdk_scroll_event_is_stop")
  (return-type "gboolean")
)

(define-method get_capabilities
  (of-object "GdkSeat")
  (c-name "gdk_seat_get_capabilities")
  (return-type "GdkSeatCapabilities")
)

(define-method get_devices
  (of-object "GdkSeat")
  (c-name "gdk_seat_get_devices")
  (return-type "GList*")
  (parameters
    '("GdkSeatCapabilities" "capabilities")
  )
)

(define-method get_display
  (of-object "GdkSeat")
  (c-name "gdk_seat_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_keyboard
  (of-object "GdkSeat")
  (c-name "gdk_seat_get_keyboard")
  (return-type "GdkDevice*")
)

(define-method get_pointer
  (of-object "GdkSeat")
  (c-name "gdk_seat_get_pointer")
  (return-type "GdkDevice*")
)

(define-method get_tools
  (of-object "GdkSeat")
  (c-name "gdk_seat_get_tools")
  (return-type "GList*")
)

(define-method beep
  (of-object "GdkSurface")
  (c-name "gdk_surface_beep")
  (return-type "none")
)

(define-method create_cairo_context
  (of-object "GdkSurface")
  (c-name "gdk_surface_create_cairo_context")
  (return-type "GdkCairoContext*")
)

(define-method create_gl_context
  (of-object "GdkSurface")
  (c-name "gdk_surface_create_gl_context")
  (return-type "GdkGLContext*")
  (parameters
    '("GError**" "error")
  )
)

(define-method create_similar_surface
  (of-object "GdkSurface")
  (c-name "gdk_surface_create_similar_surface")
  (return-type "cairo_surface_t*")
  (parameters
    '("cairo_content_t" "content")
    '("int" "width")
    '("int" "height")
  )
)

(define-method create_vulkan_context
  (of-object "GdkSurface")
  (c-name "gdk_surface_create_vulkan_context")
  (return-type "GdkVulkanContext*")
  (parameters
    '("GError**" "error")
  )
)

(define-method destroy
  (of-object "GdkSurface")
  (c-name "gdk_surface_destroy")
  (return-type "none")
)

(define-method get_cursor
  (of-object "GdkSurface")
  (c-name "gdk_surface_get_cursor")
  (return-type "GdkCursor*")
)

(define-method get_device_cursor
  (of-object "GdkSurface")
  (c-name "gdk_surface_get_device_cursor")
  (return-type "GdkCursor*")
  (parameters
    '("GdkDevice*" "device")
  )
)

(define-method get_device_position
  (of-object "GdkSurface")
  (c-name "gdk_surface_get_device_position")
  (return-type "gboolean")
  (parameters
    '("GdkDevice*" "device")
    '("double*" "x")
    '("double*" "y")
    '("GdkModifierType*" "mask")
  )
)

(define-method get_display
  (of-object "GdkSurface")
  (c-name "gdk_surface_get_display")
  (return-type "GdkDisplay*")
)

(define-method get_frame_clock
  (of-object "GdkSurface")
  (c-name "gdk_surface_get_frame_clock")
  (return-type "GdkFrameClock*")
)

(define-method get_height
  (of-object "GdkSurface")
  (c-name "gdk_surface_get_height")
  (return-type "int")
)

(define-method get_mapped
  (of-object "GdkSurface")
  (c-name "gdk_surface_get_mapped")
  (return-type "gboolean")
)

(define-method get_scale
  (of-object "GdkSurface")
  (c-name "gdk_surface_get_scale")
  (return-type "double")
)

(define-method get_scale_factor
  (of-object "GdkSurface")
  (c-name "gdk_surface_get_scale_factor")
  (return-type "int")
)

(define-method get_width
  (of-object "GdkSurface")
  (c-name "gdk_surface_get_width")
  (return-type "int")
)

(define-method hide
  (of-object "GdkSurface")
  (c-name "gdk_surface_hide")
  (return-type "none")
)

(define-method is_destroyed
  (of-object "GdkSurface")
  (c-name "gdk_surface_is_destroyed")
  (return-type "gboolean")
)

(define-method queue_render
  (of-object "GdkSurface")
  (c-name "gdk_surface_queue_render")
  (return-type "none")
)

(define-method request_layout
  (of-object "GdkSurface")
  (c-name "gdk_surface_request_layout")
  (return-type "none")
)

(define-method set_cursor
  (of-object "GdkSurface")
  (c-name "gdk_surface_set_cursor")
  (return-type "none")
  (parameters
    '("GdkCursor*" "cursor")
  )
)

(define-method set_device_cursor
  (of-object "GdkSurface")
  (c-name "gdk_surface_set_device_cursor")
  (return-type "none")
  (parameters
    '("GdkDevice*" "device")
    '("GdkCursor*" "cursor")
  )
)

(define-method set_input_region
  (of-object "GdkSurface")
  (c-name "gdk_surface_set_input_region")
  (return-type "none")
  (parameters
    '("cairo_region_t*" "region")
  )
)

(define-method set_opaque_region
  (of-object "GdkSurface")
  (c-name "gdk_surface_set_opaque_region")
  (return-type "none")
  (parameters
    '("cairo_region_t*" "region")
  )
)

(define-method translate_coordinates
  (of-object "GdkSurface")
  (c-name "gdk_surface_translate_coordinates")
  (return-type "gboolean")
  (parameters
    '("GdkSurface*" "to")
    '("double*" "x")
    '("double*" "y")
  )
)

(define-function gdk_surface_new_popup
  (c-name "gdk_surface_new_popup")
  (is-constructor-of "GdkSurface")
  (return-type "GdkSurface*")
  (parameters
    '("GdkSurface*" "parent")
    '("gboolean" "autohide")
  )
)

(define-function gdk_surface_new_toplevel
  (c-name "gdk_surface_new_toplevel")
  (is-constructor-of "GdkSurface")
  (return-type "GdkSurface*")
  (parameters
    '("GdkDisplay*" "display")
  )
)

(define-method download
  (of-object "GdkTexture")
  (c-name "gdk_texture_download")
  (return-type "none")
  (parameters
    '("guchar*" "data")
    '("gsize" "stride")
  )
)

(define-method get_color_state
  (of-object "GdkTexture")
  (c-name "gdk_texture_get_color_state")
  (return-type "GdkColorState*")
)

(define-method get_format
  (of-object "GdkTexture")
  (c-name "gdk_texture_get_format")
  (return-type "GdkMemoryFormat")
)

(define-method get_height
  (of-object "GdkTexture")
  (c-name "gdk_texture_get_height")
  (return-type "int")
)

(define-method get_width
  (of-object "GdkTexture")
  (c-name "gdk_texture_get_width")
  (return-type "int")
)

(define-method save_to_png
  (of-object "GdkTexture")
  (c-name "gdk_texture_save_to_png")
  (return-type "gboolean")
  (parameters
    '("const-char*" "filename")
  )
)

(define-method save_to_png_bytes
  (of-object "GdkTexture")
  (c-name "gdk_texture_save_to_png_bytes")
  (return-type "GBytes*")
)

(define-method save_to_tiff
  (of-object "GdkTexture")
  (c-name "gdk_texture_save_to_tiff")
  (return-type "gboolean")
  (parameters
    '("const-char*" "filename")
  )
)

(define-method save_to_tiff_bytes
  (of-object "GdkTexture")
  (c-name "gdk_texture_save_to_tiff_bytes")
  (return-type "GBytes*")
)

(define-function gdk_texture_new_for_pixbuf
  (c-name "gdk_texture_new_for_pixbuf")
  (is-constructor-of "GdkTexture")
  (return-type "GdkTexture*")
  (parameters
    '("GdkPixbuf*" "pixbuf")
  )
)

(define-function gdk_texture_new_from_bytes
  (c-name "gdk_texture_new_from_bytes")
  (is-constructor-of "GdkTexture")
  (return-type "GdkTexture*")
  (parameters
    '("GBytes*" "bytes")
    '("GError**" "error")
  )
)

(define-function gdk_texture_new_from_file
  (c-name "gdk_texture_new_from_file")
  (is-constructor-of "GdkTexture")
  (return-type "GdkTexture*")
  (parameters
    '("GFile*" "file")
    '("GError**" "error")
  )
)

(define-function gdk_texture_new_from_filename
  (c-name "gdk_texture_new_from_filename")
  (is-constructor-of "GdkTexture")
  (return-type "GdkTexture*")
  (parameters
    '("const-char*" "path")
    '("GError**" "error")
  )
)

(define-function gdk_texture_new_from_resource
  (c-name "gdk_texture_new_from_resource")
  (is-constructor-of "GdkTexture")
  (return-type "GdkTexture*")
  (parameters
    '("const-char*" "resource_path")
  )
)

(define-method get_emulating_pointer
  (of-object "GdkTouchEvent")
  (c-name "gdk_touch_event_get_emulating_pointer")
  (return-type "gboolean")
)

(define-method get_deltas
  (of-object "GdkTouchpadEvent")
  (c-name "gdk_touchpad_event_get_deltas")
  (return-type "none")
  (parameters
    '("double*" "dx")
    '("double*" "dy")
  )
)

(define-method get_gesture_phase
  (of-object "GdkTouchpadEvent")
  (c-name "gdk_touchpad_event_get_gesture_phase")
  (return-type "GdkTouchpadGesturePhase")
)

(define-method get_n_fingers
  (of-object "GdkTouchpadEvent")
  (c-name "gdk_touchpad_event_get_n_fingers")
  (return-type "guint")
)

(define-method get_pinch_angle_delta
  (of-object "GdkTouchpadEvent")
  (c-name "gdk_touchpad_event_get_pinch_angle_delta")
  (return-type "double")
)

(define-method get_pinch_scale
  (of-object "GdkTouchpadEvent")
  (c-name "gdk_touchpad_event_get_pinch_scale")
  (return-type "double")
)

