Trait PopoverExt

Source
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ยง

Source

fn bind_model<P: IsA<MenuModel>>( &self, model: Option<&P>, action_namespace: Option<&str>, )

Source

fn get_constrain_to(&self) -> PopoverConstraint

Source

fn get_default_widget(&self) -> Option<Widget>

Source

fn get_modal(&self) -> bool

Source

fn get_pointing_to(&self) -> Option<Rectangle>

Source

fn get_position(&self) -> PositionType

Source

fn get_relative_to(&self) -> Option<Widget>

Source

fn get_transitions_enabled(&self) -> bool

๐Ÿ‘ŽDeprecated
Source

fn popdown(&self)

Source

fn popup(&self)

Source

fn set_constrain_to(&self, constraint: PopoverConstraint)

Source

fn set_default_widget<P: IsA<Widget>>(&self, widget: Option<&P>)

Source

fn set_modal(&self, modal: bool)

Source

fn set_pointing_to(&self, rect: &Rectangle)

Source

fn set_position(&self, position: PositionType)

Source

fn set_relative_to<P: IsA<Widget>>(&self, relative_to: Option<&P>)

Source

fn set_transitions_enabled(&self, transitions_enabled: bool)

๐Ÿ‘ŽDeprecated
Source

fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_property_constrain_to_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_modal_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_pointing_to_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_position_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_relative_to_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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.

Implementorsยง