public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb/doc: improve description for Window.click on Python TUI windows
@ 2022-01-24 15:34 Andrew Burgess
  0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2022-01-24 15:34 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=965c919f98ea394a333034d50831997c69feb1e5

commit 965c919f98ea394a333034d50831997c69feb1e5
Author: Andrew Burgess <aburgess@redhat.com>
Date:   Mon Jan 24 10:33:23 2022 +0000

    gdb/doc: improve description for Window.click on Python TUI windows
    
    The description of the Window.click method doesn't mention where the
    coordinates are anchored (it's the top left corner).
    
    This minor tweak just mentions this point.

Diff:
---
 gdb/doc/python.texi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 6730de05143..f02380a27f4 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -6252,9 +6252,9 @@ and so the content should appear to move up.
 
 @defun Window.click (@var{x}, @var{y}, @var{button})
 This is called on a mouse click in this window.  @var{x} and @var{y} are
-the mouse coordinates inside the window (0-based), and @var{button}
-specifies which mouse button was used, whose values can be 1 (left),
-2 (middle), or 3 (right).
+the mouse coordinates inside the window (0-based, from the top left
+corner), and @var{button} specifies which mouse button was used, whose
+values can be 1 (left), 2 (middle), or 3 (right).
 @end defun
 
 @node Python Auto-loading


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-24 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 15:34 [binutils-gdb] gdb/doc: improve description for Window.click on Python TUI windows Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).