| Version 1.9 Build 1556
|
|
Next: synclistboxes.done - Function
Up: synclistboxes - Tool
Previous: synclistboxes - Tool
synclistboxes - Constructor
|
Package |
display |
|
Module |
widgets |
|
Tool |
synclistboxes |
Construct a synclistboxes
Synopsis
synclistboxes(parent, nboxes, labels, leadbox, side, hscrollbar, vscrollbar, seeoninsert, width, height, mode, font, relief, borderwidth, foreground, background, exportselection, fill, widgetset)
Arguments
parent |
|
Parent of the synclistboxes |
|
|
Allowed: |
Tk frame |
nboxes |
|
The number of listboxes this widget will contain |
|
|
Allowed: |
Integer |
|
|
Default: |
1 |
labels |
|
The label(s) |
|
|
Allowed: |
String |
|
|
Default: |
`' |
leadbox |
|
The default box returned by the listbox function |
|
|
Allowed: |
Integer |
|
|
Default: |
1 |
side |
|
The packing order |
|
|
Allowed: |
String from `left', `right', `top', `bottom' |
|
|
Default: |
`left' |
hscrollbar |
|
Show a horizontal scrollbar in all listboxes? |
|
|
Allowed: |
Boolean |
|
|
Default: |
T |
vscrollbar |
|
Show a vertical scrollbar? |
|
|
Allowed: |
Boolean |
|
|
Default: |
T |
seeoninsert |
|
See the end after each insert? |
|
|
Allowed: |
Boolean |
|
|
Default: |
T |
width |
|
Width(s) in characters units |
|
|
Allowed: |
Integer |
|
|
Default: |
20 |
height |
|
Height in characters units |
|
|
Allowed: |
Integer |
|
|
Default: |
6 |
mode |
|
Listbox mode |
|
|
Allowed: |
String from `browse', `single',
`extended', `multiple' |
|
|
Default: |
`browse' |
font |
|
Font(s) of text |
|
|
Allowed: |
X font |
|
|
Default: |
`' |
relief |
|
Edge relief(s) |
|
|
Allowed: |
String from `flat', `ridge',
`raised', `sunken', `groove' |
|
|
Default: |
`sunken' |
borderwidth |
|
Border width |
|
|
Allowed: |
Integer |
|
|
Default: |
2 |
foreground |
|
Color(s) of text |
|
|
Allowed: |
X color |
|
|
Default: |
`black' |
background |
|
Background color(s) |
|
|
Allowed: |
X color |
|
|
Default: |
`lightgrey' |
exportselection |
|
export to X clipboard? |
|
|
Allowed: |
Boolean |
|
|
Default: |
F |
fill |
|
how to expand when resized |
|
|
Allowed: |
String from `x', `y',
`both', `none' |
|
|
Default: |
`both' |
widgetset |
|
Widget set to use |
|
|
Allowed: |
A widgetserver closure tool |
|
|
Default: |
dws |
Returns
synclistboxes widget
Description
Constructs a synclistboxes according to the specified construction arguments,
and returns a ref to the widget.
The arguments described with (s), e.g. width, may be either single
values or multiple values. A single value argument applies to all
of the listboxes. A multiple value argument must have the same
number of elements as the number of listboxes in the widget and
each argument is applied, in turn, to the listboxes in the order
in which they are created.
Next: synclistboxes.done - Function
Up: synclistboxes - Tool
Previous: synclistboxes - 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