gdk3 3.1.6-x86-mingw32 → 3.1.7-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/gdk3/loader.rb +1 -0
- data/vendor/local/bin/gtk-builder-tool.exe +0 -0
- data/vendor/local/bin/gtk-encode-symbolic-svg.exe +0 -0
- data/vendor/local/bin/gtk-launch.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-3.0.exe +0 -0
- data/vendor/local/bin/gtk-query-settings.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/gtk3-demo-application.exe +0 -0
- data/vendor/local/bin/gtk3-demo.exe +0 -0
- data/vendor/local/bin/gtk3-icon-browser.exe +0 -0
- data/vendor/local/bin/gtk3-widget-factory.exe +0 -0
- data/vendor/local/bin/libepoxy-0.dll +0 -0
- data/vendor/local/bin/libgailutil-3-0.dll +0 -0
- data/vendor/local/bin/libgdk-3-0.dll +0 -0
- data/vendor/local/bin/libgtk-3-0.dll +0 -0
- data/vendor/local/bin/libgtkreftestprivate-0.dll +0 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkversionmacros.h +1 -1
- data/vendor/local/include/gtk-3.0/gtk/gtktextview.h +1 -2
- data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +3 -3
- data/vendor/local/lib/girepository-1.0/Gtk-3.0.typelib +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules.cache +1 -1
- data/vendor/local/lib/libepoxy.dll.a +0 -0
- data/vendor/local/lib/libgailutil-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.la +1 -1
- data/vendor/local/lib/libgtk-3.dll.a +0 -0
- data/vendor/local/lib/libgtk-3.la +1 -1
- data/vendor/local/lib/libgtkreftestprivate.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gail-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-3.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Gtk-3.0.gir +39 -35
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailMisc.html +22 -22
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailTextUtil.html +4 -4
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDevice.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDeviceManager.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDevicePad.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplay.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDrawingContext.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk3/GdkFrameClock.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/GdkScreen.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cairo-Interaction.html +39 -39
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cursors.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Events.html +2 -2
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-General.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Keyboard-Handling.html +5 -5
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pango-Interaction.html +54 -54
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pixbufs.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Selections.html +1 -1
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Threads.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Windows.html +73 -73
- data/vendor/local/share/gtk-doc/html/gdk3/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAboutDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActivatable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAssistant.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuildable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererPixbuf.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCssProvider.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEditable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventController.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooser.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelection.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelectionDialog.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGLArea.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGesture.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGestureMultiPress.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGestureSingle.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHeaderBar.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLabel.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListStore.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMessageDialog.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOffscreenWindow.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPadController.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaperSize.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlacesSidebar.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlug.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPopover.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintContext.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintJob.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentManager.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScale.html +19 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchBar.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinButton.html +10 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +77 -77
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +94 -94
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleProvider.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextIter.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +51 -51
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +38 -32
- data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItem.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItemGroup.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolShell.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSortable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeStore.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +323 -323
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +61 -59
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s05.html +0 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ch02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/ch26s02.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk3/ch32s05.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/chap-drawing-model.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/chap-input-handling.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-bonus-points.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-theme-GtkStyleContext-engines.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkGradient.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkTreeView-drag-and-drop.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Orientable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Stock-Items.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3.devhelp2 +1 -0
- data/vendor/local/share/gtk-doc/html/gtk3/index.html +1 -1
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/man/man1/broadwayd.1 +1 -1
- data/vendor/local/share/man/man1/gtk-builder-tool.1 +1 -1
- data/vendor/local/share/man/man1/gtk-encode-symbolic-svg.1 +1 -1
- data/vendor/local/share/man/man1/gtk-launch.1 +1 -1
- data/vendor/local/share/man/man1/gtk-query-immodules-3.0.1 +1 -1
- data/vendor/local/share/man/man1/gtk-query-settings.1 +1 -1
- data/vendor/local/share/man/man1/gtk-update-icon-cache.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-demo-application.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-demo.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-icon-browser.1 +1 -1
- data/vendor/local/share/man/man1/gtk3-widget-factory.1 +1 -1
- metadata +10 -10
@@ -558,7 +558,7 @@
|
|
558
558
|
</tr>
|
559
559
|
<tr>
|
560
560
|
<td class="function_type">
|
561
|
-
<
|
561
|
+
<span class="returnvalue">cairo_surface_t</span> *
|
562
562
|
</td>
|
563
563
|
<td class="function_name">
|
564
564
|
<a class="link" href="GtkIconView.html#gtk-icon-view-create-drag-icon" title="gtk_icon_view_create_drag_icon ()">gtk_icon_view_create_drag_icon</a> <span class="c_punctuation">()</span>
|
@@ -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><a href="../
|
2088
|
+
<em class="parameter"><code><a href="../gdk4/gdk4-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *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><a href="../
|
2806
|
+
<em class="parameter"><code><a href="../gdk4/gdk4-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> 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><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>,
|
2809
|
-
<em class="parameter"><code><a href="../
|
2809
|
+
<em class="parameter"><code><a href="../gdk4/gdk4-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> 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 <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</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><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>,
|
2862
|
-
<em class="parameter"><code><a href="../
|
2862
|
+
<em class="parameter"><code><a href="../gdk4/gdk4-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> 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 <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
@@ -3150,10 +3150,10 @@ or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/htm
|
|
3150
3150
|
<hr>
|
3151
3151
|
<div class="refsect2">
|
3152
3152
|
<a name="gtk-icon-view-create-drag-icon"></a><h3>gtk_icon_view_create_drag_icon ()</h3>
|
3153
|
-
<pre class="programlisting"><
|
3153
|
+
<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> *
|
3154
3154
|
gtk_icon_view_create_drag_icon (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
|
3155
3155
|
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
|
3156
|
-
<p>Creates a <
|
3156
|
+
<p>Creates a <span class="type">cairo_surface_t</span> representation of the item at <em class="parameter"><code>path</code></em>
|
3157
3157
|
.
|
3158
3158
|
This image is used for a drag icon.</p>
|
3159
3159
|
<div class="refsect3">
|
@@ -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>
|
@@ -52,7 +52,7 @@
|
|
52
52
|
</tr>
|
53
53
|
<tr>
|
54
54
|
<td class="function_type">
|
55
|
-
<a href="
|
55
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
56
56
|
</td>
|
57
57
|
<td class="function_name">
|
58
58
|
<a class="link" href="GtkImage.html#gtk-image-get-pixbuf" title="gtk_image_get_pixbuf ()">gtk_image_get_pixbuf</a> <span class="c_punctuation">()</span>
|
@@ -68,7 +68,7 @@
|
|
68
68
|
</tr>
|
69
69
|
<tr>
|
70
70
|
<td class="function_type">
|
71
|
-
<a href="
|
71
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
72
72
|
</td>
|
73
73
|
<td class="function_name">
|
74
74
|
<a class="link" href="GtkImage.html#gtk-image-get-animation" title="gtk_image_get_animation ()">gtk_image_get_animation</a> <span class="c_punctuation">()</span>
|
@@ -317,13 +317,13 @@
|
|
317
317
|
</tr>
|
318
318
|
<tr>
|
319
319
|
<td class="property_type">
|
320
|
-
<a href="
|
320
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *</td>
|
321
321
|
<td class="property_name"><a class="link" href="GtkImage.html#GtkImage--pixbuf" title="The “pixbuf” property">pixbuf</a></td>
|
322
322
|
<td class="property_flags">Read / Write</td>
|
323
323
|
</tr>
|
324
324
|
<tr>
|
325
325
|
<td class="property_type">
|
326
|
-
<a href="
|
326
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct"><span class="type">GdkPixbufAnimation</span></a> *</td>
|
327
327
|
<td class="property_name"><a class="link" href="GtkImage.html#GtkImage--pixbuf-animation" title="The “pixbuf-animation” property">pixbuf-animation</a></td>
|
328
328
|
<td class="property_flags">Read / Write</td>
|
329
329
|
</tr>
|
@@ -406,7 +406,7 @@ GtkImage implements
|
|
406
406
|
<a name="GtkImage.description"></a><h2>Description</h2>
|
407
407
|
<p>The <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> widget displays an image. Various kinds of object
|
408
408
|
can be displayed as an image; most typically, you would load a
|
409
|
-
<a href="
|
409
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> ("pixel buffer") from a file, and then display that.
|
410
410
|
There’s a convenience function to do this, <a class="link" href="GtkImage.html#gtk-image-new-from-file" title="gtk_image_new_from_file ()"><code class="function">gtk_image_new_from_file()</code></a>,
|
411
411
|
used as follows:</p>
|
412
412
|
<div class="informalexample">
|
@@ -427,14 +427,14 @@ If the file isn’t loaded successfully, the image will contain a
|
|
427
427
|
“broken image” icon similar to that used in many web browsers.
|
428
428
|
If you want to handle errors in loading the file yourself,
|
429
429
|
for example by displaying an error message, then load the image with
|
430
|
-
<a href="
|
430
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file"><code class="function">gdk_pixbuf_new_from_file()</code></a>, then create the <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> with
|
431
431
|
<a class="link" href="GtkImage.html#gtk-image-new-from-pixbuf" title="gtk_image_new_from_pixbuf ()"><code class="function">gtk_image_new_from_pixbuf()</code></a>.</p>
|
432
432
|
<p>The image file may contain an animation, if so the <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> will
|
433
|
-
display an animation (<a href="
|
433
|
+
display an animation (<a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct"><span class="type">GdkPixbufAnimation</span></a>) instead of a static image.</p>
|
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 <a href="../
|
437
|
+
<p><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> is a “no window” widget (has no <a href="../gdk4/gdk4-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a> 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>
|
@@ -526,8 +526,8 @@ the image will be the same as the origin of the event box.</p>
|
|
526
526
|
files, such as image files. GTK+ comes with a program to avoid this,
|
527
527
|
called “gdk-pixbuf-csource”. This library
|
528
528
|
allows you to convert an image into a C variable declaration, which
|
529
|
-
can then be loaded into a <a href="
|
530
|
-
<a href="
|
529
|
+
can then be loaded into a <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> using
|
530
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-inline"><code class="function">gdk_pixbuf_new_from_inline()</code></a>.</p>
|
531
531
|
</div>
|
532
532
|
<div class="refsect2">
|
533
533
|
<a name="id-1.3.8.3.9.9"></a><h3>CSS nodes</h3>
|
@@ -582,9 +582,9 @@ icon size (<a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" t
|
|
582
582
|
<hr>
|
583
583
|
<div class="refsect2">
|
584
584
|
<a name="gtk-image-get-pixbuf"></a><h3>gtk_image_get_pixbuf ()</h3>
|
585
|
-
<pre class="programlisting"><a href="
|
585
|
+
<pre class="programlisting"><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="returnvalue">GdkPixbuf</span></a> *
|
586
586
|
gtk_image_get_pixbuf (<em class="parameter"><code><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> *image</code></em>);</pre>
|
587
|
-
<p>Gets the <a href="
|
587
|
+
<p>Gets the <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> being displayed by the <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a>.
|
588
588
|
The storage type of the image must be <a class="link" href="GtkImage.html#GTK-IMAGE-EMPTY:CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a> or
|
589
589
|
<a class="link" href="GtkImage.html#GTK-IMAGE-PIXBUF:CAPS"><code class="literal">GTK_IMAGE_PIXBUF</code></a> (see <a class="link" href="GtkImage.html#gtk-image-get-storage-type" title="gtk_image_get_storage_type ()"><code class="function">gtk_image_get_storage_type()</code></a>).
|
590
590
|
The caller of this function does not own a reference to the
|
@@ -660,9 +660,9 @@ size (<a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title=
|
|
660
660
|
<hr>
|
661
661
|
<div class="refsect2">
|
662
662
|
<a name="gtk-image-get-animation"></a><h3>gtk_image_get_animation ()</h3>
|
663
|
-
<pre class="programlisting"><a href="
|
663
|
+
<pre class="programlisting"><a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct"><span class="returnvalue">GdkPixbufAnimation</span></a> *
|
664
664
|
gtk_image_get_animation (<em class="parameter"><code><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> *image</code></em>);</pre>
|
665
|
-
<p>Gets the <a href="
|
665
|
+
<p>Gets the <a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct"><span class="type">GdkPixbufAnimation</span></a> being displayed by the <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a>.
|
666
666
|
The storage type of the image must be <a class="link" href="GtkImage.html#GTK-IMAGE-EMPTY:CAPS"><code class="literal">GTK_IMAGE_EMPTY</code></a> or
|
667
667
|
<a class="link" href="GtkImage.html#GTK-IMAGE-ANIMATION:CAPS"><code class="literal">GTK_IMAGE_ANIMATION</code></a> (see <a class="link" href="GtkImage.html#gtk-image-get-storage-type" title="gtk_image_get_storage_type ()"><code class="function">gtk_image_get_storage_type()</code></a>).
|
668
668
|
The caller of this function does not own a reference to the
|
@@ -816,9 +816,9 @@ it always returns a valid <a class="link" href="GtkImage.html" title="GtkImage">
|
|
816
816
|
<p>If the file contains an animation, the image will contain an
|
817
817
|
animation.</p>
|
818
818
|
<p>If you need to detect failures to load the file, use
|
819
|
-
<a href="
|
819
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file"><code class="function">gdk_pixbuf_new_from_file()</code></a> to load the file yourself, then create
|
820
820
|
the <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> from the pixbuf. (Or for animations, use
|
821
|
-
<a href="
|
821
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a>).</p>
|
822
822
|
<p>The storage type (<a class="link" href="GtkImage.html#gtk-image-get-storage-type" title="gtk_image_get_storage_type ()"><code class="function">gtk_image_get_storage_type()</code></a>) of the returned
|
823
823
|
image is not defined, it will be whatever is appropriate for
|
824
824
|
displaying the file.</p>
|
@@ -893,7 +893,7 @@ icon set; you still need to unref it if you own references.
|
|
893
893
|
<div class="refsect2">
|
894
894
|
<a name="gtk-image-new-from-pixbuf"></a><h3>gtk_image_new_from_pixbuf ()</h3>
|
895
895
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
896
|
-
gtk_image_new_from_pixbuf (<em class="parameter"><code><a href="
|
896
|
+
gtk_image_new_from_pixbuf (<em class="parameter"><code><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
897
897
|
<p>Creates a new <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> displaying <em class="parameter"><code>pixbuf</code></em>
|
898
898
|
.
|
899
899
|
The <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> does not assume a reference to the
|
@@ -912,7 +912,7 @@ you should use <a class="link" href="GtkImage.html#gtk-image-new-from-icon-name"
|
|
912
912
|
</colgroup>
|
913
913
|
<tbody><tr>
|
914
914
|
<td class="parameter_name"><p>pixbuf</p></td>
|
915
|
-
<td class="parameter_description"><p> a <a href="
|
915
|
+
<td class="parameter_description"><p> a <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
916
916
|
<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>
|
917
917
|
</tr></tbody>
|
918
918
|
</table></div>
|
@@ -969,7 +969,7 @@ You can register your own stock icon names, see
|
|
969
969
|
<div class="refsect2">
|
970
970
|
<a name="gtk-image-new-from-animation"></a><h3>gtk_image_new_from_animation ()</h3>
|
971
971
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
972
|
-
gtk_image_new_from_animation (<em class="parameter"><code><a href="
|
972
|
+
gtk_image_new_from_animation (<em class="parameter"><code><a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
973
973
|
<p>Creates a <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> displaying the given animation.
|
974
974
|
The <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> does not assume a reference to the
|
975
975
|
animation; you still need to unref it if you own references.
|
@@ -1087,9 +1087,9 @@ it always returns a valid <a class="link" href="GtkImage.html" title="GtkImage">
|
|
1087
1087
|
<p>If the file contains an animation, the image will contain an
|
1088
1088
|
animation.</p>
|
1089
1089
|
<p>If you need to detect failures to load the file, use
|
1090
|
-
<a href="
|
1090
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file"><code class="function">gdk_pixbuf_new_from_file()</code></a> to load the file yourself, then create
|
1091
1091
|
the <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> from the pixbuf. (Or for animations, use
|
1092
|
-
<a href="
|
1092
|
+
<a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a>).</p>
|
1093
1093
|
<p>The storage type (<a class="link" href="GtkImage.html#gtk-image-get-storage-type" title="gtk_image_get_storage_type ()"><code class="function">gtk_image_get_storage_type()</code></a>) of the returned
|
1094
1094
|
image is not defined, it will be whatever is appropriate for
|
1095
1095
|
displaying the file.</p>
|
@@ -1118,7 +1118,7 @@ displaying the file.</p>
|
|
1118
1118
|
<div class="refsect2">
|
1119
1119
|
<a name="gtk-image-new-from-surface"></a><h3>gtk_image_new_from_surface ()</h3>
|
1120
1120
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
1121
|
-
gtk_image_new_from_surface (<em class="parameter"><code><
|
1121
|
+
gtk_image_new_from_surface (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>);</pre>
|
1122
1122
|
<p>Creates a new <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> displaying <em class="parameter"><code>surface</code></em>
|
1123
1123
|
.
|
1124
1124
|
The <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> does not assume a reference to the
|
@@ -1134,7 +1134,7 @@ surface; you still need to unref it if you own references.
|
|
1134
1134
|
</colgroup>
|
1135
1135
|
<tbody><tr>
|
1136
1136
|
<td class="parameter_name"><p>surface</p></td>
|
1137
|
-
<td class="parameter_description"><p> a <
|
1137
|
+
<td class="parameter_description"><p> a <span class="type">cairo_surface_t</span>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1138
1138
|
<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>
|
1139
1139
|
</tr></tbody>
|
1140
1140
|
</table></div>
|
@@ -1220,7 +1220,7 @@ gtk_image_set_from_icon_set (<em class="parameter"><code><a class="link" href="G
|
|
1220
1220
|
<a name="gtk-image-set-from-pixbuf"></a><h3>gtk_image_set_from_pixbuf ()</h3>
|
1221
1221
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1222
1222
|
gtk_image_set_from_pixbuf (<em class="parameter"><code><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> *image</code></em>,
|
1223
|
-
<em class="parameter"><code><a href="
|
1223
|
+
<em class="parameter"><code><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
1224
1224
|
<p>See <a class="link" href="GtkImage.html#gtk-image-new-from-pixbuf" title="gtk_image_new_from_pixbuf ()"><code class="function">gtk_image_new_from_pixbuf()</code></a> for details.</p>
|
1225
1225
|
<div class="refsect3">
|
1226
1226
|
<a name="gtk-image-set-from-pixbuf.parameters"></a><h4>Parameters</h4>
|
@@ -1238,7 +1238,7 @@ gtk_image_set_from_pixbuf (<em class="parameter"><code><a class="link" href="Gtk
|
|
1238
1238
|
</tr>
|
1239
1239
|
<tr>
|
1240
1240
|
<td class="parameter_name"><p>pixbuf</p></td>
|
1241
|
-
<td class="parameter_description"><p> a <a href="
|
1241
|
+
<td class="parameter_description"><p> a <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1242
1242
|
<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>
|
1243
1243
|
</tr>
|
1244
1244
|
</tbody>
|
@@ -1290,7 +1290,7 @@ gtk_image_set_from_stock (<em class="parameter"><code><a class="link" href="GtkI
|
|
1290
1290
|
<a name="gtk-image-set-from-animation"></a><h3>gtk_image_set_from_animation ()</h3>
|
1291
1291
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1292
1292
|
gtk_image_set_from_animation (<em class="parameter"><code><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> *image</code></em>,
|
1293
|
-
<em class="parameter"><code><a href="
|
1293
|
+
<em class="parameter"><code><a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct"><span class="type">GdkPixbufAnimation</span></a> *animation</code></em>);</pre>
|
1294
1294
|
<p>Causes the <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> to display the given animation (or display
|
1295
1295
|
nothing, if you set the animation to <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</p>
|
1296
1296
|
<div class="refsect3">
|
@@ -1309,7 +1309,7 @@ nothing, if you set the animation to <a href="/home/vagrant/ruby-gnome2.win32/gl
|
|
1309
1309
|
</tr>
|
1310
1310
|
<tr>
|
1311
1311
|
<td class="parameter_name"><p>animation</p></td>
|
1312
|
-
<td class="parameter_description"><p>the <a href="
|
1312
|
+
<td class="parameter_description"><p>the <a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct"><span class="type">GdkPixbufAnimation</span></a></p></td>
|
1313
1313
|
<td class="parameter_annotations"> </td>
|
1314
1314
|
</tr>
|
1315
1315
|
</tbody>
|
@@ -1425,7 +1425,7 @@ gtk_image_set_from_resource (<em class="parameter"><code><a class="link" href="G
|
|
1425
1425
|
<a name="gtk-image-set-from-surface"></a><h3>gtk_image_set_from_surface ()</h3>
|
1426
1426
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1427
1427
|
gtk_image_set_from_surface (<em class="parameter"><code><a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> *image</code></em>,
|
1428
|
-
<em class="parameter"><code><
|
1428
|
+
<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>);</pre>
|
1429
1429
|
<p>See <a class="link" href="GtkImage.html#gtk-image-new-from-surface" title="gtk_image_new_from_surface ()"><code class="function">gtk_image_new_from_surface()</code></a> for details.</p>
|
1430
1430
|
<div class="refsect3">
|
1431
1431
|
<a name="gtk-image-set-from-surface.parameters"></a><h4>Parameters</h4>
|
@@ -1583,7 +1583,7 @@ functions), but they will all return <a href="/home/vagrant/ruby-gnome2.win32/gl
|
|
1583
1583
|
<tr>
|
1584
1584
|
<td class="enum_member_name"><p><a name="GTK-IMAGE-PIXBUF:CAPS"></a>GTK_IMAGE_PIXBUF</p></td>
|
1585
1585
|
<td class="enum_member_description">
|
1586
|
-
<p>the widget contains a <a href="
|
1586
|
+
<p>the widget contains a <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a></p>
|
1587
1587
|
</td>
|
1588
1588
|
<td class="enum_member_annotations"> </td>
|
1589
1589
|
</tr>
|
@@ -1604,7 +1604,7 @@ functions), but they will all return <a href="/home/vagrant/ruby-gnome2.win32/gl
|
|
1604
1604
|
<tr>
|
1605
1605
|
<td class="enum_member_name"><p><a name="GTK-IMAGE-ANIMATION:CAPS"></a>GTK_IMAGE_ANIMATION</p></td>
|
1606
1606
|
<td class="enum_member_description">
|
1607
|
-
<p>the widget contains a <a href="
|
1607
|
+
<p>the widget contains a <a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct"><span class="type">GdkPixbufAnimation</span></a></p>
|
1608
1608
|
</td>
|
1609
1609
|
<td class="enum_member_annotations"> </td>
|
1610
1610
|
</tr>
|
@@ -1627,7 +1627,7 @@ functions), but they will all return <a href="/home/vagrant/ruby-gnome2.win32/gl
|
|
1627
1627
|
<tr>
|
1628
1628
|
<td class="enum_member_name"><p><a name="GTK-IMAGE-SURFACE:CAPS"></a>GTK_IMAGE_SURFACE</p></td>
|
1629
1629
|
<td class="enum_member_description">
|
1630
|
-
<p>the widget contains a <
|
1630
|
+
<p>the widget contains a <span class="type">cairo_surface_t</span>.
|
1631
1631
|
This image type was added in GTK+ 3.10</p>
|
1632
1632
|
</td>
|
1633
1633
|
<td class="enum_member_annotations"> </td>
|
@@ -1689,14 +1689,14 @@ changed, the image will be updated automatically.</p>
|
|
1689
1689
|
<hr>
|
1690
1690
|
<div class="refsect2">
|
1691
1691
|
<a name="GtkImage--pixbuf"></a><h3>The <code class="literal">“pixbuf”</code> property</h3>
|
1692
|
-
<pre class="programlisting"> “pixbuf” <a href="
|
1692
|
+
<pre class="programlisting"> “pixbuf” <a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> *</pre>
|
1693
1693
|
<p>A GdkPixbuf to display.</p>
|
1694
1694
|
<p>Flags: Read / Write</p>
|
1695
1695
|
</div>
|
1696
1696
|
<hr>
|
1697
1697
|
<div class="refsect2">
|
1698
1698
|
<a name="GtkImage--pixbuf-animation"></a><h3>The <code class="literal">“pixbuf-animation”</code> property</h3>
|
1699
|
-
<pre class="programlisting"> “pixbuf-animation” <a href="
|
1699
|
+
<pre class="programlisting"> “pixbuf-animation” <a href="../gdk-pixbuf/gdk-pixbuf-Animations.html#GdkPixbufAnimation-struct"><span class="type">GdkPixbufAnimation</span></a> *</pre>
|
1700
1700
|
<p>GdkPixbufAnimation to display.</p>
|
1701
1701
|
<p>Flags: Read / Write</p>
|
1702
1702
|
</div>
|
@@ -1763,7 +1763,7 @@ and <a class="link" href="GtkImage.html#GTK-IMAGE-GICON:CAPS"><code class="liter
|
|
1763
1763
|
</div>
|
1764
1764
|
<div class="refsect1">
|
1765
1765
|
<a name="GtkImage.see-also"></a><h2>See Also</h2>
|
1766
|
-
<p><a href="
|
1766
|
+
<p><a href="../gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a></p>
|
1767
1767
|
</div>
|
1768
1768
|
</div>
|
1769
1769
|
<div class="footer">
|
@@ -68,7 +68,7 @@
|
|
68
68
|
</tr>
|
69
69
|
<tr>
|
70
70
|
<td class="function_type">
|
71
|
-
<a href="../
|
71
|
+
<a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
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
|
-
<a href="../
|
90
|
+
<a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</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><a href="../
|
151
|
+
gtk_invisible_new_for_screen (<em class="parameter"><code><a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *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 <a href="../
|
163
|
+
<td class="parameter_description"><p>a <a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> 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><a href="../
|
181
|
-
<p>Sets the <a href="../
|
180
|
+
<em class="parameter"><code><a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
181
|
+
<p>Sets the <a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> 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 <a href="../
|
198
|
+
<td class="parameter_description"><p>a <a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>.</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"><a href="../
|
209
|
+
<pre class="programlisting"><a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="returnvalue">GdkScreen</span></a> *
|
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 <a href="../
|
211
|
+
<p>Returns the <a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> 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 <a href="../
|
230
|
+
<p> the associated <a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a>. </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” <a href="../
|
247
|
+
<pre class="programlisting"> “screen” <a href="../gdk4/GdkScreen.html#GdkScreen-struct"><span class="type">GdkScreen</span></a> *</pre>
|
248
248
|
<p>The screen where this window will be displayed.</p>
|
249
249
|
<p>Flags: Read / Write</p>
|
250
250
|
</div>
|
@@ -236,7 +236,7 @@
|
|
236
236
|
</tr>
|
237
237
|
<tr>
|
238
238
|
<td class="function_type">
|
239
|
-
<a href="
|
239
|
+
<a href="../pango/pango-Text-Attributes.html#PangoAttrList-struct"><span class="returnvalue">PangoAttrList</span></a> *
|
240
240
|
</td>
|
241
241
|
<td class="function_name">
|
242
242
|
<a class="link" href="GtkLabel.html#gtk-label-get-attributes" title="gtk_label_get_attributes ()">gtk_label_get_attributes</a> <span class="c_punctuation">()</span>
|
@@ -268,7 +268,7 @@
|
|
268
268
|
</tr>
|
269
269
|
<tr>
|
270
270
|
<td class="function_type">
|
271
|
-
<a href="
|
271
|
+
<a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>
|
272
272
|
</td>
|
273
273
|
<td class="function_name">
|
274
274
|
<a class="link" href="GtkLabel.html#gtk-label-get-ellipsize" title="gtk_label_get_ellipsize ()">gtk_label_get_ellipsize</a> <span class="c_punctuation">()</span>
|
@@ -299,7 +299,7 @@
|
|
299
299
|
</tr>
|
300
300
|
<tr>
|
301
301
|
<td class="function_type">
|
302
|
-
<a href="
|
302
|
+
<a href="../pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="returnvalue">PangoLayout</span></a> *
|
303
303
|
</td>
|
304
304
|
<td class="function_name">
|
305
305
|
<a class="link" href="GtkLabel.html#gtk-label-get-layout" title="gtk_label_get_layout ()">gtk_label_get_layout</a> <span class="c_punctuation">()</span>
|
@@ -315,7 +315,7 @@
|
|
315
315
|
</tr>
|
316
316
|
<tr>
|
317
317
|
<td class="function_type">
|
318
|
-
<a href="
|
318
|
+
<a href="../pango/pango-Layout-Objects.html#PangoWrapMode"><span class="returnvalue">PangoWrapMode</span></a>
|
319
319
|
</td>
|
320
320
|
<td class="function_name">
|
321
321
|
<a class="link" href="GtkLabel.html#gtk-label-get-line-wrap-mode" title="gtk_label_get_line_wrap_mode ()">gtk_label_get_line_wrap_mode</a> <span class="c_punctuation">()</span>
|
@@ -459,7 +459,7 @@
|
|
459
459
|
</tr>
|
460
460
|
<tr>
|
461
461
|
<td class="property_type">
|
462
|
-
<a href="
|
462
|
+
<a href="../pango/pango-Text-Attributes.html#PangoAttrList-struct"><span class="type">PangoAttrList</span></a> *</td>
|
463
463
|
<td class="property_name"><a class="link" href="GtkLabel.html#GtkLabel--attributes" title="The “attributes” property">attributes</a></td>
|
464
464
|
<td class="property_flags">Read / Write</td>
|
465
465
|
</tr>
|
@@ -469,7 +469,7 @@
|
|
469
469
|
<td class="property_flags">Read</td>
|
470
470
|
</tr>
|
471
471
|
<tr>
|
472
|
-
<td class="property_type"><a href="
|
472
|
+
<td class="property_type"><a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a></td>
|
473
473
|
<td class="property_name"><a class="link" href="GtkLabel.html#GtkLabel--ellipsize" title="The “ellipsize” property">ellipsize</a></td>
|
474
474
|
<td class="property_flags">Read / Write</td>
|
475
475
|
</tr>
|
@@ -552,7 +552,7 @@
|
|
552
552
|
<td class="property_flags">Read / Write</td>
|
553
553
|
</tr>
|
554
554
|
<tr>
|
555
|
-
<td class="property_type"><a href="
|
555
|
+
<td class="property_type"><a href="../pango/pango-Layout-Objects.html#PangoWrapMode"><span class="type">PangoWrapMode</span></a></td>
|
556
556
|
<td class="property_name"><a class="link" href="GtkLabel.html#GtkLabel--wrap-mode" title="The “wrap-mode” property">wrap-mode</a></td>
|
557
557
|
<td class="property_flags">Read / Write</td>
|
558
558
|
</tr>
|
@@ -682,7 +682,7 @@ visited.</p>
|
|
682
682
|
<p>The GtkLabel implementation of the GtkBuildable interface supports a
|
683
683
|
custom <attributes> element, which supports any number of <attribute>
|
684
684
|
elements. The <attribute> element has attributes named “name“, “value“,
|
685
|
-
“start“ and “end“ and allows you to specify <a href="
|
685
|
+
“start“ and “end“ and allows you to specify <a href="../pango/pango-Text-Attributes.html#PangoAttribute"><span class="type">PangoAttribute</span></a> values for
|
686
686
|
this label.</p>
|
687
687
|
<p>An example of a UI definition fragment specifying Pango attributes:</p>
|
688
688
|
<div class="informalexample">
|
@@ -811,13 +811,13 @@ literal <, > and & characters must be escaped as &lt;, &gt;, a
|
|
811
811
|
If you pass text obtained from the user, file, or a network to
|
812
812
|
<a class="link" href="GtkLabel.html#gtk-label-set-markup" title="gtk_label_set_markup ()"><code class="function">gtk_label_set_markup()</code></a>, you’ll want to escape it with
|
813
813
|
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html#g-markup-escape-text"><code class="function">g_markup_escape_text()</code></a> or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html#g-markup-printf-escaped"><code class="function">g_markup_printf_escaped()</code></a>.</p>
|
814
|
-
<p>Markup strings are just a convenient way to set the <a href="
|
814
|
+
<p>Markup strings are just a convenient way to set the <a href="../pango/pango-Text-Attributes.html#PangoAttrList-struct"><span class="type">PangoAttrList</span></a> on
|
815
815
|
a label; <a class="link" href="GtkLabel.html#gtk-label-set-attributes" title="gtk_label_set_attributes ()"><code class="function">gtk_label_set_attributes()</code></a> may be a simpler way to set
|
816
|
-
attributes in some cases. Be careful though; <a href="
|
816
|
+
attributes in some cases. Be careful though; <a href="../pango/pango-Text-Attributes.html#PangoAttrList-struct"><span class="type">PangoAttrList</span></a> tends to
|
817
817
|
cause internationalization problems, unless you’re applying attributes
|
818
818
|
to the entire string (i.e. unless you set the range of each attribute
|
819
819
|
to [0, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a>)). The reason is that specifying the start_index and
|
820
|
-
end_index for a <a href="
|
820
|
+
end_index for a <a href="../pango/pango-Text-Attributes.html#PangoAttribute"><span class="type">PangoAttribute</span></a> requires knowledge of the exact string
|
821
821
|
being displayed, so translations will cause problems.</p>
|
822
822
|
</div>
|
823
823
|
<hr>
|
@@ -955,8 +955,8 @@ as a side effect.</p>
|
|
955
955
|
<a name="gtk-label-set-attributes"></a><h3>gtk_label_set_attributes ()</h3>
|
956
956
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
957
957
|
gtk_label_set_attributes (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
958
|
-
<em class="parameter"><code><a href="
|
959
|
-
<p>Sets a <a href="
|
958
|
+
<em class="parameter"><code><a href="../pango/pango-Text-Attributes.html#PangoAttrList-struct"><span class="type">PangoAttrList</span></a> *attrs</code></em>);</pre>
|
959
|
+
<p>Sets a <a href="../pango/pango-Text-Attributes.html#PangoAttrList-struct"><span class="type">PangoAttrList</span></a>; the attributes in the list are applied to the
|
960
960
|
label text.</p>
|
961
961
|
<p>The attributes set with this function will be applied
|
962
962
|
and merged with any other attributes previously effected by way
|
@@ -980,7 +980,7 @@ to the label after the markup string is parsed.</p>
|
|
980
980
|
</tr>
|
981
981
|
<tr>
|
982
982
|
<td class="parameter_name"><p>attrs</p></td>
|
983
|
-
<td class="parameter_description"><p> a <a href="
|
983
|
+
<td class="parameter_description"><p> a <a href="../pango/pango-Text-Attributes.html#PangoAttrList-struct"><span class="type">PangoAttrList</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
984
984
|
<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>
|
985
985
|
</tr>
|
986
986
|
</tbody>
|
@@ -1227,7 +1227,7 @@ gtk_label_set_yalign (<em class="parameter"><code><a class="link" href="GtkLabel
|
|
1227
1227
|
<a name="gtk-label-set-ellipsize"></a><h3>gtk_label_set_ellipsize ()</h3>
|
1228
1228
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1229
1229
|
gtk_label_set_ellipsize (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1230
|
-
<em class="parameter"><code><a href="
|
1230
|
+
<em class="parameter"><code><a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> mode</code></em>);</pre>
|
1231
1231
|
<p>Sets the mode used to ellipsize (add an ellipsis: "...") to the text
|
1232
1232
|
if there is not enough space to render the entire string.</p>
|
1233
1233
|
<div class="refsect3">
|
@@ -1246,7 +1246,7 @@ if there is not enough space to render the entire string.</p>
|
|
1246
1246
|
</tr>
|
1247
1247
|
<tr>
|
1248
1248
|
<td class="parameter_name"><p>mode</p></td>
|
1249
|
-
<td class="parameter_description"><p>a <a href="
|
1249
|
+
<td class="parameter_description"><p>a <a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a></p></td>
|
1250
1250
|
<td class="parameter_annotations"> </td>
|
1251
1251
|
</tr>
|
1252
1252
|
</tbody>
|
@@ -1362,9 +1362,9 @@ set the label’s width using <a class="link" href="GtkWidget.html#gtk-widget-se
|
|
1362
1362
|
<a name="gtk-label-set-line-wrap-mode"></a><h3>gtk_label_set_line_wrap_mode ()</h3>
|
1363
1363
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1364
1364
|
gtk_label_set_line_wrap_mode (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1365
|
-
<em class="parameter"><code><a href="
|
1365
|
+
<em class="parameter"><code><a href="../pango/pango-Layout-Objects.html#PangoWrapMode"><span class="type">PangoWrapMode</span></a> wrap_mode</code></em>);</pre>
|
1366
1366
|
<p>If line wrapping is on (see <a class="link" href="GtkLabel.html#gtk-label-set-line-wrap" title="gtk_label_set_line_wrap ()"><code class="function">gtk_label_set_line_wrap()</code></a>) this controls how
|
1367
|
-
the line wrapping is done. The default is <a href="
|
1367
|
+
the line wrapping is done. The default is <a href="../pango/pango-Layout-Objects.html#PANGO-WRAP-WORD:CAPS"><code class="literal">PANGO_WRAP_WORD</code></a> which means
|
1368
1368
|
wrap on word boundaries.</p>
|
1369
1369
|
<div class="refsect3">
|
1370
1370
|
<a name="gtk-label-set-line-wrap-mode.parameters"></a><h4>Parameters</h4>
|
@@ -1431,15 +1431,15 @@ number of lines.</p>
|
|
1431
1431
|
gtk_label_get_layout_offsets (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>,
|
1432
1432
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
1433
1433
|
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>);</pre>
|
1434
|
-
<p>Obtains the coordinates where the label will draw the <a href="
|
1434
|
+
<p>Obtains the coordinates where the label will draw the <a href="../pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a>
|
1435
1435
|
representing the text in the label; useful to convert mouse events
|
1436
|
-
into coordinates inside the <a href="
|
1436
|
+
into coordinates inside the <a href="../pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a>, e.g. to take some action
|
1437
1437
|
if some part of the label is clicked. Of course you will need to
|
1438
1438
|
create a <a class="link" href="GtkEventBox.html" title="GtkEventBox"><span class="type">GtkEventBox</span></a> to receive the events, and pack the label
|
1439
1439
|
inside it, since labels are windowless (they return <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> from
|
1440
1440
|
<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>). Remember
|
1441
|
-
when using the <a href="
|
1442
|
-
and from pixels using <a href="
|
1441
|
+
when using the <a href="../pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> functions you need to convert to
|
1442
|
+
and from pixels using <a href="../pango/pango-Glyph-Storage.html#PANGO-PIXELS:CAPS"><code class="function">PANGO_PIXELS()</code></a> or <a href="../pango/pango-Glyph-Storage.html#PANGO-SCALE:CAPS"><span class="type">PANGO_SCALE</span></a>.</p>
|
1443
1443
|
<div class="refsect3">
|
1444
1444
|
<a name="gtk-label-get-layout-offsets.parameters"></a><h4>Parameters</h4>
|
1445
1445
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
@@ -1744,7 +1744,7 @@ automatically, or explicitly using <a class="link" href="GtkLabel.html#gtk-label
|
|
1744
1744
|
<hr>
|
1745
1745
|
<div class="refsect2">
|
1746
1746
|
<a name="gtk-label-get-attributes"></a><h3>gtk_label_get_attributes ()</h3>
|
1747
|
-
<pre class="programlisting"><a href="
|
1747
|
+
<pre class="programlisting"><a href="../pango/pango-Text-Attributes.html#PangoAttrList-struct"><span class="returnvalue">PangoAttrList</span></a> *
|
1748
1748
|
gtk_label_get_attributes (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1749
1749
|
<p>Gets the attribute list that was set on the label using
|
1750
1750
|
<a class="link" href="GtkLabel.html#gtk-label-set-attributes" title="gtk_label_set_attributes ()"><code class="function">gtk_label_set_attributes()</code></a>, if any. This function does
|
@@ -1859,7 +1859,7 @@ gtk_label_get_yalign (<em class="parameter"><code><a class="link" href="GtkLabel
|
|
1859
1859
|
<hr>
|
1860
1860
|
<div class="refsect2">
|
1861
1861
|
<a name="gtk-label-get-ellipsize"></a><h3>gtk_label_get_ellipsize ()</h3>
|
1862
|
-
<pre class="programlisting"><a href="
|
1862
|
+
<pre class="programlisting"><a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>
|
1863
1863
|
gtk_label_get_ellipsize (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1864
1864
|
<p>Returns the ellipsizing position of the label. See <a class="link" href="GtkLabel.html#gtk-label-set-ellipsize" title="gtk_label_set_ellipsize ()"><code class="function">gtk_label_set_ellipsize()</code></a>.</p>
|
1865
1865
|
<div class="refsect3">
|
@@ -1879,7 +1879,7 @@ gtk_label_get_ellipsize (<em class="parameter"><code><a class="link" href="GtkLa
|
|
1879
1879
|
</div>
|
1880
1880
|
<div class="refsect3">
|
1881
1881
|
<a name="gtk-label-get-ellipsize.returns"></a><h4>Returns</h4>
|
1882
|
-
<p> <a href="
|
1882
|
+
<p> <a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a></p>
|
1883
1883
|
</div>
|
1884
1884
|
<p class="since">Since: 2.6</p>
|
1885
1885
|
</div>
|
@@ -1973,9 +1973,9 @@ owned by the widget and must not be modified or freed.</p>
|
|
1973
1973
|
<hr>
|
1974
1974
|
<div class="refsect2">
|
1975
1975
|
<a name="gtk-label-get-layout"></a><h3>gtk_label_get_layout ()</h3>
|
1976
|
-
<pre class="programlisting"><a href="
|
1976
|
+
<pre class="programlisting"><a href="../pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="returnvalue">PangoLayout</span></a> *
|
1977
1977
|
gtk_label_get_layout (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
1978
|
-
<p>Gets the <a href="
|
1978
|
+
<p>Gets the <a href="../pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> used to display the label.
|
1979
1979
|
The layout is useful to e.g. convert text positions to
|
1980
1980
|
pixel positions, in combination with <a class="link" href="GtkLabel.html#gtk-label-get-layout-offsets" title="gtk_label_get_layout_offsets ()"><code class="function">gtk_label_get_layout_offsets()</code></a>.
|
1981
1981
|
The returned layout is owned by the <em class="parameter"><code>label</code></em>
|
@@ -2000,7 +2000,7 @@ any time, so it should be considered read-only.</p>
|
|
2000
2000
|
</div>
|
2001
2001
|
<div class="refsect3">
|
2002
2002
|
<a name="gtk-label-get-layout.returns"></a><h4>Returns</h4>
|
2003
|
-
<p> the <a href="
|
2003
|
+
<p> the <a href="../pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> for this label. </p>
|
2004
2004
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2005
2005
|
</div>
|
2006
2006
|
</div>
|
@@ -2034,7 +2034,7 @@ See <a class="link" href="GtkLabel.html#gtk-label-set-line-wrap" title="gtk_labe
|
|
2034
2034
|
<hr>
|
2035
2035
|
<div class="refsect2">
|
2036
2036
|
<a name="gtk-label-get-line-wrap-mode"></a><h3>gtk_label_get_line_wrap_mode ()</h3>
|
2037
|
-
<pre class="programlisting"><a href="
|
2037
|
+
<pre class="programlisting"><a href="../pango/pango-Layout-Objects.html#PangoWrapMode"><span class="returnvalue">PangoWrapMode</span></a>
|
2038
2038
|
gtk_label_get_line_wrap_mode (<em class="parameter"><code><a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> *label</code></em>);</pre>
|
2039
2039
|
<p>Returns line wrap mode used by the label. See <a class="link" href="GtkLabel.html#gtk-label-set-line-wrap-mode" title="gtk_label_set_line_wrap_mode ()"><code class="function">gtk_label_set_line_wrap_mode()</code></a>.</p>
|
2040
2040
|
<div class="refsect3">
|
@@ -2547,7 +2547,7 @@ if the label is selectable.</p>
|
|
2547
2547
|
<hr>
|
2548
2548
|
<div class="refsect2">
|
2549
2549
|
<a name="GtkLabel--attributes"></a><h3>The <code class="literal">“attributes”</code> property</h3>
|
2550
|
-
<pre class="programlisting"> “attributes” <a href="
|
2550
|
+
<pre class="programlisting"> “attributes” <a href="../pango/pango-Text-Attributes.html#PangoAttrList-struct"><span class="type">PangoAttrList</span></a> *</pre>
|
2551
2551
|
<p>A list of style attributes to apply to the text of the label.</p>
|
2552
2552
|
<p>Flags: Read / Write</p>
|
2553
2553
|
</div>
|
@@ -2563,12 +2563,12 @@ if the label is selectable.</p>
|
|
2563
2563
|
<hr>
|
2564
2564
|
<div class="refsect2">
|
2565
2565
|
<a name="GtkLabel--ellipsize"></a><h3>The <code class="literal">“ellipsize”</code> property</h3>
|
2566
|
-
<pre class="programlisting"> “ellipsize” <a href="
|
2566
|
+
<pre class="programlisting"> “ellipsize” <a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a></pre>
|
2567
2567
|
<p>The preferred place to ellipsize the string, if the label does
|
2568
2568
|
not have enough room to display the entire string, specified as a
|
2569
|
-
<a href="
|
2569
|
+
<a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a>.</p>
|
2570
2570
|
<p>Note that setting this property to a value other than
|
2571
|
-
<a href="
|
2571
|
+
<a href="../pango/pango-Layout-Objects.html#PANGO-ELLIPSIZE-NONE:CAPS"><code class="literal">PANGO_ELLIPSIZE_NONE</code></a> has the side-effect that the label requests
|
2572
2572
|
only enough space to display the ellipsis "...". In particular, this
|
2573
2573
|
means that ellipsizing labels do not work well in notebook tabs, unless
|
2574
2574
|
the <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a> tab-expand child property is set to <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. Other ways
|
@@ -2734,9 +2734,9 @@ determine the width of ellipsized and wrapped labels.</p>
|
|
2734
2734
|
<hr>
|
2735
2735
|
<div class="refsect2">
|
2736
2736
|
<a name="GtkLabel--wrap-mode"></a><h3>The <code class="literal">“wrap-mode”</code> property</h3>
|
2737
|
-
<pre class="programlisting"> “wrap-mode” <a href="
|
2737
|
+
<pre class="programlisting"> “wrap-mode” <a href="../pango/pango-Layout-Objects.html#PangoWrapMode"><span class="type">PangoWrapMode</span></a></pre>
|
2738
2738
|
<p>If line wrapping is on (see the <a class="link" href="GtkLabel.html#GtkLabel--wrap" title="The “wrap” property"><span class="type">“wrap”</span></a> property) this controls
|
2739
|
-
how the line wrapping is done. The default is <a href="
|
2739
|
+
how the line wrapping is done. The default is <a href="../pango/pango-Layout-Objects.html#PANGO-WRAP-WORD:CAPS"><code class="literal">PANGO_WRAP_WORD</code></a>, which
|
2740
2740
|
means wrap on word boundaries.</p>
|
2741
2741
|
<p>Flags: Read / Write</p>
|
2742
2742
|
<p>Default value: PANGO_WRAP_WORD</p>
|