[][src]Trait cocoa::appkit::NSMenuItem

pub trait NSMenuItem: Sized {
    unsafe fn initWithTitle_action_keyEquivalent_(
        self,
        title: id,
        action: SEL,
        key: id
    ) -> id;
unsafe fn setKeyEquivalentModifierMask_(self, mask: NSEventModifierFlags);
unsafe fn setSubmenu_(self, submenu: id);
unsafe fn setTarget_(self, target: id); unsafe fn alloc(_: Self) -> id { ... }
unsafe fn new(_: Self) -> id { ... }
unsafe fn separatorItem(_: Self) -> id { ... } }

Required methods

unsafe fn initWithTitle_action_keyEquivalent_(
    self,
    title: id,
    action: SEL,
    key: id
) -> id

unsafe fn setKeyEquivalentModifierMask_(self, mask: NSEventModifierFlags)

unsafe fn setSubmenu_(self, submenu: id)

unsafe fn setTarget_(self, target: id)

Loading content...

Provided methods

unsafe fn alloc(_: Self) -> id

unsafe fn new(_: Self) -> id

unsafe fn separatorItem(_: Self) -> id

Loading content...

Implementors

impl NSMenuItem for id[src]

Loading content...