![]() 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 : /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>NSPopUpButton</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSPopUpButton">NSPopUpButton</a></h1> <h3>Authors</h3> <dl> <dt>Scott Christley (<a href="mailto:scottc@net-community.com"><code>scottc@net-community.com</code></a>)</dt> <dd> </dd> <dt>Michael Hanni (<a href="mailto:mhanni@sprintmail.com"><code>mhanni@sprintmail.com</code></a>)</dt> <dd> </dd> </dl> <blockquote> Popup list class </blockquote> <p><b>Copyright:</b> (C) 1996 Free Software Foundation, Inc.</p> <div> </div> <h1><a name="001000000000"> Software documentation for the NSPopUpButton class </a></h1> <h2><a name="class$NSPopUpButton">NSPopUpButton</a> : <a rel="gsdoc" href="NSButton.html#class$NSButton">NSButton</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSPopUpButton.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-addItemWithTitle$">-addItemWithTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-addItemsWithTitles$">-addItemsWithTitles:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-autoenablesItems">-autoenablesItems</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-indexOfItem$">-indexOfItem:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-indexOfItemWithRepresentedObject$">-indexOfItemWithRepresentedObject:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-indexOfItemWithTag$">-indexOfItemWithTag:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-indexOfItemWithTarget$andAction$">-indexOfItemWithTarget:andAction:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-indexOfItemWithTitle$">-indexOfItemWithTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-indexOfSelectedItem">-indexOfSelectedItem</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-initWithFrame$pullsDown$">-initWithFrame:pullsDown:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-insertItemWithTitle$atIndex$">-insertItemWithTitle:atIndex:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-itemArray">-itemArray</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-itemAtIndex$">-itemAtIndex:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-itemTitleAtIndex$">-itemTitleAtIndex:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-itemTitles">-itemTitles</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-itemWithTitle$">-itemWithTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-lastItem">-lastItem</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-numberOfItems">-numberOfItems</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-preferredEdge">-preferredEdge</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-pullsDown">-pullsDown</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-removeAllItems">-removeAllItems</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-removeItemAtIndex$">-removeItemAtIndex:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-removeItemWithTitle$">-removeItemWithTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-selectItem$">-selectItem:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-selectItemAtIndex$">-selectItemAtIndex:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-selectItemWithTag$">-selectItemWithTag:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-selectItemWithTitle$">-selectItemWithTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-selectedItem">-selectedItem</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-setAutoenablesItems$">-setAutoenablesItems:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-setPreferredEdge$">-setPreferredEdge:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-setPullsDown$">-setPullsDown:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-setTitle$">-setTitle:</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-synchronizeTitleAndSelectedItem">-synchronizeTitleAndSelectedItem</a></li> <li><a rel="gsdoc" href="NSPopUpButton.html#method$NSPopUpButton-titleOfSelectedItem">-titleOfSelectedItem</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Inserts a new item with <var>title</var> as its <var>title</var> at the end of the list and synchronizes the NSPopUpButton's <var>title</var> with the <var>title</var> of the selected item. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-addItemWithTitle$">[NSPopUpButtonCell -addItemWithTitle:]</a> <a rel="gsdoc" href="#method$NSPopUpButton-synchronizeTitleAndSelectedItem">-synchronizeTitleAndSelectedItem</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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>*)itemTitles;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Inserts a new list of items with titles as titles at the end of the list and synchronizes the NSPopUpButton's title with the title of the selected item. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-addItemsWithTitles$">[NSPopUpButtonCell -addItemsWithTitles:]</a> <a rel="gsdoc" href="#method$NSPopUpButton-synchronizeTitleAndSelectedItem">-synchronizeTitleAndSelectedItem</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-autoenablesItems">autoenablesItems </a></h3> - (BOOL) <b>autoenablesItems</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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>>)anObject;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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)anObject;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns the index of the item with <var>tag</var> as its <var>tag</var>. Returns -1 if the cell is not found </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-indexOfItemWithTag$">[NSPopUpButtonCell -indexOfItemWithTag:]</a> <a rel="gsdoc" href="#method$NSPopUpButton-indexOfItemWithTitle$">-indexOfItemWithTitle:</a> <a rel="gsdoc" href="#method$NSPopUpButton-indexOfItemWithRepresentedObject$">-indexOfItemWithRepresentedObject:</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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)target<b> andAction:</b> (SEL)actionSelector;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns the index of the item with <var>title</var> as its <var>title</var>. Returns -1 if the cell is not found </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-indexOfItemWithTitle$">[NSPopUpButtonCell -indexOfItemWithTitle:]</a> <a rel="gsdoc" href="#method$NSPopUpButton-indexOfItemWithTag$">-indexOfItemWithTag:</a> <a rel="gsdoc" href="#method$NSPopUpButton-indexOfItemWithRepresentedObject$">-indexOfItemWithRepresentedObject:</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns the index of the selected item </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-indexOfSelectedItem">[NSPopUpButtonCell -indexOfSelectedItem]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-initWithFrame$pullsDown$">initWithFrame: pullsDown: </a></h3> - (id) <b>initWithFrame:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSRect">NSRect</a>)frameRect<b> pullsDown:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Initialize and returns a new NSPopUpButton into the frame <var>frameRect</var> and specified by <var>flag</var> if the NSPopUpButton is a pull-down list </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSPopUpButton-setPullsDown$"> -setPullsDown: </a> <a rel="gsdoc" href="NSView.html#method$NSView-initWithFrame$"> [NSView -initWithFrame:] </a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Inserts a new item with <var>title</var> as its <var>title</var> at the specified <var>index</var> and synchronizes the NSPopUpButton's <var>title</var> with the <var>title</var> of the selected item. </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-insertItemWithTitle$atIndex$">[NSPopUpButtonCell -insertItemWithTitle:atIndex:]</a> <a rel="gsdoc" href="#method$NSPopUpButton-synchronizeTitleAndSelectedItem">-synchronizeTitleAndSelectedItem</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns the NSMenuItem at <var>index</var> <var>index</var> or <code>nil</code> if <var>index</var> is out of range </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-itemAtIndex$">[NSPopUpButtonCell -itemAtIndex:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns the item's title at <var>index</var> <var>index</var> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns an array containing the items's titles </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns the NSMenuItem with <var>title</var> as its <var>title</var> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns the last NSMenuItem of the list </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns the number of items in the item list </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-numberOfItems">[NSPopUpButtonCell -numberOfItems]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-pullsDown">pullsDown </a></h3> - (BOOL) <b>pullsDown</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Returns whether the NSPopUpButton's cell has a pulls-down list (<code>YES</code>) or a pop-up list (<code>NO</code>) </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSPopUpButton-setPullsDown$"> -setPullsDown: </a> <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-pullsDown">[NSPopUpButtonCell -pullsDown]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-removeAllItems">removeAllItems </a></h3> - (void) <b>removeAllItems</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Removes all items from the item list and synchronizes the NSPopUpButton's title with the title of the selected </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-removeAllItems">[NSPopUpButtonCell -removeAllItems]</a> <a rel="gsdoc" href="#method$NSPopUpButton-removeItemWithTitle$">-removeItemWithTitle:</a> <a rel="gsdoc" href="#method$NSPopUpButton-synchronizeTitleAndSelectedItem">-synchronizeTitleAndSelectedItem</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Removes the item at the specified <var>index</var> <var>index</var> from the item list and synchronizes the NSPopUpButton's title with the title of the selected </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-removeItemAtIndex$">[NSPopUpButtonCell -removeItemAtIndex:]</a> <a rel="gsdoc" href="#method$NSPopUpButton-removeAllItems">-removeAllItems</a> <a rel="gsdoc" href="#method$NSPopUpButton-removeItemWithTitle$">-removeItemWithTitle:</a> <a rel="gsdoc" href="#method$NSPopUpButton-synchronizeTitleAndSelectedItem">-synchronizeTitleAndSelectedItem</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Removes the item specified with <var>title</var> as its <var>title</var> from the item list and synchronizes the NSPopUpButton's <var>title</var> with the <var>title</var> of the selected </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-removeItemWithTitle$">[NSPopUpButtonCell -removeItemWithTitle:]</a> <a rel="gsdoc" href="#method$NSPopUpButton-removeAllItems">-removeAllItems</a> <a rel="gsdoc" href="#method$NSPopUpButton-removeItemAtIndex$">-removeItemAtIndex:</a> <a rel="gsdoc" href="#method$NSPopUpButton-synchronizeTitleAndSelectedItem">-synchronizeTitleAndSelectedItem</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-selectItem$">selectItem: </a></h3> - (void) <b>selectItem:</b> (id<<a rel="gsdoc" href="NSMenuItem.html#protocol$(NSMenuItem)">NSMenuItem</a>>)anObject;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Select the item at <var>index</var> <var>index</var> and synchronizes the NSPopUpButton's title with the title of the selected </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-selectItemAtIndex$">[NSPopUpButtonCell -selectItemAtIndex:]</a> <a rel="gsdoc" href="#method$NSPopUpButton-synchronizeTitleAndSelectedItem">-synchronizeTitleAndSelectedItem</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-selectItemWithTag$">selectItemWithTag: </a></h3> - (BOOL) <b>selectItemWithTag:</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> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Select the item with <var>title</var> <var>title</var> and synchronizes the NSPopUpButton's <var>title</var> with the <var>title</var> of the selected </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-selectItemWithTitle$">[NSPopUpButtonCell -selectItemWithTitle:]</a> <a rel="gsdoc" href="#method$NSPopUpButton-synchronizeTitleAndSelectedItem">-synchronizeTitleAndSelectedItem</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns the selected item </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-selectedItem">[NSPopUpButtonCell -selectedItem]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-setAutoenablesItems$">setAutoenablesItems: </a></h3> - (void) <b>setAutoenablesItems:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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>)edge;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-setPullsDown$">setPullsDown: </a></h3> - (void) <b>setPullsDown:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> </p> <p> Sets whether the NSPopUpButton's cell has a pulls-down list (<code>YES</code>) or a pop-up list (<code>NO</code>) </p> <p> </p> <p> See Also: <a rel="gsdoc" href="#method$NSPopUpButton-pullsDown"> -pullsDown </a> <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-setPullsDown$">[NSPopUpButtonCell -setPullsDown:]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-synchronizeTitleAndSelectedItem">synchronizeTitleAndSelectedItem </a></h3> - (void) <b>synchronizeTitleAndSelectedItem</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSPopUpButton-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"> </p> <p> Returns the title of the selected item </p> <p> </p> <p> See Also: <a rel="gsdoc" href="NSPopUpButtonCell.html#method$NSPopUpButtonCell-titleOfSelectedItem">[NSPopUpButtonCell -titleOfSelectedItem]</a> </p> <p> </div> <hr width="25%" align="left" /> </div> <br /> <a href="Gui.html">Up</a> </font> </body> </html>