Kiwi User Interface Framework  beta
Public Member Functions | Properties
KUMenuItem Class Reference

Adaptor class of NSMenuItem. More...

#import <KUMenuItem.h>

Inheritance diagram for KUMenuItem:
KUResponder

List of all members.

Public Member Functions

(id) - initWithTitle:keyEquivalent:withResource:
 Initialize menu item.
(void) - dealloc
 Deallocate object.
(id) - clicked
 Receiver of clicked event.

Properties

NSMenuItem * menuItemObject
 Real menu item object.

Detailed Description

Adaptor class of NSMenuItem.


Member Function Documentation

- (id) initWithTitle: (NSString *)  title
keyEquivalent: (NSString *)  code
withResource: (struct CNResource *)  resource 

Initialize menu item.

Returns:
Allocated object
Parameters:
titleTitle of the menu item
codeShort cut key (If the menu has no short cut, give nil as this value)
resourceResource to allocate this object

The documentation for this class was generated from the following file: