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(val gdkAppLaunchContextPointer: <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(val gdkButtonEventPointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a button on a pointer device.

Link copied to clipboard
abstract class CairoContext(val gdkCairoContextPointer: <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(val gdkCicpParamsPointer: <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(val gdkClipboardPointer: <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(val gdkColorStatePointer: <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(val gdkContentDeserializerPointer: <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(val gdkContentFormatsPointer: <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(val gdkContentFormatsBuilderPointer: <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(val gdkContentProviderPointer: <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(val gdkContentSerializerPointer: <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(val gdkCrossingEventPointer: <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(val gdkCursorPointer: <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(val gdkDeleteEventPointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to closing a top-level surface.

Link copied to clipboard
abstract class Device(val gdkDevicePointer: <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(val gdkDeviceToolPointer: <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(val gdkDisplayPointer: <Error class: unknown class><<Error class: unknown class>>)

GdkDisplay objects are the GDK representation of a workstation.

Link copied to clipboard
open class DisplayManager(val gdkDisplayManagerPointer: <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(val gdkDmabufFormatsPointer: <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(val gdkDmabufTexturePointer: <Error class: unknown class><<Error class: unknown class>>) : Texture

A GdkTexture representing a DMA buffer.

Link copied to clipboard
open class DmabufTextureBuilder(val gdkDmabufTextureBuilderPointer: <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(val gdkDndEventPointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to drag and drop operations.

Link copied to clipboard
abstract class Drag(val gdkDragPointer: <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(val gdkDragSurfaceSizePointer: <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
abstract class DrawContext(val gdkDrawContextPointer: <Error class: unknown class><<Error class: unknown class>>)

Base class for objects implementing different rendering methods.

Link copied to clipboard
abstract class Drop(val gdkDropPointer: <Error class: unknown class><<Error class: unknown class>>)

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

Link copied to clipboard
abstract class Event(val gdkEventPointer: <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(val gdkEventSequencePointer: <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(val gdkFileListPointer: <Error class: unknown class><<Error class: unknown class>>)

An opaque type representing a list of files.

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

An event related to a keyboard focus change.

Link copied to clipboard
abstract class FrameClock(val gdkFrameClockPointer: <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(val gdkFrameTimingsPointer: <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
abstract class GlContext(val gdkGlContextPointer: <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(val gdkGlTexturePointer: <Error class: unknown class><<Error class: unknown class>>) : Texture

A GdkTexture representing a GL texture object.

Link copied to clipboard
open class GlTextureBuilder(val gdkGlTextureBuilderPointer: <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(val gdkGrabBrokenEventPointer: <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(val gdkKeyEventPointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a key-based device.

Link copied to clipboard
class KeymapKey(val gdkKeymapKeyPointer: <Error class: unknown class><<Error class: unknown class>>)

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(val gdkMemoryTexturePointer: <Error class: unknown class><<Error class: unknown class>>) : Texture

A GdkTexture representing image data in memory.

Link copied to clipboard
open class MemoryTextureBuilder(val gdkMemoryTextureBuilderPointer: <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(val gdkMonitorPointer: <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(val gdkMotionEventPointer: <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(val gdkPadEventPointer: <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(val gdkPopupLayoutPointer: <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(val gdkProximityEventPointer: <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(val gdkRectanglePointer: <Error class: unknown class><<Error class: unknown class>>)

A GdkRectangle data type for representing rectangles.

Link copied to clipboard
class Rgba(val gdkRgbaPointer: <Error class: unknown class><<Error class: unknown class>>)

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(val gdkScrollEventPointer: <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
abstract class Seat(val gdkSeatPointer: <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
abstract class Snapshot(val gdkSnapshotPointer: <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
abstract class Surface(val gdkSurfacePointer: <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
abstract class Texture(val gdkTexturePointer: <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(val gdkTextureDownloaderPointer: <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(val gdkTimeCoordPointer: <Error class: unknown class><<Error class: unknown class>>)

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(val gdkToplevelLayoutPointer: <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(val gdkToplevelSizePointer: <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(val gdkTouchEventPointer: <Error class: unknown class><<Error class: unknown class>>) : Event

An event related to a touch-based device.

Link copied to clipboard
open class TouchpadEvent(val gdkTouchpadEventPointer: <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
abstract class VulkanContext(val gdkVulkanContextPointer: <Error class: unknown class><<Error class: unknown class>>) : DrawContext

This is deprecated since version 4.14.

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>>?>>