Package: gdk

Class gdk:monitor

Superclasses

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

Documented Subclasses

None

Direct Slots

connector
The connector property of type :string (Read)
The connector name.
Default value: nil
description
The description property of type :string (Read)
The short description of the monitor, meant for display to the user. Since 4.10
Default value: nil
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 manufucturer 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
The scale property of type :int (Read)
The scale of the monitor. Since 4.14
Default value: 1.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
valid
The valid property of type :boolean (Read)
Whether the monitor is still valid.
Default value: true
width-mm
The width-mm property of type :int (Read)
The width of the monitor, in millimeters.
Allowed values: >= 0
Default value: 0

Details

The gdk:monitor objects represent the individual outputs that are associated with a gdk:display object. The gdk:display object keeps a g:list-model instance to enumerate and monitor monitors with the gdk:display-monitors function. You can use the gdk:display-monitor-at-surface function to find a particular monitor.

Signal Details

The "invalidate" signal
lambda (monitor)    :run-first      
monitor
The gdk:monitor object on which this signal was emitted.
The signal gets emitted when the output represented by monitor gets disconnected.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2024-5-25