The
gdk:display object is the GDK representation of a workstation.
The purpose is two fold:
- To manage and provide information about input devices, for example, pointers and keyboards.
- To manage and provide information about output devices, for example, monitors and projectors.
Most of the input device handling has been factored out into separate
gdk:seat objects. Every display has one or more seats, which can be accessed with the
gdk:display-default-seat and
gdk:display-list-seats functions.
Output devices are represented by
gdk:monitor objects, which can be accessed with the
gdk:display-monitor-at-surface function and similar
APIs.
Signal Details
The "closed" signal
lambda (display is-error) :run-last
- display
- The gdk:display object on which the signal is emitted.
- is-error
- The boolean that is true if display was closed due to an error.
Emitted when the connection to the windowing system for
display is
closed.
The "opened" signal
lambda (display) :run-last
- display
- The gdk:display object on which the signal is emitted.
Emitted when the connection to the windowing system for
display is
opened.
The "seat-added" signal
lambda (display seat) :run-last
- display
- The gdk:display object on which the signal is emitted.
- seat
- The gdk:seat object that was just added.
Emitted whenever a new seat is made known to the windowing system.
The "seat-removed" signal
lambda (display seat) :run-last
- display
- The gdk:display object on which the signal is emitted.
- seat
- The gdk:seat object that was just removed.
Emitted whenever a seat is removed by the windowing system.
The "setting-changed" signal
lambda (display setting) :run-last
- display
- The gdk:display object on which the signal is emitted.
- setting
- The string with the name of the setting that changed.