2003-02-12 01:57:20 +00:00
<Type Name= "EventButton" FullName= "Gdk.EventButton" >
2003-02-15 03:08:25 +00:00
<TypeSignature Language= "C#" Value= "public sealed struct EventButton;" Maintainer= "auto" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > gdk-sharp</AssemblyName>
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
<Attributes />
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 01:57:20 +00:00
<Docs >
2003-07-29 03:14:04 +00:00
<summary > Used for button press and button release events.</summary>
<remarks >
<para >
Used for button press and button release events. The type
field will be one of GDK_BUTTON_PRESS, GDK_2BUTTON_PRESS,
GDK_3BUTTON_PRESS, and GDK_BUTTON_RELEASE.
</para>
<para >
Double and triple-clicks result in a sequence of events being received. For double-clicks the order of events will be:
1. GDK_BUTTON_PRESS
2. GDK_BUTTON_RELEASE
3. GDK_BUTTON_PRESS
4. GDK_2BUTTON_PRESS
5. GDK_BUTTON_RELEASE
</para>
<para >
Note that the first click is received just like a normal
button press, while the second click results in a
GDK_2BUTTON_PRESS being received just after the
GDK_BUTTON_PRESS. Triple-clicks are very similar to
double-clicks, except that GDK_3BUTTON_PRESS is inserted after
the third click. The order of the events is:
1. GDK_BUTTON_PRESS
2. GDK_BUTTON_RELEASE
3. GDK_BUTTON_PRESS
4. GDK_2BUTTON_PRESS
5. GDK_BUTTON_RELEASE
6. GDK_BUTTON_PRESS
7. GDK_3BUTTON_PRESS
8. GDK_BUTTON_RELEASE
</para>
<para >
For a double click to occur, the second button press must
occur within 1/4 of a second of the first. For a triple click
to occur, the third button press must also occur within 1/2
second of the first button press.
</para>
</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
<Base >
<BaseTypeName > System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes />
<Members >
<Member MemberName= "Zero" >
<MemberSignature Language= "C#" Value= "public static Gdk.EventButton Zero;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > Gdk.EventButton</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "type" >
<MemberSignature Language= "C#" Value= "public Gdk.EventType type;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > Gdk.EventType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "_window" >
<MemberSignature Language= "C#" Value= "public IntPtr _window;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.IntPtr</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "time" >
<MemberSignature Language= "C#" Value= "public uint time;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "x" >
<MemberSignature Language= "C#" Value= "public double x;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "y" >
<MemberSignature Language= "C#" Value= "public double y;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "_axes" >
<MemberSignature Language= "C#" Value= "public IntPtr _axes;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.IntPtr</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "state" >
<MemberSignature Language= "C#" Value= "public uint state;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "button" >
<MemberSignature Language= "C#" Value= "public uint button;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "_device" >
<MemberSignature Language= "C#" Value= "public IntPtr _device;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.IntPtr</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "x_root" >
<MemberSignature Language= "C#" Value= "public double x_root;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "y_root" >
<MemberSignature Language= "C#" Value= "public double y_root;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.Double</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "New" >
<MemberSignature Language= "C#" Value= "public static Gdk.EventButton New (IntPtr raw);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.EventButton</ReturnType>
</ReturnValue>
<Parameters >
2003-07-29 03:14:04 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
<summary > To be added</summary>
<param name= "raw" > To be added: an object of type 'IntPtr'</param>
<returns > To be added: an object of type 'Gdk.EventButton'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "device" >
<MemberSignature Language= "C#" Value= "public Gdk.Device device { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Device</ReturnType>
</ReturnValue>
2003-07-29 03:14:04 +00:00
<Parameters > </Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
<summary > To be added</summary>
<param name= "value" > To be added: an object of type 'Gdk.Device'</param>
<returns > To be added: an object of type 'Gdk.Device'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "window" >
<MemberSignature Language= "C#" Value= "public Gdk.Window window { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Window</ReturnType>
</ReturnValue>
2003-07-29 03:14:04 +00:00
<Parameters > </Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2003-07-29 03:14:04 +00:00
<summary > the window which received the event.</summary>
<param name= "value" > the window which received the event.</param>
<returns > the window which received the event.</returns>
<remarks > </remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2003-07-17 06:38:40 +00:00
<Member MemberName= "send_event" >
<MemberSignature Language= "C#" Value= "public sbyte send_event;" />
<MemberType > Field</MemberType>
<ReturnValue >
<ReturnType > System.SByte</ReturnType>
</ReturnValue>
2003-07-21 00:13:00 +00:00
<Parameters />
2003-07-17 06:38:40 +00:00
<Docs >
2003-07-29 03:14:04 +00:00
<summary > TRUE if the event was sent explicitly (e.g. using XSendEvent).</summary>
<remarks > </remarks>
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
</Members>
2003-07-29 03:14:04 +00:00
</Type>