Tk Source Code

Check-in [8d63df1b]
Login

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

Overview
Comment:Add missing documentation about items of the tk::Priv array
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug-75d38f8608
Files: files | file ages | folders
SHA3-256: 8d63df1b538c1314763ece79ba91e5bb0d10fcfb5c52e6b579b08eac6b2c2322
User & Date: fvogel 2018-03-20 21:11:31
Context
2018-03-31
07:17
Solution from dnikolajevich made thread safe. Thanks to Christian Werner for providing this patch. check-in: fb3f34ae user: fvogel tags: bug-75d38f8608
2018-03-25
15:59
Add test listbox-32 to check for support of high resolution 'mouse wheels', actually for 2 fingers touch scroll on some devices. Thanks to dnikolajevich for providing the test. check-in: 88bcfc9b user: fvogel tags: bug-75d38f8608
2018-03-20
21:11
Add missing documentation about items of the tk::Priv array check-in: 8d63df1b user: fvogel tags: bug-75d38f8608
21:05
Fix [75d38f8608]: touchpad two finger scroll does not work correctly with listbox on Windows check-in: da31d31c user: fvogel tags: bug-75d38f8608
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to library/listbox.tcl.

10
11
12
13
14
15
16
17
18
19
20
21






22
23
24
25
26
27
28
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.

#--------------------------------------------------------------------------
# tk::Priv elements used in this file:
#
# afterId -		Token returned by "after" for autoscanning.
# listboxPrev -		The last element to be selected or deselected
#			during a selection operation.
# listboxSelection -	All of the items that were selected before the
#			current selection operation (such as a mouse
#			drag) started;  used to cancel an operation.






#--------------------------------------------------------------------------

#-------------------------------------------------------------------------
# The code below creates the default class bindings for listboxes.
#-------------------------------------------------------------------------

# Note: the check for existence of %W below is because this binding







|




>
>
>
>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.

#--------------------------------------------------------------------------
# tk::Priv elements used in this file:
#
# afterId -		Token returned by "after" for autoscanning.
# listboxPrev -	The last element to be selected or deselected
#			during a selection operation.
# listboxSelection -	All of the items that were selected before the
#			current selection operation (such as a mouse
#			drag) started;  used to cancel an operation.
# wheel_acc_h_%W -   accumulated deltas from the <MouseWheel> event, in
#                    horizontal direction for window %W
# wheel_acc_v_%W -   accumulated deltas from the <MouseWheel> event, in
#                    vertical direction for window %W
# x -                x mouse position
# y -                y mouse position
#--------------------------------------------------------------------------

#-------------------------------------------------------------------------
# The code below creates the default class bindings for listboxes.
#-------------------------------------------------------------------------

# Note: the check for existence of %W below is because this binding