Skip to content

Commit 44ace19

Browse files
committed
docs
1 parent 4e0f6f1 commit 44ace19

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/textual/pilot.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ async def click(
227227
OutOfBounds: If the position to be clicked is outside of the (visible) screen.
228228
229229
Returns:
230-
True if no selector was specified or if the click landed on the selected
231-
widget, False otherwise.
230+
`True` if no selector was specified or if the selected widget was under the mouse
231+
when the click was initiated. `False` is the selected widget was not under the pointer.
232232
"""
233233
try:
234234
return await self._post_mouse_events(
@@ -284,8 +284,8 @@ async def double_click(
284284
OutOfBounds: If the position to be clicked is outside of the (visible) screen.
285285
286286
Returns:
287-
True if no selector was specified or if the clicks landed on the selected
288-
widget, False otherwise.
287+
`True` if no selector was specified or if the selected widget was under the mouse
288+
when the click was initiated. `False` is the selected widget was not under the pointer.
289289
"""
290290
return await self.click(widget, offset, shift, meta, control, times=2)
291291

@@ -329,8 +329,8 @@ async def triple_click(
329329
OutOfBounds: If the position to be clicked is outside of the (visible) screen.
330330
331331
Returns:
332-
True if no selector was specified or if the clicks landed on the selected
333-
widget, False otherwise.
332+
`True` if no selector was specified or if the selected widget was under the mouse
333+
when the click was initiated. `False` is the selected widget was not under the pointer.
334334
"""
335335
return await self.click(widget, offset, shift, meta, control, times=3)
336336

0 commit comments

Comments
 (0)