Package org.gnome.gdk

Class Surface

java.lang.Object
All Implemented Interfaces:
Proxy
Direct Known Subclasses:
DragSurface.DragSurfaceImpl, Popup.PopupImpl, Surface.SurfaceImpl, Toplevel.ToplevelImpl

@Generated("io.github.jwharm.JavaGI") public abstract class Surface extends GObject
A GdkSurface is a rectangular region on the screen.

It’s a low-level object, used to implement high-level objects such as GtkWindow.

The surfaces you see in practice are either Toplevel or Popup, and those interfaces provide much of the required API to interact with these surfaces. Other, more specialized surface types exist, but you will rarely interact with them directly.