Class
WPEPlatformScreen
Description [src]
abstract class WPEPlatform.Screen : GObject.Object
{
WPEScreenPrivate* priv
}
A monitor connected to a WPEDisplay.
WPEScreen is an abstract class that platform implementations derive to
represent a monitor. Enumerate the screens of a display with
wpe_display_get_n_screens() and wpe_display_get_screen().
A screen exposes its position, size, physical size, scale and refresh rate,
and provides a WPEScreenSyncObserver to be notified on vertical sync.
Instance methods
wpe_screen_get_id
Get the screen identifier.
The identifier is a non-zero value to uniquely identify a WPEScreen.
wpe_screen_get_sync_observer
Get the WPEScreenSyncObserver of screen. If screen sync is not supported, NULL is returned.
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.
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 WPEPlatformScreenClass {
GObjectClass parent_class;
void (* invalidate) (
WPEScreen* screen
);
WPEScreenSyncObserver* (* get_sync_observer) (
WPEScreen* screen
);
gpointer padding;
}
No description available.
Class members
parent_class: GObjectClassNo description available.
invalidate: void (* invalidate) ( WPEScreen* screen )No description available.
get_sync_observer: WPEScreenSyncObserver* (* get_sync_observer) ( WPEScreen* screen )No description available.
padding: gpointerNo description available.
Virtual methods
WPEPlatform.ScreenClass.get_sync_observer
Get the WPEScreenSyncObserver of screen. If screen sync is not supported, NULL is returned.
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.