Surface


Object Hierarchy:

Object hierarchy for Surface

Description:

[ CCode ( type_id = "gdk_surface_get_type ()" ) ]
public class Surface : Object

A `GdkSurface` is a rectangular region on the screen.

It’s a low-level object, used to implement high-level objects such as [class@Gtk.Window] or [class@Gtk.Dialog] in GTK.

The surfaces you see in practice are either [class@Gdk.Toplevel] or [class@Gdk.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.

All known sub-classes:
Required by:

Namespace: Gdk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members: