menubar 0.0.2

Cross-platform native menu library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod global;
mod menu;
mod menubar;
mod menuitem;
pub mod util; // TMP pub

pub use self::menubar::MenuBar;
pub use global::InitializedApplication;
pub use menu::Menu;
pub use menuitem::{MenuItem, MenuItemState};

// We need the Objectice-C symbols like NSString, NSMenu and so on to be available
#[link(name = "AppKit", kind = "framework")]
extern "C" {}
#[link(name = "Foundation", kind = "framework")]
extern "C" {}