gdk3 3.2.5-x64-mingw32 → 3.2.6-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
@@ -2107,7 +2107,7 @@ for this row.</p>
|
|
2107
2107
|
</tr>
|
2108
2108
|
<tr>
|
2109
2109
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkListBoxClass.toggle-cursor-row"></a>toggle_cursor_row</code></em> ()</p></td>
|
2110
|
-
<td class="struct_member_description"><p>Class handler for the <a class="link" href="GtkListBox.html#GtkListBox-
|
2110
|
+
<td class="struct_member_description"><p>Class handler for the <a class="link" href="GtkListBox.html#GtkListBox-toggle-cursor-row" title="The “toggle-cursor-row” signal"><span class="type">“toggle-cursor-row”</span></a> signal</p></td>
|
2111
2111
|
<td class="struct_member_annotations"> </td>
|
2112
2112
|
</tr>
|
2113
2113
|
<tr>
|
@@ -337,7 +337,7 @@
|
|
337
337
|
<td class="property_flags">Read / Write</td>
|
338
338
|
</tr>
|
339
339
|
<tr>
|
340
|
-
<td class="property_type"><
|
340
|
+
<td class="property_type"><span class="type">GdkAnchorHints</span></td>
|
341
341
|
<td class="property_name"><a class="link" href="GtkMenu.html#GtkMenu--anchor-hints" title="The “anchor-hints” property">anchor-hints</a></td>
|
342
342
|
<td class="property_flags">Read / Write / Construct</td>
|
343
343
|
</tr>
|
@@ -348,7 +348,7 @@
|
|
348
348
|
<td class="property_flags">Read / Write</td>
|
349
349
|
</tr>
|
350
350
|
<tr>
|
351
|
-
<td class="property_type"><
|
351
|
+
<td class="property_type"><span class="type">GdkWindowTypeHint</span></td>
|
352
352
|
<td class="property_name"><a class="link" href="GtkMenu.html#GtkMenu--menu-type-hint" title="The “menu-type-hint” property">menu-type-hint</a></td>
|
353
353
|
<td class="property_flags">Read / Write / Construct</td>
|
354
354
|
</tr>
|
@@ -608,10 +608,10 @@ can pop up a menu when the 3rd mouse button is pressed. </p>
|
|
608
608
|
<span class="normal"> </span><span class="comment">// g_signal_connect_swapped() was called.</span>
|
609
609
|
<span class="normal"> menu </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_MENU</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">);</span>
|
610
610
|
|
611
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">type </span><span class="symbol">==</span><span class="normal">
|
611
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">type </span><span class="symbol">==</span><span class="normal"> GDK_BUTTON_PRESS</span><span class="symbol">)</span>
|
612
612
|
<span class="normal"> </span><span class="cbracket">{</span>
|
613
|
-
<span class="normal"> event_button </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"
|
614
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event_button</span><span class="symbol">-></span><span class="normal">button </span><span class="symbol">==</span><span class="normal">
|
613
|
+
<span class="normal"> event_button </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GdkEventButton </span><span class="symbol">*)</span><span class="normal"> event</span><span class="symbol">;</span>
|
614
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event_button</span><span class="symbol">-></span><span class="normal">button </span><span class="symbol">==</span><span class="normal"> GDK_BUTTON_SECONDARY</span><span class="symbol">)</span>
|
615
615
|
<span class="normal"> </span><span class="cbracket">{</span>
|
616
616
|
<span class="normal"> </span><span class="function"><a href="GtkMenu.html#gtk-menu-popup">gtk_menu_popup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> </span>
|
617
617
|
<span class="normal"> event_button</span><span class="symbol">-></span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> event_button</span><span class="symbol">-></span><span class="normal">time</span><span class="symbol">);</span>
|
@@ -709,8 +709,8 @@ attach widget or on any of its parent widgets.</p>
|
|
709
709
|
<a name="gtk-menu-set-screen"></a><h3>gtk_menu_set_screen ()</h3>
|
710
710
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
711
711
|
gtk_menu_set_screen (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
712
|
-
<em class="parameter"><code><
|
713
|
-
<p>Sets the <
|
712
|
+
<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
713
|
+
<p>Sets the <span class="type">GdkScreen</span> on which the menu will be displayed.</p>
|
714
714
|
<div class="refsect3">
|
715
715
|
<a name="gtk-menu-set-screen.parameters"></a><h4>Parameters</h4>
|
716
716
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -727,7 +727,7 @@ gtk_menu_set_screen (<em class="parameter"><code><a class="link" href="GtkMenu.h
|
|
727
727
|
</tr>
|
728
728
|
<tr>
|
729
729
|
<td class="parameter_name"><p>screen</p></td>
|
730
|
-
<td class="parameter_description"><p>a <
|
730
|
+
<td class="parameter_description"><p>a <span class="type">GdkScreen</span>, or <code class="literal">NULL</code> if the screen should be
|
731
731
|
determined by the widget the menu is attached to. </p></td>
|
732
732
|
<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>
|
733
733
|
</tr>
|
@@ -847,11 +847,11 @@ rightmost, uppermost and lower column and row numbers of the table.
|
|
847
847
|
<a name="gtk-menu-popup-at-rect"></a><h3>gtk_menu_popup_at_rect ()</h3>
|
848
848
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
849
849
|
gtk_menu_popup_at_rect (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
850
|
-
<em class="parameter"><code><
|
851
|
-
<em class="parameter"><code>const <
|
852
|
-
<em class="parameter"><code><
|
853
|
-
<em class="parameter"><code><
|
854
|
-
<em class="parameter"><code>const <
|
850
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *rect_window</code></em>,
|
851
|
+
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *rect</code></em>,
|
852
|
+
<em class="parameter"><code><span class="type">GdkGravity</span> rect_anchor</code></em>,
|
853
|
+
<em class="parameter"><code><span class="type">GdkGravity</span> menu_anchor</code></em>,
|
854
|
+
<em class="parameter"><code>const <span class="type">GdkEvent</span> *trigger_event</code></em>);</pre>
|
855
855
|
<p>Displays <em class="parameter"><code>menu</code></em>
|
856
856
|
and makes it available for selection.</p>
|
857
857
|
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a> and <a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a>, which
|
@@ -892,13 +892,13 @@ direction is right-to-left.</p>
|
|
892
892
|
</tr>
|
893
893
|
<tr>
|
894
894
|
<td class="parameter_name"><p>rect_window</p></td>
|
895
|
-
<td class="parameter_description"><p>the <
|
895
|
+
<td class="parameter_description"><p>the <span class="type">GdkWindow</span> <em class="parameter"><code>rect</code></em>
|
896
896
|
is relative to. </p></td>
|
897
897
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></td>
|
898
898
|
</tr>
|
899
899
|
<tr>
|
900
900
|
<td class="parameter_name"><p>rect</p></td>
|
901
|
-
<td class="parameter_description"><p>the <
|
901
|
+
<td class="parameter_description"><p>the <span class="type">GdkRectangle</span> to align <em class="parameter"><code>menu</code></em>
|
902
902
|
with. </p></td>
|
903
903
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></td>
|
904
904
|
</tr>
|
@@ -918,7 +918,7 @@ to align with <em class="parameter"><code>rect</code></em>
|
|
918
918
|
</tr>
|
919
919
|
<tr>
|
920
920
|
<td class="parameter_name"><p>trigger_event</p></td>
|
921
|
-
<td class="parameter_description"><p>the <
|
921
|
+
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> that initiated this request or
|
922
922
|
<code class="literal">NULL</code> if it's the current event. </p></td>
|
923
923
|
<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>
|
924
924
|
</tr>
|
@@ -947,9 +947,9 @@ mentioned in the release notes for the affected release.
|
|
947
947
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
948
948
|
gtk_menu_popup_at_widget (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
949
949
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
950
|
-
<em class="parameter"><code><
|
951
|
-
<em class="parameter"><code><
|
952
|
-
<em class="parameter"><code>const <
|
950
|
+
<em class="parameter"><code><span class="type">GdkGravity</span> widget_anchor</code></em>,
|
951
|
+
<em class="parameter"><code><span class="type">GdkGravity</span> menu_anchor</code></em>,
|
952
|
+
<em class="parameter"><code>const <span class="type">GdkEvent</span> *trigger_event</code></em>);</pre>
|
953
953
|
<p>Displays <em class="parameter"><code>menu</code></em>
|
954
954
|
and makes it available for selection.</p>
|
955
955
|
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a> to pop up a menu at the master pointer.
|
@@ -1009,7 +1009,7 @@ to align with <em class="parameter"><code>widget</code></em>
|
|
1009
1009
|
</tr>
|
1010
1010
|
<tr>
|
1011
1011
|
<td class="parameter_name"><p>trigger_event</p></td>
|
1012
|
-
<td class="parameter_description"><p>the <
|
1012
|
+
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> that initiated this request or
|
1013
1013
|
<code class="literal">NULL</code> if it's the current event. </p></td>
|
1014
1014
|
<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>
|
1015
1015
|
</tr>
|
@@ -1037,7 +1037,7 @@ mentioned in the release notes for the affected release.
|
|
1037
1037
|
<a name="gtk-menu-popup-at-pointer"></a><h3>gtk_menu_popup_at_pointer ()</h3>
|
1038
1038
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1039
1039
|
gtk_menu_popup_at_pointer (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
1040
|
-
<em class="parameter"><code>const <
|
1040
|
+
<em class="parameter"><code>const <span class="type">GdkEvent</span> *trigger_event</code></em>);</pre>
|
1041
1041
|
<p>Displays <em class="parameter"><code>menu</code></em>
|
1042
1042
|
and makes it available for selection.</p>
|
1043
1043
|
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a> to pop up a menu at a widget.
|
@@ -1066,7 +1066,7 @@ out how it was actually positioned.</p>
|
|
1066
1066
|
</tr>
|
1067
1067
|
<tr>
|
1068
1068
|
<td class="parameter_name"><p>trigger_event</p></td>
|
1069
|
-
<td class="parameter_description"><p>the <
|
1069
|
+
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> that initiated this request or
|
1070
1070
|
<code class="literal">NULL</code> if it's the current event. </p></td>
|
1071
1071
|
<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>
|
1072
1072
|
</tr>
|
@@ -1094,7 +1094,7 @@ mentioned in the release notes for the affected release.
|
|
1094
1094
|
<a name="gtk-menu-popup-for-device"></a><h3>gtk_menu_popup_for_device ()</h3>
|
1095
1095
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1096
1096
|
gtk_menu_popup_for_device (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
1097
|
-
<em class="parameter"><code><
|
1097
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>,
|
1098
1098
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *parent_menu_shell</code></em>,
|
1099
1099
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *parent_menu_item</code></em>,
|
1100
1100
|
<em class="parameter"><code><a class="link" href="GtkMenu.html#GtkMenuPositionFunc" title="GtkMenuPositionFunc ()"><span class="type">GtkMenuPositionFunc</span></a> func</code></em>,
|
@@ -1152,7 +1152,7 @@ have this problem.</p>
|
|
1152
1152
|
</tr>
|
1153
1153
|
<tr>
|
1154
1154
|
<td class="parameter_name"><p>device</p></td>
|
1155
|
-
<td class="parameter_description"><p>a <
|
1155
|
+
<td class="parameter_description"><p>a <span class="type">GdkDevice</span>. </p></td>
|
1156
1156
|
<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>
|
1157
1157
|
</tr>
|
1158
1158
|
<tr>
|
@@ -1505,7 +1505,7 @@ and should not be modified or freed.</p>
|
|
1505
1505
|
gtk_menu_set_monitor (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
1506
1506
|
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>);</pre>
|
1507
1507
|
<p>Informs GTK+ on which monitor a menu should be popped up.
|
1508
|
-
See <
|
1508
|
+
See <code class="function">gdk_monitor_get_geometry()</code>.</p>
|
1509
1509
|
<p>This function should be called from a <a class="link" href="GtkMenu.html#GtkMenuPositionFunc" title="GtkMenuPositionFunc ()"><span class="type">GtkMenuPositionFunc</span></a>
|
1510
1510
|
if the menu should not appear on the same monitor as the pointer.
|
1511
1511
|
This information can’t be reliably inferred from the coordinates
|
@@ -1570,7 +1570,7 @@ be popped up or -1, if no monitor has been set</p>
|
|
1570
1570
|
<a name="gtk-menu-place-on-monitor"></a><h3>gtk_menu_place_on_monitor ()</h3>
|
1571
1571
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1572
1572
|
gtk_menu_place_on_monitor (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
1573
|
-
<em class="parameter"><code><
|
1573
|
+
<em class="parameter"><code><span class="type">GdkMonitor</span> *monitor</code></em>);</pre>
|
1574
1574
|
<p>Places <em class="parameter"><code>menu</code></em>
|
1575
1575
|
on the given monitor.</p>
|
1576
1576
|
<div class="refsect3">
|
@@ -2128,13 +2128,13 @@ menu item is selected.</p>
|
|
2128
2128
|
<hr>
|
2129
2129
|
<div class="refsect2">
|
2130
2130
|
<a name="GtkMenu--anchor-hints"></a><h3>The <code class="literal">“anchor-hints”</code> property</h3>
|
2131
|
-
<pre class="programlisting"> “anchor-hints” <
|
2131
|
+
<pre class="programlisting"> “anchor-hints” <span class="type">GdkAnchorHints</span></pre>
|
2132
2132
|
<p>Positioning hints for aligning the menu relative to a rectangle.</p>
|
2133
2133
|
<p>These hints determine how the menu should be positioned in the case that
|
2134
2134
|
the menu would fall off-screen if placed in its ideal position.</p>
|
2135
2135
|
<p><span class="inlinemediaobject"><img src="popup-flip.png"></span></p>
|
2136
|
-
<p>For example, <
|
2137
|
-
<
|
2136
|
+
<p>For example, <code class="literal">GDK_ANCHOR_FLIP_Y</code> will replace <code class="literal">GDK_GRAVITY_NORTH_WEST</code> with
|
2137
|
+
<code class="literal">GDK_GRAVITY_SOUTH_WEST</code> and vice versa if the menu extends beyond the
|
2138
2138
|
bottom edge of the monitor.</p>
|
2139
2139
|
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-rect" title="gtk_menu_popup_at_rect ()"><code class="function">gtk_menu_popup_at_rect()</code></a>, <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a>,
|
2140
2140
|
<a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a>, <a class="link" href="GtkMenu.html#GtkMenu--rect-anchor-dx" title="The “rect-anchor-dx” property"><span class="type">“rect-anchor-dx”</span></a>,
|
@@ -2170,8 +2170,8 @@ use <a class="link" href="GtkMenu.html#gtk-menu-attach-to-widget" title="gtk_men
|
|
2170
2170
|
<hr>
|
2171
2171
|
<div class="refsect2">
|
2172
2172
|
<a name="GtkMenu--menu-type-hint"></a><h3>The <code class="literal">“menu-type-hint”</code> property</h3>
|
2173
|
-
<pre class="programlisting"> “menu-type-hint” <
|
2174
|
-
<p>The <
|
2173
|
+
<pre class="programlisting"> “menu-type-hint” <span class="type">GdkWindowTypeHint</span></pre>
|
2174
|
+
<p>The <span class="type">GdkWindowTypeHint</span> to use for the menu's <span class="type">GdkWindow</span>.</p>
|
2175
2175
|
<p>See <a class="link" href="GtkMenu.html#gtk-menu-popup-at-rect" title="gtk_menu_popup_at_rect ()"><code class="function">gtk_menu_popup_at_rect()</code></a>, <a class="link" href="GtkMenu.html#gtk-menu-popup-at-widget" title="gtk_menu_popup_at_widget ()"><code class="function">gtk_menu_popup_at_widget()</code></a>,
|
2176
2176
|
<a class="link" href="GtkMenu.html#gtk-menu-popup-at-pointer" title="gtk_menu_popup_at_pointer ()"><code class="function">gtk_menu_popup_at_pointer()</code></a>, <a class="link" href="GtkMenu.html#GtkMenu--anchor-hints" title="The “anchor-hints” property"><span class="type">“anchor-hints”</span></a>,
|
2177
2177
|
<a class="link" href="GtkMenu.html#GtkMenu--rect-anchor-dx" title="The “rect-anchor-dx” property"><span class="type">“rect-anchor-dx”</span></a>, <a class="link" href="GtkMenu.html#GtkMenu--rect-anchor-dy" title="The “rect-anchor-dy” property"><span class="type">“rect-anchor-dy”</span></a>, and <a class="link" href="GtkMenu.html#GtkMenu-popped-up" title="The “popped-up” signal"><span class="type">“popped-up”</span></a>.</p>
|
@@ -599,7 +599,7 @@ work if the focus is on some toplevel owned by the onscreen keyboard.</p>
|
|
599
599
|
set to <code class="literal">FALSE</code>
|
600
600
|
should not display mnemonics or accelerators, since it cannot be
|
601
601
|
guaranteed that they will work.</p>
|
602
|
-
<p>See also <
|
602
|
+
<p>See also <code class="function">gdk_keyboard_grab()</code></p>
|
603
603
|
<div class="refsect3">
|
604
604
|
<a name="gtk-menu-shell-set-take-focus.parameters"></a><h4>Parameters</h4>
|
605
605
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -394,7 +394,7 @@ gtk_model_button_new (<em class="parameter"><code><span class="type">void</span>
|
|
394
394
|
<div class="refsect2">
|
395
395
|
<a name="GtkModelButton--centered"></a><h3>The <code class="literal">“centered”</code> property</h3>
|
396
396
|
<pre class="programlisting"> “centered” <span class="type">gboolean</span></pre>
|
397
|
-
<p>
|
397
|
+
<p>Whether to render the button contents centered instead of left-aligned.
|
398
398
|
This property should be set for title-like items.</p>
|
399
399
|
<p>Flags: Read / Write</p>
|
400
400
|
<p>Default value: FALSE</p>
|
@@ -433,7 +433,7 @@ size of any overlay child widgets.</p></td>
|
|
433
433
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
434
434
|
user_function (<a class="link" href="GtkOverlay.html" title="GtkOverlay"><span class="type">GtkOverlay</span></a> *overlay,
|
435
435
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
436
|
-
<
|
436
|
+
<span class="type">GdkRectangle</span> *allocation,
|
437
437
|
<span class="type">gpointer</span> user_data)</pre>
|
438
438
|
<p>The ::get-child-position signal is emitted to determine
|
439
439
|
the position and size of any overlay child widgets. A
|
@@ -85,7 +85,7 @@
|
|
85
85
|
</tr>
|
86
86
|
<tr>
|
87
87
|
<td class="property_type">
|
88
|
-
<
|
88
|
+
<span class="type">GdkDevice</span> *</td>
|
89
89
|
<td class="property_name"><a class="link" href="GtkPadController.html#GtkPadController--pad" title="The “pad” property">pad</a></td>
|
90
90
|
<td class="property_flags">Read / Write / Construct Only</td>
|
91
91
|
</tr>
|
@@ -137,12 +137,12 @@ perform no action, this event controller is provided to map those to
|
|
137
137
|
<span class="type">GAction</span> objects, thus letting the application give those a more semantic
|
138
138
|
meaning.</p>
|
139
139
|
<p>Buttons and sensors are not constrained to triggering a single action, some
|
140
|
-
<
|
140
|
+
<code class="literal">GDK_SOURCE_TABLET_PAD</code> devices feature multiple "modes", all these input
|
141
141
|
elements have one current mode, which may determine the final action
|
142
142
|
being triggered. Pad devices often divide buttons and sensors into groups,
|
143
143
|
all elements in a group share the same current mode, but different groups
|
144
|
-
may have different modes. See <
|
145
|
-
<
|
144
|
+
may have different modes. See <code class="function">gdk_device_pad_get_n_groups()</code> and
|
145
|
+
<code class="function">gdk_device_pad_get_group_n_modes()</code>.</p>
|
146
146
|
<p>Each of the actions that a given button/strip/ring performs for a given
|
147
147
|
mode is defined by <a class="link" href="GtkPadController.html#GtkPadActionEntry" title="struct GtkPadActionEntry"><span class="type">GtkPadActionEntry</span></a>, it contains an action name that
|
148
148
|
will be looked up in the given <span class="type">GActionGroup</span> and activated whenever the
|
@@ -194,7 +194,7 @@ is required that those are made stateful and accepting this <span class="type">G
|
|
194
194
|
<pre class="programlisting"><a class="link" href="GtkPadController.html" title="GtkPadController"><span class="returnvalue">GtkPadController</span></a> *
|
195
195
|
gtk_pad_controller_new (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
|
196
196
|
<em class="parameter"><code><span class="type">GActionGroup</span> *group</code></em>,
|
197
|
-
<em class="parameter"><code><
|
197
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *pad</code></em>);</pre>
|
198
198
|
<p>Creates a new <a class="link" href="GtkPadController.html" title="GtkPadController"><span class="type">GtkPadController</span></a> that will associate events from <em class="parameter"><code>pad</code></em>
|
199
199
|
to
|
200
200
|
actions. A <code class="literal">NULL</code> pad may be provided so the controller manages all pad devices
|
@@ -227,7 +227,7 @@ events to actions, use <a class="link" href="GtkPadController.html#gtk-pad-contr
|
|
227
227
|
</tr>
|
228
228
|
<tr>
|
229
229
|
<td class="parameter_name"><p>pad</p></td>
|
230
|
-
<td class="parameter_description"><p>A <
|
230
|
+
<td class="parameter_description"><p>A <code class="literal">GDK_SOURCE_TABLET_PAD</code> device, or <code class="literal">NULL</code> to handle all pads. </p></td>
|
231
231
|
<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>
|
232
232
|
</tr>
|
233
233
|
</tbody>
|
@@ -455,14 +455,14 @@ be deemed user-visible.</p></td>
|
|
455
455
|
<hr>
|
456
456
|
<div class="refsect2">
|
457
457
|
<a name="GtkPadController--pad"></a><h3>The <code class="literal">“pad”</code> property</h3>
|
458
|
-
<pre class="programlisting"> “pad” <
|
458
|
+
<pre class="programlisting"> “pad” <span class="type">GdkDevice</span> *</pre>
|
459
459
|
<p>Pad device to control.</p>
|
460
460
|
<p>Flags: Read / Write / Construct Only</p>
|
461
461
|
</div>
|
462
462
|
</div>
|
463
463
|
<div class="refsect1">
|
464
464
|
<a name="GtkPadController.see-also"></a><h2>See Also</h2>
|
465
|
-
<p><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a>, <
|
465
|
+
<p><a class="link" href="GtkEventController.html" title="GtkEventController"><span class="type">GtkEventController</span></a>, <span class="type">GdkDevicePad</span></p>
|
466
466
|
</div>
|
467
467
|
</div>
|
468
468
|
<div class="footer">
|
@@ -119,7 +119,7 @@
|
|
119
119
|
</tr>
|
120
120
|
<tr>
|
121
121
|
<td class="function_type">
|
122
|
-
<
|
122
|
+
<span class="returnvalue">GdkWindow</span> *
|
123
123
|
</td>
|
124
124
|
<td class="function_name">
|
125
125
|
<a class="link" href="GtkPaned.html#gtk-paned-get-handle-window" title="gtk_paned_get_handle_window ()">gtk_paned_get_handle_window</a> <span class="c_punctuation">()</span>
|
@@ -688,9 +688,9 @@ gtk_paned_get_position (<em class="parameter"><code><a class="link" href="GtkPan
|
|
688
688
|
<hr>
|
689
689
|
<div class="refsect2">
|
690
690
|
<a name="gtk-paned-get-handle-window"></a><h3>gtk_paned_get_handle_window ()</h3>
|
691
|
-
<pre class="programlisting"><
|
691
|
+
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
692
692
|
gtk_paned_get_handle_window (<em class="parameter"><code><a class="link" href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></a> *paned</code></em>);</pre>
|
693
|
-
<p>Returns the <
|
693
|
+
<p>Returns the <span class="type">GdkWindow</span> of the handle. This function is
|
694
694
|
useful when handling button or motion events because it
|
695
695
|
enables the callback to distinguish between the window
|
696
696
|
of the paned, a child and the handle.</p>
|
@@ -1234,7 +1234,7 @@ see and interact with drives and network servers directly.</p>
|
|
1234
1234
|
gtk_places_sidebar_set_drop_targets_visible
|
1235
1235
|
(<em class="parameter"><code><a class="link" href="GtkPlacesSidebar.html" title="GtkPlacesSidebar"><span class="type">GtkPlacesSidebar</span></a> *sidebar</code></em>,
|
1236
1236
|
<em class="parameter"><code><span class="type">gboolean</span> visible</code></em>,
|
1237
|
-
<em class="parameter"><code><
|
1237
|
+
<em class="parameter"><code><span class="type">GdkDragContext</span> *context</code></em>);</pre>
|
1238
1238
|
<p>Make the GtkPlacesSidebar show drop targets, so it can show the available
|
1239
1239
|
drop targets and a "new bookmark" row. This improves the Drag-and-Drop
|
1240
1240
|
experience of the user and allows applications to show all available
|
@@ -1478,7 +1478,7 @@ of the drag-and-drop operation.</p>
|
|
1478
1478
|
<a name="GtkPlacesSidebar-drag-action-requested"></a><h3>The <code class="literal">“drag-action-requested”</code> signal</h3>
|
1479
1479
|
<pre class="programlisting"><span class="returnvalue">gint</span>
|
1480
1480
|
user_function (<a class="link" href="GtkPlacesSidebar.html" title="GtkPlacesSidebar"><span class="type">GtkPlacesSidebar</span></a> *sidebar,
|
1481
|
-
<
|
1481
|
+
<span class="type">GdkDragContext</span> *context,
|
1482
1482
|
<span class="type">GObject</span> *dest_file,
|
1483
1483
|
<span class="type">gpointer</span> source_file_list,
|
1484
1484
|
<span class="type">gpointer</span> user_data)</pre>
|
@@ -1508,7 +1508,7 @@ possible actions for the destination <em class="parameter"><code>dest_file</code
|
|
1508
1508
|
</tr>
|
1509
1509
|
<tr>
|
1510
1510
|
<td class="parameter_name"><p>context</p></td>
|
1511
|
-
<td class="parameter_description"><p><
|
1511
|
+
<td class="parameter_description"><p><span class="type">GdkDragContext</span> with information about the drag operation. </p></td>
|
1512
1512
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.DragContext]</span></td>
|
1513
1513
|
</tr>
|
1514
1514
|
<tr>
|
@@ -1531,8 +1531,8 @@ possible actions for the destination <em class="parameter"><code>dest_file</code
|
|
1531
1531
|
</div>
|
1532
1532
|
<div class="refsect3">
|
1533
1533
|
<a name="GtkPlacesSidebar-drag-action-requested.returns"></a><h4>Returns</h4>
|
1534
|
-
<p> The drag action to use, for example, <
|
1535
|
-
or <
|
1534
|
+
<p> The drag action to use, for example, <span class="type">GDK_ACTION_COPY</span>
|
1535
|
+
or <span class="type">GDK_ACTION_MOVE</span>, or 0 if no action is allowed here (i.e. drops
|
1536
1536
|
are not allowed in the specified <em class="parameter"><code>dest_file</code></em>
|
1537
1537
|
).</p>
|
1538
1538
|
</div>
|
@@ -93,7 +93,7 @@
|
|
93
93
|
</tr>
|
94
94
|
<tr>
|
95
95
|
<td class="function_type">
|
96
|
-
<
|
96
|
+
<span class="returnvalue">GdkWindow</span> *
|
97
97
|
</td>
|
98
98
|
<td class="function_name">
|
99
99
|
<a class="link" href="GtkPlug.html#gtk-plug-get-socket-window" title="gtk_plug_get_socket_window ()">gtk_plug_get_socket_window</a> <span class="c_punctuation">()</span>
|
@@ -118,7 +118,7 @@
|
|
118
118
|
</tr>
|
119
119
|
<tr>
|
120
120
|
<td class="property_type">
|
121
|
-
<
|
121
|
+
<span class="type">GdkWindow</span> *</td>
|
122
122
|
<td class="property_name"><a class="link" href="GtkPlug.html#GtkPlug--socket-window" title="The “socket-window” property">socket-window</a></td>
|
123
123
|
<td class="property_flags">Read</td>
|
124
124
|
</tr>
|
@@ -190,7 +190,7 @@ This protocol has also been implemented in other toolkits, e.g. Qt,
|
|
190
190
|
allowing the same level of integration when embedding a Qt widget
|
191
191
|
in GTK+ or vice versa.</p>
|
192
192
|
<p>The <a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> widgets are only available when GTK+
|
193
|
-
is compiled for the X11 platform and <
|
193
|
+
is compiled for the X11 platform and <code class="literal">GDK_WINDOWING_X11</code> is defined.
|
194
194
|
They can only be used on a <span class="type">GdkX11Display</span>. To use <a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> and
|
195
195
|
<a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a>, you need to include the <code class="literal">gtk/gtkx.h</code> header.</p>
|
196
196
|
</div>
|
@@ -233,7 +233,7 @@ gtk_plug_construct (<em class="parameter"><code><a class="link" href="GtkPlug.ht
|
|
233
233
|
<a name="gtk-plug-construct-for-display"></a><h3>gtk_plug_construct_for_display ()</h3>
|
234
234
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
235
235
|
gtk_plug_construct_for_display (<em class="parameter"><code><a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> *plug</code></em>,
|
236
|
-
<em class="parameter"><code><
|
236
|
+
<em class="parameter"><code><span class="type">GdkDisplay</span> *display</code></em>,
|
237
237
|
<em class="parameter"><code><span class="type">Window</span> socket_id</code></em>);</pre>
|
238
238
|
<p>Finish the initialization of <em class="parameter"><code>plug</code></em>
|
239
239
|
for a given <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> identified by
|
@@ -257,7 +257,7 @@ This function will generally only be used by classes deriving from <a class="lin
|
|
257
257
|
</tr>
|
258
258
|
<tr>
|
259
259
|
<td class="parameter_name"><p>display</p></td>
|
260
|
-
<td class="parameter_description"><p>the <
|
260
|
+
<td class="parameter_description"><p>the <span class="type">GdkDisplay</span> associated with <em class="parameter"><code>socket_id</code></em>
|
261
261
|
’s
|
262
262
|
<a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a>.</p></td>
|
263
263
|
<td class="parameter_annotations"> </td>
|
@@ -306,7 +306,7 @@ can later be plugged into a <a class="link" href="GtkSocket.html" title="GtkSock
|
|
306
306
|
<div class="refsect2">
|
307
307
|
<a name="gtk-plug-new-for-display"></a><h3>gtk_plug_new_for_display ()</h3>
|
308
308
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
309
|
-
gtk_plug_new_for_display (<em class="parameter"><code><
|
309
|
+
gtk_plug_new_for_display (<em class="parameter"><code><span class="type">GdkDisplay</span> *display</code></em>,
|
310
310
|
<em class="parameter"><code><span class="type">Window</span> socket_id</code></em>);</pre>
|
311
311
|
<p>Create a new plug widget inside the <a class="link" href="GtkSocket.html" title="GtkSocket"><span class="type">GtkSocket</span></a> identified by socket_id.</p>
|
312
312
|
<div class="refsect3">
|
@@ -320,7 +320,7 @@ gtk_plug_new_for_display (<em class="parameter"><code><a href="../html/GdkDispla
|
|
320
320
|
<tbody>
|
321
321
|
<tr>
|
322
322
|
<td class="parameter_name"><p>display</p></td>
|
323
|
-
<td class="parameter_description"><p>the <
|
323
|
+
<td class="parameter_description"><p>the <span class="type">GdkDisplay</span> on which <em class="parameter"><code>socket_id</code></em>
|
324
324
|
is displayed</p></td>
|
325
325
|
<td class="parameter_annotations"> </td>
|
326
326
|
</tr>
|
@@ -396,7 +396,7 @@ gtk_plug_get_embedded (<em class="parameter"><code><a class="link" href="GtkPlug
|
|
396
396
|
<hr>
|
397
397
|
<div class="refsect2">
|
398
398
|
<a name="gtk-plug-get-socket-window"></a><h3>gtk_plug_get_socket_window ()</h3>
|
399
|
-
<pre class="programlisting"><
|
399
|
+
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
400
400
|
gtk_plug_get_socket_window (<em class="parameter"><code><a class="link" href="GtkPlug.html" title="GtkPlug"><span class="type">GtkPlug</span></a> *plug</code></em>);</pre>
|
401
401
|
<p>Retrieves the socket the plug is embedded in.</p>
|
402
402
|
<div class="refsect3">
|
@@ -442,7 +442,7 @@ gtk_plug_get_socket_window (<em class="parameter"><code><a class="link" href="Gt
|
|
442
442
|
<hr>
|
443
443
|
<div class="refsect2">
|
444
444
|
<a name="GtkPlug--socket-window"></a><h3>The <code class="literal">“socket-window”</code> property</h3>
|
445
|
-
<pre class="programlisting"> “socket-window” <
|
445
|
+
<pre class="programlisting"> “socket-window” <span class="type">GdkWindow</span> *</pre>
|
446
446
|
<p>The window of the socket the plug is embedded in.</p>
|
447
447
|
<p>Flags: Read</p>
|
448
448
|
<p class="since">Since: 2.14</p>
|
@@ -219,7 +219,7 @@
|
|
219
219
|
</tr>
|
220
220
|
<tr>
|
221
221
|
<td class="property_type">
|
222
|
-
<
|
222
|
+
<span class="type">GdkRectangle</span> *</td>
|
223
223
|
<td class="property_name"><a class="link" href="GtkPopover.html#GtkPopover--pointing-to" title="The “pointing-to” property">pointing-to</a></td>
|
224
224
|
<td class="property_flags">Read / Write</td>
|
225
225
|
</tr>
|
@@ -652,7 +652,7 @@ gtk_popover_get_relative_to (<em class="parameter"><code><a class="link" href="G
|
|
652
652
|
<a name="gtk-popover-set-pointing-to"></a><h3>gtk_popover_set_pointing_to ()</h3>
|
653
653
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
654
654
|
gtk_popover_set_pointing_to (<em class="parameter"><code><a class="link" href="GtkPopover.html" title="GtkPopover"><span class="type">GtkPopover</span></a> *popover</code></em>,
|
655
|
-
<em class="parameter"><code>const <
|
655
|
+
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
656
656
|
<p>Sets the rectangle that <em class="parameter"><code>popover</code></em>
|
657
657
|
will point to, in the
|
658
658
|
coordinate space of the widget <em class="parameter"><code>popover</code></em>
|
@@ -687,7 +687,7 @@ see <a class="link" href="GtkPopover.html#gtk-popover-set-relative-to" title="gt
|
|
687
687
|
<a name="gtk-popover-get-pointing-to"></a><h3>gtk_popover_get_pointing_to ()</h3>
|
688
688
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
689
689
|
gtk_popover_get_pointing_to (<em class="parameter"><code><a class="link" href="GtkPopover.html" title="GtkPopover"><span class="type">GtkPopover</span></a> *popover</code></em>,
|
690
|
-
<em class="parameter"><code><
|
690
|
+
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
691
691
|
<p>If a rectangle to point to has been set, this function will
|
692
692
|
return <code class="literal">TRUE</code> and fill in <em class="parameter"><code>rect</code></em>
|
693
693
|
with such rectangle, otherwise
|
@@ -1111,7 +1111,7 @@ receive input while the popover is visible).</p>
|
|
1111
1111
|
<hr>
|
1112
1112
|
<div class="refsect2">
|
1113
1113
|
<a name="GtkPopover--pointing-to"></a><h3>The <code class="literal">“pointing-to”</code> property</h3>
|
1114
|
-
<pre class="programlisting"> “pointing-to” <
|
1114
|
+
<pre class="programlisting"> “pointing-to” <span class="type">GdkRectangle</span> *</pre>
|
1115
1115
|
<p>Marks a specific rectangle to be pointed.</p>
|
1116
1116
|
<p>Flags: Read / Write</p>
|
1117
1117
|
<p class="since">Since: <a class="link" href="api-index-3-12.html#api-index-3.12">3.12</a></p>
|