[][src]Trait cocoa::appkit::NSMenu

pub trait NSMenu: Sized {
    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;
unsafe fn itemAtIndex_(self, index: NSInteger) -> id; unsafe fn alloc(_: Self) -> id { ... }
unsafe fn new(_: Self) -> id { ... } }

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

unsafe fn itemAtIndex_(self, index: NSInteger) -> id

Loading content...

Provided methods

unsafe fn alloc(_: Self) -> id

unsafe fn new(_: Self) -> id

Loading content...

Implementors

impl NSMenu for id[src]

Loading content...