Package: gdk

Class gdk:monitor

Superclasses

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

Documented Subclasses

None

Direct Slots

display
The display property of type gdk:display (Read / Write / Construct Only)
The display of the monitor.
geometry
The geometry property of type gdk:rectangle (Read)
The geometry of the monitor.
height-mm
The height-mm property of type :int (Read)
The height of the monitor, in millimeters.
Allowed values: >= 0
Default value: 0
manufacturer
The manufacturer property of type :string (Read)
The manufacturer name.
Default value: nil
model
The model property of type :string (Read)
The model name.
Default value: nil
refresh-rate
The refresh-rate property of type :int (Read)
The refresh rate, in millihertz.
Allowed values: >= 0
Default value: 0
scale-factor
The scale-factor property of type :int (Read)
The scale factor.
Allowed values: >= 0
Default value: 1
subpixel-layout
The subpixel-layout property of type gdk:subpixel-layout (Read)
The subpixel layout.
Default value: :unknown
width-mm
The width-mm property of type :int (Read)
The width of the monitor, in millimeters.
Allowed values: >= 0
Default value: 0
workarea
The workarea property of type gdk:rectangle (Read)
The workarea of the monitor.

Details

The gdk:monitor object represents the individual outputs that are associated with a gdk:display object. The gdk:display class has APIs to enumerate monitors with the gdk:display-n-monitors and gdk:display-monitor functions, and to find particular monitors with the gdk:display-primary-monitor or gdk:display-monitor-at-window functions.

The gdk:monitor class was introduced in GTK 3.22 and supersedes earlier APIs in the gdk:screen class to obtain monitor-related information.

Signal Details

The "invalidate" signal
lambda (monitor)    :run-first    
monitor
The gdk:monitor object on which the signal is emitted.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2023-3-6