[Previous]
[Up]
[Next]
NSMenuView
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Gui/NSMenuView.h
Inherits from: NSView
Conforms to: NSCoding
Instance Variables
Methods
Class Methods
+ (float) menuBarHeight;
Instances Methods
- (NSMenu*) attachedMenu;
- (NSMenuView*) attachedMenuView;
- (void) attachSubmenuForItemAtIndex: (int)index;
- (void) detachSubmenu;
- (NSFont*) font;
- (int) highlightedItemIndex;
- (float) horizontalEdgePadding;
- (float) imageAndTitleOffset;
- (float) imageAndTitleWidth;
- (int) indexOfItemAtPoint: (NSPoint)point;
- (NSRect) innerRect;
- (BOOL) isAttached;
- (BOOL) isHorizontal;
- (BOOL) isTornOff;
- (void) itemAdded: (NSNotification*)notification;
- (void) itemChanged: (NSNotification*)notification;
- (void) itemRemoved: (NSNotification*)notification;
- (float) keyEquivalentOffset;
- (float) keyEquivalentWidth;
- (NSPoint) locationForSubmenu: (NSMenu*)aSubmenu;
- (NSMenu*) menu;
- (NSMenuItemCell*) menuItemCellForItemAtIndex: (int)index;
- (BOOL) needsSizing;
- (void) performActionWithHighlightingForItemAtIndex: (int)index;
- (NSRect) rectOfItemAtIndex: (int)index;
- (void) resizeWindowWithMaxHeight: (float)maxHeight;
- (void) setFont: (NSFont*)font;
- (void) setHighlightedItemIndex: (int)index;
- (void) setHorizontal: (BOOL)flag;
- (void) setHorizontalEdgePadding: (float)pad;
- (void) setMenu: (NSMenu*)menu;
- (void) setMenuItemCell: (NSMenuItemCell*)cell forItemAtIndex: (int)index;
- (void) setNeedsDisplayForItemAtIndex: (int)index;
- (void) setNeedsSizing: (BOOL)flag;
- (void) setWindowFrameForAttachingToRect: (NSRect)screenRect onScreen: (NSScreen *)screen preferredEdge: (NSRectEdge)edge popUpSelectedItem: (int)selectedItemIndex;
- (void) sizeToFit;
- (float) stateImageOffset;
- (float) stateImageWidth;
- (BOOL) trackWithEvent: (NSEvent*)event;
- (void) update;