[][src]Trait gtk::prelude::MenuButtonExt

pub trait MenuButtonExt: 'static {
    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

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

Loading content...

Implementors

impl<O: IsA<MenuButton>> MenuButtonExt for O[src]

Loading content...