Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | listboxcontainer |
(EVENT) Insert a name-value pair or record
elements, or overwrite values of existing pairs
Synopsis
insert(stringorrecord, )
Arguments
stringorrecord
Allowed:
string or record
only if first argument is string
Allowed:
any
Description
This event inserts a new item into the listboxcontainer or replaces
the value of an existing one.
Note: The functionality varies from listbox!
Example
# insert
- lbc->insert('test',55)
- lbc->insert('dummy',[xyz='hello'])
- print l->get('dummy');
[xyz=hello]
# overwrite
- lbc->insert('dummy',1000);
- print l->get('dummy');
1000
Next: listboxcontainer.see - Function
Up: listboxcontainer - Tool
Previous: listboxcontainer.get - 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