summaryrefslogtreecommitdiffstats
path: root/library/scrlbar.tcl
Commit message (Collapse)AuthorAgeFilesLines
* Fix for bug [d1a5067111], related to the TouchpadScroll event bindings.csaba2024-07-171-5/+5
|
* Made sure that the TouchpadScroll event bindings won't polluate the global ↵csaba2024-07-151-5/+5
| | | | namespace (thanks to Rolf Ade for triggering this improvement).
* Remove unused variable.culler2023-12-131-2/+0
|
* Merge implementation of TIP #684.marc_culler2023-12-111-0/+52
|\
| * For X11 only: Minimize the number of artifacts caused by intermixed ↵csaba2023-12-011-6/+27
| | | | | | | | <MouseWheel> and <Shift-MouseWheel> events triggered by two-finger gestures.
| * Introduce a separate TouchpadScroll event. Avoids Extended-MouseWheel ↵marc_culler2023-11-271-1/+1
| | | | | | | | events being handled by MouseWheel bindings.
| * Switch from Control-MouseWheel to Extended-MouseWheel.marc_culler2023-11-241-1/+1
| |
| * Fix scrollbar <Control-Mousewheel> bindings toto ensure that horizontal ↵marc_culler2023-11-241-2/+2
| | | | | | | | gestures do not produce vertical motion and vice versa.
| * Put ScrollByPixels back in the tk namespace,marc_culler2023-11-241-4/+4
| | | | | | but named ScrollbarScrollByPixels.
| * Fix the regression in scrlbar.tclmarc_culler2023-11-241-10/+22
| |
| * Support smooth scrolling of Canvas widgets and demonstrate it in the simple ↵marc_culler2023-11-231-26/+12
| | | | | | | | scrollable canvas demo.
| * Add bindings for Scrollbar and Listbox. Fix bindings for Text.marc_culler2023-11-211-2/+59
| |
| * Restore low-res scrollwheel behavior; insert a placeholder for sending ↵marc_culler2023-11-191-27/+9
| | | | | | | | touchpad events.
| * Add helper functions to avoid multiple occurrences of hard-wired constants.marc_culler2023-11-191-18/+8
| |
| * Fix Scrollbar bindingsmarc_culler2023-11-191-9/+37
| |
* | Adapted scrollbar.test to the improvements in scrlbar.tcl; reverted the ↵csaba2023-12-011-8/+6
| | | | | | | | changes in scrlbar.tcl and ttk/notebook.tcl made in [855b6c5a].
* | Fix test-failure in scrollbar testjan.nijtmans2023-12-011-6/+8
| |
* | Minimize the number of artifacts caused by intermixed <MouseWheel> and ↵csaba2023-11-301-2/+26
|/ | | | <Shift-MouseWheel> events triggered by two-finger gestures.
* Proposed fix for [26889b3e7b]: Make the uniform mouse wheel event handling ↵jan.nijtmans2020-12-291-2/+2
| | | | more standard-conform
*-. Make use of TIP #587 in Tk: Now we can assume that all Tcl files are utf-8jan.nijtmans2020-10-221-2/+2
|\ \
| | * Fix [12c8dfaa98] and [7e174a300e]: listbox.tcl/scrlbar.tcl: missing improved ↵jan.nijtmans2019-11-061-2/+10
| | | | | | | | | | | | units computation in mouse wheel bindings
| * | Merge trunkjan.nijtmans2020-10-051-2/+2
| | |
* | | New utility function ::tk::MouseWheeljan.nijtmans2020-09-251-5/+5
| | |
* | | scrollbar and iconlist bindings can be simplified toojan.nijtmans2020-09-161-6/+0
| | |
* | | Merge 8.7. Make test-cases on MacOS and X11 pass (win32 not tested yet)jan.nijtmans2020-09-151-10/+10
|\ \ \ | |/ /
| * | When Shift-bindings are equal to the non-shift ones, they can be eliminated: ↵jan.nijtmans2020-02-091-17/+2
| | | | | | | | | | | | The non-shift one will do this work already.
| * | Implementation for TIP 563: "scrollwheel on horizontal scrollbar scrolls ↵oehhar2020-02-021-8/+8
| | | | | | | | | | | | without shift too"
| * | Consistancy in Key/Button bindings: Use "<Button-1>" in stead of "<1>", ↵jan.nijtmans2020-01-141-12/+12
| | | | | | | | | | | | "Key" in stead of "KeyPress" and "Button" in stead of "ButtonPress". Also eliminate unnessary "Any" and "Key" modifiers.
| * | On Windows, make sure that mousewheel rounding is the same in positive as in ↵jan.nijtmans2019-08-291-2/+16
| | | | | | | | | | | | negative direction, for all bindings (was already done for text widget)
* | | Allow using floating-point number in "scroll (x|y)view (units|pages)". They ↵jan.nijtmans2019-08-221-4/+4
| | | | | | | | | | | | are rounded away from zero towards an integer.
* | | Merge trunk. jan.nijtmans2019-08-221-4/+4
|\ \ \ | |/ / | | | Eliminate use of "mouseunits", was not a good idea. Move code out of UpdateButtonEventState() function.
| * | Merge 8.6. Also add &lt;6&gt; and &lt;7&gt; bindings for X11, where appropriatejan.nijtmans2019-08-181-32/+28
| |\ \ | | |/
| | * Refactor all MouseWheel bindings, doing it the same way everywhere. So ↵jan.nijtmans2019-08-161-32/+26
| |/ | | | | | | | | | | <MouseWheel> bindings are there on all platforms, (Button-4|5) only on X11. Also add bindings for vertical scrolling for iconlist, as suggested by Max Augsburg. (still to be tested on X11 and MacOS)
* | Fix MouseWheel bindings for listbox and scrollbar: This fixes test-failures ↵jan.nijtmans2019-07-261-4/+4
| | | | | | | | on Win32. Still to be tested on MacOS and X11
* | Further experiment: Bring scalefactor back to 120 (as it was for win32)jan.nijtmans2019-07-261-4/+4
| |
* | Experiment: Handle scaling fractors for the ScrollWheel sensibly. Trying ↵jan.nijtmans2019-07-251-35/+13
|/ | | | "40" as a good general scale factor (compared to "50" on X11 and "120" on Win32 and "1" on Aqua)
* Fixed [011706ec42] for the scrollbar case.fvogel2016-05-181-3/+8
|
* Make test-case and binding equal for win32 and x11. Test-case doesn't pass yetjan.nijtmans2016-01-081-2/+2
|
* ..... horizontal scrollbar toojan.nijtmans2016-01-081-1/+4
|
* New attempt at fixing bug [1927212fff]. (rebased against Tk 8.6)jan.nijtmans2016-01-081-0/+3
|\
* | Backout previous commit: it causes many event-related test-failures in Tk ↵jan.nijtmans2016-01-081-4/+0
| | | | | | | | test suite
* | Fixed bug [1927212] - MouseWheel unbound for non-aqua scrollbarsjan.nijtmans2016-01-081-0/+4
|\ \ | |/
| * Fixed bug [1927212] - MouseWheel unbound for non-aqua scrollbarsfvogel2016-01-061-0/+4
| |
| * Scrolling now working at an acceptable level with HITheme API; Unix scroll ↵Kevin Walzer2015-01-301-1/+1
| | | | | | | | bindings driving scrolling in Tk window and Mac scrollbar just has to re-draw itself
* | Remove unnecessary end-of-line spacingjan.nijtmans2015-02-021-1/+1
| |
* | Scrolling is now working at an acceptable level; using Unix bindings to ↵Kevin Walzer2015-01-301-2/+2
| | | | | | | | drive scrolling in Tk window, and just requiring Mac HITheme scrollbar to re-draw itself
* | 8 new virtual events (doc not updated yet)jan.nijtmans2012-08-091-4/+4
| |
* | [Bug 3555644]: Better use of virtual events.jan.nijtmans2012-08-091-6/+6
| |
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\