Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: blinklabel.blink - Function Up: blinklabel - Tool Previous: blinklabel - Tool


blinklabel - Constructor



Package display
Module widgets
Tool blinklabel


Construct a blinklabel


Synopsis
blinklabel(parent, text, justify, hlp, padx, pady, font, width, relief, borderwidth, foreground, background, anchor, fill, blink, interval, widgetset)


Arguments

parent Parent of the label
Allowed: Tk frame
text label text
Allowed: string
Default: 'label'
justify justification of text
Allowed: 'center' 'left' 'right'
Default: 'left'
hlp text for popuphelp
Allowed: string
Default: ''
padx horizontal padding
Allowed: dimension
Default: 4
pady vertical padding
Allowed: dimension
Default: 2
font text font
Allowed: X font
Default: ''
width width in character units
Allowed: integer
Default: 0
relief border relief
Allowed: `flat' `ridge', `raised' `sunken' `groove'
Default: 'flat'
borderwidth border width
Allowed: dimension
Default: 2
foreground color of text
Allowed: X color
Default: `black'
background background color
Allowed: X color
Default: `lightgrey'
anchor location of text
Allowed: 'c' 'n' 's' 'e' 'w' 'ne' 'nw' 'se' 'sw'
Default: 'c'
fill how to expand when resized
Allowed: 'x' 'y' 'both' 'none
Default: 'none'
blink whether to blink immediately
Allowed: T F
Default: F
interval blink rate in seconds
Allowed: float
Default: 1
widgetset widgetserver to use to make label
Allowed: widgetserver object
Default: dws


Returns
blinklabel widget


Description
Constructs a blinklabel according to the specified construction arguments, and returns a ref to the widget.



Example
include 'blinklabel.g'   
f := frame();
bl := blinklabel(f, 'flashdance');





next up previous contents index
Next: blinklabel.blink - Function Up: blinklabel - Tool Previous: blinklabel - 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