Classes

NSActionCell
NSAlert
NSApplication
NSArrayController
NSBezierPath
NSBitmapImageRep
NSBox
NSBrowser
NSBrowserCell
NSButton
NSButtonCell
NSCachedImageRep
NSCell
NSClipView
NSCollectionView
NSCollectionViewItem
NSColor
NSColorList
NSColorPanel
NSColorPicker
NSColorWell
NSComboBox
NSComboBoxCell
NSControl
NSController
NSCursor
NSCustomImageRep
NSDataLink
NSDataLinkManager
NSDataLinkPanel
NSDatePicker
NSDatePickerCell
NSDocument
NSDocumentController
NSDrawer
NSDrawerDelegate
NSEPSImageRep
NSEvent
NSFont
NSFontDescriptor
NSFontManager
NSFontPanel
NSForm
NSFormCell
NSGraphicsContext
NSHelpManager
NSHelpPanel
NSImage
NSImageCell
NSImageRep
NSImageView
NSInputServer
NSMatrix
NSMenu
NSMenuItem
NSMenuItemCell
NSMenuView
NSMovie
NSMovieView
NSMutableParagraphStyle
NSNib
NSObjectController
NSOpenGLContext
NSOpenGLPixelFormat
NSOpenGLView
NSOpenPanel
NSOutlineView
NSPageLayout
NSPanel
NSParagraphStyle
NSPasteboard
NSPasteboardItem
NSPopUpButton
NSPopUpButtonCell
NSPredicateEditor
NSPredicateEditorRowTemplate
NSPrintInfo
NSPrintOperation
NSPrintPanel
NSPrinter
NSProgressIndicator
NSResponder
NSRuleEditor
NSRulerMarker
NSSavePanel
NSScreen
NSScrollView
NSScroller
NSSecureTextField
NSSecureTextFieldCell
NSSelection
NSSharingService
NSSharingServicePicker
NSSlider
NSSliderCell
NSSound
NSSpeechSynthesizer
NSSpellChecker
NSSplitView
NSStepper
NSStepperCell
NSTabView
NSTabViewItem
NSTableColumn
NSTableHeaderCell
NSTableHeaderView
NSTableView
NSText
NSTextAttachment
NSTextAttachmentCell
NSTextContainer
NSTextField
NSTextFieldCell
NSTextStorage
NSTextTab
NSTextView
NSTokenField
NSTokenFieldCell
NSUserDefaultsController
NSView
NSWindow
NSWindowController
NSWorkspace

Protocols

<GSImageDelegateProtocol>
<NSAlertDelegate>
<NSApplicationDelegate>
<NSBrowserDelegate>
<NSCollectionViewDataSource>
<NSCollectionViewDelegate>
<NSCollectionViewElement>
<NSCollectionViewPrefetching>
<NSComboBoxCellDataSource>
<NSComboBoxDataSource>
<NSComboBoxDelegate>
<NSControlTextEditingDelegate>
<NSInputServerMouseTracker>
<NSInputServiceProvider>
<NSMatrixDelegate>
<NSMenuDelegate>
<NSMenuItem>
<NSMenuValidation>
<NSMenuView>
<NSOpenSavePanelDelegate>
<NSOutlineViewDataSource>
<NSOutlineViewDelegate>
<NSPasteboardItemDataProvider>
<NSPasteboardReading>
<NSPasteboardWriting>
<NSPrintPanelAccessorizing>
<NSRuleEditorDelegate>
<NSSharingServiceDelegate>
<NSSharingServicePickerDelegate>
<NSSpeechSynthesizerDelegate>
<NSSplitViewDelegate>
<NSTabViewDelegate>
<NSTableViewDataSource>
<NSTableViewDelegate>
<NSTextAttachmentCell>
<NSTextFieldDelegate>
<NSTextViewDelegate>
<NSWindowDelegate>
(NSAlertDelegate)
(NSApplicationDelegate)
(NSBrowserDelegate)
(NSComboBoxCellDataSource)
(NSControlDelegate)
(NSControlTextEditingDelegate)
(NSDataLinkManagerDelegate)
(NSDataPickerCellDelegate)
(NSEditor)
(NSEditorRegistration)
(NSFontManagerDelegate)
(NSFontPanelValidation)
(NSMenuActionResponder)
(NSMenuDelegate)
(NSOpenSavePanelDelegate)
(NSPasteboardItemDataProvider)
(NSPasteboardOwner)
(NSPasteboardReading)
(NSPasteboardWriting)
(NSPlaceholder)
(NSSavePanelDelegate)
(NSServicesRequests)
(NSSoundDelegate)
(NSSpeechSynthesizerDelegate)
(NSSplitViewDelegate)
(NSTableDataSource)
(NSTableViewDelegate)
(NSTextDelegate)
(NSTextStorageDelegate)
(NSTextViewDelegate)
(NSWindowDelegate)
(NSWindowDelegateAdditions)

Constants

Functions

Macros

Types

Variables

Up

NSMenuItemCell

Authors

Michael Hanni (mhanni@sprintmail.com)

Date: Generated at 2025-07-12 14:18:56 +0000

Copyright: (C) 1999 Free Software Foundation, Inc.

Software documentation for the NSMenuItemCell class

NSMenuItemCell : NSButtonCell

Declared in:
AppKit/NSMenuItemCell.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary


calcSize 

- (void) calcSize;
Availability: OpenStep

Description forthcoming.

drawBorderAndBackgroundWithFrame: inView: 

- (void) drawBorderAndBackgroundWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Availability: OpenStep

Description forthcoming.

drawImageWithFrame: inView: 

- (void) drawImageWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Availability: OpenStep

Description forthcoming.

drawKeyEquivalentWithFrame: inView: 

- (void) drawKeyEquivalentWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Availability: OpenStep

Description forthcoming.

drawSeparatorItemWithFrame: inView: 

- (void) drawSeparatorItemWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Availability: OpenStep

Description forthcoming.

drawStateImageWithFrame: inView: 

- (void) drawStateImageWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Availability: OpenStep

Description forthcoming.

drawTitleWithFrame: inView: 

- (void) drawTitleWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Availability: OpenStep

Description forthcoming.

imageRectForBounds: 

- (NSRect) imageRectForBounds: (NSRect)cellFrame;
Availability: OpenStep

Description forthcoming.

imageWidth 

- (CGFloat) imageWidth;
Availability: OpenStep

Description forthcoming.

isHighlighted 

- (BOOL) isHighlighted;
Availability: OpenStep

Description forthcoming.

keyEquivalentRectForBounds: 

- (NSRect) keyEquivalentRectForBounds: (NSRect)cellFrame;
Availability: OpenStep

Description forthcoming.

keyEquivalentWidth 

- (CGFloat) keyEquivalentWidth;
Availability: OpenStep

Description forthcoming.

menuItem 

- (NSMenuItem*) menuItem;
Availability: OpenStep

Description forthcoming.

menuView 

- (NSMenuView*) menuView;
Availability: OpenStep

Description forthcoming.

needsDisplay 

- (BOOL) needsDisplay;
Availability: OpenStep

Description forthcoming.

needsSizing 

- (BOOL) needsSizing;
Availability: OpenStep

Description forthcoming.

setHighlighted: 

- (void) setHighlighted: (BOOL)flag;
Availability: OpenStep

Description forthcoming.

setMenuItem: 

- (void) setMenuItem: (NSMenuItem*)item;
Availability: OpenStep

Description forthcoming.

setMenuView: 

- (void) setMenuView: (NSMenuView*)menuView;
Availability: OpenStep

Description forthcoming.

setNeedsDisplay: 

- (void) setNeedsDisplay: (BOOL)flag;
Availability: OpenStep

Description forthcoming.

setNeedsSizing: 

- (void) setNeedsSizing: (BOOL)flag;
Availability: OpenStep

Description forthcoming.

stateImageRectForBounds: 

- (NSRect) stateImageRectForBounds: (NSRect)cellFrame;
Availability: OpenStep

Description forthcoming.

stateImageWidth 

- (CGFloat) stateImageWidth;
Availability: OpenStep

Description forthcoming.

titleRectForBounds: 

- (NSRect) titleRectForBounds: (NSRect)cellFrame;
Availability: OpenStep

Description forthcoming.

titleWidth 

- (CGFloat) titleWidth;
Availability: OpenStep

Description forthcoming.



Instance Variables for NSMenuItemCell Class

_imageSize

@protected NSSize _imageSize;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_imageToDisplay

@protected NSImage* _imageToDisplay;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_imageWidth

@protected CGFloat _imageWidth;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_keyEquivalentWidth

@protected CGFloat _keyEquivalentWidth;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_mcell_belongs_to_popupbutton

@protected BOOL _mcell_belongs_to_popupbutton;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_menuItem

@protected NSMenuItem* _menuItem;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_menuItemHeight

@protected CGFloat _menuItemHeight;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_menuView

@protected NSMenuView* _menuView;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_needs_display

@protected BOOL _needs_display;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_needs_sizing

@protected BOOL _needs_sizing;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_pad

@protected char _pad;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_stateImageWidth

@protected CGFloat _stateImageWidth;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_titleToDisplay

@protected NSString* _titleToDisplay;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_titleWidth

@protected CGFloat _titleWidth;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.





Up