Debian Codegraph @

docs/manual/_demoClicked_.html

raw symbols SCIP
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>demoClicked</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Monaco,Courier" size=6 color="#999900"><b>
12 demoClicked
13 </b></font></table></table>
14 <p>A function that can be used in <a href="Scripting.html">Scripting</a>.</p>
15 <h2>Syntax and semantics</h2>
16 <dl>
17 <dt><b><code><font size=+1>demoClicked</font></code></b> ( )
18 <dd>determine whether the user clicked in the Demo window.</dd>
19 </dl>
20 <h2>Usage</h2>
21 <p>This function is usually called after a user event has been detected (with <a href="_demoWaitForInput_.html"><b><code><font size=+1>demoWaitForInput</font></code></b></a>), and is typically followed by determing the location of the click (with <a href="_demoX_.html"><b><code><font size=+1>demoX</font></code></b></a>) and <a href="_demoY_.html"><b><code><font size=+1>demoY</font></code></b></a>, or with <a href="_demoClickedIn_.html"><b><code><font size=+1>demoClickedIn</font></code></b></a>).</p>
22 <h3>Links to this page</h3>
23 <ul>
24 <li><a href="Demo_window.html">Demo window</a>
25 <li><a href="Demo_window_2__Getting_user_input.html">Demo window 2. Getting user input</a>
26 <li><a href="Demo_window_3__Getting_click_locations.html">Demo window 3. Getting click locations</a>
27 <li><a href="Demo_window_5__Asynchronous_play.html">Demo window 5. Asynchronous play</a>
28 <li><a href="Demo_window_6__Animation.html">Demo window 6. Animation</a>
29 <li><a href="Functions.html">Functions</a>
30 </ul>
31 <hr>
32 <address>
33 <p>© Paul Boersma 2023</p>
34 </address>
35 </body>
36 </html>