pub trait PopoverExt: 'static {
Show 24 methods
// Required methods
fn bind_model<P: IsA<MenuModel>>(
&self,
model: Option<&P>,
action_namespace: Option<&str>,
);
fn get_constrain_to(&self) -> PopoverConstraint;
fn get_default_widget(&self) -> Option<Widget>;
fn get_modal(&self) -> bool;
fn get_pointing_to(&self) -> Option<Rectangle>;
fn get_position(&self) -> PositionType;
fn get_relative_to(&self) -> Option<Widget>;
fn get_transitions_enabled(&self) -> bool;
fn popdown(&self);
fn popup(&self);
fn set_constrain_to(&self, constraint: PopoverConstraint);
fn set_default_widget<P: IsA<Widget>>(&self, widget: Option<&P>);
fn set_modal(&self, modal: bool);
fn set_pointing_to(&self, rect: &Rectangle);
fn set_position(&self, position: PositionType);
fn set_relative_to<P: IsA<Widget>>(&self, relative_to: Option<&P>);
fn set_transitions_enabled(&self, transitions_enabled: bool);
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_property_constrain_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_modal_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_pointing_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_relative_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_transitions_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methodsยง
fn bind_model<P: IsA<MenuModel>>( &self, model: Option<&P>, action_namespace: Option<&str>, )
fn get_constrain_to(&self) -> PopoverConstraint
fn get_default_widget(&self) -> Option<Widget>
fn get_modal(&self) -> bool
fn get_pointing_to(&self) -> Option<Rectangle>
fn get_position(&self) -> PositionType
fn get_relative_to(&self) -> Option<Widget>
fn get_transitions_enabled(&self) -> bool
๐Deprecated
fn popdown(&self)
fn popup(&self)
fn set_constrain_to(&self, constraint: PopoverConstraint)
fn set_default_widget<P: IsA<Widget>>(&self, widget: Option<&P>)
fn set_modal(&self, modal: bool)
fn set_pointing_to(&self, rect: &Rectangle)
fn set_position(&self, position: PositionType)
fn set_relative_to<P: IsA<Widget>>(&self, relative_to: Option<&P>)
fn set_transitions_enabled(&self, transitions_enabled: bool)
๐Deprecated
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_property_constrain_to_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_modal_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_pointing_to_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_position_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_relative_to_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_transitions_enabled_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated
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.