Xfw.Monitor – libxfce4windowing-0 Reference Manual
Packages
libxfce4windowing-0
Xfw
Monitor
connector
description
fractional_scale
gdk_monitor
height_mm
identifier
is_primary
logical_geometry
make
model
physical_geometry
refresh
scale
serial
subpixel
transform
width_mm
workarea
Monitor
get_connector
get_description
get_fractional_scale
get_gdk_monitor
get_identifier
get_logical_geometry
get_make
get_model
get_physical_geometry
get_physical_size
get_refresh
get_scale
get_serial
get_subpixel
get_transform
get_workarea
Monitor
Object Hierarchy:
Description:
[
CCode
( type_id =
"xfw_monitor_get_type ()"
) ]
public
abstract
class
Monitor
:
Object
Namespace:
Xfw
Package:
libxfce4windowing-0
Content:
Properties:
public
string
connector
{
owned
get
; }
Physical/virtual connector name.
public
string
description
{
owned
get
; }
Human-readable description.
public
double
fractional_scale
{
get
; }
UI fractional scaling factor.
public
Monitor
gdk_monitor
{
owned
get
; }
The
Monitor
corresponding to this monitor.
public
uint
height_mm
{
get
; }
Physical height of the monitor in millimeters.
public
string
identifier
{
owned
get
; }
Opaque, hopefully-unique monitor identifier.
public
bool
is_primary
{
get
; }
Whether or not this monitor is the primary monitor.
public
Rectangle
logical_geometry
{
owned
get
; }
Coordinates and size of the monitor in scaled logical pixels.
public
string
make
{
owned
get
; }
Manufacturer name.
public
string
model
{
owned
get
; }
Product model name.
public
Rectangle
physical_geometry
{
owned
get
; }
Coordinates and size of the monitor in physical device pixels.
public
uint
refresh
{
get
; }
Current refresh rate, in millihertz.
public
uint
scale
{
get
; }
UI scaling factor.
public
string
serial
{
owned
get
; }
Product serial number.
public
MonitorSubpixel
subpixel
{
get
; }
Hardware subpixel layout.
public
MonitorTransform
transform
{
get
; }
public
uint
width_mm
{
get
; }
Physical width of the monitor in millimeters.
public
Rectangle
workarea
{
owned
get
; }
Creation methods:
protected
Monitor
()
Methods:
public
unowned
string
get_connector
()
Returns the name of the physical connector this monitor is connected to.
public
unowned
string
get_description
()
Returns a human-readable description of this monitor, suitable for displaying in a user interface.
public
double
get_fractional_scale
()
Returns the monitor's scaling factor.
public
unowned
Monitor
get_gdk_monitor
()
Returns the
Monitor
that corresponds to
this
.
public
unowned
string
get_identifier
()
Retrieves an opaque identifier for this monitor.
public
Rectangle
get_logical_geometry
()
Retrieves the position and size of the monitor in logical application pixels, which are affected by the monitor's fractional scale factor.
public
unowned
string
?
get_make
()
Returns the monitor's manufacturer's name, if available.
public
unowned
string
?
get_model
()
Returns the monitor's product model name, if available.
public
Rectangle
get_physical_geometry
()
Retrieves the position and size of the monitor in physical device pixels.
public
void
get_physical_size
(
out
uint
width_mm,
out
uint
height_mm)
Retrieves the physical width and height of the monitor in millimeters.
public
uint
get_refresh
()
Returns the monitor's current refresh rate, in millihertz.
public
uint
get_scale
()
Returns the monitor's scaling factor, as an integer.
public
unowned
string
?
get_serial
()
Returns the monitor's serial number, if available.
public
MonitorSubpixel
get_subpixel
()
Returns the subpixel ordering of
this
.
public
MonitorTransform
get_transform
()
Returns the rotation and reflection transform set on
this
.
public
Rectangle
get_workarea
()
Retrieves the workarea for
this
, which may exclude regions of the screen for windows such as panels or docks.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref