Struct iui::menus::Menu[][src]

pub struct Menu { /* fields omitted */ }

A Menu represents one of the top-level menus at the top of a window. As that bar is unique per application, creating a new Menu shows it on all windows that support displaying menus.

Methods

impl Menu
[src]

Creates a new menu with the given name to be displayed in the menubar at the top of the window.

Adds a new item with the given name to the menu.

Adds a new togglable (checkbox) item with the given name to the menu.

Adds a seperator to the menu.

Trait Implementations

impl Clone for Menu
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for Menu

impl !Sync for Menu