pub trait GtkMenuExtManual: 'static {
// Required methods
fn popup<T: IsA<Widget>, U: IsA<Widget>, F: Fn(&Self, &mut i32, &mut i32) -> bool + 'static>(
&self,
parent_menu_shell: Option<&T>,
parent_menu_item: Option<&U>,
f: F,
button: u32,
activate_time: u32,
);
fn popup_easy(&self, button: u32, activate_time: u32);
}
Required Methods§
fn popup<T: IsA<Widget>, U: IsA<Widget>, F: Fn(&Self, &mut i32, &mut i32) -> bool + 'static>( &self, parent_menu_shell: Option<&T>, parent_menu_item: Option<&U>, f: F, button: u32, activate_time: u32, )
fn popup_easy(&self, button: u32, activate_time: u32)
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.