Class
GdkMonitor
Description [src]
final class Gdk.Monitor : GObject.Object
{
/* No available fields */
}
GdkMonitor
objects represent the individual outputs that are
associated with a GdkDisplay
.
GdkDisplay
keeps a GListModel
to enumerate and monitor
monitors with gdk_display_get_monitors()
. You can use
gdk_display_get_monitor_at_surface()
to find a particular monitor.
Instance methods
gdk_monitor_get_geometry
Retrieves the size and position of the monitor within the display coordinate space.
gdk_monitor_get_scale
Gets the internal scale factor that maps from monitor coordinates to device pixels.
since: 4.14
gdk_monitor_get_scale_factor
Gets the internal scale factor that maps from monitor coordinates to device pixels.
gdk_monitor_get_subpixel_layout
Gets information about the layout of red, green and blue primaries for pixels.
Properties
Gdk.Monitor:description
A short description of the monitor, meant for display to the user.
since: 4.10
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.