# Copyright (c) 1990-1994 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # =head1 NAME Tk::Scale - Create and manipulate Scale widgets =for category Tk Widget Classes =head1 SYNOPSIS I<$scale> = I<$parent>-EB(?I?); =head1 STANDARD OPTIONS B<-activebackground> B<-font> B<-highlightthickness> B<-repeatinterval> B<-background> B<-foreground> B<-orient> B<-takefocus> B<-borderwidth> B<-highlightbackground> B<-relief> B<-troughcolor> B<-cursor> B<-highlightcolor> B<-repeatdelay> See L for details of the standard options. =head1 WIDGET-SPECIFIC OPTIONS =over 4 =item Name: B =item Class: B =item Switch: B<-bigincrement> Some interactions with the scale cause its value to change by ``large'' increments; this option specifies the size of the large increments. If specified as 0, the large increments default to 1/10 the range of the scale. =item Name: B =item Class: B =item Switch: B<-command> Specifies the prefix of a LTk callback|Tk::callbacks> to invoke whenever the scale's value is changed via a method. The actual command consists of this option followed by a space and a real number indicating the new value of the scale. =item Name: B =item Class: B =item Switch: B<-digits> An integer specifying how many significant digits should be retained when converting the value of the scale to a string. If the number is less than or equal to zero, then the scale picks the smallest value that guarantees that every possible slider position prints as a different string. =item Name: B =item Class: B =item Switch: B<-from> A real value corresponding to the left or top end of the scale. =item Name: B