[Previous] [Up] [Next]

NSMenuView

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSMenuView

NSMenuView

Declared in: AppKit/NSMenuView.h

Inherits from: NSView

Conforms to: NSCoding



menuBarHeight

+ (float) menuBarHeight

attachedMenu

- (NSMenu*) attachedMenu

attachedMenuView

- (NSMenuView*) attachedMenuView

attachSubmenuForItemAtIndex:

- (void) attachSubmenuForItemAtIndex: (int)index

detachSubmenu

- (void) detachSubmenu

font

- (NSFont*) font

highlightedItemIndex

- (int) highlightedItemIndex

horizontalEdgePadding

- (float) horizontalEdgePadding

imageAndTitleOffset

- (float) imageAndTitleOffset

imageAndTitleWidth

- (float) imageAndTitleWidth

indexOfItemAtPoint:

- (int) indexOfItemAtPoint: (NSPoint)point

innerRect

- (NSRect) innerRect

isAttached

- (BOOL) isAttached

isHorizontal

- (BOOL) isHorizontal

isTornOff

- (BOOL) isTornOff

itemAdded:

- (void) itemAdded: (NSNotification*)notification

itemChanged:

- (void) itemChanged: (NSNotification*)notification

itemRemoved:

- (void) itemRemoved: (NSNotification*)notification

keyEquivalentOffset

- (float) keyEquivalentOffset

keyEquivalentWidth

- (float) keyEquivalentWidth

locationForSubmenu:

- (NSPoint) locationForSubmenu: (NSMenu*)aSubmenu

menu

- (NSMenu*) menu

menuItemCellForItemAtIndex:

- (NSMenuItemCell*) menuItemCellForItemAtIndex: (int)index

needsSizing

- (BOOL) needsSizing

performActionWithHighlightingForItemAtIndex:

- (void) performActionWithHighlightingForItemAtIndex: (int)index

rectOfItemAtIndex:

- (NSRect) rectOfItemAtIndex: (int)index

resizeWindowWithMaxHeight:

- (void) resizeWindowWithMaxHeight: (float)maxHeight

setFont:

- (void) setFont: (NSFont*)font

setHighlightedItemIndex:

- (void) setHighlightedItemIndex: (int)index

setHorizontal:

- (void) setHorizontal: (BOOL)flag

setHorizontalEdgePadding:

- (void) setHorizontalEdgePadding: (float)pad

setMenu:

- (void) setMenu: (NSMenu*)menu

setMenuItemCell:forItemAtIndex:

- (void) setMenuItemCell: (NSMenuItemCell*)cell forItemAtIndex: (int)index

setNeedsDisplayForItemAtIndex:

- (void) setNeedsDisplayForItemAtIndex: (int)index

setNeedsSizing:

- (void) setNeedsSizing: (BOOL)flag

setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:

- (void) setWindowFrameForAttachingToRect: (NSRect)screenRect onScreen: (NSScreen *)screen preferredEdge: (NSRectEdge)edge popUpSelectedItem: (int)selectedItemIndex

sizeToFit

- (void) sizeToFit

stateImageOffset

- (float) stateImageOffset

stateImageWidth

- (float) stateImageWidth

trackWithEvent:

- (BOOL) trackWithEvent: (NSEvent*)event

update

- (void) update