gdk3 3.1.6-x86-mingw32 → 3.1.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailTextUtil.html
CHANGED
@@ -108,8 +108,8 @@
|
|
108
108
|
<p>GailTextUtil is a utility class which can be used to implement the
|
109
109
|
<span class="type">AtkText</span> functions which get text for accessible objects which implement
|
110
110
|
<span class="type">AtkText</span>.</p>
|
111
|
-
<p>In GAIL it is used by the accsesible objects for <span class="type">GnomeCanvasText</span>, <a href="
|
112
|
-
<a href="
|
111
|
+
<p>In GAIL it is used by the accsesible objects for <span class="type">GnomeCanvasText</span>, <a href="../gtk4/GtkEntry.html#GtkEntry-struct"><span class="type">GtkEntry</span></a>,
|
112
|
+
<a href="../gtk4/GtkLabel.html#GtkLabel-struct"><span class="type">GtkLabel</span></a>, <a href="../gtk4/GtkCellRendererText.html#GtkCellRendererText-struct"><span class="type">GtkCellRendererText</span></a> and <a href="../gtk4/GtkTextView.html#GtkTextView-struct"><span class="type">GtkTextView</span></a>.</p>
|
113
113
|
</div>
|
114
114
|
<div class="refsect1">
|
115
115
|
<a name="gail-libgail-util3-GailTextUtil.functions_details"></a><h2>Functions</h2>
|
@@ -158,7 +158,7 @@ gail_text_util_text_setup (<em class="parameter"><code><a class="link" href="gai
|
|
158
158
|
<a name="gail-text-util-buffer-setup"></a><h3>gail_text_util_buffer_setup ()</h3>
|
159
159
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
160
160
|
gail_text_util_buffer_setup (<em class="parameter"><code><a class="link" href="gail-libgail-util3-GailTextUtil.html#GailTextUtil" title="struct GailTextUtil"><span class="type">GailTextUtil</span></a> *textutil</code></em>,
|
161
|
-
<em class="parameter"><code><a href="
|
161
|
+
<em class="parameter"><code><a href="../gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>);</pre>
|
162
162
|
<p>This function initializes the GailTextUtil with the specified GtkTextBuffer</p>
|
163
163
|
<div class="refsect3">
|
164
164
|
<a name="gail-text-util-buffer-setup.parameters"></a><h4>Parameters</h4>
|
@@ -176,7 +176,7 @@ gail_text_util_buffer_setup (<em class="parameter"><code><a class="link" href="g
|
|
176
176
|
</tr>
|
177
177
|
<tr>
|
178
178
|
<td class="parameter_name"><p>buffer</p></td>
|
179
|
-
<td class="parameter_description"><p>The <a href="
|
179
|
+
<td class="parameter_description"><p>The <a href="../gtk4/GtkTextBuffer.html#GtkTextBuffer-struct"><span class="type">GtkTextBuffer</span></a> which identifies the text to be stored in the GailUtil.</p></td>
|
180
180
|
<td class="parameter_annotations"> </td>
|
181
181
|
</tr>
|
182
182
|
</tbody>
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div>
|
16
16
|
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GAIL Reference Manual</p></th></tr></table></div>
|
17
17
|
<div><p class="releaseinfo">
|
18
|
-
Version 3.22.
|
18
|
+
Version 3.22.16
|
19
19
|
|
20
20
|
The latest version of this documentation can be found on-line at
|
21
21
|
<a class="ulink" href="http://developer.gnome.org/gail-libgail-util/unstable/" target="_top">http://developer.gnome.org/gail-libgail-util/unstable/</a>.
|
@@ -1274,7 +1274,7 @@ events that are emitted when the grab ends unvoluntarily.</p>
|
|
1274
1274
|
<tbody>
|
1275
1275
|
<tr>
|
1276
1276
|
<td class="parameter_name"><p>device</p></td>
|
1277
|
-
<td class="parameter_description"><p>a <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a>. To get the device you can use <a href="
|
1277
|
+
<td class="parameter_description"><p>a <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a>. To get the device you can use <a href="../gtk4/gtk4-General.html#gtk-get-current-event-device"><code class="function">gtk_get_current_event_device()</code></a>
|
1278
1278
|
or <a class="link" href="gdk3-Events.html#gdk-event-get-device" title="gdk_event_get_device ()"><code class="function">gdk_event_get_device()</code></a> if the grab is in reaction to an event. Also, you can use
|
1279
1279
|
<a class="link" href="GdkDeviceManager.html#gdk-device-manager-get-client-pointer" title="gdk_device_manager_get_client_pointer ()"><code class="function">gdk_device_manager_get_client_pointer()</code></a> but only in code that isn’t triggered by a
|
1280
1280
|
<a class="link" href="gdk3-Event-Structures.html#GdkEvent" title="union GdkEvent"><span class="type">GdkEvent</span></a> and there aren’t other means to get a meaningful <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> to operate on.</p></td>
|
@@ -164,7 +164,7 @@ to a compatibility mode in which it will emit just one enter/leave
|
|
164
164
|
event pair for all devices on a window. To enable per-device
|
165
165
|
enter/leave events and other multi-pointer interaction features,
|
166
166
|
<a class="link" href="gdk3-Windows.html#gdk-window-set-support-multidevice" title="gdk_window_set_support_multidevice ()"><code class="function">gdk_window_set_support_multidevice()</code></a> must be called on
|
167
|
-
<a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> (or <a href="
|
167
|
+
<a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> (or <a href="../gtk4/GtkWidget.html#gtk-widget-set-support-multidevice"><code class="function">gtk_widget_set_support_multidevice()</code></a> on widgets).
|
168
168
|
window. See the <a class="link" href="gdk3-Windows.html#gdk-window-set-support-multidevice" title="gdk_window_set_support_multidevice ()"><code class="function">gdk_window_set_support_multidevice()</code></a> documentation
|
169
169
|
for more information.</p>
|
170
170
|
<p>On X11, multi-device support is implemented through XInput 2.
|
@@ -278,8 +278,8 @@ written code.</p>
|
|
278
278
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
279
279
|
gdk_disable_multidevice (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
280
280
|
<p>Disables multidevice support in GDK. This call must happen prior
|
281
|
-
to <a class="link" href="GdkDisplay.html#gdk-display-open" title="gdk_display_open ()"><code class="function">gdk_display_open()</code></a>, <a href="
|
282
|
-
<a href="
|
281
|
+
to <a class="link" href="GdkDisplay.html#gdk-display-open" title="gdk_display_open ()"><code class="function">gdk_display_open()</code></a>, <a href="../gtk4/gtk4-General.html#gtk-init"><code class="function">gtk_init()</code></a>, <code class="function">gtk_init_with_args()</code> or
|
282
|
+
<a href="../gtk4/gtk4-General.html#gtk-init-check"><code class="function">gtk_init_check()</code></a> in order to take effect.</p>
|
283
283
|
<p>Most common GTK+ applications won’t ever need to call this. Only
|
284
284
|
applications that do mixed GDK/Xlib calls could want to disable
|
285
285
|
multidevice support if such Xlib code deals with input devices in
|
@@ -97,7 +97,7 @@
|
|
97
97
|
</div>
|
98
98
|
<div class="refsect1">
|
99
99
|
<a name="GdkDevicePad.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
100
|
-
<pre class="screen"> <a href="/home/
|
100
|
+
<pre class="screen"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
101
101
|
<span class="lineart">╰──</span> GdkDevicePad
|
102
102
|
</pre>
|
103
103
|
</div>
|
@@ -1837,9 +1837,9 @@ gdk_display_notify_startup_complete (<em class="parameter"><code><a class="link"
|
|
1837
1837
|
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *startup_id</code></em>);</pre>
|
1838
1838
|
<p>Indicates to the GUI environment that the application has
|
1839
1839
|
finished loading, using a given identifier.</p>
|
1840
|
-
<p>GTK+ will call this function automatically for <a href="
|
1840
|
+
<p>GTK+ will call this function automatically for <a href="../gtk4/GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindow</span></a>
|
1841
1841
|
with custom startup-notification identifier unless
|
1842
|
-
<a href="
|
1842
|
+
<a href="../gtk4/GtkWindow.html#gtk-window-set-auto-startup-notification"><code class="function">gtk_window_set_auto_startup_notification()</code></a> is called to
|
1843
1843
|
disable that feature.</p>
|
1844
1844
|
<div class="refsect3">
|
1845
1845
|
<a name="gdk-display-notify-startup-complete.parameters"></a><h4>Parameters</h4>
|
@@ -51,7 +51,7 @@
|
|
51
51
|
</tr>
|
52
52
|
<tr>
|
53
53
|
<td class="function_type">
|
54
|
-
<
|
54
|
+
<span class="returnvalue">cairo_region_t</span> *
|
55
55
|
</td>
|
56
56
|
<td class="function_name">
|
57
57
|
<a class="link" href="GdkDrawingContext.html#gdk-drawing-context-get-clip" title="gdk_drawing_context_get_clip ()">gdk_drawing_context_get_clip</a> <span class="c_punctuation">()</span>
|
@@ -59,7 +59,7 @@
|
|
59
59
|
</tr>
|
60
60
|
<tr>
|
61
61
|
<td class="function_type">
|
62
|
-
<
|
62
|
+
<span class="returnvalue">cairo_t</span> *
|
63
63
|
</td>
|
64
64
|
<td class="function_name">
|
65
65
|
<a class="link" href="GdkDrawingContext.html#gdk-drawing-context-get-cairo-context" title="gdk_drawing_context_get_cairo_context ()">gdk_drawing_context_get_cairo_context</a> <span class="c_punctuation">()</span>
|
@@ -167,7 +167,7 @@ gdk_drawing_context_get_window (<em class="parameter"><code><a class="link" href
|
|
167
167
|
<hr>
|
168
168
|
<div class="refsect2">
|
169
169
|
<a name="gdk-drawing-context-get-clip"></a><h3>gdk_drawing_context_get_clip ()</h3>
|
170
|
-
<pre class="programlisting"><
|
170
|
+
<pre class="programlisting"><span class="returnvalue">cairo_region_t</span> *
|
171
171
|
gdk_drawing_context_get_clip (<em class="parameter"><code><a class="link" href="GdkDrawingContext.html" title="GdkDrawingContext"><span class="type">GdkDrawingContext</span></a> *context</code></em>);</pre>
|
172
172
|
<p>Retrieves a copy of the clip region used when creating the <em class="parameter"><code>context</code></em>
|
173
173
|
.</p>
|
@@ -196,7 +196,7 @@ gdk_drawing_context_get_clip (<em class="parameter"><code><a class="link" href="
|
|
196
196
|
<hr>
|
197
197
|
<div class="refsect2">
|
198
198
|
<a name="gdk-drawing-context-get-cairo-context"></a><h3>gdk_drawing_context_get_cairo_context ()</h3>
|
199
|
-
<pre class="programlisting"><
|
199
|
+
<pre class="programlisting"><span class="returnvalue">cairo_t</span> *
|
200
200
|
gdk_drawing_context_get_cairo_context (<em class="parameter"><code><a class="link" href="GdkDrawingContext.html" title="GdkDrawingContext"><span class="type">GdkDrawingContext</span></a> *context</code></em>);</pre>
|
201
201
|
<p>Retrieves a Cairo context to be used to draw on the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>
|
202
202
|
that created the <a class="link" href="GdkDrawingContext.html" title="GdkDrawingContext"><span class="type">GdkDrawingContext</span></a>.</p>
|
@@ -777,7 +777,7 @@ user_function (<a class="link" href="GdkFrameClock.html" title="Frame clock"><sp
|
|
777
777
|
application processing of the frame. The frame is
|
778
778
|
repainted. GDK normally handles this internally and
|
779
779
|
produces expose events, which are turned into GTK+
|
780
|
-
<a href="
|
780
|
+
<a href="../gtk4/GtkWidget.html#GtkWidget-draw"><span class="type">“draw”</span></a> signals.</p>
|
781
781
|
<div class="refsect3">
|
782
782
|
<a name="GdkFrameClock-paint.parameters"></a><h4>Parameters</h4>
|
783
783
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -845,7 +845,7 @@ user_function (<a class="link" href="GdkFrameClock.html" title="Frame clock"><sp
|
|
845
845
|
application processing of the frame. Animations should
|
846
846
|
be updated using <a class="link" href="GdkFrameClock.html#gdk-frame-clock-get-frame-time" title="gdk_frame_clock_get_frame_time ()"><code class="function">gdk_frame_clock_get_frame_time()</code></a>.
|
847
847
|
Applications can connect directly to this signal, or
|
848
|
-
use <a href="
|
848
|
+
use <a href="../gtk4/GtkWidget.html#gtk-widget-add-tick-callback"><code class="function">gtk_widget_add_tick_callback()</code></a> as a more convenient
|
849
849
|
interface.</p>
|
850
850
|
<div class="refsect3">
|
851
851
|
<a name="GdkFrameClock-update.parameters"></a><h4>Parameters</h4>
|
@@ -243,7 +243,7 @@
|
|
243
243
|
</td>
|
244
244
|
</tr>
|
245
245
|
<tr>
|
246
|
-
<td class="function_type">const <
|
246
|
+
<td class="function_type">const <span class="returnvalue">cairo_font_options_t</span> *
|
247
247
|
</td>
|
248
248
|
<td class="function_name">
|
249
249
|
<a class="link" href="GdkScreen.html#gdk-screen-get-font-options" title="gdk_screen_get_font_options ()">gdk_screen_get_font_options</a> <span class="c_punctuation">()</span>
|
@@ -1312,7 +1312,7 @@ in <em class="parameter"><code>value</code></em>
|
|
1312
1312
|
<hr>
|
1313
1313
|
<div class="refsect2">
|
1314
1314
|
<a name="gdk-screen-get-font-options"></a><h3>gdk_screen_get_font_options ()</h3>
|
1315
|
-
<pre class="programlisting">const <
|
1315
|
+
<pre class="programlisting">const <span class="returnvalue">cairo_font_options_t</span> *
|
1316
1316
|
gdk_screen_get_font_options (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
1317
1317
|
<p>Gets any options previously set with <a class="link" href="GdkScreen.html#gdk-screen-set-font-options" title="gdk_screen_set_font_options ()"><code class="function">gdk_screen_set_font_options()</code></a>.</p>
|
1318
1318
|
<div class="refsect3">
|
@@ -1343,9 +1343,9 @@ default font options have been set. </p>
|
|
1343
1343
|
<a name="gdk-screen-set-font-options"></a><h3>gdk_screen_set_font_options ()</h3>
|
1344
1344
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1345
1345
|
gdk_screen_set_font_options (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
1346
|
-
<em class="parameter"><code>const <
|
1346
|
+
<em class="parameter"><code>const <span class="type">cairo_font_options_t</span> *options</code></em>);</pre>
|
1347
1347
|
<p>Sets the default font options for the screen. These
|
1348
|
-
options will be set on any <a href="
|
1348
|
+
options will be set on any <a href="../pango/pango-Text-Processing.html#PangoContext-struct"><span class="type">PangoContext</span></a>’s newly created
|
1349
1349
|
with <a class="link" href="gdk3-Pango-Interaction.html#gdk-pango-context-get-for-screen" title="gdk_pango_context_get_for_screen ()"><code class="function">gdk_pango_context_get_for_screen()</code></a>. Changing the
|
1350
1350
|
default set of font options does not affect contexts that
|
1351
1351
|
have already been created.</p>
|
@@ -1365,7 +1365,7 @@ have already been created.</p>
|
|
1365
1365
|
</tr>
|
1366
1366
|
<tr>
|
1367
1367
|
<td class="parameter_name"><p>options</p></td>
|
1368
|
-
<td class="parameter_description"><p> a <
|
1368
|
+
<td class="parameter_description"><p> a <span class="type">cairo_font_options_t</span>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset any
|
1369
1369
|
previously set default font options. </p></td>
|
1370
1370
|
<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>
|
1371
1371
|
</tr>
|
@@ -1410,7 +1410,7 @@ has been set.</p>
|
|
1410
1410
|
gdk_screen_set_resolution (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
1411
1411
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> dpi</code></em>);</pre>
|
1412
1412
|
<p>Sets the resolution for font handling on the screen. This is a
|
1413
|
-
scale factor between points specified in a <a href="
|
1413
|
+
scale factor between points specified in a <a href="../pango/pango-Fonts.html#PangoFontDescription-struct"><span class="type">PangoFontDescription</span></a>
|
1414
1414
|
and cairo units. The default value is 96, meaning that a 10 point
|
1415
1415
|
font will be 13 units high. (10 * 96. / 72. = 13.3).</p>
|
1416
1416
|
<div class="refsect3">
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<tbody>
|
42
42
|
<tr>
|
43
43
|
<td class="function_type">
|
44
|
-
<
|
44
|
+
<span class="returnvalue">cairo_surface_t</span> *
|
45
45
|
</td>
|
46
46
|
<td class="function_name">
|
47
47
|
<a class="link" href="gdk3-Cairo-Interaction.html#gdk-window-create-similar-surface" title="gdk_window_create_similar_surface ()">gdk_window_create_similar_surface</a> <span class="c_punctuation">()</span>
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</tr>
|
50
50
|
<tr>
|
51
51
|
<td class="function_type">
|
52
|
-
<
|
52
|
+
<span class="returnvalue">cairo_surface_t</span> *
|
53
53
|
</td>
|
54
54
|
<td class="function_name">
|
55
55
|
<a class="link" href="gdk3-Cairo-Interaction.html#gdk-window-create-similar-image-surface" title="gdk_window_create_similar_image_surface ()">gdk_window_create_similar_image_surface</a> <span class="c_punctuation">()</span>
|
@@ -57,7 +57,7 @@
|
|
57
57
|
</tr>
|
58
58
|
<tr>
|
59
59
|
<td class="function_type">
|
60
|
-
<
|
60
|
+
<span class="returnvalue">cairo_t</span> *
|
61
61
|
</td>
|
62
62
|
<td class="function_name">
|
63
63
|
<a class="link" href="gdk3-Cairo-Interaction.html#gdk-cairo-create" title="gdk_cairo_create ()">gdk_cairo_create</a> <span class="c_punctuation">()</span>
|
@@ -129,7 +129,7 @@
|
|
129
129
|
</tr>
|
130
130
|
<tr>
|
131
131
|
<td class="function_type">
|
132
|
-
<
|
132
|
+
<span class="returnvalue">cairo_region_t</span> *
|
133
133
|
</td>
|
134
134
|
<td class="function_name">
|
135
135
|
<a class="link" href="gdk3-Cairo-Interaction.html#gdk-cairo-region-create-from-surface" title="gdk_cairo_region_create_from_surface ()">gdk_cairo_region_create_from_surface</a> <span class="c_punctuation">()</span>
|
@@ -137,7 +137,7 @@
|
|
137
137
|
</tr>
|
138
138
|
<tr>
|
139
139
|
<td class="function_type">
|
140
|
-
<
|
140
|
+
<span class="returnvalue">cairo_surface_t</span> *
|
141
141
|
</td>
|
142
142
|
<td class="function_name">
|
143
143
|
<a class="link" href="gdk3-Cairo-Interaction.html#gdk-cairo-surface-create-from-pixbuf" title="gdk_cairo_surface_create_from_pixbuf ()">gdk_cairo_surface_create_from_pixbuf</a> <span class="c_punctuation">()</span>
|
@@ -167,16 +167,16 @@ can be used with GDK. GTK+ does all of its drawing using cairo.</p>
|
|
167
167
|
<p>GDK does not wrap the cairo API, instead it allows to create cairo
|
168
168
|
contexts which can be used to draw on <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a>. Additional
|
169
169
|
functions allow use <a href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangles</span></a> with cairo and to use <a href="gdk3-Colors.html#GdkColor"><span class="type">GdkColors</span></a>,
|
170
|
-
<a href="gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBAs</span></a>, <a href="
|
170
|
+
<a href="gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBAs</span></a>, <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbufs</span></a> and <a href="gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a> as sources for drawing
|
171
171
|
operations.</p>
|
172
172
|
</div>
|
173
173
|
<div class="refsect1">
|
174
174
|
<a name="gdk3-Cairo-Interaction.functions_details"></a><h2>Functions</h2>
|
175
175
|
<div class="refsect2">
|
176
176
|
<a name="gdk-window-create-similar-surface"></a><h3>gdk_window_create_similar_surface ()</h3>
|
177
|
-
<pre class="programlisting"><
|
177
|
+
<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> *
|
178
178
|
gdk_window_create_similar_surface (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
179
|
-
<em class="parameter"><code><
|
179
|
+
<em class="parameter"><code><span class="type">cairo_content_t</span> content</code></em>,
|
180
180
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
181
181
|
<em class="parameter"><code><span class="type">int</span> height</code></em>);</pre>
|
182
182
|
<p>Create a new surface that is as compatible as possible with the
|
@@ -187,7 +187,7 @@ fallback resolution and font options as <em class="parameter"><code>window</code
|
|
187
187
|
surface will also use the same backend as <em class="parameter"><code>window</code></em>
|
188
188
|
, unless that is
|
189
189
|
not possible for some reason. The type of the returned surface may
|
190
|
-
be examined with <
|
190
|
+
be examined with <code class="function">cairo_surface_get_type()</code>.</p>
|
191
191
|
<p>Initially the surface contents are all 0 (transparent if contents
|
192
192
|
have transparency, black otherwise.)</p>
|
193
193
|
<div class="refsect3">
|
@@ -225,7 +225,7 @@ have transparency, black otherwise.)</p>
|
|
225
225
|
<div class="refsect3">
|
226
226
|
<a name="gdk-window-create-similar-surface.returns"></a><h4>Returns</h4>
|
227
227
|
<p> a pointer to the newly allocated surface. The caller
|
228
|
-
owns the surface and should call <
|
228
|
+
owns the surface and should call <code class="function">cairo_surface_destroy()</code> when done
|
229
229
|
with it.</p>
|
230
230
|
<p>This function always returns a valid pointer, but it will return a
|
231
231
|
pointer to a “nil” surface if <em class="parameter"><code>other</code></em>
|
@@ -237,10 +237,10 @@ or any other error occurs.</p>
|
|
237
237
|
<hr>
|
238
238
|
<div class="refsect2">
|
239
239
|
<a name="gdk-window-create-similar-image-surface"></a><h3>gdk_window_create_similar_image_surface ()</h3>
|
240
|
-
<pre class="programlisting"><
|
240
|
+
<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> *
|
241
241
|
gdk_window_create_similar_image_surface
|
242
242
|
(<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
243
|
-
<em class="parameter"><code><
|
243
|
+
<em class="parameter"><code><span class="type">cairo_format_t</span> format</code></em>,
|
244
244
|
<em class="parameter"><code><span class="type">int</span> width</code></em>,
|
245
245
|
<em class="parameter"><code><span class="type">int</span> height</code></em>,
|
246
246
|
<em class="parameter"><code><span class="type">int</span> scale</code></em>);</pre>
|
@@ -289,7 +289,7 @@ cairo_surface_t <span class="gtkdoc opt">*</span>surface <span class="gtkdoc opt
|
|
289
289
|
</div>
|
290
290
|
|
291
291
|
<p></p>
|
292
|
-
<p>Note that unlike <
|
292
|
+
<p>Note that unlike <code class="function">cairo_surface_create_similar_image()</code>, the new
|
293
293
|
surface's device scale is set to <em class="parameter"><code>scale</code></em>
|
294
294
|
, or to the scale factor of
|
295
295
|
<em class="parameter"><code>window</code></em>
|
@@ -337,7 +337,7 @@ surface's device scale is set to <em class="parameter"><code>scale</code></em>
|
|
337
337
|
<div class="refsect3">
|
338
338
|
<a name="gdk-window-create-similar-image-surface.returns"></a><h4>Returns</h4>
|
339
339
|
<p> a pointer to the newly allocated surface. The caller
|
340
|
-
owns the surface and should call <
|
340
|
+
owns the surface and should call <code class="function">cairo_surface_destroy()</code> when done
|
341
341
|
with it.</p>
|
342
342
|
<p>This function always returns a valid pointer, but it will return a
|
343
343
|
pointer to a “nil” surface if <em class="parameter"><code>other</code></em>
|
@@ -349,7 +349,7 @@ or any other error occurs.</p>
|
|
349
349
|
<hr>
|
350
350
|
<div class="refsect2">
|
351
351
|
<a name="gdk-cairo-create"></a><h3>gdk_cairo_create ()</h3>
|
352
|
-
<pre class="programlisting"><
|
352
|
+
<pre class="programlisting"><span class="returnvalue">cairo_t</span> *
|
353
353
|
gdk_cairo_create (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
354
354
|
<div class="warning">
|
355
355
|
<p><code class="literal">gdk_cairo_create</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
@@ -358,7 +358,7 @@ gdk_cairo_create (<em class="parameter"><code><a class="link" href="gdk3-Windows
|
|
358
358
|
</div>
|
359
359
|
<p>Creates a Cairo context for drawing to <em class="parameter"><code>window</code></em>
|
360
360
|
.</p>
|
361
|
-
<p>Note that calling <
|
361
|
+
<p>Note that calling <code class="function">cairo_reset_clip()</code> on the resulting <span class="type">cairo_t</span> will
|
362
362
|
produce undefined results, so avoid it at all costs.</p>
|
363
363
|
<p>Typically, this function is used to draw on a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> out of the paint
|
364
364
|
cycle of the toolkit; this should be avoided, as it breaks various assumptions
|
@@ -384,7 +384,7 @@ instead. GTK will automatically do this for you when drawing a widget.</p>
|
|
384
384
|
<div class="refsect3">
|
385
385
|
<a name="gdk-cairo-create.returns"></a><h4>Returns</h4>
|
386
386
|
<p> A newly created Cairo context. Free with
|
387
|
-
<
|
387
|
+
<code class="function">cairo_destroy()</code> when you are done drawing.</p>
|
388
388
|
</div>
|
389
389
|
<p class="since">Since: 2.8</p>
|
390
390
|
</div>
|
@@ -392,9 +392,9 @@ instead. GTK will automatically do this for you when drawing a widget.</p>
|
|
392
392
|
<div class="refsect2">
|
393
393
|
<a name="gdk-cairo-get-clip-rectangle"></a><h3>gdk_cairo_get_clip_rectangle ()</h3>
|
394
394
|
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
395
|
-
gdk_cairo_get_clip_rectangle (<em class="parameter"><code><
|
395
|
+
gdk_cairo_get_clip_rectangle (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
396
396
|
<em class="parameter"><code><a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
|
397
|
-
<p>This is a convenience function around <
|
397
|
+
<p>This is a convenience function around <code class="function">cairo_clip_extents()</code>.
|
398
398
|
It rounds the clip extents to integer coordinates and returns
|
399
399
|
a boolean indicating if a clip area exists.</p>
|
400
400
|
<div class="refsect3">
|
@@ -430,7 +430,7 @@ clipped and all drawing can be skipped</p>
|
|
430
430
|
<div class="refsect2">
|
431
431
|
<a name="gdk-cairo-get-drawing-context"></a><h3>gdk_cairo_get_drawing_context ()</h3>
|
432
432
|
<pre class="programlisting"><a class="link" href="GdkDrawingContext.html" title="GdkDrawingContext"><span class="returnvalue">GdkDrawingContext</span></a> *
|
433
|
-
gdk_cairo_get_drawing_context (<em class="parameter"><code><
|
433
|
+
gdk_cairo_get_drawing_context (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>);</pre>
|
434
434
|
<p>Retrieves the <a class="link" href="GdkDrawingContext.html" title="GdkDrawingContext"><span class="type">GdkDrawingContext</span></a> that created the Cairo
|
435
435
|
context <em class="parameter"><code>cr</code></em>
|
436
436
|
.</p>
|
@@ -460,7 +460,7 @@ context <em class="parameter"><code>cr</code></em>
|
|
460
460
|
<div class="refsect2">
|
461
461
|
<a name="gdk-cairo-set-source-color"></a><h3>gdk_cairo_set_source_color ()</h3>
|
462
462
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
463
|
-
gdk_cairo_set_source_color (<em class="parameter"><code><
|
463
|
+
gdk_cairo_set_source_color (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
464
464
|
<em class="parameter"><code>const <a class="link" href="gdk3-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
465
465
|
<div class="warning">
|
466
466
|
<p><code class="literal">gdk_cairo_set_source_color</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
@@ -496,7 +496,7 @@ gdk_cairo_set_source_color (<em class="parameter"><code><a href="/usr/share/gtk-
|
|
496
496
|
<div class="refsect2">
|
497
497
|
<a name="gdk-cairo-set-source-rgba"></a><h3>gdk_cairo_set_source_rgba ()</h3>
|
498
498
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
499
|
-
gdk_cairo_set_source_rgba (<em class="parameter"><code><
|
499
|
+
gdk_cairo_set_source_rgba (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
500
500
|
<em class="parameter"><code>const <a class="link" href="gdk3-RGBA-Colors.html#GdkRGBA" title="GdkRGBA"><span class="type">GdkRGBA</span></a> *rgba</code></em>);</pre>
|
501
501
|
<p>Sets the specified <a class="link" href="gdk3-RGBA-Colors.html#GdkRGBA" title="GdkRGBA"><span class="type">GdkRGBA</span></a> as the source color of <em class="parameter"><code>cr</code></em>
|
502
502
|
.</p>
|
@@ -528,8 +528,8 @@ gdk_cairo_set_source_rgba (<em class="parameter"><code><a href="/usr/share/gtk-d
|
|
528
528
|
<div class="refsect2">
|
529
529
|
<a name="gdk-cairo-set-source-pixbuf"></a><h3>gdk_cairo_set_source_pixbuf ()</h3>
|
530
530
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
531
|
-
gdk_cairo_set_source_pixbuf (<em class="parameter"><code><
|
532
|
-
<em class="parameter"><code>const <a href="
|
531
|
+
gdk_cairo_set_source_pixbuf (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
532
|
+
<em class="parameter"><code>const <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
533
533
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> pixbuf_x</code></em>,
|
534
534
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> pixbuf_y</code></em>);</pre>
|
535
535
|
<p>Sets the given pixbuf as the source pattern for <em class="parameter"><code>cr</code></em>
|
@@ -555,7 +555,7 @@ so that the origin of <em class="parameter"><code>pixbuf</code></em>
|
|
555
555
|
</tr>
|
556
556
|
<tr>
|
557
557
|
<td class="parameter_name"><p>pixbuf</p></td>
|
558
|
-
<td class="parameter_description"><p>a <a href="
|
558
|
+
<td class="parameter_description"><p>a <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a></p></td>
|
559
559
|
<td class="parameter_annotations"> </td>
|
560
560
|
</tr>
|
561
561
|
<tr>
|
@@ -579,7 +579,7 @@ so that the origin of <em class="parameter"><code>pixbuf</code></em>
|
|
579
579
|
<div class="refsect2">
|
580
580
|
<a name="gdk-cairo-set-source-window"></a><h3>gdk_cairo_set_source_window ()</h3>
|
581
581
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
582
|
-
gdk_cairo_set_source_window (<em class="parameter"><code><
|
582
|
+
gdk_cairo_set_source_window (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
583
583
|
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
584
584
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x</code></em>,
|
585
585
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y</code></em>);</pre>
|
@@ -635,7 +635,7 @@ visible part of <em class="parameter"><code>window</code></em>
|
|
635
635
|
<div class="refsect2">
|
636
636
|
<a name="gdk-cairo-rectangle"></a><h3>gdk_cairo_rectangle ()</h3>
|
637
637
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
638
|
-
gdk_cairo_rectangle (<em class="parameter"><code><
|
638
|
+
gdk_cairo_rectangle (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
639
639
|
<em class="parameter"><code>const <a class="link" href="gdk3-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
640
640
|
<p>Adds the given rectangle to the current path of <em class="parameter"><code>cr</code></em>
|
641
641
|
.</p>
|
@@ -667,8 +667,8 @@ gdk_cairo_rectangle (<em class="parameter"><code><a href="/usr/share/gtk-doc/htm
|
|
667
667
|
<div class="refsect2">
|
668
668
|
<a name="gdk-cairo-region"></a><h3>gdk_cairo_region ()</h3>
|
669
669
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
670
|
-
gdk_cairo_region (<em class="parameter"><code><
|
671
|
-
<em class="parameter"><code>const <
|
670
|
+
gdk_cairo_region (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
671
|
+
<em class="parameter"><code>const <span class="type">cairo_region_t</span> *region</code></em>);</pre>
|
672
672
|
<p>Adds the given region to the current path of <em class="parameter"><code>cr</code></em>
|
673
673
|
.</p>
|
674
674
|
<div class="refsect3">
|
@@ -687,7 +687,7 @@ gdk_cairo_region (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/c
|
|
687
687
|
</tr>
|
688
688
|
<tr>
|
689
689
|
<td class="parameter_name"><p>region</p></td>
|
690
|
-
<td class="parameter_description"><p>a <
|
690
|
+
<td class="parameter_description"><p>a <span class="type">cairo_region_t</span></p></td>
|
691
691
|
<td class="parameter_annotations"> </td>
|
692
692
|
</tr>
|
693
693
|
</tbody>
|
@@ -698,13 +698,13 @@ gdk_cairo_region (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/c
|
|
698
698
|
<hr>
|
699
699
|
<div class="refsect2">
|
700
700
|
<a name="gdk-cairo-region-create-from-surface"></a><h3>gdk_cairo_region_create_from_surface ()</h3>
|
701
|
-
<pre class="programlisting"><
|
702
|
-
gdk_cairo_region_create_from_surface (<em class="parameter"><code><
|
701
|
+
<pre class="programlisting"><span class="returnvalue">cairo_region_t</span> *
|
702
|
+
gdk_cairo_region_create_from_surface (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>);</pre>
|
703
703
|
<p>Creates region that describes covers the area where the given
|
704
704
|
<em class="parameter"><code>surface</code></em>
|
705
705
|
is more than 50% opaque.</p>
|
706
706
|
<p>This function takes into account device offsets that might be
|
707
|
-
set with <
|
707
|
+
set with <code class="function">cairo_surface_set_device_offset()</code>.</p>
|
708
708
|
<div class="refsect3">
|
709
709
|
<a name="gdk-cairo-region-create-from-surface.parameters"></a><h4>Parameters</h4>
|
710
710
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -722,14 +722,14 @@ set with <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo
|
|
722
722
|
</div>
|
723
723
|
<div class="refsect3">
|
724
724
|
<a name="gdk-cairo-region-create-from-surface.returns"></a><h4>Returns</h4>
|
725
|
-
<p> A <
|
725
|
+
<p> A <span class="type">cairo_region_t</span>; must be freed with <code class="function">cairo_region_destroy()</code></p>
|
726
726
|
</div>
|
727
727
|
</div>
|
728
728
|
<hr>
|
729
729
|
<div class="refsect2">
|
730
730
|
<a name="gdk-cairo-surface-create-from-pixbuf"></a><h3>gdk_cairo_surface_create_from_pixbuf ()</h3>
|
731
|
-
<pre class="programlisting"><
|
732
|
-
gdk_cairo_surface_create_from_pixbuf (<em class="parameter"><code>const <a href="
|
731
|
+
<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> *
|
732
|
+
gdk_cairo_surface_create_from_pixbuf (<em class="parameter"><code>const <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
733
733
|
<em class="parameter"><code><span class="type">int</span> scale</code></em>,
|
734
734
|
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *for_window</code></em>);</pre>
|
735
735
|
<p>Creates an image surface with the same contents as
|
@@ -745,7 +745,7 @@ the pixbuf.</p>
|
|
745
745
|
<tbody>
|
746
746
|
<tr>
|
747
747
|
<td class="parameter_name"><p>pixbuf</p></td>
|
748
|
-
<td class="parameter_description"><p>a <a href="
|
748
|
+
<td class="parameter_description"><p>a <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a></p></td>
|
749
749
|
<td class="parameter_annotations"> </td>
|
750
750
|
</tr>
|
751
751
|
<tr>
|
@@ -764,7 +764,7 @@ the pixbuf.</p>
|
|
764
764
|
</div>
|
765
765
|
<div class="refsect3">
|
766
766
|
<a name="gdk-cairo-surface-create-from-pixbuf.returns"></a><h4>Returns</h4>
|
767
|
-
<p> a new cairo surface, must be freed with <
|
767
|
+
<p> a new cairo surface, must be freed with <code class="function">cairo_surface_destroy()</code></p>
|
768
768
|
</div>
|
769
769
|
<p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
|
770
770
|
</div>
|
@@ -772,7 +772,7 @@ the pixbuf.</p>
|
|
772
772
|
<div class="refsect2">
|
773
773
|
<a name="gdk-cairo-draw-from-gl"></a><h3>gdk_cairo_draw_from_gl ()</h3>
|
774
774
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
775
|
-
gdk_cairo_draw_from_gl (<em class="parameter"><code><
|
775
|
+
gdk_cairo_draw_from_gl (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
776
776
|
<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
777
777
|
<em class="parameter"><code><span class="type">int</span> source</code></em>,
|
778
778
|
<em class="parameter"><code><span class="type">int</span> source_type</code></em>,
|