gdk3 3.2.5-x64-mingw32 → 3.2.6-x64-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
@@ -65,7 +65,7 @@
|
|
65
65
|
</tr>
|
66
66
|
<tr>
|
67
67
|
<td class="function_type">
|
68
|
-
<
|
68
|
+
<span class="returnvalue">GdkAtom</span>
|
69
69
|
</td>
|
70
70
|
<td class="function_name">
|
71
71
|
<a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-dest-find-target" title="gtk_drag_dest_find_target ()">gtk_drag_dest_find_target</a> <span class="c_punctuation">()</span>
|
@@ -169,7 +169,7 @@
|
|
169
169
|
</tr>
|
170
170
|
<tr>
|
171
171
|
<td class="function_type">
|
172
|
-
<
|
172
|
+
<span class="returnvalue">GdkDragContext</span> *
|
173
173
|
</td>
|
174
174
|
<td class="function_name">
|
175
175
|
<a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-begin" title="gtk_drag_begin ()">gtk_drag_begin</a> <span class="c_punctuation">()</span>
|
@@ -177,7 +177,7 @@
|
|
177
177
|
</tr>
|
178
178
|
<tr>
|
179
179
|
<td class="function_type">
|
180
|
-
<
|
180
|
+
<span class="returnvalue">GdkDragContext</span> *
|
181
181
|
</td>
|
182
182
|
<td class="function_name">
|
183
183
|
<a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-begin-with-coordinates" title="gtk_drag_begin_with_coordinates ()">gtk_drag_begin_with_coordinates</a> <span class="c_punctuation">()</span>
|
@@ -391,7 +391,7 @@ gtk_drag_dest_set (<em class="parameter"><code><a class="link" href="GtkWidget.h
|
|
391
391
|
<em class="parameter"><code><a class="link" href="gtk3-Drag-and-Drop.html#GtkDestDefaults" title="enum GtkDestDefaults"><span class="type">GtkDestDefaults</span></a> flags</code></em>,
|
392
392
|
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
393
393
|
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
394
|
-
<em class="parameter"><code><
|
394
|
+
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
395
395
|
<p>Sets a widget as a potential drop destination, and adds default behaviors.</p>
|
396
396
|
<p>The default behaviors listed in <em class="parameter"><code>flags</code></em>
|
397
397
|
have an effect similar
|
@@ -405,7 +405,7 @@ as described in the documentation for <a class="link" href="GtkWidget.html#GtkWi
|
|
405
405
|
behaviors described by <em class="parameter"><code>flags</code></em>
|
406
406
|
make some assumptions, that can conflict
|
407
407
|
with your own signal handlers. For instance <a class="link" href="gtk3-Drag-and-Drop.html#GTK-DEST-DEFAULT-DROP:CAPS"><span class="type">GTK_DEST_DEFAULT_DROP</span></a> causes
|
408
|
-
invokations of <
|
408
|
+
invokations of <code class="function">gdk_drag_status()</code> in the context of <a class="link" href="GtkWidget.html#GtkWidget-drag-motion" title="The “drag-motion” signal"><span class="type">“drag-motion”</span></a>,
|
409
409
|
and invokations of <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-finish" title="gtk_drag_finish ()"><code class="function">gtk_drag_finish()</code></a> in <a class="link" href="GtkWidget.html#GtkWidget-drag-data-received" title="The “drag-data-received” signal"><span class="type">“drag-data-received”</span></a>.
|
410
410
|
Especially the later is dramatic, when your own <a class="link" href="GtkWidget.html#GtkWidget-drag-motion" title="The “drag-motion” signal"><span class="type">“drag-motion”</span></a>
|
411
411
|
handler calls <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-get-data" title="gtk_drag_get_data ()"><code class="function">gtk_drag_get_data()</code></a> to inspect the dragged data.</p>
|
@@ -441,12 +441,12 @@ the action to use depending on whether the control key is pressed or not:</p>
|
|
441
441
|
<span class="cbracket">{</span>
|
442
442
|
<span class="normal"> </span><span class="usertype">GdkModifierType</span><span class="normal"> mask</span><span class="symbol">;</span>
|
443
443
|
|
444
|
-
<span class="normal"> </span><span class="function"
|
444
|
+
<span class="normal"> </span><span class="function">gdk_window_get_pointer</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkWidget.html#gtk-widget-get-window">gtk_widget_get_window</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">),</span>
|
445
445
|
<span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">mask</span><span class="symbol">);</span>
|
446
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mask </span><span class="symbol">&</span><span class="normal">
|
447
|
-
<span class="normal"> </span><span class="function"
|
446
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mask </span><span class="symbol">&</span><span class="normal"> GDK_CONTROL_MASK</span><span class="symbol">)</span>
|
447
|
+
<span class="normal"> </span><span class="function">gdk_drag_status</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> GDK_ACTION_COPY</span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
|
448
448
|
<span class="normal"> </span><span class="keyword">else</span>
|
449
|
-
<span class="normal"> </span><span class="function"
|
449
|
+
<span class="normal"> </span><span class="function">gdk_drag_status</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> GDK_ACTION_MOVE</span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
|
450
450
|
<span class="cbracket">}</span></pre></td>
|
451
451
|
</tr>
|
452
452
|
</tbody>
|
@@ -504,8 +504,8 @@ accept, or <code class="literal">NULL</code>. Later you can access the list with
|
|
504
504
|
<a name="gtk-drag-dest-set-proxy"></a><h3>gtk_drag_dest_set_proxy ()</h3>
|
505
505
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
506
506
|
gtk_drag_dest_set_proxy (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
507
|
-
<em class="parameter"><code><
|
508
|
-
<em class="parameter"><code><
|
507
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *proxy_window</code></em>,
|
508
|
+
<em class="parameter"><code><span class="type">GdkDragProtocol</span> protocol</code></em>,
|
509
509
|
<em class="parameter"><code><span class="type">gboolean</span> use_coordinates</code></em>);</pre>
|
510
510
|
<div class="warning"><p><code class="literal">gtk_drag_dest_set_proxy</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p></div>
|
511
511
|
<p>Sets this widget as a proxy for drops to another window.</p>
|
@@ -575,15 +575,15 @@ notification of drags.</p>
|
|
575
575
|
<hr>
|
576
576
|
<div class="refsect2">
|
577
577
|
<a name="gtk-drag-dest-find-target"></a><h3>gtk_drag_dest_find_target ()</h3>
|
578
|
-
<pre class="programlisting"><
|
578
|
+
<pre class="programlisting"><span class="returnvalue">GdkAtom</span>
|
579
579
|
gtk_drag_dest_find_target (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
580
|
-
<em class="parameter"><code><
|
580
|
+
<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>,
|
581
581
|
<em class="parameter"><code><a class="link" href="gtk3-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *target_list</code></em>);</pre>
|
582
582
|
<p>Looks for a match between the supported targets of <em class="parameter"><code>context</code></em>
|
583
583
|
and the
|
584
584
|
<em class="parameter"><code>dest_target_list</code></em>
|
585
585
|
, returning the first matching target, otherwise
|
586
|
-
returning <
|
586
|
+
returning <code class="literal">GDK_NONE</code>. <em class="parameter"><code>dest_target_list</code></em>
|
587
587
|
should usually be the return
|
588
588
|
value from <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-dest-get-target-list" title="gtk_drag_dest_get_target_list ()"><code class="function">gtk_drag_dest_get_target_list()</code></a>, but some widgets may
|
589
589
|
have different valid targets for different parts of the widget; in
|
@@ -622,7 +622,7 @@ gtk_drag_dest_get_target_list (<em class="parameter"><code>widget</code></em>
|
|
622
622
|
<div class="refsect3">
|
623
623
|
<a name="gtk-drag-dest-find-target.returns"></a><h4>Returns</h4>
|
624
624
|
<p>first target that the source offers
|
625
|
-
and the dest can accept, or <
|
625
|
+
and the dest can accept, or <code class="literal">GDK_NONE</code>. </p>
|
626
626
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
627
627
|
</div>
|
628
628
|
</div>
|
@@ -845,7 +845,7 @@ emit <a class="link" href="GtkWidget.html#GtkWidget-drag-motion" title="The “d
|
|
845
845
|
<div class="refsect2">
|
846
846
|
<a name="gtk-drag-finish"></a><h3>gtk_drag_finish ()</h3>
|
847
847
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
848
|
-
gtk_drag_finish (<em class="parameter"><code><
|
848
|
+
gtk_drag_finish (<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>,
|
849
849
|
<em class="parameter"><code><span class="type">gboolean</span> success</code></em>,
|
850
850
|
<em class="parameter"><code><span class="type">gboolean</span> del</code></em>,
|
851
851
|
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
@@ -891,8 +891,8 @@ original data. (This should be <code class="literal">TRUE</code> for a move)</p>
|
|
891
891
|
<a name="gtk-drag-get-data"></a><h3>gtk_drag_get_data ()</h3>
|
892
892
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
893
893
|
gtk_drag_get_data (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
894
|
-
<em class="parameter"><code><
|
895
|
-
<em class="parameter"><code><
|
894
|
+
<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>,
|
895
|
+
<em class="parameter"><code><span class="type">GdkAtom</span> target</code></em>,
|
896
896
|
<em class="parameter"><code><span class="type">guint32</span> time_</code></em>);</pre>
|
897
897
|
<p>Gets the data associated with a drag. When the data
|
898
898
|
is received or the retrieval fails, GTK+ will emit a
|
@@ -944,7 +944,7 @@ or <a class="link" href="GtkWidget.html#GtkWidget-drag-drop" title="The “drag-
|
|
944
944
|
<div class="refsect2">
|
945
945
|
<a name="gtk-drag-get-source-widget"></a><h3>gtk_drag_get_source_widget ()</h3>
|
946
946
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
947
|
-
gtk_drag_get_source_widget (<em class="parameter"><code><
|
947
|
+
gtk_drag_get_source_widget (<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>);</pre>
|
948
948
|
<p>Determines the source widget for a drag.</p>
|
949
949
|
<p><span class="annotation">[<acronym title="This is a method"><span class="acronym">method</span></acronym>]</span></p>
|
950
950
|
<div class="refsect3">
|
@@ -1022,12 +1022,12 @@ a widget.</p>
|
|
1022
1022
|
<hr>
|
1023
1023
|
<div class="refsect2">
|
1024
1024
|
<a name="gtk-drag-begin"></a><h3>gtk_drag_begin ()</h3>
|
1025
|
-
<pre class="programlisting"><
|
1025
|
+
<pre class="programlisting"><span class="returnvalue">GdkDragContext</span> *
|
1026
1026
|
gtk_drag_begin (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1027
1027
|
<em class="parameter"><code><a class="link" href="gtk3-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *targets</code></em>,
|
1028
|
-
<em class="parameter"><code><
|
1028
|
+
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>,
|
1029
1029
|
<em class="parameter"><code><span class="type">gint</span> button</code></em>,
|
1030
|
-
<em class="parameter"><code><
|
1030
|
+
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
1031
1031
|
<div class="warning">
|
1032
1032
|
<p><code class="literal">gtk_drag_begin</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p>
|
1033
1033
|
<p>Use <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-begin-with-coordinates" title="gtk_drag_begin_with_coordinates ()"><code class="function">gtk_drag_begin_with_coordinates()</code></a> instead</p>
|
@@ -1083,12 +1083,12 @@ or <code class="literal">NULL</code> if none can be obtained. </p></td>
|
|
1083
1083
|
<hr>
|
1084
1084
|
<div class="refsect2">
|
1085
1085
|
<a name="gtk-drag-begin-with-coordinates"></a><h3>gtk_drag_begin_with_coordinates ()</h3>
|
1086
|
-
<pre class="programlisting"><
|
1086
|
+
<pre class="programlisting"><span class="returnvalue">GdkDragContext</span> *
|
1087
1087
|
gtk_drag_begin_with_coordinates (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1088
1088
|
<em class="parameter"><code><a class="link" href="gtk3-Selections.html#GtkTargetList"><span class="type">GtkTargetList</span></a> *targets</code></em>,
|
1089
|
-
<em class="parameter"><code><
|
1089
|
+
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>,
|
1090
1090
|
<em class="parameter"><code><span class="type">gint</span> button</code></em>,
|
1091
|
-
<em class="parameter"><code><
|
1091
|
+
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>,
|
1092
1092
|
<em class="parameter"><code><span class="type">gint</span> x</code></em>,
|
1093
1093
|
<em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
|
1094
1094
|
<p>Initiates a drag on the source side. The function only needs to be used
|
@@ -1097,7 +1097,7 @@ when the application is starting drags itself, and is not needed when
|
|
1097
1097
|
<p>The <em class="parameter"><code>event</code></em>
|
1098
1098
|
is used to retrieve the timestamp that will be used internally to
|
1099
1099
|
grab the pointer. If <em class="parameter"><code>event</code></em>
|
1100
|
-
is <code class="literal">NULL</code>, then <
|
1100
|
+
is <code class="literal">NULL</code>, then <code class="literal">GDK_CURRENT_TIME</code> will be used.
|
1101
1101
|
However, you should try to pass a real event in all cases, since that can be
|
1102
1102
|
used to get information about the drag.</p>
|
1103
1103
|
<p>Generally there are three cases when you want to start a drag by hand by
|
@@ -1113,8 +1113,8 @@ Pass the <em class="parameter"><code>event</code></em>
|
|
1113
1113
|
that you have in your <a class="link" href="GtkWidget.html#GtkWidget-motion-notify-event" title="The “motion-notify-event” signal"><span class="type">“motion-notify-event”</span></a> handler.</p></li>
|
1114
1114
|
<li class="listitem"><p>During a timeout handler, if you want to start a drag after the mouse
|
1115
1115
|
button is held down for some time. Try to save the last event that you got
|
1116
|
-
from the mouse, using <
|
1117
|
-
(remember to free the event with <
|
1116
|
+
from the mouse, using <code class="function">gdk_event_copy()</code>, and pass it to this function
|
1117
|
+
(remember to free the event with <code class="function">gdk_event_free()</code> when you are done).
|
1118
1118
|
If you really cannot pass a real event, pass <code class="literal">NULL</code> instead.</p></li>
|
1119
1119
|
</ol></div>
|
1120
1120
|
<p><span class="annotation">[<acronym title="This is a method"><span class="acronym">method</span></acronym>]</span></p>
|
@@ -1186,7 +1186,7 @@ the current pointer position</p></td>
|
|
1186
1186
|
<div class="refsect2">
|
1187
1187
|
<a name="gtk-drag-cancel"></a><h3>gtk_drag_cancel ()</h3>
|
1188
1188
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1189
|
-
gtk_drag_cancel (<em class="parameter"><code><
|
1189
|
+
gtk_drag_cancel (<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>);</pre>
|
1190
1190
|
<p>Cancels an ongoing drag operation on the source side.</p>
|
1191
1191
|
<p>If you want to be able to cancel a drag operation in this way,
|
1192
1192
|
you need to keep a pointer to the drag context, either from an
|
@@ -1210,7 +1210,7 @@ function does nothing.</p>
|
|
1210
1210
|
</colgroup>
|
1211
1211
|
<tbody><tr>
|
1212
1212
|
<td class="parameter_name"><p>context</p></td>
|
1213
|
-
<td class="parameter_description"><p>a <
|
1213
|
+
<td class="parameter_description"><p>a <span class="type">GdkDragContext</span>, as e.g. returned by <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-begin-with-coordinates" title="gtk_drag_begin_with_coordinates ()"><code class="function">gtk_drag_begin_with_coordinates()</code></a></p></td>
|
1214
1214
|
<td class="parameter_annotations"> </td>
|
1215
1215
|
</tr></tbody>
|
1216
1216
|
</table></div>
|
@@ -1221,7 +1221,7 @@ function does nothing.</p>
|
|
1221
1221
|
<div class="refsect2">
|
1222
1222
|
<a name="gtk-drag-set-icon-widget"></a><h3>gtk_drag_set_icon_widget ()</h3>
|
1223
1223
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1224
|
-
gtk_drag_set_icon_widget (<em class="parameter"><code><
|
1224
|
+
gtk_drag_set_icon_widget (<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>,
|
1225
1225
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1226
1226
|
<em class="parameter"><code><span class="type">gint</span> hot_x</code></em>,
|
1227
1227
|
<em class="parameter"><code><span class="type">gint</span> hot_y</code></em>);</pre>
|
@@ -1270,7 +1270,7 @@ of the hotspot</p></td>
|
|
1270
1270
|
<div class="refsect2">
|
1271
1271
|
<a name="gtk-drag-set-icon-pixbuf"></a><h3>gtk_drag_set_icon_pixbuf ()</h3>
|
1272
1272
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1273
|
-
gtk_drag_set_icon_pixbuf (<em class="parameter"><code><
|
1273
|
+
gtk_drag_set_icon_pixbuf (<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>,
|
1274
1274
|
<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>,
|
1275
1275
|
<em class="parameter"><code><span class="type">gint</span> hot_x</code></em>,
|
1276
1276
|
<em class="parameter"><code><span class="type">gint</span> hot_y</code></em>);</pre>
|
@@ -1316,7 +1316,7 @@ of the hotspot</p></td>
|
|
1316
1316
|
<div class="refsect2">
|
1317
1317
|
<a name="gtk-drag-set-icon-stock"></a><h3>gtk_drag_set_icon_stock ()</h3>
|
1318
1318
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1319
|
-
gtk_drag_set_icon_stock (<em class="parameter"><code><
|
1319
|
+
gtk_drag_set_icon_stock (<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>,
|
1320
1320
|
<em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>,
|
1321
1321
|
<em class="parameter"><code><span class="type">gint</span> hot_x</code></em>,
|
1322
1322
|
<em class="parameter"><code><span class="type">gint</span> hot_y</code></em>);</pre>
|
@@ -1363,7 +1363,7 @@ with a context for the source side of a drag)</p></td>
|
|
1363
1363
|
<div class="refsect2">
|
1364
1364
|
<a name="gtk-drag-set-icon-surface"></a><h3>gtk_drag_set_icon_surface ()</h3>
|
1365
1365
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1366
|
-
gtk_drag_set_icon_surface (<em class="parameter"><code><
|
1366
|
+
gtk_drag_set_icon_surface (<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>,
|
1367
1367
|
<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>);</pre>
|
1368
1368
|
<p>Sets <em class="parameter"><code>surface</code></em>
|
1369
1369
|
as the icon for a given drag. GTK+ retains
|
@@ -1402,7 +1402,7 @@ with a context for the source side of a drag)</p></td>
|
|
1402
1402
|
<div class="refsect2">
|
1403
1403
|
<a name="gtk-drag-set-icon-name"></a><h3>gtk_drag_set_icon_name ()</h3>
|
1404
1404
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1405
|
-
gtk_drag_set_icon_name (<em class="parameter"><code><
|
1405
|
+
gtk_drag_set_icon_name (<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>,
|
1406
1406
|
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
|
1407
1407
|
<em class="parameter"><code><span class="type">gint</span> hot_x</code></em>,
|
1408
1408
|
<em class="parameter"><code><span class="type">gint</span> hot_y</code></em>);</pre>
|
@@ -1452,7 +1452,7 @@ with a context for the source side of a drag)</p></td>
|
|
1452
1452
|
<div class="refsect2">
|
1453
1453
|
<a name="gtk-drag-set-icon-gicon"></a><h3>gtk_drag_set_icon_gicon ()</h3>
|
1454
1454
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1455
|
-
gtk_drag_set_icon_gicon (<em class="parameter"><code><
|
1455
|
+
gtk_drag_set_icon_gicon (<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>,
|
1456
1456
|
<em class="parameter"><code><span class="type">GIcon</span> *icon</code></em>,
|
1457
1457
|
<em class="parameter"><code><span class="type">gint</span> hot_x</code></em>,
|
1458
1458
|
<em class="parameter"><code><span class="type">gint</span> hot_y</code></em>);</pre>
|
@@ -1499,7 +1499,7 @@ with a context for the source side of a drag)</p></td>
|
|
1499
1499
|
<div class="refsect2">
|
1500
1500
|
<a name="gtk-drag-set-icon-default"></a><h3>gtk_drag_set_icon_default ()</h3>
|
1501
1501
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1502
|
-
gtk_drag_set_icon_default (<em class="parameter"><code><
|
1502
|
+
gtk_drag_set_icon_default (<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>);</pre>
|
1503
1503
|
<p>Sets the icon for a particular drag to the default
|
1504
1504
|
icon.</p>
|
1505
1505
|
<p><span class="annotation">[<acronym title="This is a method"><span class="acronym">method</span></acronym>]</span></p>
|
@@ -1584,10 +1584,10 @@ should trigger the beginning of a drag-and-drop operation.</p>
|
|
1584
1584
|
<a name="gtk-drag-source-set"></a><h3>gtk_drag_source_set ()</h3>
|
1585
1585
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1586
1586
|
gtk_drag_source_set (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1587
|
-
<em class="parameter"><code><
|
1587
|
+
<em class="parameter"><code><span class="type">GdkModifierType</span> start_button_mask</code></em>,
|
1588
1588
|
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
1589
1589
|
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
1590
|
-
<em class="parameter"><code><
|
1590
|
+
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
1591
1591
|
<p>Sets up a widget so that GTK+ will start a drag operation when the user
|
1592
1592
|
clicks and drags on the widget. The widget must have a window.</p>
|
1593
1593
|
<p><span class="annotation">[<acronym title="This is a method"><span class="acronym">method</span></acronym>]</span></p>
|
@@ -1965,7 +1965,7 @@ of the user for a drag destination site.</p>
|
|
1965
1965
|
<p>If set for a widget, GTK+, during a drag over this
|
1966
1966
|
widget will check if the drag matches this widget’s list of possible targets
|
1967
1967
|
and actions.
|
1968
|
-
GTK+ will then call <
|
1968
|
+
GTK+ will then call <code class="function">gdk_drag_status()</code> as appropriate.</p>
|
1969
1969
|
</td>
|
1970
1970
|
<td class="enum_member_annotations"> </td>
|
1971
1971
|
</tr>
|
@@ -397,7 +397,7 @@ against at application run time.</p>
|
|
397
397
|
<hr>
|
398
398
|
<div class="refsect2">
|
399
399
|
<a name="GTK-MICRO-VERSION:CAPS"></a><h3>GTK_MICRO_VERSION</h3>
|
400
|
-
<pre class="programlisting">#define GTK_MICRO_VERSION (
|
400
|
+
<pre class="programlisting">#define GTK_MICRO_VERSION (30)
|
401
401
|
</pre>
|
402
402
|
<p>Like <a class="link" href="gtk3-Feature-Test-Macros.html#gtk-get-micro-version" title="gtk_get_micro_version ()"><code class="function">gtk_get_micro_version()</code></a>, but from the headers used at
|
403
403
|
application compile time, rather than from the library linked
|
@@ -406,7 +406,7 @@ against at application run time.</p>
|
|
406
406
|
<hr>
|
407
407
|
<div class="refsect2">
|
408
408
|
<a name="GTK-BINARY-AGE:CAPS"></a><h3>GTK_BINARY_AGE</h3>
|
409
|
-
<pre class="programlisting">#define GTK_BINARY_AGE (
|
409
|
+
<pre class="programlisting">#define GTK_BINARY_AGE (2230)
|
410
410
|
</pre>
|
411
411
|
<p>Like <a class="link" href="gtk3-Feature-Test-Macros.html#gtk-get-binary-age" title="gtk_get_binary_age ()"><code class="function">gtk_get_binary_age()</code></a>, but from the headers used at
|
412
412
|
application compile time, rather than from the library linked
|
@@ -415,7 +415,7 @@ against at application run time.</p>
|
|
415
415
|
<hr>
|
416
416
|
<div class="refsect2">
|
417
417
|
<a name="GTK-INTERFACE-AGE:CAPS"></a><h3>GTK_INTERFACE_AGE</h3>
|
418
|
-
<pre class="programlisting">#define GTK_INTERFACE_AGE (
|
418
|
+
<pre class="programlisting">#define GTK_INTERFACE_AGE (30)
|
419
419
|
</pre>
|
420
420
|
<p>Like <a class="link" href="gtk3-Feature-Test-Macros.html#gtk-get-interface-age" title="gtk_get_interface_age ()"><code class="function">gtk_get_interface_age()</code></a>, but from the headers used at
|
421
421
|
application compile time, rather than from the library linked
|
@@ -83,7 +83,7 @@
|
|
83
83
|
</tr>
|
84
84
|
<tr>
|
85
85
|
<td class="function_type">
|
86
|
-
<
|
86
|
+
<span class="returnvalue">GdkScreen</span> *
|
87
87
|
</td>
|
88
88
|
<td class="function_name">
|
89
89
|
<a class="link" href="gtk3-Filesystem-utilities.html#gtk-mount-operation-get-screen" title="gtk_mount_operation_get_screen ()">gtk_mount_operation_get_screen</a> <span class="c_punctuation">()</span>
|
@@ -130,7 +130,7 @@
|
|
130
130
|
</tr>
|
131
131
|
<tr>
|
132
132
|
<td class="property_type">
|
133
|
-
<
|
133
|
+
<span class="type">GdkScreen</span> *</td>
|
134
134
|
<td class="property_name"><a class="link" href="gtk3-Filesystem-utilities.html#GtkMountOperation--screen" title="The “screen” property">screen</a></td>
|
135
135
|
<td class="property_flags">Read / Write</td>
|
136
136
|
</tr>
|
@@ -181,7 +181,7 @@ GIO functions for mounting volumes such as
|
|
181
181
|
passwords, questions or show processes blocking unmount.</p>
|
182
182
|
<p>gtk_show_uri_on_window() is a convenient way to launch applications for URIs.</p>
|
183
183
|
<p>Another object that is worth mentioning in this context is
|
184
|
-
<
|
184
|
+
<span class="type">GdkAppLaunchContext</span>, which provides visual feedback when lauching
|
185
185
|
applications.</p>
|
186
186
|
</div>
|
187
187
|
<div class="refsect1">
|
@@ -307,7 +307,7 @@ gtk_mount_operation_get_parent (<em class="parameter"><code><a class="link" href
|
|
307
307
|
<a name="gtk-mount-operation-set-screen"></a><h3>gtk_mount_operation_set_screen ()</h3>
|
308
308
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
309
309
|
gtk_mount_operation_set_screen (<em class="parameter"><code><a class="link" href="gtk3-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> *op</code></em>,
|
310
|
-
<em class="parameter"><code><
|
310
|
+
<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
311
311
|
<p>Sets the screen to show windows of the <a class="link" href="gtk3-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> on.</p>
|
312
312
|
<div class="refsect3">
|
313
313
|
<a name="gtk-mount-operation-set-screen.parameters"></a><h4>Parameters</h4>
|
@@ -325,7 +325,7 @@ gtk_mount_operation_set_screen (<em class="parameter"><code><a class="link" href
|
|
325
325
|
</tr>
|
326
326
|
<tr>
|
327
327
|
<td class="parameter_name"><p>screen</p></td>
|
328
|
-
<td class="parameter_description"><p>a <
|
328
|
+
<td class="parameter_description"><p>a <span class="type">GdkScreen</span></p></td>
|
329
329
|
<td class="parameter_annotations"> </td>
|
330
330
|
</tr>
|
331
331
|
</tbody>
|
@@ -336,7 +336,7 @@ gtk_mount_operation_set_screen (<em class="parameter"><code><a class="link" href
|
|
336
336
|
<hr>
|
337
337
|
<div class="refsect2">
|
338
338
|
<a name="gtk-mount-operation-get-screen"></a><h3>gtk_mount_operation_get_screen ()</h3>
|
339
|
-
<pre class="programlisting"><
|
339
|
+
<pre class="programlisting"><span class="returnvalue">GdkScreen</span> *
|
340
340
|
gtk_mount_operation_get_screen (<em class="parameter"><code><a class="link" href="gtk3-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a> *op</code></em>);</pre>
|
341
341
|
<p>Gets the screen on which windows of the <a class="link" href="gtk3-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a>
|
342
342
|
will be shown.</p>
|
@@ -367,7 +367,7 @@ are shown. </p>
|
|
367
367
|
<div class="refsect2">
|
368
368
|
<a name="gtk-show-uri"></a><h3>gtk_show_uri ()</h3>
|
369
369
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
370
|
-
gtk_show_uri (<em class="parameter"><code><
|
370
|
+
gtk_show_uri (<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>,
|
371
371
|
<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>,
|
372
372
|
<em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>,
|
373
373
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
@@ -437,7 +437,7 @@ Typical examples are</p>
|
|
437
437
|
</ul></div>
|
438
438
|
<p>Ideally the timestamp is taken from the event triggering
|
439
439
|
the <a class="link" href="gtk3-Filesystem-utilities.html#gtk-show-uri" title="gtk_show_uri ()"><code class="function">gtk_show_uri()</code></a> call. If timestamp is not known you can take
|
440
|
-
<
|
440
|
+
<code class="literal">GDK_CURRENT_TIME</code>.</p>
|
441
441
|
<p>This is the recommended call to be used as it passes information
|
442
442
|
necessary for sandbox helpers to parent their dialogs properly.</p>
|
443
443
|
<div class="refsect3">
|
@@ -525,7 +525,7 @@ necessary for sandbox helpers to parent their dialogs properly.</p>
|
|
525
525
|
<hr>
|
526
526
|
<div class="refsect2">
|
527
527
|
<a name="GtkMountOperation--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
|
528
|
-
<pre class="programlisting"> “screen” <
|
528
|
+
<pre class="programlisting"> “screen” <span class="type">GdkScreen</span> *</pre>
|
529
529
|
<p>The screen where this window will be displayed.</p>
|
530
530
|
<p>Flags: Read / Write</p>
|
531
531
|
</div>
|
@@ -257,7 +257,7 @@
|
|
257
257
|
</tr>
|
258
258
|
<tr>
|
259
259
|
<td class="function_type">
|
260
|
-
<
|
260
|
+
<span class="returnvalue">GdkEvent</span> *
|
261
261
|
</td>
|
262
262
|
<td class="function_name">
|
263
263
|
<a class="link" href="gtk3-General.html#gtk-get-current-event" title="gtk_get_current_event ()">gtk_get_current_event</a> <span class="c_punctuation">()</span>
|
@@ -281,7 +281,7 @@
|
|
281
281
|
</tr>
|
282
282
|
<tr>
|
283
283
|
<td class="function_type">
|
284
|
-
<
|
284
|
+
<span class="returnvalue">GdkDevice</span> *
|
285
285
|
</td>
|
286
286
|
<td class="function_name">
|
287
287
|
<a class="link" href="gtk3-General.html#gtk-get-current-event-device" title="gtk_get_current_event_device ()">gtk_get_current_event_device</a> <span class="c_punctuation">()</span>
|
@@ -496,7 +496,7 @@ gtk_parse_args (<em class="parameter"><code><span class="type">int</span> *argc<
|
|
496
496
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
497
497
|
<p>Parses command line arguments, and initializes global
|
498
498
|
attributes of GTK+, but does not actually open a connection
|
499
|
-
to a display. (See <
|
499
|
+
to a display. (See <code class="function">gdk_display_open()</code>, <code class="function">gdk_get_display_arg_name()</code>)</p>
|
500
500
|
<p>Any arguments used by GTK+ or GDK are removed from the array and
|
501
501
|
<em class="parameter"><code>argc</code></em>
|
502
502
|
and <em class="parameter"><code>argv</code></em>
|
@@ -873,7 +873,7 @@ innermost mainloop</p>
|
|
873
873
|
<div class="refsect2">
|
874
874
|
<a name="gtk-main-do-event"></a><h3>gtk_main_do_event ()</h3>
|
875
875
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
876
|
-
gtk_main_do_event (<em class="parameter"><code><
|
876
|
+
gtk_main_do_event (<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
877
877
|
<p>Processes a single GDK event.</p>
|
878
878
|
<p>This is public only to allow filtering of events between GDK and GTK+.
|
879
879
|
You will not usually need to call this function directly.</p>
|
@@ -960,7 +960,7 @@ This function is called after loading the module.</p>
|
|
960
960
|
<div class="refsect2">
|
961
961
|
<a name="GtkModuleDisplayInitFunc"></a><h3>GtkModuleDisplayInitFunc ()</h3>
|
962
962
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
963
|
-
<span class="c_punctuation">(</span>*GtkModuleDisplayInitFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><
|
963
|
+
<span class="c_punctuation">(</span>*GtkModuleDisplayInitFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">GdkDisplay</span> *display</code></em>);</pre>
|
964
964
|
<p>A multihead-aware GTK+ module may have a <code class="function">gtk_module_display_init()</code> function
|
965
965
|
with this prototype. GTK+ calls this function for each opened display.</p>
|
966
966
|
<div class="refsect3">
|
@@ -973,7 +973,7 @@ with this prototype. GTK+ calls this function for each opened display.</p>
|
|
973
973
|
</colgroup>
|
974
974
|
<tbody><tr>
|
975
975
|
<td class="parameter_name"><p>display</p></td>
|
976
|
-
<td class="parameter_description"><p>an open <
|
976
|
+
<td class="parameter_description"><p>an open <span class="type">GdkDisplay</span></p></td>
|
977
977
|
<td class="parameter_annotations"> </td>
|
978
978
|
</tr></tbody>
|
979
979
|
</table></div>
|
@@ -1155,7 +1155,7 @@ gtk_grab_remove (<em class="parameter"><code><a class="link" href="GtkWidget.htm
|
|
1155
1155
|
<a name="gtk-device-grab-add"></a><h3>gtk_device_grab_add ()</h3>
|
1156
1156
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1157
1157
|
gtk_device_grab_add (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1158
|
-
<em class="parameter"><code><
|
1158
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>,
|
1159
1159
|
<em class="parameter"><code><span class="type">gboolean</span> block_others</code></em>);</pre>
|
1160
1160
|
<p>Adds a GTK+ grab on <em class="parameter"><code>device</code></em>
|
1161
1161
|
, so all the events on <em class="parameter"><code>device</code></em>
|
@@ -1182,7 +1182,7 @@ unable to interact with <em class="parameter"><code>widget</code></em>
|
|
1182
1182
|
</tr>
|
1183
1183
|
<tr>
|
1184
1184
|
<td class="parameter_name"><p>device</p></td>
|
1185
|
-
<td class="parameter_description"><p>a <
|
1185
|
+
<td class="parameter_description"><p>a <span class="type">GdkDevice</span> to grab on.</p></td>
|
1186
1186
|
<td class="parameter_annotations"> </td>
|
1187
1187
|
</tr>
|
1188
1188
|
<tr>
|
@@ -1201,7 +1201,7 @@ unable to interact with <em class="parameter"><code>widget</code></em>
|
|
1201
1201
|
<a name="gtk-device-grab-remove"></a><h3>gtk_device_grab_remove ()</h3>
|
1202
1202
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1203
1203
|
gtk_device_grab_remove (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1204
|
-
<em class="parameter"><code><
|
1204
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>);</pre>
|
1205
1205
|
<p>Removes a device grab from the given widget.</p>
|
1206
1206
|
<p>You have to pair calls to <a class="link" href="gtk3-General.html#gtk-device-grab-add" title="gtk_device_grab_add ()"><code class="function">gtk_device_grab_add()</code></a> and
|
1207
1207
|
<a class="link" href="gtk3-General.html#gtk-device-grab-remove" title="gtk_device_grab_remove ()"><code class="function">gtk_device_grab_remove()</code></a>.</p>
|
@@ -1221,7 +1221,7 @@ gtk_device_grab_remove (<em class="parameter"><code><a class="link" href="GtkWid
|
|
1221
1221
|
</tr>
|
1222
1222
|
<tr>
|
1223
1223
|
<td class="parameter_name"><p>device</p></td>
|
1224
|
-
<td class="parameter_description"><p>a <
|
1224
|
+
<td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
|
1225
1225
|
<td class="parameter_annotations"> </td>
|
1226
1226
|
</tr>
|
1227
1227
|
</tbody>
|
@@ -1277,7 +1277,7 @@ key events before delivering them normally.</p>
|
|
1277
1277
|
<a name="GtkKeySnoopFunc"></a><h3>GtkKeySnoopFunc ()</h3>
|
1278
1278
|
<pre class="programlisting"><span class="returnvalue">gint</span>
|
1279
1279
|
<span class="c_punctuation">(</span>*GtkKeySnoopFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *grab_widget</code></em>,
|
1280
|
-
<em class="parameter"><code><
|
1280
|
+
<em class="parameter"><code><span class="type">GdkEventKey</span> *event</code></em>,
|
1281
1281
|
<em class="parameter"><code><span class="type">gpointer</span> func_data</code></em>);</pre>
|
1282
1282
|
<p>Key snooper functions are called before normal event delivery.
|
1283
1283
|
They can be used to implement custom key event handling.</p>
|
@@ -1344,17 +1344,17 @@ gtk_key_snooper_remove (<em class="parameter"><code><span class="type">guint</sp
|
|
1344
1344
|
<hr>
|
1345
1345
|
<div class="refsect2">
|
1346
1346
|
<a name="gtk-get-current-event"></a><h3>gtk_get_current_event ()</h3>
|
1347
|
-
<pre class="programlisting"><
|
1347
|
+
<pre class="programlisting"><span class="returnvalue">GdkEvent</span> *
|
1348
1348
|
gtk_get_current_event (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1349
1349
|
<p>Obtains a copy of the event currently being processed by GTK+.</p>
|
1350
1350
|
<p>For example, if you are handling a <a class="link" href="GtkButton.html#GtkButton-clicked" title="The “clicked” signal"><span class="type">“clicked”</span></a> signal,
|
1351
|
-
the current event will be the <
|
1351
|
+
the current event will be the <span class="type">GdkEventButton</span> that triggered
|
1352
1352
|
the ::clicked signal.</p>
|
1353
1353
|
<div class="refsect3">
|
1354
1354
|
<a name="gtk-get-current-event.returns"></a><h4>Returns</h4>
|
1355
1355
|
<p>a copy of the current event, or
|
1356
1356
|
<code class="literal">NULL</code> if there is no current event. The returned event must be
|
1357
|
-
freed with <
|
1357
|
+
freed with <code class="function">gdk_event_free()</code>. </p>
|
1358
1358
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<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></p>
|
1359
1359
|
</div>
|
1360
1360
|
</div>
|
@@ -1364,18 +1364,18 @@ freed with <a href="../html/gdk3-Events.html#gdk-event-free"><code class="functi
|
|
1364
1364
|
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
1365
1365
|
gtk_get_current_event_time (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1366
1366
|
<p>If there is a current event and it has a timestamp,
|
1367
|
-
return that timestamp, otherwise return <
|
1367
|
+
return that timestamp, otherwise return <code class="literal">GDK_CURRENT_TIME</code>.</p>
|
1368
1368
|
<div class="refsect3">
|
1369
1369
|
<a name="gtk-get-current-event-time.returns"></a><h4>Returns</h4>
|
1370
1370
|
<p> the timestamp from the current event,
|
1371
|
-
or <
|
1371
|
+
or <code class="literal">GDK_CURRENT_TIME</code>.</p>
|
1372
1372
|
</div>
|
1373
1373
|
</div>
|
1374
1374
|
<hr>
|
1375
1375
|
<div class="refsect2">
|
1376
1376
|
<a name="gtk-get-current-event-state"></a><h3>gtk_get_current_event_state ()</h3>
|
1377
1377
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1378
|
-
gtk_get_current_event_state (<em class="parameter"><code><
|
1378
|
+
gtk_get_current_event_state (<em class="parameter"><code><span class="type">GdkModifierType</span> *state</code></em>);</pre>
|
1379
1379
|
<p>If there is a current event and it has a state field, place
|
1380
1380
|
that state field in <em class="parameter"><code>state</code></em>
|
1381
1381
|
and return <code class="literal">TRUE</code>, otherwise return
|
@@ -1404,13 +1404,13 @@ had a state field</p>
|
|
1404
1404
|
<hr>
|
1405
1405
|
<div class="refsect2">
|
1406
1406
|
<a name="gtk-get-current-event-device"></a><h3>gtk_get_current_event_device ()</h3>
|
1407
|
-
<pre class="programlisting"><
|
1407
|
+
<pre class="programlisting"><span class="returnvalue">GdkDevice</span> *
|
1408
1408
|
gtk_get_current_event_device (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1409
1409
|
<p>If there is a current event and it has a device, return that
|
1410
1410
|
device, otherwise return <code class="literal">NULL</code>.</p>
|
1411
1411
|
<div class="refsect3">
|
1412
1412
|
<a name="gtk-get-current-event-device.returns"></a><h4>Returns</h4>
|
1413
|
-
<p>a <
|
1413
|
+
<p>a <span class="type">GdkDevice</span>, or <code class="literal">NULL</code>. </p>
|
1414
1414
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<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></p>
|
1415
1415
|
</div>
|
1416
1416
|
</div>
|
@@ -1418,7 +1418,7 @@ device, otherwise return <code class="literal">NULL</code>.</p>
|
|
1418
1418
|
<div class="refsect2">
|
1419
1419
|
<a name="gtk-get-event-widget"></a><h3>gtk_get_event_widget ()</h3>
|
1420
1420
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
1421
|
-
gtk_get_event_widget (<em class="parameter"><code><
|
1421
|
+
gtk_get_event_widget (<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
1422
1422
|
<p>If <em class="parameter"><code>event</code></em>
|
1423
1423
|
is <code class="literal">NULL</code> or the event was not associated with any widget,
|
1424
1424
|
returns <code class="literal">NULL</code>, otherwise returns the widget that received the event
|
@@ -1433,7 +1433,7 @@ originally.</p>
|
|
1433
1433
|
</colgroup>
|
1434
1434
|
<tbody><tr>
|
1435
1435
|
<td class="parameter_name"><p>event</p></td>
|
1436
|
-
<td class="parameter_description"><p>a <
|
1436
|
+
<td class="parameter_description"><p>a <span class="type">GdkEvent</span></p></td>
|
1437
1437
|
<td class="parameter_annotations"> </td>
|
1438
1438
|
</tr></tbody>
|
1439
1439
|
</table></div>
|
@@ -1451,7 +1451,7 @@ received <em class="parameter"><code>event</code></em>
|
|
1451
1451
|
<a name="gtk-propagate-event"></a><h3>gtk_propagate_event ()</h3>
|
1452
1452
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1453
1453
|
gtk_propagate_event (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1454
|
-
<em class="parameter"><code><
|
1454
|
+
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
1455
1455
|
<p>Sends an event to a widget, propagating the event to parent widgets
|
1456
1456
|
if the event remains unhandled.</p>
|
1457
1457
|
<p>Events received by GTK+ from GDK normally begin in <a class="link" href="gtk3-General.html#gtk-main-do-event" title="gtk_main_do_event ()"><code class="function">gtk_main_do_event()</code></a>.
|
@@ -1465,7 +1465,7 @@ higher-level, and <a class="link" href="gtk3-General.html#gtk-main-do-event" tit
|
|
1465
1465
|
<p>All that said, you most likely don’t want to use any of these
|
1466
1466
|
functions; synthesizing events is rarely needed. There are almost
|
1467
1467
|
certainly better ways to achieve your goals. For example, use
|
1468
|
-
<
|
1468
|
+
<code class="function">gdk_window_invalidate_rect()</code> or <a class="link" href="GtkWidget.html#gtk-widget-queue-draw" title="gtk_widget_queue_draw ()"><code class="function">gtk_widget_queue_draw()</code></a> instead
|
1469
1469
|
of making up expose events.</p>
|
1470
1470
|
<div class="refsect3">
|
1471
1471
|
<a name="gtk-propagate-event.parameters"></a><h4>Parameters</h4>
|
@@ -1499,7 +1499,7 @@ of making up expose events.</p>
|
|
1499
1499
|
</pre>
|
1500
1500
|
<p>Use this priority for functionality related to size allocation.</p>
|
1501
1501
|
<p>It is used internally by GTK+ to compute the sizes of widgets.
|
1502
|
-
This priority is higher than <
|
1502
|
+
This priority is higher than <code class="literal">GDK_PRIORITY_REDRAW</code> to avoid
|
1503
1503
|
resizing a widget which was just redrawn.</p>
|
1504
1504
|
</div>
|
1505
1505
|
</div>
|