Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | tabdialog |
This is the constructor. If you assign title=unset
then no title will appear. As many rows of buttons as needed
will be created as you add TABs.
Construct an tabdialog
Synopsis
tabdialog(parent, colmax, title, hlthickness, widgetset)
Arguments
parent
Parent of the tabdialog
Allowed:
Agent
colmax
Maximum number of Tab buttons per row
Allowed:
Integer
Default:
5
title
Title place above button row
Allowed:
String
Default:
'Select'
hlthickness
Thickness of tab border
Allowed:
Integer
Default:
5
widgetset
The widget server to use
Allowed:
widgetserver tool
Default:
dws
Returns
Agent
Description
Example
include 'tabdialog.g'
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', 'Press for tab1')
t.add(frames['2'], 'TAB2', 'Press for yet another tab')
This will make one row of buttons with two Tabs.
Next: tabdialog.add - Function
Up: tabdialog - Tool
Previous: tabdialog - Tool
  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