<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Mouse</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ncurses.keyconsts.html">Keys</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.ncurses.html">Ncurses Functions</a></div> <div class="up"><a href="ncurses.constants.html">Predefined Constants</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="ncurses.mouseconsts" class="section"> <h2 class="title">Mouse</h2> <table class="doctable table"> <caption><strong>mouse constants</strong></caption> <thead> <tr> <th>Constant</th> <th>meaning</th> </tr> </thead> <tbody class="tbody"> <tr id="constant.ncurses-button1-released"> <td><strong><code>NCURSES_BUTTON1_RELEASED</code></strong> - <strong><code>NCURSES_BUTTON4_RELEASED</code></strong></td> <td>button (1-4) released</td> </tr> <tr id="constant.ncurses-button1-pressed"> <td><strong><code>NCURSES_BUTTON1_PRESSED</code></strong> - <strong><code>NCURSES_BUTTON4_PRESSED</code></strong></td> <td>button (1-4) pressed</td> </tr> <tr id="constant.ncurses-button1-clicked"> <td><strong><code>NCURSES_BUTTON1_CLICKED</code></strong> - <strong><code>NCURSES_BUTTON4_CLICKED</code></strong></td> <td>button (1-4) clicked</td> </tr> <tr id="constant.ncurses-button1-double-clicked"> <td><strong><code>NCURSES_BUTTON1_DOUBLE_CLICKED</code></strong> - <strong><code>NCURSES_BUTTON4_DOUBLE_CLICKED</code></strong></td> <td>button (1-4) double clicked</td> </tr> <tr id="constant.ncurses-button1-triple-clicked"> <td><strong><code>NCURSES_BUTTON1_TRIPLE_CLICKED</code></strong> - <strong><code>NCURSES_BUTTON4_TRIPLE_CLICKED</code></strong></td> <td>button (1-4) triple clicked</td> </tr> <tr id="constant.ncurses-button-ctrl"> <td><strong><code>NCURSES_BUTTON_CTRL</code></strong></td> <td>ctrl pressed during click</td> </tr> <tr id="constant.ncurses-button-shift"> <td><strong><code>NCURSES_BUTTON_SHIFT</code></strong></td> <td>shift pressed during click</td> </tr> <tr id="constant.ncurses-button-alt"> <td><strong><code>NCURSES_BUTTON_ALT</code></strong></td> <td>alt pressed during click</td> </tr> <tr id="constant.ncurses-all-mouse-events"> <td><strong><code>NCURSES_ALL_MOUSE_EVENTS</code></strong></td> <td>report all mouse events</td> </tr> <tr id="constant.ncurses-report-mouse-position"> <td><strong><code>NCURSES_REPORT_MOUSE_POSITION</code></strong></td> <td>report mouse position</td> </tr> </tbody> </table> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ncurses.keyconsts.html">Keys</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.ncurses.html">Ncurses Functions</a></div> <div class="up"><a href="ncurses.constants.html">Predefined Constants</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>