pub trait GtkMenuExtManual:
IsA<Menu>
+ Sealed
+ 'static {
// Provided methods
fn popup<T: IsA<Widget>, U: IsA<Widget>, F: FnOnce(&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) { ... }
}
Provided Methods§
fn popup<T: IsA<Widget>, U: IsA<Widget>, F: FnOnce(&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.