A reference to a context menu item.
More...
#import <xap_CocoaPlugin.h>
List of all members.
Detailed Description
A reference to a context menu item.
Member Function Documentation
- (void) setEnabled: |
|
(BOOL) |
enabled |
|
|
- Parameters:
-
| enabled | YES if the menu item should be enabled, or NO if the menu item should be greyed (i.e., non-selectable). The default is YES. |
Reimplemented in AP_CocoaPlugin_ContextMenuItem.
- (void) setLabel: |
|
(NSString *) |
label |
|
|
- (void) setState: |
|
(int) |
state |
|
|
- Parameters:
-
| state | To have a check (tick) beside the menu item, set the state to NSOnState, otherwise set it to NSOffState. The default is NSOffState. |
Reimplemented in AP_CocoaPlugin_ContextMenuItem.
- Parameters:
-
| anInt | An integer which can be used to identify this particular object. |
The documentation for this protocol was generated from the following file: