Go up one levelGo to Previous Go to Next

LabelEntry(n)

NAME

 
 LabelEntry - Itk widget for displaying a labeled entry

NAMESPACE

 
 util

PARENT CLASS

 
 util::LabelWidget

SYNOPSIS

 
 LabelEntry <path> ?options?

DESCRIPTION

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


ITK COMPONENTS

 
 entry
        Tk entry widget.

STANDARD OPTIONS

 
 -borderwidth -relief -show -textvariable -valuefont

WIDGET OPTIONS

 
 -autoselect
        Select the contents of the entry whenever it gets the focus.

 -changecmd
        Commands to evaluate whenever the entry value changes.

 -command
        The command for <Return> in the entry, called with the new value.

 -entrycommand
        Alternative name for use when -command is already used by a
        derived class.

 -invalid
        For compat with iwidgets entryfield: action for invalid char with
        -validate .

 -justify
        Set to "right" to make sure the end of the entry is visible.

 -orient
        Widget orientation: horizontal or vertical.

 -state
        Set the state to normal or disabled (greyed out).

 -validate
        Valiadation of entry fields (based on iwidgets entryfield class)
        numeric, alphabetic, integer, hexidecimal, real, and
        alphanumeric.

 -value
        Set the value displayed in the entry.

 -valuewidth
        Set the width of the value displayed.

PUBLIC METHODS

 
 get {}
         Get the value in the entry.

 select {}
        Select the contents of the entry.

PROTECTED VARIABLES

 
 notrace_
        This flag is set to 1 to avoid tracing when changing the entry's
        value.

 validate_cmd_
        Command to validate entry contents.

SEE ALSO

 
 LabelWidget(n)

 


- - - - - -
Last change: 07 May 99

 


Go up one levelGo to Previous Go to Next

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