Trait gdk4::prelude::PopupExt

source ·
pub trait PopupExt: IsA<Popup> + Sealed + '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

Object Safety§

This trait is not object safe.

Implementors§

source§

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