[−][src]Trait smithay_client_toolkit::environment::GlobalHandler
Required trait for implementing a handler for "single" globals
Required methods
fn created(
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
ddata: DispatchData<'_>
)
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
ddata: DispatchData<'_>
)
This global was created and signaled in the registry with given id and version
fn get(&self) -> Option<Attached<I>>
Access the global if it was signaled
Implementors
impl GlobalHandler<WlDataDeviceManager> for DataDeviceHandler
[src]
fn created(
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
[src]
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
fn get(&self) -> Option<Attached<WlDataDeviceManager>>
[src]
impl GlobalHandler<WlShell> for ShellHandler
[src]
fn created(
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
[src]
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
fn get(&self) -> Option<Attached<WlShell>>
[src]
impl GlobalHandler<WlShm> for ShmHandler
[src]
fn created(
&mut self,
registry: Attached<WlRegistry>,
id: u32,
_version: u32,
_: DispatchData<'_>
)
[src]
&mut self,
registry: Attached<WlRegistry>,
id: u32,
_version: u32,
_: DispatchData<'_>
)
fn get(&self) -> Option<Attached<WlShm>>
[src]
impl GlobalHandler<GtkPrimarySelectionDeviceManager> for PrimarySelectionHandler
[src]
fn created(
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
[src]
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
fn get(&self) -> Option<Attached<GtkPrimarySelectionDeviceManager>>
[src]
impl GlobalHandler<XdgWmBase> for ShellHandler
[src]
fn created(
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
[src]
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
fn get(&self) -> Option<Attached<XdgWmBase>>
[src]
impl GlobalHandler<ZwpPrimarySelectionDeviceManagerV1> for PrimarySelectionHandler
[src]
fn created(
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
[src]
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
fn get(&self) -> Option<Attached<ZwpPrimarySelectionDeviceManagerV1>>
[src]
impl GlobalHandler<ZxdgShellV6> for ShellHandler
[src]
fn created(
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)
[src]
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
_: DispatchData<'_>
)