diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-09-05 16:43:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-09-05 16:43:52 (GMT) |
commit | d850a6319b42819152535b7ffb6c8e67ab879370 (patch) | |
tree | a2857342e22ff72fb47d3756b08c5e19d4971c70 /generic/tkScrollbar.h | |
parent | c1fbe0fce3e173d8269b53e644c2baa33abc443e (diff) | |
download | tk-d850a6319b42819152535b7ffb6c8e67ab879370.zip tk-d850a6319b42819152535b7ffb6c8e67ab879370.tar.gz tk-d850a6319b42819152535b7ffb6c8e67ab879370.tar.bz2 |
Start with scrollbar
Diffstat (limited to 'generic/tkScrollbar.h')
-rw-r--r-- | generic/tkScrollbar.h | 6 |
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; |