Trait arc_util::ui::Windowable
source · pub trait Windowable<Props>: Component<Props> {
const CONTEXT_MENU: bool;
const DEFAULT_OPTIONS: bool = true;
// Provided method
fn render_menu(&mut self, _ui: &Ui<'_>, _props: &mut Props) { ... }
}
Expand description
Interface for windowable UI components.
Required Associated Constants§
sourceconst CONTEXT_MENU: bool
const CONTEXT_MENU: bool
Whether to enable the context menu.
Provided Associated Constants§
sourceconst DEFAULT_OPTIONS: bool = true
const DEFAULT_OPTIONS: bool = true
Whether to enable the default menu entries.
Provided Methods§
Renders the window context menu contents.
Object Safety§
This trait is not object safe.