Skip to content

Commit 1bafcd6

Browse files
committed
added even more clarity regarding the "clicks" attribute
1 parent 09a0904 commit 1bafcd6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/reST/ref/event.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ specific attributes.
9090
.. versionchangedold:: 2.5.7 The ``clicks`` attribute was added to ``MOUSEBUTTONDOWN`` and ``MOUSEBUTTONUP`` events.
9191

9292
The ``clicks`` attribute of the ``MOUSEBUTTONDOWN`` and ``MOUSEBUTTONUP`` events indicate the number of clicks occurring
93-
in rapid succession, e.g. ``1`` for single-click, ``2`` for double-click, etc.
93+
in rapid succession, e.g. ``1`` for single-click, ``2`` for double-click, etc. Note that double, triple, or more clicks
94+
will still fire mouse events for each individual click, with a progressively increasing ``clicks`` attribute.
9495

9596
Note that ``ACTIVEEVENT``, ``VIDEORESIZE`` and ``VIDEOEXPOSE`` are considered
9697
as "legacy" events, the use of pygame2 ``WINDOWEVENT`` API is recommended over

0 commit comments

Comments
 (0)