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 [iface@Gdk.Toplevel] or [iface@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.

Required by:

Namespace: Gdk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members: