PopupExt

Trait PopupExt 

Source
pub trait PopupExt: IsA<Popup> + 'static {
    // Provided methods
    fn is_autohide(&self) -> bool { ... }
    fn parent(&self) -> Option<Surface> { ... }
    fn position_x(&self) -> i32 { ... }
    fn position_y(&self) -> i32 { ... }
    fn rect_anchor(&self) -> Gravity { ... }
    fn surface_anchor(&self) -> Gravity { ... }
    fn present(&self, width: i32, height: i32, layout: &PopupLayout) -> bool { ... }
}

Provided Methods§

Source

fn is_autohide(&self) -> bool

Source

fn parent(&self) -> Option<Surface>

Source

fn position_x(&self) -> i32

Source

fn position_y(&self) -> i32

Source

fn rect_anchor(&self) -> Gravity

Source

fn surface_anchor(&self) -> Gravity

Source

fn present(&self, width: i32, height: i32, layout: &PopupLayout) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<O: IsA<Popup>> PopupExt for O