Lines Matching defs:TkScale

42 typedef struct TkScale {  struct
43 Tk_Window tkwin; /* Window that embodies the scale. NULL means
47 Display *display; /* Display containing widget. Used, among
50 Tcl_Interp *interp; /* Interpreter associated with scale. */
51 Tcl_Command widgetCmd; /* Token for scale's widget command. */
52 Tk_OptionTable optionTable; /* Table that defines configuration options
54 enum orient orient; /* Orientation for window (vertical or
56 int width; /* Desired narrow dimension of scale, in
58 int length; /* Desired long dimension of scale, in
60 double value; /* Current value of scale. */
61 Tcl_Obj *varNamePtr; /* Name of variable or NULL. If non-NULL,
64 double fromValue; /* Value corresponding to left or top of
66 double toValue; /* Value corresponding to right or bottom of
68 double tickInterval; /* Distance between tick marks; 0 means don't
70 double resolution; /* If > 0, all values are rounded to an even
72 int digits; /* Number of significant digits to print in
76 char valueFormat[16]; /* Sprintf conversion specifier computed from
78 char tickFormat[16]; /* Sprintf conversion specifier computed from
80 double bigIncrement; /* Amount to use for large increments to scale
82 char *command; /* Command prefix to use when invoking Tcl
85 int repeatDelay; /* How long to wait before auto-repeating on
87 int repeatInterval; /* Interval between autorepeats (in ms). */
88 char *label; /* Label to display above or to right of
90 int labelLength; /* Number of non-NULL chars. in label. */
91 enum state state; /* Values are active, normal, or disabled.
99 int borderWidth; /* Width of 3-D border around window. */
100 Tk_3DBorder bgBorder; /* Used for drawing slider and other
102 Tk_3DBorder activeBorder; /* For drawing the slider when active. */
103 int sliderRelief; /* Is slider to be drawn raised, sunken,
105 XColor *troughColorPtr; /* Color for drawing trough. */
106 GC troughGC; /* For drawing trough. */
107 GC copyGC; /* Used for copying from pixmap onto screen */
108 Tk_Font tkfont; /* Information about text font, or NULL. */
109 XColor *textColorPtr; /* Color for drawing text. */
110 GC textGC; /* GC for drawing text in normal mode. */
111 int relief; /* Indicates whether window as a whole is
113 int highlightWidth; /* Width in pixels of highlight to draw around
116 Tk_3DBorder highlightBorder;/* Value of -highlightbackground option:
120 XColor *highlightColorPtr; /* Color for drawing traversal highlight. */
121 int inset; /* Total width of all borders, including
126 int sliderLength; /* Length of slider, measured in pixels along
128 int showValue; /* Non-zero means to display the scale value
137 int horizLabelY; /* Y-coord at which to draw label. */
138 int horizValueY; /* Y-coord at which to draw value text. */
162 } TkScale; argument