[][src]Struct wayland_protocols::xdg_shell::server::xdg_popup::XdgPopup

pub struct XdgPopup(_);

Methods

impl XdgPopup[src]

pub fn configure(&self, x: i32, y: i32, width: i32, height: i32)[src]

configure the popup surface

This event asks the popup surface to configure itself given the configuration. The configured state should not be applied immediately. See xdg_surface.configure for details.

The x and y arguments represent the position the popup was placed at given the xdg_positioner rule, relative to the upper left corner of the window geometry of the parent surface.

pub fn popup_done(&self)[src]

popup interaction is done

The popup_done event is sent out when a popup is dismissed by the compositor. The client should destroy the xdg_popup object at this point.

Trait Implementations

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

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

impl Clone for XdgPopup[src]

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

impl Eq for XdgPopup[src]

impl PartialEq<XdgPopup> for XdgPopup[src]

impl Interface for XdgPopup[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<T: RequestHandler> HandledBy<T> for XdgPopup[src]

Auto Trait Implementations

impl Unpin for XdgPopup

impl Sync for XdgPopup

impl Send for XdgPopup

impl !UnwindSafe for XdgPopup

impl !RefUnwindSafe for XdgPopup

Blanket Implementations

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.

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

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

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

impl<M, I> HandledBy<Sink<M>> for I where
    I: Interface,
    M: From<(<I as Interface>::Event, I)>, 
[src]

impl<T> Downcast for T where
    T: Any