mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 14:40:56 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
288 lines
6.7 KiB
HTML
288 lines
6.7 KiB
HTML
<html>
|
|
<head>
|
|
<title>NSMenuView</title>
|
|
</head>
|
|
<body>
|
|
<h1>NSMenuView</h1>
|
|
<h3>Authors</h3>
|
|
<dl>
|
|
<dt>Fred Kiefer(<a href="mailto:FredKiefer@gmx.de"><code>
|
|
FredKiefer@gmx.de
|
|
</code></a>)</dt>
|
|
<dd>
|
|
</dd>
|
|
<dt>David Lazaro Saz(<a href="mailto:khelekir@encomix.es"><code>
|
|
khelekir@encomix.es
|
|
</code></a>)</dt>
|
|
<dd>
|
|
</dd>
|
|
<dt>Michael Hanni(<a href="mailto:mhanni@sprintmail.com"><code>
|
|
mhanni@sprintmail.com
|
|
</code></a>)</dt>
|
|
<dd>
|
|
</dd>
|
|
</dl>
|
|
<p>Copyright: (C) 1999 Free Software Foundation, Inc.</p>
|
|
<h1>
|
|
Software documentation for the NSMenuView class
|
|
</h1>
|
|
<h2><a name="class$NSMenuView">NSMenuView</a> : <a href="NSView.html#class$NSView">NSView</a></h2>
|
|
Declared: AppKit/NSMenuView.h<br />
|
|
Conform: NSCoding<br />
|
|
<p>
|
|
|
|
</p>
|
|
<h3>menuBarHeight</a></h3>
|
|
+ (float) <b>menuBarHeight</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>attachSubmenuForItemAtIndex:</a></h3>
|
|
- (void) <b>attachSubmenuForItemAtIndex:</b> (int)index;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>attachedMenu</a></h3>
|
|
- (<a href="NSMenu.html#class$NSMenu">NSMenu</a>*) <b>attachedMenu</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>attachedMenuView</a></h3>
|
|
- (<a href="#class$NSMenuView">NSMenuView</a>*) <b>attachedMenuView</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>detachSubmenu</a></h3>
|
|
- (void) <b>detachSubmenu</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>font</a></h3>
|
|
- (<a href="NSFont.html#class$NSFont">NSFont</a>*) <b>font</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>highlightedItemIndex</a></h3>
|
|
- (int) <b>highlightedItemIndex</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>horizontalEdgePadding</a></h3>
|
|
- (float) <b>horizontalEdgePadding</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>imageAndTitleOffset</a></h3>
|
|
- (float) <b>imageAndTitleOffset</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>imageAndTitleWidth</a></h3>
|
|
- (float) <b>imageAndTitleWidth</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>indexOfItemAtPoint:</a></h3>
|
|
- (int) <b>indexOfItemAtPoint:</b> (NSPoint)point;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>initAsTearOff</a></h3>
|
|
- (id) <b>initAsTearOff</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>innerRect</a></h3>
|
|
- (NSRect) <b>innerRect</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>isAttached</a></h3>
|
|
- (BOOL) <b>isAttached</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>isHorizontal</a></h3>
|
|
- (BOOL) <b>isHorizontal</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>isTornOff</a></h3>
|
|
- (BOOL) <b>isTornOff</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>itemAdded:</a></h3>
|
|
- (void) <b>itemAdded:</b> (NSNotification*)notification;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>itemChanged:</a></h3>
|
|
- (void) <b>itemChanged:</b> (NSNotification*)notification;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>itemRemoved:</a></h3>
|
|
- (void) <b>itemRemoved:</b> (NSNotification*)notification;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>keyEquivalentOffset</a></h3>
|
|
- (float) <b>keyEquivalentOffset</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>keyEquivalentWidth</a></h3>
|
|
- (float) <b>keyEquivalentWidth</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>locationForSubmenu:</a></h3>
|
|
- (NSPoint) <b>locationForSubmenu:</b> (<a href="NSMenu.html#class$NSMenu">NSMenu</a>*)aSubmenu;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>menu</a></h3>
|
|
- (<a href="NSMenu.html#class$NSMenu">NSMenu</a>*) <b>menu</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>menuItemCellForItemAtIndex:</a></h3>
|
|
- (<a href="NSMenuItemCell.html#class$NSMenuItemCell">NSMenuItemCell</a>*) <b>menuItemCellForItemAtIndex:</b> (int)index;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>needsSizing</a></h3>
|
|
- (BOOL) <b>needsSizing</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>performActionWithHighlightingForItemAtIndex:</a></h3>
|
|
- (void) <b>performActionWithHighlightingForItemAtIndex:</b> (int)index;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>rectOfItemAtIndex:</a></h3>
|
|
- (NSRect) <b>rectOfItemAtIndex:</b> (int)index;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>resizeWindowWithMaxHeight:</a></h3>
|
|
- (void) <b>resizeWindowWithMaxHeight:</b> (float)maxHeight;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setFont:</a></h3>
|
|
- (void) <b>setFont:</b> (<a href="NSFont.html#class$NSFont">NSFont</a>*)font;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setHighlightedItemIndex:</a></h3>
|
|
- (void) <b>setHighlightedItemIndex:</b> (int)index;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setHorizontal:</a></h3>
|
|
- (void) <b>setHorizontal:</b> (BOOL)flag;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setHorizontalEdgePadding:</a></h3>
|
|
- (void) <b>setHorizontalEdgePadding:</b> (float)pad;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setMenu:</a></h3>
|
|
- (void) <b>setMenu:</b> (<a href="NSMenu.html#class$NSMenu">NSMenu</a>*)menu;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setMenuItemCell:forItemAtIndex:</a></h3>
|
|
- (void) <b>setMenuItemCell:</b> (<a href="NSMenuItemCell.html#class$NSMenuItemCell">NSMenuItemCell</a>*)cell<b> forItemAtIndex:</b> (int)index;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setNeedsDisplayForItemAtIndex:</a></h3>
|
|
- (void) <b>setNeedsDisplayForItemAtIndex:</b> (int)index;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setNeedsSizing:</a></h3>
|
|
- (void) <b>setNeedsSizing:</b> (BOOL)flag;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:</a></h3>
|
|
- (void) <b>setWindowFrameForAttachingToRect:</b> (NSRect)screenRect<b> onScreen:</b> (<a href="NSScreen.html#class$NSScreen">NSScreen</a>*)screen<b> preferredEdge:</b> (NSRectEdge)edge<b> popUpSelectedItem:</b> (int)selectedItemIndex;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>sizeToFit</a></h3>
|
|
- (void) <b>sizeToFit</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>stateImageOffset</a></h3>
|
|
- (float) <b>stateImageOffset</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>stateImageWidth</a></h3>
|
|
- (float) <b>stateImageWidth</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>trackWithEvent:</a></h3>
|
|
- (BOOL) <b>trackWithEvent:</b> (<a href="NSEvent.html#class$NSEvent">NSEvent</a>*)event;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
<h3>update</a></h3>
|
|
- (void) <b>update</b>;<br />
|
|
<p>
|
|
|
|
</p>
|
|
<hr />
|
|
</body>
|
|
</html>
|