Class

WPEPlatformToplevel

[]

Description

class WPEPlatform.Toplevel : GObject.Object {
  parent_instance: GObject,
  priv: WPEToplevelPrivate*
}
No description available.
[]

Hierarchy

hierarchy this WPEToplevel ancestor_0 GObject ancestor_0--this
[]

Ancestors

[]

Instance methods

wpe_toplevel_closed

Set toplevel as closed if not already closed.

wpe_toplevel_foreach_view

Call func for each WPEView of toplevel.

wpe_toplevel_fullscreen

Request that the toplevel goes into a fullscreen state.

wpe_toplevel_get_display

Get the WPEDisplay of toplevel.

wpe_toplevel_get_max_views

Get the maximum number of WPEView that toplevel can contain.

wpe_toplevel_get_n_views

Get the number of WPEView contained by toplevel.

wpe_toplevel_get_preferred_dma_buf_formats

Get the list of preferred DMA-BUF buffer formats for toplevel.

wpe_toplevel_get_scale

Get the toplevel scale.

wpe_toplevel_get_screen

Get current WPEScreen of toplevel.

wpe_toplevel_get_size

Get the vtoplevel size in logical coordinates.

wpe_toplevel_get_state

Get the current state of toplevel.

wpe_toplevel_maximize

Request that the toplevel is maximized. If the toplevel is already maximized this function does nothing.

wpe_toplevel_minimize

Request that the toplevel is minimized.

wpe_toplevel_preferred_dma_buf_formats_changed

Notify that toplevel preferred DMA-BUF formats have changed.

wpe_toplevel_resize

Request that the toplevel is resized at width x height.

wpe_toplevel_resized

Update toplevel size.

wpe_toplevel_scale_changed

Update the toplevel scale.

wpe_toplevel_screen_changed

Notify that toplevel screen has changed.

wpe_toplevel_set_title

Set the toplevel title.

wpe_toplevel_state_changed

Update the current state of toplevel.

wpe_toplevel_unfullscreen

Request that the toplevel leaves a fullscreen state.

wpe_toplevel_unmaximize

Request that the toplevel is unmaximized. If the toplevel is not maximized this function does nothing.

Methods inherited from GObject (43)
[]

Properties

WPEPlatform.Toplevel:display

The WPEDisplay of the toplevel.

[]

Signals

Signals inherited from GObject (1)

Class structure

[]

Virtual methods

WPEPlatform.ToplevelClass.get_max_views

Get the maximum number of WPEView that toplevel can contain.

WPEPlatform.ToplevelClass.get_preferred_dma_buf_formats

Get the list of preferred DMA-BUF buffer formats for toplevel.

WPEPlatform.ToplevelClass.get_screen

Get current WPEScreen of toplevel.

WPEPlatform.ToplevelClass.resize

Request that the toplevel is resized at width x height.

WPEPlatform.ToplevelClass.set_fullscreen
No description available.

WPEPlatform.ToplevelClass.set_maximized
No description available.

WPEPlatform.ToplevelClass.set_minimized
No description available.

WPEPlatform.ToplevelClass.set_title

Set the toplevel title.