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


next up previous contents index
Next: widgetserver.blinklabel - Function Up: widgetserver - Tool Previous: widgetserver.synclistboxes - Function


widgetserver.combobox - Function



Package display
Module widgets
Tool widgetserver


Make a combobox megawidget


Synopsis
combobox(combobox megawidget arguments)


Arguments

combobox megawidget arguments standard AIPS++ combobox megawidget arguments


Returns
AIPS++ combobox megawidget


Description
This makes an AIPS++ combobox megawidget, applying context-sensitive defaults as described in the top-level widgetserver documentation.



Example
f := dws.frame();
cb := dws.combobox(f);
cb.insert("one two three four five six seven eight nine");
whenever cb.agent()->select do {
   print 'combobox select event: new selection, item ', $value;
   print '   value at selection is : ', cb.get($value);
}





next up previous contents index
Next: widgetserver.blinklabel - Function Up: widgetserver - Tool Previous: widgetserver.synclistboxes - 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