pub trait MenuToolButtonExt: 'static {
// Required methods
fn get_menu(&self) -> Option<Widget>;
fn set_arrow_tooltip_markup(&self, markup: &str);
fn set_arrow_tooltip_text(&self, text: &str);
fn set_menu<P: IsA<Widget>>(&self, menu: &P);
fn connect_show_menu<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_property_menu_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn set_arrow_tooltip_markup(&self, markup: &str)
fn set_arrow_tooltip_text(&self, text: &str)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.