gdk3 3.2.5-x86-mingw32 → 3.2.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING.LIB +502 -0
  3. data/README.md +25 -0
  4. data/Rakefile +6 -6
  5. data/gdk3.gemspec +41 -0
  6. data/lib/gdk3/cursor.rb +13 -0
  7. data/lib/gdk3/loader.rb +23 -5
  8. data/test/test-gdk-cursor.rb +17 -1
  9. data/vendor/local/bin/gtk-builder-tool.exe +0 -0
  10. data/vendor/local/bin/gtk-encode-symbolic-svg.exe +0 -0
  11. data/vendor/local/bin/gtk-launch.exe +0 -0
  12. data/vendor/local/bin/gtk-query-immodules-3.0.exe +0 -0
  13. data/vendor/local/bin/gtk-query-settings.exe +0 -0
  14. data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
  15. data/vendor/local/bin/gtk3-demo-application.exe +0 -0
  16. data/vendor/local/bin/gtk3-demo.exe +0 -0
  17. data/vendor/local/bin/gtk3-icon-browser.exe +0 -0
  18. data/vendor/local/bin/gtk3-widget-factory.exe +0 -0
  19. data/vendor/local/bin/libepoxy-0.dll +0 -0
  20. data/vendor/local/bin/libgailutil-3-0.dll +0 -0
  21. data/vendor/local/bin/libgdk-3-0.dll +0 -0
  22. data/vendor/local/bin/libgtk-3-0.dll +0 -0
  23. data/vendor/local/bin/libgtkreftestprivate-0.dll +0 -0
  24. data/vendor/local/include/gtk-3.0/gdk/gdkversionmacros.h +1 -1
  25. data/vendor/local/include/gtk-3.0/gtk/gtklistbox.h +1 -1
  26. data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +3 -3
  27. data/vendor/local/lib/girepository-1.0/Gdk-3.0.typelib +0 -0
  28. data/vendor/local/lib/girepository-1.0/Gtk-3.0.typelib +0 -0
  29. data/vendor/local/lib/gtk-3.0/3.0.0/immodules.cache +1 -1
  30. data/vendor/local/lib/libepoxy.dll.a +0 -0
  31. data/vendor/local/lib/libgailutil-3.dll.a +0 -0
  32. data/vendor/local/lib/libgailutil-3.la +1 -1
  33. data/vendor/local/lib/libgdk-3.dll.a +0 -0
  34. data/vendor/local/lib/libgdk-3.la +2 -2
  35. data/vendor/local/lib/libgtk-3.dll.a +0 -0
  36. data/vendor/local/lib/libgtk-3.la +2 -2
  37. data/vendor/local/lib/libgtkreftestprivate.dll.a +0 -0
  38. data/vendor/local/lib/libgtkreftestprivate.la +1 -1
  39. data/vendor/local/lib/pkgconfig/gail-3.0.pc +1 -1
  40. data/vendor/local/lib/pkgconfig/gdk-3.0.pc +1 -1
  41. data/vendor/local/lib/pkgconfig/gdk-win32-3.0.pc +1 -1
  42. data/vendor/local/lib/pkgconfig/gtk+-3.0.pc +1 -1
  43. data/vendor/local/lib/pkgconfig/gtk+-win32-3.0.pc +1 -1
  44. data/vendor/local/share/aclocal/gtk-3.0.m4 +6 -13
  45. data/vendor/local/share/gir-1.0/Gdk-3.0.gir +14 -6
  46. data/vendor/local/share/gir-1.0/Gtk-3.0.gir +11 -11
  47. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +1 -1
  48. data/vendor/local/share/gtk-doc/html/gdk3/GdkFrameClock.html +6 -6
  49. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html +1 -1
  50. data/vendor/local/share/gtk-doc/html/gdk3/index.html +1 -1
  51. data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +3 -3
  52. data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +2 -2
  53. data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +2 -2
  54. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +22 -22
  55. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +3 -3
  56. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +19 -19
  57. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +3 -3
  58. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +12 -12
  59. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +8 -8
  60. data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +16 -16
  61. data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +9 -9
  62. data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +27 -27
  63. data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +3 -3
  64. data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +1 -1
  65. data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +2 -2
  66. data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +2 -2
  67. data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +6 -6
  68. data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +2 -2
  69. data/vendor/local/share/gtk-doc/html/gtk3/GtkEventController.html +4 -4
  70. data/vendor/local/share/gtk-doc/html/gtk3/GtkGLArea.html +22 -23
  71. data/vendor/local/share/gtk-doc/html/gtk3/GtkGesture.html +48 -48
  72. data/vendor/local/share/gtk-doc/html/gtk3/GtkGestureMultiPress.html +2 -2
  73. data/vendor/local/share/gtk-doc/html/gtk3/GtkGestureSingle.html +4 -4
  74. data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +4 -4
  75. data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +30 -30
  76. data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +6 -6
  77. data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +1 -1
  78. data/vendor/local/share/gtk-doc/html/gtk3/GtkImageMenuItem.html +1 -1
  79. data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +11 -11
  80. data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +4 -4
  81. data/vendor/local/share/gtk-doc/html/gtk3/GtkListBox.html +1 -1
  82. data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +31 -31
  83. data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +1 -1
  84. data/vendor/local/share/gtk-doc/html/gtk3/GtkModelButton.html +1 -1
  85. data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +1 -1
  86. data/vendor/local/share/gtk-doc/html/gtk3/GtkPadController.html +8 -8
  87. data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +3 -3
  88. data/vendor/local/share/gtk-doc/html/gtk3/GtkPlacesSidebar.html +5 -5
  89. data/vendor/local/share/gtk-doc/html/gtk3/GtkPlug.html +9 -9
  90. data/vendor/local/share/gtk-doc/html/gtk3/GtkPopover.html +4 -4
  91. data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +1 -1
  92. data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +1 -1
  93. data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +4 -4
  94. data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchBar.html +5 -5
  95. data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +4 -4
  96. data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +10 -10
  97. data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +3 -3
  98. data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +18 -18
  99. data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +28 -28
  100. data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +40 -40
  101. data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +29 -29
  102. data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +30 -30
  103. data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +15 -15
  104. data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +8 -8
  105. data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +3 -3
  106. data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +4 -4
  107. data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +13 -13
  108. data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +1 -1
  109. data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +6 -6
  110. data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +275 -275
  111. data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +53 -53
  112. data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +2 -2
  113. data/vendor/local/share/gtk-doc/html/gtk3/ch01s03.html +7 -1
  114. data/vendor/local/share/gtk-doc/html/gtk3/ch01s04.html +13 -13
  115. data/vendor/local/share/gtk-doc/html/gtk3/ch26s02.html +35 -35
  116. data/vendor/local/share/gtk-doc/html/gtk3/ch32s05.html +2 -2
  117. data/vendor/local/share/gtk-doc/html/gtk3/chap-drawing-model.html +1 -1
  118. data/vendor/local/share/gtk-doc/html/gtk3/chap-input-handling.html +37 -37
  119. data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +2 -2
  120. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +13 -13
  121. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +2 -2
  122. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html +1 -1
  123. data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +9 -9
  124. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +4 -4
  125. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +12 -12
  126. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +33 -33
  127. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +40 -40
  128. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +3 -3
  129. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +9 -9
  130. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +24 -24
  131. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +4 -4
  132. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +34 -34
  133. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +9 -9
  134. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +36 -36
  135. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Stock-Items.html +1 -1
  136. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +4 -4
  137. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +3 -3
  138. data/vendor/local/share/gtk-doc/html/gtk3/index.html +1 -1
  139. data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30.mo +0 -0
  140. data/vendor/local/share/locale/de/LC_MESSAGES/gtk30-properties.mo +0 -0
  141. data/vendor/local/share/locale/fr/LC_MESSAGES/gtk30-properties.mo +0 -0
  142. data/vendor/local/share/locale/hr/LC_MESSAGES/gtk30-properties.mo +0 -0
  143. data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30-properties.mo +0 -0
  144. data/vendor/local/share/locale/id/LC_MESSAGES/gtk30-properties.mo +0 -0
  145. data/vendor/local/share/locale/it/LC_MESSAGES/gtk30-properties.mo +0 -0
  146. data/vendor/local/share/locale/it/LC_MESSAGES/gtk30.mo +0 -0
  147. data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30-properties.mo +0 -0
  148. data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30-properties.mo +0 -0
  149. data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30-properties.mo +0 -0
  150. data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30.mo +0 -0
  151. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30-properties.mo +0 -0
  152. data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30-properties.mo +0 -0
  153. data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30-properties.mo +0 -0
  154. data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30-properties.mo +0 -0
  155. data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30.mo +0 -0
  156. data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30-properties.mo +0 -0
  157. data/vendor/local/share/locale/sv/LC_MESSAGES/gtk30-properties.mo +0 -0
  158. data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30-properties.mo +0 -0
  159. data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30.mo +0 -0
  160. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30-properties.mo +0 -0
  161. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30.mo +0 -0
  162. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30-properties.mo +0 -0
  163. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30.mo +0 -0
  164. data/vendor/local/share/man/man1/broadwayd.1 +1 -1
  165. data/vendor/local/share/man/man1/gtk-builder-tool.1 +1 -1
  166. data/vendor/local/share/man/man1/gtk-encode-symbolic-svg.1 +1 -1
  167. data/vendor/local/share/man/man1/gtk-launch.1 +1 -1
  168. data/vendor/local/share/man/man1/gtk-query-immodules-3.0.1 +1 -1
  169. data/vendor/local/share/man/man1/gtk-query-settings.1 +1 -1
  170. data/vendor/local/share/man/man1/gtk-update-icon-cache.1 +1 -1
  171. data/vendor/local/share/man/man1/gtk3-demo-application.1 +1 -1
  172. data/vendor/local/share/man/man1/gtk3-demo.1 +1 -1
  173. data/vendor/local/share/man/man1/gtk3-icon-browser.1 +1 -1
  174. data/vendor/local/share/man/man1/gtk3-widget-factory.1 +1 -1
  175. metadata +7 -60
@@ -158,7 +158,7 @@
158
158
  </tr>
159
159
  <tr>
160
160
  <td class="function_type">
161
- <a href="../html/gdk3-Windows.html#GdkGravity"><span class="returnvalue">GdkGravity</span></a>
161
+ <span class="returnvalue">GdkGravity</span>
162
162
  </td>
163
163
  <td class="function_name">
164
164
  <a class="link" href="GtkWindow.html#gtk-window-get-gravity" title="gtk_window_get_gravity ()">gtk_window_get_gravity</a> <span class="c_punctuation">()</span>
@@ -214,7 +214,7 @@
214
214
  </tr>
215
215
  <tr>
216
216
  <td class="function_type">
217
- <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
217
+ <span class="returnvalue">GdkScreen</span> *
218
218
  </td>
219
219
  <td class="function_name">
220
220
  <a class="link" href="GtkWindow.html#gtk-window-get-screen" title="gtk_window_get_screen ()">gtk_window_get_screen</a> <span class="c_punctuation">()</span>
@@ -620,7 +620,7 @@
620
620
  </tr>
621
621
  <tr>
622
622
  <td class="function_type">
623
- <a href="../html/gdk3-Windows.html#GdkModifierType"><span class="returnvalue">GdkModifierType</span></a>
623
+ <span class="returnvalue">GdkModifierType</span>
624
624
  </td>
625
625
  <td class="function_name">
626
626
  <a class="link" href="GtkWindow.html#gtk-window-get-mnemonic-modifier" title="gtk_window_get_mnemonic_modifier ()">gtk_window_get_mnemonic_modifier</a> <span class="c_punctuation">()</span>
@@ -682,7 +682,7 @@
682
682
  </tr>
683
683
  <tr>
684
684
  <td class="function_type">
685
- <a href="../html/gdk3-Windows.html#GdkWindowTypeHint"><span class="returnvalue">GdkWindowTypeHint</span></a>
685
+ <span class="returnvalue">GdkWindowTypeHint</span>
686
686
  </td>
687
687
  <td class="function_name">
688
688
  <a class="link" href="GtkWindow.html#gtk-window-get-type-hint" title="gtk_window_get_type_hint ()">gtk_window_get_type_hint</a> <span class="c_punctuation">()</span>
@@ -1057,7 +1057,7 @@
1057
1057
  <td class="property_flags">Read / Write</td>
1058
1058
  </tr>
1059
1059
  <tr>
1060
- <td class="property_type"><a href="../html/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a></td>
1060
+ <td class="property_type"><span class="type">GdkGravity</span></td>
1061
1061
  <td class="property_name"><a class="link" href="GtkWindow.html#GtkWindow--gravity" title="The “gravity” property">gravity</a></td>
1062
1062
  <td class="property_flags">Read / Write</td>
1063
1063
  </tr>
@@ -1126,7 +1126,7 @@
1126
1126
  </tr>
1127
1127
  <tr>
1128
1128
  <td class="property_type">
1129
- <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</td>
1129
+ <span class="type">GdkScreen</span> *</td>
1130
1130
  <td class="property_name"><a class="link" href="GtkWindow.html#GtkWindow--screen" title="The “screen” property">screen</a></td>
1131
1131
  <td class="property_flags">Read / Write</td>
1132
1132
  </tr>
@@ -1164,7 +1164,7 @@
1164
1164
  <td class="property_flags">Read / Write / Construct Only</td>
1165
1165
  </tr>
1166
1166
  <tr>
1167
- <td class="property_type"><a href="../html/gdk3-Windows.html#GdkWindowTypeHint"><span class="type">GdkWindowTypeHint</span></a></td>
1167
+ <td class="property_type"><span class="type">GdkWindowTypeHint</span></td>
1168
1168
  <td class="property_name"><a class="link" href="GtkWindow.html#GtkWindow--type-hint" title="The “type-hint” property">type-hint</a></td>
1169
1169
  <td class="property_flags">Read / Write</td>
1170
1170
  </tr>
@@ -1831,12 +1831,12 @@ gtk_window_set_geometry_hints.</p>
1831
1831
  <pre class="programlisting"><span class="returnvalue">void</span>
1832
1832
  gtk_window_set_geometry_hints (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
1833
1833
  <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *geometry_widget</code></em>,
1834
- <em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkGeometry"><span class="type">GdkGeometry</span></a> *geometry</code></em>,
1835
- <em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindowHints"><span class="type">GdkWindowHints</span></a> geom_mask</code></em>);</pre>
1834
+ <em class="parameter"><code><span class="type">GdkGeometry</span> *geometry</code></em>,
1835
+ <em class="parameter"><code><span class="type">GdkWindowHints</span> geom_mask</code></em>);</pre>
1836
1836
  <p>This function sets up hints about how a window can be resized by
1837
1837
  the user. You can set a minimum and maximum size; allowed resize
1838
1838
  increments (e.g. for xterm, you can only resize by the size of a
1839
- character); aspect ratios; and more. See the <a href="../html/gdk3-Windows.html#GdkGeometry"><span class="type">GdkGeometry</span></a> struct.</p>
1839
+ character); aspect ratios; and more. See the <span class="type">GdkGeometry</span> struct.</p>
1840
1840
  <div class="refsect3">
1841
1841
  <a name="gtk-window-set-geometry-hints.parameters"></a><h4>Parameters</h4>
1842
1842
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -1877,11 +1877,11 @@ set. </p></td>
1877
1877
  <a name="gtk-window-set-gravity"></a><h3>gtk_window_set_gravity ()</h3>
1878
1878
  <pre class="programlisting"><span class="returnvalue">void</span>
1879
1879
  gtk_window_set_gravity (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
1880
- <em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a> gravity</code></em>);</pre>
1880
+ <em class="parameter"><code><span class="type">GdkGravity</span> gravity</code></em>);</pre>
1881
1881
  <p>Window gravity defines the meaning of coordinates passed to
1882
- <a class="link" href="GtkWindow.html#gtk-window-move" title="gtk_window_move ()"><code class="function">gtk_window_move()</code></a>. See <a class="link" href="GtkWindow.html#gtk-window-move" title="gtk_window_move ()"><code class="function">gtk_window_move()</code></a> and <a href="../html/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a> for
1882
+ <a class="link" href="GtkWindow.html#gtk-window-move" title="gtk_window_move ()"><code class="function">gtk_window_move()</code></a>. See <a class="link" href="GtkWindow.html#gtk-window-move" title="gtk_window_move ()"><code class="function">gtk_window_move()</code></a> and <span class="type">GdkGravity</span> for
1883
1883
  more details.</p>
1884
- <p>The default window gravity is <a href="../html/gdk3-Windows.html#GDK-GRAVITY-NORTH-WEST:CAPS"><span class="type">GDK_GRAVITY_NORTH_WEST</span></a> which will
1884
+ <p>The default window gravity is <span class="type">GDK_GRAVITY_NORTH_WEST</span> which will
1885
1885
  typically “do what you mean.”</p>
1886
1886
  <div class="refsect3">
1887
1887
  <a name="gtk-window-set-gravity.parameters"></a><h4>Parameters</h4>
@@ -1909,7 +1909,7 @@ typically “do what you mean.”</p>
1909
1909
  <hr>
1910
1910
  <div class="refsect2">
1911
1911
  <a name="gtk-window-get-gravity"></a><h3>gtk_window_get_gravity ()</h3>
1912
- <pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkGravity"><span class="returnvalue">GdkGravity</span></a>
1912
+ <pre class="programlisting"><span class="returnvalue">GdkGravity</span>
1913
1913
  gtk_window_get_gravity (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>);</pre>
1914
1914
  <p>Gets the value set by <a class="link" href="GtkWindow.html#gtk-window-set-gravity" title="gtk_window_set_gravity ()"><code class="function">gtk_window_set_gravity()</code></a>.</p>
1915
1915
  <div class="refsect3">
@@ -1983,7 +1983,7 @@ functions in GTK+ will sometimes call
1983
1983
  <p>On Wayland, this function can also be used to attach a new
1984
1984
  <a class="link" href="GtkWindow.html#GTK-WINDOW-POPUP:CAPS"><span class="type">GTK_WINDOW_POPUP</span></a> to a <a class="link" href="GtkWindow.html#GTK-WINDOW-TOPLEVEL:CAPS"><span class="type">GTK_WINDOW_TOPLEVEL</span></a> parent already mapped
1985
1985
  on screen so that the <a class="link" href="GtkWindow.html#GTK-WINDOW-POPUP:CAPS"><span class="type">GTK_WINDOW_POPUP</span></a> will be created as a
1986
- subsurface-based window <a href="../html/gdk3-Windows.html#GDK-WINDOW-SUBSURFACE:CAPS"><span class="type">GDK_WINDOW_SUBSURFACE</span></a> which can be
1986
+ subsurface-based window <span class="type">GDK_WINDOW_SUBSURFACE</span> which can be
1987
1987
  positioned at will relatively to the <a class="link" href="GtkWindow.html#GTK-WINDOW-TOPLEVEL:CAPS"><span class="type">GTK_WINDOW_TOPLEVEL</span></a> surface.</p>
1988
1988
  <p>On Windows, this function puts the child window on top of the parent,
1989
1989
  much as the window manager would have done on X.</p>
@@ -2141,8 +2141,8 @@ is maximized</p></td>
2141
2141
  <a name="gtk-window-set-screen"></a><h3>gtk_window_set_screen ()</h3>
2142
2142
  <pre class="programlisting"><span class="returnvalue">void</span>
2143
2143
  gtk_window_set_screen (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
2144
- <em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
2145
- <p>Sets the <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> where the <em class="parameter"><code>window</code></em>
2144
+ <em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
2145
+ <p>Sets the <span class="type">GdkScreen</span> where the <em class="parameter"><code>window</code></em>
2146
2146
  is displayed; if
2147
2147
  the window is already mapped, it will be unmapped, and
2148
2148
  then remapped on the new screen.</p>
@@ -2162,7 +2162,7 @@ then remapped on the new screen.</p>
2162
2162
  </tr>
2163
2163
  <tr>
2164
2164
  <td class="parameter_name"><p>screen</p></td>
2165
- <td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>.</p></td>
2165
+ <td class="parameter_description"><p>a <span class="type">GdkScreen</span>.</p></td>
2166
2166
  <td class="parameter_annotations"> </td>
2167
2167
  </tr>
2168
2168
  </tbody>
@@ -2173,9 +2173,9 @@ then remapped on the new screen.</p>
2173
2173
  <hr>
2174
2174
  <div class="refsect2">
2175
2175
  <a name="gtk-window-get-screen"></a><h3>gtk_window_get_screen ()</h3>
2176
- <pre class="programlisting"><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
2176
+ <pre class="programlisting"><span class="returnvalue">GdkScreen</span> *
2177
2177
  gtk_window_get_screen (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>);</pre>
2178
- <p>Returns the <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> associated with <em class="parameter"><code>window</code></em>
2178
+ <p>Returns the <span class="type">GdkScreen</span> associated with <em class="parameter"><code>window</code></em>
2179
2179
  .</p>
2180
2180
  <div class="refsect3">
2181
2181
  <a name="gtk-window-get-screen.parameters"></a><h4>Parameters</h4>
@@ -2194,7 +2194,7 @@ gtk_window_get_screen (<em class="parameter"><code><a class="link" href="GtkWind
2194
2194
  </div>
2195
2195
  <div class="refsect3">
2196
2196
  <a name="gtk-window-get-screen.returns"></a><h4>Returns</h4>
2197
- <p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>. </p>
2197
+ <p>a <span class="type">GdkScreen</span>. </p>
2198
2198
  <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
2199
2199
  </div>
2200
2200
  <p class="since">Since: 2.2</p>
@@ -2389,7 +2389,7 @@ gtk_window_remove_mnemonic (<em class="parameter"><code><a class="link" href="Gt
2389
2389
  <pre class="programlisting"><span class="returnvalue">gboolean</span>
2390
2390
  gtk_window_mnemonic_activate (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
2391
2391
  <em class="parameter"><code><span class="type">guint</span> keyval</code></em>,
2392
- <em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifier</code></em>);</pre>
2392
+ <em class="parameter"><code><span class="type">GdkModifierType</span> modifier</code></em>);</pre>
2393
2393
  <p>Activates the targets associated with the mnemonic.</p>
2394
2394
  <div class="refsect3">
2395
2395
  <a name="gtk-window-mnemonic-activate.parameters"></a><h4>Parameters</h4>
@@ -2428,7 +2428,7 @@ gtk_window_mnemonic_activate (<em class="parameter"><code><a class="link" href="
2428
2428
  <a name="gtk-window-activate-key"></a><h3>gtk_window_activate_key ()</h3>
2429
2429
  <pre class="programlisting"><span class="returnvalue">gboolean</span>
2430
2430
  gtk_window_activate_key (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
2431
- <em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);</pre>
2431
+ <em class="parameter"><code><span class="type">GdkEventKey</span> *event</code></em>);</pre>
2432
2432
  <p>Activates mnemonics and accelerators for this <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>. This is normally
2433
2433
  called by the default ::key_press_event handler for toplevel windows,
2434
2434
  however in some cases it may be useful to call this directly when
@@ -2449,7 +2449,7 @@ overriding the standard key handling for a toplevel window.</p>
2449
2449
  </tr>
2450
2450
  <tr>
2451
2451
  <td class="parameter_name"><p>event</p></td>
2452
- <td class="parameter_description"><p>a <a href="../html/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a></p></td>
2452
+ <td class="parameter_description"><p>a <span class="type">GdkEventKey</span></p></td>
2453
2453
  <td class="parameter_annotations"> </td>
2454
2454
  </tr>
2455
2455
  </tbody>
@@ -2466,7 +2466,7 @@ overriding the standard key handling for a toplevel window.</p>
2466
2466
  <a name="gtk-window-propagate-key-event"></a><h3>gtk_window_propagate_key_event ()</h3>
2467
2467
  <pre class="programlisting"><span class="returnvalue">gboolean</span>
2468
2468
  gtk_window_propagate_key_event (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
2469
- <em class="parameter"><code><a href="../html/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);</pre>
2469
+ <em class="parameter"><code><span class="type">GdkEventKey</span> *event</code></em>);</pre>
2470
2470
  <p>Propagate a key press or release event to the focus widget and
2471
2471
  up the focus container chain until a widget handles <em class="parameter"><code>event</code></em>
2472
2472
  .
@@ -2490,7 +2490,7 @@ overriding the standard key handling for a toplevel window.</p>
2490
2490
  </tr>
2491
2491
  <tr>
2492
2492
  <td class="parameter_name"><p>event</p></td>
2493
- <td class="parameter_description"><p>a <a href="../html/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a></p></td>
2493
+ <td class="parameter_description"><p>a <span class="type">GdkEventKey</span></p></td>
2494
2494
  <td class="parameter_annotations"> </td>
2495
2495
  </tr>
2496
2496
  </tbody>
@@ -2961,7 +2961,7 @@ on <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">Gt
2961
2961
  <a name="gtk-window-fullscreen-on-monitor"></a><h3>gtk_window_fullscreen_on_monitor ()</h3>
2962
2962
  <pre class="programlisting"><span class="returnvalue">void</span>
2963
2963
  gtk_window_fullscreen_on_monitor (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
2964
- <em class="parameter"><code><a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>,
2964
+ <em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>,
2965
2965
  <em class="parameter"><code><span class="type">gint</span> monitor</code></em>);</pre>
2966
2966
  <p>Asks to place <em class="parameter"><code>window</code></em>
2967
2967
  in the fullscreen state. Note that you shouldn't assume
@@ -2984,7 +2984,7 @@ on <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">Gt
2984
2984
  </tr>
2985
2985
  <tr>
2986
2986
  <td class="parameter_name"><p>screen</p></td>
2987
- <td class="parameter_description"><p>a <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> to draw to</p></td>
2987
+ <td class="parameter_description"><p>a <span class="type">GdkScreen</span> to draw to</p></td>
2988
2988
  <td class="parameter_annotations"> </td>
2989
2989
  </tr>
2990
2990
  <tr>
@@ -3132,7 +3132,7 @@ below other windows</p></td>
3132
3132
  <a name="gtk-window-begin-resize-drag"></a><h3>gtk_window_begin_resize_drag ()</h3>
3133
3133
  <pre class="programlisting"><span class="returnvalue">void</span>
3134
3134
  gtk_window_begin_resize_drag (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
3135
- <em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindowEdge"><span class="type">GdkWindowEdge</span></a> edge</code></em>,
3135
+ <em class="parameter"><code><span class="type">GdkWindowEdge</span> edge</code></em>,
3136
3136
  <em class="parameter"><code><span class="type">gint</span> button</code></em>,
3137
3137
  <em class="parameter"><code><span class="type">gint</span> root_x</code></em>,
3138
3138
  <em class="parameter"><code><span class="type">gint</span> root_y</code></em>,
@@ -3322,7 +3322,7 @@ policy involved.</p>
3322
3322
  <a name="gtk-window-set-mnemonic-modifier"></a><h3>gtk_window_set_mnemonic_modifier ()</h3>
3323
3323
  <pre class="programlisting"><span class="returnvalue">void</span>
3324
3324
  gtk_window_set_mnemonic_modifier (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
3325
- <em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifier</code></em>);</pre>
3325
+ <em class="parameter"><code><span class="type">GdkModifierType</span> modifier</code></em>);</pre>
3326
3326
  <p>Sets the mnemonic modifier for this window.</p>
3327
3327
  <div class="refsect3">
3328
3328
  <a name="gtk-window-set-mnemonic-modifier.parameters"></a><h4>Parameters</h4>
@@ -3353,7 +3353,7 @@ mnemonics on this window.</p></td>
3353
3353
  <a name="gtk-window-set-type-hint"></a><h3>gtk_window_set_type_hint ()</h3>
3354
3354
  <pre class="programlisting"><span class="returnvalue">void</span>
3355
3355
  gtk_window_set_type_hint (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
3356
- <em class="parameter"><code><a href="../html/gdk3-Windows.html#GdkWindowTypeHint"><span class="type">GdkWindowTypeHint</span></a> hint</code></em>);</pre>
3356
+ <em class="parameter"><code><span class="type">GdkWindowTypeHint</span> hint</code></em>);</pre>
3357
3357
  <p>By setting the type hint for the window, you allow the window
3358
3358
  manager to decorate and handle the window in a way which is
3359
3359
  suitable to the function of the window in your application.</p>
@@ -3898,7 +3898,7 @@ no themed icon. </p>
3898
3898
  <hr>
3899
3899
  <div class="refsect2">
3900
3900
  <a name="gtk-window-get-mnemonic-modifier"></a><h3>gtk_window_get_mnemonic_modifier ()</h3>
3901
- <pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkModifierType"><span class="returnvalue">GdkModifierType</span></a>
3901
+ <pre class="programlisting"><span class="returnvalue">GdkModifierType</span>
3902
3902
  gtk_window_get_mnemonic_modifier (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>);</pre>
3903
3903
  <p>Returns the mnemonic modifier for this window. See
3904
3904
  <a class="link" href="GtkWindow.html#gtk-window-set-mnemonic-modifier" title="gtk_window_set_mnemonic_modifier ()"><code class="function">gtk_window_set_mnemonic_modifier()</code></a>.</p>
@@ -3972,11 +3972,11 @@ have been known to mismanage window gravity, which result in windows
3972
3972
  moving even if you use the coordinates of the current position as
3973
3973
  returned by this function.</p>
3974
3974
  <p>If you haven’t changed the window gravity, its gravity will be
3975
- <a href="../html/gdk3-Windows.html#GDK-GRAVITY-NORTH-WEST:CAPS"><span class="type">GDK_GRAVITY_NORTH_WEST</span></a>. This means that <a class="link" href="GtkWindow.html#gtk-window-get-position" title="gtk_window_get_position ()"><code class="function">gtk_window_get_position()</code></a>
3975
+ <span class="type">GDK_GRAVITY_NORTH_WEST</span>. This means that <a class="link" href="GtkWindow.html#gtk-window-get-position" title="gtk_window_get_position ()"><code class="function">gtk_window_get_position()</code></a>
3976
3976
  gets the position of the top-left corner of the window manager
3977
3977
  frame for the window. <a class="link" href="GtkWindow.html#gtk-window-move" title="gtk_window_move ()"><code class="function">gtk_window_move()</code></a> sets the position of this
3978
3978
  same top-left corner.</p>
3979
- <p>If a window has gravity <a href="../html/gdk3-Windows.html#GDK-GRAVITY-STATIC:CAPS"><span class="type">GDK_GRAVITY_STATIC</span></a> the window manager
3979
+ <p>If a window has gravity <span class="type">GDK_GRAVITY_STATIC</span> the window manager
3980
3980
  frame is not relevant, and thus <a class="link" href="GtkWindow.html#gtk-window-get-position" title="gtk_window_get_position ()"><code class="function">gtk_window_get_position()</code></a> will
3981
3981
  always produce accurate results. However you can’t use static
3982
3982
  gravity to do things like place a window in a corner of the screen,
@@ -4268,7 +4268,7 @@ is attached, or <code class="literal">NULL</code> if the window is not attached
4268
4268
  <hr>
4269
4269
  <div class="refsect2">
4270
4270
  <a name="gtk-window-get-type-hint"></a><h3>gtk_window_get_type_hint ()</h3>
4271
- <pre class="programlisting"><a href="../html/gdk3-Windows.html#GdkWindowTypeHint"><span class="returnvalue">GdkWindowTypeHint</span></a>
4271
+ <pre class="programlisting"><span class="returnvalue">GdkWindowTypeHint</span>
4272
4272
  gtk_window_get_type_hint (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>);</pre>
4273
4273
  <p>Gets the type hint for this window. See <a class="link" href="GtkWindow.html#gtk-window-set-type-hint" title="gtk_window_set_type_hint ()"><code class="function">gtk_window_set_type_hint()</code></a>.</p>
4274
4274
  <div class="refsect3">
@@ -4535,7 +4535,7 @@ reference point for the window. The gravity determines two things:
4535
4535
  first, the location of the reference point in root window
4536
4536
  coordinates; and second, which point on the window is positioned at
4537
4537
  the reference point.</p>
4538
- <p>By default the gravity is <a href="../html/gdk3-Windows.html#GDK-GRAVITY-NORTH-WEST:CAPS"><span class="type">GDK_GRAVITY_NORTH_WEST</span></a>, so the reference
4538
+ <p>By default the gravity is <span class="type">GDK_GRAVITY_NORTH_WEST</span>, so the reference
4539
4539
  point is simply the <em class="parameter"><code>x</code></em>
4540
4540
  , <em class="parameter"><code>y</code></em>
4541
4541
  supplied to <a class="link" href="GtkWindow.html#gtk-window-move" title="gtk_window_move ()"><code class="function">gtk_window_move()</code></a>. The
@@ -4544,17 +4544,17 @@ border) will be placed at <em class="parameter"><code>x</code></em>
4544
4544
  , <em class="parameter"><code>y</code></em>
4545
4545
  . Therefore, to position a window
4546
4546
  at the top left of the screen, you want to use the default gravity
4547
- (which is <a href="../html/gdk3-Windows.html#GDK-GRAVITY-NORTH-WEST:CAPS"><span class="type">GDK_GRAVITY_NORTH_WEST</span></a>) and move the window to 0,0.</p>
4547
+ (which is <span class="type">GDK_GRAVITY_NORTH_WEST</span>) and move the window to 0,0.</p>
4548
4548
  <p>To position a window at the bottom right corner of the screen, you
4549
- would set <a href="../html/gdk3-Windows.html#GDK-GRAVITY-SOUTH-EAST:CAPS"><span class="type">GDK_GRAVITY_SOUTH_EAST</span></a>, which means that the reference
4549
+ would set <span class="type">GDK_GRAVITY_SOUTH_EAST</span>, which means that the reference
4550
4550
  point is at <em class="parameter"><code>x</code></em>
4551
4551
  + the window width and <em class="parameter"><code>y</code></em>
4552
4552
  + the window height, and
4553
4553
  the bottom-right corner of the window border will be placed at that
4554
4554
  reference point. So, to place a window in the bottom right corner
4555
4555
  you would first set gravity to south east, then write:
4556
- <code class="literal">gtk_window_move (window, <a href="../html/gdk3-General.html#gdk-screen-width"><code class="function">gdk_screen_width()</code></a> - window_width,
4557
- <a href="../html/gdk3-General.html#gdk-screen-height"><code class="function">gdk_screen_height()</code></a> - window_height)</code> (note that this
4556
+ <code class="literal">gtk_window_move (window, <code class="function">gdk_screen_width()</code> - window_width,
4557
+ <code class="function">gdk_screen_height()</code> - window_height)</code> (note that this
4558
4558
  example does not take multi-head scenarios into account).</p>
4559
4559
  <p>The <a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" target="_top">Extended Window Manager Hints Specification</a>
4560
4560
  has a nice table of gravities in the “implementation notes” section.</p>
@@ -4606,7 +4606,7 @@ geometry string, <a class="link" href="GtkWindow.html#gtk-window-parse-geometry"
4606
4606
  and calls <a class="link" href="GtkWindow.html#gtk-window-set-default-size" title="gtk_window_set_default_size ()"><code class="function">gtk_window_set_default_size()</code></a> and/or <a class="link" href="GtkWindow.html#gtk-window-move" title="gtk_window_move ()"><code class="function">gtk_window_move()</code></a>
4607
4607
  to resize/move the window.</p>
4608
4608
  <p>If <a class="link" href="GtkWindow.html#gtk-window-parse-geometry" title="gtk_window_parse_geometry ()"><code class="function">gtk_window_parse_geometry()</code></a> returns <code class="literal">TRUE</code>, it will also
4609
- set the <a href="../html/gdk3-Windows.html#GDK-HINT-USER-POS:CAPS"><span class="type">GDK_HINT_USER_POS</span></a> and/or <a href="../html/gdk3-Windows.html#GDK-HINT-USER-SIZE:CAPS"><span class="type">GDK_HINT_USER_SIZE</span></a> hints
4609
+ set the <span class="type">GDK_HINT_USER_POS</span> and/or <span class="type">GDK_HINT_USER_SIZE</span> hints
4610
4610
  indicating to the window manager that the size/position of
4611
4611
  the window was user-specified. This causes most window
4612
4612
  managers to honor the geometry.</p>
@@ -4681,7 +4681,7 @@ on the window.</p>
4681
4681
  <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">vbox</span><span class="symbol">;</span>
4682
4682
  <span class="normal"> </span><span class="usertype">GdkGeometry</span><span class="normal"> size_hints </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span>
4683
4683
  <span class="normal"> </span><span class="number">100</span><span class="symbol">,</span><span class="normal"> </span><span class="number">50</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">,</span><span class="normal"> </span><span class="number">50</span><span class="symbol">,</span><span class="normal"> </span><span class="number">10</span><span class="symbol">,</span>
4684
- <span class="normal"> </span><span class="number">10</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> <a href="../html/gdk3-Windows.html#GDK-GRAVITY-NORTH-WEST:CAPS">GDK_GRAVITY_NORTH_WEST</a></span>
4684
+ <span class="normal"> </span><span class="number">10</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">,</span><span class="normal"> GDK_GRAVITY_NORTH_WEST</span>
4685
4685
  <span class="normal"> </span><span class="cbracket">}</span><span class="symbol">;</span>
4686
4686
 
4687
4687
  <span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-init">gtk_init</a></span><span class="normal"> </span><span class="symbol">(&amp;</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">argv</span><span class="symbol">);</span>
@@ -4696,9 +4696,9 @@ on the window.</p>
4696
4696
  <span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-set-geometry-hints">gtk_window_set_geometry_hints</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span>
4697
4697
  <span class="normal"> NULL</span><span class="symbol">,</span>
4698
4698
  <span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">size_hints</span><span class="symbol">,</span>
4699
- <span class="normal"> <a href="../html/gdk3-Windows.html#GDK-HINT-MIN-SIZE:CAPS">GDK_HINT_MIN_SIZE</a> </span><span class="symbol">|</span>
4700
- <span class="normal"> <a href="../html/gdk3-Windows.html#GDK-HINT-BASE-SIZE:CAPS">GDK_HINT_BASE_SIZE</a> </span><span class="symbol">|</span>
4701
- <span class="normal"> <a href="../html/gdk3-Windows.html#GDK-HINT-RESIZE-INC:CAPS">GDK_HINT_RESIZE_INC</a></span><span class="symbol">);</span>
4699
+ <span class="normal"> GDK_HINT_MIN_SIZE </span><span class="symbol">|</span>
4700
+ <span class="normal"> GDK_HINT_BASE_SIZE </span><span class="symbol">|</span>
4701
+ <span class="normal"> GDK_HINT_RESIZE_INC</span><span class="symbol">);</span>
4702
4702
 
4703
4703
  <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">argc </span><span class="symbol">&gt;</span><span class="normal"> </span><span class="number">1</span><span class="symbol">)</span>
4704
4704
  <span class="normal"> </span><span class="cbracket">{</span>
@@ -5181,7 +5181,7 @@ property which is mentioned in the ICCCM.</p>
5181
5181
  gtk_window_set_auto_startup_notification
5182
5182
  (<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
5183
5183
  <p>By default, after showing the first <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>, GTK+ calls
5184
- <a href="../html/gdk3-General.html#gdk-notify-startup-complete"><code class="function">gdk_notify_startup_complete()</code></a>. Call this function to disable
5184
+ <code class="function">gdk_notify_startup_complete()</code>. Call this function to disable
5185
5185
  the automatic startup notification. You might do this if your
5186
5186
  first window is a splash screen, and you want to delay notification
5187
5187
  until after your real main window has been shown, for example.</p>
@@ -5505,13 +5505,13 @@ gtk_window_resize_grip_is_visible (<em class="parameter"><code><a class="link" h
5505
5505
  <a name="gtk-window-get-resize-grip-area"></a><h3>gtk_window_get_resize_grip_area ()</h3>
5506
5506
  <pre class="programlisting"><span class="returnvalue">gboolean</span>
5507
5507
  gtk_window_get_resize_grip_area (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *window</code></em>,
5508
- <em class="parameter"><code><a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
5508
+ <em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
5509
5509
  <div class="warning">
5510
5510
  <p><code class="literal">gtk_window_get_resize_grip_area</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
5511
5511
  <p>Resize grips have been removed.</p>
5512
5512
  </div>
5513
5513
  <p>If a window has a resize grip, this will retrieve the grip
5514
- position, width and height into the specified <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a>.</p>
5514
+ position, width and height into the specified <span class="type">GdkRectangle</span>.</p>
5515
5515
  <div class="refsect3">
5516
5516
  <a name="gtk-window-get-resize-grip-area.parameters"></a><h4>Parameters</h4>
5517
5517
  <div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -5528,7 +5528,7 @@ position, width and height into the specified <a href="../html/gdk3-Points-Recta
5528
5528
  </tr>
5529
5529
  <tr>
5530
5530
  <td class="parameter_name"><p>rect</p></td>
5531
- <td class="parameter_description"><p>a pointer to a <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> which we should store
5531
+ <td class="parameter_description"><p>a pointer to a <span class="type">GdkRectangle</span> which we should store
5532
5532
  the resize grip area. </p></td>
5533
5533
  <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
5534
5534
  </tr>
@@ -6007,8 +6007,8 @@ and should not be set by applications.</p>
6007
6007
  <hr>
6008
6008
  <div class="refsect2">
6009
6009
  <a name="GtkWindow--gravity"></a><h3>The <code class="literal">“gravity”</code> property</h3>
6010
- <pre class="programlisting"> “gravity” <a href="../html/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a></pre>
6011
- <p>The window gravity of the window. See <a class="link" href="GtkWindow.html#gtk-window-move" title="gtk_window_move ()"><code class="function">gtk_window_move()</code></a> and <a href="../html/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a> for
6010
+ <pre class="programlisting"> “gravity” <span class="type">GdkGravity</span></pre>
6011
+ <p>The window gravity of the window. See <a class="link" href="GtkWindow.html#gtk-window-move" title="gtk_window_move ()"><code class="function">gtk_window_move()</code></a> and <span class="type">GdkGravity</span> for
6012
6012
  more details about window gravity.</p>
6013
6013
  <p>Flags: Read / Write</p>
6014
6014
  <p>Default value: GDK_GRAVITY_NORTH_WEST</p>
@@ -6132,7 +6132,7 @@ and should not be set by applications.</p>
6132
6132
  <hr>
6133
6133
  <div class="refsect2">
6134
6134
  <a name="GtkWindow--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
6135
- <pre class="programlisting"> “screen” <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</pre>
6135
+ <pre class="programlisting"> “screen” <span class="type">GdkScreen</span> *</pre>
6136
6136
  <p>The screen where this window will be displayed.</p>
6137
6137
  <p>Flags: Read / Write</p>
6138
6138
  </div>
@@ -6191,7 +6191,7 @@ more details about transient windows.</p>
6191
6191
  <hr>
6192
6192
  <div class="refsect2">
6193
6193
  <a name="GtkWindow--type-hint"></a><h3>The <code class="literal">“type-hint”</code> property</h3>
6194
- <pre class="programlisting"> “type-hint” <a href="../html/gdk3-Windows.html#GdkWindowTypeHint"><span class="type">GdkWindowTypeHint</span></a></pre>
6194
+ <pre class="programlisting"> “type-hint” <span class="type">GdkWindowTypeHint</span></pre>
6195
6195
  <p>Hint to help the desktop environment understand what kind of window this is and how to treat it.</p>
6196
6196
  <p>Flags: Read / Write</p>
6197
6197
  <p>Default value: GDK_WINDOW_TYPE_HINT_NORMAL</p>
@@ -269,7 +269,7 @@ see <a class="link" href="gtk3-General.html#gtk-grab-add" title="gtk_grab_add (
269
269
  <pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
270
270
  gtk_window_group_get_current_device_grab
271
271
  (<em class="parameter"><code><a class="link" href="GtkWindowGroup.html" title="GtkWindowGroup"><span class="type">GtkWindowGroup</span></a> *window_group</code></em>,
272
- <em class="parameter"><code><a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
272
+ <em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>);</pre>
273
273
  <p>Returns the current grab widget for <em class="parameter"><code>device</code></em>
274
274
  , or <code class="literal">NULL</code> if none.</p>
275
275
  <div class="refsect3">
@@ -288,7 +288,7 @@ gtk_window_group_get_current_device_grab
288
288
  </tr>
289
289
  <tr>
290
290
  <td class="parameter_name"><p>device</p></td>
291
- <td class="parameter_description"><p>a <a href="../html/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a></p></td>
291
+ <td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
292
292
  <td class="parameter_annotations"> </td>
293
293
  </tr>
294
294
  </tbody>
@@ -48,12 +48,18 @@ main (int argc,
48
48
  GtkBuilder *builder;
49
49
  GObject *window;
50
50
  GObject *button;
51
+ GError *error = NULL;
51
52
 
52
53
  gtk_init (&amp;argc, &amp;argv);
53
54
 
54
55
  /* Construct a GtkBuilder instance and load our UI description */
55
56
  builder = gtk_builder_new ();
56
- gtk_builder_add_from_file (builder, "builder.ui", NULL);
57
+ if (gtk_builder_add_from_file (builder, "builder.ui", &amp;error) == 0)
58
+ {
59
+ g_printerr ("Error loading file: %s\n", error-&gt;message);
60
+ g_clear_error (&amp;error);
61
+ return 1;
62
+ }
57
63
 
58
64
  /* Connect signal handlers to the constructed widgets. */
59
65
  window = gtk_builder_get_object (builder, "window");
@@ -467,12 +467,12 @@ example_app_window_class_init (ExampleAppWindowClass *class)
467
467
 
468
468
  ...
469
469
  </pre>
470
- <p>(<a class="ulink" href="https://git.gnome.org/browse/gtk+/tree/examples/application2/exampleappwin.c" target="_top">full source</a>)</p>
470
+ <p>(<a class="ulink" href="https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/examples/application2/exampleappwin.c" target="_top">full source</a>)</p>
471
471
  </div>
472
472
  <p>You may have noticed that we used the <code class="literal">_from_resource()</code> variant
473
- of the function that sets a template. Now we need to use GLib's resource
474
- functionality to include the ui file in the binary. This is commonly
475
- done by listing all resources in a .gresource.xml file, such as this:
473
+ of the function that sets a template. Now we need to use <a class="ulink" href="https://developer.gnome.org/gio/stable/GResource.html" target="_top">GLib's resource functionality</a>
474
+ to include the ui file in the binary. This is commonly done by listing
475
+ all resources in a .gresource.xml file, such as this:
476
476
  </p>
477
477
  <div class="informalexample">
478
478
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
@@ -538,7 +538,7 @@ example_app_window_class_init (ExampleAppWindowClass *class)
538
538
 
539
539
  ...
540
540
  </pre>
541
- <p>(<a class="ulink" href="https://git.gnome.org/browse/gtk+/tree/examples/application3/exampleappwin.c" target="_top">full source</a>)</p>
541
+ <p>(<a class="ulink" href="https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/examples/application3/exampleappwin.c" target="_top">full source</a>)</p>
542
542
  </div>
543
543
  <p>Now we revisit the <code class="function">example_app_window_open()</code> function that
544
544
  is called for each commandline argument, and construct a GtkTextView
@@ -585,7 +585,7 @@ example_app_window_open (ExampleAppWindow *win,
585
585
 
586
586
  ...
587
587
  </pre>
588
- <p>(<a class="ulink" href="https://git.gnome.org/browse/gtk+/tree/examples/application3/exampleappwin.c" target="_top">full source</a>)</p>
588
+ <p>(<a class="ulink" href="https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/examples/application3/exampleappwin.c" target="_top">full source</a>)</p>
589
589
  </div>
590
590
  <p>Note that we did not have to touch the stack switcher
591
591
  at all. It gets all its information from the stack that it
@@ -711,7 +711,7 @@ example_app_class_init (ExampleAppClass *class)
711
711
 
712
712
  ...
713
713
  </pre>
714
- <p>(<a class="ulink" href="https://git.gnome.org/browse/gtk+/tree/examples/application4/exampleapp.c" target="_top">full source</a>)</p>
714
+ <p>(<a class="ulink" href="https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/examples/application4/exampleapp.c" target="_top">full source</a>)</p>
715
715
  </div>
716
716
  <p>Our preferences menu item does not do anything yet,
717
717
  but the Quit menu item is fully functional. Note that it
@@ -808,7 +808,7 @@ example_app_window_init (ExampleAppWindow *win)
808
808
 
809
809
  ...
810
810
  </pre>
811
- <p>(<a class="ulink" href="https://git.gnome.org/browse/gtk+/tree/examples/application5/exampleappwin.c" target="_top">full source</a>)</p>
811
+ <p>(<a class="ulink" href="https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/examples/application5/exampleappwin.c" target="_top">full source</a>)</p>
812
812
  </div>
813
813
  <p>The code to connect the font setting is a little more involved,
814
814
  since there is no simple object property that it corresponds to, so
@@ -1133,7 +1133,7 @@ preferences_activated (GSimpleAction *action,
1133
1133
 
1134
1134
  ...
1135
1135
  </pre>
1136
- <p>(<a class="ulink" href="https://git.gnome.org/browse/gtk+/tree/examples/application6/exampleapp.c" target="_top">full source</a>)</p>
1136
+ <p>(<a class="ulink" href="https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/examples/application6/exampleapp.c" target="_top">full source</a>)</p>
1137
1137
  </div>
1138
1138
  <p>After all this work, our application can now show
1139
1139
  a preference dialog like this:</p>
@@ -1336,7 +1336,7 @@ example_app_window_init (ExampleAppWindow *win)
1336
1336
 
1337
1337
  ...
1338
1338
  </pre>
1339
- <p>(<a class="ulink" href="https://git.gnome.org/browse/gtk+/tree/examples/application7/exampleappwin.c" target="_top">full source</a>)</p>
1339
+ <p>(<a class="ulink" href="https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/examples/application7/exampleappwin.c" target="_top">full source</a>)</p>
1340
1340
  </div>
1341
1341
  <p>With the search bar, our application now looks like this:</p>
1342
1342
  <div class="informalfigure"><div class="mediaobject"><img src="getting-started-app7.png"></div></div>
@@ -1615,7 +1615,7 @@ example_app_window_init (ExampleAppWindow *win)
1615
1615
 
1616
1616
  ...
1617
1617
  </pre>
1618
- <p>(<a class="ulink" href="https://git.gnome.org/browse/gtk+/tree/examples/application8/exampleappwin.c" target="_top">full source</a>)</p>
1618
+ <p>(<a class="ulink" href="https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/examples/application8/exampleappwin.c" target="_top">full source</a>)</p>
1619
1619
  </div>
1620
1620
  <p>What our application looks like now:</p>
1621
1621
  <div class="informalfigure"><div class="mediaobject"><img src="getting-started-app8.png"></div></div>
@@ -1701,11 +1701,11 @@ example_app_window_init (ExampleAppWindow *win)
1701
1701
 
1702
1702
  ...
1703
1703
  </pre>
1704
- <p>(<a class="ulink" href="https://git.gnome.org/browse/gtk+/tree/examples/application9/exampleappwin.c" target="_top">full source</a>)</p>
1704
+ <p>(<a class="ulink" href="https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/examples/application9/exampleappwin.c" target="_top">full source</a>)</p>
1705
1705
  </div>
1706
1706
  <p>We also need a function that counts the lines of the currently
1707
1707
  active tab, and updates the <em class="parameter"><code>lines</code></em> label. See the
1708
- <a class="ulink" href="https://git.gnome.org/browse/gtk+/tree/examples/application9/exampleappwin.c" target="_top">full source</a>
1708
+ <a class="ulink" href="https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/examples/application9/exampleappwin.c" target="_top">full source</a>
1709
1709
  if you are interested in the details.</p>
1710
1710
  <p>This brings our example application to this appearance:</p>
1711
1711
  <div class="informalfigure"><div class="mediaobject"><img src="getting-started-app9.png"></div></div>