Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | tabdialog |
This function adds the specified Tab and adds a button with the given name.
Note that adding a Tab does not make it the visible one unless it's
the first Tab.
Add a new Tab
Synopsis
add(tab, tabname, hlp)
Arguments
tab
The Tab
Allowed:
Agent
tabname
Name of the tab for the tab button
Allowed:
String
hlp
Popup help text for tab button
Allowed:
String
Returns
Bool
Description
Example
f := dws.frame();
t := tabdialog(f)
df := t.dialogframe()
#
frames := [=]
frames['1'] := dws.frame(df)
frames['1']->unmap()
frames['1'].b := dws.button(frames['1'], 'b1')
frames['2'] := dws.frame(df)
frames['2']->unmap()
frames['2'].b := dws.button(frames['2'], 'b2')
#
t.add(frames['1'], 'TAB1')
t.add(frames['2'], 'TAB2')
This will make one row of buttons with two Tabs. The first
Tab will be the visible one.
Next: tabdialog.available - Function
Up: tabdialog - Tool
Previous: tabdialog - Constructor
  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