New upstream version 3.22.29
This commit is contained in:
@ -85,7 +85,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">GdkDevice</span> *</td>
|
||||
<a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkPadController.html#GtkPadController--pad" title="The “pad” property">pad</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
@ -137,12 +137,12 @@ perform no action, this event controller is provided to map those to
|
||||
<span class="type">GAction</span> objects, thus letting the application give those a more semantic
|
||||
meaning.</p>
|
||||
<p>Buttons and sensors are not constrained to triggering a single action, some
|
||||
<code class="literal">GDK_SOURCE_TABLET_PAD</code> devices feature multiple "modes", all these input
|
||||
<a href="../html/GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a> devices feature multiple "modes", all these input
|
||||
elements have one current mode, which may determine the final action
|
||||
being triggered. Pad devices often divide buttons and sensors into groups,
|
||||
all elements in a group share the same current mode, but different groups
|
||||
may have different modes. See <code class="function">gdk_device_pad_get_n_groups()</code> and
|
||||
<code class="function">gdk_device_pad_get_group_n_modes()</code>.</p>
|
||||
may have different modes. See <a href="../html/GdkDevicePad.html#gdk-device-pad-get-n-groups"><code class="function">gdk_device_pad_get_n_groups()</code></a> and
|
||||
<a href="../html/GdkDevicePad.html#gdk-device-pad-get-group-n-modes"><code class="function">gdk_device_pad_get_group_n_modes()</code></a>.</p>
|
||||
<p>Each of the actions that a given button/strip/ring performs for a given
|
||||
mode is defined by <a class="link" href="GtkPadController.html#GtkPadActionEntry" title="struct GtkPadActionEntry"><span class="type">GtkPadActionEntry</span></a>, it contains an action name that
|
||||
will be looked up in the given <span class="type">GActionGroup</span> and activated whenever the
|
||||
@ -194,7 +194,7 @@ is required that those are made stateful and accepting this <span class="type">G
|
||||
<pre class="programlisting"><a class="link" href="GtkPadController.html" title="GtkPadController"><span class="returnvalue">GtkPadController</span></a> *
|
||||
gtk_pad_controller_new (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><span class="type">GActionGroup</span> *group</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkDevice</span> *pad</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> *pad</code></em>);</pre>
|
||||
<p>Creates a new <a class="link" href="GtkPadController.html" title="GtkPadController"><span class="type">GtkPadController</span></a> that will associate events from <em class="parameter"><code>pad</code></em>
|
||||
to
|
||||
actions. A <code class="literal">NULL</code> pad may be provided so the controller manages all pad devices
|
||||
@ -227,7 +227,7 @@ events to actions, use <a class="link" href="GtkPadController.html#gtk-pad-contr
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pad</p></td>
|
||||
<td class="parameter_description"><p>A <code class="literal">GDK_SOURCE_TABLET_PAD</code> device, or <code class="literal">NULL</code> to handle all pads. </p></td>
|
||||
<td class="parameter_description"><p>A <a href="../html/GdkDevice.html#GDK-SOURCE-TABLET-PAD:CAPS"><code class="literal">GDK_SOURCE_TABLET_PAD</code></a> device, or <code class="literal">NULL</code> to handle all pads. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -455,14 +455,14 @@ be deemed user-visible.</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPadController--pad"></a><h3>The <code class="literal">“pad”</code> property</h3>
|
||||
<pre class="programlisting"> “pad” <span class="type">GdkDevice</span> *</pre>
|
||||
<pre class="programlisting"> “pad” <a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> *</pre>
|
||||
<p>Pad device to control.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkPadController.see-also"></a><h2>See Also</h2>
|
||||
<p><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a>, <span class="type">GdkDevicePad</span></p>
|
||||
<p><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a>, <a href="../html/GdkDevicePad.html#GdkDevicePad-struct"><span class="type">GdkDevicePad</span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
|
Reference in New Issue
Block a user