pub trait MenuButtonExt: 'static {
Show 18 methods // Required methods fn align_widget(&self) -> Option<Widget>; fn direction(&self) -> ArrowType; fn menu_model(&self) -> Option<MenuModel>; fn popover(&self) -> Option<Popover>; fn popup(&self) -> Option<Menu>; fn uses_popover(&self) -> bool; fn set_align_widget(&self, align_widget: Option<&impl IsA<Widget>>); fn set_direction(&self, direction: ArrowType); fn set_menu_model(&self, menu_model: Option<&impl IsA<MenuModel>>); fn set_popover(&self, popover: Option<&impl IsA<Widget>>); fn set_popup(&self, menu: Option<&impl IsA<Widget>>); fn set_use_popover(&self, use_popover: bool); fn connect_align_widget_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_direction_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_menu_model_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_popover_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_popup_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId; fn connect_use_popover_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId;
}

Required Methods§

source

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

source

fn direction(&self) -> ArrowType

source

fn menu_model(&self) -> Option<MenuModel>

source

fn popover(&self) -> Option<Popover>

source

fn popup(&self) -> Option<Menu>

source

fn uses_popover(&self) -> bool

source

fn set_align_widget(&self, align_widget: Option<&impl IsA<Widget>>)

source

fn set_direction(&self, direction: ArrowType)

source

fn set_menu_model(&self, menu_model: Option<&impl IsA<MenuModel>>)

source

fn set_popover(&self, popover: Option<&impl IsA<Widget>>)

source

fn set_popup(&self, menu: Option<&impl IsA<Widget>>)

source

fn set_use_popover(&self, use_popover: bool)

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§