summaryrefslogtreecommitdiffstats
path: root/generic/tkScrollbar.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-09-05 16:43:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-09-05 16:43:52 (GMT)
commitd850a6319b42819152535b7ffb6c8e67ab879370 (patch)
treea2857342e22ff72fb47d3756b08c5e19d4971c70 /generic/tkScrollbar.h
parentc1fbe0fce3e173d8269b53e644c2baa33abc443e (diff)
downloadtk-d850a6319b42819152535b7ffb6c8e67ab879370.zip
tk-d850a6319b42819152535b7ffb6c8e67ab879370.tar.gz
tk-d850a6319b42819152535b7ffb6c8e67ab879370.tar.bz2
Start with scrollbar
Diffstat (limited to 'generic/tkScrollbar.h')
-rw-r--r--generic/tkScrollbar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkScrollbar.h b/generic/tkScrollbar.h
index f079469..02af157 100644
--- a/generic/tkScrollbar.h
+++ b/generic/tkScrollbar.h
@@ -33,7 +33,7 @@ typedef struct TkScrollbar {
Tcl_Command widgetCmd; /* Token for scrollbar's widget command. */
int vertical; /* Non-zero means vertical orientation
* requested, zero means horizontal. */
- int width; /* Desired narrow dimension of scrollbar, in
+ Tcl_Obj *widthObj; /* Desired narrow dimension of scrollbar, in
* pixels. */
char *command; /* Command prefix to use when invoking
* scrolling commands. NULL means don't invoke
@@ -48,7 +48,7 @@ typedef struct TkScrollbar {
* Information used when displaying widget:
*/
- int borderWidth; /* Width of 3-D borders. */
+ Tcl_Obj *borderWidthObj; /* Width of 3-D borders. */
Tk_3DBorder bgBorder; /* Used for drawing background (all flat
* surfaces except for trough). */
Tk_3DBorder activeBorder; /* For drawing backgrounds when active (i.e.
@@ -56,7 +56,7 @@ typedef struct TkScrollbar {
XColor *troughColorPtr; /* Color for drawing trough. */
int relief; /* Indicates whether window as a whole is
* raised, sunken, or flat. */
- int highlightWidth; /* Width in pixels of highlight to draw around
+ Tcl_Obj *highlightWidthObj; /* Width in pixels of highlight to draw around
* widget when it has the focus. <= 0 means
* don't draw a highlight. */
XColor *highlightBgColorPtr;