gdk3 3.2.5-x86-mingw32 → 3.2.6-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/COPYING.LIB +502 -0
- data/README.md +25 -0
- data/Rakefile +6 -6
- data/gdk3.gemspec +41 -0
- data/lib/gdk3/cursor.rb +13 -0
- data/lib/gdk3/loader.rb +23 -5
- data/test/test-gdk-cursor.rb +17 -1
- data/vendor/local/bin/gtk-builder-tool.exe +0 -0
- data/vendor/local/bin/gtk-encode-symbolic-svg.exe +0 -0
- data/vendor/local/bin/gtk-launch.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-3.0.exe +0 -0
- data/vendor/local/bin/gtk-query-settings.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/gtk3-demo-application.exe +0 -0
- data/vendor/local/bin/gtk3-demo.exe +0 -0
- data/vendor/local/bin/gtk3-icon-browser.exe +0 -0
- data/vendor/local/bin/gtk3-widget-factory.exe +0 -0
- data/vendor/local/bin/libepoxy-0.dll +0 -0
- data/vendor/local/bin/libgailutil-3-0.dll +0 -0
- data/vendor/local/bin/libgdk-3-0.dll +0 -0
- data/vendor/local/bin/libgtk-3-0.dll +0 -0
- data/vendor/local/bin/libgtkreftestprivate-0.dll +0 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkversionmacros.h +1 -1
- data/vendor/local/include/gtk-3.0/gtk/gtklistbox.h +1 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +3 -3
- data/vendor/local/lib/girepository-1.0/Gdk-3.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Gtk-3.0.typelib +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules.cache +1 -1
- data/vendor/local/lib/libepoxy.dll.a +0 -0
- data/vendor/local/lib/libgailutil-3.dll.a +0 -0
- data/vendor/local/lib/libgailutil-3.la +1 -1
- data/vendor/local/lib/libgdk-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.la +2 -2
- data/vendor/local/lib/libgtk-3.dll.a +0 -0
- data/vendor/local/lib/libgtk-3.la +2 -2
- data/vendor/local/lib/libgtkreftestprivate.dll.a +0 -0
- data/vendor/local/lib/libgtkreftestprivate.la +1 -1
- data/vendor/local/lib/pkgconfig/gail-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-3.0.pc +1 -1
- data/vendor/local/share/aclocal/gtk-3.0.m4 +6 -13
- data/vendor/local/share/gir-1.0/Gdk-3.0.gir +14 -6
- data/vendor/local/share/gir-1.0/Gtk-3.0.gir +11 -11
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/GdkFrameClock.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventController.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGLArea.html +22 -23
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGesture.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGestureMultiPress.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGestureSingle.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImageMenuItem.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListBox.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkModelButton.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPadController.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlacesSidebar.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlug.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPopover.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchBar.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +275 -275
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s03.html +7 -1
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s04.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/ch26s02.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk3/ch32s05.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/chap-drawing-model.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/chap-input-handling.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Stock-Items.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/index.html +1 -1
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/man/man1/broadwayd.1 +1 -1
- data/vendor/local/share/man/man1/gtk-builder-tool.1 +1 -1
- data/vendor/local/share/man/man1/gtk-encode-symbolic-svg.1 +1 -1
- data/vendor/local/share/man/man1/gtk-launch.1 +1 -1
- data/vendor/local/share/man/man1/gtk-query-immodules-3.0.1 +1 -1
- data/vendor/local/share/man/man1/gtk-query-settings.1 +1 -1
- data/vendor/local/share/man/man1/gtk-update-icon-cache.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-demo-application.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-demo.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-icon-browser.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-widget-factory.1 +1 -1
- metadata +7 -60
@@ -2247,7 +2247,7 @@ renderer. This is used primarily by the <a class="link" href="GtkTreeView.html"
|
|
2247
2247
|
<a name="gtk-tree-view-column-cell-get-size"></a><h3>gtk_tree_view_column_cell_get_size ()</h3>
|
2248
2248
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2249
2249
|
gtk_tree_view_column_cell_get_size (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>,
|
2250
|
-
<em class="parameter"><code>const <
|
2250
|
+
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
|
2251
2251
|
<em class="parameter"><code><span class="type">gint</span> *x_offset</code></em>,
|
2252
2252
|
<em class="parameter"><code><span class="type">gint</span> *y_offset</code></em>,
|
2253
2253
|
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
|
@@ -100,7 +100,7 @@
|
|
100
100
|
</tr>
|
101
101
|
<tr>
|
102
102
|
<td class="function_type">
|
103
|
-
<
|
103
|
+
<span class="returnvalue">GdkWindow</span> *
|
104
104
|
</td>
|
105
105
|
<td class="function_name">
|
106
106
|
<a class="link" href="GtkViewport.html#gtk-viewport-get-bin-window" title="gtk_viewport_get_bin_window ()">gtk_viewport_get_bin_window</a> <span class="c_punctuation">()</span>
|
@@ -108,7 +108,7 @@
|
|
108
108
|
</tr>
|
109
109
|
<tr>
|
110
110
|
<td class="function_type">
|
111
|
-
<
|
111
|
+
<span class="returnvalue">GdkWindow</span> *
|
112
112
|
</td>
|
113
113
|
<td class="function_name">
|
114
114
|
<a class="link" href="GtkViewport.html#gtk-viewport-get-view-window" title="gtk_viewport_get_view_window ()">gtk_viewport_get_view_window</a> <span class="c_punctuation">()</span>
|
@@ -420,7 +420,7 @@ gtk_viewport_get_shadow_type (<em class="parameter"><code><a class="link" href="
|
|
420
420
|
<hr>
|
421
421
|
<div class="refsect2">
|
422
422
|
<a name="gtk-viewport-get-bin-window"></a><h3>gtk_viewport_get_bin_window ()</h3>
|
423
|
-
<pre class="programlisting"><
|
423
|
+
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
424
424
|
gtk_viewport_get_bin_window (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);</pre>
|
425
425
|
<p>Gets the bin window of the <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>.</p>
|
426
426
|
<div class="refsect3">
|
@@ -440,7 +440,7 @@ gtk_viewport_get_bin_window (<em class="parameter"><code><a class="link" href="G
|
|
440
440
|
</div>
|
441
441
|
<div class="refsect3">
|
442
442
|
<a name="gtk-viewport-get-bin-window.returns"></a><h4>Returns</h4>
|
443
|
-
<p>a <
|
443
|
+
<p>a <span class="type">GdkWindow</span>. </p>
|
444
444
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
445
445
|
</div>
|
446
446
|
<p class="since">Since: 2.20</p>
|
@@ -448,7 +448,7 @@ gtk_viewport_get_bin_window (<em class="parameter"><code><a class="link" href="G
|
|
448
448
|
<hr>
|
449
449
|
<div class="refsect2">
|
450
450
|
<a name="gtk-viewport-get-view-window"></a><h3>gtk_viewport_get_view_window ()</h3>
|
451
|
-
<pre class="programlisting"><
|
451
|
+
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
452
452
|
gtk_viewport_get_view_window (<em class="parameter"><code><a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a> *viewport</code></em>);</pre>
|
453
453
|
<p>Gets the view window of the <a class="link" href="GtkViewport.html" title="GtkViewport"><span class="type">GtkViewport</span></a>.</p>
|
454
454
|
<div class="refsect3">
|
@@ -468,7 +468,7 @@ gtk_viewport_get_view_window (<em class="parameter"><code><a class="link" href="
|
|
468
468
|
</div>
|
469
469
|
<div class="refsect3">
|
470
470
|
<a name="gtk-viewport-get-view-window.returns"></a><h4>Returns</h4>
|
471
|
-
<p>a <
|
471
|
+
<p>a <span class="type">GdkWindow</span>. </p>
|
472
472
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
473
473
|
</div>
|
474
474
|
<p class="since">Since: 2.22</p>
|
@@ -199,7 +199,7 @@
|
|
199
199
|
</tr>
|
200
200
|
<tr>
|
201
201
|
<td class="function_type">
|
202
|
-
<
|
202
|
+
<span class="returnvalue">GdkFrameClock</span> *
|
203
203
|
</td>
|
204
204
|
<td class="function_name">
|
205
205
|
<a class="link" href="GtkWidget.html#gtk-widget-get-frame-clock" title="gtk_widget_get_frame_clock ()">gtk_widget_get_frame_clock</a> <span class="c_punctuation">()</span>
|
@@ -414,7 +414,7 @@
|
|
414
414
|
</tr>
|
415
415
|
<tr>
|
416
416
|
<td class="function_type">
|
417
|
-
<
|
417
|
+
<span class="returnvalue">GdkWindow</span> *
|
418
418
|
</td>
|
419
419
|
<td class="function_name">
|
420
420
|
<a class="link" href="GtkWidget.html#gtk-widget-get-parent-window" title="gtk_widget_get_parent_window ()">gtk_widget_get_parent_window</a> <span class="c_punctuation">()</span>
|
@@ -454,7 +454,7 @@
|
|
454
454
|
</tr>
|
455
455
|
<tr>
|
456
456
|
<td class="function_type">
|
457
|
-
<
|
457
|
+
<span class="returnvalue">GdkEventMask</span>
|
458
458
|
</td>
|
459
459
|
<td class="function_name">
|
460
460
|
<a class="link" href="GtkWidget.html#gtk-widget-get-device-events" title="gtk_widget_get_device_events ()">gtk_widget_get_device_events</a> <span class="c_punctuation">()</span>
|
@@ -502,7 +502,7 @@
|
|
502
502
|
</tr>
|
503
503
|
<tr>
|
504
504
|
<td class="function_type">
|
505
|
-
<
|
505
|
+
<span class="returnvalue">GdkVisual</span> *
|
506
506
|
</td>
|
507
507
|
<td class="function_name">
|
508
508
|
<a class="link" href="GtkWidget.html#gtk-widget-get-visual" title="gtk_widget_get_visual ()">gtk_widget_get_visual</a> <span class="c_punctuation">()</span>
|
@@ -1077,7 +1077,7 @@
|
|
1077
1077
|
</tr>
|
1078
1078
|
<tr>
|
1079
1079
|
<td class="function_type">
|
1080
|
-
<
|
1080
|
+
<span class="returnvalue">GdkDisplay</span> *
|
1081
1081
|
</td>
|
1082
1082
|
<td class="function_name">
|
1083
1083
|
<a class="link" href="GtkWidget.html#gtk-widget-get-display" title="gtk_widget_get_display ()">gtk_widget_get_display</a> <span class="c_punctuation">()</span>
|
@@ -1085,7 +1085,7 @@
|
|
1085
1085
|
</tr>
|
1086
1086
|
<tr>
|
1087
1087
|
<td class="function_type">
|
1088
|
-
<
|
1088
|
+
<span class="returnvalue">GdkWindow</span> *
|
1089
1089
|
</td>
|
1090
1090
|
<td class="function_name">
|
1091
1091
|
<a class="link" href="GtkWidget.html#gtk-widget-get-root-window" title="gtk_widget_get_root_window ()">gtk_widget_get_root_window</a> <span class="c_punctuation">()</span>
|
@@ -1093,7 +1093,7 @@
|
|
1093
1093
|
</tr>
|
1094
1094
|
<tr>
|
1095
1095
|
<td class="function_type">
|
1096
|
-
<
|
1096
|
+
<span class="returnvalue">GdkScreen</span> *
|
1097
1097
|
</td>
|
1098
1098
|
<td class="function_name">
|
1099
1099
|
<a class="link" href="GtkWidget.html#gtk-widget-get-screen" title="gtk_widget_get_screen ()">gtk_widget_get_screen</a> <span class="c_punctuation">()</span>
|
@@ -1277,7 +1277,7 @@
|
|
1277
1277
|
</tr>
|
1278
1278
|
<tr>
|
1279
1279
|
<td class="function_type">
|
1280
|
-
<
|
1280
|
+
<span class="returnvalue">GdkWindow</span> *
|
1281
1281
|
</td>
|
1282
1282
|
<td class="function_name">
|
1283
1283
|
<a class="link" href="GtkWidget.html#gtk-widget-get-window" title="gtk_widget_get_window ()">gtk_widget_get_window</a> <span class="c_punctuation">()</span>
|
@@ -1677,7 +1677,7 @@
|
|
1677
1677
|
</tr>
|
1678
1678
|
<tr>
|
1679
1679
|
<td class="function_type">
|
1680
|
-
<
|
1680
|
+
<span class="returnvalue">GdkModifierType</span>
|
1681
1681
|
</td>
|
1682
1682
|
<td class="function_name">
|
1683
1683
|
<a class="link" href="GtkWidget.html#gtk-widget-get-modifier-mask" title="gtk_widget_get_modifier_mask ()">gtk_widget_get_modifier_mask</a> <span class="c_punctuation">()</span>
|
@@ -2189,7 +2189,7 @@
|
|
2189
2189
|
<td class="property_flags">Read / Write</td>
|
2190
2190
|
</tr>
|
2191
2191
|
<tr>
|
2192
|
-
<td class="property_type"><
|
2192
|
+
<td class="property_type"><span class="type">GdkEventMask</span></td>
|
2193
2193
|
<td class="property_name"><a class="link" href="GtkWidget.html#GtkWidget--events" title="The “events” property">events</a></td>
|
2194
2194
|
<td class="property_flags">Read / Write</td>
|
2195
2195
|
</tr>
|
@@ -2360,7 +2360,7 @@
|
|
2360
2360
|
</tr>
|
2361
2361
|
<tr>
|
2362
2362
|
<td class="property_type">
|
2363
|
-
<
|
2363
|
+
<span class="type">GdkWindow</span> *</td>
|
2364
2364
|
<td class="property_name"><a class="link" href="GtkWidget.html#GtkWidget--window" title="The “window” property">window</a></td>
|
2365
2365
|
<td class="property_flags">Read</td>
|
2366
2366
|
</tr>
|
@@ -2383,7 +2383,7 @@
|
|
2383
2383
|
</tr>
|
2384
2384
|
<tr>
|
2385
2385
|
<td class="property_type">
|
2386
|
-
<
|
2386
|
+
<span class="type">GdkColor</span> *</td>
|
2387
2387
|
<td class="property_name"><a class="link" href="GtkWidget.html#GtkWidget--s-cursor-color" title="The “cursor-color” style property">cursor-color</a></td>
|
2388
2388
|
<td class="property_flags">Read</td>
|
2389
2389
|
</tr>
|
@@ -2410,7 +2410,7 @@
|
|
2410
2410
|
</tr>
|
2411
2411
|
<tr>
|
2412
2412
|
<td class="property_type">
|
2413
|
-
<
|
2413
|
+
<span class="type">GdkColor</span> *</td>
|
2414
2414
|
<td class="property_name"><a class="link" href="GtkWidget.html#GtkWidget--s-link-color" title="The “link-color” style property">link-color</a></td>
|
2415
2415
|
<td class="property_flags">Read</td>
|
2416
2416
|
</tr>
|
@@ -2426,7 +2426,7 @@
|
|
2426
2426
|
</tr>
|
2427
2427
|
<tr>
|
2428
2428
|
<td class="property_type">
|
2429
|
-
<
|
2429
|
+
<span class="type">GdkColor</span> *</td>
|
2430
2430
|
<td class="property_name"><a class="link" href="GtkWidget.html#GtkWidget--s-secondary-cursor-color" title="The “secondary-cursor-color” style property">secondary-cursor-color</a></td>
|
2431
2431
|
<td class="property_flags">Read</td>
|
2432
2432
|
</tr>
|
@@ -2452,7 +2452,7 @@
|
|
2452
2452
|
</tr>
|
2453
2453
|
<tr>
|
2454
2454
|
<td class="property_type">
|
2455
|
-
<
|
2455
|
+
<span class="type">GdkColor</span> *</td>
|
2456
2456
|
<td class="property_name"><a class="link" href="GtkWidget.html#GtkWidget--s-visited-link-color" title="The “visited-link-color” style property">visited-link-color</a></td>
|
2457
2457
|
<td class="property_flags">Read</td>
|
2458
2458
|
</tr>
|
@@ -4094,16 +4094,16 @@ reposition its contents.</p>
|
|
4094
4094
|
<hr>
|
4095
4095
|
<div class="refsect2">
|
4096
4096
|
<a name="gtk-widget-get-frame-clock"></a><h3>gtk_widget_get_frame_clock ()</h3>
|
4097
|
-
<pre class="programlisting"><
|
4097
|
+
<pre class="programlisting"><span class="returnvalue">GdkFrameClock</span> *
|
4098
4098
|
gtk_widget_get_frame_clock (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
4099
4099
|
<p>Obtains the frame clock for a widget. The frame clock is a global
|
4100
4100
|
“ticker” that can be used to drive animations and repaints. The
|
4101
4101
|
most common reason to get the frame clock is to call
|
4102
|
-
<
|
4102
|
+
<code class="function">gdk_frame_clock_get_frame_time()</code>, in order to get a time to use for
|
4103
4103
|
animating. For example you might record the start of the animation
|
4104
|
-
with an initial value from <
|
4104
|
+
with an initial value from <code class="function">gdk_frame_clock_get_frame_time()</code>, and
|
4105
4105
|
then update the animation by calling
|
4106
|
-
<
|
4106
|
+
<code class="function">gdk_frame_clock_get_frame_time()</code> again during each repaint.</p>
|
4107
4107
|
<p>gdk_frame_clock_request_phase() will result in a new frame on the
|
4108
4108
|
clock, but won’t necessarily repaint any widgets. To repaint a
|
4109
4109
|
widget, you have to use <a class="link" href="GtkWidget.html#gtk-widget-queue-draw" title="gtk_widget_queue_draw ()"><code class="function">gtk_widget_queue_draw()</code></a> which invalidates
|
@@ -4131,7 +4131,7 @@ change the widget’s frame clock.</p>
|
|
4131
4131
|
</div>
|
4132
4132
|
<div class="refsect3">
|
4133
4133
|
<a name="gtk-widget-get-frame-clock.returns"></a><h4>Returns</h4>
|
4134
|
-
<p>a <
|
4134
|
+
<p>a <span class="type">GdkFrameClock</span>,
|
4135
4135
|
or <code class="literal">NULL</code> if widget is unrealized. </p>
|
4136
4136
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
4137
4137
|
</div>
|
@@ -4145,7 +4145,7 @@ gtk_widget_get_scale_factor (<em class="parameter"><code><a class="link" href="G
|
|
4145
4145
|
<p>Retrieves the internal scale factor that maps from window coordinates
|
4146
4146
|
to the actual device pixels. On traditional systems this is 1, on
|
4147
4147
|
high density outputs, it can be a higher value (typically 2).</p>
|
4148
|
-
<p>See <
|
4148
|
+
<p>See <code class="function">gdk_window_get_scale_factor()</code>.</p>
|
4149
4149
|
<div class="refsect3">
|
4150
4150
|
<a name="gtk-widget-get-scale-factor.parameters"></a><h4>Parameters</h4>
|
4151
4151
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -4173,7 +4173,7 @@ high density outputs, it can be a higher value (typically 2).</p>
|
|
4173
4173
|
<a name="GtkTickCallback"></a><h3>GtkTickCallback ()</h3>
|
4174
4174
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
4175
4175
|
<span class="c_punctuation">(</span>*GtkTickCallback<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
4176
|
-
<em class="parameter"><code><
|
4176
|
+
<em class="parameter"><code><span class="type">GdkFrameClock</span> *frame_clock</code></em>,
|
4177
4177
|
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
4178
4178
|
<p>Callback type for adding a function to update animations. See <a class="link" href="GtkWidget.html#gtk-widget-add-tick-callback" title="gtk_widget_add_tick_callback ()"><code class="function">gtk_widget_add_tick_callback()</code></a>.</p>
|
4179
4179
|
<div class="refsect3">
|
@@ -4231,11 +4231,11 @@ then you will have to call <a class="link" href="GtkWidget.html#gtk-widget-queue
|
|
4231
4231
|
<a class="link" href="GtkWidget.html#gtk-widget-queue-draw-area" title="gtk_widget_queue_draw_area ()"><code class="function">gtk_widget_queue_draw_area()</code></a> yourself.</p>
|
4232
4232
|
<p>gdk_frame_clock_get_frame_time() should generally be used for timing
|
4233
4233
|
continuous animations and
|
4234
|
-
<
|
4234
|
+
<code class="function">gdk_frame_timings_get_predicted_presentation_time()</code> if you are
|
4235
4235
|
trying to display isolated frames at particular times.</p>
|
4236
4236
|
<p>This is a more convenient alternative to connecting directly to the
|
4237
|
-
<
|
4238
|
-
have to worry about when a <
|
4237
|
+
<span class="type">“update”</span> signal of <span class="type">GdkFrameClock</span>, since you don't
|
4238
|
+
have to worry about when a <span class="type">GdkFrameClock</span> is assigned to a widget.</p>
|
4239
4239
|
<div class="refsect3">
|
4240
4240
|
<a name="gtk-widget-add-tick-callback.parameters"></a><h4>Parameters</h4>
|
4241
4241
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -4503,7 +4503,7 @@ gtk_widget_add_accelerator (<em class="parameter"><code><a class="link" href="Gt
|
|
4503
4503
|
<em class="parameter"><code>const <span class="type">gchar</span> *accel_signal</code></em>,
|
4504
4504
|
<em class="parameter"><code><a class="link" href="gtk3-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>,
|
4505
4505
|
<em class="parameter"><code><span class="type">guint</span> accel_key</code></em>,
|
4506
|
-
<em class="parameter"><code><
|
4506
|
+
<em class="parameter"><code><span class="type">GdkModifierType</span> accel_mods</code></em>,
|
4507
4507
|
<em class="parameter"><code><a class="link" href="gtk3-Keyboard-Accelerators.html#GtkAccelFlags" title="enum GtkAccelFlags"><span class="type">GtkAccelFlags</span></a> accel_flags</code></em>);</pre>
|
4508
4508
|
<p>Installs an accelerator for this <em class="parameter"><code>widget</code></em>
|
4509
4509
|
in <em class="parameter"><code>accel_group</code></em>
|
@@ -4567,7 +4567,7 @@ user, use <a class="link" href="gtk3-Accelerator-Maps.html#gtk-accel-map-add-ent
|
|
4567
4567
|
gtk_widget_remove_accelerator (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
4568
4568
|
<em class="parameter"><code><a class="link" href="gtk3-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>,
|
4569
4569
|
<em class="parameter"><code><span class="type">guint</span> accel_key</code></em>,
|
4570
|
-
<em class="parameter"><code><
|
4570
|
+
<em class="parameter"><code><span class="type">GdkModifierType</span> accel_mods</code></em>);</pre>
|
4571
4571
|
<p>Removes an accelerator from <em class="parameter"><code>widget</code></em>
|
4572
4572
|
, previously installed with
|
4573
4573
|
<a class="link" href="GtkWidget.html#gtk-widget-add-accelerator" title="gtk_widget_add_accelerator ()"><code class="function">gtk_widget_add_accelerator()</code></a>.</p>
|
@@ -4751,14 +4751,14 @@ its ancestors mapped.</p>
|
|
4751
4751
|
<a name="gtk-widget-event"></a><h3>gtk_widget_event ()</h3>
|
4752
4752
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
4753
4753
|
gtk_widget_event (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
4754
|
-
<em class="parameter"><code><
|
4754
|
+
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
4755
4755
|
<p>Rarely-used function. This function is used to emit
|
4756
4756
|
the event signals on a widget (those signals should never
|
4757
4757
|
be emitted without using this function to do so).
|
4758
4758
|
If you want to synthesize an event though, don’t use this function;
|
4759
4759
|
instead, use <a class="link" href="gtk3-General.html#gtk-main-do-event" title="gtk_main_do_event ()"><code class="function">gtk_main_do_event()</code></a> so the event will behave as if
|
4760
4760
|
it were in the event queue. Don’t synthesize expose events; instead,
|
4761
|
-
use <
|
4761
|
+
use <code class="function">gdk_window_invalidate_rect()</code> to invalidate a region of the
|
4762
4762
|
window.</p>
|
4763
4763
|
<div class="refsect3">
|
4764
4764
|
<a name="gtk-widget-event.parameters"></a><h4>Parameters</h4>
|
@@ -4776,7 +4776,7 @@ window.</p>
|
|
4776
4776
|
</tr>
|
4777
4777
|
<tr>
|
4778
4778
|
<td class="parameter_name"><p>event</p></td>
|
4779
|
-
<td class="parameter_description"><p>a <
|
4779
|
+
<td class="parameter_description"><p>a <span class="type">GdkEvent</span></p></td>
|
4780
4780
|
<td class="parameter_annotations"> </td>
|
4781
4781
|
</tr>
|
4782
4782
|
</tbody>
|
@@ -4858,8 +4858,8 @@ count issues to avoid destroying the widget.</p>
|
|
4858
4858
|
<a name="gtk-widget-intersect"></a><h3>gtk_widget_intersect ()</h3>
|
4859
4859
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
4860
4860
|
gtk_widget_intersect (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
4861
|
-
<em class="parameter"><code>const <
|
4862
|
-
<em class="parameter"><code><
|
4861
|
+
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *area</code></em>,
|
4862
|
+
<em class="parameter"><code><span class="type">GdkRectangle</span> *intersection</code></em>);</pre>
|
4863
4863
|
<p>Computes the intersection of a <em class="parameter"><code>widget</code></em>
|
4864
4864
|
’s area and <em class="parameter"><code>area</code></em>
|
4865
4865
|
, storing
|
@@ -5171,7 +5171,7 @@ to reflect its new location. The opposite function is
|
|
5171
5171
|
<a name="gtk-widget-set-parent-window"></a><h3>gtk_widget_set_parent_window ()</h3>
|
5172
5172
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5173
5173
|
gtk_widget_set_parent_window (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
5174
|
-
<em class="parameter"><code><
|
5174
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *parent_window</code></em>);</pre>
|
5175
5175
|
<p>Sets a non default parent window for <em class="parameter"><code>widget</code></em>
|
5176
5176
|
.</p>
|
5177
5177
|
<p>For <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> classes, setting a <em class="parameter"><code>parent_window</code></em>
|
@@ -5206,7 +5206,7 @@ window is realized.</p>
|
|
5206
5206
|
<hr>
|
5207
5207
|
<div class="refsect2">
|
5208
5208
|
<a name="gtk-widget-get-parent-window"></a><h3>gtk_widget_get_parent_window ()</h3>
|
5209
|
-
<pre class="programlisting"><
|
5209
|
+
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
5210
5210
|
gtk_widget_get_parent_window (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
5211
5211
|
<p>Gets <em class="parameter"><code>widget</code></em>
|
5212
5212
|
’s parent window, or <code class="literal">NULL</code> if it does not have one.</p>
|
@@ -5239,7 +5239,7 @@ if it does not have a parent window. </p>
|
|
5239
5239
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5240
5240
|
gtk_widget_set_events (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
5241
5241
|
<em class="parameter"><code><span class="type">gint</span> events</code></em>);</pre>
|
5242
|
-
<p>Sets the event mask (see <
|
5242
|
+
<p>Sets the event mask (see <span class="type">GdkEventMask</span>) for a widget. The event
|
5243
5243
|
mask determines which events a widget will receive. Keep in mind
|
5244
5244
|
that different widgets have different default event masks, and by
|
5245
5245
|
changing the event mask you may disrupt a widget’s functionality,
|
@@ -5278,7 +5278,7 @@ box.</p>
|
|
5278
5278
|
<a name="gtk-widget-get-events"></a><h3>gtk_widget_get_events ()</h3>
|
5279
5279
|
<pre class="programlisting"><span class="returnvalue">gint</span>
|
5280
5280
|
gtk_widget_get_events (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
5281
|
-
<p>Returns the event mask (see <
|
5281
|
+
<p>Returns the event mask (see <span class="type">GdkEventMask</span>) for the widget. These are the
|
5282
5282
|
events that the widget will receive.</p>
|
5283
5283
|
<p>Note: Internally, the widget event mask will be the logical OR of the event
|
5284
5284
|
mask set through <a class="link" href="GtkWidget.html#gtk-widget-set-events" title="gtk_widget_set_events ()"><code class="function">gtk_widget_set_events()</code></a> or <a class="link" href="GtkWidget.html#gtk-widget-add-events" title="gtk_widget_add_events ()"><code class="function">gtk_widget_add_events()</code></a>, and the
|
@@ -5332,7 +5332,7 @@ gtk_widget_add_events (<em class="parameter"><code><a class="link" href="GtkWidg
|
|
5332
5332
|
</tr>
|
5333
5333
|
<tr>
|
5334
5334
|
<td class="parameter_name"><p>events</p></td>
|
5335
|
-
<td class="parameter_description"><p>an event mask, see <
|
5335
|
+
<td class="parameter_description"><p>an event mask, see <span class="type">GdkEventMask</span></p></td>
|
5336
5336
|
<td class="parameter_annotations"> </td>
|
5337
5337
|
</tr>
|
5338
5338
|
</tbody>
|
@@ -5344,9 +5344,9 @@ gtk_widget_add_events (<em class="parameter"><code><a class="link" href="GtkWidg
|
|
5344
5344
|
<a name="gtk-widget-set-device-events"></a><h3>gtk_widget_set_device_events ()</h3>
|
5345
5345
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5346
5346
|
gtk_widget_set_device_events (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
5347
|
-
<em class="parameter"><code><
|
5348
|
-
<em class="parameter"><code><
|
5349
|
-
<p>Sets the device event mask (see <
|
5347
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>,
|
5348
|
+
<em class="parameter"><code><span class="type">GdkEventMask</span> events</code></em>);</pre>
|
5349
|
+
<p>Sets the device event mask (see <span class="type">GdkEventMask</span>) for a widget. The event
|
5350
5350
|
mask determines which events a widget will receive from <em class="parameter"><code>device</code></em>
|
5351
5351
|
. Keep
|
5352
5352
|
in mind that different widgets have different default event masks, and by
|
@@ -5374,7 +5374,7 @@ and receive events on the event box.</p>
|
|
5374
5374
|
</tr>
|
5375
5375
|
<tr>
|
5376
5376
|
<td class="parameter_name"><p>device</p></td>
|
5377
|
-
<td class="parameter_description"><p>a <
|
5377
|
+
<td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
|
5378
5378
|
<td class="parameter_annotations"> </td>
|
5379
5379
|
</tr>
|
5380
5380
|
<tr>
|
@@ -5390,9 +5390,9 @@ and receive events on the event box.</p>
|
|
5390
5390
|
<hr>
|
5391
5391
|
<div class="refsect2">
|
5392
5392
|
<a name="gtk-widget-get-device-events"></a><h3>gtk_widget_get_device_events ()</h3>
|
5393
|
-
<pre class="programlisting"><
|
5393
|
+
<pre class="programlisting"><span class="returnvalue">GdkEventMask</span>
|
5394
5394
|
gtk_widget_get_device_events (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
5395
|
-
<em class="parameter"><code><
|
5395
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>);</pre>
|
5396
5396
|
<p>Returns the events mask for the widget corresponding to an specific device. These
|
5397
5397
|
are the events that the widget will receive when <em class="parameter"><code>device</code></em>
|
5398
5398
|
operates on it.</p>
|
@@ -5412,7 +5412,7 @@ are the events that the widget will receive when <em class="parameter"><code>dev
|
|
5412
5412
|
</tr>
|
5413
5413
|
<tr>
|
5414
5414
|
<td class="parameter_name"><p>device</p></td>
|
5415
|
-
<td class="parameter_description"><p>a <
|
5415
|
+
<td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
|
5416
5416
|
<td class="parameter_annotations"> </td>
|
5417
5417
|
</tr>
|
5418
5418
|
</tbody>
|
@@ -5430,8 +5430,8 @@ are the events that the widget will receive when <em class="parameter"><code>dev
|
|
5430
5430
|
<a name="gtk-widget-add-device-events"></a><h3>gtk_widget_add_device_events ()</h3>
|
5431
5431
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5432
5432
|
gtk_widget_add_device_events (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
5433
|
-
<em class="parameter"><code><
|
5434
|
-
<em class="parameter"><code><
|
5433
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>,
|
5434
|
+
<em class="parameter"><code><span class="type">GdkEventMask</span> events</code></em>);</pre>
|
5435
5435
|
<p>Adds the device events in the bitfield <em class="parameter"><code>events</code></em>
|
5436
5436
|
to the event mask for
|
5437
5437
|
<em class="parameter"><code>widget</code></em>
|
@@ -5452,12 +5452,12 @@ gtk_widget_add_device_events (<em class="parameter"><code><a class="link" href="
|
|
5452
5452
|
</tr>
|
5453
5453
|
<tr>
|
5454
5454
|
<td class="parameter_name"><p>device</p></td>
|
5455
|
-
<td class="parameter_description"><p>a <
|
5455
|
+
<td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
|
5456
5456
|
<td class="parameter_annotations"> </td>
|
5457
5457
|
</tr>
|
5458
5458
|
<tr>
|
5459
5459
|
<td class="parameter_name"><p>events</p></td>
|
5460
|
-
<td class="parameter_description"><p>an event mask, see <
|
5460
|
+
<td class="parameter_description"><p>an event mask, see <span class="type">GdkEventMask</span></p></td>
|
5461
5461
|
<td class="parameter_annotations"> </td>
|
5462
5462
|
</tr>
|
5463
5463
|
</tbody>
|
@@ -5470,14 +5470,14 @@ gtk_widget_add_device_events (<em class="parameter"><code><a class="link" href="
|
|
5470
5470
|
<a name="gtk-widget-set-device-enabled"></a><h3>gtk_widget_set_device_enabled ()</h3>
|
5471
5471
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5472
5472
|
gtk_widget_set_device_enabled (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
5473
|
-
<em class="parameter"><code><
|
5473
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>,
|
5474
5474
|
<em class="parameter"><code><span class="type">gboolean</span> enabled</code></em>);</pre>
|
5475
|
-
<p>Enables or disables a <
|
5475
|
+
<p>Enables or disables a <span class="type">GdkDevice</span> to interact with <em class="parameter"><code>widget</code></em>
|
5476
5476
|
|
5477
5477
|
and all its children.</p>
|
5478
|
-
<p>It does so by descending through the <
|
5478
|
+
<p>It does so by descending through the <span class="type">GdkWindow</span> hierarchy
|
5479
5479
|
and enabling the same mask that is has for core events
|
5480
|
-
(i.e. the one that <
|
5480
|
+
(i.e. the one that <code class="function">gdk_window_get_events()</code> returns).</p>
|
5481
5481
|
<div class="refsect3">
|
5482
5482
|
<a name="gtk-widget-set-device-enabled.parameters"></a><h4>Parameters</h4>
|
5483
5483
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -5494,7 +5494,7 @@ and enabling the same mask that is has for core events
|
|
5494
5494
|
</tr>
|
5495
5495
|
<tr>
|
5496
5496
|
<td class="parameter_name"><p>device</p></td>
|
5497
|
-
<td class="parameter_description"><p>a <
|
5497
|
+
<td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
|
5498
5498
|
<td class="parameter_annotations"> </td>
|
5499
5499
|
</tr>
|
5500
5500
|
<tr>
|
@@ -5512,7 +5512,7 @@ and enabling the same mask that is has for core events
|
|
5512
5512
|
<a name="gtk-widget-get-device-enabled"></a><h3>gtk_widget_get_device_enabled ()</h3>
|
5513
5513
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
5514
5514
|
gtk_widget_get_device_enabled (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
5515
|
-
<em class="parameter"><code><
|
5515
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>);</pre>
|
5516
5516
|
<p>Returns whether <em class="parameter"><code>device</code></em>
|
5517
5517
|
can interact with <em class="parameter"><code>widget</code></em>
|
5518
5518
|
and its
|
@@ -5533,7 +5533,7 @@ children. See <a class="link" href="GtkWidget.html#gtk-widget-set-device-enabled
|
|
5533
5533
|
</tr>
|
5534
5534
|
<tr>
|
5535
5535
|
<td class="parameter_name"><p>device</p></td>
|
5536
|
-
<td class="parameter_description"><p>a <
|
5536
|
+
<td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
|
5537
5537
|
<td class="parameter_annotations"> </td>
|
5538
5538
|
</tr>
|
5539
5539
|
</tbody>
|
@@ -5676,7 +5676,7 @@ considers <em class="parameter"><code>widget</code></em>
|
|
5676
5676
|
<hr>
|
5677
5677
|
<div class="refsect2">
|
5678
5678
|
<a name="gtk-widget-get-visual"></a><h3>gtk_widget_get_visual ()</h3>
|
5679
|
-
<pre class="programlisting"><
|
5679
|
+
<pre class="programlisting"><span class="returnvalue">GdkVisual</span> *
|
5680
5680
|
gtk_widget_get_visual (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
5681
5681
|
<p>Gets the visual that will be used to render <em class="parameter"><code>widget</code></em>
|
5682
5682
|
.</p>
|
@@ -5707,9 +5707,9 @@ gtk_widget_get_visual (<em class="parameter"><code><a class="link" href="GtkWidg
|
|
5707
5707
|
<a name="gtk-widget-set-visual"></a><h3>gtk_widget_set_visual ()</h3>
|
5708
5708
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
5709
5709
|
gtk_widget_set_visual (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
5710
|
-
<em class="parameter"><code><
|
5710
|
+
<em class="parameter"><code><span class="type">GdkVisual</span> *visual</code></em>);</pre>
|
5711
5711
|
<p>Sets the visual that should be used for by widget and its children for
|
5712
|
-
creating <
|
5712
|
+
creating <span class="type">GdkWindows</span>. The visual must be on the same <span class="type">GdkScreen</span> as
|
5713
5713
|
returned by <a class="link" href="GtkWidget.html#gtk-widget-get-screen" title="gtk_widget_get_screen ()"><code class="function">gtk_widget_get_screen()</code></a>, so handling the
|
5714
5714
|
<a class="link" href="GtkWidget.html#GtkWidget-screen-changed" title="The “screen-changed” signal"><span class="type">“screen-changed”</span></a> signal is necessary.</p>
|
5715
5715
|
<p>Setting a new <em class="parameter"><code>visual</code></em>
|
@@ -5749,7 +5749,7 @@ gtk_widget_get_pointer (<em class="parameter"><code><a class="link" href="GtkWid
|
|
5749
5749
|
<em class="parameter"><code><span class="type">gint</span> *y</code></em>);</pre>
|
5750
5750
|
<div class="warning">
|
5751
5751
|
<p><code class="literal">gtk_widget_get_pointer</code> has been deprecated since version 3.4 and should not be used in newly-written code.</p>
|
5752
|
-
<p>Use <
|
5752
|
+
<p>Use <code class="function">gdk_window_get_device_position()</code> instead.</p>
|
5753
5753
|
</div>
|
5754
5754
|
<p>Obtains the location of the mouse pointer in widget coordinates.
|
5755
5755
|
Widget coordinates are a bit odd; for historical reasons, they are
|
@@ -6190,7 +6190,7 @@ gtk_widget_get_default_direction (<em class="parameter"><code><span class="type"
|
|
6190
6190
|
gtk_widget_shape_combine_region (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
6191
6191
|
<em class="parameter"><code><span class="type">cairo_region_t</span> *region</code></em>);</pre>
|
6192
6192
|
<p>Sets a shape for this widget’s GDK window. This allows for
|
6193
|
-
transparent windows etc., see <
|
6193
|
+
transparent windows etc., see <code class="function">gdk_window_shape_combine_region()</code>
|
6194
6194
|
for more information.</p>
|
6195
6195
|
<div class="refsect3">
|
6196
6196
|
<a name="gtk-widget-shape-combine-region.parameters"></a><h4>Parameters</h4>
|
@@ -6224,7 +6224,7 @@ gtk_widget_input_shape_combine_region (<em class="parameter"><code><a class="lin
|
|
6224
6224
|
<em class="parameter"><code><span class="type">cairo_region_t</span> *region</code></em>);</pre>
|
6225
6225
|
<p>Sets an input shape for this widget’s GDK window. This allows for
|
6226
6226
|
windows which react to mouse click in a nonrectangular region, see
|
6227
|
-
<
|
6227
|
+
<code class="function">gdk_window_input_shape_combine_region()</code> for more information.</p>
|
6228
6228
|
<div class="refsect3">
|
6229
6229
|
<a name="gtk-widget-input-shape-combine-region.parameters"></a><h4>Parameters</h4>
|
6230
6230
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -6403,7 +6403,7 @@ longer needed.</p>
|
|
6403
6403
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6404
6404
|
gtk_widget_override_background_color (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
6405
6405
|
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
6406
|
-
<em class="parameter"><code>const <
|
6406
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
6407
6407
|
<div class="warning">
|
6408
6408
|
<p><code class="literal">gtk_widget_override_background_color</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
|
6409
6409
|
<p>This function is not useful in the context of CSS-based
|
@@ -6452,7 +6452,7 @@ of previous calls to <a class="link" href="GtkWidget.html#gtk-widget-override-ba
|
|
6452
6452
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6453
6453
|
gtk_widget_override_color (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
6454
6454
|
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkStateFlags" title="enum GtkStateFlags"><span class="type">GtkStateFlags</span></a> state</code></em>,
|
6455
|
-
<em class="parameter"><code>const <
|
6455
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
6456
6456
|
<div class="warning">
|
6457
6457
|
<p><code class="literal">gtk_widget_override_color</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
|
6458
6458
|
<p>Use a custom style provider and style classes instead</p>
|
@@ -6553,7 +6553,7 @@ the effect of previous calls to <a class="link" href="GtkWidget.html#gtk-widget-
|
|
6553
6553
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6554
6554
|
gtk_widget_override_symbolic_color (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
6555
6555
|
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
6556
|
-
<em class="parameter"><code>const <
|
6556
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *color</code></em>);</pre>
|
6557
6557
|
<div class="warning">
|
6558
6558
|
<p><code class="literal">gtk_widget_override_symbolic_color</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
|
6559
6559
|
<p>This function is not useful in the context of CSS-based
|
@@ -6601,8 +6601,8 @@ calls to <a class="link" href="GtkWidget.html#gtk-widget-override-symbolic-color
|
|
6601
6601
|
<a name="gtk-widget-override-cursor"></a><h3>gtk_widget_override_cursor ()</h3>
|
6602
6602
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6603
6603
|
gtk_widget_override_cursor (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
6604
|
-
<em class="parameter"><code>const <
|
6605
|
-
<em class="parameter"><code>const <
|
6604
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *cursor</code></em>,
|
6605
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *secondary_cursor</code></em>);</pre>
|
6606
6606
|
<div class="warning">
|
6607
6607
|
<p><code class="literal">gtk_widget_override_cursor</code> has been deprecated since version 3.16 and should not be used in newly-written code.</p>
|
6608
6608
|
<p>This function is not useful in the context of CSS-based
|
@@ -6614,7 +6614,7 @@ gtk_widget_override_cursor (<em class="parameter"><code><a class="link" href="Gt
|
|
6614
6614
|
cursor-color and secondary-cursor-color
|
6615
6615
|
style properties. All other style values are left untouched.
|
6616
6616
|
See also <a class="link" href="GtkWidget.html#gtk-widget-modify-style" title="gtk_widget_modify_style ()"><code class="function">gtk_widget_modify_style()</code></a>.</p>
|
6617
|
-
<p>Note that the underlying properties have the <
|
6617
|
+
<p>Note that the underlying properties have the <span class="type">GdkColor</span> type,
|
6618
6618
|
so the alpha value in <em class="parameter"><code>primary</code></em>
|
6619
6619
|
and <em class="parameter"><code>secondary</code></em>
|
6620
6620
|
will be ignored.</p>
|
@@ -6750,7 +6750,7 @@ pointer to value this around, you must add a refcount using
|
|
6750
6750
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6751
6751
|
gtk_widget_modify_fg (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
6752
6752
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
|
6753
|
-
<em class="parameter"><code>const <
|
6753
|
+
<em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);</pre>
|
6754
6754
|
<div class="warning">
|
6755
6755
|
<p><code class="literal">gtk_widget_modify_fg</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
6756
6756
|
<p>Use <a class="link" href="GtkWidget.html#gtk-widget-override-color" title="gtk_widget_override_color ()"><code class="function">gtk_widget_override_color()</code></a> instead</p>
|
@@ -6794,7 +6794,7 @@ of <a class="link" href="GtkWidget.html#gtk-widget-modify-fg" title="gtk_widget_
|
|
6794
6794
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6795
6795
|
gtk_widget_modify_bg (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
6796
6796
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
|
6797
|
-
<em class="parameter"><code>const <
|
6797
|
+
<em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);</pre>
|
6798
6798
|
<div class="warning">
|
6799
6799
|
<p><code class="literal">gtk_widget_modify_bg</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
6800
6800
|
<p>Use <a class="link" href="GtkWidget.html#gtk-widget-override-background-color" title="gtk_widget_override_background_color ()"><code class="function">gtk_widget_override_background_color()</code></a> instead</p>
|
@@ -6848,7 +6848,7 @@ calls to of <a class="link" href="GtkWidget.html#gtk-widget-modify-bg" title="gt
|
|
6848
6848
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6849
6849
|
gtk_widget_modify_text (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
6850
6850
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
|
6851
|
-
<em class="parameter"><code>const <
|
6851
|
+
<em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);</pre>
|
6852
6852
|
<div class="warning">
|
6853
6853
|
<p><code class="literal">gtk_widget_modify_text</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
6854
6854
|
<p>Use <a class="link" href="GtkWidget.html#gtk-widget-override-color" title="gtk_widget_override_color ()"><code class="function">gtk_widget_override_color()</code></a> instead</p>
|
@@ -6895,7 +6895,7 @@ calls to of <a class="link" href="GtkWidget.html#gtk-widget-modify-text" title="
|
|
6895
6895
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6896
6896
|
gtk_widget_modify_base (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
6897
6897
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
|
6898
|
-
<em class="parameter"><code>const <
|
6898
|
+
<em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);</pre>
|
6899
6899
|
<div class="warning">
|
6900
6900
|
<p><code class="literal">gtk_widget_modify_base</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
6901
6901
|
<p>Use <a class="link" href="GtkWidget.html#gtk-widget-override-background-color" title="gtk_widget_override_background_color ()"><code class="function">gtk_widget_override_background_color()</code></a> instead</p>
|
@@ -6987,8 +6987,8 @@ to undo the effect of previous calls to <a class="link" href="GtkWidget.html#gtk
|
|
6987
6987
|
<a name="gtk-widget-modify-cursor"></a><h3>gtk_widget_modify_cursor ()</h3>
|
6988
6988
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
6989
6989
|
gtk_widget_modify_cursor (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
6990
|
-
<em class="parameter"><code>const <
|
6991
|
-
<em class="parameter"><code>const <
|
6990
|
+
<em class="parameter"><code>const <span class="type">GdkColor</span> *primary</code></em>,
|
6991
|
+
<em class="parameter"><code>const <span class="type">GdkColor</span> *secondary</code></em>);</pre>
|
6992
6992
|
<div class="warning">
|
6993
6993
|
<p><code class="literal">gtk_widget_modify_cursor</code> has been deprecated since version 3.0 and should not be used in newly-written code.</p>
|
6994
6994
|
<p>Use <a class="link" href="GtkWidget.html#gtk-widget-override-cursor" title="gtk_widget_override_cursor ()"><code class="function">gtk_widget_override_cursor()</code></a> instead.</p>
|
@@ -7100,7 +7100,7 @@ by using the <a class="link" href="GtkWidget.html#GtkWidget-screen-changed" titl
|
|
7100
7100
|
gtk_widget_set_font_options (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
7101
7101
|
<em class="parameter"><code>const <span class="type">cairo_font_options_t</span> *options</code></em>);</pre>
|
7102
7102
|
<p>Sets the <span class="type">cairo_font_options_t</span> used for Pango rendering in this widget.
|
7103
|
-
When not set, the default font options for the <
|
7103
|
+
When not set, the default font options for the <span class="type">GdkScreen</span> will be used.</p>
|
7104
7104
|
<div class="refsect3">
|
7105
7105
|
<a name="gtk-widget-set-font-options.parameters"></a><h4>Parameters</h4>
|
7106
7106
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -7132,7 +7132,7 @@ previously set default font options. </p></td>
|
|
7132
7132
|
<pre class="programlisting">const <span class="returnvalue">cairo_font_options_t</span> *
|
7133
7133
|
gtk_widget_get_font_options (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
7134
7134
|
<p>Returns the <span class="type">cairo_font_options_t</span> used for Pango rendering. When not set,
|
7135
|
-
the defaults font options for the <
|
7135
|
+
the defaults font options for the <span class="type">GdkScreen</span> will be used.</p>
|
7136
7136
|
<div class="refsect3">
|
7137
7137
|
<a name="gtk-widget-get-font-options.parameters"></a><h4>Parameters</h4>
|
7138
7138
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -7486,7 +7486,7 @@ gtk_widget_queue_draw_region (<em class="parameter"><code><a class="link" href="
|
|
7486
7486
|
<p>Invalidates the area of <em class="parameter"><code>widget</code></em>
|
7487
7487
|
defined by <em class="parameter"><code>region</code></em>
|
7488
7488
|
by calling
|
7489
|
-
<
|
7489
|
+
<code class="function">gdk_window_invalidate_region()</code> on the widget’s window and all its
|
7490
7490
|
child windows. Once the main loop becomes idle (after the current
|
7491
7491
|
batch of events has been processed, roughly), the window will
|
7492
7492
|
receive expose events for the union of all regions that have been
|
@@ -7570,10 +7570,10 @@ It should not be used in newly written code.</p>
|
|
7570
7570
|
</div>
|
7571
7571
|
<p>Widgets are double buffered by default; you can use this function
|
7572
7572
|
to turn off the buffering. “Double buffered” simply means that
|
7573
|
-
<
|
7573
|
+
<code class="function">gdk_window_begin_draw_frame()</code> and <code class="function">gdk_window_end_draw_frame()</code> are called
|
7574
7574
|
automatically around expose events sent to the
|
7575
|
-
widget. <
|
7576
|
-
window to an offscreen buffer, and <
|
7575
|
+
widget. <code class="function">gdk_window_begin_draw_frame()</code> diverts all drawing to a widget's
|
7576
|
+
window to an offscreen buffer, and <code class="function">gdk_window_end_draw_frame()</code> draws the
|
7577
7577
|
buffer to the screen. The result is that users see the window
|
7578
7578
|
update in one smooth step, and don’t see individual graphics
|
7579
7579
|
primitives being rendered.</p>
|
@@ -7583,7 +7583,7 @@ if you had special needs and really knew what you were doing.</p>
|
|
7583
7583
|
<p>Note: if you turn off double-buffering, you have to handle
|
7584
7584
|
expose events, since even the clearing to the background color or
|
7585
7585
|
pixmap will not happen automatically (as it is done in
|
7586
|
-
<
|
7586
|
+
<code class="function">gdk_window_begin_draw_frame()</code>).</p>
|
7587
7587
|
<p>In 3.10 GTK and GDK have been restructured for translucent drawing. Since
|
7588
7588
|
then expose events for double-buffered widgets are culled into a single
|
7589
7589
|
event to the toplevel GDK window. If you now unset double buffering, you
|
@@ -7931,7 +7931,7 @@ and <em class="parameter"><code>region</code></em>
|
|
7931
7931
|
<a name="gtk-widget-send-expose"></a><h3>gtk_widget_send_expose ()</h3>
|
7932
7932
|
<pre class="programlisting"><span class="returnvalue">gint</span>
|
7933
7933
|
gtk_widget_send_expose (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
7934
|
-
<em class="parameter"><code><
|
7934
|
+
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
7935
7935
|
<div class="warning">
|
7936
7936
|
<p><code class="literal">gtk_widget_send_expose</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
7937
7937
|
<p>Application and widget code should not handle
|
@@ -7945,9 +7945,9 @@ directly. The only time it is used is when propagating an expose
|
|
7945
7945
|
event to a windowless child widget (<a class="link" href="GtkWidget.html#gtk-widget-get-has-window" title="gtk_widget_get_has_window ()"><code class="function">gtk_widget_get_has_window()</code></a> is <code class="literal">FALSE</code>),
|
7946
7946
|
and that is normally done using <a class="link" href="GtkContainer.html#gtk-container-propagate-draw" title="gtk_container_propagate_draw ()"><code class="function">gtk_container_propagate_draw()</code></a>.</p>
|
7947
7947
|
<p>If you want to force an area of a window to be redrawn,
|
7948
|
-
use <
|
7948
|
+
use <code class="function">gdk_window_invalidate_rect()</code> or <code class="function">gdk_window_invalidate_region()</code>.
|
7949
7949
|
To cause the redraw to be done immediately, follow that call
|
7950
|
-
with a call to <
|
7950
|
+
with a call to <code class="function">gdk_window_process_updates()</code>.</p>
|
7951
7951
|
<div class="refsect3">
|
7952
7952
|
<a name="gtk-widget-send-expose.parameters"></a><h4>Parameters</h4>
|
7953
7953
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -7964,7 +7964,7 @@ with a call to <a href="../html/gdk3-Windows.html#gdk-window-process-updates"><c
|
|
7964
7964
|
</tr>
|
7965
7965
|
<tr>
|
7966
7966
|
<td class="parameter_name"><p>event</p></td>
|
7967
|
-
<td class="parameter_description"><p>a expose <
|
7967
|
+
<td class="parameter_description"><p>a expose <span class="type">GdkEvent</span></p></td>
|
7968
7968
|
<td class="parameter_annotations"> </td>
|
7969
7969
|
</tr>
|
7970
7970
|
</tbody>
|
@@ -7981,7 +7981,7 @@ the event was handled)</p>
|
|
7981
7981
|
<a name="gtk-widget-send-focus-change"></a><h3>gtk_widget_send_focus_change ()</h3>
|
7982
7982
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
7983
7983
|
gtk_widget_send_focus_change (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
7984
|
-
<em class="parameter"><code><
|
7984
|
+
<em class="parameter"><code><span class="type">GdkEvent</span> *event</code></em>);</pre>
|
7985
7985
|
<p>Sends the focus change <em class="parameter"><code>event</code></em>
|
7986
7986
|
to <em class="parameter"><code>widget</code></em>
|
7987
7987
|
</p>
|
@@ -8006,9 +8006,9 @@ window similar to the quick search in <a class="link" href="GtkTreeView.html" ti
|
|
8006
8006
|
9
|
8007
8007
|
10
|
8008
8008
|
11</pre></td>
|
8009
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GdkEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">fevent </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
8009
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GdkEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">fevent </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gdk_event_new</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GDK_FOCUS_CHANGE</span><span class="symbol">);</span>
|
8010
8010
|
|
8011
|
-
<span class="normal">fevent</span><span class="symbol">-></span><span class="normal">focus_change</span><span class="symbol">.</span><span class="normal">type </span><span class="symbol">=</span><span class="normal">
|
8011
|
+
<span class="normal">fevent</span><span class="symbol">-></span><span class="normal">focus_change</span><span class="symbol">.</span><span class="normal">type </span><span class="symbol">=</span><span class="normal"> GDK_FOCUS_CHANGE</span><span class="symbol">;</span>
|
8012
8012
|
<span class="normal">fevent</span><span class="symbol">-></span><span class="normal">focus_change</span><span class="symbol">.</span><span class="normal">in </span><span class="symbol">=</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
8013
8013
|
<span class="normal">fevent</span><span class="symbol">-></span><span class="normal">focus_change</span><span class="symbol">.</span><span class="normal">window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-get-window">_gtk_widget_get_window</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">);</span>
|
8014
8014
|
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fevent</span><span class="symbol">-></span><span class="normal">focus_change</span><span class="symbol">.</span><span class="normal">window </span><span class="symbol">!=</span><span class="normal"> NULL</span><span class="symbol">)</span>
|
@@ -8016,7 +8016,7 @@ window similar to the quick search in <a class="link" href="GtkTreeView.html" ti
|
|
8016
8016
|
|
8017
8017
|
<span class="function"><a href="GtkWidget.html#gtk-widget-send-focus-change">gtk_widget_send_focus_change</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> fevent</span><span class="symbol">);</span>
|
8018
8018
|
|
8019
|
-
<span class="function"
|
8019
|
+
<span class="function">gdk_event_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">);</span></pre></td>
|
8020
8020
|
</tr>
|
8021
8021
|
</tbody>
|
8022
8022
|
</table>
|
@@ -8039,7 +8039,7 @@ window similar to the quick search in <a class="link" href="GtkTreeView.html" ti
|
|
8039
8039
|
</tr>
|
8040
8040
|
<tr>
|
8041
8041
|
<td class="parameter_name"><p>event</p></td>
|
8042
|
-
<td class="parameter_description"><p>a <
|
8042
|
+
<td class="parameter_description"><p>a <span class="type">GdkEvent</span> of type GDK_FOCUS_CHANGE</p></td>
|
8043
8043
|
<td class="parameter_annotations"> </td>
|
8044
8044
|
</tr>
|
8045
8045
|
</tbody>
|
@@ -8179,7 +8179,7 @@ gtk_widget_style_attach (<em class="parameter"><code><a class="link" href="GtkWi
|
|
8179
8179
|
<p>This step is unnecessary with <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a>.</p>
|
8180
8180
|
</div>
|
8181
8181
|
<p>This function attaches the widget’s <a class="link" href="GtkStyle.html" title="GtkStyle"><span class="type">GtkStyle</span></a> to the widget's
|
8182
|
-
<
|
8182
|
+
<span class="type">GdkWindow</span>. It is a replacement for</p>
|
8183
8183
|
<div class="informalexample">
|
8184
8184
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
8185
8185
|
<tbody>
|
@@ -8518,7 +8518,7 @@ gtk_widget_get_settings (<em class="parameter"><code><a class="link" href="GtkWi
|
|
8518
8518
|
<p>Gets the settings object holding the settings used for this widget.</p>
|
8519
8519
|
<p>Note that this function can only be called when the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>
|
8520
8520
|
is attached to a toplevel, since the settings object is specific
|
8521
|
-
to a particular <
|
8521
|
+
to a particular <span class="type">GdkScreen</span>.</p>
|
8522
8522
|
<div class="refsect3">
|
8523
8523
|
<a name="gtk-widget-get-settings.parameters"></a><h4>Parameters</h4>
|
8524
8524
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -8545,11 +8545,11 @@ to a particular <a href="../html/GdkScreen.html#GdkScreen-struct"><span class="t
|
|
8545
8545
|
<a name="gtk-widget-get-clipboard"></a><h3>gtk_widget_get_clipboard ()</h3>
|
8546
8546
|
<pre class="programlisting"><a class="link" href="gtk3-Clipboards.html#GtkClipboard"><span class="returnvalue">GtkClipboard</span></a> *
|
8547
8547
|
gtk_widget_get_clipboard (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
8548
|
-
<em class="parameter"><code><
|
8548
|
+
<em class="parameter"><code><span class="type">GdkAtom</span> selection</code></em>);</pre>
|
8549
8549
|
<p>Returns the clipboard object for the given selection to
|
8550
8550
|
be used with <em class="parameter"><code>widget</code></em>
|
8551
8551
|
. <em class="parameter"><code>widget</code></em>
|
8552
|
-
must have a <
|
8552
|
+
must have a <span class="type">GdkDisplay</span>
|
8553
8553
|
associated with it, so must be attached to a toplevel
|
8554
8554
|
window.</p>
|
8555
8555
|
<div class="refsect3">
|
@@ -8568,10 +8568,10 @@ window.</p>
|
|
8568
8568
|
</tr>
|
8569
8569
|
<tr>
|
8570
8570
|
<td class="parameter_name"><p>selection</p></td>
|
8571
|
-
<td class="parameter_description"><p>a <
|
8572
|
-
to use. <
|
8571
|
+
<td class="parameter_description"><p>a <span class="type">GdkAtom</span> which identifies the clipboard
|
8572
|
+
to use. <code class="literal">GDK_SELECTION_CLIPBOARD</code> gives the
|
8573
8573
|
default clipboard. Another common value
|
8574
|
-
is <
|
8574
|
+
is <code class="literal">GDK_SELECTION_PRIMARY</code>, which gives
|
8575
8575
|
the primary X selection.</p></td>
|
8576
8576
|
<td class="parameter_annotations"> </td>
|
8577
8577
|
</tr>
|
@@ -8591,9 +8591,9 @@ been created, it is persistent for all time. </p>
|
|
8591
8591
|
<hr>
|
8592
8592
|
<div class="refsect2">
|
8593
8593
|
<a name="gtk-widget-get-display"></a><h3>gtk_widget_get_display ()</h3>
|
8594
|
-
<pre class="programlisting"><
|
8594
|
+
<pre class="programlisting"><span class="returnvalue">GdkDisplay</span> *
|
8595
8595
|
gtk_widget_get_display (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
8596
|
-
<p>Get the <
|
8596
|
+
<p>Get the <span class="type">GdkDisplay</span> for the toplevel window associated with
|
8597
8597
|
this widget. This function can only be called after the widget
|
8598
8598
|
has been added to a widget hierarchy with a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> at the top.</p>
|
8599
8599
|
<p>In general, you should only create display specific
|
@@ -8616,7 +8616,7 @@ free those resources when the widget is unrealized.</p>
|
|
8616
8616
|
</div>
|
8617
8617
|
<div class="refsect3">
|
8618
8618
|
<a name="gtk-widget-get-display.returns"></a><h4>Returns</h4>
|
8619
|
-
<p>the <
|
8619
|
+
<p>the <span class="type">GdkDisplay</span> for the toplevel for this widget. </p>
|
8620
8620
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
8621
8621
|
</div>
|
8622
8622
|
<p class="since">Since: 2.2</p>
|
@@ -8624,17 +8624,17 @@ free those resources when the widget is unrealized.</p>
|
|
8624
8624
|
<hr>
|
8625
8625
|
<div class="refsect2">
|
8626
8626
|
<a name="gtk-widget-get-root-window"></a><h3>gtk_widget_get_root_window ()</h3>
|
8627
|
-
<pre class="programlisting"><
|
8627
|
+
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
8628
8628
|
gtk_widget_get_root_window (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
8629
8629
|
<div class="warning">
|
8630
8630
|
<p><code class="literal">gtk_widget_get_root_window</code> has been deprecated since version 3.12 and should not be used in newly-written code.</p>
|
8631
|
-
<p>Use <
|
8631
|
+
<p>Use <code class="function">gdk_screen_get_root_window()</code> instead</p>
|
8632
8632
|
</div>
|
8633
8633
|
<p>Get the root window where this widget is located. This function can
|
8634
8634
|
only be called after the widget has been added to a widget
|
8635
8635
|
hierarchy with <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> at the top.</p>
|
8636
8636
|
<p>The root window is useful for such purposes as creating a popup
|
8637
|
-
<
|
8637
|
+
<span class="type">GdkWindow</span> associated with the window. In general, you should only
|
8638
8638
|
create display specific resources when a widget has been realized,
|
8639
8639
|
and you should free those resources when the widget is unrealized.</p>
|
8640
8640
|
<div class="refsect3">
|
@@ -8654,7 +8654,7 @@ and you should free those resources when the widget is unrealized.</p>
|
|
8654
8654
|
</div>
|
8655
8655
|
<div class="refsect3">
|
8656
8656
|
<a name="gtk-widget-get-root-window.returns"></a><h4>Returns</h4>
|
8657
|
-
<p>the <
|
8657
|
+
<p>the <span class="type">GdkWindow</span> root window for the toplevel for this widget. </p>
|
8658
8658
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
8659
8659
|
</div>
|
8660
8660
|
<p class="since">Since: 2.2</p>
|
@@ -8662,9 +8662,9 @@ and you should free those resources when the widget is unrealized.</p>
|
|
8662
8662
|
<hr>
|
8663
8663
|
<div class="refsect2">
|
8664
8664
|
<a name="gtk-widget-get-screen"></a><h3>gtk_widget_get_screen ()</h3>
|
8665
|
-
<pre class="programlisting"><
|
8665
|
+
<pre class="programlisting"><span class="returnvalue">GdkScreen</span> *
|
8666
8666
|
gtk_widget_get_screen (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
8667
|
-
<p>Get the <
|
8667
|
+
<p>Get the <span class="type">GdkScreen</span> from the toplevel window associated with
|
8668
8668
|
this widget. This function can only be called after the widget
|
8669
8669
|
has been added to a widget hierarchy with a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>
|
8670
8670
|
at the top.</p>
|
@@ -8688,7 +8688,7 @@ free those resources when the widget is unrealized.</p>
|
|
8688
8688
|
</div>
|
8689
8689
|
<div class="refsect3">
|
8690
8690
|
<a name="gtk-widget-get-screen.returns"></a><h4>Returns</h4>
|
8691
|
-
<p>the <
|
8691
|
+
<p>the <span class="type">GdkScreen</span> for the toplevel for this widget. </p>
|
8692
8692
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
8693
8693
|
</div>
|
8694
8694
|
<p class="since">Since: 2.2</p>
|
@@ -8698,7 +8698,7 @@ free those resources when the widget is unrealized.</p>
|
|
8698
8698
|
<a name="gtk-widget-has-screen"></a><h3>gtk_widget_has_screen ()</h3>
|
8699
8699
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
8700
8700
|
gtk_widget_has_screen (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
8701
|
-
<p>Checks whether there is a <
|
8701
|
+
<p>Checks whether there is a <span class="type">GdkScreen</span> is associated with
|
8702
8702
|
this widget. All toplevel widgets have an associated
|
8703
8703
|
screen, and all widgets added into a hierarchy with a toplevel
|
8704
8704
|
window at the top.</p>
|
@@ -8719,7 +8719,7 @@ window at the top.</p>
|
|
8719
8719
|
</div>
|
8720
8720
|
<div class="refsect3">
|
8721
8721
|
<a name="gtk-widget-has-screen.returns"></a><h4>Returns</h4>
|
8722
|
-
<p> <code class="literal">TRUE</code> if there is a <
|
8722
|
+
<p> <code class="literal">TRUE</code> if there is a <span class="type">GdkScreen</span> associated
|
8723
8723
|
with the widget.</p>
|
8724
8724
|
</div>
|
8725
8725
|
<p class="since">Since: 2.2</p>
|
@@ -9084,7 +9084,7 @@ with <a class="link" href="GtkWidget.html#gtk-widget-add-mnemonic-label" title="
|
|
9084
9084
|
gtk_widget_is_composited (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
9085
9085
|
<div class="warning">
|
9086
9086
|
<p><code class="literal">gtk_widget_is_composited</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
9087
|
-
<p>Use <
|
9087
|
+
<p>Use <code class="function">gdk_screen_is_composited()</code> instead.</p>
|
9088
9088
|
</div>
|
9089
9089
|
<p>Whether <em class="parameter"><code>widget</code></em>
|
9090
9090
|
can rely on having its alpha channel
|
@@ -9093,7 +9093,7 @@ compositing manager is running for <em class="parameter"><code>widget</code></em
|
|
9093
9093
|
’s screen.</p>
|
9094
9094
|
<p>Please note that the semantics of this call will change
|
9095
9095
|
in the future if used on a widget that has a composited
|
9096
|
-
window in its hierarchy (as set by <
|
9096
|
+
window in its hierarchy (as set by <code class="function">gdk_window_set_composited()</code>).</p>
|
9097
9097
|
<div class="refsect3">
|
9098
9098
|
<a name="gtk-widget-is-composited.parameters"></a><h4>Parameters</h4>
|
9099
9099
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -9123,8 +9123,8 @@ channel being drawn correctly.</p>
|
|
9123
9123
|
gtk_widget_error_bell (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
9124
9124
|
<p>Notifies the user about an input-related error on this widget.
|
9125
9125
|
If the <a class="link" href="GtkSettings.html#GtkSettings--gtk-error-bell" title="The “gtk-error-bell” property"><span class="type">“gtk-error-bell”</span></a> setting is <code class="literal">TRUE</code>, it calls
|
9126
|
-
<
|
9127
|
-
<p>Note that the effect of <
|
9126
|
+
<code class="function">gdk_window_beep()</code>, otherwise it does nothing.</p>
|
9127
|
+
<p>Note that the effect of <code class="function">gdk_window_beep()</code> can be configured in many
|
9128
9128
|
ways, depending on the windowing backend and the desktop environment
|
9129
9129
|
or window manager that is used.</p>
|
9130
9130
|
<div class="refsect3">
|
@@ -9161,9 +9161,9 @@ focus to.</p>
|
|
9161
9161
|
<p>When <code class="literal">FALSE</code> is returned, the caller should continue with keyboard
|
9162
9162
|
navigation outside the widget, e.g. by calling
|
9163
9163
|
<a class="link" href="GtkWidget.html#gtk-widget-child-focus" title="gtk_widget_child_focus ()"><code class="function">gtk_widget_child_focus()</code></a> on the widget’s toplevel.</p>
|
9164
|
-
<p>The default ::keynav-failed handler returns <code class="literal">
|
9164
|
+
<p>The default ::keynav-failed handler returns <code class="literal">FALSE</code> for
|
9165
9165
|
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-DIR-TAB-FORWARD:CAPS"><code class="literal">GTK_DIR_TAB_FORWARD</code></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-DIR-TAB-BACKWARD:CAPS"><code class="literal">GTK_DIR_TAB_BACKWARD</code></a>. For the other
|
9166
|
-
values of <a class="link" href="gtk3-Standard-Enumerations.html#GtkDirectionType" title="enum GtkDirectionType"><span class="type">GtkDirectionType</span></a> it returns <code class="literal">
|
9166
|
+
values of <a class="link" href="gtk3-Standard-Enumerations.html#GtkDirectionType" title="enum GtkDirectionType"><span class="type">GtkDirectionType</span></a> it returns <code class="literal">TRUE</code>.</p>
|
9167
9167
|
<p>Whenever the default handler returns <code class="literal">TRUE</code>, it also calls
|
9168
9168
|
<a class="link" href="GtkWidget.html#gtk-widget-error-bell" title="gtk_widget_error_bell ()"><code class="function">gtk_widget_error_bell()</code></a> to notify the user of the failed keyboard
|
9169
9169
|
navigation.</p>
|
@@ -9497,7 +9497,7 @@ information.</p>
|
|
9497
9497
|
<hr>
|
9498
9498
|
<div class="refsect2">
|
9499
9499
|
<a name="gtk-widget-get-window"></a><h3>gtk_widget_get_window ()</h3>
|
9500
|
-
<pre class="programlisting"><
|
9500
|
+
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
9501
9501
|
gtk_widget_get_window (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
9502
9502
|
<p>Returns the widget’s window if it is realized, <code class="literal">NULL</code> otherwise</p>
|
9503
9503
|
<div class="refsect3">
|
@@ -9528,11 +9528,11 @@ gtk_widget_get_window (<em class="parameter"><code><a class="link" href="GtkWidg
|
|
9528
9528
|
<a name="gtk-widget-register-window"></a><h3>gtk_widget_register_window ()</h3>
|
9529
9529
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
9530
9530
|
gtk_widget_register_window (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
9531
|
-
<em class="parameter"><code><
|
9532
|
-
<p>Registers a <
|
9531
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
9532
|
+
<p>Registers a <span class="type">GdkWindow</span> with the widget and sets it up so that
|
9533
9533
|
the widget receives events for it. Call <a class="link" href="GtkWidget.html#gtk-widget-unregister-window" title="gtk_widget_unregister_window ()"><code class="function">gtk_widget_unregister_window()</code></a>
|
9534
9534
|
when destroying the window.</p>
|
9535
|
-
<p>Before 3.8 you needed to call <
|
9535
|
+
<p>Before 3.8 you needed to call <code class="function">gdk_window_set_user_data()</code> directly to set
|
9536
9536
|
this up. This is now deprecated and you should use <a class="link" href="GtkWidget.html#gtk-widget-register-window" title="gtk_widget_register_window ()"><code class="function">gtk_widget_register_window()</code></a>
|
9537
9537
|
instead. Old code will keep working as is, although some new features like
|
9538
9538
|
transparency might not work perfectly.</p>
|
@@ -9552,7 +9552,7 @@ transparency might not work perfectly.</p>
|
|
9552
9552
|
</tr>
|
9553
9553
|
<tr>
|
9554
9554
|
<td class="parameter_name"><p>window</p></td>
|
9555
|
-
<td class="parameter_description"><p>a <
|
9555
|
+
<td class="parameter_description"><p>a <span class="type">GdkWindow</span></p></td>
|
9556
9556
|
<td class="parameter_annotations"> </td>
|
9557
9557
|
</tr>
|
9558
9558
|
</tbody>
|
@@ -9565,8 +9565,8 @@ transparency might not work perfectly.</p>
|
|
9565
9565
|
<a name="gtk-widget-unregister-window"></a><h3>gtk_widget_unregister_window ()</h3>
|
9566
9566
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
9567
9567
|
gtk_widget_unregister_window (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
9568
|
-
<em class="parameter"><code><
|
9569
|
-
<p>Unregisters a <
|
9568
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
9569
|
+
<p>Unregisters a <span class="type">GdkWindow</span> from the widget that was previously set up with
|
9570
9570
|
<a class="link" href="GtkWidget.html#gtk-widget-register-window" title="gtk_widget_register_window ()"><code class="function">gtk_widget_register_window()</code></a>. You need to call this when the window is
|
9571
9571
|
no longer used by the widget, such as when you destroy it.</p>
|
9572
9572
|
<div class="refsect3">
|
@@ -9585,7 +9585,7 @@ no longer used by the widget, such as when you destroy it.</p>
|
|
9585
9585
|
</tr>
|
9586
9586
|
<tr>
|
9587
9587
|
<td class="parameter_name"><p>window</p></td>
|
9588
|
-
<td class="parameter_description"><p>a <
|
9588
|
+
<td class="parameter_description"><p>a <span class="type">GdkWindow</span></p></td>
|
9589
9589
|
<td class="parameter_annotations"> </td>
|
9590
9590
|
</tr>
|
9591
9591
|
</tbody>
|
@@ -9598,7 +9598,7 @@ no longer used by the widget, such as when you destroy it.</p>
|
|
9598
9598
|
<a name="gtk-cairo-should-draw-window"></a><h3>gtk_cairo_should_draw_window ()</h3>
|
9599
9599
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
9600
9600
|
gtk_cairo_should_draw_window (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
9601
|
-
<em class="parameter"><code><
|
9601
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
9602
9602
|
<p>This function is supposed to be called in <a class="link" href="GtkWidget.html#GtkWidget-draw" title="The “draw” signal"><span class="type">“draw”</span></a>
|
9603
9603
|
implementations for widgets that support multiple windows.
|
9604
9604
|
<em class="parameter"><code>cr</code></em>
|
@@ -9647,7 +9647,7 @@ should be drawn</p>
|
|
9647
9647
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
9648
9648
|
gtk_cairo_transform_to_window (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
9649
9649
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
9650
|
-
<em class="parameter"><code><
|
9650
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
9651
9651
|
<p>Transforms the given cairo context <em class="parameter"><code>cr</code></em>
|
9652
9652
|
that from <em class="parameter"><code>widget</code></em>
|
9653
9653
|
-relative
|
@@ -10243,7 +10243,7 @@ gtk_widget_get_double_buffered (<em class="parameter"><code><a class="link" href
|
|
10243
10243
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
10244
10244
|
gtk_widget_get_has_window (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
10245
10245
|
<p>Determines whether <em class="parameter"><code>widget</code></em>
|
10246
|
-
has a <
|
10246
|
+
has a <span class="type">GdkWindow</span> of its own. See
|
10247
10247
|
<a class="link" href="GtkWidget.html#gtk-widget-set-has-window" title="gtk_widget_set_has_window ()"><code class="function">gtk_widget_set_has_window()</code></a>.</p>
|
10248
10248
|
<div class="refsect3">
|
10249
10249
|
<a name="gtk-widget-get-has-window.parameters"></a><h4>Parameters</h4>
|
@@ -10274,10 +10274,10 @@ has a window, <code class="literal">FALSE</code> otherwise</p>
|
|
10274
10274
|
gtk_widget_set_has_window (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
10275
10275
|
<em class="parameter"><code><span class="type">gboolean</span> has_window</code></em>);</pre>
|
10276
10276
|
<p>Specifies whether <em class="parameter"><code>widget</code></em>
|
10277
|
-
has a <
|
10277
|
+
has a <span class="type">GdkWindow</span> of its own. Note that
|
10278
10278
|
all realized widgets have a non-<code class="literal">NULL</code> “window” pointer
|
10279
10279
|
(<a class="link" href="GtkWidget.html#gtk-widget-get-window" title="gtk_widget_get_window ()"><code class="function">gtk_widget_get_window()</code></a> never returns a <code class="literal">NULL</code> window when a widget
|
10280
|
-
is realized), but for many of them it’s actually the <
|
10280
|
+
is realized), but for many of them it’s actually the <span class="type">GdkWindow</span> of
|
10281
10281
|
one of its parent widgets. Widgets that do not create a <code class="literal">window</code> for
|
10282
10282
|
themselves in <a class="link" href="GtkWidget.html#GtkWidget-realize" title="The “realize” signal"><span class="type">“realize”</span></a> must announce this by
|
10283
10283
|
calling this function with <em class="parameter"><code>has_window</code></em>
|
@@ -10836,13 +10836,13 @@ is a toplevel, <code class="literal">FALSE</code> otherwise</p>
|
|
10836
10836
|
<a name="gtk-widget-set-window"></a><h3>gtk_widget_set_window ()</h3>
|
10837
10837
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
10838
10838
|
gtk_widget_set_window (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
10839
|
-
<em class="parameter"><code><
|
10839
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
10840
10840
|
<p>Sets a widget’s window. This function should only be used in a
|
10841
10841
|
widget’s <a class="link" href="GtkWidget.html#GtkWidget-realize" title="The “realize” signal"><span class="type">“realize”</span></a> implementation. The <code class="literal">window</code> passed is
|
10842
|
-
usually either new window created with <
|
10842
|
+
usually either new window created with <code class="function">gdk_window_new()</code>, or the
|
10843
10843
|
window of its parent widget as returned by
|
10844
10844
|
<a class="link" href="GtkWidget.html#gtk-widget-get-parent-window" title="gtk_widget_get_parent_window ()"><code class="function">gtk_widget_get_parent_window()</code></a>.</p>
|
10845
|
-
<p>Widgets must indicate whether they will create their own <
|
10845
|
+
<p>Widgets must indicate whether they will create their own <span class="type">GdkWindow</span>
|
10846
10846
|
by calling <a class="link" href="GtkWidget.html#gtk-widget-set-has-window" title="gtk_widget_set_has_window ()"><code class="function">gtk_widget_set_has_window()</code></a>. This is usually done in the
|
10847
10847
|
widget’s <code class="function">init()</code> function.</p>
|
10848
10848
|
<p>Note that this function does not add any reference to <em class="parameter"><code>window</code></em>
|
@@ -10863,7 +10863,7 @@ widget’s <code class="function">init()</code> function.</p>
|
|
10863
10863
|
</tr>
|
10864
10864
|
<tr>
|
10865
10865
|
<td class="parameter_name"><p>window</p></td>
|
10866
|
-
<td class="parameter_description"><p>a <
|
10866
|
+
<td class="parameter_description"><p>a <span class="type">GdkWindow</span>. </p></td>
|
10867
10867
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
10868
10868
|
</tr>
|
10869
10869
|
</tbody>
|
@@ -10950,8 +10950,8 @@ gtk_widget_set_support_multidevice (<em class="parameter"><code><a class="link"
|
|
10950
10950
|
<p>Enables or disables multiple pointer awareness. If this setting is <code class="literal">TRUE</code>,
|
10951
10951
|
<em class="parameter"><code>widget</code></em>
|
10952
10952
|
will start receiving multiple, per device enter/leave events. Note
|
10953
|
-
that if custom <
|
10954
|
-
<
|
10953
|
+
that if custom <span class="type">GdkWindows</span> are created in <a class="link" href="GtkWidget.html#GtkWidget-realize" title="The “realize” signal"><span class="type">“realize”</span></a>,
|
10954
|
+
<code class="function">gdk_window_set_support_multidevice()</code> will have to be called manually on them.</p>
|
10955
10955
|
<div class="refsect3">
|
10956
10956
|
<a name="gtk-widget-set-support-multidevice.parameters"></a><h4>Parameters</h4>
|
10957
10957
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -11012,7 +11012,7 @@ is multidevice aware.</p>
|
|
11012
11012
|
gtk_widget_set_realized (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
11013
11013
|
<em class="parameter"><code><span class="type">gboolean</span> realized</code></em>);</pre>
|
11014
11014
|
<p>Marks the widget as being realized. This function must only be
|
11015
|
-
called after all <
|
11015
|
+
called after all <span class="type">GdkWindows</span> for the <em class="parameter"><code>widget</code></em>
|
11016
11016
|
have been created
|
11017
11017
|
and registered.</p>
|
11018
11018
|
<p>This function should only ever be called in a derived widget's
|
@@ -11177,7 +11177,7 @@ changed after some internal state change (so that they can call
|
|
11177
11177
|
<a name="gtk-widget-device-is-shadowed"></a><h3>gtk_widget_device_is_shadowed ()</h3>
|
11178
11178
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
11179
11179
|
gtk_widget_device_is_shadowed (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
11180
|
-
<em class="parameter"><code><
|
11180
|
+
<em class="parameter"><code><span class="type">GdkDevice</span> *device</code></em>);</pre>
|
11181
11181
|
<p>Returns <code class="literal">TRUE</code> if <em class="parameter"><code>device</code></em>
|
11182
11182
|
has been shadowed by a GTK+
|
11183
11183
|
device grab on another widget, so it would stop sending
|
@@ -11201,7 +11201,7 @@ devices. See <a class="link" href="gtk3-General.html#gtk-device-grab-add" title=
|
|
11201
11201
|
</tr>
|
11202
11202
|
<tr>
|
11203
11203
|
<td class="parameter_name"><p>device</p></td>
|
11204
|
-
<td class="parameter_description"><p>a <
|
11204
|
+
<td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
|
11205
11205
|
<td class="parameter_annotations"> </td>
|
11206
11206
|
</tr>
|
11207
11207
|
</tbody>
|
@@ -11218,13 +11218,13 @@ by another <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="
|
|
11218
11218
|
<hr>
|
11219
11219
|
<div class="refsect2">
|
11220
11220
|
<a name="gtk-widget-get-modifier-mask"></a><h3>gtk_widget_get_modifier_mask ()</h3>
|
11221
|
-
<pre class="programlisting"><
|
11221
|
+
<pre class="programlisting"><span class="returnvalue">GdkModifierType</span>
|
11222
11222
|
gtk_widget_get_modifier_mask (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
11223
|
-
<em class="parameter"><code><
|
11223
|
+
<em class="parameter"><code><span class="type">GdkModifierIntent</span> intent</code></em>);</pre>
|
11224
11224
|
<p>Returns the modifier mask the <em class="parameter"><code>widget</code></em>
|
11225
11225
|
’s windowing system backend
|
11226
11226
|
uses for a particular purpose.</p>
|
11227
|
-
<p>See <
|
11227
|
+
<p>See <code class="function">gdk_keymap_get_modifier_mask()</code>.</p>
|
11228
11228
|
<div class="refsect3">
|
11229
11229
|
<a name="gtk-widget-get-modifier-mask.parameters"></a><h4>Parameters</h4>
|
11230
11230
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -13766,7 +13766,7 @@ widget have been set as hidden.</p></td>
|
|
13766
13766
|
<tr>
|
13767
13767
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkWidgetClass.realize"></a>realize</code></em> ()</p></td>
|
13768
13768
|
<td class="struct_member_description"><p>Signal emitted when widget is associated with a
|
13769
|
-
<
|
13769
|
+
<span class="type">GdkWindow</span>, which means that <a class="link" href="GtkWidget.html#gtk-widget-realize" title="gtk_widget_realize ()"><code class="function">gtk_widget_realize()</code></a> has been called or
|
13770
13770
|
the widget has been mapped (that is, it is going to be drawn).</p></td>
|
13771
13771
|
<td class="struct_member_annotations"> </td>
|
13772
13772
|
</tr>
|
@@ -13956,7 +13956,7 @@ pressed.</p></td>
|
|
13956
13956
|
<tr>
|
13957
13957
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkWidgetClass.motion-notify-event"></a>motion_notify_event</code></em> ()</p></td>
|
13958
13958
|
<td class="struct_member_description"><p>Signal emitted when the pointer moves over
|
13959
|
-
the widget’s <
|
13959
|
+
the widget’s <span class="type">GdkWindow</span>.</p></td>
|
13960
13960
|
<td class="struct_member_annotations"> </td>
|
13961
13961
|
</tr>
|
13962
13962
|
<tr>
|
@@ -13967,7 +13967,7 @@ window is closed.</p></td>
|
|
13967
13967
|
</tr>
|
13968
13968
|
<tr>
|
13969
13969
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkWidgetClass.destroy-event"></a>destroy_event</code></em> ()</p></td>
|
13970
|
-
<td class="struct_member_description"><p>Signal is emitted when a <
|
13970
|
+
<td class="struct_member_description"><p>Signal is emitted when a <span class="type">GdkWindow</span> is destroyed.</p></td>
|
13971
13971
|
<td class="struct_member_annotations"> </td>
|
13972
13972
|
</tr>
|
13973
13973
|
<tr>
|
@@ -14110,7 +14110,7 @@ site requests the data which is dragged.</p></td>
|
|
14110
14110
|
<tr>
|
14111
14111
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkWidgetClass.drag-data-delete"></a>drag_data_delete</code></em> ()</p></td>
|
14112
14112
|
<td class="struct_member_description"><p>Signal emitted on the drag source when a drag
|
14113
|
-
with the action <
|
14113
|
+
with the action <code class="literal">GDK_ACTION_MOVE</code> is successfully completed.</p></td>
|
14114
14114
|
<td class="struct_member_annotations"> </td>
|
14115
14115
|
</tr>
|
14116
14116
|
<tr>
|
@@ -14176,7 +14176,7 @@ an accelerator can be activated.</p></td>
|
|
14176
14176
|
<tr>
|
14177
14177
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkWidgetClass.composited-changed"></a>composited_changed</code></em> ()</p></td>
|
14178
14178
|
<td class="struct_member_description"><p>Signal emitted when the composited status of
|
14179
|
-
widgets screen changes. See <
|
14179
|
+
widgets screen changes. See <code class="function">gdk_screen_is_composited()</code>.</p></td>
|
14180
14180
|
<td class="struct_member_annotations"> </td>
|
14181
14181
|
</tr>
|
14182
14182
|
<tr>
|
@@ -14261,7 +14261,7 @@ is changed.</p></td>
|
|
14261
14261
|
<tr>
|
14262
14262
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkWidgetClass.queue-draw-region"></a>queue_draw_region</code></em> ()</p></td>
|
14263
14263
|
<td class="struct_member_description"><p>Invalidates the area of widget defined by
|
14264
|
-
region by calling <
|
14264
|
+
region by calling <code class="function">gdk_window_invalidate_region()</code> on the widget's
|
14265
14265
|
window and all its child windows.</p></td>
|
14266
14266
|
<td class="struct_member_annotations"> </td>
|
14267
14267
|
</tr>
|
@@ -14661,7 +14661,7 @@ a child or a container it is treated as <em class="parameter"><code>GTK_ALIGN_FI
|
|
14661
14661
|
<hr>
|
14662
14662
|
<div class="refsect2">
|
14663
14663
|
<a name="GtkWidget--events"></a><h3>The <code class="literal">“events”</code> property</h3>
|
14664
|
-
<pre class="programlisting"> “events” <
|
14664
|
+
<pre class="programlisting"> “events” <span class="type">GdkEventMask</span></pre>
|
14665
14665
|
<p>The event mask that decides what kind of GdkEvents this widget gets.</p>
|
14666
14666
|
<p>Flags: Read / Write</p>
|
14667
14667
|
<p>Default value: GDK_STRUCTURE_MASK</p>
|
@@ -15017,7 +15017,7 @@ are set, the last one wins.</p>
|
|
15017
15017
|
<hr>
|
15018
15018
|
<div class="refsect2">
|
15019
15019
|
<a name="GtkWidget--window"></a><h3>The <code class="literal">“window”</code> property</h3>
|
15020
|
-
<pre class="programlisting"> “window” <
|
15020
|
+
<pre class="programlisting"> “window” <span class="type">GdkWindow</span> *</pre>
|
15021
15021
|
<p>The widget's window if it is realized, <code class="literal">NULL</code> otherwise.</p>
|
15022
15022
|
<p>Flags: Read</p>
|
15023
15023
|
<p class="since">Since: 2.14</p>
|
@@ -15036,7 +15036,7 @@ are set, the last one wins.</p>
|
|
15036
15036
|
<hr>
|
15037
15037
|
<div class="refsect2">
|
15038
15038
|
<a name="GtkWidget--s-cursor-color"></a><h3>The <code class="literal">“cursor-color”</code> style property</h3>
|
15039
|
-
<pre class="programlisting"> “cursor-color” <
|
15039
|
+
<pre class="programlisting"> “cursor-color” <span class="type">GdkColor</span> *</pre>
|
15040
15040
|
<p>The color with which to draw the insertion cursor in entries and
|
15041
15041
|
text views.</p>
|
15042
15042
|
<div class="warning">
|
@@ -15103,7 +15103,7 @@ to draw the focus indicator inside widgets.</p>
|
|
15103
15103
|
<hr>
|
15104
15104
|
<div class="refsect2">
|
15105
15105
|
<a name="GtkWidget--s-link-color"></a><h3>The <code class="literal">“link-color”</code> style property</h3>
|
15106
|
-
<pre class="programlisting"> “link-color” <
|
15106
|
+
<pre class="programlisting"> “link-color” <span class="type">GdkColor</span> *</pre>
|
15107
15107
|
<p>The "link-color" style property defines the color of unvisited links.</p>
|
15108
15108
|
<div class="warning">
|
15109
15109
|
<p><code class="literal">GtkWidget:link-color</code> has been deprecated since version 3.12 and should not be used in newly-written code.</p>
|
@@ -15138,7 +15138,7 @@ vertical scroll arrows.</p>
|
|
15138
15138
|
<hr>
|
15139
15139
|
<div class="refsect2">
|
15140
15140
|
<a name="GtkWidget--s-secondary-cursor-color"></a><h3>The <code class="literal">“secondary-cursor-color”</code> style property</h3>
|
15141
|
-
<pre class="programlisting"> “secondary-cursor-color” <
|
15141
|
+
<pre class="programlisting"> “secondary-cursor-color” <span class="type">GdkColor</span> *</pre>
|
15142
15142
|
<p>The color with which to draw the secondary insertion cursor in entries and
|
15143
15143
|
text views when editing mixed right-to-left and left-to-right text.</p>
|
15144
15144
|
<div class="warning">
|
@@ -15200,7 +15200,7 @@ This property only takes effect if the "wide-separators" style property is <code
|
|
15200
15200
|
<hr>
|
15201
15201
|
<div class="refsect2">
|
15202
15202
|
<a name="GtkWidget--s-visited-link-color"></a><h3>The <code class="literal">“visited-link-color”</code> style property</h3>
|
15203
|
-
<pre class="programlisting"> “visited-link-color” <
|
15203
|
+
<pre class="programlisting"> “visited-link-color” <span class="type">GdkColor</span> *</pre>
|
15204
15204
|
<p>The "visited-link-color" style property defines the color of visited links.</p>
|
15205
15205
|
<div class="warning">
|
15206
15206
|
<p><code class="literal">GtkWidget:visited-link-color</code> has been deprecated since version 3.12 and should not be used in newly-written code.</p>
|
@@ -15269,12 +15269,12 @@ user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span cla
|
|
15269
15269
|
<a name="GtkWidget-button-press-event"></a><h3>The <code class="literal">“button-press-event”</code> signal</h3>
|
15270
15270
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
15271
15271
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
15272
|
-
<
|
15272
|
+
<span class="type">GdkEvent</span> *event,
|
15273
15273
|
<span class="type">gpointer</span> user_data)</pre>
|
15274
15274
|
<p>The ::button-press-event signal will be emitted when a button
|
15275
15275
|
(typically from a mouse) is pressed.</p>
|
15276
|
-
<p>To receive this signal, the <
|
15277
|
-
widget needs to enable the <
|
15276
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the
|
15277
|
+
widget needs to enable the <span class="type">GDK_BUTTON_PRESS_MASK</span> mask.</p>
|
15278
15278
|
<p>This signal will be sent to the grab widget if there is one.</p>
|
15279
15279
|
<div class="refsect3">
|
15280
15280
|
<a name="GtkWidget-button-press-event.parameters"></a><h4>Parameters</h4>
|
@@ -15292,7 +15292,7 @@ widget needs to enable the <a href="../html/gdk3-Events.html#GDK-BUTTON-PRESS-MA
|
|
15292
15292
|
</tr>
|
15293
15293
|
<tr>
|
15294
15294
|
<td class="parameter_name"><p>event</p></td>
|
15295
|
-
<td class="parameter_description"><p>the <
|
15295
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventButton</span> which triggered
|
15296
15296
|
this signal. </p></td>
|
15297
15297
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventButton]</span></td>
|
15298
15298
|
</tr>
|
@@ -15316,12 +15316,12 @@ this signal. </p></td>
|
|
15316
15316
|
<a name="GtkWidget-button-release-event"></a><h3>The <code class="literal">“button-release-event”</code> signal</h3>
|
15317
15317
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
15318
15318
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
15319
|
-
<
|
15319
|
+
<span class="type">GdkEvent</span> *event,
|
15320
15320
|
<span class="type">gpointer</span> user_data)</pre>
|
15321
15321
|
<p>The ::button-release-event signal will be emitted when a button
|
15322
15322
|
(typically from a mouse) is released.</p>
|
15323
|
-
<p>To receive this signal, the <
|
15324
|
-
widget needs to enable the <
|
15323
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the
|
15324
|
+
widget needs to enable the <span class="type">GDK_BUTTON_RELEASE_MASK</span> mask.</p>
|
15325
15325
|
<p>This signal will be sent to the grab widget if there is one.</p>
|
15326
15326
|
<div class="refsect3">
|
15327
15327
|
<a name="GtkWidget-button-release-event.parameters"></a><h4>Parameters</h4>
|
@@ -15339,7 +15339,7 @@ widget needs to enable the <a href="../html/gdk3-Events.html#GDK-BUTTON-RELEASE-
|
|
15339
15339
|
</tr>
|
15340
15340
|
<tr>
|
15341
15341
|
<td class="parameter_name"><p>event</p></td>
|
15342
|
-
<td class="parameter_description"><p>the <
|
15342
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventButton</span> which triggered
|
15343
15343
|
this signal. </p></td>
|
15344
15344
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventButton]</span></td>
|
15345
15345
|
</tr>
|
@@ -15453,7 +15453,7 @@ user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span cla
|
|
15453
15453
|
<p>The ::composited-changed signal is emitted when the composited
|
15454
15454
|
status of <em class="parameter"><code>widgets</code></em>
|
15455
15455
|
screen changes.
|
15456
|
-
See <
|
15456
|
+
See <code class="function">gdk_screen_is_composited()</code>.</p>
|
15457
15457
|
<div class="warning">
|
15458
15458
|
<p><code class="literal">GtkWidget::composited-changed</code> has been deprecated since version 3.22 and should not be used in newly-written code.</p>
|
15459
15459
|
<p>Use GdkScreen::composited-changed instead.</p>
|
@@ -15487,13 +15487,13 @@ See <a href="../html/GdkScreen.html#gdk-screen-is-composited"><code class="funct
|
|
15487
15487
|
<a name="GtkWidget-configure-event"></a><h3>The <code class="literal">“configure-event”</code> signal</h3>
|
15488
15488
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
15489
15489
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
15490
|
-
<
|
15490
|
+
<span class="type">GdkEvent</span> *event,
|
15491
15491
|
<span class="type">gpointer</span> user_data)</pre>
|
15492
15492
|
<p>The ::configure-event signal will be emitted when the size, position or
|
15493
15493
|
stacking of the <em class="parameter"><code>widget</code></em>
|
15494
15494
|
's window has changed.</p>
|
15495
|
-
<p>To receive this signal, the <
|
15496
|
-
to enable the <
|
15495
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
15496
|
+
to enable the <span class="type">GDK_STRUCTURE_MASK</span> mask. GDK will enable this mask
|
15497
15497
|
automatically for all new windows.</p>
|
15498
15498
|
<div class="refsect3">
|
15499
15499
|
<a name="GtkWidget-configure-event.parameters"></a><h4>Parameters</h4>
|
@@ -15511,7 +15511,7 @@ automatically for all new windows.</p>
|
|
15511
15511
|
</tr>
|
15512
15512
|
<tr>
|
15513
15513
|
<td class="parameter_name"><p>event</p></td>
|
15514
|
-
<td class="parameter_description"><p>the <
|
15514
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventConfigure</span> which triggered
|
15515
15515
|
this signal. </p></td>
|
15516
15516
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventConfigure]</span></td>
|
15517
15517
|
</tr>
|
@@ -15535,7 +15535,7 @@ this signal. </p></td>
|
|
15535
15535
|
<a name="GtkWidget-damage-event"></a><h3>The <code class="literal">“damage-event”</code> signal</h3>
|
15536
15536
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
15537
15537
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
15538
|
-
<
|
15538
|
+
<span class="type">GdkEvent</span> *event,
|
15539
15539
|
<span class="type">gpointer</span> user_data)</pre>
|
15540
15540
|
<p>Emitted when a redirected window belonging to <em class="parameter"><code>widget</code></em>
|
15541
15541
|
gets drawn into.
|
@@ -15557,7 +15557,7 @@ drawable was drawn into.</p>
|
|
15557
15557
|
</tr>
|
15558
15558
|
<tr>
|
15559
15559
|
<td class="parameter_name"><p>event</p></td>
|
15560
|
-
<td class="parameter_description"><p>the <
|
15560
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventExpose</span> event. </p></td>
|
15561
15561
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventExpose]</span></td>
|
15562
15562
|
</tr>
|
15563
15563
|
<tr>
|
@@ -15581,7 +15581,7 @@ drawable was drawn into.</p>
|
|
15581
15581
|
<a name="GtkWidget-delete-event"></a><h3>The <code class="literal">“delete-event”</code> signal</h3>
|
15582
15582
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
15583
15583
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
15584
|
-
<
|
15584
|
+
<span class="type">GdkEvent</span> *event,
|
15585
15585
|
<span class="type">gpointer</span> user_data)</pre>
|
15586
15586
|
<p>The ::delete-event signal is emitted if a user requests that
|
15587
15587
|
a toplevel window is closed. The default handler for this signal
|
@@ -15661,14 +15661,14 @@ if all references are released.</p>
|
|
15661
15661
|
<a name="GtkWidget-destroy-event"></a><h3>The <code class="literal">“destroy-event”</code> signal</h3>
|
15662
15662
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
15663
15663
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
15664
|
-
<
|
15664
|
+
<span class="type">GdkEvent</span> *event,
|
15665
15665
|
<span class="type">gpointer</span> user_data)</pre>
|
15666
|
-
<p>The ::destroy-event signal is emitted when a <
|
15666
|
+
<p>The ::destroy-event signal is emitted when a <span class="type">GdkWindow</span> is destroyed.
|
15667
15667
|
You rarely get this signal, because most widgets disconnect themselves
|
15668
15668
|
from their window before they destroy it, so no widget owns the
|
15669
15669
|
window at destroy time.</p>
|
15670
|
-
<p>To receive this signal, the <
|
15671
|
-
to enable the <
|
15670
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
15671
|
+
to enable the <span class="type">GDK_STRUCTURE_MASK</span> mask. GDK will enable this mask
|
15672
15672
|
automatically for all new windows.</p>
|
15673
15673
|
<div class="refsect3">
|
15674
15674
|
<a name="GtkWidget-destroy-event.parameters"></a><h4>Parameters</h4>
|
@@ -15748,7 +15748,7 @@ of a widget changes.</p>
|
|
15748
15748
|
<a name="GtkWidget-drag-begin"></a><h3>The <code class="literal">“drag-begin”</code> signal</h3>
|
15749
15749
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
15750
15750
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
15751
|
-
<
|
15751
|
+
<span class="type">GdkDragContext</span> *context,
|
15752
15752
|
<span class="type">gpointer</span> user_data)</pre>
|
15753
15753
|
<p>The ::drag-begin signal is emitted on the drag source when a drag is
|
15754
15754
|
started. A typical reason to connect to this signal is to set up a
|
@@ -15790,10 +15790,10 @@ override what the default handler did.</p>
|
|
15790
15790
|
<a name="GtkWidget-drag-data-delete"></a><h3>The <code class="literal">“drag-data-delete”</code> signal</h3>
|
15791
15791
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
15792
15792
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
15793
|
-
<
|
15793
|
+
<span class="type">GdkDragContext</span> *context,
|
15794
15794
|
<span class="type">gpointer</span> user_data)</pre>
|
15795
15795
|
<p>The ::drag-data-delete signal is emitted on the drag source when a drag
|
15796
|
-
with the action <
|
15796
|
+
with the action <code class="literal">GDK_ACTION_MOVE</code> is successfully completed. The signal
|
15797
15797
|
handler is responsible for deleting the data that has been dropped. What
|
15798
15798
|
"delete" means depends on the context of the drag operation.</p>
|
15799
15799
|
<div class="refsect3">
|
@@ -15830,7 +15830,7 @@ handler is responsible for deleting the data that has been dropped. What
|
|
15830
15830
|
<a name="GtkWidget-drag-data-get"></a><h3>The <code class="literal">“drag-data-get”</code> signal</h3>
|
15831
15831
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
15832
15832
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
15833
|
-
<
|
15833
|
+
<span class="type">GdkDragContext</span> *context,
|
15834
15834
|
<a class="link" href="gtk3-Selections.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *data,
|
15835
15835
|
<span class="type">guint</span> info,
|
15836
15836
|
<span class="type">guint</span> time,
|
@@ -15892,7 +15892,7 @@ is indicated by <em class="parameter"><code>info</code></em>
|
|
15892
15892
|
<a name="GtkWidget-drag-data-received"></a><h3>The <code class="literal">“drag-data-received”</code> signal</h3>
|
15893
15893
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
15894
15894
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
15895
|
-
<
|
15895
|
+
<span class="type">GdkDragContext</span> *context,
|
15896
15896
|
<span class="type">gint</span> x,
|
15897
15897
|
<span class="type">gint</span> y,
|
15898
15898
|
<a class="link" href="gtk3-Selections.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *data,
|
@@ -15902,7 +15902,7 @@ user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span cla
|
|
15902
15902
|
<p>The ::drag-data-received signal is emitted on the drop site when the
|
15903
15903
|
dragged data has been received. If the data was received in order to
|
15904
15904
|
determine whether the drop will be accepted, the handler is expected
|
15905
|
-
to call <
|
15905
|
+
to call <code class="function">gdk_drag_status()</code> and not finish the drag.
|
15906
15906
|
If the data was received in response to a <a class="link" href="GtkWidget.html#GtkWidget-drag-drop" title="The “drag-drop” signal"><span class="type">“drag-drop”</span></a> signal
|
15907
15907
|
(and this is the last target to be received), the handler for this
|
15908
15908
|
signal is expected to process the received data and then call
|
@@ -15911,10 +15911,10 @@ signal is expected to process the received data and then call
|
|
15911
15911
|
whether the data was processed successfully.</p>
|
15912
15912
|
<p>Applications must create some means to determine why the signal was emitted
|
15913
15913
|
|
15914
|
-
and therefore whether to call <
|
15914
|
+
and therefore whether to call <code class="function">gdk_drag_status()</code> or <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-finish" title="gtk_drag_finish ()"><code class="function">gtk_drag_finish()</code></a>. </p>
|
15915
15915
|
<p>The handler may inspect the selected action with
|
15916
|
-
<
|
15917
|
-
<a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-finish" title="gtk_drag_finish ()"><code class="function">gtk_drag_finish()</code></a>, e.g. to implement <
|
15916
|
+
<code class="function">gdk_drag_context_get_selected_action()</code> before calling
|
15917
|
+
<a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-finish" title="gtk_drag_finish ()"><code class="function">gtk_drag_finish()</code></a>, e.g. to implement <code class="literal">GDK_ACTION_ASK</code> as
|
15918
15918
|
shown in the following example:</p>
|
15919
15919
|
<div class="informalexample">
|
15920
15920
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -15976,8 +15976,8 @@ shown in the following example:</p>
|
|
15976
15976
|
|
15977
15977
|
<span class="normal"> </span><span class="comment">// handle data here</span>
|
15978
15978
|
|
15979
|
-
<span class="normal"> action </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
15980
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action </span><span class="symbol">==</span><span class="normal">
|
15979
|
+
<span class="normal"> action </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gdk_drag_context_get_selected_action</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span>
|
15980
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action </span><span class="symbol">==</span><span class="normal"> GDK_ACTION_ASK</span><span class="symbol">)</span>
|
15981
15981
|
<span class="normal"> </span><span class="cbracket">{</span>
|
15982
15982
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">dialog</span><span class="symbol">;</span>
|
15983
15983
|
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> response</span><span class="symbol">;</span>
|
@@ -15992,12 +15992,12 @@ shown in the following example:</p>
|
|
15992
15992
|
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dialog</span><span class="symbol">);</span>
|
15993
15993
|
|
15994
15994
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">response </span><span class="symbol">==</span><span class="normal"> <a href="GtkDialog.html#GTK-RESPONSE-YES:CAPS">GTK_RESPONSE_YES</a></span><span class="symbol">)</span>
|
15995
|
-
<span class="normal"> action </span><span class="symbol">=</span><span class="normal">
|
15995
|
+
<span class="normal"> action </span><span class="symbol">=</span><span class="normal"> GDK_ACTION_MOVE</span><span class="symbol">;</span>
|
15996
15996
|
<span class="normal"> </span><span class="keyword">else</span>
|
15997
|
-
<span class="normal"> action </span><span class="symbol">=</span><span class="normal">
|
15997
|
+
<span class="normal"> action </span><span class="symbol">=</span><span class="normal"> GDK_ACTION_COPY</span><span class="symbol">;</span>
|
15998
15998
|
<span class="normal"> </span><span class="cbracket">}</span>
|
15999
15999
|
|
16000
|
-
<span class="normal"> </span><span class="function"><a href="gtk3-Drag-and-Drop.html#gtk-drag-finish">gtk_drag_finish</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">,</span><span class="normal"> action </span><span class="symbol">==</span><span class="normal">
|
16000
|
+
<span class="normal"> </span><span class="function"><a href="gtk3-Drag-and-Drop.html#gtk-drag-finish">gtk_drag_finish</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">,</span><span class="normal"> action </span><span class="symbol">==</span><span class="normal"> GDK_ACTION_MOVE</span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
|
16001
16001
|
<span class="normal"> </span><span class="cbracket">}</span>
|
16002
16002
|
<span class="normal"> </span><span class="keyword">else</span>
|
16003
16003
|
<span class="normal"> </span><span class="function"><a href="gtk3-Drag-and-Drop.html#gtk-drag-finish">gtk_drag_finish</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> FALSE</span><span class="symbol">,</span><span class="normal"> FALSE</span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
|
@@ -16068,7 +16068,7 @@ shown in the following example:</p>
|
|
16068
16068
|
<a name="GtkWidget-drag-drop"></a><h3>The <code class="literal">“drag-drop”</code> signal</h3>
|
16069
16069
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
16070
16070
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16071
|
-
<
|
16071
|
+
<span class="type">GdkDragContext</span> *context,
|
16072
16072
|
<span class="type">gint</span> x,
|
16073
16073
|
<span class="type">gint</span> y,
|
16074
16074
|
<span class="type">guint</span> time,
|
@@ -16136,7 +16136,7 @@ or more of the supported targets.</p>
|
|
16136
16136
|
<a name="GtkWidget-drag-end"></a><h3>The <code class="literal">“drag-end”</code> signal</h3>
|
16137
16137
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
16138
16138
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16139
|
-
<
|
16139
|
+
<span class="type">GdkDragContext</span> *context,
|
16140
16140
|
<span class="type">gpointer</span> user_data)</pre>
|
16141
16141
|
<p>The ::drag-end signal is emitted on the drag source when a drag is
|
16142
16142
|
finished. A typical reason to connect to this signal is to undo
|
@@ -16175,7 +16175,7 @@ things done in <a class="link" href="GtkWidget.html#GtkWidget-drag-begin" title=
|
|
16175
16175
|
<a name="GtkWidget-drag-failed"></a><h3>The <code class="literal">“drag-failed”</code> signal</h3>
|
16176
16176
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
16177
16177
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16178
|
-
<
|
16178
|
+
<span class="type">GdkDragContext</span> *context,
|
16179
16179
|
<a class="link" href="gtk3-Drag-and-Drop.html#GtkDragResult" title="enum GtkDragResult"><span class="type">GtkDragResult</span></a> result,
|
16180
16180
|
<span class="type">gpointer</span> user_data)</pre>
|
16181
16181
|
<p>The ::drag-failed signal is emitted on the drag source when a drag has
|
@@ -16227,7 +16227,7 @@ animation), otherwise it returns <code class="literal">FALSE</code>.</p>
|
|
16227
16227
|
<a name="GtkWidget-drag-leave"></a><h3>The <code class="literal">“drag-leave”</code> signal</h3>
|
16228
16228
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
16229
16229
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16230
|
-
<
|
16230
|
+
<span class="type">GdkDragContext</span> *context,
|
16231
16231
|
<span class="type">guint</span> time,
|
16232
16232
|
<span class="type">gpointer</span> user_data)</pre>
|
16233
16233
|
<p>The ::drag-leave signal is emitted on the drop site when the cursor
|
@@ -16278,7 +16278,7 @@ created in the <a class="link" href="GtkWidget.html#GtkWidget-drag-motion" title
|
|
16278
16278
|
<a name="GtkWidget-drag-motion"></a><h3>The <code class="literal">“drag-motion”</code> signal</h3>
|
16279
16279
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
16280
16280
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16281
|
-
<
|
16281
|
+
<span class="type">GdkDragContext</span> *context,
|
16282
16282
|
<span class="type">gint</span> x,
|
16283
16283
|
<span class="type">gint</span> y,
|
16284
16284
|
<span class="type">guint</span> time,
|
@@ -16289,11 +16289,11 @@ must determine whether the cursor position is in a drop zone or not.
|
|
16289
16289
|
If it is not in a drop zone, it returns <code class="literal">FALSE</code> and no further processing
|
16290
16290
|
is necessary. Otherwise, the handler returns <code class="literal">TRUE</code>. In this case, the
|
16291
16291
|
handler is responsible for providing the necessary information for
|
16292
|
-
displaying feedback to the user, by calling <
|
16292
|
+
displaying feedback to the user, by calling <code class="function">gdk_drag_status()</code>.</p>
|
16293
16293
|
<p>If the decision whether the drop will be accepted or rejected can't be
|
16294
16294
|
made based solely on the cursor position and the type of the data, the
|
16295
16295
|
handler may inspect the dragged data by calling <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-get-data" title="gtk_drag_get_data ()"><code class="function">gtk_drag_get_data()</code></a> and
|
16296
|
-
defer the <
|
16296
|
+
defer the <code class="function">gdk_drag_status()</code> call to the <a class="link" href="GtkWidget.html#GtkWidget-drag-data-received" title="The “drag-data-received” signal"><span class="type">“drag-data-received”</span></a>
|
16297
16297
|
handler. Note that you must pass <a class="link" href="gtk3-Drag-and-Drop.html#GTK-DEST-DEFAULT-DROP:CAPS"><span class="type">GTK_DEST_DEFAULT_DROP</span></a>,
|
16298
16298
|
<a class="link" href="gtk3-Drag-and-Drop.html#GTK-DEST-DEFAULT-MOTION:CAPS"><span class="type">GTK_DEST_DEFAULT_MOTION</span></a> or <a class="link" href="gtk3-Drag-and-Drop.html#GTK-DEST-DEFAULT-ALL:CAPS"><span class="type">GTK_DEST_DEFAULT_ALL</span></a> to <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-dest-set" title="gtk_drag_dest_set ()"><code class="function">gtk_drag_dest_set()</code></a>
|
16299
16299
|
when using the drag-motion signal that way.</p>
|
@@ -16387,12 +16387,12 @@ the drop site with <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-highli
|
|
16387
16387
|
<span class="normal"> </span><span class="cbracket">}</span>
|
16388
16388
|
|
16389
16389
|
<span class="normal"> target </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk3-Drag-and-Drop.html#gtk-drag-dest-find-target">gtk_drag_dest_find_target</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
16390
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target </span><span class="symbol">==</span><span class="normal">
|
16391
|
-
<span class="normal"> </span><span class="function"
|
16390
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target </span><span class="symbol">==</span><span class="normal"> GDK_NONE</span><span class="symbol">)</span>
|
16391
|
+
<span class="normal"> </span><span class="function">gdk_drag_status</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
|
16392
16392
|
<span class="normal"> </span><span class="keyword">else</span>
|
16393
16393
|
<span class="normal"> </span><span class="cbracket">{</span>
|
16394
16394
|
<span class="normal"> private_data</span><span class="symbol">-></span><span class="normal">pending_status</span>
|
16395
|
-
<span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
16395
|
+
<span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gdk_drag_context_get_suggested_action</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span>
|
16396
16396
|
<span class="normal"> </span><span class="function"><a href="gtk3-Drag-and-Drop.html#gtk-drag-get-data">gtk_drag_get_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">,</span><span class="normal"> target</span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
|
16397
16397
|
<span class="normal"> </span><span class="cbracket">}</span>
|
16398
16398
|
|
@@ -16421,9 +16421,9 @@ the drop site with <a class="link" href="gtk3-Drag-and-Drop.html#gtk-drag-highli
|
|
16421
16421
|
|
16422
16422
|
<span class="normal"> str </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk3-Selections.html#gtk-selection-data-get-text">gtk_selection_data_get_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">selection_data</span><span class="symbol">);</span>
|
16423
16423
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function">data_is_acceptable</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">str</span><span class="symbol">))</span>
|
16424
|
-
<span class="normal"> </span><span class="function"
|
16424
|
+
<span class="normal"> </span><span class="function">gdk_drag_status</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> time</span><span class="symbol">);</span>
|
16425
16425
|
<span class="normal"> </span><span class="keyword">else</span>
|
16426
|
-
<span class="normal"> </span><span class="function"
|
16426
|
+
<span class="normal"> </span><span class="function">gdk_drag_status</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">,</span>
|
16427
16427
|
<span class="normal"> private_data</span><span class="symbol">-></span><span class="normal">suggested_action</span><span class="symbol">,</span>
|
16428
16428
|
<span class="normal"> time</span><span class="symbol">);</span>
|
16429
16429
|
<span class="normal"> </span><span class="cbracket">}</span>
|
@@ -16508,7 +16508,7 @@ before and <code class="function">cairo_restore()</code> after invoking the hand
|
|
16508
16508
|
with a clip region already set to the
|
16509
16509
|
widget's dirty region, i.e. to the area that needs repainting. Complicated
|
16510
16510
|
widgets that want to avoid redrawing themselves completely can get the full
|
16511
|
-
extents of the clip region with <
|
16511
|
+
extents of the clip region with <code class="function">gdk_cairo_get_clip_rectangle()</code>, or they can
|
16512
16512
|
get a finer-grained representation of the dirty region with
|
16513
16513
|
<code class="function">cairo_copy_clip_rectangle_list()</code>.</p>
|
16514
16514
|
<div class="refsect3">
|
@@ -16551,13 +16551,13 @@ get a finer-grained representation of the dirty region with
|
|
16551
16551
|
<a name="GtkWidget-enter-notify-event"></a><h3>The <code class="literal">“enter-notify-event”</code> signal</h3>
|
16552
16552
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
16553
16553
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16554
|
-
<
|
16554
|
+
<span class="type">GdkEvent</span> *event,
|
16555
16555
|
<span class="type">gpointer</span> user_data)</pre>
|
16556
16556
|
<p>The ::enter-notify-event will be emitted when the pointer enters
|
16557
16557
|
the <em class="parameter"><code>widget</code></em>
|
16558
16558
|
's window.</p>
|
16559
|
-
<p>To receive this signal, the <
|
16560
|
-
to enable the <
|
16559
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
16560
|
+
to enable the <span class="type">GDK_ENTER_NOTIFY_MASK</span> mask.</p>
|
16561
16561
|
<p>This signal will be sent to the grab widget if there is one.</p>
|
16562
16562
|
<div class="refsect3">
|
16563
16563
|
<a name="GtkWidget-enter-notify-event.parameters"></a><h4>Parameters</h4>
|
@@ -16575,7 +16575,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-ENTER-NOTIFY-MASK:CAPS"><spa
|
|
16575
16575
|
</tr>
|
16576
16576
|
<tr>
|
16577
16577
|
<td class="parameter_name"><p>event</p></td>
|
16578
|
-
<td class="parameter_description"><p>the <
|
16578
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventCrossing</span> which triggered
|
16579
16579
|
this signal. </p></td>
|
16580
16580
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventCrossing]</span></td>
|
16581
16581
|
</tr>
|
@@ -16599,7 +16599,7 @@ this signal. </p></td>
|
|
16599
16599
|
<a name="GtkWidget-event"></a><h3>The <code class="literal">“event”</code> signal</h3>
|
16600
16600
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
16601
16601
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16602
|
-
<
|
16602
|
+
<span class="type">GdkEvent</span> *event,
|
16603
16603
|
<span class="type">gpointer</span> user_data)</pre>
|
16604
16604
|
<p>The GTK+ main loop will emit three signals for each GDK event delivered
|
16605
16605
|
to a widget: one generic ::event signal, another, more specific,
|
@@ -16622,7 +16622,7 @@ signal that matches the type of event delivered (e.g.
|
|
16622
16622
|
</tr>
|
16623
16623
|
<tr>
|
16624
16624
|
<td class="parameter_name"><p>event</p></td>
|
16625
|
-
<td class="parameter_description"><p>the <
|
16625
|
+
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> which triggered this signal</p></td>
|
16626
16626
|
<td class="parameter_annotations"> </td>
|
16627
16627
|
</tr>
|
16628
16628
|
<tr>
|
@@ -16648,7 +16648,7 @@ the return value.</p>
|
|
16648
16648
|
<a name="GtkWidget-event-after"></a><h3>The <code class="literal">“event-after”</code> signal</h3>
|
16649
16649
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
16650
16650
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16651
|
-
<
|
16651
|
+
<span class="type">GdkEvent</span> *event,
|
16652
16652
|
<span class="type">gpointer</span> user_data)</pre>
|
16653
16653
|
<p>After the emission of the <a class="link" href="GtkWidget.html#GtkWidget-event" title="The “event” signal"><span class="type">“event”</span></a> signal and (optionally)
|
16654
16654
|
the second more specific signal, ::event-after will be emitted
|
@@ -16669,7 +16669,7 @@ regardless of the previous two signals handlers return values.</p>
|
|
16669
16669
|
</tr>
|
16670
16670
|
<tr>
|
16671
16671
|
<td class="parameter_name"><p>event</p></td>
|
16672
|
-
<td class="parameter_description"><p>the <
|
16672
|
+
<td class="parameter_description"><p>the <span class="type">GdkEvent</span> which triggered this signal</p></td>
|
16673
16673
|
<td class="parameter_annotations"> </td>
|
16674
16674
|
</tr>
|
16675
16675
|
<tr>
|
@@ -16721,13 +16721,13 @@ user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span cla
|
|
16721
16721
|
<a name="GtkWidget-focus-in-event"></a><h3>The <code class="literal">“focus-in-event”</code> signal</h3>
|
16722
16722
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
16723
16723
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16724
|
-
<
|
16724
|
+
<span class="type">GdkEvent</span> *event,
|
16725
16725
|
<span class="type">gpointer</span> user_data)</pre>
|
16726
16726
|
<p>The ::focus-in-event signal will be emitted when the keyboard focus
|
16727
16727
|
enters the <em class="parameter"><code>widget</code></em>
|
16728
16728
|
's window.</p>
|
16729
|
-
<p>To receive this signal, the <
|
16730
|
-
to enable the <
|
16729
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
16730
|
+
to enable the <span class="type">GDK_FOCUS_CHANGE_MASK</span> mask.</p>
|
16731
16731
|
<div class="refsect3">
|
16732
16732
|
<a name="GtkWidget-focus-in-event.parameters"></a><h4>Parameters</h4>
|
16733
16733
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -16744,7 +16744,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-FOCUS-CHANGE-MASK:CAPS"><spa
|
|
16744
16744
|
</tr>
|
16745
16745
|
<tr>
|
16746
16746
|
<td class="parameter_name"><p>event</p></td>
|
16747
|
-
<td class="parameter_description"><p>the <
|
16747
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventFocus</span> which triggered
|
16748
16748
|
this signal. </p></td>
|
16749
16749
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventFocus]</span></td>
|
16750
16750
|
</tr>
|
@@ -16768,13 +16768,13 @@ this signal. </p></td>
|
|
16768
16768
|
<a name="GtkWidget-focus-out-event"></a><h3>The <code class="literal">“focus-out-event”</code> signal</h3>
|
16769
16769
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
16770
16770
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16771
|
-
<
|
16771
|
+
<span class="type">GdkEvent</span> *event,
|
16772
16772
|
<span class="type">gpointer</span> user_data)</pre>
|
16773
16773
|
<p>The ::focus-out-event signal will be emitted when the keyboard focus
|
16774
16774
|
leaves the <em class="parameter"><code>widget</code></em>
|
16775
16775
|
's window.</p>
|
16776
|
-
<p>To receive this signal, the <
|
16777
|
-
to enable the <
|
16776
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
16777
|
+
to enable the <span class="type">GDK_FOCUS_CHANGE_MASK</span> mask.</p>
|
16778
16778
|
<div class="refsect3">
|
16779
16779
|
<a name="GtkWidget-focus-out-event.parameters"></a><h4>Parameters</h4>
|
16780
16780
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -16791,7 +16791,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-FOCUS-CHANGE-MASK:CAPS"><spa
|
|
16791
16791
|
</tr>
|
16792
16792
|
<tr>
|
16793
16793
|
<td class="parameter_name"><p>event</p></td>
|
16794
|
-
<td class="parameter_description"><p>the <
|
16794
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventFocus</span> which triggered this
|
16795
16795
|
signal. </p></td>
|
16796
16796
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventFocus]</span></td>
|
16797
16797
|
</tr>
|
@@ -16815,7 +16815,7 @@ signal. </p></td>
|
|
16815
16815
|
<a name="GtkWidget-grab-broken-event"></a><h3>The <code class="literal">“grab-broken-event”</code> signal</h3>
|
16816
16816
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
16817
16817
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
16818
|
-
<
|
16818
|
+
<span class="type">GdkEvent</span> *event,
|
16819
16819
|
<span class="type">gpointer</span> user_data)</pre>
|
16820
16820
|
<p>Emitted when a pointer or keyboard grab on a window belonging
|
16821
16821
|
to <em class="parameter"><code>widget</code></em>
|
@@ -16839,7 +16839,7 @@ application grabs the pointer or keyboard again.</p>
|
|
16839
16839
|
</tr>
|
16840
16840
|
<tr>
|
16841
16841
|
<td class="parameter_name"><p>event</p></td>
|
16842
|
-
<td class="parameter_description"><p>the <
|
16842
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventGrabBroken</span> event. </p></td>
|
16843
16843
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventGrabBroken]</span></td>
|
16844
16844
|
</tr>
|
16845
16845
|
<tr>
|
@@ -17012,12 +17012,12 @@ if the widget was previously unanchored. </p></td>
|
|
17012
17012
|
<a name="GtkWidget-key-press-event"></a><h3>The <code class="literal">“key-press-event”</code> signal</h3>
|
17013
17013
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17014
17014
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17015
|
-
<
|
17015
|
+
<span class="type">GdkEvent</span> *event,
|
17016
17016
|
<span class="type">gpointer</span> user_data)</pre>
|
17017
17017
|
<p>The ::key-press-event signal is emitted when a key is pressed. The signal
|
17018
17018
|
emission will reoccur at the key-repeat rate when the key is kept pressed.</p>
|
17019
|
-
<p>To receive this signal, the <
|
17020
|
-
to enable the <
|
17019
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
17020
|
+
to enable the <span class="type">GDK_KEY_PRESS_MASK</span> mask.</p>
|
17021
17021
|
<p>This signal will be sent to the grab widget if there is one.</p>
|
17022
17022
|
<div class="refsect3">
|
17023
17023
|
<a name="GtkWidget-key-press-event.parameters"></a><h4>Parameters</h4>
|
@@ -17035,7 +17035,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-KEY-PRESS-MASK:CAPS"><span c
|
|
17035
17035
|
</tr>
|
17036
17036
|
<tr>
|
17037
17037
|
<td class="parameter_name"><p>event</p></td>
|
17038
|
-
<td class="parameter_description"><p>the <
|
17038
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventKey</span> which triggered this signal. </p></td>
|
17039
17039
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventKey]</span></td>
|
17040
17040
|
</tr>
|
17041
17041
|
<tr>
|
@@ -17058,11 +17058,11 @@ to enable the <a href="../html/gdk3-Events.html#GDK-KEY-PRESS-MASK:CAPS"><span c
|
|
17058
17058
|
<a name="GtkWidget-key-release-event"></a><h3>The <code class="literal">“key-release-event”</code> signal</h3>
|
17059
17059
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17060
17060
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17061
|
-
<
|
17061
|
+
<span class="type">GdkEvent</span> *event,
|
17062
17062
|
<span class="type">gpointer</span> user_data)</pre>
|
17063
17063
|
<p>The ::key-release-event signal is emitted when a key is released.</p>
|
17064
|
-
<p>To receive this signal, the <
|
17065
|
-
to enable the <
|
17064
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
17065
|
+
to enable the <span class="type">GDK_KEY_RELEASE_MASK</span> mask.</p>
|
17066
17066
|
<p>This signal will be sent to the grab widget if there is one.</p>
|
17067
17067
|
<div class="refsect3">
|
17068
17068
|
<a name="GtkWidget-key-release-event.parameters"></a><h4>Parameters</h4>
|
@@ -17080,7 +17080,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-KEY-RELEASE-MASK:CAPS"><span
|
|
17080
17080
|
</tr>
|
17081
17081
|
<tr>
|
17082
17082
|
<td class="parameter_name"><p>event</p></td>
|
17083
|
-
<td class="parameter_description"><p>the <
|
17083
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventKey</span> which triggered this signal. </p></td>
|
17084
17084
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventKey]</span></td>
|
17085
17085
|
</tr>
|
17086
17086
|
<tr>
|
@@ -17148,13 +17148,13 @@ navigation attempt in its parent container(s).</p>
|
|
17148
17148
|
<a name="GtkWidget-leave-notify-event"></a><h3>The <code class="literal">“leave-notify-event”</code> signal</h3>
|
17149
17149
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17150
17150
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17151
|
-
<
|
17151
|
+
<span class="type">GdkEvent</span> *event,
|
17152
17152
|
<span class="type">gpointer</span> user_data)</pre>
|
17153
17153
|
<p>The ::leave-notify-event will be emitted when the pointer leaves
|
17154
17154
|
the <em class="parameter"><code>widget</code></em>
|
17155
17155
|
's window.</p>
|
17156
|
-
<p>To receive this signal, the <
|
17157
|
-
to enable the <
|
17156
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
17157
|
+
to enable the <span class="type">GDK_LEAVE_NOTIFY_MASK</span> mask.</p>
|
17158
17158
|
<p>This signal will be sent to the grab widget if there is one.</p>
|
17159
17159
|
<div class="refsect3">
|
17160
17160
|
<a name="GtkWidget-leave-notify-event.parameters"></a><h4>Parameters</h4>
|
@@ -17172,7 +17172,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-LEAVE-NOTIFY-MASK:CAPS"><spa
|
|
17172
17172
|
</tr>
|
17173
17173
|
<tr>
|
17174
17174
|
<td class="parameter_name"><p>event</p></td>
|
17175
|
-
<td class="parameter_description"><p>the <
|
17175
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventCrossing</span> which triggered
|
17176
17176
|
this signal. </p></td>
|
17177
17177
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventCrossing]</span></td>
|
17178
17178
|
</tr>
|
@@ -17235,13 +17235,13 @@ emission of <a class="link" href="GtkWidget.html#GtkWidget-unmap" title="The “
|
|
17235
17235
|
<a name="GtkWidget-map-event"></a><h3>The <code class="literal">“map-event”</code> signal</h3>
|
17236
17236
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17237
17237
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17238
|
-
<
|
17238
|
+
<span class="type">GdkEvent</span> *event,
|
17239
17239
|
<span class="type">gpointer</span> user_data)</pre>
|
17240
17240
|
<p>The ::map-event signal will be emitted when the <em class="parameter"><code>widget</code></em>
|
17241
17241
|
's window is
|
17242
17242
|
mapped. A window is mapped when it becomes visible on the screen.</p>
|
17243
|
-
<p>To receive this signal, the <
|
17244
|
-
to enable the <
|
17243
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
17244
|
+
to enable the <span class="type">GDK_STRUCTURE_MASK</span> mask. GDK will enable this mask
|
17245
17245
|
automatically for all new windows.</p>
|
17246
17246
|
<div class="refsect3">
|
17247
17247
|
<a name="GtkWidget-map-event.parameters"></a><h4>Parameters</h4>
|
@@ -17259,7 +17259,7 @@ automatically for all new windows.</p>
|
|
17259
17259
|
</tr>
|
17260
17260
|
<tr>
|
17261
17261
|
<td class="parameter_name"><p>event</p></td>
|
17262
|
-
<td class="parameter_description"><p>the <
|
17262
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventAny</span> which triggered this signal. </p></td>
|
17263
17263
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventAny]</span></td>
|
17264
17264
|
</tr>
|
17265
17265
|
<tr>
|
@@ -17329,12 +17329,12 @@ is <code class="literal">FALSE</code>, or just makes <em class="parameter"><code
|
|
17329
17329
|
<a name="GtkWidget-motion-notify-event"></a><h3>The <code class="literal">“motion-notify-event”</code> signal</h3>
|
17330
17330
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17331
17331
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17332
|
-
<
|
17332
|
+
<span class="type">GdkEvent</span> *event,
|
17333
17333
|
<span class="type">gpointer</span> user_data)</pre>
|
17334
17334
|
<p>The ::motion-notify-event signal is emitted when the pointer moves
|
17335
|
-
over the widget's <
|
17336
|
-
<p>To receive this signal, the <
|
17337
|
-
needs to enable the <
|
17335
|
+
over the widget's <span class="type">GdkWindow</span>.</p>
|
17336
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget
|
17337
|
+
needs to enable the <span class="type">GDK_POINTER_MOTION_MASK</span> mask.</p>
|
17338
17338
|
<p>This signal will be sent to the grab widget if there is one.</p>
|
17339
17339
|
<div class="refsect3">
|
17340
17340
|
<a name="GtkWidget-motion-notify-event.parameters"></a><h4>Parameters</h4>
|
@@ -17352,7 +17352,7 @@ needs to enable the <a href="../html/gdk3-Events.html#GDK-POINTER-MOTION-MASK:CA
|
|
17352
17352
|
</tr>
|
17353
17353
|
<tr>
|
17354
17354
|
<td class="parameter_name"><p>event</p></td>
|
17355
|
-
<td class="parameter_description"><p>the <
|
17355
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventMotion</span> which triggered
|
17356
17356
|
this signal. </p></td>
|
17357
17357
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventMotion]</span></td>
|
17358
17358
|
</tr>
|
@@ -17487,13 +17487,13 @@ for an example of how to use this signal.</p>
|
|
17487
17487
|
<a name="GtkWidget-property-notify-event"></a><h3>The <code class="literal">“property-notify-event”</code> signal</h3>
|
17488
17488
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17489
17489
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17490
|
-
<
|
17490
|
+
<span class="type">GdkEvent</span> *event,
|
17491
17491
|
<span class="type">gpointer</span> user_data)</pre>
|
17492
17492
|
<p>The ::property-notify-event signal will be emitted when a property on
|
17493
17493
|
the <em class="parameter"><code>widget</code></em>
|
17494
17494
|
's window has been changed or deleted.</p>
|
17495
|
-
<p>To receive this signal, the <
|
17496
|
-
to enable the <
|
17495
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
17496
|
+
to enable the <span class="type">GDK_PROPERTY_CHANGE_MASK</span> mask.</p>
|
17497
17497
|
<div class="refsect3">
|
17498
17498
|
<a name="GtkWidget-property-notify-event.parameters"></a><h4>Parameters</h4>
|
17499
17499
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -17510,7 +17510,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-PROPERTY-CHANGE-MASK:CAPS"><
|
|
17510
17510
|
</tr>
|
17511
17511
|
<tr>
|
17512
17512
|
<td class="parameter_name"><p>event</p></td>
|
17513
|
-
<td class="parameter_description"><p>the <
|
17513
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventProperty</span> which triggered
|
17514
17514
|
this signal. </p></td>
|
17515
17515
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventProperty]</span></td>
|
17516
17516
|
</tr>
|
@@ -17534,10 +17534,10 @@ this signal. </p></td>
|
|
17534
17534
|
<a name="GtkWidget-proximity-in-event"></a><h3>The <code class="literal">“proximity-in-event”</code> signal</h3>
|
17535
17535
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17536
17536
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17537
|
-
<
|
17537
|
+
<span class="type">GdkEvent</span> *event,
|
17538
17538
|
<span class="type">gpointer</span> user_data)</pre>
|
17539
|
-
<p>To receive this signal the <
|
17540
|
-
to enable the <
|
17539
|
+
<p>To receive this signal the <span class="type">GdkWindow</span> associated to the widget needs
|
17540
|
+
to enable the <span class="type">GDK_PROXIMITY_IN_MASK</span> mask.</p>
|
17541
17541
|
<p>This signal will be sent to the grab widget if there is one.</p>
|
17542
17542
|
<div class="refsect3">
|
17543
17543
|
<a name="GtkWidget-proximity-in-event.parameters"></a><h4>Parameters</h4>
|
@@ -17555,7 +17555,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-PROXIMITY-IN-MASK:CAPS"><spa
|
|
17555
17555
|
</tr>
|
17556
17556
|
<tr>
|
17557
17557
|
<td class="parameter_name"><p>event</p></td>
|
17558
|
-
<td class="parameter_description"><p>the <
|
17558
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventProximity</span> which triggered
|
17559
17559
|
this signal. </p></td>
|
17560
17560
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventProximity]</span></td>
|
17561
17561
|
</tr>
|
@@ -17579,10 +17579,10 @@ this signal. </p></td>
|
|
17579
17579
|
<a name="GtkWidget-proximity-out-event"></a><h3>The <code class="literal">“proximity-out-event”</code> signal</h3>
|
17580
17580
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17581
17581
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17582
|
-
<
|
17582
|
+
<span class="type">GdkEvent</span> *event,
|
17583
17583
|
<span class="type">gpointer</span> user_data)</pre>
|
17584
|
-
<p>To receive this signal the <
|
17585
|
-
to enable the <
|
17584
|
+
<p>To receive this signal the <span class="type">GdkWindow</span> associated to the widget needs
|
17585
|
+
to enable the <span class="type">GDK_PROXIMITY_OUT_MASK</span> mask.</p>
|
17586
17586
|
<p>This signal will be sent to the grab widget if there is one.</p>
|
17587
17587
|
<div class="refsect3">
|
17588
17588
|
<a name="GtkWidget-proximity-out-event.parameters"></a><h4>Parameters</h4>
|
@@ -17600,7 +17600,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-PROXIMITY-OUT-MASK:CAPS"><sp
|
|
17600
17600
|
</tr>
|
17601
17601
|
<tr>
|
17602
17602
|
<td class="parameter_name"><p>event</p></td>
|
17603
|
-
<td class="parameter_description"><p>the <
|
17603
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventProximity</span> which triggered
|
17604
17604
|
this signal. </p></td>
|
17605
17605
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventProximity]</span></td>
|
17606
17606
|
</tr>
|
@@ -17708,7 +17708,7 @@ user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span cla
|
|
17708
17708
|
<span class="type">gpointer</span> user_data)</pre>
|
17709
17709
|
<p>The ::realize signal is emitted when <em class="parameter"><code>widget</code></em>
|
17710
17710
|
is associated with a
|
17711
|
-
<
|
17711
|
+
<span class="type">GdkWindow</span>, which means that <a class="link" href="GtkWidget.html#gtk-widget-realize" title="gtk_widget_realize ()"><code class="function">gtk_widget_realize()</code></a> has been called or the
|
17712
17712
|
widget has been mapped (that is, it is going to be drawn).</p>
|
17713
17713
|
<div class="refsect3">
|
17714
17714
|
<a name="GtkWidget-realize.parameters"></a><h4>Parameters</h4>
|
@@ -17739,7 +17739,7 @@ widget has been mapped (that is, it is going to be drawn).</p>
|
|
17739
17739
|
<a name="GtkWidget-screen-changed"></a><h3>The <code class="literal">“screen-changed”</code> signal</h3>
|
17740
17740
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
17741
17741
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17742
|
-
<
|
17742
|
+
<span class="type">GdkScreen</span> *previous_screen,
|
17743
17743
|
<span class="type">gpointer</span> user_data)</pre>
|
17744
17744
|
<p>The ::screen-changed signal gets emitted when the
|
17745
17745
|
screen of a widget has changed.</p>
|
@@ -17778,13 +17778,13 @@ widget was not associated with a screen before. </p></td>
|
|
17778
17778
|
<a name="GtkWidget-scroll-event"></a><h3>The <code class="literal">“scroll-event”</code> signal</h3>
|
17779
17779
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17780
17780
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17781
|
-
<
|
17781
|
+
<span class="type">GdkEvent</span> *event,
|
17782
17782
|
<span class="type">gpointer</span> user_data)</pre>
|
17783
17783
|
<p>The ::scroll-event signal is emitted when a button in the 4 to 7
|
17784
17784
|
range is pressed. Wheel mice are usually configured to generate
|
17785
17785
|
button press events for buttons 4 and 5 when the wheel is turned.</p>
|
17786
|
-
<p>To receive this signal, the <
|
17787
|
-
to enable the <
|
17786
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
17787
|
+
to enable the <span class="type">GDK_SCROLL_MASK</span> mask.</p>
|
17788
17788
|
<p>This signal will be sent to the grab widget if there is one.</p>
|
17789
17789
|
<div class="refsect3">
|
17790
17790
|
<a name="GtkWidget-scroll-event.parameters"></a><h4>Parameters</h4>
|
@@ -17802,7 +17802,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-SCROLL-MASK:CAPS"><span clas
|
|
17802
17802
|
</tr>
|
17803
17803
|
<tr>
|
17804
17804
|
<td class="parameter_name"><p>event</p></td>
|
17805
|
-
<td class="parameter_description"><p>the <
|
17805
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventScroll</span> which triggered
|
17806
17806
|
this signal. </p></td>
|
17807
17807
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventScroll]</span></td>
|
17808
17808
|
</tr>
|
@@ -17826,7 +17826,7 @@ this signal. </p></td>
|
|
17826
17826
|
<a name="GtkWidget-selection-clear-event"></a><h3>The <code class="literal">“selection-clear-event”</code> signal</h3>
|
17827
17827
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17828
17828
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17829
|
-
<
|
17829
|
+
<span class="type">GdkEvent</span> *event,
|
17830
17830
|
<span class="type">gpointer</span> user_data)</pre>
|
17831
17831
|
<p>The ::selection-clear-event signal will be emitted when the
|
17832
17832
|
the <em class="parameter"><code>widget</code></em>
|
@@ -17847,7 +17847,7 @@ the <em class="parameter"><code>widget</code></em>
|
|
17847
17847
|
</tr>
|
17848
17848
|
<tr>
|
17849
17849
|
<td class="parameter_name"><p>event</p></td>
|
17850
|
-
<td class="parameter_description"><p>the <
|
17850
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventSelection</span> which triggered
|
17851
17851
|
this signal. </p></td>
|
17852
17852
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventSelection]</span></td>
|
17853
17853
|
</tr>
|
@@ -17904,7 +17904,7 @@ user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span cla
|
|
17904
17904
|
<a name="GtkWidget-selection-notify-event"></a><h3>The <code class="literal">“selection-notify-event”</code> signal</h3>
|
17905
17905
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17906
17906
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17907
|
-
<
|
17907
|
+
<span class="type">GdkEvent</span> *event,
|
17908
17908
|
<span class="type">gpointer</span> user_data)</pre>
|
17909
17909
|
<div class="refsect3">
|
17910
17910
|
<a name="GtkWidget-selection-notify-event.parameters"></a><h4>Parameters</h4>
|
@@ -17976,7 +17976,7 @@ user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span cla
|
|
17976
17976
|
<a name="GtkWidget-selection-request-event"></a><h3>The <code class="literal">“selection-request-event”</code> signal</h3>
|
17977
17977
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
17978
17978
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
17979
|
-
<
|
17979
|
+
<span class="type">GdkEvent</span> *event,
|
17980
17980
|
<span class="type">gpointer</span> user_data)</pre>
|
17981
17981
|
<p>The ::selection-request-event signal will be emitted when
|
17982
17982
|
another client requests ownership of the selection owned by
|
@@ -17998,7 +17998,7 @@ the <em class="parameter"><code>widget</code></em>
|
|
17998
17998
|
</tr>
|
17999
17999
|
<tr>
|
18000
18000
|
<td class="parameter_name"><p>event</p></td>
|
18001
|
-
<td class="parameter_description"><p>the <
|
18001
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventSelection</span> which triggered
|
18002
18002
|
this signal. </p></td>
|
18003
18003
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventSelection]</span></td>
|
18004
18004
|
</tr>
|
@@ -18091,7 +18091,7 @@ user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span cla
|
|
18091
18091
|
<a name="GtkWidget-size-allocate"></a><h3>The <code class="literal">“size-allocate”</code> signal</h3>
|
18092
18092
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
18093
18093
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
18094
|
-
<
|
18094
|
+
<span class="type">GdkRectangle</span> *allocation,
|
18095
18095
|
<span class="type">gpointer</span> user_data)</pre>
|
18096
18096
|
<div class="refsect3">
|
18097
18097
|
<a name="GtkWidget-size-allocate.parameters"></a><h4>Parameters</h4>
|
@@ -18293,7 +18293,7 @@ cause this signal to be emitted.</p>
|
|
18293
18293
|
<a name="GtkWidget-touch-event"></a><h3>The <code class="literal">“touch-event”</code> signal</h3>
|
18294
18294
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
18295
18295
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
18296
|
-
<
|
18296
|
+
<span class="type">GdkEvent</span> *arg1,
|
18297
18297
|
<span class="type">gpointer</span> user_data)</pre>
|
18298
18298
|
<p>Flags: Run Last</p>
|
18299
18299
|
</div>
|
@@ -18338,13 +18338,13 @@ used to, for example, stop an animation on the widget.</p>
|
|
18338
18338
|
<a name="GtkWidget-unmap-event"></a><h3>The <code class="literal">“unmap-event”</code> signal</h3>
|
18339
18339
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
18340
18340
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
18341
|
-
<
|
18341
|
+
<span class="type">GdkEvent</span> *event,
|
18342
18342
|
<span class="type">gpointer</span> user_data)</pre>
|
18343
18343
|
<p>The ::unmap-event signal will be emitted when the <em class="parameter"><code>widget</code></em>
|
18344
18344
|
's window is
|
18345
18345
|
unmapped. A window is unmapped when it becomes invisible on the screen.</p>
|
18346
|
-
<p>To receive this signal, the <
|
18347
|
-
to enable the <
|
18346
|
+
<p>To receive this signal, the <span class="type">GdkWindow</span> associated to the widget needs
|
18347
|
+
to enable the <span class="type">GDK_STRUCTURE_MASK</span> mask. GDK will enable this mask
|
18348
18348
|
automatically for all new windows.</p>
|
18349
18349
|
<div class="refsect3">
|
18350
18350
|
<a name="GtkWidget-unmap-event.parameters"></a><h4>Parameters</h4>
|
@@ -18362,7 +18362,7 @@ automatically for all new windows.</p>
|
|
18362
18362
|
</tr>
|
18363
18363
|
<tr>
|
18364
18364
|
<td class="parameter_name"><p>event</p></td>
|
18365
|
-
<td class="parameter_description"><p>the <
|
18365
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventAny</span> which triggered this signal. </p></td>
|
18366
18366
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventAny]</span></td>
|
18367
18367
|
</tr>
|
18368
18368
|
<tr>
|
@@ -18386,7 +18386,7 @@ automatically for all new windows.</p>
|
|
18386
18386
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
18387
18387
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
18388
18388
|
<span class="type">gpointer</span> user_data)</pre>
|
18389
|
-
<p>The ::unrealize signal is emitted when the <
|
18389
|
+
<p>The ::unrealize signal is emitted when the <span class="type">GdkWindow</span> associated with
|
18390
18390
|
<em class="parameter"><code>widget</code></em>
|
18391
18391
|
is destroyed, which means that <a class="link" href="GtkWidget.html#gtk-widget-unrealize" title="gtk_widget_unrealize ()"><code class="function">gtk_widget_unrealize()</code></a> has been
|
18392
18392
|
called or the widget has been unmapped (that is, it is going to be
|
@@ -18420,13 +18420,13 @@ hidden).</p>
|
|
18420
18420
|
<a name="GtkWidget-visibility-notify-event"></a><h3>The <code class="literal">“visibility-notify-event”</code> signal</h3>
|
18421
18421
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
18422
18422
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
18423
|
-
<
|
18423
|
+
<span class="type">GdkEvent</span> *event,
|
18424
18424
|
<span class="type">gpointer</span> user_data)</pre>
|
18425
18425
|
<p>The ::visibility-notify-event will be emitted when the <em class="parameter"><code>widget</code></em>
|
18426
18426
|
's
|
18427
18427
|
window is obscured or unobscured.</p>
|
18428
|
-
<p>To receive this signal the <
|
18429
|
-
to enable the <
|
18428
|
+
<p>To receive this signal the <span class="type">GdkWindow</span> associated to the widget needs
|
18429
|
+
to enable the <span class="type">GDK_VISIBILITY_NOTIFY_MASK</span> mask.</p>
|
18430
18430
|
<div class="warning">
|
18431
18431
|
<p><code class="literal">GtkWidget::visibility-notify-event</code> has been deprecated since version 3.12 and should not be used in newly-written code.</p>
|
18432
18432
|
<p>Modern composited windowing systems with pervasive
|
@@ -18450,7 +18450,7 @@ to enable the <a href="../html/gdk3-Events.html#GDK-VISIBILITY-NOTIFY-MASK:CAPS"
|
|
18450
18450
|
</tr>
|
18451
18451
|
<tr>
|
18452
18452
|
<td class="parameter_name"><p>event</p></td>
|
18453
|
-
<td class="parameter_description"><p>the <
|
18453
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventVisibility</span> which
|
18454
18454
|
triggered this signal. </p></td>
|
18455
18455
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventVisibility]</span></td>
|
18456
18456
|
</tr>
|
@@ -18474,13 +18474,13 @@ triggered this signal. </p></td>
|
|
18474
18474
|
<a name="GtkWidget-window-state-event"></a><h3>The <code class="literal">“window-state-event”</code> signal</h3>
|
18475
18475
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
18476
18476
|
user_function (<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
18477
|
-
<
|
18477
|
+
<span class="type">GdkEvent</span> *event,
|
18478
18478
|
<span class="type">gpointer</span> user_data)</pre>
|
18479
18479
|
<p>The ::window-state-event will be emitted when the state of the
|
18480
18480
|
toplevel window associated to the <em class="parameter"><code>widget</code></em>
|
18481
18481
|
changes.</p>
|
18482
|
-
<p>To receive this signal the <
|
18483
|
-
needs to enable the <
|
18482
|
+
<p>To receive this signal the <span class="type">GdkWindow</span> associated to the widget
|
18483
|
+
needs to enable the <span class="type">GDK_STRUCTURE_MASK</span> mask. GDK will enable
|
18484
18484
|
this mask automatically for all new windows.</p>
|
18485
18485
|
<div class="refsect3">
|
18486
18486
|
<a name="GtkWidget-window-state-event.parameters"></a><h4>Parameters</h4>
|
@@ -18498,7 +18498,7 @@ this mask automatically for all new windows.</p>
|
|
18498
18498
|
</tr>
|
18499
18499
|
<tr>
|
18500
18500
|
<td class="parameter_name"><p>event</p></td>
|
18501
|
-
<td class="parameter_description"><p>the <
|
18501
|
+
<td class="parameter_description"><p>the <span class="type">GdkEventWindowState</span> which
|
18502
18502
|
triggered this signal. </p></td>
|
18503
18503
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gdk.EventWindowState]</span></td>
|
18504
18504
|
</tr>
|