[−][src]Struct wayland_protocols::xdg_shell::server::xdg_popup::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
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<M, I> HandledBy<Sink<M>> for I where
I: Interface,
M: From<(<I as Interface>::Event, I)>,
[src]
I: Interface,
M: From<(<I as Interface>::Event, I)>,
impl<T> Downcast for T where
T: Any,
T: Any,