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 CairoContextImpl 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
ChangedCallback
callback.Provides information to interpret colors and pixels in a variety of ways.Functional interface declaration of theContentDeserializeFunc
callback.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.CreatesGdkContentFormats
objects.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 theContentChangedCallback
callback.Class structure forGdkContentProvider
.Functional interface declaration of theContentSerializeFunc
callback.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 theCursorGetTextureCallback
callback.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 theChangedCallback
callback.The DeviceImpl type represents a native instance of the abstract Device class.Functional interface declaration of theToolChangedCallback
callback.An interface for tablet pad devices.The DevicePadImpl 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 theClosedCallback
callback.Functional interface declaration of theOpenedCallback
callback.Functional interface declaration of theSeatAddedCallback
callback.Functional interface declaration of theSeatRemovedCallback
callback.Functional interface declaration of theSettingChangedCallback
callback.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 theDisplayOpenedCallback
callback.Error enumeration forGdkDmabufTexture
.Provides information about supported DMA buffer formats.AGdkTexture
representing a DMA buffer.DmabufTexture.Builder<B extends DmabufTexture.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.ConstructsTexture
objects 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 theCancelCallback
callback.Functional interface declaration of theDndFinishedCallback
callback.The DragImpl type represents a native instance of the abstract Drag class.Functional interface declaration of theDropPerformedCallback
callback.Used inGdkDrop
andGdkDrag
to indicate the actions that the destination can and should do with the dropped data.Used inGdkDrag
to the reason of a cancelled DND operation.A surface that is used during DND.Functional interface declaration of theComputeSizeCallback
callback.The DragSurfaceImpl type represents a native instance of the DragSurface interface.TheGdkDragSurfaceInterface
implementation 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 DrawContextImpl 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 DropImpl type represents a native instance of the abstract Drop class.Represents windowing system events.The EventImpl 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 theAfterPaintCallback
callback.Functional interface declaration of theBeforePaintCallback
callback.FrameClock.Builder<B extends FrameClock.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theFlushEventsCallback
callback.The FrameClockImpl type represents a native instance of the abstract FrameClock class.Functional interface declaration of theLayoutCallback
callback.Functional interface declaration of thePaintCallback
callback.Functional interface declaration of theResumeEventsCallback
callback.Functional interface declaration of theUpdateCallback
callback.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 GLContextImpl type represents a native instance of the abstract GLContext class.Error enumeration forGdkGLContext
.AGdkTexture
representing a GL texture object.GLTexture.Builder<B extends GLTexture.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.ConstructsTexture
objects 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.AGdkTexture
representing image data in memory.MemoryTexture.Builder<B extends MemoryTexture.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.ConstructsTexture
objects 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 theInvalidateCallback
callback.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 theInvalidateContentsCallback
callback.Functional interface declaration of theInvalidateSizeCallback
callback.The PaintableImpl type represents a native instance of the Paintable interface.The list of functions that can be implemented for theGdkPaintable
interface.Flags about a paintable object.A surface that is attached to another surface.Popup.Builder<B extends Builder<B>>The PopupImpl type represents a native instance of the Popup interface.Contains information that is necessary position aPopup
relative 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.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 theDeviceAddedCallback
callback.Functional interface declaration of theDeviceRemovedCallback
callback.The SeatImpl type represents a native instance of the abstract Seat class.Functional interface declaration of theToolAddedCallback
callback.Functional interface declaration of theToolRemovedCallback
callback.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 SnapshotImpl 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 theEnterMonitorCallback
callback.Functional interface declaration of theEventCallback
callback.Functional interface declaration of theLayoutCallback
callback.Functional interface declaration of theLeaveMonitorCallback
callback.Functional interface declaration of theRenderCallback
callback.The SurfaceImpl 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 TextureImpl type represents a native instance of the abstract Texture class.Used to download the contents of aTexture
.Possible errors that can be returned byGdkTexture
constructors.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 theComputeSizeCallback
callback.The ToplevelImpl type represents a native instance of the Toplevel interface.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.VulkanContext.Builder<B extends VulkanContext.Builder<B>>Inner class implementing a builder pattern to construct a GObject with properties.Functional interface declaration of theImagesUpdatedCallback
callback.The VulkanContextImpl type represents a native instance of the abstract VulkanContext class.Error enumeration forGdkVulkanContext
.