Package-level declarations

Types

Link copied to clipboard
class AnchorHints(val mask: <Error class: unknown class>)

Positioning hints for aligning a surface relative to a rectangle.

Link copied to clipboard
open class AppLaunchContext(pointer: <Error class: unknown class><<Error class: unknown class>>)

GdkAppLaunchContext handles launching an application in a graphical context.

Link copied to clipboard
class AxisFlags(val mask: <Error class: unknown class>)

Flags describing the current capabilities of a device/tool.

Link copied to clipboard

Defines how device axes are interpreted by GTK.

Link copied to clipboard
open class ButtonEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a button on a pointer device.

Link copied to clipboard
open class CairoContext(pointer: <Error class: unknown class><<Error class: unknown class>>) : DrawContext

GdkCairoContext is an object representing the platform-specific draw context.

Link copied to clipboard
open class CicpParams(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkCicpParams struct contains the parameters that define a colorstate according to the ITU-T H.273 specification.

Link copied to clipboard

The values of this enumeration describe whether image data uses the full range of 8-bit values.

Link copied to clipboard
open class Clipboard(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkClipboard object represents data shared between applications or inside an application.

Link copied to clipboard
class ColorState(pointer: <Error class: unknown class><<Error class: unknown class>>)

A GdkColorState object provides the information to interpret colors and pixels in a variety of ways.

Link copied to clipboard
typealias ContentDeserializeFunc = (deserializer: ContentDeserializer) -> Unit

The type of a function that can be registered with gdk_content_register_deserializer().

Link copied to clipboard
open class ContentDeserializer(pointer: <Error class: unknown class><<Error class: unknown class>>)

A GdkContentDeserializer is used to deserialize content received via inter-application data transfers.

Link copied to clipboard
class ContentFormats(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkContentFormats structure is used to advertise and negotiate the format of content.

Link copied to clipboard
class ContentFormatsBuilder(pointer: <Error class: unknown class><<Error class: unknown class>>)

A GdkContentFormatsBuilder is an auxiliary struct used to create new GdkContentFormats, and should not be kept around.

Link copied to clipboard
open class ContentProvider(pointer: <Error class: unknown class><<Error class: unknown class>>)

A GdkContentProvider is used to provide content for the clipboard or for drag-and-drop operations in a number of formats.

Link copied to clipboard
typealias ContentSerializeFunc = (serializer: ContentSerializer) -> Unit

The type of a function that can be registered with gdk_content_register_serializer().

Link copied to clipboard
open class ContentSerializer(pointer: <Error class: unknown class><<Error class: unknown class>>)

A GdkContentSerializer is used to serialize content for inter-application data transfers.

Link copied to clipboard
open class CrossingEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event caused by a pointing device moving between surfaces.

Link copied to clipboard

Specifies the crossing mode for enter and leave events.

Link copied to clipboard
open class Cursor(pointer: <Error class: unknown class><<Error class: unknown class>>)

GdkCursor is used to create and destroy cursors.

Link copied to clipboard
typealias CursorGetTextureCallback = (cursor: Cursor, <Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>?) -> Texture?

The type of callback used by a dynamic GdkCursor to generate a texture for the cursor image at the given @cursor_size and @scale.

Link copied to clipboard
open class DeleteEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to closing a top-level surface.

Link copied to clipboard
open class Device(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkDevice object represents an input device, such as a keyboard, a mouse, or a touchpad.

Link copied to clipboard
interface DevicePad

GdkDevicePad is an interface implemented by devices of type %GDK_SOURCE_TABLET_PAD

Link copied to clipboard

A pad feature.

Link copied to clipboard
open class DeviceTool(pointer: <Error class: unknown class><<Error class: unknown class>>)

A physical tool associated to a GdkDevice.

Link copied to clipboard

Indicates the specific type of tool being used being a tablet. Such as an airbrush, pencil, etc.

Link copied to clipboard
open class Display(pointer: <Error class: unknown class><<Error class: unknown class>>)

GdkDisplay objects are the GDK representation of a workstation.

Link copied to clipboard
open class DisplayManager(pointer: <Error class: unknown class><<Error class: unknown class>>)

A singleton object that offers notification when displays appear or disappear.

Link copied to clipboard

Error enumeration for GdkDmabufTexture.

Link copied to clipboard
class DmabufErrorException(error: <Error class: unknown class>, val code: DmabufError)
Link copied to clipboard
class DmabufFormats(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkDmabufFormats struct provides information about supported DMA buffer formats.

Link copied to clipboard
open class DmabufTexture(pointer: <Error class: unknown class><<Error class: unknown class>>) : Texture

A GdkTexture representing a DMA buffer.

Link copied to clipboard
open class DmabufTextureBuilder(pointer: <Error class: unknown class><<Error class: unknown class>>)

GdkDmabufTextureBuilder is a builder used to construct class@Gdk.Texture objects from DMA buffers.

Link copied to clipboard
open class DndEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to drag and drop operations.

Link copied to clipboard
open class Drag(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkDrag object represents the source of an ongoing DND operation.

Link copied to clipboard
class DragAction(val mask: <Error class: unknown class>)

Used in GdkDrop and GdkDrag to indicate the actions that the destination can and should do with the dropped data.

Link copied to clipboard

Used in GdkDrag to the reason of a cancelled DND operation.

Link copied to clipboard
interface DragSurface

A GdkDragSurface is an interface for surfaces used during DND.

Link copied to clipboard
class DragSurfaceSize(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkDragSurfaceSize struct contains information that is useful to compute the size of a drag surface.

Link copied to clipboard
open class DrawContext(pointer: <Error class: unknown class><<Error class: unknown class>>)

Base class for objects implementing different rendering methods.

Link copied to clipboard
open class Drop(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkDrop object represents the target of an ongoing DND operation.

Link copied to clipboard
open class Event(pointer: <Error class: unknown class><<Error class: unknown class>>)

GdkEvents are immutable data structures, created by GDK to represent windowing system events.

Link copied to clipboard
class EventSequence(pointer: <Error class: unknown class><<Error class: unknown class>>)

GdkEventSequence is an opaque type representing a sequence of related touch events.

Link copied to clipboard

Specifies the type of the event.

Link copied to clipboard
class FileList(pointer: <Error class: unknown class><<Error class: unknown class>>)

An opaque type representing a list of files.

Link copied to clipboard
open class FocusEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a keyboard focus change.

Link copied to clipboard
open class FrameClock(pointer: <Error class: unknown class><<Error class: unknown class>>)

A GdkFrameClock tells the application when to update and repaint a surface.

Link copied to clipboard
class FrameClockPhase(val mask: <Error class: unknown class>)

Used to represent the different paint clock phases that can be requested.

Link copied to clipboard
class FrameTimings(pointer: <Error class: unknown class><<Error class: unknown class>>)

A GdkFrameTimings object holds timing information for a single frame of the application’s displays.

Link copied to clipboard

Indicates which monitor a surface should span over when in fullscreen mode.

Link copied to clipboard
object Gdk
Link copied to clipboard
Link copied to clipboard
class Glapi(val mask: <Error class: unknown class>)

The list of the different APIs that GdkGLContext can potentially support.

Link copied to clipboard
open class GlContext(pointer: <Error class: unknown class><<Error class: unknown class>>) : DrawContext

GdkGLContext is an object representing a platform-specific OpenGL draw context.

Link copied to clipboard

Error enumeration for GdkGLContext.

Link copied to clipboard
class GlErrorException(error: <Error class: unknown class>, val code: GlError)
Link copied to clipboard
open class GlTexture(pointer: <Error class: unknown class><<Error class: unknown class>>) : Texture

A GdkTexture representing a GL texture object.

Link copied to clipboard
open class GlTextureBuilder(pointer: <Error class: unknown class><<Error class: unknown class>>)

GdkGLTextureBuilder is a builder used to construct class@Gdk.Texture objects from GL textures.

Link copied to clipboard
open class GrabBrokenEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a broken windowing system grab.

Link copied to clipboard

Defines the reference point of a surface and is used in GdkPopupLayout.

Link copied to clipboard

An enumeration describing the type of an input device in general terms.

Link copied to clipboard
open class KeyEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a key-based device.

Link copied to clipboard
class KeymapKey(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

A GdkKeymapKey is a hardware key that can be mapped to a keyval.

Link copied to clipboard

Describes how well an event matches a given keyval and modifiers.

Link copied to clipboard

GdkMemoryFormat describes formats that image data can have in memory.

Link copied to clipboard
open class MemoryTexture(pointer: <Error class: unknown class><<Error class: unknown class>>) : Texture

A GdkTexture representing image data in memory.

Link copied to clipboard
open class MemoryTextureBuilder(pointer: <Error class: unknown class><<Error class: unknown class>>)

GdkMemoryTextureBuilder is a builder used to construct class@Gdk.Texture objects from system memory provided via struct@GLib.Bytes.

Link copied to clipboard
class ModifierType(val mask: <Error class: unknown class>)

Flags to indicate the state of modifier keys and mouse buttons in events.

Link copied to clipboard
open class Monitor(pointer: <Error class: unknown class><<Error class: unknown class>>)

GdkMonitor objects represent the individual outputs that are associated with a GdkDisplay.

Link copied to clipboard
open class MotionEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a pointer or touch device motion.

Link copied to clipboard

Specifies the kind of crossing for enter and leave events.

Link copied to clipboard
open class PadEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a pad-based device.

Link copied to clipboard
interface Paintable

GdkPaintable is a simple interface used by GTK to represent content that can be painted.

Link copied to clipboard
class PaintableFlags(val mask: <Error class: unknown class>)

Flags about a paintable object.

Link copied to clipboard
interface Popup

A GdkPopup is a surface that is attached to another surface.

Link copied to clipboard
class PopupLayout(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkPopupLayout struct contains information that is necessary position a iface@Gdk.Popup relative to its parent.

Link copied to clipboard
open class ProximityEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to the proximity of a tool to a device.

Link copied to clipboard
class Rectangle(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

A GdkRectangle data type for representing rectangles.

Link copied to clipboard
class Rgba(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

A GdkRGBA is used to represent a color, in a way that is compatible with cairo’s notion of color.

Link copied to clipboard

Specifies the direction for scroll events.

Link copied to clipboard
open class ScrollEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a scrolling motion.

Link copied to clipboard

Specifies the unit of scroll deltas.

Link copied to clipboard
open class Seat(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkSeat object represents a collection of input devices that belong to a user.

Link copied to clipboard
class SeatCapabilities(val mask: <Error class: unknown class>)

Flags describing the seat capabilities.

Link copied to clipboard
open class Snapshot(pointer: <Error class: unknown class><<Error class: unknown class>>)

Base type for snapshot operations.

Link copied to clipboard

This enumeration describes how the red, green and blue components of physical pixels on an output device are laid out.

Link copied to clipboard
open class Surface(pointer: <Error class: unknown class><<Error class: unknown class>>)

A GdkSurface is a rectangular region on the screen.

Link copied to clipboard

Determines a surface edge or corner.

Link copied to clipboard
open class Texture(pointer: <Error class: unknown class><<Error class: unknown class>>) : Paintable

GdkTexture is the basic element used to refer to pixel data.

Link copied to clipboard
class TextureDownloader(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkTextureDownloader is used to download the contents of a class@Gdk.Texture.

Link copied to clipboard

Possible errors that can be returned by GdkTexture constructors.

Link copied to clipboard
class TextureErrorException(error: <Error class: unknown class>, val code: TextureError)
Link copied to clipboard
class TimeCoord(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

A GdkTimeCoord stores a single event in a motion history.

Link copied to clipboard

The kind of title bar gesture to emit with method@Gdk.Toplevel.titlebar_gesture.

Link copied to clipboard
interface Toplevel

A GdkToplevel is a freestanding toplevel surface.

Link copied to clipboard
class ToplevelLayout(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkToplevelLayout struct contains information that is necessary to present a sovereign window on screen.

Link copied to clipboard
class ToplevelSize(pointer: <Error class: unknown class><<Error class: unknown class>>)

The GdkToplevelSize struct contains information that is useful to compute the size of a toplevel.

Link copied to clipboard
class ToplevelState(val mask: <Error class: unknown class>)

Specifies the state of a toplevel surface.

Link copied to clipboard
open class TouchEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a touch-based device.

Link copied to clipboard
open class TouchpadEvent(pointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a gesture on a touchpad device.

Link copied to clipboard

Specifies the current state of a touchpad gesture.

Link copied to clipboard
open class VulkanContext(pointer: <Error class: unknown class><<Error class: unknown class>>) : DrawContext

GdkVulkanContext is an object representing the platform-specific Vulkan draw context.

Link copied to clipboard

Error enumeration for GdkVulkanContext.

Link copied to clipboard
class VulkanErrorException(error: <Error class: unknown class>, val code: VulkanError)

Properties

Link copied to clipboard
val ContentDeserializeFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val ContentSerializeFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val CursorGetTextureCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>?) -> <Error class: unknown class><<Error class: unknown class>>?>>