Trait gdk4::prelude::PopupExt

source ·
pub trait PopupExt: 'static {
    // Required 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;
}

Required 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

Implementors§

source§

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