Function is_in_menu

Source
pub fn is_in_menu(ui: &Ui) -> bool
Expand description

Is this Ui part of a menu?

Returns false if this is a menu bar. Should be used to determine if we should show a menu button or submenu button.