| Version 1.9 Build 1556
|
|
Next: rollup.frame - Function
Up: rollup - Tool
Previous: rollup - Tool
rollup - Constructor
|
Package |
display |
|
Module |
widgets |
|
Tool |
rollup |
Construct a rollup
Synopsis
rollup(parent, font, relief, borderwidth, side, padx, pady, expand, foreground, background, title, titleforeground, titlebackground, show, widgetset)
Arguments
parent |
|
Parent of the menu |
|
|
Allowed: |
Tk frame |
font |
|
Font of text |
|
|
Allowed: |
X font |
|
|
Default: |
'' |
relief |
|
Edge relief |
|
|
Allowed: |
String from `flat', `ridge',
`raised', `sunken', `groove' |
|
|
Default: |
'flat' |
borderwidth |
|
Border width |
|
|
Allowed: |
Integer |
|
|
Default: |
2 |
side |
|
Direction for child placement |
|
|
Allowed: |
String from
'top', 'left', 'right', 'bottom' |
|
|
Default: |
'top' |
padx |
|
Horizontal padding around text |
|
|
Allowed: |
Integer |
|
|
Default: |
0 |
pady |
|
Vertical padding around text |
|
|
Allowed: |
Integer |
|
|
Default: |
0 |
expand |
|
How to expand when resized |
|
|
Allowed: |
String from `x', `y', `both', `none' |
|
|
Default: |
'both' |
foreground |
|
Color of text |
|
|
Allowed: |
X color |
|
|
Default: |
`black' |
background |
|
Background color |
|
|
Allowed: |
X color |
|
|
Default: |
`lightgrey' |
title |
|
String displayed at top of widget |
|
|
Allowed: |
String |
|
|
Default: |
'' |
titleforeground |
|
Color of title text |
|
|
Allowed: |
X color |
|
|
Default: |
`black' |
titlebackground |
|
Background title color |
|
|
Allowed: |
X color |
|
|
Default: |
`lightgrey' |
show |
|
Whether to expose frame immediately |
|
|
Allowed: |
Boolean |
|
|
Default: |
T |
widgetset |
|
Widget set to use |
|
|
Allowed: |
A widgetserver closure tool |
|
|
Default: |
dws |
Returns
rollup widget
Description
Constructs a rollup according to the specified construction arguments,
and returns a ref to the widget.