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;
}