Class

WPEPlatformMonitor

Description

abstract class WPEPlatform.Monitor : GObject.Object
{
  priv: WPEMonitorPrivate*
}

No description available.

Ancestors

Instance methods

wpe_monitor_get_height

Get the height of monitor in logical coordinates.

wpe_monitor_get_id

Get the monitor identifier. The idenifier is a non-zero value to uniquely identify a WPEMonitor.

wpe_monitor_get_physical_height

Get the physical height of monitor in millimeters.

wpe_monitor_get_physical_width

Get the physical width of monitor in millimeters.

wpe_monitor_get_refresh_rate

Get the refresh rate of monitor in milli-Hertz.

wpe_monitor_get_scale

Get the monitor scale factor.

wpe_monitor_get_width

Get the width of monitor in logical coordinates.

wpe_monitor_get_x

Get the x coordinate of the monitor position in logical coordinates.

wpe_monitor_get_y

Get the y coordinate of the monitor position in logical coordinates.

wpe_monitor_invalidate

Invalidate monitor. This will release all the platform resources associated with monitor. The properties cached will not be modified so they are still available after invalidation.

wpe_monitor_set_physical_size

Set the physical size of monitor in millimeters.

wpe_monitor_set_position

Set the position of monitor in logical coordinates.

wpe_monitor_set_refresh_rate

Set the refresh rate of monitor in milli-Hertz.

wpe_monitor_set_scale

Set the monitor scale factor.

wpe_monitor_set_size

Set the size of monitor in logical coordinates.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

WPEPlatform.Monitor:height

The height of the monitor in logical coordinates.

WPEPlatform.Monitor:id

The identifier of the monitor.

WPEPlatform.Monitor:physical-height

The physical height of the monitor in millimeters.

WPEPlatform.Monitor:physical-width

The physical width of the monitor in millimeters.

WPEPlatform.Monitor:refresh-rate

The refresh rate of the monitor in milli-Hertz.

WPEPlatform.Monitor:scale

The scale factor for the monitor.

WPEPlatform.Monitor:width

The width of the monitor in logical coordinates.

WPEPlatform.Monitor:x

The x coordinate of the monitor position in logical coordinates.

WPEPlatform.Monitor:y

The y coordinate of the monitor position in logical coordinates.

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.

Class structure

struct WPEPlatformMonitorClass {
  GObjectClass parent_class;
  void (* invalidate) (
    WPEMonitor* monitor
  );
  None padding;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.

invalidate: void (* invalidate) ( WPEMonitor* monitor )

No description available.

padding: None

No description available.

Virtual methods

WPEPlatform.MonitorClass.invalidate

Invalidate monitor. This will release all the platform resources associated with monitor. The properties cached will not be modified so they are still available after invalidation.