;; From GdkAppLaunchContext

(define-property display
  (of-object "GdkAppLaunchContext")
  (prop-type "GParamObject")
  (docs "Display")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

;; From GdkClipboard

(define-signal changed
  (of-object "GdkClipboard")
  (return-type "void")
  (flags "Run Last")
)

(define-property display
  (of-object "GdkClipboard")
  (prop-type "GParamObject")
  (docs "Display owning this clipboard")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property formats
  (of-object "GdkClipboard")
  (prop-type "GParamBoxed")
  (docs "The possible formats for data")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

(define-property local
  (of-object "GdkClipboard")
  (prop-type "GParamBoolean")
  (docs "If the contents are owned by this process")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "TRUE")
)

(define-property content
  (of-object "GdkClipboard")
  (prop-type "GParamObject")
  (docs "Provider of the clipboard's content")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

;; From GdkContentProvider

(define-signal content-changed
  (of-object "GdkContentProvider")
  (return-type "void")
  (flags "Run Last")
)

(define-property formats
  (of-object "GdkContentProvider")
  (prop-type "GParamBoxed")
  (docs "The possible formats for data")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

(define-property storable-formats
  (of-object "GdkContentProvider")
  (prop-type "GParamBoxed")
  (docs "The formats that data should be stored in")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

;; From GdkCursor

(define-property fallback
  (of-object "GdkCursor")
  (prop-type "GParamObject")
  (docs "Cursor image to fall back to if this cursor cannot be displayed")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property hotspot-x
  (of-object "GdkCursor")
  (prop-type "GParamInt")
  (docs "Horizontal offset of the cursor hotspot")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "0")
)

(define-property hotspot-y
  (of-object "GdkCursor")
  (prop-type "GParamInt")
  (docs "Vertical offset of the cursor hotspot")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "0")
)

(define-property name
  (of-object "GdkCursor")
  (prop-type "GParamString")
  (docs "Name of this cursor")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "")
)

(define-property texture
  (of-object "GdkCursor")
  (prop-type "GParamObject")
  (docs "The texture displayed by this cursor")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

;; From GdkDevice

(define-signal changed
  (of-object "GdkDevice")
  (return-type "void")
  (flags "Run Last")
)

(define-signal tool-changed
  (of-object "GdkDevice")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkDeviceTool*" "p0")
  )
)

(define-property display
  (of-object "GdkDevice")
  (prop-type "GParamObject")
  (docs "Display which the device belongs to")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property name
  (of-object "GdkDevice")
  (prop-type "GParamString")
  (docs "Device name")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "")
)

(define-property associated-device
  (of-object "GdkDevice")
  (prop-type "GParamObject")
  (docs "Associated pointer or keyboard with this device")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

(define-property type
  (of-object "GdkDevice")
  (prop-type "GParamEnum")
  (docs "Device role in the device manager")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "GDK_DEVICE_TYPE_MASTER")
)

(define-property input-source
  (of-object "GdkDevice")
  (prop-type "GParamEnum")
  (docs "Source type for the device")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "GDK_SOURCE_MOUSE")
)

(define-property input-mode
  (of-object "GdkDevice")
  (prop-type "GParamEnum")
  (docs "Input mode for the device")
  (readable #t)
  (writable #t)
  (construct-only #f)
  (default-value "GDK_MODE_DISABLED")
)

(define-property has-cursor
  (of-object "GdkDevice")
  (prop-type "GParamBoolean")
  (docs "Whether there is a visible cursor following device motion")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "FALSE")
)

(define-property n-axes
  (of-object "GdkDevice")
  (prop-type "GParamUInt")
  (docs "Number of axes in the device")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "0")
)

(define-property vendor-id
  (of-object "GdkDevice")
  (prop-type "GParamString")
  (docs "Vendor ID")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "")
)

(define-property product-id
  (of-object "GdkDevice")
  (prop-type "GParamString")
  (docs "Product ID")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "")
)

(define-property seat
  (of-object "GdkDevice")
  (prop-type "GParamObject")
  (docs "Seat")
  (readable #t)
  (writable #t)
  (construct-only #f)
)

(define-property num-touches
  (of-object "GdkDevice")
  (prop-type "GParamUInt")
  (docs "Number of concurrent touches")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "0")
)

(define-property axes
  (of-object "GdkDevice")
  (prop-type "GParamFlags")
  (docs "Axes")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "0")
)

(define-property tool
  (of-object "GdkDevice")
  (prop-type "GParamObject")
  (docs "The tool that is currently used with this device")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

;; From GdkDeviceTool

(define-property serial
  (of-object "GdkDeviceTool")
  (prop-type "GParamUInt64")
  (docs "Serial number")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "0")
)

(define-property tool-type
  (of-object "GdkDeviceTool")
  (prop-type "GParamEnum")
  (docs "Tool type")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "GDK_DEVICE_TOOL_TYPE_UNKNOWN")
)

(define-property axes
  (of-object "GdkDeviceTool")
  (prop-type "GParamFlags")
  (docs "Tool axes")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "0")
)

(define-property hardware-id
  (of-object "GdkDeviceTool")
  (prop-type "GParamUInt64")
  (docs "Hardware ID")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "0")
)

;; From GdkDisplay

(define-signal opened
  (of-object "GdkDisplay")
  (return-type "void")
  (flags "Run Last")
)

(define-signal closed
  (of-object "GdkDisplay")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("gboolean" "p0")
  )
)

(define-signal seat-added
  (of-object "GdkDisplay")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkSeat*" "p0")
  )
)

(define-signal seat-removed
  (of-object "GdkDisplay")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkSeat*" "p0")
  )
)

(define-signal monitor-added
  (of-object "GdkDisplay")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkMonitor*" "p0")
  )
)

(define-signal monitor-removed
  (of-object "GdkDisplay")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkMonitor*" "p0")
  )
)

(define-signal setting-changed
  (of-object "GdkDisplay")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("const-gchar*" "p0")
  )
)

(define-property composited
  (of-object "GdkDisplay")
  (prop-type "GParamBoolean")
  (docs "Composited")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "TRUE")
)

(define-property rgba
  (of-object "GdkDisplay")
  (prop-type "GParamBoolean")
  (docs "RGBA")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "TRUE")
)

;; From GdkDisplayManager

(define-signal display-opened
  (of-object "GdkDisplayManager")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkDisplay*" "p0")
  )
)

(define-property default-display
  (of-object "GdkDisplayManager")
  (prop-type "GParamObject")
  (docs "The default display for GDK")
  (readable #t)
  (writable #t)
  (construct-only #f)
)

;; From GdkDrag

(define-signal cancel
  (of-object "GdkDrag")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkDragCancelReason" "p0")
  )
)

(define-signal drop-performed
  (of-object "GdkDrag")
  (return-type "void")
  (flags "Run Last")
)

(define-signal dnd-finished
  (of-object "GdkDrag")
  (return-type "void")
  (flags "Run Last")
)

(define-property content
  (of-object "GdkDrag")
  (prop-type "GParamObject")
  (docs "The content being dragged")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property device
  (of-object "GdkDrag")
  (prop-type "GParamObject")
  (docs "The device performing the drag")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property display
  (of-object "GdkDrag")
  (prop-type "GParamObject")
  (docs "Display this drag belongs to")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

(define-property formats
  (of-object "GdkDrag")
  (prop-type "GParamBoxed")
  (docs "The possible formats for data")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property selected-action
  (of-object "GdkDrag")
  (prop-type "GParamFlags")
  (docs "The currently selected action")
  (readable #t)
  (writable #t)
  (construct-only #f)
  (default-value "0")
)

(define-property actions
  (of-object "GdkDrag")
  (prop-type "GParamFlags")
  (docs "The possible actions")
  (readable #t)
  (writable #t)
  (construct-only #f)
  (default-value "0")
)

(define-property surface
  (of-object "GdkDrag")
  (prop-type "GParamObject")
  (docs "The surface where the drag originates")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

;; From GdkDrawContext

(define-property display
  (of-object "GdkDrawContext")
  (prop-type "GParamObject")
  (docs "The GDK display used to create the context")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

(define-property surface
  (of-object "GdkDrawContext")
  (prop-type "GParamObject")
  (docs "The GDK surface bound to the context")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

;; From GdkDrop

(define-property actions
  (of-object "GdkDrop")
  (prop-type "GParamFlags")
  (docs "The possible actions for this drop")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "GDK_ACTION_COPY | GDK_ACTION_MOVE | GDK_ACTION_LINK")
)

(define-property device
  (of-object "GdkDrop")
  (prop-type "GParamObject")
  (docs "The device performing the drop")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property display
  (of-object "GdkDrop")
  (prop-type "GParamObject")
  (docs "Display this drag belongs to")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

(define-property drag
  (of-object "GdkDrop")
  (prop-type "GParamObject")
  (docs "The drag that initiated this drop")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property formats
  (of-object "GdkDrop")
  (prop-type "GParamBoxed")
  (docs "The possible formats for data")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property surface
  (of-object "GdkDrop")
  (prop-type "GParamObject")
  (docs "The surface the drop is happening on")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

;; From GdkEvent

(define-property event-type
  (of-object "GdkEvent")
  (prop-type "GParamEnum")
  (docs "Event type")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "GDK_NOTHING")
)

;; From GdkFrameClock

(define-signal flush-events
  (of-object "GdkFrameClock")
  (return-type "void")
  (flags "Run Last")
)

(define-signal before-paint
  (of-object "GdkFrameClock")
  (return-type "void")
  (flags "Run Last")
)

(define-signal update
  (of-object "GdkFrameClock")
  (return-type "void")
  (flags "Run Last")
)

(define-signal layout
  (of-object "GdkFrameClock")
  (return-type "void")
  (flags "Run Last")
)

(define-signal paint
  (of-object "GdkFrameClock")
  (return-type "void")
  (flags "Run Last")
)

(define-signal after-paint
  (of-object "GdkFrameClock")
  (return-type "void")
  (flags "Run Last")
)

(define-signal resume-events
  (of-object "GdkFrameClock")
  (return-type "void")
  (flags "Run Last")
)

;; From GdkMonitor

(define-signal invalidate
  (of-object "GdkMonitor")
  (return-type "void")
  (flags "Run First")
)

(define-property display
  (of-object "GdkMonitor")
  (prop-type "GParamObject")
  (docs "The display of the monitor")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property manufacturer
  (of-object "GdkMonitor")
  (prop-type "GParamString")
  (docs "The manufacturer name")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "")
)

(define-property model
  (of-object "GdkMonitor")
  (prop-type "GParamString")
  (docs "The model name")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "")
)

(define-property scale-factor
  (of-object "GdkMonitor")
  (prop-type "GParamInt")
  (docs "The scale factor")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "1")
)

(define-property geometry
  (of-object "GdkMonitor")
  (prop-type "GParamBoxed")
  (docs "The geometry of the monitor")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

(define-property workarea
  (of-object "GdkMonitor")
  (prop-type "GParamBoxed")
  (docs "The workarea of the monitor")
  (readable #t)
  (writable #f)
  (construct-only #f)
)

(define-property width-mm
  (of-object "GdkMonitor")
  (prop-type "GParamInt")
  (docs "The width of the monitor, in millimeters")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "0")
)

(define-property height-mm
  (of-object "GdkMonitor")
  (prop-type "GParamInt")
  (docs "The height of the monitor, in millimeters")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "0")
)

(define-property refresh-rate
  (of-object "GdkMonitor")
  (prop-type "GParamInt")
  (docs "The refresh rate, in millihertz")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "0")
)

(define-property subpixel-layout
  (of-object "GdkMonitor")
  (prop-type "GParamEnum")
  (docs "The subpixel layout")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "GDK_SUBPIXEL_LAYOUT_UNKNOWN")
)

(define-property valid
  (of-object "GdkMonitor")
  (prop-type "GParamBoolean")
  (docs "Whether the monitor is still valid")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "TRUE")
)

;; From GdkPaintable

(define-signal invalidate-contents
  (of-object "GdkPaintable")
  (return-type "void")
  (flags "Run Last")
)

(define-signal invalidate-size
  (of-object "GdkPaintable")
  (return-type "void")
  (flags "Run Last")
)

;; From GdkPixbuf

(define-property colorspace
  (of-object "GdkPixbuf")
  (prop-type "GParamEnum")
  (docs "The colorspace in which the samples are interpreted")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "GDK_COLORSPACE_RGB")
)

(define-property n-channels
  (of-object "GdkPixbuf")
  (prop-type "GParamInt")
  (docs "The number of samples per pixel")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "3")
)

(define-property has-alpha
  (of-object "GdkPixbuf")
  (prop-type "GParamBoolean")
  (docs "Whether the pixbuf has an alpha channel")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "FALSE")
)

(define-property bits-per-sample
  (of-object "GdkPixbuf")
  (prop-type "GParamInt")
  (docs "The number of bits per sample")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "8")
)

(define-property width
  (of-object "GdkPixbuf")
  (prop-type "GParamInt")
  (docs "The number of columns of the pixbuf")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "1")
)

(define-property height
  (of-object "GdkPixbuf")
  (prop-type "GParamInt")
  (docs "The number of rows of the pixbuf")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "1")
)

(define-property rowstride
  (of-object "GdkPixbuf")
  (prop-type "GParamInt")
  (docs "The number of bytes between the start of a row and the start of the next row")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "1")
)

(define-property pixels
  (of-object "GdkPixbuf")
  (prop-type "GParamPointer")
  (docs "A pointer to the pixel data of the pixbuf")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property pixel-bytes
  (of-object "GdkPixbuf")
  (prop-type "GParamBoxed")
  (docs "Readonly pixel data")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

;; From GdkPixbufAnimation

;; From GdkPixbufLoader

(define-signal closed
  (of-object "GdkPixbufLoader")
  (return-type "void")
  (flags "Run Last")
)

(define-signal size-prepared
  (of-object "GdkPixbufLoader")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("gint" "p0")
    '("gint" "p1")
  )
)

(define-signal area-prepared
  (of-object "GdkPixbufLoader")
  (return-type "void")
  (flags "Run Last")
)

(define-signal area-updated
  (of-object "GdkPixbufLoader")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("gint" "p0")
    '("gint" "p1")
    '("gint" "p2")
    '("gint" "p3")
  )
)

;; GdkRGBA is neither a GObject nor a GInterface. Not checked for signals and properties.

;; From GdkSeat

(define-signal device-added
  (of-object "GdkSeat")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkDevice*" "p0")
  )
)

(define-signal device-removed
  (of-object "GdkSeat")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkDevice*" "p0")
  )
)

(define-signal tool-added
  (of-object "GdkSeat")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkDeviceTool*" "p0")
  )
)

(define-signal tool-removed
  (of-object "GdkSeat")
  (return-type "void")
  (flags "Run Last")
  (parameters
    '("GdkDeviceTool*" "p0")
  )
)

(define-property display
  (of-object "GdkSeat")
  (prop-type "GParamObject")
  (docs "Display")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

;; From GdkSurface

(define-signal moved-to-rect
  (of-object "GdkSurface")
  (return-type "void")
  (flags "Run First")
  (parameters
    '("gpointer" "p0")
    '("gpointer" "p1")
    '("gboolean" "p2")
    '("gboolean" "p3")
  )
)

(define-signal size-changed
  (of-object "GdkSurface")
  (return-type "void")
  (flags "Run First")
  (parameters
    '("gint" "p0")
    '("gint" "p1")
  )
)

(define-signal render
  (of-object "GdkSurface")
  (return-type "gboolean")
  (flags "Run Last")
  (parameters
    '("CairoRegion*" "p0")
  )
)

(define-signal event
  (of-object "GdkSurface")
  (return-type "gboolean")
  (flags "Run Last")
  (parameters
    '("GdkEvent*" "p0")
  )
)

(define-property cursor
  (of-object "GdkSurface")
  (prop-type "GParamObject")
  (docs "Cursor")
  (readable #t)
  (writable #t)
  (construct-only #f)
)

(define-property display
  (of-object "GdkSurface")
  (prop-type "GParamObject")
  (docs "Display")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property frame-clock
  (of-object "GdkSurface")
  (prop-type "GParamObject")
  (docs "Frame Clock")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

(define-property state
  (of-object "GdkSurface")
  (prop-type "GParamFlags")
  (docs "State")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "GDK_SURFACE_STATE_WITHDRAWN")
)

(define-property mapped
  (of-object "GdkSurface")
  (prop-type "GParamBoolean")
  (docs "Mapped")
  (readable #t)
  (writable #f)
  (construct-only #f)
  (default-value "FALSE")
)

;; From GdkTexture

(define-property width
  (of-object "GdkTexture")
  (prop-type "GParamInt")
  (docs "The width of the texture")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "1")
)

(define-property height
  (of-object "GdkTexture")
  (prop-type "GParamInt")
  (docs "The height of the texture")
  (readable #t)
  (writable #t)
  (construct-only #t)
  (default-value "1")
)

;; From GdkGLContext

(define-property shared-context
  (of-object "GdkGLContext")
  (prop-type "GParamObject")
  (docs "The GL context this context shares data with")
  (readable #t)
  (writable #t)
  (construct-only #t)
)

