pub trait PopoverExt: 'static {
Show 21 methods
// Required methods
fn bind_model(
&self,
model: Option<&impl IsA<MenuModel>>,
action_namespace: Option<&str>
);
fn constrain_to(&self) -> PopoverConstraint;
fn default_widget(&self) -> Option<Widget>;
fn is_modal(&self) -> bool;
fn pointing_to(&self) -> Option<Rectangle>;
fn position(&self) -> PositionType;
fn relative_to(&self) -> Option<Widget>;
fn popdown(&self);
fn popup(&self);
fn set_constrain_to(&self, constraint: PopoverConstraint);
fn set_default_widget(&self, widget: Option<&impl IsA<Widget>>);
fn set_modal(&self, modal: bool);
fn set_pointing_to(&self, rect: &Rectangle);
fn set_position(&self, position: PositionType);
fn set_relative_to(&self, relative_to: Option<&impl IsA<Widget>>);
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_constrain_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_modal_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_pointing_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_relative_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}