pub trait MenuToolButtonExt: IsA<MenuToolButton> + Sealed + 'static {
    // Provided methods
    fn menu(&self) -> Option<Widget> { ... }
    fn set_arrow_tooltip_markup(&self, markup: &str) { ... }
    fn set_arrow_tooltip_text(&self, text: &str) { ... }
    fn set_menu(&self, menu: &impl IsA<Widget>) { ... }
    fn connect_show_menu<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn connect_menu_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}

Provided Methods§

source

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

source

fn set_arrow_tooltip_markup(&self, markup: &str)

source

fn set_arrow_tooltip_text(&self, text: &str)

source

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

source

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

source

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

Implementors§