[−][src]Trait cocoa::appkit::NSMenu
Required methods
unsafe fn initWithTitle_(self, title: id) -> id
unsafe fn setAutoenablesItems(self, state: BOOL)
unsafe fn addItem_(self, menu_item: id)
unsafe fn addItemWithTitle_action_keyEquivalent(
self,
title: id,
action: SEL,
key: id
) -> id
self,
title: id,
action: SEL,
key: id
) -> id
unsafe fn itemAtIndex_(self, index: NSInteger) -> id
Provided methods
Loading content...Implementors
impl NSMenu for id
[src]
unsafe fn initWithTitle_(self, title: id) -> id
[src]
unsafe fn setAutoenablesItems(self, state: BOOL)
[src]
unsafe fn addItem_(self, menu_item: id)
[src]
unsafe fn addItemWithTitle_action_keyEquivalent(
self,
title: id,
action: SEL,
key: id
) -> id
[src]
self,
title: id,
action: SEL,
key: id
) -> id