Package org.gnome.gdk
package org.gnome.gdk
The low-level library used by GTK to interact with the windowing system for graphics and input devices
The following native libraries are required and will be loaded: libgtk-4.so
For namespace-global declarations, refer to the Gdk class documentation.
-
ClassDescriptionPositioning hints for aligning a surface relative to a rectangle.Handles launching an application in a graphical context.AppLaunchContext.Builder<B extends AppLaunchContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Flags describing the current capabilities of a device/tool.Defines how device axes are interpreted by GTK.An event related to a button on a pointer device.Represents the platform-specific draw context.CairoContext.Builder<B extends CairoContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.The CairoContext$Impl type represents a native instance of the abstract CairoContext class.Contains the parameters that define a colorstate with cicp parameters.CicpParams.Builder<B extends CicpParams.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.The values of this enumeration describe whether image data uses the full range of 8-bit values.Represents data shared between applications or inside an application.Clipboard.Builder<B extends Clipboard.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of the
ChangedCallbackcallback.Provides information to interpret colors and pixels in a variety of ways.Functional interface declaration of theContentDeserializeFunccallback.Deserializes content received via inter-application data transfers.ContentDeserializer.Builder<B extends ContentDeserializer.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Used to advertise and negotiate the format of content.CreatesGdkContentFormatsobjects.Provides content for the clipboard or for drag-and-drop operations in a number of formats.ContentProvider.Builder<B extends ContentProvider.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theContentChangedCallbackcallback.Class structure forGdkContentProvider.Functional interface declaration of theContentSerializeFunccallback.Serializes content for inter-application data transfers.ContentSerializer.Builder<B extends ContentSerializer.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.An event caused by a pointing device moving between surfaces.Specifies the crossing mode for enter and leave events.Used to create and destroy cursors.Cursor.Builder<B extends Cursor.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theCursorGetTextureCallbackcallback.An event related to closing a top-level surface.Represents an input device, such as a keyboard, mouse or touchpad.Device.Builder<B extends Device.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theChangedCallbackcallback.The Device$Impl type represents a native instance of the abstract Device class.Functional interface declaration of theToolChangedCallbackcallback.An interface for tablet pad devices.The DevicePad$Impl type represents a native instance of the DevicePad interface.A pad feature.A physical tool associated to aGdkDevice.DeviceTool.Builder<B extends DeviceTool.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Indicates the specific type of tool being used being a tablet.A representation of a workstation.Display.Builder<B extends Display.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theClosedCallbackcallback.Functional interface declaration of theOpenedCallbackcallback.Functional interface declaration of theSeatAddedCallbackcallback.Functional interface declaration of theSeatRemovedCallbackcallback.Functional interface declaration of theSettingChangedCallbackcallback.Offers notification when displays appear or disappear.DisplayManager.Builder<B extends DisplayManager.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theDisplayOpenedCallbackcallback.Error enumeration forGdkDmabufTexture.Provides information about supported DMA buffer formats.AGdkTexturerepresenting a DMA buffer.DmabufTexture.Builder<B extends DmabufTexture.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.ConstructsTextureobjects from DMA buffers.DmabufTextureBuilder.Builder<B extends DmabufTextureBuilder.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.An event related to drag and drop operations.Represents the source of an ongoing DND operation.Drag.Builder<B extends Drag.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theCancelCallbackcallback.Functional interface declaration of theDndFinishedCallbackcallback.The Drag$Impl type represents a native instance of the abstract Drag class.Functional interface declaration of theDropPerformedCallbackcallback.Used inGdkDropandGdkDragto indicate the actions that the destination can and should do with the dropped data.Used inGdkDragto the reason of a cancelled DND operation.A surface that is used during DND.Functional interface declaration of theComputeSizeCallbackcallback.The DragSurface$Impl type represents a native instance of the DragSurface interface.TheGdkDragSurfaceInterfaceimplementation is private to GDK.Contains information that is useful to compute the size of a drag surface.Base class for objects implementing different rendering methods.DrawContext.Builder<B extends DrawContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.The DrawContext$Impl type represents a native instance of the abstract DrawContext class.Represents the target of an ongoing DND operation.Drop.Builder<B extends Drop.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.The Drop$Impl type represents a native instance of the abstract Drop class.Represents windowing system events.The Event$Impl type represents a native instance of the abstract Event class.An opaque type representing a sequence of related events.Specifies the type of the event.An opaque type representing a list of files.An event related to a keyboard focus change.Tells the application when to update and repaint a surface.Functional interface declaration of theAfterPaintCallbackcallback.Functional interface declaration of theBeforePaintCallbackcallback.FrameClock.Builder<B extends FrameClock.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theFlushEventsCallbackcallback.The FrameClock$Impl type represents a native instance of the abstract FrameClock class.Functional interface declaration of theLayoutCallbackcallback.Functional interface declaration of thePaintCallbackcallback.Functional interface declaration of theResumeEventsCallbackcallback.Functional interface declaration of theUpdateCallbackcallback.Used to represent the different paint clock phases that can be requested.Holds timing information for a single frame of the application’s displays.Indicates which monitor a surface should span over when in fullscreen mode.Constants and functions that are declared in the global Gdk namespace.The list of the different APIs that GdkGLContext can potentially support.Represents a platform-specific OpenGL draw context.GLContext.Builder<B extends GLContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.The GLContext$Impl type represents a native instance of the abstract GLContext class.Error enumeration forGdkGLContext.AGdkTexturerepresenting a GL texture object.GLTexture.Builder<B extends GLTexture.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.ConstructsTextureobjects from GL textures.GLTextureBuilder.Builder<B extends GLTextureBuilder.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.An event related to a broken windowing system grab.Defines the reference point of a surface and is used inGdkPopupLayout.An enumeration describing the type of an input device in general terms.An event related to a key-based device.Represents a hardware key that can be mapped to a keyval.Describes how well an event matches a given keyval and modifiers.Describes formats that image data can have in memory.AGdkTexturerepresenting image data in memory.MemoryTexture.Builder<B extends MemoryTexture.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.ConstructsTextureobjects from system memory provided viaGLib.Bytes.MemoryTextureBuilder.Builder<B extends MemoryTextureBuilder.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Flags to indicate the state of modifier keys and mouse buttons in events.Represents the individual outputs that are associated with aGdkDisplay.Monitor.Builder<B extends Monitor.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theInvalidateCallbackcallback.An event related to a pointer or touch device motion.Specifies the kind of crossing for enter and leave events.An event related to a pad-based device.An interface for content that can be painted.Functional interface declaration of theInvalidateContentsCallbackcallback.Functional interface declaration of theInvalidateSizeCallbackcallback.The Paintable$Impl type represents a native instance of the Paintable interface.The list of functions that can be implemented for theGdkPaintableinterface.Flags about a paintable object.A surface that is attached to another surface.Popup.Builder<B extends Builder<B>>The Popup$Impl type represents a native instance of the Popup interface.Contains information that is necessary position aPopuprelative to its parent.An event related to the proximity of a tool to a device.Represents a rectangle.Represents a color, in a way that is compatible with cairo’s notion of color.Specifies the direction for scroll events.An event related to a scrolling motion.Used in scroll events, to announce the direction relative to physical motion.Specifies the unit of scroll deltas.Represents a collection of input devices that belong to a user.Seat.Builder<B extends Seat.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theDeviceAddedCallbackcallback.Functional interface declaration of theDeviceRemovedCallbackcallback.The Seat$Impl type represents a native instance of the abstract Seat class.Functional interface declaration of theToolAddedCallbackcallback.Functional interface declaration of theToolRemovedCallbackcallback.Flags describing the seat capabilities.Base type for snapshot operations.Snapshot.Builder<B extends Snapshot.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.The Snapshot$Impl type represents a native instance of the abstract Snapshot class.This enumeration describes how the red, green and blue components of physical pixels on an output device are laid out.Represents a rectangular region on the screen.Surface.Builder<B extends Surface.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theEnterMonitorCallbackcallback.Functional interface declaration of theEventCallbackcallback.Functional interface declaration of theLayoutCallbackcallback.Functional interface declaration of theLeaveMonitorCallbackcallback.Functional interface declaration of theRenderCallbackcallback.The Surface$Impl type represents a native instance of the abstract Surface class.Determines a surface edge or corner.Refers to pixel data in various forms.Texture.Builder<B extends Texture.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.The Texture$Impl type represents a native instance of the abstract Texture class.Used to download the contents of aTexture.Possible errors that can be returned byGdkTextureconstructors.Stores a single event in a motion history.The kind of title bar gesture to emit withToplevel.titlebarGesture(org.gnome.gdk.TitlebarGesture).A freestanding toplevel surface.Toplevel.Builder<B extends Builder<B>>Functional interface declaration of theComputeSizeCallbackcallback.The Toplevel$Impl type represents a native instance of the Toplevel interface.Reflects what features aGdkToplevelsupports.Contains information that is necessary to present a sovereign window on screen.Contains information that is useful to compute the size of a toplevel.Specifies the state of a toplevel surface.An event related to a touch-based device.An event related to a gesture on a touchpad device.Specifies the current state of a touchpad gesture.Deprecated.GTK does not expose any Vulkan internals.VulkanContext.Builder<B extends VulkanContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theImagesUpdatedCallbackcallback.The VulkanContext$Impl type represents a native instance of the abstract VulkanContext class.Error enumeration forGdkVulkanContext.