Struct wayland_protocols_plasma::plasma_window_management::server::org_kde_plasma_window_management::OrgKdePlasmaWindowManagement
source · pub struct OrgKdePlasmaWindowManagement { /* private fields */ }
Expand description
application windows management
This interface manages application windows. It provides requests to show and hide the desktop and emits an event every time a window is created so that the client can use it to manage the window.
Only one client can bind this interface at a time.
See also the Request enum for this interface.
Implementations§
source§impl OrgKdePlasmaWindowManagement
impl OrgKdePlasmaWindowManagement
sourcepub fn show_desktop_changed(&self, state: u32)
pub fn show_desktop_changed(&self, state: u32)
notify the client when the show desktop mode is entered/left
This event will be sent whenever the show desktop mode changes. E.g. when it is entered or left.
On binding the interface the current state is sent.
sourcepub fn window(&self, id: u32)
pub fn window(&self, id: u32)
notify the client that a window was mapped
This event will be sent immediately after a window is mapped.
sourcepub fn stacking_order_changed(&self, ids: Vec<u8>)
pub fn stacking_order_changed(&self, ids: Vec<u8>)
notify the client when stacking order changed
This event will be sent when stacking order changed and on bind
sourcepub fn stacking_order_uuid_changed(&self, uuids: String)
pub fn stacking_order_uuid_changed(&self, uuids: String)
notify the client when stacking order changed
This event will be sent when stacking order changed and on bind
sourcepub fn window_with_uuid(&self, id: u32, uuid: String)
pub fn window_with_uuid(&self, id: u32, uuid: String)
notify the client that a window was mapped
This event will be sent immediately after a window is mapped.
Trait Implementations§
source§impl Clone for OrgKdePlasmaWindowManagement
impl Clone for OrgKdePlasmaWindowManagement
source§fn clone(&self) -> OrgKdePlasmaWindowManagement
fn clone(&self) -> OrgKdePlasmaWindowManagement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OrgKdePlasmaWindowManagement
impl Debug for OrgKdePlasmaWindowManagement
source§impl Hash for OrgKdePlasmaWindowManagement
impl Hash for OrgKdePlasmaWindowManagement
source§impl PartialEq<Weak<OrgKdePlasmaWindowManagement>> for OrgKdePlasmaWindowManagement
impl PartialEq<Weak<OrgKdePlasmaWindowManagement>> for OrgKdePlasmaWindowManagement
source§impl PartialEq for OrgKdePlasmaWindowManagement
impl PartialEq for OrgKdePlasmaWindowManagement
source§fn eq(&self, other: &OrgKdePlasmaWindowManagement) -> bool
fn eq(&self, other: &OrgKdePlasmaWindowManagement) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Resource for OrgKdePlasmaWindowManagement
impl Resource for OrgKdePlasmaWindowManagement
source§fn object_data(&self) -> Option<&Arc<dyn Any + Send + Sync>>
fn object_data(&self) -> Option<&Arc<dyn Any + Send + Sync>>
source§fn handle(&self) -> &WeakHandle
fn handle(&self) -> &WeakHandle
source§fn from_id(conn: &DisplayHandle, id: ObjectId) -> Result<Self, InvalidId>
fn from_id(conn: &DisplayHandle, id: ObjectId) -> Result<Self, InvalidId>
source§fn send_event(&self, evt: Self::Event<'_>) -> Result<(), InvalidId>
fn send_event(&self, evt: Self::Event<'_>) -> Result<(), InvalidId>
source§fn parse_request(
conn: &DisplayHandle,
msg: Message<ObjectId, OwnedFd>
) -> Result<(Self, Self::Request), DispatchError>
fn parse_request( conn: &DisplayHandle, msg: Message<ObjectId, OwnedFd> ) -> Result<(Self, Self::Request), DispatchError>
source§fn write_event<'a>(
&self,
conn: &DisplayHandle,
msg: Self::Event<'a>
) -> Result<Message<ObjectId, BorrowedFd<'a>>, InvalidId>
fn write_event<'a>( &self, conn: &DisplayHandle, msg: Self::Event<'a> ) -> Result<Message<ObjectId, BorrowedFd<'a>>, InvalidId>
source§fn is_alive(&self) -> bool
fn is_alive(&self) -> bool
impl Eq for OrgKdePlasmaWindowManagement
Auto Trait Implementations§
impl Freeze for OrgKdePlasmaWindowManagement
impl !RefUnwindSafe for OrgKdePlasmaWindowManagement
impl Send for OrgKdePlasmaWindowManagement
impl Sync for OrgKdePlasmaWindowManagement
impl Unpin for OrgKdePlasmaWindowManagement
impl !UnwindSafe for OrgKdePlasmaWindowManagement
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.