gdk3 3.2.5-x86-mingw32 → 3.2.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING.LIB +502 -0
- data/README.md +25 -0
- data/Rakefile +6 -6
- data/gdk3.gemspec +41 -0
- data/lib/gdk3/cursor.rb +13 -0
- data/lib/gdk3/loader.rb +23 -5
- data/test/test-gdk-cursor.rb +17 -1
- data/vendor/local/bin/gtk-builder-tool.exe +0 -0
- data/vendor/local/bin/gtk-encode-symbolic-svg.exe +0 -0
- data/vendor/local/bin/gtk-launch.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-3.0.exe +0 -0
- data/vendor/local/bin/gtk-query-settings.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/gtk3-demo-application.exe +0 -0
- data/vendor/local/bin/gtk3-demo.exe +0 -0
- data/vendor/local/bin/gtk3-icon-browser.exe +0 -0
- data/vendor/local/bin/gtk3-widget-factory.exe +0 -0
- data/vendor/local/bin/libepoxy-0.dll +0 -0
- data/vendor/local/bin/libgailutil-3-0.dll +0 -0
- data/vendor/local/bin/libgdk-3-0.dll +0 -0
- data/vendor/local/bin/libgtk-3-0.dll +0 -0
- data/vendor/local/bin/libgtkreftestprivate-0.dll +0 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkversionmacros.h +1 -1
- data/vendor/local/include/gtk-3.0/gtk/gtklistbox.h +1 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +3 -3
- data/vendor/local/lib/girepository-1.0/Gdk-3.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Gtk-3.0.typelib +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules.cache +1 -1
- data/vendor/local/lib/libepoxy.dll.a +0 -0
- data/vendor/local/lib/libgailutil-3.dll.a +0 -0
- data/vendor/local/lib/libgailutil-3.la +1 -1
- data/vendor/local/lib/libgdk-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.la +2 -2
- data/vendor/local/lib/libgtk-3.dll.a +0 -0
- data/vendor/local/lib/libgtk-3.la +2 -2
- data/vendor/local/lib/libgtkreftestprivate.dll.a +0 -0
- data/vendor/local/lib/libgtkreftestprivate.la +1 -1
- data/vendor/local/lib/pkgconfig/gail-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-3.0.pc +1 -1
- data/vendor/local/share/aclocal/gtk-3.0.m4 +6 -13
- data/vendor/local/share/gir-1.0/Gdk-3.0.gir +14 -6
- data/vendor/local/share/gir-1.0/Gtk-3.0.gir +11 -11
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/GdkFrameClock.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventController.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGLArea.html +22 -23
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGesture.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGestureMultiPress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGestureSingle.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImageMenuItem.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListBox.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkModelButton.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPadController.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlacesSidebar.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlug.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPopover.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchBar.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +275 -275
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s03.html +7 -1
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s04.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/ch26s02.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk3/ch32s05.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/chap-drawing-model.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/chap-input-handling.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Stock-Items.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/index.html +1 -1
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/man/man1/broadwayd.1 +1 -1
- data/vendor/local/share/man/man1/gtk-builder-tool.1 +1 -1
- data/vendor/local/share/man/man1/gtk-encode-symbolic-svg.1 +1 -1
- data/vendor/local/share/man/man1/gtk-launch.1 +1 -1
- data/vendor/local/share/man/man1/gtk-query-immodules-3.0.1 +1 -1
- data/vendor/local/share/man/man1/gtk-query-settings.1 +1 -1
- data/vendor/local/share/man/man1/gtk-update-icon-cache.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-demo-application.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-demo.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-icon-browser.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-widget-factory.1 +1 -1
- metadata +7 -60
@@ -1353,12 +1353,12 @@ cell renderers for the new model.</p>
|
|
1353
1353
|
<a name="gtk-combo-box-popup-for-device"></a><h3>gtk_combo_box_popup_for_device ()</h3>
|
1354
1354
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1355
1355
|
gtk_combo_box_popup_for_device (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
|
1356
|
-
<em class="parameter"><code><
|
1356
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>);</pre>
|
1357
1357
|
<p>Pops up the menu or dropdown list of <em class="parameter"><code>combo_box</code></em>
|
1358
1358
|
, the popup window
|
1359
1359
|
will be grabbed so only <em class="parameter"><code>device</code></em>
|
1360
1360
|
and its associated pointer/keyboard
|
1361
|
-
are the only <
|
1361
|
+
are the only <span class="type">GdkDevices</span> able to send events to it.</p>
|
1362
1362
|
<div class="refsect3">
|
1363
1363
|
<a name="gtk-combo-box-popup-for-device.parameters"></a><h4>Parameters</h4>
|
1364
1364
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1375,7 +1375,7 @@ are the only <a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type
|
|
1375
1375
|
</tr>
|
1376
1376
|
<tr>
|
1377
1377
|
<td class="parameter_name"><p>device</p></td>
|
1378
|
-
<td class="parameter_description"><p>a <
|
1378
|
+
<td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
|
1379
1379
|
<td class="parameter_annotations"> </td>
|
1380
1380
|
</tr>
|
1381
1381
|
</tbody>
|
@@ -1900,7 +1900,7 @@ gtk_container_propagate_draw (<em class="parameter"><code><a class="link" href="
|
|
1900
1900
|
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>);</pre>
|
1901
1901
|
<p>When a container receives a call to the draw function, it must send
|
1902
1902
|
synthetic <a class="link" href="GtkWidget.html#GtkWidget-draw" title="The “draw” signal"><span class="type">“draw”</span></a> calls to all children that don’t have their
|
1903
|
-
own <
|
1903
|
+
own <span class="type">GdkWindows</span>. This function provides a convenient way of doing this.
|
1904
1904
|
A container, when it receives a call to its <a class="link" href="GtkWidget.html#GtkWidget-draw" title="The “draw” signal"><span class="type">“draw”</span></a> function,
|
1905
1905
|
calls <a class="link" href="GtkContainer.html#gtk-container-propagate-draw" title="gtk_container_propagate_draw ()"><code class="function">gtk_container_propagate_draw()</code></a> once for each child, passing in
|
1906
1906
|
the <em class="parameter"><code>cr</code></em>
|
@@ -1105,7 +1105,7 @@ headerbar is only used by the dialog if the
|
|
1105
1105
|
<div class="refsect2">
|
1106
1106
|
<a name="gtk-alternative-dialog-button-order"></a><h3>gtk_alternative_dialog_button_order ()</h3>
|
1107
1107
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1108
|
-
gtk_alternative_dialog_button_order (<em class="parameter"><code><
|
1108
|
+
gtk_alternative_dialog_button_order (<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
1109
1109
|
<div class="warning">
|
1110
1110
|
<p><code class="literal">gtk_alternative_dialog_button_order</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
1111
1111
|
<p>Deprecated</p>
|
@@ -1130,7 +1130,7 @@ notified if the button order setting changes.</p>
|
|
1130
1130
|
</colgroup>
|
1131
1131
|
<tbody><tr>
|
1132
1132
|
<td class="parameter_name"><p>screen</p></td>
|
1133
|
-
<td class="parameter_description"><p>a <
|
1133
|
+
<td class="parameter_description"><p>a <span class="type">GdkScreen</span>, or <code class="literal">NULL</code> to use the default screen. </p></td>
|
1134
1134
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1135
1135
|
</tr></tbody>
|
1136
1136
|
</table></div>
|
@@ -167,7 +167,7 @@ to call <a class="link" href="GtkStyleContext.html#gtk-render-background" title=
|
|
167
167
|
<span class="normal"> </span><span class="function"><a href="GtkStyleContext.html#gtk-style-context-get-color">gtk_style_context_get_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span>
|
168
168
|
<span class="normal"> </span><span class="function"><a href="GtkStyleContext.html#gtk-style-context-get-state">gtk_style_context_get_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">),</span>
|
169
169
|
<span class="normal"> </span><span class="symbol">&</span><span class="normal">color</span><span class="symbol">);</span>
|
170
|
-
<span class="normal"> </span><span class="function"
|
170
|
+
<span class="normal"> </span><span class="function">gdk_cairo_set_source_rgba</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">color</span><span class="symbol">);</span>
|
171
171
|
|
172
172
|
<span class="normal"> </span><span class="function">cairo_fill</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
173
173
|
|
@@ -188,7 +188,7 @@ to call <a class="link" href="GtkStyleContext.html#gtk-render-background" title=
|
|
188
188
|
onscreen, or when it’s covered by another window and then uncovered.
|
189
189
|
You can also force an expose event by adding to the “damage region”
|
190
190
|
of the drawing area’s window; <a class="link" href="GtkWidget.html#gtk-widget-queue-draw-area" title="gtk_widget_queue_draw_area ()"><code class="function">gtk_widget_queue_draw_area()</code></a> and
|
191
|
-
<
|
191
|
+
<code class="function">gdk_window_invalidate_rect()</code> are equally good ways to do this.
|
192
192
|
You’ll then get a draw signal for the invalid region.</p>
|
193
193
|
<p>The available routines for drawing are documented on the
|
194
194
|
GDK Drawing Primitives page
|
@@ -1383,7 +1383,7 @@ in <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkE
|
|
1383
1383
|
<a name="gtk-entry-get-text-area"></a><h3>gtk_entry_get_text_area ()</h3>
|
1384
1384
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1385
1385
|
gtk_entry_get_text_area (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
1386
|
-
<em class="parameter"><code><
|
1386
|
+
<em class="parameter"><code><span class="type">GdkRectangle</span> *text_area</code></em>);</pre>
|
1387
1387
|
<p>Gets the area where the entry’s text is drawn. This function is
|
1388
1388
|
useful when drawing something to the entry in a draw callback.</p>
|
1389
1389
|
<p>If the entry is not realized, <em class="parameter"><code>text_area</code></em>
|
@@ -2663,7 +2663,7 @@ where a block bounces back and forth. Each call to
|
|
2663
2663
|
<a name="gtk-entry-im-context-filter-keypress"></a><h3>gtk_entry_im_context_filter_keypress ()</h3>
|
2664
2664
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
2665
2665
|
gtk_entry_im_context_filter_keypress (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
2666
|
-
<em class="parameter"><code><
|
2666
|
+
<em class="parameter"><code><span class="type">GdkEventKey</span> *event</code></em>);</pre>
|
2667
2667
|
<p>Allow the <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> input method to internally handle key press
|
2668
2668
|
and release events. If this function returns <code class="literal">TRUE</code>, then no further
|
2669
2669
|
processing should be done for this key event. See
|
@@ -3522,7 +3522,7 @@ string with <code class="function">g_free()</code> when done. </p>
|
|
3522
3522
|
gtk_entry_set_icon_drag_source (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
3523
3523
|
<em class="parameter"><code><a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos</code></em>,
|
3524
3524
|
<em class="parameter"><code><a class="link" href="gtk3-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>,
|
3525
|
-
<em class="parameter"><code><
|
3525
|
+
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
3526
3526
|
<p>Sets up the icon at the given position so that GTK+ will start a drag
|
3527
3527
|
operation when the user clicks and drags the icon.</p>
|
3528
3528
|
<p>To handle the drag operation, you need to connect to the usual
|
@@ -3606,7 +3606,7 @@ DND operation, or -1.</p>
|
|
3606
3606
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3607
3607
|
gtk_entry_get_icon_area (<em class="parameter"><code><a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry</code></em>,
|
3608
3608
|
<em class="parameter"><code><a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos</code></em>,
|
3609
|
-
<em class="parameter"><code><
|
3609
|
+
<em class="parameter"><code><span class="type">GdkRectangle</span> *icon_area</code></em>);</pre>
|
3610
3610
|
<p>Gets the area where entry’s icon at <em class="parameter"><code>icon_pos</code></em>
|
3611
3611
|
is drawn.
|
3612
3612
|
This function is useful when drawing something to the
|
@@ -4968,7 +4968,7 @@ units to delete</p></td>
|
|
4968
4968
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4969
4969
|
user_function (<a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry,
|
4970
4970
|
<a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos,
|
4971
|
-
<
|
4971
|
+
<span class="type">GdkEvent</span> *event,
|
4972
4972
|
<span class="type">gpointer</span> user_data)</pre>
|
4973
4973
|
<p>The ::icon-press signal is emitted when an activatable icon
|
4974
4974
|
is clicked.</p>
|
@@ -5013,7 +5013,7 @@ is clicked.</p>
|
|
5013
5013
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5014
5014
|
user_function (<a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> *entry,
|
5015
5015
|
<a class="link" href="GtkEntry.html#GtkEntryIconPosition" title="enum GtkEntryIconPosition"><span class="type">GtkEntryIconPosition</span></a> icon_pos,
|
5016
|
-
<
|
5016
|
+
<span class="type">GdkEvent</span> *event,
|
5017
5017
|
<span class="type">gpointer</span> user_data)</pre>
|
5018
5018
|
<p>The ::icon-release signal is emitted on the button release from a
|
5019
5019
|
mouse click over an activatable icon.</p>
|
@@ -241,10 +241,10 @@ gtk_event_box_set_visible_window (<em class="parameter"><code><a class="link" hr
|
|
241
241
|
<p>Set whether the event box uses a visible or invisible child
|
242
242
|
window. The default is to use visible windows.</p>
|
243
243
|
<p>In an invisible window event box, the window that the
|
244
|
-
event box creates is a <
|
244
|
+
event box creates is a <code class="literal">GDK_INPUT_ONLY</code> window, which
|
245
245
|
means that it is invisible and only serves to receive
|
246
246
|
events.</p>
|
247
|
-
<p>A visible window event box creates a visible (<
|
247
|
+
<p>A visible window event box creates a visible (<code class="literal">GDK_INPUT_OUTPUT</code>)
|
248
248
|
window that acts as the parent window for all the widgets
|
249
249
|
contained in the event box.</p>
|
250
250
|
<p>You should generally make your event box invisible if
|
@@ -142,7 +142,7 @@
|
|
142
142
|
<div class="refsect1">
|
143
143
|
<a name="GtkEventController.description"></a><h2>Description</h2>
|
144
144
|
<p><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a> is a base, low-level implementation for event
|
145
|
-
controllers. Those react to a series of <
|
145
|
+
controllers. Those react to a series of <span class="type">GdkEvents</span>, and possibly trigger
|
146
146
|
actions as a consequence of those.</p>
|
147
147
|
</div>
|
148
148
|
<div class="refsect1">
|
@@ -216,7 +216,7 @@ the events can be managed by calling <a class="link" href="GtkEventController.ht
|
|
216
216
|
<a name="gtk-event-controller-handle-event"></a><h3>gtk_event_controller_handle_event ()</h3>
|
217
217
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
218
218
|
gtk_event_controller_handle_event (<em class="parameter"><code><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a> *controller</code></em>,
|
219
|
-
<em class="parameter"><code>const <
|
219
|
+
<em class="parameter"><code>const <span class="type">GdkEvent</span> *event</code></em>);</pre>
|
220
220
|
<p>Feeds an events into <em class="parameter"><code>controller</code></em>
|
221
221
|
, so it can be interpreted
|
222
222
|
and the controller actions triggered.</p>
|
@@ -236,7 +236,7 @@ and the controller actions triggered.</p>
|
|
236
236
|
</tr>
|
237
237
|
<tr>
|
238
238
|
<td class="parameter_name"><p>event</p></td>
|
239
|
-
<td class="parameter_description"><p>a <
|
239
|
+
<td class="parameter_description"><p>a <span class="type">GdkEvent</span></p></td>
|
240
240
|
<td class="parameter_annotations"> </td>
|
241
241
|
</tr>
|
242
242
|
</tbody>
|
@@ -381,7 +381,7 @@ will be dropped at this point.</p>
|
|
381
381
|
<div class="refsect2">
|
382
382
|
<a name="GtkEventController--widget"></a><h3>The <code class="literal">“widget”</code> property</h3>
|
383
383
|
<pre class="programlisting"> “widget” <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
|
384
|
-
<p>The widget receiving the <
|
384
|
+
<p>The widget receiving the <span class="type">GdkEvents</span> that the controller will handle.</p>
|
385
385
|
<p>Flags: Read / Write / Construct Only</p>
|
386
386
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
387
387
|
</div>
|
@@ -53,7 +53,7 @@
|
|
53
53
|
</tr>
|
54
54
|
<tr>
|
55
55
|
<td class="function_type">
|
56
|
-
<
|
56
|
+
<span class="returnvalue">GdkGLContext</span> *
|
57
57
|
</td>
|
58
58
|
<td class="function_name">
|
59
59
|
<a class="link" href="GtkGLArea.html#gtk-gl-area-get-context" title="gtk_gl_area_get_context ()">gtk_gl_area_get_context</a> <span class="c_punctuation">()</span>
|
@@ -214,7 +214,7 @@
|
|
214
214
|
</tr>
|
215
215
|
<tr>
|
216
216
|
<td class="property_type">
|
217
|
-
<
|
217
|
+
<span class="type">GdkGLContext</span> *</td>
|
218
218
|
<td class="property_name"><a class="link" href="GtkGLArea.html#GtkGLArea--context" title="The “context” property">context</a></td>
|
219
219
|
<td class="property_flags">Read</td>
|
220
220
|
</tr>
|
@@ -252,7 +252,7 @@
|
|
252
252
|
<tbody>
|
253
253
|
<tr>
|
254
254
|
<td class="signal_type">
|
255
|
-
<
|
255
|
+
<span class="returnvalue">GdkGLContext</span>*</td>
|
256
256
|
<td class="signal_name"><a class="link" href="GtkGLArea.html#GtkGLArea-create-context" title="The “create-context” signal">create-context</a></td>
|
257
257
|
<td class="signal_flags">Run Last</td>
|
258
258
|
</tr>
|
@@ -310,7 +310,7 @@ GtkGLArea implements
|
|
310
310
|
<div class="refsect1">
|
311
311
|
<a name="GtkGLArea.description"></a><h2>Description</h2>
|
312
312
|
<p><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> is a widget that allows drawing with OpenGL.</p>
|
313
|
-
<p><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> sets up its own <
|
313
|
+
<p><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> sets up its own <span class="type">GdkGLContext</span> for the window it creates, and
|
314
314
|
creates a custom GL framebuffer that the widget will do GL rendering onto.
|
315
315
|
It also ensures that this framebuffer is the default GL rendering target
|
316
316
|
when rendering.</p>
|
@@ -318,7 +318,7 @@ when rendering.</p>
|
|
318
318
|
or subclass <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> and override the <em class="parameter"><code>GtkGLAreaClass.render()</code></em>
|
319
319
|
virtual
|
320
320
|
function.</p>
|
321
|
-
<p>The <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget ensures that the <
|
321
|
+
<p>The <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget ensures that the <span class="type">GdkGLContext</span> is associated with
|
322
322
|
the widget's drawing area, and it is kept updated when the size and
|
323
323
|
position of the drawing area changes.</p>
|
324
324
|
<div class="refsect3">
|
@@ -400,7 +400,7 @@ for you to draw its content:</p>
|
|
400
400
|
<p>If you need to initialize OpenGL state, e.g. buffer objects or
|
401
401
|
shaders, you should use the <a class="link" href="GtkWidget.html#GtkWidget-realize" title="The “realize” signal"><span class="type">“realize”</span></a> signal; you
|
402
402
|
can use the <a class="link" href="GtkWidget.html#GtkWidget-unrealize" title="The “unrealize” signal"><span class="type">“unrealize”</span></a> signal to clean up. Since the
|
403
|
-
<
|
403
|
+
<span class="type">GdkGLContext</span> creation and initialization may fail, you will
|
404
404
|
need to check for errors, using <a class="link" href="GtkGLArea.html#gtk-gl-area-get-error" title="gtk_gl_area_get_error ()"><code class="function">gtk_gl_area_get_error()</code></a>. An example
|
405
405
|
of how to safely initialize the GL state is:</p>
|
406
406
|
<div class="informalexample">
|
@@ -479,7 +479,7 @@ of how to safely initialize the GL state is:</p>
|
|
479
479
|
</div>
|
480
480
|
|
481
481
|
<p></p>
|
482
|
-
<p>If you need to change the options for creating the <
|
482
|
+
<p>If you need to change the options for creating the <span class="type">GdkGLContext</span>
|
483
483
|
you should use the <a class="link" href="GtkGLArea.html#GtkGLArea-create-context" title="The “create-context” signal"><span class="type">“create-context”</span></a> signal.</p>
|
484
484
|
</div>
|
485
485
|
</div>
|
@@ -492,17 +492,16 @@ gtk_gl_area_new (<em class="parameter"><code><span class="type">void</span></cod
|
|
492
492
|
<p>Creates a new <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget.</p>
|
493
493
|
<div class="refsect3">
|
494
494
|
<a name="gtk-gl-area-new.returns"></a><h4>Returns</h4>
|
495
|
-
<p>
|
496
|
-
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
495
|
+
<p> a new <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a></p>
|
497
496
|
</div>
|
498
497
|
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
499
498
|
</div>
|
500
499
|
<hr>
|
501
500
|
<div class="refsect2">
|
502
501
|
<a name="gtk-gl-area-get-context"></a><h3>gtk_gl_area_get_context ()</h3>
|
503
|
-
<pre class="programlisting"><
|
502
|
+
<pre class="programlisting"><span class="returnvalue">GdkGLContext</span> *
|
504
503
|
gtk_gl_area_get_context (<em class="parameter"><code><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area</code></em>);</pre>
|
505
|
-
<p>Retrieves the <
|
504
|
+
<p>Retrieves the <span class="type">GdkGLContext</span> used by <em class="parameter"><code>area</code></em>
|
506
505
|
.</p>
|
507
506
|
<div class="refsect3">
|
508
507
|
<a name="gtk-gl-area-get-context.parameters"></a><h4>Parameters</h4>
|
@@ -521,7 +520,7 @@ gtk_gl_area_get_context (<em class="parameter"><code><a class="link" href="GtkGL
|
|
521
520
|
</div>
|
522
521
|
<div class="refsect3">
|
523
522
|
<a name="gtk-gl-area-get-context.returns"></a><h4>Returns</h4>
|
524
|
-
<p>the <
|
523
|
+
<p>the <span class="type">GdkGLContext</span>. </p>
|
525
524
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
526
525
|
</div>
|
527
526
|
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
@@ -531,7 +530,7 @@ gtk_gl_area_get_context (<em class="parameter"><code><a class="link" href="GtkGL
|
|
531
530
|
<a name="gtk-gl-area-make-current"></a><h3>gtk_gl_area_make_current ()</h3>
|
532
531
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
533
532
|
gtk_gl_area_make_current (<em class="parameter"><code><a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area</code></em>);</pre>
|
534
|
-
<p>Ensures that the <
|
533
|
+
<p>Ensures that the <span class="type">GdkGLContext</span> used by <em class="parameter"><code>area</code></em>
|
535
534
|
is associated with
|
536
535
|
the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a>.</p>
|
537
536
|
<p>This function is automatically called before emitting the
|
@@ -1016,7 +1015,7 @@ gtk_gl_area_set_use_es (<em class="parameter"><code><a class="link" href="GtkGLA
|
|
1016
1015
|
<em class="parameter"><code><span class="type">gboolean</span> use_es</code></em>);</pre>
|
1017
1016
|
<p>Sets whether the <em class="parameter"><code>area</code></em>
|
1018
1017
|
should create an OpenGL or an OpenGL ES context.</p>
|
1019
|
-
<p>You should check the capabilities of the <
|
1018
|
+
<p>You should check the capabilities of the <span class="type">GdkGLContext</span> before drawing
|
1020
1019
|
with either API.</p>
|
1021
1020
|
<div class="refsect3">
|
1022
1021
|
<a name="gtk-gl-area-set-use-es.parameters"></a><h4>Parameters</h4>
|
@@ -1142,9 +1141,9 @@ to redraw.</p>
|
|
1142
1141
|
<hr>
|
1143
1142
|
<div class="refsect2">
|
1144
1143
|
<a name="GtkGLArea--context"></a><h3>The <code class="literal">“context”</code> property</h3>
|
1145
|
-
<pre class="programlisting"> “context” <
|
1146
|
-
<p>The <
|
1147
|
-
<p>The <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget is responsible for creating the <
|
1144
|
+
<pre class="programlisting"> “context” <span class="type">GdkGLContext</span> *</pre>
|
1145
|
+
<p>The <span class="type">GdkGLContext</span> used by the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget.</p>
|
1146
|
+
<p>The <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget is responsible for creating the <span class="type">GdkGLContext</span>
|
1148
1147
|
instance. If you need to render with other kinds of buffers (stencil,
|
1149
1148
|
depth, etc), use render buffers.</p>
|
1150
1149
|
<p>Flags: Read</p>
|
@@ -1187,9 +1186,9 @@ target framebuffer.</p>
|
|
1187
1186
|
<div class="refsect2">
|
1188
1187
|
<a name="GtkGLArea--use-es"></a><h3>The <code class="literal">“use-es”</code> property</h3>
|
1189
1188
|
<pre class="programlisting"> “use-es” <span class="type">gboolean</span></pre>
|
1190
|
-
<p>If set to <code class="literal">TRUE</code> the widget will try to create a <
|
1189
|
+
<p>If set to <code class="literal">TRUE</code> the widget will try to create a <span class="type">GdkGLContext</span> using
|
1191
1190
|
OpenGL ES instead of OpenGL.</p>
|
1192
|
-
<p>See also: <
|
1191
|
+
<p>See also: <code class="function">gdk_gl_context_set_use_es()</code></p>
|
1193
1192
|
<p>Flags: Read / Write</p>
|
1194
1193
|
<p>Default value: FALSE</p>
|
1195
1194
|
<p class="since">Since: <a class="link" href="api-index-3-22.html#api-index-3.22">3.22</a></p>
|
@@ -1199,7 +1198,7 @@ OpenGL ES instead of OpenGL.</p>
|
|
1199
1198
|
<a name="GtkGLArea.signal-details"></a><h2>Signal Details</h2>
|
1200
1199
|
<div class="refsect2">
|
1201
1200
|
<a name="GtkGLArea-create-context"></a><h3>The <code class="literal">“create-context”</code> signal</h3>
|
1202
|
-
<pre class="programlisting"><
|
1201
|
+
<pre class="programlisting"><span class="returnvalue">GdkGLContext</span>*
|
1203
1202
|
user_function (<a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area,
|
1204
1203
|
<span class="type">gpointer</span> user_data)</pre>
|
1205
1204
|
<p>The ::create-context signal is emitted when the widget is being
|
@@ -1239,7 +1238,7 @@ of how the construction failed.</p>
|
|
1239
1238
|
</div>
|
1240
1239
|
<div class="refsect3">
|
1241
1240
|
<a name="GtkGLArea-create-context.returns"></a><h4>Returns</h4>
|
1242
|
-
<p>a newly created <
|
1241
|
+
<p>a newly created <span class="type">GdkGLContext</span>;
|
1243
1242
|
the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> widget will take ownership of the returned value. </p>
|
1244
1243
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1245
1244
|
</div>
|
@@ -1251,7 +1250,7 @@ the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">G
|
|
1251
1250
|
<a name="GtkGLArea-render"></a><h3>The <code class="literal">“render”</code> signal</h3>
|
1252
1251
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1253
1252
|
user_function (<a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> *area,
|
1254
|
-
<
|
1253
|
+
<span class="type">GdkGLContext</span> *context,
|
1255
1254
|
<span class="type">gpointer</span> user_data)</pre>
|
1256
1255
|
<p>The ::render signal is emitted every time the contents
|
1257
1256
|
of the <a class="link" href="GtkGLArea.html" title="GtkGLArea"><span class="type">GtkGLArea</span></a> should be redrawn.</p>
|
@@ -1275,7 +1274,7 @@ and the buffers are painted to the window once the emission terminates.</p>
|
|
1275
1274
|
</tr>
|
1276
1275
|
<tr>
|
1277
1276
|
<td class="parameter_name"><p>context</p></td>
|
1278
|
-
<td class="parameter_description"><p>the <
|
1277
|
+
<td class="parameter_description"><p>the <span class="type">GdkGLContext</span> used by <em class="parameter"><code>area</code></em>
|
1279
1278
|
</p></td>
|
1280
1279
|
<td class="parameter_annotations"> </td>
|
1281
1280
|
</tr>
|
@@ -44,7 +44,7 @@
|
|
44
44
|
<tbody>
|
45
45
|
<tr>
|
46
46
|
<td class="function_type">
|
47
|
-
<
|
47
|
+
<span class="returnvalue">GdkDevice</span> *
|
48
48
|
</td>
|
49
49
|
<td class="function_name">
|
50
50
|
<a class="link" href="GtkGesture.html#gtk-gesture-get-device" title="gtk_gesture_get_device ()">gtk_gesture_get_device</a> <span class="c_punctuation">()</span>
|
@@ -52,7 +52,7 @@
|
|
52
52
|
</tr>
|
53
53
|
<tr>
|
54
54
|
<td class="function_type">
|
55
|
-
<
|
55
|
+
<span class="returnvalue">GdkWindow</span> *
|
56
56
|
</td>
|
57
57
|
<td class="function_name">
|
58
58
|
<a class="link" href="GtkGesture.html#gtk-gesture-get-window" title="gtk_gesture_get_window ()">gtk_gesture_get_window</a> <span class="c_punctuation">()</span>
|
@@ -124,14 +124,14 @@
|
|
124
124
|
</tr>
|
125
125
|
<tr>
|
126
126
|
<td class="function_type">
|
127
|
-
<
|
127
|
+
<span class="returnvalue">GdkEventSequence</span> *
|
128
128
|
</td>
|
129
129
|
<td class="function_name">
|
130
130
|
<a class="link" href="GtkGesture.html#gtk-gesture-get-last-updated-sequence" title="gtk_gesture_get_last_updated_sequence ()">gtk_gesture_get_last_updated_sequence</a> <span class="c_punctuation">()</span>
|
131
131
|
</td>
|
132
132
|
</tr>
|
133
133
|
<tr>
|
134
|
-
<td class="function_type">const <
|
134
|
+
<td class="function_type">const <span class="returnvalue">GdkEvent</span> *
|
135
135
|
</td>
|
136
136
|
<td class="function_name">
|
137
137
|
<a class="link" href="GtkGesture.html#gtk-gesture-get-last-event" title="gtk_gesture_get_last_event ()">gtk_gesture_get_last_event</a> <span class="c_punctuation">()</span>
|
@@ -212,7 +212,7 @@
|
|
212
212
|
</tr>
|
213
213
|
<tr>
|
214
214
|
<td class="property_type">
|
215
|
-
<
|
215
|
+
<span class="type">GdkWindow</span> *</td>
|
216
216
|
<td class="property_name"><a class="link" href="GtkGesture.html#GtkGesture--window" title="The “window” property">window</a></td>
|
217
217
|
<td class="property_flags">Read / Write</td>
|
218
218
|
</tr>
|
@@ -295,7 +295,7 @@
|
|
295
295
|
<p><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> is the base object for gesture recognition, although this
|
296
296
|
object is quite generalized to serve as a base for multi-touch gestures,
|
297
297
|
it is suitable to implement single-touch and pointer-based gestures (using
|
298
|
-
the special <code class="literal">NULL</code> <
|
298
|
+
the special <code class="literal">NULL</code> <span class="type">GdkEventSequence</span> value for these).</p>
|
299
299
|
<p>The number of touches that a <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> need to be recognized is controlled
|
300
300
|
by the <a class="link" href="GtkGesture.html#GtkGesture--n-points" title="The “n-points” property"><span class="type">“n-points”</span></a> property, if a gesture is keeping track of less
|
301
301
|
or more than that number of sequences, it won't check wether the gesture
|
@@ -332,7 +332,7 @@ a chance to interact with events that have not been handled yet.</p>
|
|
332
332
|
<a href="GtkGesture.html#GtkGesture-struct"><span class="type">GtkGestures</span></a>, both across the parents of the widget receiving the event and
|
333
333
|
in parallel within an individual widget. It is a responsibility of the
|
334
334
|
widgets using those gestures to set the state of touch sequences accordingly
|
335
|
-
in order to enable cooperation of gestures around the <
|
335
|
+
in order to enable cooperation of gestures around the <span class="type">GdkEventSequences</span>
|
336
336
|
triggering those.</p>
|
337
337
|
<p>Within a widget, gestures can be grouped through <a class="link" href="GtkGesture.html#gtk-gesture-group" title="gtk_gesture_group ()"><code class="function">gtk_gesture_group()</code></a>,
|
338
338
|
grouped gestures synchronize the state of sequences, so calling
|
@@ -356,13 +356,13 @@ propagation chain.</p></li>
|
|
356
356
|
<li class="listitem"><p>Stopping event propagation after the gesture group handles the event.</p></li>
|
357
357
|
</ul></div>
|
358
358
|
<p>Note: if a sequence is set early to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-CLAIMED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_CLAIMED</span></a> on
|
359
|
-
<
|
359
|
+
<span class="type">GDK_TOUCH_BEGIN</span>/<span class="type">GDK_BUTTON_PRESS</span> (so those events are captured before
|
360
360
|
reaching the event widget, this implies <a class="link" href="GtkEventController.html#GTK-PHASE-CAPTURE:CAPS"><span class="type">GTK_PHASE_CAPTURE</span></a>), one similar
|
361
361
|
event will emulated if the sequence changes to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-DENIED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_DENIED</span></a>.
|
362
362
|
This way event coherence is preserved before event propagation is unstopped
|
363
363
|
again.</p>
|
364
364
|
<p>Sequence states can't be changed freely, see <a class="link" href="GtkGesture.html#gtk-gesture-set-sequence-state" title="gtk_gesture_set_sequence_state ()"><code class="function">gtk_gesture_set_sequence_state()</code></a>
|
365
|
-
to know about the possible lifetimes of a <
|
365
|
+
to know about the possible lifetimes of a <span class="type">GdkEventSequence</span>.</p>
|
366
366
|
</div>
|
367
367
|
<div class="refsect3">
|
368
368
|
<a name="id-1.3.24.3.9.9"></a><h4>Touchpad gestures</h4>
|
@@ -370,9 +370,9 @@ to know about the possible lifetimes of a <a href="../html/gdk3-Events.html#GdkE
|
|
370
370
|
touchpad gesture events. The only precautions users of <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> should do
|
371
371
|
to enable this support are:</p>
|
372
372
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
373
|
-
<li class="listitem"><p>Enabling <
|
373
|
+
<li class="listitem"><p>Enabling <code class="literal">GDK_TOUCHPAD_GESTURE_MASK</code> on their <span class="type">GdkWindows</span></p></li>
|
374
374
|
<li class="listitem"><p>If the gesture has <a class="link" href="GtkEventController.html#GTK-PHASE-NONE:CAPS"><code class="literal">GTK_PHASE_NONE</code></a>, ensuring events of type
|
375
|
-
<
|
375
|
+
<code class="literal">GDK_TOUCHPAD_SWIPE</code> and <code class="literal">GDK_TOUCHPAD_PINCH</code> are handled by the <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a></p></li>
|
376
376
|
</ul></div>
|
377
377
|
</div>
|
378
378
|
</div>
|
@@ -380,9 +380,9 @@ to enable this support are:</p>
|
|
380
380
|
<a name="GtkGesture.functions_details"></a><h2>Functions</h2>
|
381
381
|
<div class="refsect2">
|
382
382
|
<a name="gtk-gesture-get-device"></a><h3>gtk_gesture_get_device ()</h3>
|
383
|
-
<pre class="programlisting"><
|
383
|
+
<pre class="programlisting"><span class="returnvalue">GdkDevice</span> *
|
384
384
|
gtk_gesture_get_device (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>);</pre>
|
385
|
-
<p>Returns the master <
|
385
|
+
<p>Returns the master <span class="type">GdkDevice</span> that is currently operating
|
386
386
|
on <em class="parameter"><code>gesture</code></em>
|
387
387
|
, or <code class="literal">NULL</code> if the gesture is not being interacted.</p>
|
388
388
|
<div class="refsect3">
|
@@ -402,7 +402,7 @@ on <em class="parameter"><code>gesture</code></em>
|
|
402
402
|
</div>
|
403
403
|
<div class="refsect3">
|
404
404
|
<a name="gtk-gesture-get-device.returns"></a><h4>Returns</h4>
|
405
|
-
<p>a <
|
405
|
+
<p>a <span class="type">GdkDevice</span>, or <code class="literal">NULL</code>. </p>
|
406
406
|
<p><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>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
407
407
|
</div>
|
408
408
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
@@ -410,7 +410,7 @@ on <em class="parameter"><code>gesture</code></em>
|
|
410
410
|
<hr>
|
411
411
|
<div class="refsect2">
|
412
412
|
<a name="gtk-gesture-get-window"></a><h3>gtk_gesture_get_window ()</h3>
|
413
|
-
<pre class="programlisting"><
|
413
|
+
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
414
414
|
gtk_gesture_get_window (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>);</pre>
|
415
415
|
<p>Returns the user-defined window that receives the events
|
416
416
|
handled by <em class="parameter"><code>gesture</code></em>
|
@@ -443,7 +443,7 @@ information.</p>
|
|
443
443
|
<a name="gtk-gesture-set-window"></a><h3>gtk_gesture_set_window ()</h3>
|
444
444
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
445
445
|
gtk_gesture_set_window (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
446
|
-
<em class="parameter"><code><
|
446
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
447
447
|
<p>Sets a specific window to receive events about, so <em class="parameter"><code>gesture</code></em>
|
448
448
|
|
449
449
|
will effectively handle only events targeting <em class="parameter"><code>window</code></em>
|
@@ -466,7 +466,7 @@ a child of it. <em class="parameter"><code>window</code></em>
|
|
466
466
|
</tr>
|
467
467
|
<tr>
|
468
468
|
<td class="parameter_name"><p>window</p></td>
|
469
|
-
<td class="parameter_description"><p>a <
|
469
|
+
<td class="parameter_description"><p>a <span class="type">GdkWindow</span>, or <code class="literal">NULL</code>. </p></td>
|
470
470
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
471
471
|
</tr>
|
472
472
|
</tbody>
|
@@ -539,7 +539,7 @@ returned <code class="literal">TRUE</code> for the sequences being currently int
|
|
539
539
|
<a name="gtk-gesture-get-sequence-state"></a><h3>gtk_gesture_get_sequence_state ()</h3>
|
540
540
|
<pre class="programlisting"><a class="link" href="GtkGesture.html#GtkEventSequenceState" title="enum GtkEventSequenceState"><span class="returnvalue">GtkEventSequenceState</span></a>
|
541
541
|
gtk_gesture_get_sequence_state (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
542
|
-
<em class="parameter"><code><
|
542
|
+
<em class="parameter"><code><span class="type">GdkEventSequence</span> *sequence</code></em>);</pre>
|
543
543
|
<p>Returns the <em class="parameter"><code>sequence</code></em>
|
544
544
|
state, as seen by <em class="parameter"><code>gesture</code></em>
|
545
545
|
.</p>
|
@@ -559,7 +559,7 @@ gtk_gesture_get_sequence_state (<em class="parameter"><code><a class="link" href
|
|
559
559
|
</tr>
|
560
560
|
<tr>
|
561
561
|
<td class="parameter_name"><p>sequence</p></td>
|
562
|
-
<td class="parameter_description"><p>a <
|
562
|
+
<td class="parameter_description"><p>a <span class="type">GdkEventSequence</span></p></td>
|
563
563
|
<td class="parameter_annotations"> </td>
|
564
564
|
</tr>
|
565
565
|
</tbody>
|
@@ -577,7 +577,7 @@ gtk_gesture_get_sequence_state (<em class="parameter"><code><a class="link" href
|
|
577
577
|
<a name="gtk-gesture-set-sequence-state"></a><h3>gtk_gesture_set_sequence_state ()</h3>
|
578
578
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
579
579
|
gtk_gesture_set_sequence_state (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
580
|
-
<em class="parameter"><code><
|
580
|
+
<em class="parameter"><code><span class="type">GdkEventSequence</span> *sequence</code></em>,
|
581
581
|
<em class="parameter"><code><a class="link" href="GtkGesture.html#GtkEventSequenceState" title="enum GtkEventSequenceState"><span class="type">GtkEventSequenceState</span></a> state</code></em>);</pre>
|
582
582
|
<p>Sets the state of <em class="parameter"><code>sequence</code></em>
|
583
583
|
in <em class="parameter"><code>gesture</code></em>
|
@@ -662,7 +662,7 @@ gesture processes the event.</p>
|
|
662
662
|
</tr>
|
663
663
|
<tr>
|
664
664
|
<td class="parameter_name"><p>sequence</p></td>
|
665
|
-
<td class="parameter_description"><p>a <
|
665
|
+
<td class="parameter_description"><p>a <span class="type">GdkEventSequence</span></p></td>
|
666
666
|
<td class="parameter_annotations"> </td>
|
667
667
|
</tr>
|
668
668
|
<tr>
|
@@ -726,7 +726,7 @@ was changed successfully</p>
|
|
726
726
|
<a name="gtk-gesture-get-sequences"></a><h3>gtk_gesture_get_sequences ()</h3>
|
727
727
|
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
728
728
|
gtk_gesture_get_sequences (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>);</pre>
|
729
|
-
<p>Returns the list of <
|
729
|
+
<p>Returns the list of <span class="type">GdkEventSequences</span> currently being interpreted
|
730
730
|
by <em class="parameter"><code>gesture</code></em>
|
731
731
|
.</p>
|
732
732
|
<div class="refsect3">
|
@@ -747,7 +747,7 @@ by <em class="parameter"><code>gesture</code></em>
|
|
747
747
|
<div class="refsect3">
|
748
748
|
<a name="gtk-gesture-get-sequences.returns"></a><h4>Returns</h4>
|
749
749
|
<p>A list
|
750
|
-
of <
|
750
|
+
of <span class="type">GdkEventSequences</span>, the list elements are owned by GTK+
|
751
751
|
and must not be freed or modified, the list itself must be deleted
|
752
752
|
through <code class="function">g_list_free()</code>. </p>
|
753
753
|
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GdkEventSequence]</span></p>
|
@@ -759,7 +759,7 @@ through <code class="function">g_list_free()</code>. </p>
|
|
759
759
|
<a name="gtk-gesture-handles-sequence"></a><h3>gtk_gesture_handles_sequence ()</h3>
|
760
760
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
761
761
|
gtk_gesture_handles_sequence (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
762
|
-
<em class="parameter"><code><
|
762
|
+
<em class="parameter"><code><span class="type">GdkEventSequence</span> *sequence</code></em>);</pre>
|
763
763
|
<p>Returns <code class="literal">TRUE</code> if <em class="parameter"><code>gesture</code></em>
|
764
764
|
is currently handling events corresponding to
|
765
765
|
<em class="parameter"><code>sequence</code></em>
|
@@ -780,7 +780,7 @@ gtk_gesture_handles_sequence (<em class="parameter"><code><a class="link" href="
|
|
780
780
|
</tr>
|
781
781
|
<tr>
|
782
782
|
<td class="parameter_name"><p>sequence</p></td>
|
783
|
-
<td class="parameter_description"><p>a <
|
783
|
+
<td class="parameter_description"><p>a <span class="type">GdkEventSequence</span> or <code class="literal">NULL</code>. </p></td>
|
784
784
|
<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>
|
785
785
|
</tr>
|
786
786
|
</tbody>
|
@@ -797,9 +797,9 @@ is handling <em class="parameter"><code>sequence</code></em>
|
|
797
797
|
<hr>
|
798
798
|
<div class="refsect2">
|
799
799
|
<a name="gtk-gesture-get-last-updated-sequence"></a><h3>gtk_gesture_get_last_updated_sequence ()</h3>
|
800
|
-
<pre class="programlisting"><
|
800
|
+
<pre class="programlisting"><span class="returnvalue">GdkEventSequence</span> *
|
801
801
|
gtk_gesture_get_last_updated_sequence (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>);</pre>
|
802
|
-
<p>Returns the <
|
802
|
+
<p>Returns the <span class="type">GdkEventSequence</span> that was last updated on <em class="parameter"><code>gesture</code></em>
|
803
803
|
.</p>
|
804
804
|
<div class="refsect3">
|
805
805
|
<a name="gtk-gesture-get-last-updated-sequence.parameters"></a><h4>Parameters</h4>
|
@@ -826,9 +826,9 @@ gtk_gesture_get_last_updated_sequence (<em class="parameter"><code><a class="lin
|
|
826
826
|
<hr>
|
827
827
|
<div class="refsect2">
|
828
828
|
<a name="gtk-gesture-get-last-event"></a><h3>gtk_gesture_get_last_event ()</h3>
|
829
|
-
<pre class="programlisting">const <
|
829
|
+
<pre class="programlisting">const <span class="returnvalue">GdkEvent</span> *
|
830
830
|
gtk_gesture_get_last_event (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
831
|
-
<em class="parameter"><code><
|
831
|
+
<em class="parameter"><code><span class="type">GdkEventSequence</span> *sequence</code></em>);</pre>
|
832
832
|
<p>Returns the last event that was processed for <em class="parameter"><code>sequence</code></em>
|
833
833
|
.</p>
|
834
834
|
<p>Note that the returned pointer is only valid as long as the <em class="parameter"><code>sequence</code></em>
|
@@ -852,7 +852,7 @@ a copy of the event.</p>
|
|
852
852
|
</tr>
|
853
853
|
<tr>
|
854
854
|
<td class="parameter_name"><p>sequence</p></td>
|
855
|
-
<td class="parameter_description"><p>a <
|
855
|
+
<td class="parameter_description"><p>a <span class="type">GdkEventSequence</span></p></td>
|
856
856
|
<td class="parameter_annotations"> </td>
|
857
857
|
</tr>
|
858
858
|
</tbody>
|
@@ -870,7 +870,7 @@ a copy of the event.</p>
|
|
870
870
|
<a name="gtk-gesture-get-point"></a><h3>gtk_gesture_get_point ()</h3>
|
871
871
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
872
872
|
gtk_gesture_get_point (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
873
|
-
<em class="parameter"><code><
|
873
|
+
<em class="parameter"><code><span class="type">GdkEventSequence</span> *sequence</code></em>,
|
874
874
|
<em class="parameter"><code><span class="type">gdouble</span> *x</code></em>,
|
875
875
|
<em class="parameter"><code><span class="type">gdouble</span> *y</code></em>);</pre>
|
876
876
|
<p>If <em class="parameter"><code>sequence</code></em>
|
@@ -897,7 +897,7 @@ widget allocation.</p>
|
|
897
897
|
</tr>
|
898
898
|
<tr>
|
899
899
|
<td class="parameter_name"><p>sequence</p></td>
|
900
|
-
<td class="parameter_description"><p>a <
|
900
|
+
<td class="parameter_description"><p>a <span class="type">GdkEventSequence</span>, or <code class="literal">NULL</code> for pointer events. </p></td>
|
901
901
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
902
902
|
</tr>
|
903
903
|
<tr>
|
@@ -925,7 +925,7 @@ is currently interpreted</p>
|
|
925
925
|
<a name="gtk-gesture-get-bounding-box"></a><h3>gtk_gesture_get_bounding_box ()</h3>
|
926
926
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
927
927
|
gtk_gesture_get_bounding_box (<em class="parameter"><code><a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture</code></em>,
|
928
|
-
<em class="parameter"><code><
|
928
|
+
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
929
929
|
<p>If there are touch sequences being currently handled by <em class="parameter"><code>gesture</code></em>
|
930
930
|
,
|
931
931
|
this function returns <code class="literal">TRUE</code> and fills in <em class="parameter"><code>rect</code></em>
|
@@ -1023,11 +1023,11 @@ gtk_gesture_group (<em class="parameter"><code><a class="link" href="GtkGesture.
|
|
1023
1023
|
to the same group than <em class="parameter"><code>group_gesture</code></em>
|
1024
1024
|
. Gestures
|
1025
1025
|
are by default isolated in their own groups.</p>
|
1026
|
-
<p>When gestures are grouped, the state of <
|
1026
|
+
<p>When gestures are grouped, the state of <span class="type">GdkEventSequences</span>
|
1027
1027
|
is kept in sync for all of those, so calling <a class="link" href="GtkGesture.html#gtk-gesture-set-sequence-state" title="gtk_gesture_set_sequence_state ()"><code class="function">gtk_gesture_set_sequence_state()</code></a>,
|
1028
1028
|
on one will transfer the same value to the others.</p>
|
1029
1029
|
<p>Groups also perform an "implicit grabbing" of sequences, if a
|
1030
|
-
<
|
1030
|
+
<span class="type">GdkEventSequence</span> state is set to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-CLAIMED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_CLAIMED</span></a> on one group,
|
1031
1031
|
every other gesture group attached to the same <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> will switch the
|
1032
1032
|
state for that sequence to <a class="link" href="GtkGesture.html#GTK-EVENT-SEQUENCE-DENIED:CAPS"><span class="type">GTK_EVENT_SEQUENCE_DENIED</span></a>.</p>
|
1033
1033
|
<div class="refsect3">
|
@@ -1154,7 +1154,7 @@ gtk_gesture_is_grouped_with (<em class="parameter"><code><a class="link" href="G
|
|
1154
1154
|
<hr>
|
1155
1155
|
<div class="refsect2">
|
1156
1156
|
<a name="GtkEventSequenceState"></a><h3>enum GtkEventSequenceState</h3>
|
1157
|
-
<p>Describes the state of a <
|
1157
|
+
<p>Describes the state of a <span class="type">GdkEventSequence</span> in a <a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a>.</p>
|
1158
1158
|
<div class="refsect3">
|
1159
1159
|
<a name="GtkEventSequenceState.members"></a><h4>Members</h4>
|
1160
1160
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1205,9 +1205,9 @@ gtk_gesture_is_grouped_with (<em class="parameter"><code><a class="link" href="G
|
|
1205
1205
|
<hr>
|
1206
1206
|
<div class="refsect2">
|
1207
1207
|
<a name="GtkGesture--window"></a><h3>The <code class="literal">“window”</code> property</h3>
|
1208
|
-
<pre class="programlisting"> “window” <
|
1208
|
+
<pre class="programlisting"> “window” <span class="type">GdkWindow</span> *</pre>
|
1209
1209
|
<p>If non-<code class="literal">NULL</code>, the gesture will only listen for events that happen on
|
1210
|
-
this <
|
1210
|
+
this <span class="type">GdkWindow</span>, or a child of it.</p>
|
1211
1211
|
<p>Flags: Read / Write</p>
|
1212
1212
|
<p class="since">Since: <a class="link" href="api-index-3-14.html#api-index-3.14">3.14</a></p>
|
1213
1213
|
</div>
|
@@ -1218,7 +1218,7 @@ this <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">Gdk
|
|
1218
1218
|
<a name="GtkGesture-begin"></a><h3>The <code class="literal">“begin”</code> signal</h3>
|
1219
1219
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1220
1220
|
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
1221
|
-
<
|
1221
|
+
<span class="type">GdkEventSequence</span> *sequence,
|
1222
1222
|
<span class="type">gpointer</span> user_data)</pre>
|
1223
1223
|
<p>This signal is emitted when the gesture is recognized. This means the
|
1224
1224
|
number of touch sequences matches <a class="link" href="GtkGesture.html#GtkGesture--n-points" title="The “n-points” property"><span class="type">“n-points”</span></a>, and the <span class="type">“check”</span>
|
@@ -1243,7 +1243,7 @@ to the current set of active touches, so don't rely on this being true.</p>
|
|
1243
1243
|
</tr>
|
1244
1244
|
<tr>
|
1245
1245
|
<td class="parameter_name"><p>sequence</p></td>
|
1246
|
-
<td class="parameter_description"><p>the <
|
1246
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventSequence</span> that made the gesture to be recognized</p></td>
|
1247
1247
|
<td class="parameter_annotations"> </td>
|
1248
1248
|
</tr>
|
1249
1249
|
<tr>
|
@@ -1262,7 +1262,7 @@ to the current set of active touches, so don't rely on this being true.</p>
|
|
1262
1262
|
<a name="GtkGesture-cancel"></a><h3>The <code class="literal">“cancel”</code> signal</h3>
|
1263
1263
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1264
1264
|
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
1265
|
-
<
|
1265
|
+
<span class="type">GdkEventSequence</span> *sequence,
|
1266
1266
|
<span class="type">gpointer</span> user_data)</pre>
|
1267
1267
|
<p>This signal is emitted whenever a sequence is cancelled. This usually
|
1268
1268
|
happens on active touches when <a class="link" href="GtkEventController.html#gtk-event-controller-reset" title="gtk_event_controller_reset ()"><code class="function">gtk_event_controller_reset()</code></a> is called
|
@@ -1289,7 +1289,7 @@ was claimed by parent widgets' controllers (see <a class="link" href="GtkGesture
|
|
1289
1289
|
</tr>
|
1290
1290
|
<tr>
|
1291
1291
|
<td class="parameter_name"><p>sequence</p></td>
|
1292
|
-
<td class="parameter_description"><p>the <
|
1292
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventSequence</span> that was cancelled</p></td>
|
1293
1293
|
<td class="parameter_annotations"> </td>
|
1294
1294
|
</tr>
|
1295
1295
|
<tr>
|
@@ -1308,7 +1308,7 @@ was claimed by parent widgets' controllers (see <a class="link" href="GtkGesture
|
|
1308
1308
|
<a name="GtkGesture-end"></a><h3>The <code class="literal">“end”</code> signal</h3>
|
1309
1309
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1310
1310
|
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
1311
|
-
<
|
1311
|
+
<span class="type">GdkEventSequence</span> *sequence,
|
1312
1312
|
<span class="type">gpointer</span> user_data)</pre>
|
1313
1313
|
<p>This signal is emitted when <em class="parameter"><code>gesture</code></em>
|
1314
1314
|
either stopped recognizing the event
|
@@ -1337,7 +1337,7 @@ by checking through <a class="link" href="GtkGesture.html#gtk-gesture-handles-se
|
|
1337
1337
|
</tr>
|
1338
1338
|
<tr>
|
1339
1339
|
<td class="parameter_name"><p>sequence</p></td>
|
1340
|
-
<td class="parameter_description"><p>the <
|
1340
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventSequence</span> that made gesture recognition to finish</p></td>
|
1341
1341
|
<td class="parameter_annotations"> </td>
|
1342
1342
|
</tr>
|
1343
1343
|
<tr>
|
@@ -1356,7 +1356,7 @@ by checking through <a class="link" href="GtkGesture.html#gtk-gesture-handles-se
|
|
1356
1356
|
<a name="GtkGesture-sequence-state-changed"></a><h3>The <code class="literal">“sequence-state-changed”</code> signal</h3>
|
1357
1357
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1358
1358
|
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
1359
|
-
<
|
1359
|
+
<span class="type">GdkEventSequence</span> *sequence,
|
1360
1360
|
<a class="link" href="GtkGesture.html#GtkEventSequenceState" title="enum GtkEventSequenceState"><span class="type">GtkEventSequenceState</span></a> state,
|
1361
1361
|
<span class="type">gpointer</span> user_data)</pre>
|
1362
1362
|
<p>This signal is emitted whenever a sequence state changes. See
|
@@ -1378,7 +1378,7 @@ sequence lifetimes.</p>
|
|
1378
1378
|
</tr>
|
1379
1379
|
<tr>
|
1380
1380
|
<td class="parameter_name"><p>sequence</p></td>
|
1381
|
-
<td class="parameter_description"><p>the <
|
1381
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventSequence</span> that was cancelled</p></td>
|
1382
1382
|
<td class="parameter_annotations"> </td>
|
1383
1383
|
</tr>
|
1384
1384
|
<tr>
|
@@ -1402,7 +1402,7 @@ sequence lifetimes.</p>
|
|
1402
1402
|
<a name="GtkGesture-update"></a><h3>The <code class="literal">“update”</code> signal</h3>
|
1403
1403
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1404
1404
|
user_function (<a class="link" href="GtkGesture.html" title="GtkGesture"><span class="type">GtkGesture</span></a> *gesture,
|
1405
|
-
<
|
1405
|
+
<span class="type">GdkEventSequence</span> *sequence,
|
1406
1406
|
<span class="type">gpointer</span> user_data)</pre>
|
1407
1407
|
<p>This signal is emitted whenever an event is handled while the gesture is
|
1408
1408
|
recognized. <em class="parameter"><code>sequence</code></em>
|
@@ -1423,7 +1423,7 @@ recognized. <em class="parameter"><code>sequence</code></em>
|
|
1423
1423
|
</tr>
|
1424
1424
|
<tr>
|
1425
1425
|
<td class="parameter_name"><p>sequence</p></td>
|
1426
|
-
<td class="parameter_description"><p>the <
|
1426
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventSequence</span> that was updated</p></td>
|
1427
1427
|
<td class="parameter_annotations"> </td>
|
1428
1428
|
</tr>
|
1429
1429
|
<tr>
|