Package: gdk

Class gdk:display

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

composited
The composited property of type :boolean (Read)
True if the display properly composites the alpha channel.
dmabuf-formats
The dmabuf-formats property of type gdk:dmabuf-formats (Read)
The DmaBuf formats that are supported on the display. Since 4.14
input-shapes
The input-shapes property of type :boolean (Read)
True if the display supports input shapes.
rgba
The rgba property of type :boolean (Read)
True if the display supports an alpha channel.
shadow-width
The shadow-width property of type :boolean (Read)
True if the display supports extensible frames. Since 4.14

Details

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.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2024-5-25