<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="Start" href="index.html"> <link rel="previous" href="GdkEvent.Motion.html"> <link rel="next" href="GdkEvent.Scroll.html"> <link rel="Up" href="GdkEvent.html"> <title>LablGTK : GdkEvent.Button</title> </head> <body> <div class="navbar"><a href="GdkEvent.Motion.html">Previous</a> <a href="GdkEvent.html">Up</a> <a href="GdkEvent.Scroll.html">Next</a> </div> <center><h1>Module <a href="type_GdkEvent.Button.html">GdkEvent.Button</a></h1></center> <br> <pre><span class="keyword">module</span> Button: <code class="code">sig</code> <a href="GdkEvent.Button.html">..</a> <code class="code">end</code></pre><hr width="100%"> <pre><span class="keyword">type</span> <a name="TYPEtypes"></a><code class="type"></code>types = <code class="type">[ `BUTTON_PRESS | `BUTTON_RELEASE | `THREE_BUTTON_PRESS | `TWO_BUTTON_PRESS ]</code> </pre> <pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t = <code class="type"><a href="GdkEvent.Button.html#TYPEtypes">types</a> <a href="Gdk.html#TYPEevent">Gdk.event</a></code> </pre> <pre><span class="keyword">val</span> <a name="VALcast"></a>cast : <code class="type"><a href="GdkEvent.html#TYPEany">GdkEvent.any</a> -> <a href="GdkEvent.Button.html#TYPEt">t</a></code></pre><pre><span class="keyword">val</span> <a name="VALtime"></a>time : <code class="type">[< <a href="GdkEvent.html#TYPEtimed">GdkEvent.timed</a> ] <a href="Gdk.html#TYPEevent">Gdk.event</a> -> int32</code></pre><pre><span class="keyword">val</span> <a name="VALx"></a>x : <code class="type"><a href="GdkEvent.Button.html#TYPEt">t</a> -> float</code></pre><pre><span class="keyword">val</span> <a name="VALy"></a>y : <code class="type"><a href="GdkEvent.Button.html#TYPEt">t</a> -> float</code></pre><pre><span class="keyword">val</span> <a name="VALaxes"></a>axes : <code class="type"><a href="GdkEvent.Button.html#TYPEt">t</a> -> (float * float) option</code></pre><pre><span class="keyword">val</span> <a name="VALstate"></a>state : <code class="type"><a href="GdkEvent.Button.html#TYPEt">t</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALbutton"></a>button : <code class="type"><a href="GdkEvent.Button.html#TYPEt">t</a> -> int</code></pre><pre><span class="keyword">val</span> <a name="VALdevice"></a>device : <code class="type"><a href="GdkEvent.Button.html#TYPEt">t</a> -> <a href="Gdk.html#TYPEdevice">Gdk.device</a></code></pre><pre><span class="keyword">val</span> <a name="VALx_root"></a>x_root : <code class="type"><a href="GdkEvent.Button.html#TYPEt">t</a> -> float</code></pre><pre><span class="keyword">val</span> <a name="VALy_root"></a>y_root : <code class="type"><a href="GdkEvent.Button.html#TYPEt">t</a> -> float</code></pre><pre><span class="keyword">val</span> <a name="VALset_type"></a>set_type : <code class="type"><a href="GdkEvent.Button.html#TYPEt">t</a> -> [< <a href="GdkEvent.Button.html#TYPEtypes">types</a> ] -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALset_button"></a>set_button : <code class="type"><a href="GdkEvent.Button.html#TYPEt">t</a> -> int -> unit</code></pre></body></html>