Tk Source Code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

61 check-ins related to "tip474"

2020-10-21
16:00
Implement TIP #474: Treat the mouse wheel events in a uniform way check-in: 7c9e1f47 user: jan.nijtmans tags: trunk
2020-10-07
12:08
Merge trunk Closed-Leaf check-in: 221ea53e user: jan.nijtmans tags: tip474
11:52
Disable two test-cases for Tcl < 8.6.7 (they fail because of bug [25842c161f]) check-in: 075ba014 user: jan.nijtmans tags: trunk
2020-10-06
14:49
Merge trunk check-in: b54f4640 user: jan.nijtmans tags: tip474
13:40
Merge 8.6 check-in: cc2015f5 user: jan.nijtmans tags: trunk
2020-09-29
12:05
Merge trunk. Tweak bindings in cscroll demo. Remove comment in text.tcl which is no longer necessary check-in: ef8a6fcd user: jan.nijtmans tags: tip474
10:23
Merge 8.6 check-in: b1e13711 user: jan.nijtmans tags: trunk
2020-09-28
15:56
Merge trunk check-in: 48ae926b user: jan.nijtmans tags: tip474
13:58
close fork check-in: 41245ce2 user: dgp tags: trunk
2020-09-26
19:18
Merge trunk. Fix factor bug in TtkScrollable <Shift-Option-MouseWheel> binding check-in: 27cbbad8 user: jan.nijtmans tags: tip474
18:54
Better don't check for libnotify (yet), leave that to the new TIP check-in: 6799641a user: jan.nijtmans tags: trunk
2020-09-25
09:21
New utility function ::tk::MouseWheel check-in: e3064632 user: jan.nijtmans tags: tip474
06:22
Merge trunk check-in: 0bbd6738 user: jan.nijtmans tags: tip474
2020-09-22
19:54
Fix [aa4be2c1b8]: Aqua test suite hangs. check-in: a2b8721a user: marc_culler tags: trunk
2020-09-21
13:01
%D with scaling is actually a better idea check-in: e8173c5f user: jan.nijtmans tags: tip474-alt
12:59
Another bugfix: xbutton.button and xkey.keycode are actually the same field. Doogh.... check-in: 4a98d269 user: jan.nijtmans tags: tip474
11:31
Invert Scrollwheel direction on X11 check-in: 58ff916f user: jan.nijtmans tags: tip474-alt
11:30
Invert Scrollwheel direction on X11 check-in: d032518d user: jan.nijtmans tags: tip474
08:10
Alternative implementation: Use %D with scale factor check-in: 2f07ad07 user: jan.nijtmans tags: tip474-alt
2020-09-20
21:07
Now (really) swap Buttons 2|3 on MacOS. Adapt all bindings not depending on aqua any more check-in: 382b1a02 user: jan.nijtmans tags: tip474
12:40
Merge 8.7. Button-4|5|6|7 binding no longer necessary check-in: 36c736ea user: jan.nijtmans tags: tip474
2020-09-18
20:26
Fix [4f4f03f5eb]: B1-Motion events are ignored in the window title bar. check-in: 90173a64 user: marc_culler tags: trunk
2020-09-16
15:10
Adjust documentation to new behaviour check-in: 2490f202 user: jan.nijtmans tags: tip474
15:01
scrollbar and iconlist bindings can be simplified too check-in: 1b9526bd user: jan.nijtmans tags: tip474
14:38
Merge trunk check-in: c15dccb9 user: jan.nijtmans tags: tip474
14:29
Run more Travis tests in focal in stead of bionic check-in: b504a0e2 user: jan.nijtmans tags: trunk
2020-09-15
13:15
Merge 8.7. Make test-cases on MacOS and X11 pass (win32 not tested yet) check-in: 31af4275 user: jan.nijtmans tags: tip474
09:21
Merge 8.6 check-in: 56097510 user: jan.nijtmans tags: trunk
2019-08-29
19:33
Merge trunk check-in: 6517b920 user: jan.nijtmans tags: tip474
2019-08-28
20:20
Fix [a3e81a82a1]: macOS: ttk-2.8 fails check-in: 3d0d4c49 user: fvogel tags: trunk
2019-08-22
15:29
Use some more "(x|y)view scroll units" automatic rounding in bindings. check-in: 9e52646a user: jan.nijtmans tags: tip474
15:02
Allow using floating-point number in "scroll (x|y)view (units|pages)". They are rounded away from zero towards an integer. check-in: 52835528 user: jan.nijtmans tags: tip474
14:16
Merge trunk. Eliminate use of "mouseunits", was not a good idea. Move code out of UpdateButtonEventState() function. check-in: 89cd4047 user: jan.nijtmans tags: tip474
06:43
merge-mark (binding for Buttons 6/7 are already real bindings in Tk8.7) check-in: 385c6dd0 user: jan.nijtmans tags: trunk
2019-08-02
19:10
Merge trunk check-in: 6a4b502d user: jan.nijtmans tags: tip474
19:00
Merge 8.6 check-in: 548f40bd user: jan.nijtmans tags: trunk
2019-07-30
21:56
Merge trunk check-in: 7fdb7b0e user: jan.nijtmans tags: tip474
21:39
Merge 8.6 check-in: 7f8a4290 user: jan.nijtmans tags: trunk
11:32
Merge-mark check-in: ad819671 user: jan.nijtmans tags: tip474
11:31
Handle Mac buttons 6-9 in one place more. check-in: e880155b user: jan.nijtmans tags: trunk
11:21
Merge-mark check-in: b5c64480 user: jan.nijtmans tags: tip474
11:17
Follow-up to [38dc27bd1d0ecd682aafde]: Tk does not support <Button-6> nor <Button-7> events. This commit adds hardware-support for buttons 6-9 on MacOSX, and handles masking correct for all buttons 6-9. Not complete yet, but this is as far as we can go without needing a TIP. check-in: 76f0a840 user: jan.nijtmans tags: trunk
10:43
merge-mark check-in: f8fa7bd8 user: jan.nijtmans tags: tip474
10:07
Sort all usage of "pages", "pixels" and "units", make it alphabetical, in implementation, tests and documentation. check-in: 2501ec76 user: jan.nijtmans tags: trunk
07:27
Put (x|y)view scroll options in alphabetical order check-in: 33b01aa1 user: jan.nijtmans tags: tip474
2019-07-29
12:48
Add support for "(x|y)view scroll number mouseunits" for text widget, and use it in mouse bindings. check-in: 89ec6a3b user: jan.nijtmans tags: tip474
2019-07-26
09:57
Fix MouseWheel bindings for listbox and scrollbar: This fixes test-failures on Win32. Still to be tested on MacOS and X11 check-in: ea66f86e user: jan.nijtmans tags: tip474
09:06
Further experiment: Bring scalefactor back to 120 (as it was for win32) check-in: e4c02266 user: jan.nijtmans tags: tip474
2019-07-25
16:07
Experiment: Handle scaling fractors for the ScrollWheel sensibly. Trying "40" as a good general scale factor (compared to "50" on X11 and "120" on Win32 and "1" on Aqua) check-in: 431c78e0 user: jan.nijtmans tags: tip474
07:19
Merge 8.6 check-in: 9ab0a47d user: jan.nijtmans tags: trunk
2019-07-24
14:55
A few more minor adaptations, and make it compile on X11 (XKeyEvent structure doesn't have a nbytes field). check-in: 671dceda user: jan.nijtmans tags: tip474
14:38
Code simplification: Don't bother keeping track of the Button[n]Mask's for Buttons 4-7, since those are not actually buttons (they are mouse-wheels). This means that Button4Mask/Button5Mask can be used for Buttons 8/9. check-in: a9a2599a user: jan.nijtmans tags: tip474
13:36
Merge trunk check-in: 49a39d75 user: jan.nijtmans tags: tip474
13:31
(cherry-pick): Patch by Arjen sent to core 2018-09-21 Also, do some renumbering of mouse-buttons, such that at script level the XButtons appear to be at 4/5 while - internally - they are at 8/9. check-in: 93e45105 user: jan.nijtmans tags: tip474
2019-07-23
21:46
Fix a typo in the code that sets the size of the ring buffer check-in: a2c4bc63 user: culler tags: trunk
21:39
Merge trunk. Adapt documentation check-in: 67200ca4 user: jan.nijtmans tags: tip474
21:18
Merge 8.6 check-in: e052d2fe user: jan.nijtmans tags: trunk
15:36
mis-counted modifier bits check-in: ca670a30 user: jan.nijtmans tags: tip474
15:24
Fix [38dc27bd1d]: Tk does not support <Button-6> nor <Button-7> events. Now handle all events up to Button 9. On Windows and Mac, Buttons 8 and 9 are used for the mouse side buttons (as X11 already does). TIP needed for this. check-in: a2b2bc18 user: jan.nijtmans tags: tip474
10:34
Don't bother compat/stdlib.h and compat/unistd.h any more: All currently supported compilers have compatible versions of those header files, even MSVC 6.0. check-in: b830ddb2 user: jan.nijtmans tags: trunk
2018-09-22
17:59
Patch by Arjen sent to core 2018-09-21 Closed-Leaf check-in: 77c390ba user: oehhar tags: tip474-uniform-mouse-wheel