Go up one levelGo to Previous Go to Next

LabelEntry

This widget displays a label and an entry and implements convenient methods for accessing and modifying the label and the value.

Example:

 
set w [LabelEntry .le \ 
    -text "Test label:" \ 
    -value 42 \ 
    -labelwidth 20 \ 
    -valuefont 8x13 \ 
    -relief sunken \ 
    -borderwidth 3 \ 
    -command puts \ 
    -textvariable "myvar"] 
pack $w -fill x -expand 1

See LabelEntry(n) for more details.


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory