Monitor
Object Hierarchy:
Description:
[
CCode ( type_id =
"gdk_monitor_get_type ()" ) ]
public class Monitor :
Object
`GdkMonitor` objects represent the individual outputs that are associated with a `GdkDisplay`.
`GdkDisplay` keeps a `GListModel` to enumerate and monitor monitors with [method@Gdk.Display.get_monitors]. You can use [
method@Gdk.Display.get_monitor_at_surface] to find a particular monitor.
Content:
Properties:
Creation methods:
Methods:
- public unowned string? get_connector ()
Gets the name of the monitor's connector, if available.
- public unowned Display get_display ()
Gets the display that this monitor belongs to.
- public Rectangle get_geometry ()
Retrieves the size and position of the monitor within the display coordinate
space.
- public int get_height_mm ()
Gets the height in millimeters of the monitor.
- public unowned string? get_manufacturer ()
Gets the name or PNP ID of the monitor's manufacturer.
- public unowned string? get_model ()
Gets the string identifying the monitor model, if available.
- public int get_refresh_rate ()
Gets the refresh rate of the monitor, if available.
- public int get_scale_factor ()
Gets the internal scale factor that maps from monitor coordinates to device
pixels.
- public SubpixelLayout get_subpixel_layout ()
Gets information about the layout of red, green and blue primaries for
pixels.
- public int get_width_mm ()
Gets the width in millimeters of the monitor.
- public bool is_valid ()
Returns true if the
this object corresponds to a physical monitor.
Signals:
Inherited Members:
All known members inherited from class GLib.Object