Package: gdk

Class gdk-monitor

Superclasses

g-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 class represents the individual outputs that are associated with a gdk-display object. The gdk-display class has APIs to enumerate monitors with the functions gdk-display-n-monitors and gdk-display-monitor, and to find particular monitors with the functions gdk-display-primary-monitor or gdk-display-monitor-at-window.

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

2020-11-3