File: EventButton.xml

package info (click to toggle)
gnome-subtitles 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 103,144 kB
  • sloc: xml: 406,395; cs: 364,495; ansic: 3,104; perl: 1,477; sh: 769; python: 545; javascript: 500; makefile: 49
file content (186 lines) | stat: -rw-r--r-- 8,931 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<Type Name="EventButton" FullName="Gdk.EventButton">
  <TypeSignature Language="C#" Maintainer="auto" Value="public class EventButton : Gdk.Event" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit EventButton extends Gdk.Event" />
  <AssemblyInfo>
    <AssemblyName>gdk-sharp</AssemblyName>
    <AssemblyPublicKey>
    </AssemblyPublicKey>
  </AssemblyInfo>
  <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>
  <Base>
    <BaseTypeName>Gdk.Event</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <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 <see cref="F:Gdk.EventType.ButtonPress" />,
        <see cref="F:Gdk.EventType.TwoButtonPress" />,
        <see cref="F:Gdk.EventType.ThreeButtonPress" />,
        and <see cref="F:Gdk.EventType.ButtonRelease" /></para>
      <para>
        Double and triple-clicks result in a sequence of events being received. For double-clicks the order of events will be:

        <list type="number"><item><term><see cref="T:Gdk.EventType.ButtonPress" /></term></item><item><term><see cref="T:Gdk.EventType.ButtonRelease" /></term></item><item><term><see cref="T:Gdk.EventType.ButtonPress" /></term></item><item><term><see cref="T:Gdk.EventType.TwoButtonPress" /></term></item><item><term><see cref="T:Gdk.EventType.ButtonRelease" /></term></item></list></para>
      <para>
        Note that the first click is received just like a normal
        button press, while the second click results in a
        <see cref="T:Gdk.EventType.TwoButtonPress" /> being received just after the
        <see cref="T:Gdk.EventType.ButtonPress" />. Triple-clicks are very similar to
        double-clicks, except that <see cref="T:Gdk.EventType.ThreeButtonPress" /> is inserted after
        the third click. The order of the events is:

        <list type="number"><item><term><see cref="T:Gdk.EventType.ButtonPress" /></term></item><item><term><see cref="T:Gdk.EventType.ButtonRelease" /></term></item><item><term><see cref="T:Gdk.EventType.ButtonPress" /></term></item><item><term><see cref="T:Gdk.EventType.TwoButtonPress" /></term></item><item><term><see cref="T:Gdk.EventType.ButtonRelease" /></term></item><item><term><see cref="T:Gdk.EventType.ButtonPress" /></term></item><item><term><see cref="T:Gdk.EventType.ThreeButtonPress" /></term></item><item><term><see cref="T:Gdk.EventType.ButtonRelease" /></term></item></list></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>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public EventButton (IntPtr raw);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(native int raw) cil managed" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters>
        <Parameter Name="raw" Type="System.IntPtr" />
      </Parameters>
      <Docs>
        <param name="raw">a <see cref="T:System.IntPtr" /> to a <see cref="T:Gdk.Event.Handle" /></param>
        <summary>Internal constructor</summary>
        <remarks>This constructor is internal and should not be used.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Axes">
      <MemberSignature Language="C#" Value="public double[] Axes { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance float64[] Axes" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Double[]</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>x, y translated to the axes of device, or null if device is the mouse.</summary>
        <value>a <see cref="T:System.Double[]" /></value>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="Button">
      <MemberSignature Language="C#" Value="public uint Button { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance unsigned int32 Button" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.UInt32</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>The button which was pressed or released, numbered from 1 to 5. Normally button 1 is the left mouse button, 2 is the middle button, and 3 is the right button. On 2-button mice, the middle button can often be simulated by pressing both mouse buttons together.</summary>
        <value>a <see cref="T:System.UInt32" /></value>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="Device">
      <MemberSignature Language="C#" Value="public Gdk.Device Device { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class Gdk.Device Device" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>Gdk.Device</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>The device where the event originated.</summary>
        <value>a <see cref="T:Gdk.Device" /></value>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="State">
      <MemberSignature Language="C#" Value="public Gdk.ModifierType State { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance valuetype Gdk.ModifierType State" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>Gdk.ModifierType</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>A bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons.</summary>
        <value>a <see cref="T:Gdk.ModifierType" /></value>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="Time">
      <MemberSignature Language="C#" Value="public uint Time { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance unsigned int32 Time" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.UInt32</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>The time of the event in milliseconds.</summary>
        <value>a <see cref="T:System.UInt32" /></value>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="X">
      <MemberSignature Language="C#" Value="public double X { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance float64 X" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Double</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>The x coordinate of the pointer relative to the window.</summary>
        <value>a <see cref="T:System.Double" /></value>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="XRoot">
      <MemberSignature Language="C#" Value="public double XRoot { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance float64 XRoot" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Double</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>The x coordinate of the pointer relative to the root of the screen.</summary>
        <value>a <see cref="T:System.Double" /></value>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="Y">
      <MemberSignature Language="C#" Value="public double Y { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance float64 Y" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Double</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>The y coordinate of the pointer relative to the window.</summary>
        <value>a <see cref="T:System.Double" /></value>
        <remarks />
      </Docs>
    </Member>
    <Member MemberName="YRoot">
      <MemberSignature Language="C#" Value="public double YRoot { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance float64 YRoot" />
      <MemberType>Property</MemberType>
      <ReturnValue>
        <ReturnType>System.Double</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>The y coordinate of the pointer relative to the root of the screen.</summary>
        <value>a <see cref="T:System.Double" /></value>
        <remarks />
      </Docs>
    </Member>
  </Members>
</Type>