Class

WPEPlatformScreen

since: 2.0

Description

abstract class WPEPlatform.Screen : GObject.Object
{
  priv: WPEScreenPrivate*
}
No description available.

Available since: 2.0

Hierarchy

hierarchy this WPEScreen ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

wpe_screen_get_height

Get the height of screen in logical coordinates.

since: 2.0

wpe_screen_get_id

Get the screen identifier. The idenifier is a non-zero value to uniquely identify a WPEScreen.

since: 2.0

wpe_screen_get_physical_height

Get the physical height of screen in millimeters.

since: 2.0

wpe_screen_get_physical_width

Get the physical width of screen in millimeters.

since: 2.0

wpe_screen_get_refresh_rate

Get the refresh rate of screen in milli-Hertz.

since: 2.0

wpe_screen_get_scale

Get the screen scale factor.

since: 2.0

wpe_screen_get_sync_observer

Get the WPEScreenSyncObserver of screen. If screen sync is not supported, NULL is returned.

since: 2.0

wpe_screen_get_width

Get the width of screen in logical coordinates.

since: 2.0

wpe_screen_get_x

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

since: 2.0

wpe_screen_get_y

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

since: 2.0

wpe_screen_invalidate

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

since: 2.0

wpe_screen_set_physical_size

Set the physical size of screen in millimeters.

since: 2.0

wpe_screen_set_position

Set the position of screen in logical coordinates.

since: 2.0

wpe_screen_set_refresh_rate

Set the refresh rate of screen in milli-Hertz.

since: 2.0

wpe_screen_set_scale

Set the screen scale factor.

since: 2.0

wpe_screen_set_size

Set the size of screen in logical coordinates.

since: 2.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

WPEPlatform.Screen:height

The height of the screen in logical coordinates.

since: 2.0

WPEPlatform.Screen:id

The identifier of the screen.

since: 2.0

WPEPlatform.Screen:physical-height

The physical height of the screen in millimeters.

since: 2.0

WPEPlatform.Screen:physical-width

The physical width of the screen in millimeters.

since: 2.0

WPEPlatform.Screen:refresh-rate

The refresh rate of the screen in milli-Hertz.

since: 2.0

WPEPlatform.Screen:scale

The scale factor for the screen.

since: 2.0

WPEPlatform.Screen:width

The width of the screen in logical coordinates.

since: 2.0

WPEPlatform.Screen:x

The x coordinate of the screen position in logical coordinates.

since: 2.0

WPEPlatform.Screen:y

The y coordinate of the screen position in logical coordinates.

since: 2.0

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.

since: 2.0

Class structure

struct WPEPlatformScreenClass {
  GObjectClass parent_class;
  void (* invalidate) (
    WPEScreen* screen
  );
  WPEScreenSyncObserver* (* get_sync_observer) (
    WPEScreen* screen
  );
  None padding;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.
invalidate: void (* invalidate) ( WPEScreen* screen )
No description available.
get_sync_observer: WPEScreenSyncObserver* (* get_sync_observer) ( WPEScreen* screen )
No description available.
padding: None
No description available.

Virtual methods

WPEPlatform.ScreenClass.get_sync_observer

Get the WPEScreenSyncObserver of screen. If screen sync is not supported, NULL is returned.

since: 2.0

WPEPlatform.ScreenClass.invalidate

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

since: 2.0