Class
GdkMonitor
since: 4.0
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.
Available since: 4.0
Instance methods
gdk_monitor_get_geometry
Retrieves the size and position of the monitor within the display coordinate space.
since: 4.0
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.
since: 4.0
gdk_monitor_get_subpixel_layout
Gets information about the layout of red, green and blue primaries for pixels.
since: 4.0
gdk_monitor_is_valid
Returns TRUE
if the monitor
object corresponds to a
physical monitor.
since: 4.0
Properties
Gdk.Monitor:description
A short description of the monitor, meant for display to the user.
since: 4.10
Signals
Gdk.Monitor::invalidate
Emitted when the output represented by monitor
gets disconnected.
since: 4.0
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.
since: 2.0