Display


Object Hierarchy:

Object hierarchy for Display

Description:

[ CCode ( type_id = "gdk_display_get_type ()" ) ]
public 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.

All known sub-classes:

Namespace: Gdk
Package: gtk4

Content:

Properties:

Static methods:

Creation methods:

Methods:

Signals:

Inherited Members: