Trait gtk4::prelude::PopoverExt

source ·
pub trait PopoverExt: IsA<Popover> + Sealed + '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

Object Safety§

This trait is not object safe.

Implementors§