Trait gtk::prelude::MenuButtonExt
source · [−]pub trait MenuButtonExt: 'static {
Show 18 methods
fn get_align_widget(&self) -> Option<Widget>;
fn get_direction(&self) -> ArrowType;
fn get_menu_model(&self) -> Option<MenuModel>;
fn get_popover(&self) -> Option<Popover>;
fn get_popup(&self) -> Option<Menu>;
fn get_use_popover(&self) -> bool;
fn set_align_widget<P: IsA<Widget>>(&self, align_widget: Option<&P>);
fn set_direction(&self, direction: ArrowType);
fn set_menu_model<P: IsA<MenuModel>>(&self, menu_model: Option<&P>);
fn set_popover<P: IsA<Widget>>(&self, popover: Option<&P>);
fn set_popup<P: IsA<Widget>>(&self, menu: Option<&P>);
fn set_use_popover(&self, use_popover: bool);
fn connect_property_align_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_direction_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_menu_model_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_popover_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_popup_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_use_popover_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
source
fn get_align_widget(&self) -> Option<Widget>
source
fn get_direction(&self) -> ArrowType
source
fn get_popover(&self) -> Option<Popover>
source
fn get_use_popover(&self) -> bool
source
fn set_direction(&self, direction: ArrowType)
source
fn set_use_popover(&self, use_popover: bool)
sourcefn connect_property_align_widget_notify<F: Fn(&Self) + 'static>(
fn connect_property_align_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_direction_notify<F: Fn(&Self) + 'static>(
fn connect_property_direction_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_popover_notify<F: Fn(&Self) + 'static>(
fn connect_property_popover_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_popup_notify<F: Fn(&Self) + 'static>(
fn connect_property_popup_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_use_popover_notify<F: Fn(&Self) + 'static>(