gdk3 3.1.6-x64-mingw32 → 3.1.7-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/Rakefile +1 -1
- data/lib/gdk3/loader.rb +1 -0
- 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/gtktextview.h +1 -2
- data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +3 -3
- 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/libgdk-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.la +1 -1
- data/vendor/local/lib/libgtk-3.dll.a +0 -0
- data/vendor/local/lib/libgtk-3.la +1 -1
- data/vendor/local/lib/libgtkreftestprivate.dll.a +0 -0
- 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/gir-1.0/Gtk-3.0.gir +39 -35
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailMisc.html +22 -22
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailTextUtil.html +4 -4
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDevice.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDeviceManager.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDevicePad.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplay.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDrawingContext.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk3/GdkFrameClock.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/GdkScreen.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cairo-Interaction.html +39 -39
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cursors.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Events.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-General.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Keyboard-Handling.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pango-Interaction.html +54 -54
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pixbufs.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Selections.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Threads.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Windows.html +73 -73
- data/vendor/local/share/gtk-doc/html/gdk3/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAboutDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActivatable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAssistant.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuildable.html +1 -1
- 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 +24 -24
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererPixbuf.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +10 -10
- 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 +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCssProvider.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 +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEditable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +42 -42
- 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/GtkFileChooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooser.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelection.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelectionDialog.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGLArea.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGesture.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGestureMultiPress.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGestureSingle.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHeaderBar.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLabel.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListStore.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMessageDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOffscreenWindow.html +9 -9
- 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 +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaperSize.html +1 -1
- 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/GtkPrintContext.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintJob.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentManager.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScale.html +19 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollable.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 +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinButton.html +10 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +77 -77
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +94 -94
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleProvider.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextIter.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +51 -51
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +38 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItem.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItemGroup.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolShell.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSortable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeStore.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +16 -16
- 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 +323 -323
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +61 -59
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s05.html +0 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ch02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ch26s02.html +59 -59
- 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 +46 -46
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-bonus-points.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +5 -5
- 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-migrating-theme-GtkStyleContext-engines.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +27 -27
- 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 +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +46 -46
- 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 +29 -29
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkGradient.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkTreeView-drag-and-drop.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Orientable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +46 -46
- 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 +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3.devhelp2 +1 -0
- data/vendor/local/share/gtk-doc/html/gtk3/index.html +1 -1
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/es/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/hr/LC_MESSAGES/gtk30.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/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/lv/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk30-properties.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/sr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk30-properties.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 +10 -10
@@ -41,7 +41,7 @@
|
|
41
41
|
<tbody>
|
42
42
|
<tr>
|
43
43
|
<td class="function_type">
|
44
|
-
<a href="
|
44
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
45
45
|
</td>
|
46
46
|
<td class="function_name">
|
47
47
|
<a class="link" href="gdk3-Pixbufs.html#gdk-pixbuf-get-from-window" title="gdk_pixbuf_get_from_window ()">gdk_pixbuf_get_from_window</a> <span class="c_punctuation">()</span>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</tr>
|
50
50
|
<tr>
|
51
51
|
<td class="function_type">
|
52
|
-
<a href="
|
52
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
53
53
|
</td>
|
54
54
|
<td class="function_name">
|
55
55
|
<a class="link" href="gdk3-Pixbufs.html#gdk-pixbuf-get-from-surface" title="gdk_pixbuf_get_from_surface ()">gdk_pixbuf_get_from_surface</a> <span class="c_punctuation">()</span>
|
@@ -66,7 +66,7 @@
|
|
66
66
|
<div class="refsect1">
|
67
67
|
<a name="gdk3-Pixbufs.description"></a><h2>Description</h2>
|
68
68
|
<p>Pixbufs are client-side images. For details on how to create
|
69
|
-
and manipulate pixbufs, see the <a href="
|
69
|
+
and manipulate pixbufs, see the <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> API documentation.</p>
|
70
70
|
<p>The functions described here allow to obtain pixbufs from
|
71
71
|
<a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> and cairo surfaces.</p>
|
72
72
|
</div>
|
@@ -74,14 +74,14 @@ and manipulate pixbufs, see the <a href="http://library.gnome.org/devel/gdk-pixb
|
|
74
74
|
<a name="gdk3-Pixbufs.functions_details"></a><h2>Functions</h2>
|
75
75
|
<div class="refsect2">
|
76
76
|
<a name="gdk-pixbuf-get-from-window"></a><h3>gdk_pixbuf_get_from_window ()</h3>
|
77
|
-
<pre class="programlisting"><a href="
|
77
|
+
<pre class="programlisting"><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
78
78
|
gdk_pixbuf_get_from_window (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
79
79
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_x</code></em>,
|
80
80
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_y</code></em>,
|
81
81
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
82
82
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
83
83
|
<p>Transfers image data from a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> and converts it to an RGB(A)
|
84
|
-
representation inside a <a href="
|
84
|
+
representation inside a <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>. In other words, copies
|
85
85
|
image data from a server-side drawable to a client-side RGB(A) buffer.
|
86
86
|
This allows you to efficiently read individual pixels on the client side.</p>
|
87
87
|
<p>This function will create an RGB pixbuf with 8 bits per channel with
|
@@ -153,14 +153,14 @@ reference count of 1, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/l
|
|
153
153
|
<hr>
|
154
154
|
<div class="refsect2">
|
155
155
|
<a name="gdk-pixbuf-get-from-surface"></a><h3>gdk_pixbuf_get_from_surface ()</h3>
|
156
|
-
<pre class="programlisting"><a href="
|
157
|
-
gdk_pixbuf_get_from_surface (<em class="parameter"><code><
|
156
|
+
<pre class="programlisting"><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
157
|
+
gdk_pixbuf_get_from_surface (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>,
|
158
158
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_x</code></em>,
|
159
159
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> src_y</code></em>,
|
160
160
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
161
161
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
162
|
-
<p>Transfers image data from a <
|
163
|
-
representation inside a <a href="
|
162
|
+
<p>Transfers image data from a <span class="type">cairo_surface_t</span> and converts it to an RGB(A)
|
163
|
+
representation inside a <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>. This allows you to efficiently read
|
164
164
|
individual pixels from cairo surfaces. For <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a>, use
|
165
165
|
<a class="link" href="gdk3-Pixbufs.html#gdk-pixbuf-get-from-window" title="gdk_pixbuf_get_from_window ()"><code class="function">gdk_pixbuf_get_from_window()</code></a> instead.</p>
|
166
166
|
<p>This function will create an RGB pixbuf with 8 bits per channel.
|
@@ -93,14 +93,14 @@
|
|
93
93
|
<div class="refsect1">
|
94
94
|
<a name="gdk3-Points-Rectangles-and-Regions.description"></a><h2>Description</h2>
|
95
95
|
<p>GDK provides the <a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint"><span class="type">GdkPoint</span></a> and <a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> data types for representing pixels
|
96
|
-
and sets of pixels on the screen. Together with Cairo’s <
|
96
|
+
and sets of pixels on the screen. Together with Cairo’s <span class="type">cairo_region_t</span> data
|
97
97
|
type, they make up the central types for representing graphical data.</p>
|
98
98
|
<p>A <a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkPoint" title="struct GdkPoint"><span class="type">GdkPoint</span></a> represents an x and y coordinate of a point.</p>
|
99
99
|
<p>A <a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> represents the position and size of a rectangle.
|
100
100
|
The intersection of two rectangles can be computed with
|
101
101
|
<a class="link" href="gdk3-Points-Rectangles-and-Regions.html#gdk-rectangle-intersect" title="gdk_rectangle_intersect ()"><code class="function">gdk_rectangle_intersect()</code></a>. To find the union of two rectangles use
|
102
102
|
<a class="link" href="gdk3-Points-Rectangles-and-Regions.html#gdk-rectangle-union" title="gdk_rectangle_union ()"><code class="function">gdk_rectangle_union()</code></a>.</p>
|
103
|
-
<p><
|
103
|
+
<p><span class="type">cairo_region_t</span> is usually used for managing clipping of graphical operations.</p>
|
104
104
|
</div>
|
105
105
|
<div class="refsect1">
|
106
106
|
<a name="gdk3-Points-Rectangles-and-Regions.functions_details"></a><h2>Functions</h2>
|
@@ -284,7 +284,7 @@ gdk_rectangle_equal (<em class="parameter"><code>const <a class="link" href="gdk
|
|
284
284
|
} GdkRectangle;
|
285
285
|
</pre>
|
286
286
|
<p>Defines the position and size of a rectangle. It is identical to
|
287
|
-
<
|
287
|
+
<span class="type">cairo_rectangle_int_t</span>.</p>
|
288
288
|
</div>
|
289
289
|
</div>
|
290
290
|
</div>
|
@@ -456,7 +456,7 @@ gdk_selection_property_get (<em class="parameter"><code><a class="link" href="gd
|
|
456
456
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *prop_format</code></em>);</pre>
|
457
457
|
<p>Retrieves selection data that was stored by the selection
|
458
458
|
data in response to a call to <a class="link" href="gdk3-Selections.html#gdk-selection-convert" title="gdk_selection_convert ()"><code class="function">gdk_selection_convert()</code></a>. This function
|
459
|
-
will not be used by applications, who should use the <a href="
|
459
|
+
will not be used by applications, who should use the <a href="../gtk4/gtk4-Clipboards.html#GtkClipboard-struct"><span class="type">GtkClipboard</span></a>
|
460
460
|
API instead.</p>
|
461
461
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
462
462
|
<div class="refsect3">
|
@@ -144,7 +144,7 @@ locked), but individual data structure instances are not automatically
|
|
144
144
|
locked for performance reasons. So e.g. you must coordinate
|
145
145
|
accesses to the same <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> from multiple threads.</p>
|
146
146
|
<p>GTK+, however, is not thread safe. You should only use GTK+ and GDK
|
147
|
-
from the thread <a href="
|
147
|
+
from the thread <a href="../gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a> and <a href="../gtk4/gtk4-General.html#gtk-main"><code class="function">gtk_main()</code></a> were called on.
|
148
148
|
This is usually referred to as the “main thread”.</p>
|
149
149
|
<p>Signals on GTK+ and GDK types, as well as non-signal callbacks, are
|
150
150
|
emitted in the main thread.</p>
|
@@ -188,7 +188,7 @@ by using <a class="link" href="gdk3-Threads.html#gdk-threads-add-idle" title="gd
|
|
188
188
|
|
189
189
|
my_app<span class="gtkdoc opt">-></span>expensive_data <span class="gtkdoc opt">=</span> expensive_data<span class="gtkdoc opt">;</span>
|
190
190
|
<span class="function">gtk_button_set_sensitive</span> <span class="gtkdoc opt">(</span>my_app<span class="gtkdoc opt">-></span>button<span class="gtkdoc opt">,</span> TRUE<span class="gtkdoc opt">);</span>
|
191
|
-
<span class="function"><a href="
|
191
|
+
<span class="function"><a href="../gtk4/GtkButton.html#gtk-button-set-label">gtk_button_set_label</a></span> <span class="gtkdoc opt">(</span>my_app<span class="gtkdoc opt">-></span>button<span class="gtkdoc opt">,</span> expensive_data<span class="gtkdoc opt">-></span>result_label<span class="gtkdoc opt">);</span>
|
192
192
|
|
193
193
|
<span class="keyword">return</span> G_SOURCE_REMOVE<span class="gtkdoc opt">;</span>
|
194
194
|
<span class="gtkdoc opt">}</span></pre></td>
|
@@ -252,7 +252,7 @@ gdk_threads_init (<em class="parameter"><code><span class="type">void</span></co
|
|
252
252
|
<p>Initializes GDK so that it can be used from multiple threads
|
253
253
|
in conjunction with <a class="link" href="gdk3-Threads.html#gdk-threads-enter" title="gdk_threads_enter ()"><code class="function">gdk_threads_enter()</code></a> and <a class="link" href="gdk3-Threads.html#gdk-threads-leave" title="gdk_threads_leave ()"><code class="function">gdk_threads_leave()</code></a>.</p>
|
254
254
|
<p>This call must be made before any use of the main loop from
|
255
|
-
GTK+; to be safe, call it before <a href="
|
255
|
+
GTK+; to be safe, call it before <a href="../gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a>.</p>
|
256
256
|
</div>
|
257
257
|
<hr>
|
258
258
|
<div class="refsect2">
|
@@ -524,7 +524,7 @@
|
|
524
524
|
</tr>
|
525
525
|
<tr>
|
526
526
|
<td class="function_type">
|
527
|
-
<
|
527
|
+
<span class="returnvalue">cairo_region_t</span> *
|
528
528
|
</td>
|
529
529
|
<td class="function_name">
|
530
530
|
<a class="link" href="gdk3-Windows.html#gdk-window-get-clip-region" title="gdk_window_get_clip_region ()">gdk_window_get_clip_region</a> <span class="c_punctuation">()</span>
|
@@ -572,7 +572,7 @@
|
|
572
572
|
</tr>
|
573
573
|
<tr>
|
574
574
|
<td class="function_type">
|
575
|
-
<
|
575
|
+
<span class="returnvalue">cairo_region_t</span> *
|
576
576
|
</td>
|
577
577
|
<td class="function_name">
|
578
578
|
<a class="link" href="gdk3-Windows.html#gdk-window-get-visible-region" title="gdk_window_get_visible_region ()">gdk_window_get_visible_region</a> <span class="c_punctuation">()</span>
|
@@ -628,7 +628,7 @@
|
|
628
628
|
</tr>
|
629
629
|
<tr>
|
630
630
|
<td class="function_type">
|
631
|
-
<
|
631
|
+
<span class="returnvalue">cairo_region_t</span> *
|
632
632
|
</td>
|
633
633
|
<td class="function_name">
|
634
634
|
<a class="link" href="gdk3-Windows.html#gdk-window-get-update-area" title="gdk_window_get_update_area ()">gdk_window_get_update_area</a> <span class="c_punctuation">()</span>
|
@@ -860,7 +860,7 @@
|
|
860
860
|
</tr>
|
861
861
|
<tr>
|
862
862
|
<td class="function_type">
|
863
|
-
<
|
863
|
+
<span class="returnvalue">cairo_pattern_t</span> *
|
864
864
|
</td>
|
865
865
|
<td class="function_name">
|
866
866
|
<a class="link" href="gdk3-Windows.html#gdk-window-get-background-pattern" title="gdk_window_get_background_pattern ()">gdk_window_get_background_pattern</a> <span class="c_punctuation">()</span>
|
@@ -1276,7 +1276,7 @@
|
|
1276
1276
|
</tr>
|
1277
1277
|
<tr>
|
1278
1278
|
<td class="function_type">
|
1279
|
-
<
|
1279
|
+
<span class="returnvalue">cairo_surface_t</span> *
|
1280
1280
|
</td>
|
1281
1281
|
<td class="function_name">
|
1282
1282
|
<a class="link" href="gdk3-Windows.html#gdk-offscreen-window-get-surface" title="gdk_offscreen_window_get_surface ()">gdk_offscreen_window_get_surface</a> <span class="c_punctuation">()</span>
|
@@ -1498,10 +1498,10 @@
|
|
1498
1498
|
<a name="gdk3-Windows.description"></a><h2>Description</h2>
|
1499
1499
|
<p>A <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> is a (usually) rectangular region on the screen.
|
1500
1500
|
It’s a low-level object, used to implement high-level objects such as
|
1501
|
-
<a href="
|
1501
|
+
<a href="../gtk4/GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a> and <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> on the GTK+ level. A <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> is a toplevel
|
1502
1502
|
window, the thing a user might think of as a “window” with a titlebar
|
1503
|
-
and so on; a <a href="
|
1504
|
-
each <a href="
|
1503
|
+
and so on; a <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> may contain many <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a>. For example,
|
1504
|
+
each <a href="../gtk4/GtkButton.html#GtkButton-struct"><span class="type">GtkButton</span></a> has a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> associated with it.</p>
|
1505
1505
|
<div class="refsect2">
|
1506
1506
|
<a name="COMPOSITED-WINDOWS"></a><h3>Composited Windows</h3>
|
1507
1507
|
<p>Normally, the windowing system takes care of rendering the contents
|
@@ -1779,7 +1779,7 @@ top of the window stack (moves the window to the front of the
|
|
1779
1779
|
Z-order).</p>
|
1780
1780
|
<p>This function maps a window so it’s visible onscreen. Its opposite
|
1781
1781
|
is <a class="link" href="gdk3-Windows.html#gdk-window-hide" title="gdk_window_hide ()"><code class="function">gdk_window_hide()</code></a>.</p>
|
1782
|
-
<p>When implementing a <a href="
|
1782
|
+
<p>When implementing a <a href="../gtk4/GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a>, you should call this function on the widget's
|
1783
1783
|
<a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> as part of the “map” method.</p>
|
1784
1784
|
<div class="refsect3">
|
1785
1785
|
<a name="gdk-window-show.parameters"></a><h4>Parameters</h4>
|
@@ -1832,7 +1832,7 @@ gdk_window_hide (<em class="parameter"><code><a class="link" href="gdk3-Windows.
|
|
1832
1832
|
<p>For toplevel windows, withdraws them, so they will no longer be
|
1833
1833
|
known to the window manager; for all windows, unmaps them, so
|
1834
1834
|
they won’t be displayed. Normally done automatically as
|
1835
|
-
part of <a href="
|
1835
|
+
part of <a href="../gtk4/GtkWidget.html#gtk-widget-hide"><code class="function">gtk_widget_hide()</code></a>.</p>
|
1836
1836
|
<div class="refsect3">
|
1837
1837
|
<a name="gdk-window-hide.parameters"></a><h4>Parameters</h4>
|
1838
1838
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -2047,7 +2047,7 @@ gdk_window_iconify (<em class="parameter"><code><a class="link" href="gdk3-Windo
|
|
2047
2047
|
<p>Asks to iconify (minimize) <em class="parameter"><code>window</code></em>
|
2048
2048
|
. The window manager may choose
|
2049
2049
|
to ignore the request, but normally will honor it. Using
|
2050
|
-
<a href="
|
2050
|
+
<a href="../gtk4/GtkWindow.html#gtk-window-iconify"><code class="function">gtk_window_iconify()</code></a> is preferred, if you have a <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> widget.</p>
|
2051
2051
|
<p>This function only makes sense when <em class="parameter"><code>window</code></em>
|
2052
2052
|
is a toplevel window.</p>
|
2053
2053
|
<div class="refsect3">
|
@@ -2074,8 +2074,8 @@ gdk_window_deiconify (<em class="parameter"><code><a class="link" href="gdk3-Win
|
|
2074
2074
|
<p>Attempt to deiconify (unminimize) <em class="parameter"><code>window</code></em>
|
2075
2075
|
. On X11 the window manager may
|
2076
2076
|
choose to ignore the request to deiconify. When using GTK+,
|
2077
|
-
use <a href="
|
2078
|
-
you probably want to use <a href="
|
2077
|
+
use <a href="../gtk4/GtkWindow.html#gtk-window-deiconify"><code class="function">gtk_window_deiconify()</code></a> instead of the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> variant. Or better yet,
|
2078
|
+
you probably want to use <a href="../gtk4/GtkWindow.html#gtk-window-present"><code class="function">gtk_window_present()</code></a>, which raises the window, focuses it,
|
2079
2079
|
unminimizes it, and puts it on the current desktop.</p>
|
2080
2080
|
<div class="refsect3">
|
2081
2081
|
<a name="gdk-window-deiconify.parameters"></a><h4>Parameters</h4>
|
@@ -2100,7 +2100,7 @@ unminimizes it, and puts it on the current desktop.</p>
|
|
2100
2100
|
gdk_window_stick (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2101
2101
|
<p>“Pins” a window such that it’s on all workspaces and does not scroll
|
2102
2102
|
with viewports, for window managers that have scrollable viewports.
|
2103
|
-
(When using <a href="
|
2103
|
+
(When using <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>, <a href="../gtk4/GtkWindow.html#gtk-window-stick"><code class="function">gtk_window_stick()</code></a> may be more useful.)</p>
|
2104
2104
|
<p>On the X11 platform, this function depends on window manager
|
2105
2105
|
support, so may have no effect with many window managers. However,
|
2106
2106
|
GDK will do the best it can to convince the window manager to stick
|
@@ -2128,7 +2128,7 @@ there’s nothing you can do to force it to happen.</p>
|
|
2128
2128
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2129
2129
|
gdk_window_unstick (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
2130
2130
|
<p>Reverse operation for <a class="link" href="gdk3-Windows.html#gdk-window-stick" title="gdk_window_stick ()"><code class="function">gdk_window_stick()</code></a>; see <a class="link" href="gdk3-Windows.html#gdk-window-stick" title="gdk_window_stick ()"><code class="function">gdk_window_stick()</code></a>,
|
2131
|
-
and <a href="
|
2131
|
+
and <a href="../gtk4/GtkWindow.html#gtk-window-unstick"><code class="function">gtk_window_unstick()</code></a>.</p>
|
2132
2132
|
<div class="refsect3">
|
2133
2133
|
<a name="gdk-window-unstick.parameters"></a><h4>Parameters</h4>
|
2134
2134
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -2479,7 +2479,7 @@ X screens with a compositing manager running. On Wayland, there is no
|
|
2479
2479
|
per-window opacity value that the compositor would apply. Instead, use
|
2480
2480
|
<code class="literal">gdk_window_set_opaque_region (window, NULL)</code> to tell the compositor
|
2481
2481
|
that the entire window is (potentially) non-opaque, and draw your content
|
2482
|
-
with alpha, or use <a href="
|
2482
|
+
with alpha, or use <a href="../gtk4/GtkWidget.html#gtk-widget-set-opacity"><code class="function">gtk_widget_set_opacity()</code></a> to set an overall opacity
|
2483
2483
|
for your widgets.</p>
|
2484
2484
|
<p>For child windows this function only works for non-native windows.</p>
|
2485
2485
|
<p>For setting up per-pixel alpha topelevels, see <a class="link" href="GdkScreen.html#gdk-screen-get-rgba-visual" title="gdk_screen_get_rgba_visual ()"><code class="function">gdk_screen_get_rgba_visual()</code></a>,
|
@@ -2679,7 +2679,7 @@ gdk_window_move (<em class="parameter"><code><a class="link" href="gdk3-Windows.
|
|
2679
2679
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
|
2680
2680
|
<p>Repositions a window relative to its parent window.
|
2681
2681
|
For toplevel windows, window managers may ignore or modify the move;
|
2682
|
-
you should probably use <a href="
|
2682
|
+
you should probably use <a href="../gtk4/GtkWindow.html#gtk-window-move"><code class="function">gtk_window_move()</code></a> on a <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> widget
|
2683
2683
|
anyway, instead of using GDK functions. For child windows,
|
2684
2684
|
the move will reliably succeed.</p>
|
2685
2685
|
<p>If you’re also planning to resize the window, use <a class="link" href="gdk3-Windows.html#gdk-window-move-resize" title="gdk_window_move_resize ()"><code class="function">gdk_window_move_resize()</code></a>
|
@@ -2722,7 +2722,7 @@ gdk_window_resize (<em class="parameter"><code><a class="link" href="gdk3-Window
|
|
2722
2722
|
<p>Resizes <em class="parameter"><code>window</code></em>
|
2723
2723
|
; for toplevel windows, asks the window manager to resize
|
2724
2724
|
the window. The window manager may not allow the resize. When using GTK+,
|
2725
|
-
use <a href="
|
2725
|
+
use <a href="../gtk4/GtkWindow.html#gtk-window-resize"><code class="function">gtk_window_resize()</code></a> instead of this low-level GDK function.</p>
|
2726
2726
|
<p>Windows may not be resized below 1x1.</p>
|
2727
2727
|
<p>If you’re also planning to move the window, use <a class="link" href="gdk3-Windows.html#gdk-window-move-resize" title="gdk_window_move_resize ()"><code class="function">gdk_window_move_resize()</code></a>
|
2728
2728
|
to both move and resize simultaneously, for a nicer visual effect.</p>
|
@@ -2857,7 +2857,7 @@ artifacts and unnecessary invalidations.</p>
|
|
2857
2857
|
<a name="gdk-window-move-region"></a><h3>gdk_window_move_region ()</h3>
|
2858
2858
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2859
2859
|
gdk_window_move_region (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
2860
|
-
<em class="parameter"><code>const <
|
2860
|
+
<em class="parameter"><code>const <span class="type">cairo_region_t</span> *region</code></em>,
|
2861
2861
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dx</code></em>,
|
2862
2862
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dy</code></em>);</pre>
|
2863
2863
|
<p>Move the part of <em class="parameter"><code>window</code></em>
|
@@ -2886,7 +2886,7 @@ that not covered by the new position of <em class="parameter"><code>region</code
|
|
2886
2886
|
</tr>
|
2887
2887
|
<tr>
|
2888
2888
|
<td class="parameter_name"><p>region</p></td>
|
2889
|
-
<td class="parameter_description"><p>The <
|
2889
|
+
<td class="parameter_description"><p>The <span class="type">cairo_region_t</span> to move</p></td>
|
2890
2890
|
<td class="parameter_annotations"> </td>
|
2891
2891
|
</tr>
|
2892
2892
|
<tr>
|
@@ -3155,8 +3155,8 @@ requests the restack, does not guarantee it.</p>
|
|
3155
3155
|
gdk_window_focus (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3156
3156
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
|
3157
3157
|
<p>Sets keyboard focus to <em class="parameter"><code>window</code></em>
|
3158
|
-
. In most cases, <a href="
|
3159
|
-
should be used on a <a href="
|
3158
|
+
. In most cases, <a href="../gtk4/GtkWindow.html#gtk-window-present"><code class="function">gtk_window_present()</code></a>
|
3159
|
+
should be used on a <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>, rather than calling this function.</p>
|
3160
3160
|
<div class="refsect3">
|
3161
3161
|
<a name="gdk-window-focus.parameters"></a><h4>Parameters</h4>
|
3162
3162
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -3273,7 +3273,7 @@ gdk_window_begin_resize_drag_for_device
|
|
3273
3273
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
|
3274
3274
|
<p>Begins a window resize operation (for a toplevel window).
|
3275
3275
|
You might use this function to implement a “window resize grip,” for
|
3276
|
-
example; in fact <a href="
|
3276
|
+
example; in fact <a href="../gtk4/GtkStatusbar.html#GtkStatusbar-struct"><span class="type">GtkStatusbar</span></a> uses it. The function works best
|
3277
3277
|
with window managers that support the
|
3278
3278
|
<a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" target="_top">Extended Window Manager Hints</a>
|
3279
3279
|
but has a fallback implementation for other window managers.</p>
|
@@ -3598,7 +3598,7 @@ a configure event will be sent to the toplevel window.</p>
|
|
3598
3598
|
<a name="gdk-window-set-opaque-region"></a><h3>gdk_window_set_opaque_region ()</h3>
|
3599
3599
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3600
3600
|
gdk_window_set_opaque_region (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3601
|
-
<em class="parameter"><code><
|
3601
|
+
<em class="parameter"><code><span class="type">cairo_region_t</span> *region</code></em>);</pre>
|
3602
3602
|
<p>For optimisation purposes, compositing window managers may
|
3603
3603
|
like to not draw obscured regions of windows, or turn off blending
|
3604
3604
|
during for these regions. With RGB windows with no transparency,
|
@@ -3610,7 +3610,7 @@ or not.</p>
|
|
3610
3610
|
the <em class="parameter"><code>window</code></em>
|
3611
3611
|
background is opaque, as we know where the opaque regions
|
3612
3612
|
are. If your window background is not opaque, please update this
|
3613
|
-
property in your <a href="
|
3613
|
+
property in your <a href="../gtk4/GtkWidget.html#GtkWidget-style-updated"><span class="type">“style-updated”</span></a> handler.</p>
|
3614
3614
|
<div class="refsect3">
|
3615
3615
|
<a name="gdk-window-set-opaque-region.parameters"></a><h4>Parameters</h4>
|
3616
3616
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -3683,7 +3683,7 @@ call <a class="link" href="GdkGLContext.html#gdk-gl-context-make-current" title=
|
|
3683
3683
|
<a name="gdk-window-mark-paint-from-clip"></a><h3>gdk_window_mark_paint_from_clip ()</h3>
|
3684
3684
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3685
3685
|
gdk_window_mark_paint_from_clip (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3686
|
-
<em class="parameter"><code><
|
3686
|
+
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>);</pre>
|
3687
3687
|
<p>If you call this during a paint (e.g. between <a class="link" href="gdk3-Windows.html#gdk-window-begin-paint-region" title="gdk_window_begin_paint_region ()"><code class="function">gdk_window_begin_paint_region()</code></a>
|
3688
3688
|
and <a class="link" href="gdk3-Windows.html#gdk-window-end-paint" title="gdk_window_end_paint ()"><code class="function">gdk_window_end_paint()</code></a> then GDK will mark the current clip region of the
|
3689
3689
|
window as being drawn. This is required when mixing GL rendering via
|
@@ -3707,7 +3707,7 @@ to care about this.</p>
|
|
3707
3707
|
</tr>
|
3708
3708
|
<tr>
|
3709
3709
|
<td class="parameter_name"><p>cr</p></td>
|
3710
|
-
<td class="parameter_description"><p>a <
|
3710
|
+
<td class="parameter_description"><p>a <span class="type">cairo_t</span></p></td>
|
3711
3711
|
<td class="parameter_annotations"> </td>
|
3712
3712
|
</tr>
|
3713
3713
|
</tbody>
|
@@ -3718,7 +3718,7 @@ to care about this.</p>
|
|
3718
3718
|
<hr>
|
3719
3719
|
<div class="refsect2">
|
3720
3720
|
<a name="gdk-window-get-clip-region"></a><h3>gdk_window_get_clip_region ()</h3>
|
3721
|
-
<pre class="programlisting"><
|
3721
|
+
<pre class="programlisting"><span class="returnvalue">cairo_region_t</span> *
|
3722
3722
|
gdk_window_get_clip_region (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
3723
3723
|
<p>Computes the region of a window that potentially can be written
|
3724
3724
|
to by drawing primitives. This region may not take into account
|
@@ -3742,7 +3742,7 @@ primitives.</p>
|
|
3742
3742
|
</div>
|
3743
3743
|
<div class="refsect3">
|
3744
3744
|
<a name="gdk-window-get-clip-region.returns"></a><h4>Returns</h4>
|
3745
|
-
<p> a <
|
3745
|
+
<p> a <span class="type">cairo_region_t</span>. This must be freed with <code class="function">cairo_region_destroy()</code>
|
3746
3746
|
when you are done.</p>
|
3747
3747
|
</div>
|
3748
3748
|
</div>
|
@@ -3787,7 +3787,7 @@ creates a rectangular region for you. See
|
|
3787
3787
|
<a name="gdk-window-begin-paint-region"></a><h3>gdk_window_begin_paint_region ()</h3>
|
3788
3788
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3789
3789
|
gdk_window_begin_paint_region (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3790
|
-
<em class="parameter"><code>const <
|
3790
|
+
<em class="parameter"><code>const <span class="type">cairo_region_t</span> *region</code></em>);</pre>
|
3791
3791
|
<div class="warning">
|
3792
3792
|
<p><code class="literal">gdk_window_begin_paint_region</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
3793
3793
|
<p>Use <a class="link" href="gdk3-Windows.html#gdk-window-begin-draw-frame" title="gdk_window_begin_draw_frame ()"><code class="function">gdk_window_begin_draw_frame()</code></a> instead</p>
|
@@ -3893,7 +3893,7 @@ store at all as the active paint region. See
|
|
3893
3893
|
<a name="gdk-window-begin-draw-frame"></a><h3>gdk_window_begin_draw_frame ()</h3>
|
3894
3894
|
<pre class="programlisting"><a class="link" href="GdkDrawingContext.html" title="GdkDrawingContext"><span class="returnvalue">GdkDrawingContext</span></a> *
|
3895
3895
|
gdk_window_begin_draw_frame (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
3896
|
-
<em class="parameter"><code>const <
|
3896
|
+
<em class="parameter"><code>const <span class="type">cairo_region_t</span> *region</code></em>);</pre>
|
3897
3897
|
<p>Indicates that you are beginning the process of redrawing <em class="parameter"><code>region</code></em>
|
3898
3898
|
|
3899
3899
|
on <em class="parameter"><code>window</code></em>
|
@@ -3999,7 +3999,7 @@ gdk_window_end_draw_frame (<em class="parameter"><code><a class="link" href="gdk
|
|
3999
3999
|
<hr>
|
4000
4000
|
<div class="refsect2">
|
4001
4001
|
<a name="gdk-window-get-visible-region"></a><h3>gdk_window_get_visible_region ()</h3>
|
4002
|
-
<pre class="programlisting"><
|
4002
|
+
<pre class="programlisting"><span class="returnvalue">cairo_region_t</span> *
|
4003
4003
|
gdk_window_get_visible_region (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
4004
4004
|
<p>Computes the region of the <em class="parameter"><code>window</code></em>
|
4005
4005
|
that is potentially visible.
|
@@ -4023,7 +4023,7 @@ is visible.</p>
|
|
4023
4023
|
</div>
|
4024
4024
|
<div class="refsect3">
|
4025
4025
|
<a name="gdk-window-get-visible-region.returns"></a><h4>Returns</h4>
|
4026
|
-
<p> a <
|
4026
|
+
<p> a <span class="type">cairo_region_t</span>. This must be freed with <code class="function">cairo_region_destroy()</code>
|
4027
4027
|
when you are done.</p>
|
4028
4028
|
</div>
|
4029
4029
|
</div>
|
@@ -4032,7 +4032,7 @@ when you are done.</p>
|
|
4032
4032
|
<a name="GdkWindowInvalidateHandlerFunc"></a><h3>GdkWindowInvalidateHandlerFunc ()</h3>
|
4033
4033
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4034
4034
|
<span class="c_punctuation">(</span>*GdkWindowInvalidateHandlerFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4035
|
-
<em class="parameter"><code><
|
4035
|
+
<em class="parameter"><code><span class="type">cairo_region_t</span> *region</code></em>);</pre>
|
4036
4036
|
<p>Whenever some area of the window is invalidated (directly in the
|
4037
4037
|
window or in a child window) this gets called with <em class="parameter"><code>region</code></em>
|
4038
4038
|
in
|
@@ -4059,7 +4059,7 @@ a child in multiple places.</p>
|
|
4059
4059
|
</tr>
|
4060
4060
|
<tr>
|
4061
4061
|
<td class="parameter_name"><p>region</p></td>
|
4062
|
-
<td class="parameter_description"><p>a <
|
4062
|
+
<td class="parameter_description"><p>a <span class="type">cairo_region_t</span></p></td>
|
4063
4063
|
<td class="parameter_annotations"> </td>
|
4064
4064
|
</tr>
|
4065
4065
|
</tbody>
|
@@ -4150,7 +4150,7 @@ window. </p></td>
|
|
4150
4150
|
<a name="gdk-window-invalidate-region"></a><h3>gdk_window_invalidate_region ()</h3>
|
4151
4151
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4152
4152
|
gdk_window_invalidate_region (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4153
|
-
<em class="parameter"><code>const <
|
4153
|
+
<em class="parameter"><code>const <span class="type">cairo_region_t</span> *region</code></em>,
|
4154
4154
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> invalidate_children</code></em>);</pre>
|
4155
4155
|
<p>Adds <em class="parameter"><code>region</code></em>
|
4156
4156
|
to the update area for <em class="parameter"><code>window</code></em>
|
@@ -4188,7 +4188,7 @@ fine grained control over which children are invalidated.</p>
|
|
4188
4188
|
</tr>
|
4189
4189
|
<tr>
|
4190
4190
|
<td class="parameter_name"><p>region</p></td>
|
4191
|
-
<td class="parameter_description"><p>a <
|
4191
|
+
<td class="parameter_description"><p>a <span class="type">cairo_region_t</span></p></td>
|
4192
4192
|
<td class="parameter_annotations"> </td>
|
4193
4193
|
</tr>
|
4194
4194
|
<tr>
|
@@ -4242,7 +4242,7 @@ recursively</p>
|
|
4242
4242
|
<a name="gdk-window-invalidate-maybe-recurse"></a><h3>gdk_window_invalidate_maybe_recurse ()</h3>
|
4243
4243
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4244
4244
|
gdk_window_invalidate_maybe_recurse (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4245
|
-
<em class="parameter"><code>const <
|
4245
|
+
<em class="parameter"><code>const <span class="type">cairo_region_t</span> *region</code></em>,
|
4246
4246
|
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindowChildFunc" title="GdkWindowChildFunc ()"><span class="type">GdkWindowChildFunc</span></a> child_func</code></em>,
|
4247
4247
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
4248
4248
|
<p>Adds <em class="parameter"><code>region</code></em>
|
@@ -4281,7 +4281,7 @@ invalidated.</p>
|
|
4281
4281
|
</tr>
|
4282
4282
|
<tr>
|
4283
4283
|
<td class="parameter_name"><p>region</p></td>
|
4284
|
-
<td class="parameter_description"><p>a <
|
4284
|
+
<td class="parameter_description"><p>a <span class="type">cairo_region_t</span></p></td>
|
4285
4285
|
<td class="parameter_annotations"> </td>
|
4286
4286
|
</tr>
|
4287
4287
|
<tr>
|
@@ -4303,7 +4303,7 @@ recurse to a child, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/
|
|
4303
4303
|
<hr>
|
4304
4304
|
<div class="refsect2">
|
4305
4305
|
<a name="gdk-window-get-update-area"></a><h3>gdk_window_get_update_area ()</h3>
|
4306
|
-
<pre class="programlisting"><
|
4306
|
+
<pre class="programlisting"><span class="returnvalue">cairo_region_t</span> *
|
4307
4307
|
gdk_window_get_update_area (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
4308
4308
|
<p>Transfers ownership of the update area from <em class="parameter"><code>window</code></em>
|
4309
4309
|
to the caller
|
@@ -4313,7 +4313,7 @@ no longer have an invalid/dirty region; the update area is removed
|
|
4313
4313
|
from <em class="parameter"><code>window</code></em>
|
4314
4314
|
and handed to you. If a window has no update area,
|
4315
4315
|
<a class="link" href="gdk3-Windows.html#gdk-window-get-update-area" title="gdk_window_get_update_area ()"><code class="function">gdk_window_get_update_area()</code></a> returns <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You are responsible for
|
4316
|
-
calling <
|
4316
|
+
calling <code class="function">cairo_region_destroy()</code> on the returned region if it’s non-<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
4317
4317
|
<div class="refsect3">
|
4318
4318
|
<a name="gdk-window-get-update-area.parameters"></a><h4>Parameters</h4>
|
4319
4319
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -4563,11 +4563,11 @@ gdk_window_set_user_data (<em class="parameter"><code><a class="link" href="gdk3
|
|
4563
4563
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
4564
4564
|
<p>For most purposes this function is deprecated in favor of
|
4565
4565
|
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set-data"><code class="function">g_object_set_data()</code></a>. However, for historical reasons GTK+ stores
|
4566
|
-
the <a href="
|
4566
|
+
the <a href="../gtk4/GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a> that owns a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> as user data on the
|
4567
4567
|
<a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>. So, custom widget implementations should use
|
4568
4568
|
this function for that. If GTK+ receives an event for a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>,
|
4569
4569
|
and the user data for the window is non-<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, GTK+ will assume the
|
4570
|
-
user data is a <a href="
|
4570
|
+
user data is a <a href="../gtk4/GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a>, and forward the event to that widget.</p>
|
4571
4571
|
<div class="refsect3">
|
4572
4572
|
<a name="gdk-window-set-user-data.parameters"></a><h4>Parameters</h4>
|
4573
4573
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -4602,7 +4602,7 @@ This means it won’t have a titlebar, won’t be minimizable, etc. - it will
|
|
4602
4602
|
be entirely under the control of the application. The window manager
|
4603
4603
|
can’t see the override redirect window at all.</p>
|
4604
4604
|
<p>Override redirect should only be used for short-lived temporary
|
4605
|
-
windows, such as popup menus. <a href="
|
4605
|
+
windows, such as popup menus. <a href="../gtk4/GtkMenu.html#GtkMenu-struct"><span class="type">GtkMenu</span></a> uses an override redirect
|
4606
4606
|
window in its implementation, for example.</p>
|
4607
4607
|
<div class="refsect3">
|
4608
4608
|
<a name="gdk-window-set-override-redirect.parameters"></a><h4>Parameters</h4>
|
@@ -4894,7 +4894,7 @@ continue, it should return <a class="link" href="gdk3-Windows.html#GDK-FILTER-TR
|
|
4894
4894
|
<a name="gdk-window-shape-combine-region"></a><h3>gdk_window_shape_combine_region ()</h3>
|
4895
4895
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4896
4896
|
gdk_window_shape_combine_region (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
4897
|
-
<em class="parameter"><code>const <
|
4897
|
+
<em class="parameter"><code>const <span class="type">cairo_region_t</span> *shape_region</code></em>,
|
4898
4898
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_x</code></em>,
|
4899
4899
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_y</code></em>);</pre>
|
4900
4900
|
<p>Makes pixels in <em class="parameter"><code>window</code></em>
|
@@ -5017,7 +5017,7 @@ be merged.</p>
|
|
5017
5017
|
<a name="gdk-window-input-shape-combine-region"></a><h3>gdk_window_input_shape_combine_region ()</h3>
|
5018
5018
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5019
5019
|
gdk_window_input_shape_combine_region (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5020
|
-
<em class="parameter"><code>const <
|
5020
|
+
<em class="parameter"><code>const <span class="type">cairo_region_t</span> *shape_region</code></em>,
|
5021
5021
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_x</code></em>,
|
5022
5022
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset_y</code></em>);</pre>
|
5023
5023
|
<p>Like <a class="link" href="gdk3-Windows.html#gdk-window-shape-combine-region" title="gdk_window_shape_combine_region ()"><code class="function">gdk_window_shape_combine_region()</code></a>, but the shape applies
|
@@ -5295,7 +5295,7 @@ gdk_window_set_background_rgba (<em class="parameter"><code><a class="link" href
|
|
5295
5295
|
<a name="gdk-window-set-background-pattern"></a><h3>gdk_window_set_background_pattern ()</h3>
|
5296
5296
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5297
5297
|
gdk_window_set_background_pattern (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
5298
|
-
<em class="parameter"><code><
|
5298
|
+
<em class="parameter"><code><span class="type">cairo_pattern_t</span> *pattern</code></em>);</pre>
|
5299
5299
|
<div class="warning">
|
5300
5300
|
<p><code class="literal">gdk_window_set_background_pattern</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
5301
5301
|
<p>Don't use this function</p>
|
@@ -5332,7 +5332,7 @@ when the window is obscured then exposed.</p>
|
|
5332
5332
|
<hr>
|
5333
5333
|
<div class="refsect2">
|
5334
5334
|
<a name="gdk-window-get-background-pattern"></a><h3>gdk_window_get_background_pattern ()</h3>
|
5335
|
-
<pre class="programlisting"><
|
5335
|
+
<pre class="programlisting"><span class="returnvalue">cairo_pattern_t</span> *
|
5336
5336
|
gdk_window_get_background_pattern (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
5337
5337
|
<div class="warning">
|
5338
5338
|
<p><code class="literal">gdk_window_get_background_pattern</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
@@ -6680,8 +6680,8 @@ window manager to do things like center <em class="parameter"><code>window</code
|
|
6680
6680
|
keep <em class="parameter"><code>window</code></em>
|
6681
6681
|
above <em class="parameter"><code>parent</code></em>
|
6682
6682
|
.</p>
|
6683
|
-
<p>See <a href="
|
6684
|
-
<a href="
|
6683
|
+
<p>See <a href="../gtk4/GtkWindow.html#gtk-window-set-transient-for"><code class="function">gtk_window_set_transient_for()</code></a> if you’re using <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> or
|
6684
|
+
<a href="../gtk4/GtkDialog.html#GtkDialog-struct"><span class="type">GtkDialog</span></a>.</p>
|
6685
6685
|
<div class="refsect3">
|
6686
6686
|
<a name="gdk-window-set-transient-for.parameters"></a><h4>Parameters</h4>
|
6687
6687
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -6711,7 +6711,7 @@ keep <em class="parameter"><code>window</code></em>
|
|
6711
6711
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6712
6712
|
gdk_window_set_role (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
6713
6713
|
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *role</code></em>);</pre>
|
6714
|
-
<p>When using GTK+, typically you should use <a href="
|
6714
|
+
<p>When using GTK+, typically you should use <a href="../gtk4/GtkWindow.html#gtk-window-set-role"><code class="function">gtk_window_set_role()</code></a> instead
|
6715
6715
|
of this low-level function.</p>
|
6716
6716
|
<p>The window manager and session manager use a window’s role to
|
6717
6717
|
distinguish it from other kinds of window in the same application.
|
@@ -6751,7 +6751,7 @@ non-interchangeable kind of window.</p>
|
|
6751
6751
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6752
6752
|
gdk_window_set_startup_id (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
6753
6753
|
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *startup_id</code></em>);</pre>
|
6754
|
-
<p>When using GTK+, typically you should use <a href="
|
6754
|
+
<p>When using GTK+, typically you should use <a href="../gtk4/GtkWindow.html#gtk-window-set-startup-id"><code class="function">gtk_window_set_startup_id()</code></a>
|
6755
6755
|
instead of this low-level function.</p>
|
6756
6756
|
<div class="refsect3">
|
6757
6757
|
<a name="gdk-window-set-startup-id.parameters"></a><h4>Parameters</h4>
|
@@ -6855,7 +6855,7 @@ gdk_window_set_decorations (<em class="parameter"><code><a class="link" href="gd
|
|
6855
6855
|
<p>“Decorations” are the features the window manager adds to a toplevel <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>.
|
6856
6856
|
This function sets the traditional Motif window manager hints that tell the
|
6857
6857
|
window manager which decorations you would like your window to have.
|
6858
|
-
Usually you should use <a href="
|
6858
|
+
Usually you should use <a href="../gtk4/GtkWindow.html#gtk-window-set-decorated"><code class="function">gtk_window_set_decorated()</code></a> on a <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> instead of
|
6859
6859
|
using the GDK function directly.</p>
|
6860
6860
|
<p>The <em class="parameter"><code>decorations</code></em>
|
6861
6861
|
argument is the logical OR of the fields in
|
@@ -7356,7 +7356,7 @@ motion events and will benefit from turning off event compression.</p>
|
|
7356
7356
|
<hr>
|
7357
7357
|
<div class="refsect2">
|
7358
7358
|
<a name="gdk-offscreen-window-get-surface"></a><h3>gdk_offscreen_window_get_surface ()</h3>
|
7359
|
-
<pre class="programlisting"><
|
7359
|
+
<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> *
|
7360
7360
|
gdk_offscreen_window_get_surface (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
7361
7361
|
<p>Gets the offscreen surface that an offscreen window renders into.
|
7362
7362
|
If you need to keep this around over window resizes, you need to
|
@@ -7700,14 +7700,14 @@ embedder as its parent, using <a class="link" href="gdk3-Windows.html#gdk-window
|
|
7700
7700
|
<tr>
|
7701
7701
|
<td class="enum_member_name"><p><a name="GDK-WINDOW-TOPLEVEL:CAPS"></a>GDK_WINDOW_TOPLEVEL</p></td>
|
7702
7702
|
<td class="enum_member_description">
|
7703
|
-
<p>toplevel window (used to implement <a href="
|
7703
|
+
<p>toplevel window (used to implement <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>)</p>
|
7704
7704
|
</td>
|
7705
7705
|
<td class="enum_member_annotations"> </td>
|
7706
7706
|
</tr>
|
7707
7707
|
<tr>
|
7708
7708
|
<td class="enum_member_name"><p><a name="GDK-WINDOW-CHILD:CAPS"></a>GDK_WINDOW_CHILD</p></td>
|
7709
7709
|
<td class="enum_member_description">
|
7710
|
-
<p>child window (used to implement e.g. <a href="
|
7710
|
+
<p>child window (used to implement e.g. <a href="../gtk4/GtkEntry.html#GtkEntry-struct"><span class="type">GtkEntry</span></a>)</p>
|
7711
7711
|
</td>
|
7712
7712
|
<td class="enum_member_annotations"> </td>
|
7713
7713
|
</tr>
|
@@ -7715,7 +7715,7 @@ embedder as its parent, using <a class="link" href="gdk3-Windows.html#gdk-window
|
|
7715
7715
|
<td class="enum_member_name"><p><a name="GDK-WINDOW-TEMP:CAPS"></a>GDK_WINDOW_TEMP</p></td>
|
7716
7716
|
<td class="enum_member_description">
|
7717
7717
|
<p>override redirect temporary window (used to implement
|
7718
|
-
<a href="
|
7718
|
+
<a href="../gtk4/GtkMenu.html#GtkMenu-struct"><span class="type">GtkMenu</span></a>)</p>
|
7719
7719
|
</td>
|
7720
7720
|
<td class="enum_member_annotations"> </td>
|
7721
7721
|
</tr>
|
@@ -7796,7 +7796,7 @@ attention to. Also, the presence/absence of <em class="parameter"><code>GDK_HINT
|
|
7796
7796
|
is significant, though they don't
|
7797
7797
|
directly refer to <a class="link" href="gdk3-Windows.html#GdkGeometry" title="struct GdkGeometry"><span class="type">GdkGeometry</span></a> fields. <em class="parameter"><code>GDK_HINT_USER_POS</code></em>
|
7798
7798
|
will be set
|
7799
|
-
automatically by <a href="
|
7799
|
+
automatically by <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> if you call <a href="../gtk4/GtkWindow.html#gtk-window-move"><code class="function">gtk_window_move()</code></a>.
|
7800
7800
|
<em class="parameter"><code>GDK_HINT_USER_POS</code></em>
|
7801
7801
|
and <em class="parameter"><code>GDK_HINT_USER_SIZE</code></em>
|
7802
7802
|
should be set if the user
|
@@ -7899,27 +7899,27 @@ specified a size/position using a --geometry command-line argument;
|
|
7899
7899
|
</pre>
|
7900
7900
|
<p>The <a class="link" href="gdk3-Windows.html#GdkGeometry" title="struct GdkGeometry"><span class="type">GdkGeometry</span></a> struct gives the window manager information about
|
7901
7901
|
a window’s geometry constraints. Normally you would set these on
|
7902
|
-
the GTK+ level using <code class="function">gtk_window_set_geometry_hints()</code>. <a href="
|
7902
|
+
the GTK+ level using <code class="function">gtk_window_set_geometry_hints()</code>. <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>
|
7903
7903
|
then sets the hints on the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> it creates.</p>
|
7904
7904
|
<p>gdk_window_set_geometry_hints() expects the hints to be fully valid already
|
7905
7905
|
and simply passes them to the window manager; in contrast,
|
7906
7906
|
<code class="function">gtk_window_set_geometry_hints()</code> performs some interpretation. For example,
|
7907
|
-
<a href="
|
7907
|
+
<a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> will apply the hints to the geometry widget instead of the
|
7908
7908
|
toplevel window, if you set a geometry widget. Also, the
|
7909
7909
|
<em class="parameter"><code>min_width</code></em>
|
7910
7910
|
/<em class="parameter"><code>min_height</code></em>
|
7911
7911
|
/<em class="parameter"><code>max_width</code></em>
|
7912
7912
|
/<em class="parameter"><code>max_height</code></em>
|
7913
7913
|
fields may be set to -1, and
|
7914
|
-
<a href="
|
7915
|
-
If the minimum size hint is not provided, <a href="
|
7914
|
+
<a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> will substitute the size request of the window or geometry widget.
|
7915
|
+
If the minimum size hint is not provided, <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> will use its requisition
|
7916
7916
|
as the minimum size. If the minimum size is provided and a geometry widget is
|
7917
|
-
set, <a href="
|
7917
|
+
set, <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> will take the minimum size as the minimum size of the
|
7918
7918
|
geometry widget rather than the entire window. The base size is treated
|
7919
7919
|
similarly.</p>
|
7920
7920
|
<p>The canonical use-case for <code class="function">gtk_window_set_geometry_hints()</code> is to get a
|
7921
7921
|
terminal widget to resize properly. Here, the terminal text area should be
|
7922
|
-
the geometry widget; <a href="
|
7922
|
+
the geometry widget; <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> will then automatically set the base size to
|
7923
7923
|
the size of other widgets in the terminal window, such as the menubar and
|
7924
7924
|
scrollbar. Then, the <em class="parameter"><code>width_inc</code></em>
|
7925
7925
|
and <em class="parameter"><code>height_inc</code></em>
|
@@ -7992,25 +7992,25 @@ aspect ratio.</p>
|
|
7992
7992
|
<tr>
|
7993
7993
|
<td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.min-width"></a>min_width</code></em>;</p></td>
|
7994
7994
|
<td class="struct_member_description"><p>minimum width of window (or -1 to use requisition, with
|
7995
|
-
<a href="
|
7995
|
+
<a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> only)</p></td>
|
7996
7996
|
<td class="struct_member_annotations"> </td>
|
7997
7997
|
</tr>
|
7998
7998
|
<tr>
|
7999
7999
|
<td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.min-height"></a>min_height</code></em>;</p></td>
|
8000
8000
|
<td class="struct_member_description"><p>minimum height of window (or -1 to use requisition, with
|
8001
|
-
<a href="
|
8001
|
+
<a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> only)</p></td>
|
8002
8002
|
<td class="struct_member_annotations"> </td>
|
8003
8003
|
</tr>
|
8004
8004
|
<tr>
|
8005
8005
|
<td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.max-width"></a>max_width</code></em>;</p></td>
|
8006
8006
|
<td class="struct_member_description"><p>maximum width of window (or -1 to use requisition, with
|
8007
|
-
<a href="
|
8007
|
+
<a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> only)</p></td>
|
8008
8008
|
<td class="struct_member_annotations"> </td>
|
8009
8009
|
</tr>
|
8010
8010
|
<tr>
|
8011
8011
|
<td class="struct_member_name"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GdkGeometry.max-height"></a>max_height</code></em>;</p></td>
|
8012
8012
|
<td class="struct_member_description"><p>maximum height of window (or -1 to use requisition, with
|
8013
|
-
<a href="
|
8013
|
+
<a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a> only)</p></td>
|
8014
8014
|
<td class="struct_member_annotations"> </td>
|
8015
8015
|
</tr>
|
8016
8016
|
<tr>
|
@@ -8018,7 +8018,7 @@ aspect ratio.</p>
|
|
8018
8018
|
<td class="struct_member_description"><p>allowed window widths are <em class="parameter"><code>base_width</code></em>
|
8019
8019
|
+ <em class="parameter"><code>width_inc</code></em>
|
8020
8020
|
* N where N
|
8021
|
-
is any integer (-1 allowed with <a href="
|
8021
|
+
is any integer (-1 allowed with <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>)</p></td>
|
8022
8022
|
<td class="struct_member_annotations"> </td>
|
8023
8023
|
</tr>
|
8024
8024
|
<tr>
|
@@ -8026,7 +8026,7 @@ is any integer (-1 allowed with <a href="http://developer.gnome.org/gtk4/GtkWind
|
|
8026
8026
|
<td class="struct_member_description"><p>allowed window widths are <em class="parameter"><code>base_height</code></em>
|
8027
8027
|
+ <em class="parameter"><code>height_inc</code></em>
|
8028
8028
|
* N where
|
8029
|
-
N is any integer (-1 allowed with <a href="
|
8029
|
+
N is any integer (-1 allowed with <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>)</p></td>
|
8030
8030
|
<td class="struct_member_annotations"> </td>
|
8031
8031
|
</tr>
|
8032
8032
|
<tr>
|
@@ -8051,7 +8051,7 @@ N is any integer (-1 allowed with <a href="http://developer.gnome.org/gtk4/GtkWi
|
|
8051
8051
|
</tr>
|
8052
8052
|
<tr>
|
8053
8053
|
<td class="struct_member_name"><p><a class="link" href="gdk3-Windows.html#GdkGravity" title="enum GdkGravity"><span class="type">GdkGravity</span></a> <em class="structfield"><code><a name="GdkGeometry.win-gravity"></a>win_gravity</code></em>;</p></td>
|
8054
|
-
<td class="struct_member_description"><p>window gravity, see <a href="
|
8054
|
+
<td class="struct_member_description"><p>window gravity, see <a href="../gtk4/GtkWindow.html#gtk-window-set-gravity"><code class="function">gtk_window_set_gravity()</code></a></p></td>
|
8055
8055
|
<td class="struct_member_annotations"> </td>
|
8056
8056
|
</tr>
|
8057
8057
|
</tbody>
|
@@ -8062,7 +8062,7 @@ N is any integer (-1 allowed with <a href="http://developer.gnome.org/gtk4/GtkWi
|
|
8062
8062
|
<div class="refsect2">
|
8063
8063
|
<a name="GdkGravity"></a><h3>enum GdkGravity</h3>
|
8064
8064
|
<p>Defines the reference point of a window and the meaning of coordinates
|
8065
|
-
passed to <a href="
|
8065
|
+
passed to <a href="../gtk4/GtkWindow.html#gtk-window-move"><code class="function">gtk_window_move()</code></a>. See <a href="../gtk4/GtkWindow.html#gtk-window-move"><code class="function">gtk_window_move()</code></a> and the "implementation
|
8066
8066
|
notes" section of the
|
8067
8067
|
<a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" target="_top">Extended Window Manager Hints</a>
|
8068
8068
|
specification for more details.</p>
|
@@ -9269,7 +9269,7 @@ surface from within any callback of this signal. Calling
|
|
9269
9269
|
</div>
|
9270
9270
|
<div class="refsect3">
|
9271
9271
|
<a name="GdkWindow-create-surface.returns"></a><h4>Returns</h4>
|
9272
|
-
<p> the newly created <
|
9272
|
+
<p> the newly created <span class="type">cairo_surface_t</span> for the offscreen window</p>
|
9273
9273
|
</div>
|
9274
9274
|
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
9275
9275
|
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|