pub struct KdeAutoHideScreenEdgeV1 {
id: ObjectId,
version: u32,
data: Option<Arc<dyn ObjectData>>,
backend: WeakBackend,
}Expand description
auto hide screen edge
The auto hide screen edge object allows to hide the surface and make it visible by triggering the screen edge. The screen edge is inactive and the surface is visible by default.
This interface can be used to implement user interface elements such as auto-hide panels or docks.
kde_auto_hide_screen_edge_v1.activate activates the screen edge and makes the surface hidden. The surface can be made visible by triggering the screen edge or calling kde_auto_hide_screen_edge_v1.deactivate.
If the screen edge has been triggered, it won’t be re-activated again. Another kde_auto_hide_screen_edge_v1.activate request must be made by the client to activate the screen edge.
This interface has no events.
Fields§
§id: ObjectId§version: u32§data: Option<Arc<dyn ObjectData>>§backend: WeakBackendImplementations§
Source§impl KdeAutoHideScreenEdgeV1
impl KdeAutoHideScreenEdgeV1
Sourcepub fn destroy(&self)
pub fn destroy(&self)
destroy the auto hide screen edge object
Destroy the auto hide screen edge object. If the screen edge is active, it will be deactivated and the surface will be made visible.
Sourcepub fn deactivate(&self)
pub fn deactivate(&self)
deactivate the screen edge
Deactivate the screen edge. The surface will be made visible.
Trait Implementations§
Source§impl Borrow<ObjectId> for KdeAutoHideScreenEdgeV1
impl Borrow<ObjectId> for KdeAutoHideScreenEdgeV1
Source§impl Clone for KdeAutoHideScreenEdgeV1
impl Clone for KdeAutoHideScreenEdgeV1
Source§fn clone(&self) -> KdeAutoHideScreenEdgeV1
fn clone(&self) -> KdeAutoHideScreenEdgeV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for KdeAutoHideScreenEdgeV1
impl Debug for KdeAutoHideScreenEdgeV1
Source§impl Hash for KdeAutoHideScreenEdgeV1
impl Hash for KdeAutoHideScreenEdgeV1
Source§impl PartialEq<Weak<KdeAutoHideScreenEdgeV1>> for KdeAutoHideScreenEdgeV1
impl PartialEq<Weak<KdeAutoHideScreenEdgeV1>> for KdeAutoHideScreenEdgeV1
Source§impl PartialEq for KdeAutoHideScreenEdgeV1
impl PartialEq for KdeAutoHideScreenEdgeV1
Source§impl Proxy for KdeAutoHideScreenEdgeV1
impl Proxy for KdeAutoHideScreenEdgeV1
Source§fn data<U: Send + Sync + 'static>(&self) -> Option<&U>
fn data<U: Send + Sync + 'static>(&self) -> Option<&U>
Source§fn object_data(&self) -> Option<&Arc<dyn ObjectData>>
fn object_data(&self) -> Option<&Arc<dyn ObjectData>>
Source§fn backend(&self) -> &WeakBackend
fn backend(&self) -> &WeakBackend
Source§fn send_request(&self, req: Self::Request<'_>) -> Result<(), InvalidId>
fn send_request(&self, req: Self::Request<'_>) -> Result<(), InvalidId>
Source§fn send_constructor<I: Proxy>(
&self,
req: Self::Request<'_>,
data: Arc<dyn ObjectData>,
) -> Result<I, InvalidId>
fn send_constructor<I: Proxy>( &self, req: Self::Request<'_>, data: Arc<dyn ObjectData>, ) -> Result<I, InvalidId>
Source§fn from_id(conn: &Connection, id: ObjectId) -> Result<Self, InvalidId>
fn from_id(conn: &Connection, id: ObjectId) -> Result<Self, InvalidId>
Source§fn inert(backend: WeakBackend) -> Self
fn inert(backend: WeakBackend) -> Self
Source§fn parse_event(
conn: &Connection,
msg: Message<ObjectId, OwnedFd>,
) -> Result<(Self, Self::Event), DispatchError>
fn parse_event( conn: &Connection, msg: Message<ObjectId, OwnedFd>, ) -> Result<(Self, Self::Event), DispatchError>
Source§fn write_request<'a>(
&self,
conn: &Connection,
msg: Self::Request<'a>,
) -> Result<(Message<ObjectId, BorrowedFd<'a>>, Option<(&'static Interface, u32)>), InvalidId>
fn write_request<'a>( &self, conn: &Connection, msg: Self::Request<'a>, ) -> Result<(Message<ObjectId, BorrowedFd<'a>>, Option<(&'static Interface, u32)>), InvalidId>
impl Eq for KdeAutoHideScreenEdgeV1
Auto Trait Implementations§
impl Freeze for KdeAutoHideScreenEdgeV1
impl !RefUnwindSafe for KdeAutoHideScreenEdgeV1
impl Send for KdeAutoHideScreenEdgeV1
impl Sync for KdeAutoHideScreenEdgeV1
impl Unpin for KdeAutoHideScreenEdgeV1
impl !UnwindSafe for KdeAutoHideScreenEdgeV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§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.Source§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.Source§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.Source§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.