gtk::prelude

Trait PopoverExt

Source
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§

Source

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

Source

fn constrain_to(&self) -> PopoverConstraint

Source

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

Source

fn is_modal(&self) -> bool

Source

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

Source

fn position(&self) -> PositionType

Source

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

Source

fn popdown(&self)

Source

fn popup(&self)

Source

fn set_constrain_to(&self, constraint: PopoverConstraint)

Source

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

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(&self, relative_to: Option<&impl IsA<Widget>>)

Source

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

Source

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

Source

fn connect_modal_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

Source

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.

Implementors§