Struct wayland_client::wayland::compositor::WlCompositor
[−]
[src]
pub struct WlCompositor { // some fields omitted }
the compositor singleton
A compositor. This object is a singleton global. The compositor is in charge of combining the contents of multiple surfaces into one displayable output.
Methods
impl WlCompositor
[src]
fn create_surface(&self) -> WlSurface
create new surface
Ask the compositor to create a new surface.
fn create_region(&self) -> WlRegion
create new region
Ask the compositor to create a new region.
Trait Implementations
impl Sync for WlCompositor
[src]
impl Send for WlCompositor
[src]
impl Proxy for WlCompositor
[src]
fn ptr(&self) -> *mut wl_proxy
fn interface() -> *mut wl_interface
fn interface_name() -> &'static str
The internal name of this interface, as advertized by the registry if it is a global.
fn version() -> u32
The maximum version of this interface handled by the library.
fn id(&self) -> ProxyId
Get the id of this proxy
unsafe fn from_ptr(ptr: *mut wl_proxy) -> WlCompositor
Creates a proxy from a fresh ptr
unsafe fn from_ptr_no_own(ptr: *mut wl_proxy) -> WlCompositor
Creates a proxy from a ptr that is managed elsewhere Read more
fn set_evt_iterator(&mut self, evt: &EventIterator)
Set the event iterator associated to this proxy
impl Debug for WlCompositor
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.