gdk3 3.2.5-x86-mingw32 → 3.2.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -168,7 +168,7 @@ presses.</p>
|
|
168
168
|
<a name="gtk-gesture-multi-press-set-area"></a><h3>gtk_gesture_multi_press_set_area ()</h3>
|
169
169
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
170
170
|
gtk_gesture_multi_press_set_area (<em class="parameter"><code><a class="link" href="GtkGestureMultiPress.html" title="GtkGestureMultiPress"><span class="type">GtkGestureMultiPress</span></a> *gesture</code></em>,
|
171
|
-
<em class="parameter"><code>const <
|
171
|
+
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
172
172
|
<p>If <em class="parameter"><code>rect</code></em>
|
173
173
|
is non-<code class="literal">NULL</code>, the press area will be checked to be
|
174
174
|
confined within the rectangle, otherwise the button count
|
@@ -208,7 +208,7 @@ akin to an input shape.</p>
|
|
208
208
|
<a name="gtk-gesture-multi-press-get-area"></a><h3>gtk_gesture_multi_press_get_area ()</h3>
|
209
209
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
210
210
|
gtk_gesture_multi_press_get_area (<em class="parameter"><code><a class="link" href="GtkGestureMultiPress.html" title="GtkGestureMultiPress"><span class="type">GtkGestureMultiPress</span></a> *gesture</code></em>,
|
211
|
-
<em class="parameter"><code><
|
211
|
+
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
212
212
|
<p>If an area was set through <a class="link" href="GtkGestureMultiPress.html#gtk-gesture-multi-press-set-area" title="gtk_gesture_multi_press_set_area ()"><code class="function">gtk_gesture_multi_press_set_area()</code></a>,
|
213
213
|
this function will return <code class="literal">TRUE</code> and fill in <em class="parameter"><code>rect</code></em>
|
214
214
|
with the
|
@@ -99,7 +99,7 @@
|
|
99
99
|
</tr>
|
100
100
|
<tr>
|
101
101
|
<td class="function_type">
|
102
|
-
<
|
102
|
+
<span class="returnvalue">GdkEventSequence</span> *
|
103
103
|
</td>
|
104
104
|
<td class="function_name">
|
105
105
|
<a class="link" href="GtkGestureSingle.html#gtk-gesture-single-get-current-sequence" title="gtk_gesture_single_get_current_sequence ()">gtk_gesture_single_get_current_sequence</a> <span class="c_punctuation">()</span>
|
@@ -172,7 +172,7 @@ not restricted) for dealing with mouse and single-touch gestures. Under
|
|
172
172
|
interaction, these gestures stick to the first interacting sequence, which
|
173
173
|
is accessible through <a class="link" href="GtkGestureSingle.html#gtk-gesture-single-get-current-sequence" title="gtk_gesture_single_get_current_sequence ()"><code class="function">gtk_gesture_single_get_current_sequence()</code></a> while the
|
174
174
|
gesture is being interacted with.</p>
|
175
|
-
<p>By default gestures react to both <
|
175
|
+
<p>By default gestures react to both <code class="literal">GDK_BUTTON_PRIMARY</code> and touch
|
176
176
|
events, <a class="link" href="GtkGestureSingle.html#gtk-gesture-single-set-touch-only" title="gtk_gesture_single_set_touch_only ()"><code class="function">gtk_gesture_single_set_touch_only()</code></a> can be used to change the
|
177
177
|
touch behavior. Callers may also specify a different mouse button number
|
178
178
|
to interact with through <a class="link" href="GtkGestureSingle.html#gtk-gesture-single-set-button" title="gtk_gesture_single_set_button ()"><code class="function">gtk_gesture_single_set_button()</code></a>, or react to any
|
@@ -280,7 +280,7 @@ gtk_gesture_single_set_touch_only (<em class="parameter"><code><a class="link" h
|
|
280
280
|
<p>If <em class="parameter"><code>touch_only</code></em>
|
281
281
|
is <code class="literal">TRUE</code>, <em class="parameter"><code>gesture</code></em>
|
282
282
|
will only handle events of type
|
283
|
-
<
|
283
|
+
<span class="type">GDK_TOUCH_BEGIN</span>, <span class="type">GDK_TOUCH_UPDATE</span> or <span class="type">GDK_TOUCH_END</span>. If <code class="literal">FALSE</code>,
|
284
284
|
mouse events will be handled too.</p>
|
285
285
|
<div class="refsect3">
|
286
286
|
<a name="gtk-gesture-single-set-touch-only.parameters"></a><h4>Parameters</h4>
|
@@ -403,7 +403,7 @@ is none.</p>
|
|
403
403
|
<hr>
|
404
404
|
<div class="refsect2">
|
405
405
|
<a name="gtk-gesture-single-get-current-sequence"></a><h3>gtk_gesture_single_get_current_sequence ()</h3>
|
406
|
-
<pre class="programlisting"><
|
406
|
+
<pre class="programlisting"><span class="returnvalue">GdkEventSequence</span> *
|
407
407
|
gtk_gesture_single_get_current_sequence
|
408
408
|
(<em class="parameter"><code><a class="link" href="GtkGestureSingle.html" title="GtkGestureSingle"><span class="type">GtkGestureSingle</span></a> *gesture</code></em>);</pre>
|
409
409
|
<p>Returns the event sequence currently interacting with <em class="parameter"><code>gesture</code></em>
|
@@ -341,9 +341,9 @@ in order for the new input method to become available to GTK+ applications.</p>
|
|
341
341
|
<a name="gtk-im-context-set-client-window"></a><h3>gtk_im_context_set_client_window ()</h3>
|
342
342
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
343
343
|
gtk_im_context_set_client_window (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
344
|
-
<em class="parameter"><code><
|
344
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
345
345
|
<p>Set the client window for the input context; this is the
|
346
|
-
<
|
346
|
+
<span class="type">GdkWindow</span> in which the input appears. This window is
|
347
347
|
used in order to correctly position status windows, and may
|
348
348
|
also be used for purposes internal to the input method.</p>
|
349
349
|
<div class="refsect3">
|
@@ -424,7 +424,7 @@ within the preedit string. </p></td>
|
|
424
424
|
<a name="gtk-im-context-filter-keypress"></a><h3>gtk_im_context_filter_keypress ()</h3>
|
425
425
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
426
426
|
gtk_im_context_filter_keypress (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
427
|
-
<em class="parameter"><code><
|
427
|
+
<em class="parameter"><code><span class="type">GdkEventKey</span> *event</code></em>);</pre>
|
428
428
|
<p>Allow an input method to internally handle key press and release
|
429
429
|
events. If this function returns <code class="literal">TRUE</code>, then no further processing
|
430
430
|
should be done for this key event.</p>
|
@@ -534,7 +534,7 @@ method to clear the preedit state.</p>
|
|
534
534
|
<a name="gtk-im-context-set-cursor-location"></a><h3>gtk_im_context_set_cursor_location ()</h3>
|
535
535
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
536
536
|
gtk_im_context_set_cursor_location (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
537
|
-
<em class="parameter"><code>const <
|
537
|
+
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *area</code></em>);</pre>
|
538
538
|
<p>Notify the input method that a change in cursor
|
539
539
|
position has been made. The location is relative to the client
|
540
540
|
window.</p>
|
@@ -536,7 +536,7 @@ or stock items, rather than directly, but looking up icons
|
|
536
536
|
directly is also simple. The <a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> object acts
|
537
537
|
as a database of all the icons in the current theme. You
|
538
538
|
can create new <a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> objects, but it’s much more
|
539
|
-
efficient to use the standard icon theme for the <
|
539
|
+
efficient to use the standard icon theme for the <span class="type">GdkScreen</span>
|
540
540
|
so that the icon information is shared with other people
|
541
541
|
looking up icons.</p>
|
542
542
|
<div class="informalexample">
|
@@ -628,7 +628,7 @@ is open. Do not ref or unref it. </p>
|
|
628
628
|
<div class="refsect2">
|
629
629
|
<a name="gtk-icon-theme-get-for-screen"></a><h3>gtk_icon_theme_get_for_screen ()</h3>
|
630
630
|
<pre class="programlisting"><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="returnvalue">GtkIconTheme</span></a> *
|
631
|
-
gtk_icon_theme_get_for_screen (<em class="parameter"><code><
|
631
|
+
gtk_icon_theme_get_for_screen (<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
632
632
|
<p>Gets the icon theme object associated with <em class="parameter"><code>screen</code></em>
|
633
633
|
; if this
|
634
634
|
function has not previously been called for the given
|
@@ -648,7 +648,7 @@ a single icon theme object will be shared between users.</p>
|
|
648
648
|
</colgroup>
|
649
649
|
<tbody><tr>
|
650
650
|
<td class="parameter_name"><p>screen</p></td>
|
651
|
-
<td class="parameter_description"><p>a <
|
651
|
+
<td class="parameter_description"><p>a <span class="type">GdkScreen</span></p></td>
|
652
652
|
<td class="parameter_annotations"> </td>
|
653
653
|
</tr></tbody>
|
654
654
|
</table></div>
|
@@ -668,7 +668,7 @@ is open. Do not ref or unref it. </p>
|
|
668
668
|
<a name="gtk-icon-theme-set-screen"></a><h3>gtk_icon_theme_set_screen ()</h3>
|
669
669
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
670
670
|
gtk_icon_theme_set_screen (<em class="parameter"><code><a class="link" href="GtkIconTheme.html" title="GtkIconTheme"><span class="type">GtkIconTheme</span></a> *icon_theme</code></em>,
|
671
|
-
<em class="parameter"><code><
|
671
|
+
<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
672
672
|
<p>Sets the screen for an icon theme; the screen is used
|
673
673
|
to track the user’s currently configured icon theme,
|
674
674
|
which might be different for different screens.</p>
|
@@ -688,7 +688,7 @@ which might be different for different screens.</p>
|
|
688
688
|
</tr>
|
689
689
|
<tr>
|
690
690
|
<td class="parameter_name"><p>screen</p></td>
|
691
|
-
<td class="parameter_description"><p>a <
|
691
|
+
<td class="parameter_description"><p>a <span class="type">GdkScreen</span></p></td>
|
692
692
|
<td class="parameter_annotations"> </td>
|
693
693
|
</tr>
|
694
694
|
</tbody>
|
@@ -981,7 +981,7 @@ combines these two steps if all you need is the pixbuf.)</p>
|
|
981
981
|
<p>When rendering on displays with high pixel densities you should not
|
982
982
|
use a <em class="parameter"><code>size</code></em>
|
983
983
|
multiplied by the scaling factor returned by functions
|
984
|
-
like <
|
984
|
+
like <code class="function">gdk_window_get_scale_factor()</code>. Instead, you should use
|
985
985
|
<a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon-for-scale" title="gtk_icon_theme_lookup_icon_for_scale ()"><code class="function">gtk_icon_theme_lookup_icon_for_scale()</code></a>, as the assets loaded
|
986
986
|
for a given scaling factor may be different.</p>
|
987
987
|
<div class="refsect3">
|
@@ -1223,7 +1223,7 @@ into a pixbuf using <a class="link" href="GtkIconTheme.html#gtk-icon-info-load-i
|
|
1223
1223
|
<p>When rendering on displays with high pixel densities you should not
|
1224
1224
|
use a <em class="parameter"><code>size</code></em>
|
1225
1225
|
multiplied by the scaling factor returned by functions
|
1226
|
-
like <
|
1226
|
+
like <code class="function">gdk_window_get_scale_factor()</code>. Instead, you should use
|
1227
1227
|
<a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-by-gicon-for-scale" title="gtk_icon_theme_lookup_by_gicon_for_scale ()"><code class="function">gtk_icon_theme_lookup_by_gicon_for_scale()</code></a>, as the assets loaded
|
1228
1228
|
for a given scaling factor may be different.</p>
|
1229
1229
|
<div class="refsect3">
|
@@ -1479,7 +1479,7 @@ gtk_icon_theme_load_surface (<em class="parameter"><code><a class="link" href="G
|
|
1479
1479
|
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>,
|
1480
1480
|
<em class="parameter"><code><span class="type">gint</span> size</code></em>,
|
1481
1481
|
<em class="parameter"><code><span class="type">gint</span> scale</code></em>,
|
1482
|
-
<em class="parameter"><code><
|
1482
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *for_window</code></em>,
|
1483
1483
|
<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconLookupFlags" title="enum GtkIconLookupFlags"><span class="type">GtkIconLookupFlags</span></a> flags</code></em>,
|
1484
1484
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
1485
1485
|
<p>Looks up an icon in an icon theme for a particular window scale,
|
@@ -1522,7 +1522,7 @@ exactly this size; see <a class="link" href="GtkIconTheme.html#gtk-icon-info-loa
|
|
1522
1522
|
</tr>
|
1523
1523
|
<tr>
|
1524
1524
|
<td class="parameter_name"><p>for_window</p></td>
|
1525
|
-
<td class="parameter_description"><p><
|
1525
|
+
<td class="parameter_description"><p><span class="type">GdkWindow</span> to optimize drawing for, or <code class="literal">NULL</code>. </p></td>
|
1526
1526
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1527
1527
|
</tr>
|
1528
1528
|
<tr>
|
@@ -2081,7 +2081,7 @@ to the icon. </p>
|
|
2081
2081
|
<a name="gtk-icon-info-load-surface"></a><h3>gtk_icon_info_load_surface ()</h3>
|
2082
2082
|
<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> *
|
2083
2083
|
gtk_icon_info_load_surface (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
2084
|
-
<em class="parameter"><code><
|
2084
|
+
<em class="parameter"><code><span class="type">GdkWindow</span> *for_window</code></em>,
|
2085
2085
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
2086
2086
|
<p>Renders an icon previously looked up in an icon theme using
|
2087
2087
|
<a class="link" href="GtkIconTheme.html#gtk-icon-theme-lookup-icon" title="gtk_icon_theme_lookup_icon ()"><code class="function">gtk_icon_theme_lookup_icon()</code></a>; the size will be based on the size
|
@@ -2110,7 +2110,7 @@ returned by this function will be scaled to the exact size.</p>
|
|
2110
2110
|
</tr>
|
2111
2111
|
<tr>
|
2112
2112
|
<td class="parameter_name"><p>for_window</p></td>
|
2113
|
-
<td class="parameter_description"><p><
|
2113
|
+
<td class="parameter_description"><p><span class="type">GdkWindow</span> to optimize drawing for, or <code class="literal">NULL</code>. </p></td>
|
2114
2114
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2115
2115
|
</tr>
|
2116
2116
|
<tr>
|
@@ -2229,10 +2229,10 @@ to the icon. </p>
|
|
2229
2229
|
<a name="gtk-icon-info-load-symbolic"></a><h3>gtk_icon_info_load_symbolic ()</h3>
|
2230
2230
|
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
|
2231
2231
|
gtk_icon_info_load_symbolic (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
2232
|
-
<em class="parameter"><code>const <
|
2233
|
-
<em class="parameter"><code>const <
|
2234
|
-
<em class="parameter"><code>const <
|
2235
|
-
<em class="parameter"><code>const <
|
2232
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *fg</code></em>,
|
2233
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *success_color</code></em>,
|
2234
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *warning_color</code></em>,
|
2235
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *error_color</code></em>,
|
2236
2236
|
<em class="parameter"><code><span class="type">gboolean</span> *was_symbolic</code></em>,
|
2237
2237
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
2238
2238
|
<p>Loads an icon, modifying it to match the system colours for the foreground,
|
@@ -2263,24 +2263,24 @@ for more information about symbolic icons.</p>
|
|
2263
2263
|
</tr>
|
2264
2264
|
<tr>
|
2265
2265
|
<td class="parameter_name"><p>fg</p></td>
|
2266
|
-
<td class="parameter_description"><p>a <
|
2266
|
+
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the foreground color of the icon</p></td>
|
2267
2267
|
<td class="parameter_annotations"> </td>
|
2268
2268
|
</tr>
|
2269
2269
|
<tr>
|
2270
2270
|
<td class="parameter_name"><p>success_color</p></td>
|
2271
|
-
<td class="parameter_description"><p>a <
|
2271
|
+
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the warning color
|
2272
2272
|
of the icon or <code class="literal">NULL</code> to use the default color. </p></td>
|
2273
2273
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2274
2274
|
</tr>
|
2275
2275
|
<tr>
|
2276
2276
|
<td class="parameter_name"><p>warning_color</p></td>
|
2277
|
-
<td class="parameter_description"><p>a <
|
2277
|
+
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the warning color
|
2278
2278
|
of the icon or <code class="literal">NULL</code> to use the default color. </p></td>
|
2279
2279
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2280
2280
|
</tr>
|
2281
2281
|
<tr>
|
2282
2282
|
<td class="parameter_name"><p>error_color</p></td>
|
2283
|
-
<td class="parameter_description"><p>a <
|
2283
|
+
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the error color
|
2284
2284
|
of the icon or <code class="literal">NULL</code> to use the default color (allow-none). </p></td>
|
2285
2285
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2286
2286
|
</tr>
|
@@ -2313,10 +2313,10 @@ or <code class="literal">NULL</code>. </p></td>
|
|
2313
2313
|
<a name="gtk-icon-info-load-symbolic-async"></a><h3>gtk_icon_info_load_symbolic_async ()</h3>
|
2314
2314
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2315
2315
|
gtk_icon_info_load_symbolic_async (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
2316
|
-
<em class="parameter"><code>const <
|
2317
|
-
<em class="parameter"><code>const <
|
2318
|
-
<em class="parameter"><code>const <
|
2319
|
-
<em class="parameter"><code>const <
|
2316
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *fg</code></em>,
|
2317
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *success_color</code></em>,
|
2318
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *warning_color</code></em>,
|
2319
|
+
<em class="parameter"><code>const <span class="type">GdkRGBA</span> *error_color</code></em>,
|
2320
2320
|
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
2321
2321
|
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
2322
2322
|
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
@@ -2340,24 +2340,24 @@ version of this call.</p>
|
|
2340
2340
|
</tr>
|
2341
2341
|
<tr>
|
2342
2342
|
<td class="parameter_name"><p>fg</p></td>
|
2343
|
-
<td class="parameter_description"><p>a <
|
2343
|
+
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the foreground color of the icon</p></td>
|
2344
2344
|
<td class="parameter_annotations"> </td>
|
2345
2345
|
</tr>
|
2346
2346
|
<tr>
|
2347
2347
|
<td class="parameter_name"><p>success_color</p></td>
|
2348
|
-
<td class="parameter_description"><p>a <
|
2348
|
+
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the warning color
|
2349
2349
|
of the icon or <code class="literal">NULL</code> to use the default color. </p></td>
|
2350
2350
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2351
2351
|
</tr>
|
2352
2352
|
<tr>
|
2353
2353
|
<td class="parameter_name"><p>warning_color</p></td>
|
2354
|
-
<td class="parameter_description"><p>a <
|
2354
|
+
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the warning color
|
2355
2355
|
of the icon or <code class="literal">NULL</code> to use the default color. </p></td>
|
2356
2356
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2357
2357
|
</tr>
|
2358
2358
|
<tr>
|
2359
2359
|
<td class="parameter_name"><p>error_color</p></td>
|
2360
|
-
<td class="parameter_description"><p>a <
|
2360
|
+
<td class="parameter_description"><p>a <span class="type">GdkRGBA</span> representing the error color
|
2361
2361
|
of the icon or <code class="literal">NULL</code> to use the default color (allow-none). </p></td>
|
2362
2362
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2363
2363
|
</tr>
|
@@ -2728,7 +2728,7 @@ and attached points should be returned in their original
|
|
2728
2728
|
<a name="gtk-icon-info-get-embedded-rect"></a><h3>gtk_icon_info_get_embedded_rect ()</h3>
|
2729
2729
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
2730
2730
|
gtk_icon_info_get_embedded_rect (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
2731
|
-
<em class="parameter"><code><
|
2731
|
+
<em class="parameter"><code><span class="type">GdkRectangle</span> *rectangle</code></em>);</pre>
|
2732
2732
|
<div class="warning">
|
2733
2733
|
<p><code class="literal">gtk_icon_info_get_embedded_rect</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
2734
2734
|
<p>Embedded rectangles are deprecated</p>
|
@@ -2750,7 +2750,7 @@ gtk_icon_info_get_embedded_rect (<em class="parameter"><code><a class="link" hre
|
|
2750
2750
|
</tr>
|
2751
2751
|
<tr>
|
2752
2752
|
<td class="parameter_name"><p>rectangle</p></td>
|
2753
|
-
<td class="parameter_description"><p><
|
2753
|
+
<td class="parameter_description"><p><span class="type">GdkRectangle</span> in which to store embedded
|
2754
2754
|
rectangle coordinates; coordinates are only stored
|
2755
2755
|
when this function returns <code class="literal">TRUE</code>. </p></td>
|
2756
2756
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
@@ -2769,7 +2769,7 @@ when this function returns <code class="literal">TRUE</code>. </p></td>
|
|
2769
2769
|
<a name="gtk-icon-info-get-attach-points"></a><h3>gtk_icon_info_get_attach_points ()</h3>
|
2770
2770
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
2771
2771
|
gtk_icon_info_get_attach_points (<em class="parameter"><code><a class="link" href="GtkIconTheme.html#GtkIconInfo" title="GtkIconInfo"><span class="type">GtkIconInfo</span></a> *icon_info</code></em>,
|
2772
|
-
<em class="parameter"><code><
|
2772
|
+
<em class="parameter"><code><span class="type">GdkPoint</span> **points</code></em>,
|
2773
2773
|
<em class="parameter"><code><span class="type">gint</span> *n_points</code></em>);</pre>
|
2774
2774
|
<div class="warning">
|
2775
2775
|
<p><code class="literal">gtk_icon_info_get_attach_points</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
@@ -682,7 +682,7 @@
|
|
682
682
|
</tr>
|
683
683
|
<tr>
|
684
684
|
<td class="property_type">
|
685
|
-
<
|
685
|
+
<span class="type">GdkColor</span> *</td>
|
686
686
|
<td class="property_name"><a class="link" href="GtkIconView.html#GtkIconView--s-selection-box-color" title="The “selection-box-color” style property">selection-box-color</a></td>
|
687
687
|
<td class="property_flags">Read</td>
|
688
688
|
</tr>
|
@@ -2085,7 +2085,7 @@ gtk_icon_view_get_activate_on_single_click
|
|
2085
2085
|
gtk_icon_view_get_cell_rect (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
|
2086
2086
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
2087
2087
|
<em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
|
2088
|
-
<em class="parameter"><code><
|
2088
|
+
<em class="parameter"><code><span class="type">GdkRectangle</span> *rect</code></em>);</pre>
|
2089
2089
|
<p>Fills the bounding rectangle in widget coordinates for the cell specified by
|
2090
2090
|
<em class="parameter"><code>path</code></em>
|
2091
2091
|
and <em class="parameter"><code>cell</code></em>
|
@@ -2803,10 +2803,10 @@ displayed. Column numbers start at 0.</p>
|
|
2803
2803
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2804
2804
|
gtk_icon_view_enable_model_drag_source
|
2805
2805
|
(<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
|
2806
|
-
<em class="parameter"><code><
|
2806
|
+
<em class="parameter"><code><span class="type">GdkModifierType</span> start_button_mask</code></em>,
|
2807
2807
|
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
2808
2808
|
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
2809
|
-
<em class="parameter"><code><
|
2809
|
+
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
2810
2810
|
<p>Turns <em class="parameter"><code>icon_view</code></em>
|
2811
2811
|
into a drag source for automatic DND. Calling this
|
2812
2812
|
method sets <a class="link" href="GtkIconView.html#GtkIconView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
|
@@ -2859,7 +2859,7 @@ widget</p></td>
|
|
2859
2859
|
gtk_icon_view_enable_model_drag_dest (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
|
2860
2860
|
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
2861
2861
|
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
2862
|
-
<em class="parameter"><code><
|
2862
|
+
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
2863
2863
|
<p>Turns <em class="parameter"><code>icon_view</code></em>
|
2864
2864
|
into a drop destination for automatic DND. Calling this
|
2865
2865
|
method sets <a class="link" href="GtkIconView.html#GtkIconView--reorderable" title="The “reorderable” property"><span class="type">“reorderable”</span></a> to <code class="literal">FALSE</code>.</p>
|
@@ -3467,7 +3467,7 @@ property are both set to -1, no texts are displayed.</p>
|
|
3467
3467
|
<hr>
|
3468
3468
|
<div class="refsect2">
|
3469
3469
|
<a name="GtkIconView--s-selection-box-color"></a><h3>The <code class="literal">“selection-box-color”</code> style property</h3>
|
3470
|
-
<pre class="programlisting"> “selection-box-color” <
|
3470
|
+
<pre class="programlisting"> “selection-box-color” <span class="type">GdkColor</span> *</pre>
|
3471
3471
|
<p>The color of the selection box.</p>
|
3472
3472
|
<div class="warning">
|
3473
3473
|
<p><code class="literal">GtkIconView:selection-box-color</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
@@ -434,7 +434,7 @@ display an animation (<span class="type">GdkPixbufAnimation</span>) instead of a
|
|
434
434
|
<p><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> is a subclass of <a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a>, which implies that you can
|
435
435
|
align it (center, left, right) and add padding to it, using
|
436
436
|
<a class="link" href="GtkMisc.html" title="GtkMisc"><span class="type">GtkMisc</span></a> methods.</p>
|
437
|
-
<p><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> is a “no window” widget (has no <
|
437
|
+
<p><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> is a “no window” widget (has no <span class="type">GdkWindow</span> of its own),
|
438
438
|
so by default does not receive events. If you want to receive events
|
439
439
|
on the image, such as button clicks, place the image inside a
|
440
440
|
<a class="link" href="GtkEventBox.html" title="GtkEventBox"><span class="type">GtkEventBox</span></a>, then connect to the event signals on the event box.</p>
|
@@ -298,7 +298,7 @@ binding of Ctrl+M:</p>
|
|
298
298
|
<span class="function"><a href="GtkLabel.html#gtk-label-set-xalign">gtk_label_set_xalign</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_LABEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">),</span><span class="normal"> </span><span class="number">0.0</span><span class="symbol">);</span>
|
299
299
|
|
300
300
|
<span class="function"><a href="GtkWidget.html#gtk-widget-add-accelerator">gtk_widget_add_accelerator</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu_item</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"activate"</span><span class="symbol">,</span><span class="normal"> accel_group</span><span class="symbol">,</span>
|
301
|
-
<span class="normal"> GDK_KEY_m</span><span class="symbol">,</span><span class="normal">
|
301
|
+
<span class="normal"> GDK_KEY_m</span><span class="symbol">,</span><span class="normal"> GDK_CONTROL_MASK</span><span class="symbol">,</span><span class="normal"> <a href="gtk3-Keyboard-Accelerators.html#GTK-ACCEL-VISIBLE:CAPS">GTK_ACCEL_VISIBLE</a></span><span class="symbol">);</span>
|
302
302
|
<span class="function"><a href="GtkAccelLabel.html#gtk-accel-label-set-accel-widget">gtk_accel_label_set_accel_widget</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_ACCEL_LABEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">),</span><span class="normal"> menu_item</span><span class="symbol">);</span>
|
303
303
|
|
304
304
|
<span class="function"><a href="GtkBox.html#gtk-box-pack-end">gtk_box_pack_end</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_BOX</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">),</span><span class="normal"> label</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
@@ -68,7 +68,7 @@
|
|
68
68
|
</tr>
|
69
69
|
<tr>
|
70
70
|
<td class="function_type">
|
71
|
-
<
|
71
|
+
<span class="returnvalue">GdkScreen</span> *
|
72
72
|
</td>
|
73
73
|
<td class="function_name">
|
74
74
|
<a class="link" href="GtkInvisible.html#gtk-invisible-get-screen" title="gtk_invisible_get_screen ()">gtk_invisible_get_screen</a> <span class="c_punctuation">()</span>
|
@@ -87,7 +87,7 @@
|
|
87
87
|
</colgroup>
|
88
88
|
<tbody><tr>
|
89
89
|
<td class="property_type">
|
90
|
-
<
|
90
|
+
<span class="type">GdkScreen</span> *</td>
|
91
91
|
<td class="property_name"><a class="link" href="GtkInvisible.html#GtkInvisible--screen" title="The “screen” property">screen</a></td>
|
92
92
|
<td class="property_flags">Read / Write</td>
|
93
93
|
</tr></tbody>
|
@@ -148,7 +148,7 @@ gtk_invisible_new (<em class="parameter"><code><span class="type">void</span></c
|
|
148
148
|
<div class="refsect2">
|
149
149
|
<a name="gtk-invisible-new-for-screen"></a><h3>gtk_invisible_new_for_screen ()</h3>
|
150
150
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
151
|
-
gtk_invisible_new_for_screen (<em class="parameter"><code><
|
151
|
+
gtk_invisible_new_for_screen (<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
152
152
|
<p>Creates a new <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> object for a specified screen</p>
|
153
153
|
<div class="refsect3">
|
154
154
|
<a name="gtk-invisible-new-for-screen.parameters"></a><h4>Parameters</h4>
|
@@ -160,7 +160,7 @@ gtk_invisible_new_for_screen (<em class="parameter"><code><a href="../html/GdkSc
|
|
160
160
|
</colgroup>
|
161
161
|
<tbody><tr>
|
162
162
|
<td class="parameter_name"><p>screen</p></td>
|
163
|
-
<td class="parameter_description"><p>a <
|
163
|
+
<td class="parameter_description"><p>a <span class="type">GdkScreen</span> which identifies on which
|
164
164
|
the new <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> will be created.</p></td>
|
165
165
|
<td class="parameter_annotations"> </td>
|
166
166
|
</tr></tbody>
|
@@ -177,8 +177,8 @@ the new <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span clas
|
|
177
177
|
<a name="gtk-invisible-set-screen"></a><h3>gtk_invisible_set_screen ()</h3>
|
178
178
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
179
179
|
gtk_invisible_set_screen (<em class="parameter"><code><a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> *invisible</code></em>,
|
180
|
-
<em class="parameter"><code><
|
181
|
-
<p>Sets the <
|
180
|
+
<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);</pre>
|
181
|
+
<p>Sets the <span class="type">GdkScreen</span> where the <a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> object will be displayed.</p>
|
182
182
|
<div class="refsect3">
|
183
183
|
<a name="gtk-invisible-set-screen.parameters"></a><h4>Parameters</h4>
|
184
184
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -195,7 +195,7 @@ gtk_invisible_set_screen (<em class="parameter"><code><a class="link" href="GtkI
|
|
195
195
|
</tr>
|
196
196
|
<tr>
|
197
197
|
<td class="parameter_name"><p>screen</p></td>
|
198
|
-
<td class="parameter_description"><p>a <
|
198
|
+
<td class="parameter_description"><p>a <span class="type">GdkScreen</span>.</p></td>
|
199
199
|
<td class="parameter_annotations"> </td>
|
200
200
|
</tr>
|
201
201
|
</tbody>
|
@@ -206,9 +206,9 @@ gtk_invisible_set_screen (<em class="parameter"><code><a class="link" href="GtkI
|
|
206
206
|
<hr>
|
207
207
|
<div class="refsect2">
|
208
208
|
<a name="gtk-invisible-get-screen"></a><h3>gtk_invisible_get_screen ()</h3>
|
209
|
-
<pre class="programlisting"><
|
209
|
+
<pre class="programlisting"><span class="returnvalue">GdkScreen</span> *
|
210
210
|
gtk_invisible_get_screen (<em class="parameter"><code><a class="link" href="GtkInvisible.html" title="GtkInvisible"><span class="type">GtkInvisible</span></a> *invisible</code></em>);</pre>
|
211
|
-
<p>Returns the <
|
211
|
+
<p>Returns the <span class="type">GdkScreen</span> object associated with <em class="parameter"><code>invisible</code></em>
|
212
212
|
</p>
|
213
213
|
<div class="refsect3">
|
214
214
|
<a name="gtk-invisible-get-screen.parameters"></a><h4>Parameters</h4>
|
@@ -227,7 +227,7 @@ gtk_invisible_get_screen (<em class="parameter"><code><a class="link" href="GtkI
|
|
227
227
|
</div>
|
228
228
|
<div class="refsect3">
|
229
229
|
<a name="gtk-invisible-get-screen.returns"></a><h4>Returns</h4>
|
230
|
-
<p>the associated <
|
230
|
+
<p>the associated <span class="type">GdkScreen</span>. </p>
|
231
231
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
232
232
|
</div>
|
233
233
|
<p class="since">Since: 2.2</p>
|
@@ -244,7 +244,7 @@ gtk_invisible_get_screen (<em class="parameter"><code><a class="link" href="GtkI
|
|
244
244
|
<a name="GtkInvisible.property-details"></a><h2>Property Details</h2>
|
245
245
|
<div class="refsect2">
|
246
246
|
<a name="GtkInvisible--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
|
247
|
-
<pre class="programlisting"> “screen” <
|
247
|
+
<pre class="programlisting"> “screen” <span class="type">GdkScreen</span> *</pre>
|
248
248
|
<p>The screen where this window will be displayed.</p>
|
249
249
|
<p>Flags: Read / Write</p>
|
250
250
|
</div>
|
@@ -118,7 +118,7 @@
|
|
118
118
|
</tr>
|
119
119
|
<tr>
|
120
120
|
<td class="function_type">
|
121
|
-
<
|
121
|
+
<span class="returnvalue">GdkWindow</span> *
|
122
122
|
</td>
|
123
123
|
<td class="function_name">
|
124
124
|
<a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" title="gtk_layout_get_bin_window ()">gtk_layout_get_bin_window</a> <span class="c_punctuation">()</span>
|
@@ -213,7 +213,7 @@ different in that it supports scrolling natively due to implementing
|
|
213
213
|
<p>If you just want to draw, a <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a> is a better choice since it has
|
214
214
|
lower overhead. If you just need to position child widgets at specific
|
215
215
|
points, then <a class="link" href="GtkFixed.html" title="GtkFixed"><span class="type">GtkFixed</span></a> provides that functionality on its own.</p>
|
216
|
-
<p>When handling expose events on a <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>, you must draw to the <
|
216
|
+
<p>When handling expose events on a <a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a>, you must draw to the <span class="type">GdkWindow</span>
|
217
217
|
returned by <a class="link" href="GtkLayout.html#gtk-layout-get-bin-window" title="gtk_layout_get_bin_window ()"><code class="function">gtk_layout_get_bin_window()</code></a>, rather than to the one returned by
|
218
218
|
<a class="link" href="GtkWidget.html#gtk-widget-get-window" title="gtk_widget_get_window ()"><code class="function">gtk_widget_get_window()</code></a> as you would for a <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a>.</p>
|
219
219
|
</div>
|
@@ -572,7 +572,7 @@ gtk_layout_set_vadjustment (<em class="parameter"><code><a class="link" href="Gt
|
|
572
572
|
<hr>
|
573
573
|
<div class="refsect2">
|
574
574
|
<a name="gtk-layout-get-bin-window"></a><h3>gtk_layout_get_bin_window ()</h3>
|
575
|
-
<pre class="programlisting"><
|
575
|
+
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
576
576
|
gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="GtkLayout.html" title="GtkLayout"><span class="type">GtkLayout</span></a> *layout</code></em>);</pre>
|
577
577
|
<p>Retrieve the bin window of the layout used for drawing operations.</p>
|
578
578
|
<div class="refsect3">
|
@@ -592,7 +592,7 @@ gtk_layout_get_bin_window (<em class="parameter"><code><a class="link" href="Gtk
|
|
592
592
|
</div>
|
593
593
|
<div class="refsect3">
|
594
594
|
<a name="gtk-layout-get-bin-window.returns"></a><h4>Returns</h4>
|
595
|
-
<p>a <
|
595
|
+
<p>a <span class="type">GdkWindow</span>. </p>
|
596
596
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
597
597
|
</div>
|
598
598
|
<p class="since">Since: 2.14</p>
|