pub trait PopoverExt:
IsA<Popover>
+ Sealed
+ 'static {
Show 21 methods
// Provided 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 { ... }
}
Provided 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
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.