GdkDisplay

gdk.display.Display 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 gdk.seat.Seat objects. Every display has a one or more seats, which can be accessed with gdk.display.Display.getDefaultSeat and gdk.display.Display.listSeats.

Output devices are represented by gdk.monitor.MonitorG objects, which can be accessed with gdk.display.Display.getMonitorAtSurface and similar APIs.

struct GdkDisplay