parent
ab8d25e0a2
commit
66b73c2d60
1 changed files with 1 additions and 1 deletions
|
@ -1168,7 +1168,7 @@ impl AppContext {
|
||||||
self.platform.set_menus(menus, &self.keymap.borrow());
|
self.platform.set_menus(menus, &self.keymap.borrow());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Sets the menu bar for this application. This will replace any existing menu bar.
|
/// Gets the menu bar for this application.
|
||||||
pub fn get_menus(&self) -> Option<Vec<OwnedMenu>> {
|
pub fn get_menus(&self) -> Option<Vec<OwnedMenu>> {
|
||||||
self.platform.get_menus()
|
self.platform.get_menus()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue