[][src]Struct wayland_protocols::wlr::unstable::foreign_toplevel::v1::server::zwlr_foreign_toplevel_handle_v1::ZwlrForeignToplevelHandleV1

pub struct ZwlrForeignToplevelHandleV1(_);

Implementations

impl ZwlrForeignToplevelHandleV1[src]

pub fn title(&self, title: String)[src]

title change

This event is emitted whenever the title of the toplevel changes.

pub fn app_id(&self, app_id: String)[src]

app-id change

This event is emitted whenever the app-id of the toplevel changes.

pub fn output_enter(&self, output: &WlOutput)[src]

toplevel entered an output

This event is emitted whenever the toplevel becomes visible on the given output. A toplevel may be visible on multiple outputs.

pub fn output_leave(&self, output: &WlOutput)[src]

toplevel left an output

This event is emitted whenever the toplevel stops being visible on the given output. It is guaranteed that an entered-output event with the same output has been emitted before this event.

pub fn state(&self, state: Vec<u8>)[src]

the toplevel state changed

This event is emitted immediately after the zlw_foreign_toplevel_handle_v1 is created and each time the toplevel state changes, either because of a compositor action or because of a request in this protocol.

pub fn done(&self)[src]

all information about the toplevel has been sent

This event is sent after all changes in the toplevel state have been sent.

This allows changes to the zwlr_foreign_toplevel_handle_v1 properties to be seen as atomic, even if they happen via multiple events.

pub fn closed(&self)[src]

this toplevel has been destroyed

This event means the toplevel has been destroyed. It is guaranteed there won't be any more events for this zwlr_foreign_toplevel_handle_v1. The toplevel itself becomes inert so any requests will be ignored except the destroy request.

Trait Implementations

impl AsRef<Resource<ZwlrForeignToplevelHandleV1>> for ZwlrForeignToplevelHandleV1[src]

impl Clone for ZwlrForeignToplevelHandleV1[src]

impl Debug for ZwlrForeignToplevelHandleV1[src]

impl Eq for ZwlrForeignToplevelHandleV1[src]

impl From<Resource<ZwlrForeignToplevelHandleV1>> for ZwlrForeignToplevelHandleV1[src]

impl From<ZwlrForeignToplevelHandleV1> for Resource<ZwlrForeignToplevelHandleV1>[src]

impl Interface for ZwlrForeignToplevelHandleV1[src]

type Request = Request

Set of requests associated to this interface Read more

type Event = Event

Set of events associated to this interface Read more

impl PartialEq<ZwlrForeignToplevelHandleV1> for ZwlrForeignToplevelHandleV1[src]

impl StructuralEq for ZwlrForeignToplevelHandleV1[src]

impl StructuralPartialEq for ZwlrForeignToplevelHandleV1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.