NSMenuView
Authors
- Fred Kiefer(
FredKiefer@gmx.de
)
-
- David Lazaro Saz(
khelekir@encomix.es
)
-
- Michael Hanni(
mhanni@sprintmail.com
)
-
Copyright: (C) 1999 Free Software Foundation, Inc.
Software documentation for the NSMenuView class
Declared: AppKit/NSMenuView.h
Conform: NSCoding
menuBarHeight
+ (float) menuBarHeight;
attachSubmenuForItemAtIndex:
- (void) attachSubmenuForItemAtIndex: (int)index;
attachedMenu
- (NSMenu*) attachedMenu;
attachedMenuView
- (NSMenuView*) attachedMenuView;
detachSubmenu
- (void) detachSubmenu;
font
- (NSFont*) font;
highlightedItemIndex
- (int) highlightedItemIndex;
horizontalEdgePadding
- (float) horizontalEdgePadding;
imageAndTitleOffset
- (float) imageAndTitleOffset;
imageAndTitleWidth
- (float) imageAndTitleWidth;
indexOfItemAtPoint:
- (int) indexOfItemAtPoint: (NSPoint)point;
initAsTearOff
- (id) initAsTearOff;
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;