Package: gdk

Class gdk-screen

Superclasses

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

Documented Subclasses

None

Direct Slots

font-options
The font-options property of type cairo-font-options-t (Read / Write)
The default font options for the screen.
resolution
The resolution property of type :double (Read / Write)
The resolution for fonts on the screen.
Default value: -1

Details

The gdk-screen object is the GDK representation of the screen on which windows can be displayed and on which the pointer moves. X11 originally identified screens with physical screens, but nowadays it is more common to have a single gdk-screen object which combines several physical monitors. See the gdk-screen-n-monitors function.

The gdk-screen object is used throughout GDK and GTK to specify which screen the toplevel windows are to be displayed on. It is also used to query the screen specification and default settings such as the default visual with the gdk-screen-system-visual function or the dimensions of the physical monitors with the gdk-screen-monitor-geometry function.

Signal Details

The "composited-changed" signal
 lambda (screen)    :run-last      
The signal is emitted when the composited status of the screen changes.
screen
The gdk-screen object on which the signal is emitted.
The "monitors-changed" signal
 lambda (screen)    :run-last      
The signal is emitted when the number, size or position of the monitors attached to the screen change. Only for X11 and OS X for now. A future implementation for Win32 may be a possibility.
screen
The gdk-screen object on which the signal is emitted.
The "size-changed" signal
 lambda (screen)    :run-last      
The signal is emitted when the pixel width or height of a the screen changes.
screen
The gdk-screen object on which the signal is emitted.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2021-12-13