Class: Gdk::Monitor
- Inherits:
-
Object
- Object
- Gdk::Monitor
- Defined in:
- (unknown)
Direct Known Subclasses
Instance Method Summary collapse
-
#connector ⇒ String
The connector name.
-
#connector=(connector) ⇒ String
The connector name.
-
#description ⇒ String
A short description of the monitor, meant for display to the user.
-
#description=(description) ⇒ String
A short description of the monitor, meant for display to the user.
-
#display ⇒ Gdk::Display
The
GdkDisplayof the monitor. -
#display=(display) ⇒ Gdk::Display
The
GdkDisplayof the monitor. -
#geometry ⇒ Gdk::Rectangle
The geometry of the monitor.
-
#geometry=(geometry) ⇒ Gdk::Rectangle
The geometry of the monitor.
-
#get_geometry(geometry) ⇒ nil
Retrieves the size and position of the monitor within the display coordinate space.
-
#height_mm ⇒ Integer
The height of the monitor, in millimeters.
-
#height_mm=(height_mm) ⇒ Integer
The height of the monitor, in millimeters.
-
#is_valid ⇒ Boolean
Returns true if the monitor object corresponds to a physical monitor.
-
#manufacturer ⇒ String
The manufacturer name.
-
#manufacturer=(manufacturer) ⇒ String
The manufacturer name.
-
#model ⇒ String
The model name.
-
#model=(model) ⇒ String
The model name.
-
#refresh_rate ⇒ Integer
The refresh rate, in milli-Hertz.
-
#refresh_rate=(refresh_rate) ⇒ Integer
The refresh rate, in milli-Hertz.
-
#scale ⇒ Float
The scale of the monitor.
-
#scale=(scale) ⇒ Float
The scale of the monitor.
-
#scale_factor ⇒ Integer
The scale factor.
-
#scale_factor=(scale_factor) ⇒ Integer
The scale factor.
-
#subpixel_layout ⇒ Gdk::SubpixelLayout
The subpixel layout.
-
#subpixel_layout=(subpixel_layout) ⇒ Gdk::SubpixelLayout
The subpixel layout.
-
#valid=(valid) ⇒ Boolean
Whether the object is still valid.
-
#valid? ⇒ Boolean
Whether the object is still valid.
-
#width_mm ⇒ Integer
The width of the monitor, in millimeters.
-
#width_mm=(width_mm) ⇒ Integer
The width of the monitor, in millimeters.
Instance Method Details
#connector ⇒ String
The connector name.
#connector=(connector) ⇒ String
The connector name.
#description ⇒ String
A short description of the monitor, meant for display to the user.
#description=(description) ⇒ String
A short description of the monitor, meant for display to the user.
#display ⇒ Gdk::Display
The GdkDisplay of the monitor.
#display=(display) ⇒ Gdk::Display
The GdkDisplay of the monitor.
#geometry ⇒ Gdk::Rectangle
The geometry of the monitor.
#geometry=(geometry) ⇒ Gdk::Rectangle
The geometry of the monitor.
#get_geometry(geometry) ⇒ nil
Retrieves the size and position of the monitor within the display coordinate space.
The returned geometry is in ”application pixels”, not in ”device pixels” (see [methodGdk.Monitor.get_scale]).
#height_mm ⇒ Integer
The height of the monitor, in millimeters.
#height_mm=(height_mm) ⇒ Integer
The height of the monitor, in millimeters.
#is_valid ⇒ Boolean
Returns true if the monitor object corresponds to a physical monitor.
The monitor becomes invalid when the physical monitor is unplugged or removed.
#manufacturer ⇒ String
The manufacturer name.
#manufacturer=(manufacturer) ⇒ String
The manufacturer name.
#model ⇒ String
The model name.
#model=(model) ⇒ String
The model name.
#refresh_rate ⇒ Integer
The refresh rate, in milli-Hertz.
#refresh_rate=(refresh_rate) ⇒ Integer
The refresh rate, in milli-Hertz.
#scale ⇒ Float
The scale of the monitor.
#scale=(scale) ⇒ Float
The scale of the monitor.
#scale_factor ⇒ Integer
The scale factor.
The scale factor is the next larger integer, compared to [propertyGdk.Surface:scale].
#scale_factor=(scale_factor) ⇒ Integer
The scale factor.
The scale factor is the next larger integer, compared to [propertyGdk.Surface:scale].
#subpixel_layout ⇒ Gdk::SubpixelLayout
The subpixel layout.
#subpixel_layout=(subpixel_layout) ⇒ Gdk::SubpixelLayout
The subpixel layout.
#valid=(valid) ⇒ Boolean
Whether the object is still valid.
#valid? ⇒ Boolean
Whether the object is still valid.
#width_mm ⇒ Integer
The width of the monitor, in millimeters.
#width_mm=(width_mm) ⇒ Integer
The width of the monitor, in millimeters.