![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/share/GNUstep/Documentation/Developer/Gui/Reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>NSPopUpButtonCell</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSPopUpButtonCell">NSPopUpButtonCell</a></h1> <h3>Authors</h3> <dl> <dt>Fred Kiefer (<a href="mailto:FredKiefer@gmx.de"><code>FredKiefer@gmx.de</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><b>Copyright:</b> (C) 1999 Free Software Foundation, Inc.</p> <div> </div> <h1><a name="001000000000"> Software documentation for the NSPopUpButtonCell class </a></h1> <h2><a name="class$NSPopUpButtonCell">NSPopUpButtonCell</a> : <a rel="gsdoc" href="NSMenuItemCell.html#class$NSMenuItemCell">NSMenuItemCell</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSPopUpButtonCell.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="50%" align="left" /> <a href="#_NSPopUpButtonCell_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-addItemWithTitle$">-addItemWithTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-addItemsWithTitles$">-addItemsWithTitles:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-altersStateOfSelectedItem">-altersStateOfSelectedItem</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-arrowPosition">-arrowPosition</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-attachPopUpWithFrame$inView$">-attachPopUpWithFrame:inView:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-autoenablesItems">-autoenablesItems</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-dismissPopUp">-dismissPopUp</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-indexOfItem$">-indexOfItem:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-indexOfItemWithRepresentedObject$">-indexOfItemWithRepresentedObject:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-indexOfItemWithTag$">-indexOfItemWithTag:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-indexOfItemWithTarget$andAction$">-indexOfItemWithTarget:andAction:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-indexOfItemWithTitle$">-indexOfItemWithTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-indexOfSelectedItem">-indexOfSelectedItem</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-initTextCell$pullsDown$">-initTextCell:pullsDown:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-insertItemWithTitle$atIndex$">-insertItemWithTitle:atIndex:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-itemArray">-itemArray</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-itemAtIndex$">-itemAtIndex:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-itemTitleAtIndex$">-itemTitleAtIndex:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-itemTitles">-itemTitles</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-itemWithTitle$">-itemWithTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-lastItem">-lastItem</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-menu">-menu</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-numberOfItems">-numberOfItems</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-performClickWithFrame$inView$">-performClickWithFrame:inView:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-preferredEdge">-preferredEdge</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-pullsDown">-pullsDown</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-removeAllItems">-removeAllItems</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-removeItemAtIndex$">-removeItemAtIndex:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-removeItemWithTitle$">-removeItemWithTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-selectItem$">-selectItem:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-selectItemAtIndex$">-selectItemAtIndex:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-selectItemWithTitle$">-selectItemWithTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-selectedItem">-selectedItem</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-setAltersStateOfSelectedItem$">-setAltersStateOfSelectedItem:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-setArrowPosition$">-setArrowPosition:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-setAutoenablesItems$">-setAutoenablesItems:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-setMenu$">-setMenu:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-setPreferredEdge$">-setPreferredEdge:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-setPullsDown$">-setPullsDown:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-setTitle$">-setTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-setUsesItemFromMenu$">-setUsesItemFromMenu:</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-synchronizeTitleAndSelectedItem">-synchronizeTitleAndSelectedItem</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-titleOfSelectedItem">-titleOfSelectedItem</a></li> <li><a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-usesItemFromMenu">-usesItemFromMenu</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSPopUpButtonCell-addItemWithTitle$">addItemWithTitle: </a></h3> - (void) <b>addItemWithTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Add an item to the popup with <var>title</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-addItemsWithTitles$">addItemsWithTitles: </a></h3> - (void) <b>addItemsWithTitles:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*)titles;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Add a number of items to the reciever using the provided itemTitles array. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-altersStateOfSelectedItem">altersStateOfSelectedItem </a></h3> - (BOOL) <b>altersStateOfSelectedItem</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Return <code>YES</code>, if the reciever changes the state of the item chosen by the user. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-arrowPosition">arrowPosition </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSPopUpArrowPosition">NSPopUpArrowPosition</a>) <b>arrowPosition</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the current arrow position of the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-attachPopUpWithFrame$inView$">attachPopUpWithFrame: inView: </a></h3> - (void) <b>attachPopUpWithFrame:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)cellFrame<b> inView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)controlView;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Attach popup </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-autoenablesItems">autoenablesItems </a></h3> - (BOOL) <b>autoenablesItems</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns <code>YES</code>, if the items are autoenabled. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-dismissPopUp">dismissPopUp </a></h3> - (void) <b>dismissPopUp</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Dismiss the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-indexOfItem$">indexOfItem: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>indexOfItem:</b> (id<<a rel="gsdoc" href="NSMenuItem.html#protocol$(NSMenuItem)">NSMenuItem</a>>)item;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Return the index of <var>item</var> in the <var>item</var> array of the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-indexOfItemWithRepresentedObject$">indexOfItemWithRepresentedObject: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>indexOfItemWithRepresentedObject:</b> (id)obj;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Index of the item whose menu item's representedObject is equal to <var>obj</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-indexOfItemWithTag$">indexOfItemWithTag: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>indexOfItemWithTag:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)tag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Return index of the item with a <var>tag</var> equal to aTag. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-indexOfItemWithTarget$andAction$">indexOfItemWithTarget: andAction: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>indexOfItemWithTarget:</b> (id)aTarget<b> andAction:</b> (SEL)actionSelector;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Index of the item in the reciever whose target and action are equal to <var>aTarget</var> and <var>actionSelector</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-indexOfItemWithTitle$">indexOfItemWithTitle: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>indexOfItemWithTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Return index of the item with the given <var>title</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-indexOfSelectedItem">indexOfSelectedItem </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>indexOfSelectedItem</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Index of the currently selected item in the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-initTextCell$pullsDown$">initTextCell: pullsDown: </a></h3> - (id) <b>initTextCell:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)stringValue<b> pullsDown:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Initialize with <var>stringValue</var> and pullDown. If pullDown is <code>YES</code>, the reciever will be a pulldown button. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-insertItemWithTitle$atIndex$">insertItemWithTitle: atIndex: </a></h3> - (void) <b>insertItemWithTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title<b> atIndex:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)index;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Adds an item with the given <var>title</var> at <var>index</var>. If an item already exists at <var>index</var>, it, and all items after it are advanced one position. Index needs to be within the valid range for the array of items in the popup button. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-itemArray">itemArray </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>itemArray</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Item array of the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-itemAtIndex$">itemAtIndex: </a></h3> - (id<<a rel="gsdoc" href="NSMenuItem.html#protocol$(NSMenuItem)">NSMenuItem</a>>) <b>itemAtIndex:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)index;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Return the item at <var>index</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-itemTitleAtIndex$">itemTitleAtIndex: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>itemTitleAtIndex:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)index;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set item title at the given <var>index</var> in the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-itemTitles">itemTitles </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>itemTitles</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns an array containing all of the current item titles. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-itemWithTitle$">itemWithTitle: </a></h3> - (id<<a rel="gsdoc" href="NSMenuItem.html#protocol$(NSMenuItem)">NSMenuItem</a>>) <b>itemWithTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Return the item with <var>title</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-lastItem">lastItem </a></h3> - (id<<a rel="gsdoc" href="NSMenuItem.html#protocol$(NSMenuItem)">NSMenuItem</a>>) <b>lastItem</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Return the item listed last in the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-menu">menu </a></h3> - (<a rel="gsdoc" href="NSMenu.html#class$NSMenu">NSMenu</a>*) <b>menu</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Return the menu for the popup. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-numberOfItems">numberOfItems </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>numberOfItems</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Number of items in the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-performClickWithFrame$inView$">performClickWithFrame: inView: </a></h3> - (void) <b>performClickWithFrame:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)frame<b> inView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)controlView;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Perform the click operation with the given <var>frame</var> and <var>controlView</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-preferredEdge">preferredEdge </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRectEdge">NSRectEdge</a>) <b>preferredEdge</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Return the preferred edge. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-pullsDown">pullsDown </a></h3> - (BOOL) <b>pullsDown</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns <code>YES</code>, if this is a pull-down </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-removeAllItems">removeAllItems </a></h3> - (void) <b>removeAllItems</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Purges all items from the popup. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-removeItemAtIndex$">removeItemAtIndex: </a></h3> - (void) <b>removeItemAtIndex:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)index;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Remove a given item based on its <var>index</var>, must be a valid <var>index</var> within the range for the item array of this popup. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-removeItemWithTitle$">removeItemWithTitle: </a></h3> - (void) <b>removeItemWithTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Remove a given item based on its <var>title</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-selectItem$">selectItem: </a></h3> - (void) <b>selectItem:</b> (id<<a rel="gsdoc" href="NSMenuItem.html#protocol$(NSMenuItem)">NSMenuItem</a>>)item;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Select <var>item</var> in the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-selectItemAtIndex$">selectItemAtIndex: </a></h3> - (void) <b>selectItemAtIndex:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>)index;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Select item at the given <var>index</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-selectItemWithTitle$">selectItemWithTitle: </a></h3> - (void) <b>selectItemWithTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Select the item with the given <var>title</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-selectedItem">selectedItem </a></h3> - (id<<a rel="gsdoc" href="NSMenuItem.html#protocol$(NSMenuItem)">NSMenuItem</a>>) <b>selectedItem</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> The currently selected item in the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-setAltersStateOfSelectedItem$">setAltersStateOfSelectedItem: </a></h3> - (void) <b>setAltersStateOfSelectedItem:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set to <code>YES</code>, if the state of the menu item selected in the reciever should be changed when it's selected. <br /> Return <code>YES</code>, if the reciever changes the state of the item chosen by the user. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-setArrowPosition$">setArrowPosition: </a></h3> - (void) <b>setArrowPosition:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSPopUpArrowPosition">NSPopUpArrowPosition</a>)pos;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the current arrow position of the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-setAutoenablesItems$">setAutoenablesItems: </a></h3> - (void) <b>setAutoenablesItems:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set to <code>YES</code>, if the items are to be autoenabled. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-setMenu$">setMenu: </a></h3> - (void) <b>setMenu:</b> (<a rel="gsdoc" href="NSMenu.html#class$NSMenu">NSMenu</a>*)menu;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set the <var>menu</var> for the popup. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-setPreferredEdge$">setPreferredEdge: </a></h3> - (void) <b>setPreferredEdge:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRectEdge">NSRectEdge</a>)preferredEdge;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set the preferred edge as described by edge. This is used to determine the edge which will open the popup when the screen is small. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-setPullsDown$">setPullsDown: </a></h3> - (void) <b>setPullsDown:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set to <code>YES</code> to make the popup button a pull-down style control. <br /> Set the pull-down state </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-setTitle$">setTitle: </a></h3> - (void) <b>setTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)aString;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set title to <var>aString</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-setUsesItemFromMenu$">setUsesItemFromMenu: </a></h3> - (void) <b>setUsesItemFromMenu:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Set to <code>YES</code>, if the reciever should use a menu item for its title. <code>YES</code> is the default. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-synchronizeTitleAndSelectedItem">synchronizeTitleAndSelectedItem </a></h3> - (void) <b>synchronizeTitleAndSelectedItem</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Synchronizes the title and the selected item. This sets the selected item to the title of the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-titleOfSelectedItem">titleOfSelectedItem </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>titleOfSelectedItem</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the title of the currently selected item in the reciever. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButtonCell-usesItemFromMenu">usesItemFromMenu </a></h3> - (BOOL) <b>usesItemFromMenu</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns <code>YES</code>, if the reciever uses a menu item for its title. </div> <hr width="25%" align="left" /> </div> <a name="_NSPopUpButtonCell_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSPopUpButtonCell Class</h2> <h3><a name="ivariable$NSPopUpButtonCell*_selectedItem">_selectedItem</a></h3> @protected id<NSMenuItem> <b>_selectedItem</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSPopUpButtonCell*struct __pbcFlags">struct __pbcFlags</a></h3> @protected struct __pbcFlags <b>struct __pbcFlags</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <br /> <a href="Gui.html">Up</a> </font> </body> </html>