fractal::components::context_menu_bin

Trait ContextMenuBinImpl

source
pub trait ContextMenuBinImpl: WidgetImpl {
    // Provided method
    fn menu_opened(&self) { ... }
}
Expand description

Public trait that must be implemented for everything that derives from ContextMenuBin.

Overriding a method from this Trait overrides also its behavior in ContextMenuBinExt.

Provided Methods§

source

fn menu_opened(&self)

Called when the menu was requested to open but before the menu is shown.

This method should be used to set the popover dynamically.

Object Safety§

This trait is not object safe.

Implementors§