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;
}