Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: combobox.selection - Function Up: combobox - Tool Previous: combobox.pixelheight - Function


combobox.get - Function



Package display
Module widgets
Tool combobox


Get an item or range of items from the combobox.


Synopsis
get(first, last)


Arguments

first The first item to get
Allowed: Any valid item number from 0 to the end plus 'selected' and 'end'
last The last item to get, if F just get the first
Allowed: Any index >= first or F
Default: F


Returns
A vector of strings


Description
As with the glishtk listbox, the index numbers here are 0-relative (i.e. the first item is item number 0). ``selected'' translates to the index of the current selection, ``end'' translates to the last item in the combobox. get() returns a fail if the index is out of range or otherwise does not exist (e.g. there is no current selection).



next up previous contents index
Next: combobox.selection - Function Up: combobox - Tool Previous: combobox.pixelheight - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15