[go: up one dir, main page]

PopoverExt

Trait PopoverExt 

Source
pub trait PopoverExt: IsA<Popover> + 'static {
Show 32 methods // Provided methods fn is_autohide(&self) -> bool { ... } fn is_cascade_popdown(&self) -> bool { ... } fn child(&self) -> Option<Widget> { ... } fn has_arrow(&self) -> bool { ... } fn is_mnemonics_visible(&self) -> bool { ... } fn offset(&self) -> (i32, i32) { ... } fn pointing_to(&self) -> (bool, Rectangle) { ... } fn position(&self) -> PositionType { ... } fn popdown(&self) { ... } fn popup(&self) { ... } fn present(&self) { ... } fn set_autohide(&self, autohide: bool) { ... } fn set_cascade_popdown(&self, cascade_popdown: bool) { ... } fn set_child(&self, child: Option<&impl IsA<Widget>>) { ... } fn set_default_widget(&self, widget: Option<&impl IsA<Widget>>) { ... } fn set_has_arrow(&self, has_arrow: bool) { ... } fn set_mnemonics_visible(&self, mnemonics_visible: bool) { ... } fn set_offset(&self, x_offset: i32, y_offset: i32) { ... } fn set_pointing_to(&self, rect: Option<&Rectangle>) { ... } fn set_position(&self, position: PositionType) { ... } fn default_widget(&self) -> Option<Widget> { ... } fn connect_activate_default<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn emit_activate_default(&self) { ... } fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn connect_autohide_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_cascade_popdown_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_child_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_default_widget_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_has_arrow_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_mnemonics_visible_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 { ... }
}

Provided Methods§

Source

fn is_autohide(&self) -> bool

Source

fn is_cascade_popdown(&self) -> bool

Source

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

Source

fn has_arrow(&self) -> bool

Source

fn is_mnemonics_visible(&self) -> bool

Source

fn offset(&self) -> (i32, i32)

Source

fn pointing_to(&self) -> (bool, Rectangle)

Source

fn position(&self) -> PositionType

Source

fn popdown(&self)

Source

fn popup(&self)

Source

fn present(&self)

Source

fn set_autohide(&self, autohide: bool)

Source

fn set_cascade_popdown(&self, cascade_popdown: bool)

Source

fn set_child(&self, child: Option<&impl IsA<Widget>>)

Source

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

Source

fn set_has_arrow(&self, has_arrow: bool)

Source

fn set_mnemonics_visible(&self, mnemonics_visible: bool)

Source

fn set_offset(&self, x_offset: i32, y_offset: i32)

Source

fn set_pointing_to(&self, rect: Option<&Rectangle>)

Source

fn set_position(&self, position: PositionType)

Source

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

Source

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

Source

fn emit_activate_default(&self)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn connect_position_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.

Implementors§