Trait gtk::prelude::PopoverExt

source ·
pub trait PopoverExt: 'static {
Show 21 methods // Required 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;
}

Required 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

Implementors§