summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkWidget.h
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-04-28 12:52:43 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-04-28 12:52:43 (GMT)
commitfaf3d3197da965a56835db30b149ef85ce2384f1 (patch)
tree5f96923234c06f80f20f5a122e3d1b89b3fd1621 /generic/ttk/ttkWidget.h
parenta45cd9e5e3fc6da137e7a23ebd4b507b3905c142 (diff)
downloadtk-faf3d3197da965a56835db30b149ef85ce2384f1.zip
tk-faf3d3197da965a56835db30b149ef85ce2384f1.tar.gz
tk-faf3d3197da965a56835db30b149ef85ce2384f1.tar.bz2
Factorize the code a bit, and avoid calling the layoutProc twice when calling xview moveto|units|pages.
Diffstat (limited to 'generic/ttk/ttkWidget.h')
-rw-r--r--generic/ttk/ttkWidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkWidget.h b/generic/ttk/ttkWidget.h
index e4dd712..7ccc1f3 100644
--- a/generic/ttk/ttkWidget.h
+++ b/generic/ttk/ttkWidget.h
@@ -195,7 +195,7 @@ MODULE_SCOPE void TtkFreeScrollHandle(ScrollHandle);
MODULE_SCOPE int TtkScrollviewCommand(
Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], ScrollHandle);
-MODULE_SCOPE void TtkScrollTo(ScrollHandle, int newFirst);
+MODULE_SCOPE void TtkScrollTo(ScrollHandle, int newFirst, int updateScrollInfo);
MODULE_SCOPE void TtkScrolled(ScrollHandle, int first, int last, int total);
MODULE_SCOPE void TtkScrollbarUpdateRequired(ScrollHandle);