X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_mouse.3x.html;h=3376019bb8b2d691d7a844f6b6140dc5282183be;hp=baafe6282d4d3ecc317d05dc0fb89167ce642789;hb=74433bcf4f6fe40862a28f3c00edaedcd5054b01;hpb=bfe3845eb1a2ff02a740e917b537e939ec4e44cb diff --git a/doc/html/man/curs_mouse.3x.html b/doc/html/man/curs_mouse.3x.html index baafe628..3376019b 100644 --- a/doc/html/man/curs_mouse.3x.html +++ b/doc/html/man/curs_mouse.3x.html @@ -1,7 +1,8 @@ - @@ -35,8 +36,8 @@
Here are the mouse event type masks which may be defined: - Name Description + Name Description --------------------------------------------------------------------- BUTTON1_PRESSED mouse button 1 down BUTTON1_RELEASED mouse button 1 up @@ -106,12 +112,12 @@ BUTTON2_PRESSED mouse button 2 down BUTTON2_RELEASED mouse button 2 up BUTTON2_CLICKED mouse button 2 clicked + BUTTON2_DOUBLE_CLICKED mouse button 2 double clicked BUTTON2_TRIPLE_CLICKED mouse button 2 triple clicked --------------------------------------------------------------------- BUTTON3_PRESSED mouse button 3 down BUTTON3_RELEASED mouse button 3 up - BUTTON3_CLICKED mouse button 3 clicked BUTTON3_DOUBLE_CLICKED mouse button 3 double clicked BUTTON3_TRIPLE_CLICKED mouse button 3 triple clicked @@ -171,8 +177,8 @@ reserve lines on top or bottom of the screen for other purposes (see the ripoffline and slk_init(3x) calls, for example). - o If the parameter to_screen is TRUE, the pointers pY, pX must refer- - ence the coordinates of a location inside the window win. They are + o If the parameter to_screen is TRUE, the pointers pY, pX must refer- + ence the coordinates of a location inside the window win. They are converted to window-relative coordinates and returned through the pointers. If the conversion was successful, the function returns TRUE. @@ -180,9 +186,9 @@ o If one of the parameters was NULL or the location is not inside the window, FALSE is returned. - o If to_screen is FALSE, the pointers pY, pX must reference window- + o If to_screen is FALSE, the pointers pY, pX must reference window- relative coordinates. They are converted to stdscr-relative coor- - dinates if the window win encloses this point. In this case the + dinates if the window win encloses this point. In this case the function returns TRUE. o If one of the parameters is NULL or the point is not inside the @@ -193,7 +199,7 @@
The mouse_trafo function performs the same translation as wmouse_trafo, - using stdscr for win. + using stdscr for win.
@@ -244,7 +250,7 @@ These calls were designed for ncurses(3x), and are not found in SVr4 curses, 4.4BSD curses, or any other previous version of curses. - SVr4 curses had support for the mouse in a variant of xterm. It is + SVr4 curses had support for the mouse in a variant of xterm(1). It is mentioned in a few places, but with no supporting documentation: o the "libcurses" manual page lists functions for this feature which @@ -347,10 +353,11 @@ Because there are no standard terminal responses that would serve to identify terminals which support the xterm mouse protocol, ncurses as- - sumes that if your $TERM environment variable contains "xterm", or - kmous is defined in the terminal description, then the terminal may - send mouse events. The kmous capability is checked first, allowing the - use of newer xterm mouse protocols. + sumes that if kmous is defined in the terminal description, or if the + terminal description's primary name or aliases contain the string + "xterm", then the terminal may send mouse events. The kmous capability + is checked first, allowing the use of newer xterm mouse protocols such + as xterm's private mode 1006.