Display


Object Hierarchy:

Gdk.Display Gdk.Display Gdk.Display GLib.Object GLib.Object GLib.Object->Gdk.Display

Description:

[ CCode ( type_id = "gdk_display_get_type ()" ) ]
public sealed class Display : Object

`GdkDisplay` objects are the GDK representation of a workstation.

Their purpose are two-fold:

  • To manage and provide information about input devices (pointers, keyboards, etc)
  • To manage and provide information about output devices (monitors, projectors, etc)

Most of the input device handling has been factored out into separate [class@Gdk.Seat] objects. Every display has a one or more seats, which can be accessed with [method@Gdk.Display.get_default_seat] and [method@Gdk.Display.list_seats].

Output devices are represented by [class@Gdk.Monitor] objects, which can be accessed with [method@Gdk.Display.get_monitor_at_surface] and similar APIs.


Namespace: Gdk
Package: gtk4

Content:

Properties:

Static methods:

Creation methods:

Methods:

Signals:

Inherited Members: