Skip to content

Commit

Permalink
mouse: improve docs for show_cursor() (see #729)
Browse files Browse the repository at this point in the history
  • Loading branch information
smathot committed Nov 25, 2020
1 parent 8404fca commit 48f50e1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions openexp/_mouse/mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Mouse(Backend):
[TOC]
## Things to know
## Things to know
### Creating a Mouse
Expand Down Expand Up @@ -192,8 +192,12 @@ def show_cursor(self, show=True):
Immediately changes the visibility of the mouse cursor.
__Note:__ In most cases, you will want to use the `visible`
[keyword][Response keywords], which changes the visibility during
response collection, that is, while `mouse.get_click()` is called.
keyword, which changes the visibility during response collection,
that is, while `mouse.get_click()` is called. Calling
`show_cursor()` will not implicitly change the value of `visible`,
which can lead to the somewhat unintuitive behavior that the cursor
is hidden as soon as `get_click()` is called.
keywords:
show:
Expand Down

0 comments on commit 48f50e1

Please sign in to comment.