Go up one levelGo to Previous Go to Next

LabelEntryScale(n)

NAME

 
 LabelEntryScale - Widget combining a labeled entry with a scale widget

NAMESPACE

 
 util

PARENT CLASS

 
 util::LabelEntry

SYNOPSIS

 
 LabelEntryScale <path> ?options?

DESCRIPTION

 
 LabelEntryScale is an Itcl widget combining a labeled entry with a
 scale widget to make a scale with an editable entry field.


ITK COMPONENTS

 
 left
        Left arrow button.

 right
        Right arrow button.

 scale
        Tk scale widget.

 scaleframe
        Tk frame containing scale widget.

STANDARD OPTIONS

 
 -background -digits -foreground -length -resolution -scaleWidth

WIDGET OPTIONS

 
 -command
        Command to execute when the value changes.

 -from
        Scale range -from.

 -increment
        Amount to add or subtract for each button push.

 -orient
        Widget orientation: horizontal or vertical.

 -show_arrows
        Flag: if true, display left and right arrows for incrementing the
        value.

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

 -to
        Scale range -to.

 -value
        Set the value in the entry.

PROTECTED METHODS

 
 increment {sign}
        Increment (1) or decrement (-1) the value by the current
        increment.

 scaleCmd {newValue}
        This method is called for changes in the scale widget.  It does
        nothing unless the value has changed, since the Scale has a motion
        event that is constantly being invoked.

 start_increment {sign}
         Start incrementing if not already doing so.

 stop_increment {}
         Stop incrementing.

PROTECTED VARIABLES

 
 afterId_
         State of increment command.

 from_
        Original -from and -to values.

SEE ALSO

 
 LabelEntry(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