gtk2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +22 -0
- data/ext/gtk2/rbgtkwindow.c +3 -1
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/sample/gtk-demo/cairo-operator.rb +1 -1
- data/sample/misc/bindings.rb +1 -1
- data/sample/misc/cairo-pong.rb +1 -1
- data/vendor/local/bin/gtk-builder-convert +29 -2
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdk.h +2 -5
- data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +7 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +7 -4
- data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +1 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +13 -9
- data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +5 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +16 -6
- data/vendor/local/include/gtk-2.0/gtk/gtk.h +1 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +5 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +14 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +3 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +5 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +6 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +5 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +2 -1
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/manifest/{gtk+-dev_2.22.1-1_win32.mft → gtk+-dev_2.24.0-1_win32.mft} +9 -6
- data/vendor/local/manifest/{gtk+_2.22.1-1_win32.mft → gtk+_2.24.0-1_win32.mft} +2 -6
- data/vendor/local/share/doc/{gtk+-2.22.1 → gtk+-2.24.0}/COPYING +0 -0
- data/vendor/local/share/doc/{gtk+-dev-2.22.1 → gtk+-dev-2.24.0}/COPYING +0 -0
- data/vendor/local/share/gtk-2.0/demo/appwindow.c +0 -21
- data/vendor/local/share/gtk-2.0/demo/combobox.c +6 -6
- data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/sizegroup.c +2 -2
- data/vendor/local/share/gtk-2.0/demo/textview.c +4 -4
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +60 -94
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +44 -58
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +151 -208
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +33 -37
- data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +180 -239
- data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +135 -5
- data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +83 -47
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +20 -23
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +126 -126
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +81 -39
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +135 -199
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +71 -90
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +161 -200
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +293 -409
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +320 -435
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +109 -141
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +155 -234
- data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +143 -217
- data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +103 -124
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +168 -250
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +90 -131
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +143 -191
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +35 -53
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +162 -195
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +85 -112
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +79 -137
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +144 -176
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +188 -235
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +97 -134
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +22 -35
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +44 -70
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +83 -108
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +653 -744
- data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +476 -490
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +53 -44
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +85 -76
- data/vendor/local/share/gtk-doc/html/gdk/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/index.sgml +10 -1
- data/vendor/local/share/gtk-doc/html/gdk/multihead.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk/reference.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Actions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Builder.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +193 -186
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +38 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +169 -236
- data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +175 -258
- data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +46 -50
- data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +78 -114
- data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +52 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +30 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +36 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +97 -118
- data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +95 -120
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +86 -117
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +96 -137
- data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +152 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +59 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +615 -895
- data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +520 -1791
- data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +125 -163
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +33 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +60 -87
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +106 -130
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +35 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +27 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +24 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +23 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +69 -74
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +45 -54
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +57 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +30 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +53 -75
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +104 -180
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +29 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +63 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +344 -186
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +57 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +301 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +311 -260
- data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +61 -79
- data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +97 -121
- data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +21 -23
- data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +68 -88
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +360 -470
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +71 -104
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +130 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +33 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +76 -96
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +331 -403
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +64 -89
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +30 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +21 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +102 -146
- data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +38 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +60 -86
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +66 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +52 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +51 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +29 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +30 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +65 -101
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +25 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +55 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +140 -182
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +18 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +18 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +184 -248
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +321 -447
- data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +174 -195
- data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +58 -69
- data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +67 -80
- data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +32 -37
- data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +33 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +36 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +179 -272
- data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +197 -249
- data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +68 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +51 -60
- data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +130 -180
- data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +80 -130
- data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +138 -168
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +177 -221
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +41 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +112 -145
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +86 -118
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +73 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +33 -39
- data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +396 -452
- data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +148 -206
- data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +21 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +80 -165
- data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +56 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +115 -160
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +94 -134
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkPaperSize.html → GtkPaperSize.html} +204 -252
- data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +34 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +51 -67
- data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +109 -136
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +38 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +53 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +265 -403
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +74 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +100 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +80 -111
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +91 -108
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +42 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +86 -79
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +63 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +33 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +218 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +34 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +135 -194
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +27 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +25 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +17 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +63 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +202 -269
- data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +83 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +61 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +64 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +93 -143
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +24 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +129 -259
- data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +38 -45
- data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +44 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +132 -177
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +24 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +190 -254
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +60 -75
- data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +546 -928
- data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +94 -135
- data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +97 -140
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +494 -656
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkTextIter.html → GtkTextIter.html} +664 -806
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +41 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +164 -194
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +84 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +340 -425
- data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +74 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +43 -57
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +59 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +32 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +74 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +133 -166
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +84 -103
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +116 -139
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +42 -59
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +249 -360
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +60 -70
- data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +105 -152
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +46 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +428 -557
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +95 -126
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +63 -70
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +123 -171
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +53 -62
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +170 -199
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +565 -863
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +203 -282
- data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +125 -189
- data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +27 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +31 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +24 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +58 -69
- data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +16 -17
- data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +1278 -1579
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +380 -532
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +21 -39
- data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +6 -3
- data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Printing.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +17 -11
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +117 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +236 -45
- data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +469 -385
- data/vendor/local/share/gtk-doc/html/gtk/ch01.html +15 -4
- data/vendor/local/share/gtk-doc/html/gtk/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +69 -124
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +149 -211
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +189 -293
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +175 -246
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +35 -41
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +41 -47
- data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +270 -318
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +16 -22
- data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +75 -82
- data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +221 -289
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +142 -232
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +150 -190
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +328 -408
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +190 -306
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +152 -158
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +85 -136
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +204 -239
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +271 -343
- data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +18 -11
- data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +63 -75
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +58 -75
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +5 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +90 -90
- data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +39 -31
- data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +445 -412
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +488 -455
- data/vendor/local/share/gtk-doc/html/gtk/gtk.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +8 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/index.html +10 -6
- data/vendor/local/share/gtk-doc/html/gtk/index.sgml +194 -142
- data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk/migrating.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/pt05.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +3 -3
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.24.0-1_win32.log +4934 -0
- data/vendor/local/src/tml/packaging/{gtk+_2.22.1-1_win32.sh → gtk+_2.24.0-1_win32.sh} +2 -2
- metadata +26 -33
- data/ext/gtk2/Makefile +0 -169
- data/ext/gtk2/rbgdkkeysyms.h +0 -2174
- data/ext/gtk2/rbgtkinits.c +0 -473
- data/ext/gtk2/ruby-gtk2.pc +0 -3
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.22.1-1_win32.log +0 -5048
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="gtkbase.html" title="Part II. GTK+ Core Reference">
|
9
9
|
<link rel="prev" href="gtk-Stock-Items.html" title="Stock Items">
|
10
10
|
<link rel="next" href="gtk-Resource-Files.html" title="Resource Files">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<a href="#gtk-Themeable-Stock-Images.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
31
|
</td></tr>
|
32
32
|
</table>
|
33
|
-
<div class="refentry"
|
33
|
+
<div class="refentry">
|
34
34
|
<a name="gtk-Themeable-Stock-Images"></a><div class="titlepage"></div>
|
35
35
|
<div class="refnamediv"><table width="100%"><tr>
|
36
36
|
<td valign="top">
|
@@ -39,40 +39,40 @@
|
|
39
39
|
</td>
|
40
40
|
<td valign="top" align="right"></td>
|
41
41
|
</tr></table></div>
|
42
|
-
<div class="refsynopsisdiv"
|
42
|
+
<div class="refsynopsisdiv">
|
43
43
|
<a name="gtk-Themeable-Stock-Images.synopsis"></a><h2>Synopsis</h2>
|
44
|
-
<a name="GtkIconFactory"></a><pre class="synopsis">
|
44
|
+
<a name="GtkIconFactory"></a><a name="GtkIconSet"></a><pre class="synopsis">
|
45
45
|
#include <gtk/gtk.h>
|
46
46
|
|
47
47
|
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource">GtkIconSource</a>;
|
48
48
|
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory-struct" title="GtkIconFactory">GtkIconFactory</a>;
|
49
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet" title="GtkIconSet">GtkIconSet</a>;
|
49
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet-struct" title="GtkIconSet">GtkIconSet</a>;
|
50
50
|
enum <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize">GtkIconSize</a>;
|
51
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="returnvalue">GtkIconSource</span></a
|
51
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="returnvalue">GtkIconSource</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-copy" title="gtk_icon_source_copy ()">gtk_icon_source_copy</a> (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
52
52
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-free" title="gtk_icon_source_free ()">gtk_icon_source_free</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
53
53
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-factory-add" title="gtk_icon_factory_add ()">gtk_icon_factory_add</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>,
|
54
54
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
|
55
|
-
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
55
|
+
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>);
|
56
56
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-factory-add-default" title="gtk_icon_factory_add_default ()">gtk_icon_factory_add_default</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>);
|
57
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
57
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-factory-lookup" title="gtk_icon_factory_lookup ()">gtk_icon_factory_lookup</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>,
|
58
58
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);
|
59
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
60
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="returnvalue">GtkIconFactory</span></a
|
59
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-factory-lookup-default" title="gtk_icon_factory_lookup_default ()">gtk_icon_factory_lookup_default</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);
|
60
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="returnvalue">GtkIconFactory</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-factory-new" title="gtk_icon_factory_new ()">gtk_icon_factory_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
61
61
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-factory-remove-default" title="gtk_icon_factory_remove_default ()">gtk_icon_factory_remove_default</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>);
|
62
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-add-source" title="gtk_icon_set_add_source ()">gtk_icon_set_add_source</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
62
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-add-source" title="gtk_icon_set_add_source ()">gtk_icon_set_add_source</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>,
|
63
63
|
<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
64
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
65
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
66
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
67
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
68
|
-
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a
|
64
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-copy" title="gtk_icon_set_copy ()">gtk_icon_set_copy</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>);
|
65
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-new" title="gtk_icon_set_new ()">gtk_icon_set_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
66
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-new-from-pixbuf" title="gtk_icon_set_new_from_pixbuf ()">gtk_icon_set_new_from_pixbuf</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
|
67
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-ref" title="gtk_icon_set_ref ()">gtk_icon_set_ref</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>);
|
68
|
+
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-render-icon" title="gtk_icon_set_render_icon ()">gtk_icon_set_render_icon</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>,
|
69
69
|
<em class="parameter"><code><a class="link" href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a> *style</code></em>,
|
70
70
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> direction</code></em>,
|
71
71
|
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
|
72
72
|
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>,
|
73
73
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
74
74
|
<em class="parameter"><code>const <span class="type">char</span> *detail</code></em>);
|
75
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-unref" title="gtk_icon_set_unref ()">gtk_icon_set_unref</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-unref" title="gtk_icon_set_unref ()">gtk_icon_set_unref</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>);
|
76
76
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-size-lookup" title="gtk_icon_size_lookup ()">gtk_icon_size_lookup</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>,
|
77
77
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
78
78
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>);
|
@@ -86,29 +86,28 @@ enum <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIco
|
|
86
86
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-size-register-alias" title="gtk_icon_size_register_alias ()">gtk_icon_size_register_alias</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *alias</code></em>,
|
87
87
|
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> target</code></em>);
|
88
88
|
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-size-from-name" title="gtk_icon_size_from_name ()">gtk_icon_size_from_name</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
|
89
|
-
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a
|
90
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-get-sizes" title="gtk_icon_set_get_sizes ()">gtk_icon_set_get_sizes</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
89
|
+
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-size-get-name" title="gtk_icon_size_get_name ()">gtk_icon_size_get_name</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);
|
90
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-get-sizes" title="gtk_icon_set_get_sizes ()">gtk_icon_set_get_sizes</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>,
|
91
91
|
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> **sizes</code></em>,
|
92
92
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_sizes</code></em>);
|
93
93
|
<a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-get-direction" title="gtk_icon_source_get_direction ()">gtk_icon_source_get_direction</a> (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
94
94
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-get-direction-wildcarded" title="gtk_icon_source_get_direction_wildcarded ()">gtk_icon_source_get_direction_wildcarded</a>
|
95
95
|
(<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
96
|
-
|
97
|
-
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a
|
98
|
-
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a
|
96
|
+
#define <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-get-filename" title="gtk_icon_source_get_filename">gtk_icon_source_get_filename</a>
|
97
|
+
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-get-pixbuf" title="gtk_icon_source_get_pixbuf ()">gtk_icon_source_get_pixbuf</a> (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
98
|
+
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-get-icon-name" title="gtk_icon_source_get_icon_name ()">gtk_icon_source_get_icon_name</a> (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
99
99
|
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-get-size" title="gtk_icon_source_get_size ()">gtk_icon_source_get_size</a> (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
100
100
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-get-size-wildcarded" title="gtk_icon_source_get_size_wildcarded ()">gtk_icon_source_get_size_wildcarded</a> (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
101
101
|
<a class="link" href="gtk-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType"><span class="returnvalue">GtkStateType</span></a> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-get-state" title="gtk_icon_source_get_state ()">gtk_icon_source_get_state</a> (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
102
102
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-get-state-wildcarded" title="gtk_icon_source_get_state_wildcarded ()">gtk_icon_source_get_state_wildcarded</a>
|
103
103
|
(<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
104
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="returnvalue">GtkIconSource</span></a
|
104
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="returnvalue">GtkIconSource</span></a> * <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-new" title="gtk_icon_source_new ()">gtk_icon_source_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
105
105
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-set-direction" title="gtk_icon_source_set_direction ()">gtk_icon_source_set_direction</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
106
106
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> direction</code></em>);
|
107
107
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-set-direction-wildcarded" title="gtk_icon_source_set_direction_wildcarded ()">gtk_icon_source_set_direction_wildcarded</a>
|
108
108
|
(<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
109
109
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);
|
110
|
-
<
|
111
|
-
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
|
110
|
+
#define <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-set-filename" title="gtk_icon_source_set_filename">gtk_icon_source_set_filename</a>
|
112
111
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-set-pixbuf" title="gtk_icon_source_set_pixbuf ()">gtk_icon_source_set_pixbuf</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
113
112
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
|
114
113
|
<span class="returnvalue">void</span> <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-set-icon-name" title="gtk_icon_source_set_icon_name ()">gtk_icon_source_set_icon_name</a> (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
@@ -124,28 +123,32 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
124
123
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);
|
125
124
|
</pre>
|
126
125
|
</div>
|
127
|
-
<div class="refsect1"
|
126
|
+
<div class="refsect1">
|
128
127
|
<a name="gtk-Themeable-Stock-Images.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
129
128
|
<pre class="synopsis">
|
130
129
|
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
131
130
|
+----GtkIconFactory
|
132
131
|
</pre>
|
132
|
+
<pre class="synopsis">
|
133
|
+
GBoxed
|
134
|
+
+----GtkIconSet
|
135
|
+
</pre>
|
133
136
|
</div>
|
134
|
-
<div class="refsect1"
|
137
|
+
<div class="refsect1">
|
135
138
|
<a name="gtk-Themeable-Stock-Images.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
136
139
|
<p>
|
137
140
|
GtkIconFactory implements
|
138
141
|
<a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
|
139
142
|
</div>
|
140
|
-
<div class="refsect1"
|
143
|
+
<div class="refsect1">
|
141
144
|
<a name="gtk-Themeable-Stock-Images.description"></a><h2>Description</h2>
|
142
145
|
<p>
|
143
146
|
Browse the available stock icons in the list of stock IDs found <a class="link" href="gtk-Stock-Items.html" title="Stock Items">here</a>. You can also use
|
144
147
|
the <span class="application">gtk-demo</span> application for this purpose.
|
145
148
|
</p>
|
146
149
|
<p>
|
147
|
-
An icon factory manages a collection of <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
148
|
-
set of variants of a particular icon (i.e. a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
150
|
+
An icon factory manages a collection of <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>; a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> manages a
|
151
|
+
set of variants of a particular icon (i.e. a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> contains variants for
|
149
152
|
different sizes and widget states). Icons in an icon factory are named by a
|
150
153
|
stock ID, which is a simple string identifying the icon. Each <a class="link" href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a> has a
|
151
154
|
list of <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> derived from the current theme; those icon factories
|
@@ -162,7 +165,7 @@ will display the icon, or the convenience function
|
|
162
165
|
<a class="link" href="GtkWidget.html#gtk-widget-render-icon" title="gtk_widget_render_icon ()"><code class="function">gtk_widget_render_icon()</code></a>. These functions take the theme into account when
|
163
166
|
looking up the icon to use for a given stock ID.
|
164
167
|
</p>
|
165
|
-
<div class="refsect2"
|
168
|
+
<div class="refsect2">
|
166
169
|
<a name="GtkIconFactory-BUILDER-UI"></a><h3>GtkIconFactory as GtkBuildable</h3>
|
167
170
|
<p>
|
168
171
|
GtkIconFactory supports a custom <sources> element, which
|
@@ -207,7 +210,7 @@ This attribute is optional.</p></td>
|
|
207
210
|
<p>
|
208
211
|
</p>
|
209
212
|
<div class="example">
|
210
|
-
<a name="
|
213
|
+
<a name="id529103"></a><p class="title"><b>Example 5. A <span class="structname">GtkIconFactory</span> UI definition fragment.</b></p>
|
211
214
|
<div class="example-contents">
|
212
215
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
213
216
|
<tbody>
|
@@ -247,30 +250,30 @@ This attribute is optional.</p></td>
|
|
247
250
|
<br class="example-break">
|
248
251
|
</div>
|
249
252
|
</div>
|
250
|
-
<div class="refsect1"
|
253
|
+
<div class="refsect1">
|
251
254
|
<a name="gtk-Themeable-Stock-Images.details"></a><h2>Details</h2>
|
252
|
-
<div class="refsect2"
|
255
|
+
<div class="refsect2">
|
253
256
|
<a name="GtkIconSource"></a><h3>GtkIconSource</h3>
|
254
257
|
<pre class="programlisting">typedef struct _GtkIconSource GtkIconSource;</pre>
|
255
258
|
<p>
|
256
259
|
</p>
|
257
260
|
</div>
|
258
261
|
<hr>
|
259
|
-
<div class="refsect2"
|
262
|
+
<div class="refsect2">
|
260
263
|
<a name="GtkIconFactory-struct"></a><h3>GtkIconFactory</h3>
|
261
264
|
<pre class="programlisting">typedef struct _GtkIconFactory GtkIconFactory;</pre>
|
262
265
|
<p>
|
263
266
|
</p>
|
264
267
|
</div>
|
265
268
|
<hr>
|
266
|
-
<div class="refsect2"
|
267
|
-
<a name="GtkIconSet"></a><h3>GtkIconSet</h3>
|
269
|
+
<div class="refsect2">
|
270
|
+
<a name="GtkIconSet-struct"></a><h3>GtkIconSet</h3>
|
268
271
|
<pre class="programlisting">typedef struct _GtkIconSet GtkIconSet;</pre>
|
269
272
|
<p>
|
270
273
|
</p>
|
271
274
|
</div>
|
272
275
|
<hr>
|
273
|
-
<div class="refsect2"
|
276
|
+
<div class="refsect2">
|
274
277
|
<a name="GtkIconSize"></a><h3>enum GtkIconSize</h3>
|
275
278
|
<pre class="programlisting">typedef enum
|
276
279
|
{
|
@@ -287,9 +290,9 @@ This attribute is optional.</p></td>
|
|
287
290
|
</p>
|
288
291
|
</div>
|
289
292
|
<hr>
|
290
|
-
<div class="refsect2"
|
293
|
+
<div class="refsect2">
|
291
294
|
<a name="gtk-icon-source-copy"></a><h3>gtk_icon_source_copy ()</h3>
|
292
|
-
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="returnvalue">GtkIconSource</span></a
|
295
|
+
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="returnvalue">GtkIconSource</span></a> * gtk_icon_source_copy (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
293
296
|
<p>
|
294
297
|
Creates a copy of <em class="parameter"><code>source</code></em>; mostly useful for language bindings.
|
295
298
|
</p>
|
@@ -303,14 +306,14 @@ Creates a copy of <em class="parameter"><code>source</code></em>; mostly useful
|
|
303
306
|
</tr>
|
304
307
|
<tr>
|
305
308
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
306
|
-
<td>
|
309
|
+
<td>a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a>
|
307
310
|
</td>
|
308
311
|
</tr>
|
309
312
|
</tbody>
|
310
313
|
</table></div>
|
311
314
|
</div>
|
312
315
|
<hr>
|
313
|
-
<div class="refsect2"
|
316
|
+
<div class="refsect2">
|
314
317
|
<a name="gtk-icon-source-free"></a><h3>gtk_icon_source_free ()</h3>
|
315
318
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_free (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
316
319
|
<p>
|
@@ -327,11 +330,11 @@ filename, size, and pixbuf fields if those are not <a href="http://library.gnome
|
|
327
330
|
</table></div>
|
328
331
|
</div>
|
329
332
|
<hr>
|
330
|
-
<div class="refsect2"
|
333
|
+
<div class="refsect2">
|
331
334
|
<a name="gtk-icon-factory-add"></a><h3>gtk_icon_factory_add ()</h3>
|
332
335
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_factory_add (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>,
|
333
336
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
|
334
|
-
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
337
|
+
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>);</pre>
|
335
338
|
<p>
|
336
339
|
Adds the given <em class="parameter"><code>icon_set</code></em> to the icon factory, under the name
|
337
340
|
<em class="parameter"><code>stock_id</code></em>. <em class="parameter"><code>stock_id</code></em> should be namespaced for your application,
|
@@ -354,19 +357,17 @@ with the new <em class="parameter"><code>icon_set</code></em>.
|
|
354
357
|
</tr>
|
355
358
|
<tr>
|
356
359
|
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
|
357
|
-
<td>icon name
|
358
|
-
</td>
|
360
|
+
<td>icon name</td>
|
359
361
|
</tr>
|
360
362
|
<tr>
|
361
363
|
<td><p><span class="term"><em class="parameter"><code>icon_set</code></em> :</span></p></td>
|
362
|
-
<td>icon set
|
363
|
-
</td>
|
364
|
+
<td>icon set</td>
|
364
365
|
</tr>
|
365
366
|
</tbody>
|
366
367
|
</table></div>
|
367
368
|
</div>
|
368
369
|
<hr>
|
369
|
-
<div class="refsect2"
|
370
|
+
<div class="refsect2">
|
370
371
|
<a name="gtk-icon-factory-add-default"></a><h3>gtk_icon_factory_add_default ()</h3>
|
371
372
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_factory_add_default (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>);</pre>
|
372
373
|
<p>
|
@@ -387,9 +388,9 @@ can be overridden by themes.
|
|
387
388
|
</table></div>
|
388
389
|
</div>
|
389
390
|
<hr>
|
390
|
-
<div class="refsect2"
|
391
|
+
<div class="refsect2">
|
391
392
|
<a name="gtk-icon-factory-lookup"></a><h3>gtk_icon_factory_lookup ()</h3>
|
392
|
-
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
393
|
+
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * gtk_icon_factory_lookup (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>,
|
393
394
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
|
394
395
|
<p>
|
395
396
|
Looks up <em class="parameter"><code>stock_id</code></em> in the icon factory, returning an icon set
|
@@ -408,21 +409,20 @@ function directly, so that themes are taken into account.
|
|
408
409
|
</tr>
|
409
410
|
<tr>
|
410
411
|
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
|
411
|
-
<td>an icon name
|
412
|
-
</td>
|
412
|
+
<td>an icon name</td>
|
413
413
|
</tr>
|
414
414
|
<tr>
|
415
415
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
416
|
-
<td>
|
416
|
+
<td>icon set of <em class="parameter"><code>stock_id</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
417
417
|
</td>
|
418
418
|
</tr>
|
419
419
|
</tbody>
|
420
420
|
</table></div>
|
421
421
|
</div>
|
422
422
|
<hr>
|
423
|
-
<div class="refsect2"
|
423
|
+
<div class="refsect2">
|
424
424
|
<a name="gtk-icon-factory-lookup-default"></a><h3>gtk_icon_factory_lookup_default ()</h3>
|
425
|
-
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
425
|
+
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * gtk_icon_factory_lookup_default (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
|
426
426
|
<p>
|
427
427
|
Looks for an icon in the list of default icon factories. For
|
428
428
|
display to the user, you should use <a class="link" href="GtkStyle.html#gtk-style-lookup-icon-set" title="gtk_style_lookup_icon_set ()"><code class="function">gtk_style_lookup_icon_set()</code></a> on
|
@@ -435,25 +435,24 @@ account.
|
|
435
435
|
<tbody>
|
436
436
|
<tr>
|
437
437
|
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
|
438
|
-
<td>an icon name
|
439
|
-
</td>
|
438
|
+
<td>an icon name</td>
|
440
439
|
</tr>
|
441
440
|
<tr>
|
442
441
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
443
|
-
<td>
|
442
|
+
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
444
443
|
</td>
|
445
444
|
</tr>
|
446
445
|
</tbody>
|
447
446
|
</table></div>
|
448
447
|
</div>
|
449
448
|
<hr>
|
450
|
-
<div class="refsect2"
|
449
|
+
<div class="refsect2">
|
451
450
|
<a name="gtk-icon-factory-new"></a><h3>gtk_icon_factory_new ()</h3>
|
452
|
-
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="returnvalue">GtkIconFactory</span></a
|
451
|
+
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="returnvalue">GtkIconFactory</span></a> * gtk_icon_factory_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
453
452
|
<p>
|
454
453
|
Creates a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a>. An icon factory manages a collection
|
455
|
-
of <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
456
|
-
particular icon (i.e. a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
454
|
+
of <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>s; a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> manages a set of variants of a
|
455
|
+
particular icon (i.e. a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> contains variants for different
|
457
456
|
sizes and widget states). Icons in an icon factory are named by a
|
458
457
|
stock ID, which is a simple string identifying the icon. Each
|
459
458
|
<a class="link" href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a> has a list of <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a>s derived from the current
|
@@ -469,13 +468,13 @@ themes to override the icons for the application.
|
|
469
468
|
<col align="left" valign="top">
|
470
469
|
<tbody><tr>
|
471
470
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
472
|
-
<td>
|
471
|
+
<td>a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a>
|
473
472
|
</td>
|
474
473
|
</tr></tbody>
|
475
474
|
</table></div>
|
476
475
|
</div>
|
477
476
|
<hr>
|
478
|
-
<div class="refsect2"
|
477
|
+
<div class="refsect2">
|
479
478
|
<a name="gtk-icon-factory-remove-default"></a><h3>gtk_icon_factory_remove_default ()</h3>
|
480
479
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_factory_remove_default (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>);</pre>
|
481
480
|
<p>
|
@@ -493,15 +492,15 @@ can be unloaded or shut down.
|
|
493
492
|
</table></div>
|
494
493
|
</div>
|
495
494
|
<hr>
|
496
|
-
<div class="refsect2"
|
495
|
+
<div class="refsect2">
|
497
496
|
<a name="gtk-icon-set-add-source"></a><h3>gtk_icon_set_add_source ()</h3>
|
498
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_set_add_source (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
497
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_set_add_source (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>,
|
499
498
|
<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
500
499
|
<p>
|
501
500
|
Icon sets have a list of <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a>, which they use as base
|
502
501
|
icons for rendering icons in different states and sizes. Icons are
|
503
502
|
scaled, made to look insensitive, etc. in
|
504
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-render-icon" title="gtk_icon_set_render_icon ()"><code class="function">gtk_icon_set_render_icon()</code></a>, but <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
503
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-render-icon" title="gtk_icon_set_render_icon ()"><code class="function">gtk_icon_set_render_icon()</code></a>, but <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> needs base images to
|
505
504
|
work with. The base images and when to use them are described by
|
506
505
|
a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a>.
|
507
506
|
</p>
|
@@ -520,7 +519,7 @@ the icon, and you might add a separate source for each one.
|
|
520
519
|
<p>
|
521
520
|
You should nearly always add a "default" icon source with all
|
522
521
|
fields wildcarded, which will be used as a fallback if no more
|
523
|
-
specific source matches. <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
522
|
+
specific source matches. <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> always prefers more specific
|
524
523
|
icon sources to more generic icon sources. The order in which you
|
525
524
|
add the sources to the icon set does not matter.
|
526
525
|
</p>
|
@@ -533,7 +532,7 @@ default icon source based on the given pixbuf.
|
|
533
532
|
<tbody>
|
534
533
|
<tr>
|
535
534
|
<td><p><span class="term"><em class="parameter"><code>icon_set</code></em> :</span></p></td>
|
536
|
-
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
535
|
+
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>
|
537
536
|
</td>
|
538
537
|
</tr>
|
539
538
|
<tr>
|
@@ -545,9 +544,9 @@ default icon source based on the given pixbuf.
|
|
545
544
|
</table></div>
|
546
545
|
</div>
|
547
546
|
<hr>
|
548
|
-
<div class="refsect2"
|
547
|
+
<div class="refsect2">
|
549
548
|
<a name="gtk-icon-set-copy"></a><h3>gtk_icon_set_copy ()</h3>
|
550
|
-
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
549
|
+
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * gtk_icon_set_copy (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>);</pre>
|
551
550
|
<p>
|
552
551
|
Copies <em class="parameter"><code>icon_set</code></em> by value.
|
553
552
|
</p>
|
@@ -556,48 +555,47 @@ Copies <em class="parameter"><code>icon_set</code></em> by value.
|
|
556
555
|
<tbody>
|
557
556
|
<tr>
|
558
557
|
<td><p><span class="term"><em class="parameter"><code>icon_set</code></em> :</span></p></td>
|
559
|
-
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
558
|
+
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>
|
560
559
|
</td>
|
561
560
|
</tr>
|
562
561
|
<tr>
|
563
562
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
564
|
-
<td>
|
565
|
-
</td>
|
563
|
+
<td>a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> identical to the first.</td>
|
566
564
|
</tr>
|
567
565
|
</tbody>
|
568
566
|
</table></div>
|
569
567
|
</div>
|
570
568
|
<hr>
|
571
|
-
<div class="refsect2"
|
569
|
+
<div class="refsect2">
|
572
570
|
<a name="gtk-icon-set-new"></a><h3>gtk_icon_set_new ()</h3>
|
573
|
-
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
571
|
+
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * gtk_icon_set_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
574
572
|
<p>
|
575
|
-
Creates a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
573
|
+
Creates a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>. A <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> represents a single icon
|
576
574
|
in various sizes and widget states. It can provide a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
577
575
|
for a given size and state on request, and automatically caches
|
578
576
|
some of the rendered <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> objects.
|
579
577
|
</p>
|
580
578
|
<p>
|
581
579
|
Normally you would use <a class="link" href="GtkWidget.html#gtk-widget-render-icon" title="gtk_widget_render_icon ()"><code class="function">gtk_widget_render_icon()</code></a> instead of
|
582
|
-
using <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
583
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
580
|
+
using <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> directly. The one case where you'd use
|
581
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> is to create application-specific icon sets to place in
|
584
582
|
a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a>.
|
585
583
|
</p>
|
586
584
|
<div class="variablelist"><table border="0">
|
587
585
|
<col align="left" valign="top">
|
588
586
|
<tbody><tr>
|
589
587
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
590
|
-
<td>
|
588
|
+
<td>a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>
|
591
589
|
</td>
|
592
590
|
</tr></tbody>
|
593
591
|
</table></div>
|
594
592
|
</div>
|
595
593
|
<hr>
|
596
|
-
<div class="refsect2"
|
594
|
+
<div class="refsect2">
|
597
595
|
<a name="gtk-icon-set-new-from-pixbuf"></a><h3>gtk_icon_set_new_from_pixbuf ()</h3>
|
598
|
-
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
596
|
+
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * gtk_icon_set_new_from_pixbuf (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
599
597
|
<p>
|
600
|
-
Creates a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
598
|
+
Creates a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> with <em class="parameter"><code>pixbuf</code></em> as the default/fallback
|
601
599
|
source image. If you don't add any additional <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> to the
|
602
600
|
icon set, all variants of the icon will be created from <em class="parameter"><code>pixbuf</code></em>,
|
603
601
|
using scaling, pixelation, etc. as required to adjust the icon size
|
@@ -613,16 +611,16 @@ or make the icon look insensitive/prelighted.
|
|
613
611
|
</tr>
|
614
612
|
<tr>
|
615
613
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
616
|
-
<td>
|
614
|
+
<td>a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>
|
617
615
|
</td>
|
618
616
|
</tr>
|
619
617
|
</tbody>
|
620
618
|
</table></div>
|
621
619
|
</div>
|
622
620
|
<hr>
|
623
|
-
<div class="refsect2"
|
621
|
+
<div class="refsect2">
|
624
622
|
<a name="gtk-icon-set-ref"></a><h3>gtk_icon_set_ref ()</h3>
|
625
|
-
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
623
|
+
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * gtk_icon_set_ref (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>);</pre>
|
626
624
|
<p>
|
627
625
|
Increments the reference count on <em class="parameter"><code>icon_set</code></em>.
|
628
626
|
</p>
|
@@ -631,21 +629,20 @@ Increments the reference count on <em class="parameter"><code>icon_set</code></e
|
|
631
629
|
<tbody>
|
632
630
|
<tr>
|
633
631
|
<td><p><span class="term"><em class="parameter"><code>icon_set</code></em> :</span></p></td>
|
634
|
-
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
635
|
-
</td>
|
632
|
+
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>.</td>
|
636
633
|
</tr>
|
637
634
|
<tr>
|
638
635
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
639
|
-
<td>
|
640
|
-
</td>
|
636
|
+
<td>
|
637
|
+
<em class="parameter"><code>icon_set</code></em>.</td>
|
641
638
|
</tr>
|
642
639
|
</tbody>
|
643
640
|
</table></div>
|
644
641
|
</div>
|
645
642
|
<hr>
|
646
|
-
<div class="refsect2"
|
643
|
+
<div class="refsect2">
|
647
644
|
<a name="gtk-icon-set-render-icon"></a><h3>gtk_icon_set_render_icon ()</h3>
|
648
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a
|
645
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gtk_icon_set_render_icon (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>,
|
649
646
|
<em class="parameter"><code><a class="link" href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a> *style</code></em>,
|
650
647
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> direction</code></em>,
|
651
648
|
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>,
|
@@ -665,56 +662,54 @@ image" icon will be returned instead.
|
|
665
662
|
<tbody>
|
666
663
|
<tr>
|
667
664
|
<td><p><span class="term"><em class="parameter"><code>icon_set</code></em> :</span></p></td>
|
668
|
-
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
665
|
+
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>
|
669
666
|
</td>
|
670
667
|
</tr>
|
671
668
|
<tr>
|
672
669
|
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
|
673
|
-
<td>
|
670
|
+
<td>a <a class="link" href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a> associated with <em class="parameter"><code>widget</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
674
671
|
</td>
|
675
672
|
</tr>
|
676
673
|
<tr>
|
677
674
|
<td><p><span class="term"><em class="parameter"><code>direction</code></em> :</span></p></td>
|
678
|
-
<td>text direction
|
679
|
-
</td>
|
675
|
+
<td>text direction</td>
|
680
676
|
</tr>
|
681
677
|
<tr>
|
682
678
|
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
|
683
|
-
<td>widget state
|
684
|
-
</td>
|
679
|
+
<td>widget state</td>
|
685
680
|
</tr>
|
686
681
|
<tr>
|
687
682
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
688
|
-
<td>
|
689
|
-
|
683
|
+
<td>icon size. A size of (GtkIconSize)-1
|
684
|
+
means render at the size of the source and don't scale. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
|
690
685
|
</td>
|
691
686
|
</tr>
|
692
687
|
<tr>
|
693
688
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
694
|
-
<td>
|
695
|
-
|
696
|
-
|
689
|
+
<td>widget that will display the icon, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
690
|
+
The only use that is typically made of this
|
691
|
+
is to determine the appropriate <a href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"><span class="type">GdkScreen</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
697
692
|
</td>
|
698
693
|
</tr>
|
699
694
|
<tr>
|
700
695
|
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
701
|
-
<td>
|
702
|
-
|
703
|
-
|
696
|
+
<td>detail to pass to the theme engine, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
697
|
+
Note that passing a detail of anything but <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
698
|
+
will disable caching. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
704
699
|
</td>
|
705
700
|
</tr>
|
706
701
|
<tr>
|
707
702
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
708
|
-
<td>
|
703
|
+
<td>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> to be displayed. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
709
704
|
</td>
|
710
705
|
</tr>
|
711
706
|
</tbody>
|
712
707
|
</table></div>
|
713
708
|
</div>
|
714
709
|
<hr>
|
715
|
-
<div class="refsect2"
|
710
|
+
<div class="refsect2">
|
716
711
|
<a name="gtk-icon-set-unref"></a><h3>gtk_icon_set_unref ()</h3>
|
717
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_set_unref (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
712
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_set_unref (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>);</pre>
|
718
713
|
<p>
|
719
714
|
Decrements the reference count on <em class="parameter"><code>icon_set</code></em>, and frees memory
|
720
715
|
if the reference count reaches 0.
|
@@ -723,13 +718,13 @@ if the reference count reaches 0.
|
|
723
718
|
<col align="left" valign="top">
|
724
719
|
<tbody><tr>
|
725
720
|
<td><p><span class="term"><em class="parameter"><code>icon_set</code></em> :</span></p></td>
|
726
|
-
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
721
|
+
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>
|
727
722
|
</td>
|
728
723
|
</tr></tbody>
|
729
724
|
</table></div>
|
730
725
|
</div>
|
731
726
|
<hr>
|
732
|
-
<div class="refsect2"
|
727
|
+
<div class="refsect2">
|
733
728
|
<a name="gtk-icon-size-lookup"></a><h3>gtk_icon_size_lookup ()</h3>
|
734
729
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_size_lookup (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>,
|
735
730
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
@@ -752,29 +747,27 @@ the usual size.
|
|
752
747
|
<tbody>
|
753
748
|
<tr>
|
754
749
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
755
|
-
<td>
|
750
|
+
<td>an icon size. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
|
756
751
|
</td>
|
757
752
|
</tr>
|
758
753
|
<tr>
|
759
754
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
760
|
-
<td>location to store icon width
|
761
|
-
</td>
|
755
|
+
<td>location to store icon width</td>
|
762
756
|
</tr>
|
763
757
|
<tr>
|
764
758
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
765
|
-
<td>location to store icon height
|
766
|
-
</td>
|
759
|
+
<td>location to store icon height</td>
|
767
760
|
</tr>
|
768
761
|
<tr>
|
769
762
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
770
|
-
<td>
|
771
|
-
</td>
|
763
|
+
<td>
|
764
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>size</code></em> was a valid size</td>
|
772
765
|
</tr>
|
773
766
|
</tbody>
|
774
767
|
</table></div>
|
775
768
|
</div>
|
776
769
|
<hr>
|
777
|
-
<div class="refsect2"
|
770
|
+
<div class="refsect2">
|
778
771
|
<a name="gtk-icon-size-lookup-for-settings"></a><h3>gtk_icon_size_lookup_for_settings ()</h3>
|
779
772
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_size_lookup_for_settings (<em class="parameter"><code><a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> *settings</code></em>,
|
780
773
|
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>,
|
@@ -798,36 +791,32 @@ the usual size.
|
|
798
791
|
<tr>
|
799
792
|
<td><p><span class="term"><em class="parameter"><code>settings</code></em> :</span></p></td>
|
800
793
|
<td>a <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> object, used to determine
|
801
|
-
|
802
|
-
</td>
|
794
|
+
which set of user preferences to used.</td>
|
803
795
|
</tr>
|
804
796
|
<tr>
|
805
797
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
806
|
-
<td>
|
798
|
+
<td>an icon size. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
|
807
799
|
</td>
|
808
800
|
</tr>
|
809
801
|
<tr>
|
810
802
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
811
|
-
<td>location to store icon width
|
812
|
-
</td>
|
803
|
+
<td>location to store icon width</td>
|
813
804
|
</tr>
|
814
805
|
<tr>
|
815
806
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
816
|
-
<td>location to store icon height
|
817
|
-
</td>
|
807
|
+
<td>location to store icon height</td>
|
818
808
|
</tr>
|
819
809
|
<tr>
|
820
810
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
821
|
-
<td>
|
822
|
-
|
823
|
-
</td>
|
811
|
+
<td>
|
812
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>size</code></em> was a valid size</td>
|
824
813
|
</tr>
|
825
814
|
</tbody>
|
826
815
|
</table></div>
|
827
816
|
<p class="since">Since 2.2</p>
|
828
817
|
</div>
|
829
818
|
<hr>
|
830
|
-
<div class="refsect2"
|
819
|
+
<div class="refsect2">
|
831
820
|
<a name="gtk-icon-size-register"></a><h3>gtk_icon_size_register ()</h3>
|
832
821
|
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> gtk_icon_size_register (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
833
822
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
@@ -841,29 +830,26 @@ etc. Returns the integer value for the size.
|
|
841
830
|
<tbody>
|
842
831
|
<tr>
|
843
832
|
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
844
|
-
<td>name of the icon size
|
845
|
-
</td>
|
833
|
+
<td>name of the icon size</td>
|
846
834
|
</tr>
|
847
835
|
<tr>
|
848
836
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
849
|
-
<td>the icon width
|
850
|
-
</td>
|
837
|
+
<td>the icon width</td>
|
851
838
|
</tr>
|
852
839
|
<tr>
|
853
840
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
854
|
-
<td>the icon height
|
855
|
-
</td>
|
841
|
+
<td>the icon height</td>
|
856
842
|
</tr>
|
857
843
|
<tr>
|
858
844
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
859
|
-
<td>
|
845
|
+
<td>integer value representing the size. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
|
860
846
|
</td>
|
861
847
|
</tr>
|
862
848
|
</tbody>
|
863
849
|
</table></div>
|
864
850
|
</div>
|
865
851
|
<hr>
|
866
|
-
<div class="refsect2"
|
852
|
+
<div class="refsect2">
|
867
853
|
<a name="gtk-icon-size-register-alias"></a><h3>gtk_icon_size_register_alias ()</h3>
|
868
854
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_size_register_alias (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *alias</code></em>,
|
869
855
|
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> target</code></em>);</pre>
|
@@ -882,14 +868,14 @@ will return <em class="parameter"><code>target</code></em>.
|
|
882
868
|
</tr>
|
883
869
|
<tr>
|
884
870
|
<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td>
|
885
|
-
<td>
|
871
|
+
<td>an existing icon size. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
|
886
872
|
</td>
|
887
873
|
</tr>
|
888
874
|
</tbody>
|
889
875
|
</table></div>
|
890
876
|
</div>
|
891
877
|
<hr>
|
892
|
-
<div class="refsect2"
|
878
|
+
<div class="refsect2">
|
893
879
|
<a name="gtk-icon-size-from-name"></a><h3>gtk_icon_size_from_name ()</h3>
|
894
880
|
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> gtk_icon_size_from_name (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
895
881
|
<p>
|
@@ -900,21 +886,19 @@ Looks up the icon size associated with <em class="parameter"><code>name</code></
|
|
900
886
|
<tbody>
|
901
887
|
<tr>
|
902
888
|
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
903
|
-
<td>the name to look up
|
904
|
-
</td>
|
889
|
+
<td>the name to look up.</td>
|
905
890
|
</tr>
|
906
891
|
<tr>
|
907
892
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
908
|
-
<td>the icon size with the given name
|
909
|
-
</td>
|
893
|
+
<td>the icon size with the given name.</td>
|
910
894
|
</tr>
|
911
895
|
</tbody>
|
912
896
|
</table></div>
|
913
897
|
</div>
|
914
898
|
<hr>
|
915
|
-
<div class="refsect2"
|
899
|
+
<div class="refsect2">
|
916
900
|
<a name="gtk-icon-size-get-name"></a><h3>gtk_icon_size_get_name ()</h3>
|
917
|
-
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a
|
901
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_icon_size_get_name (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);</pre>
|
918
902
|
<p>
|
919
903
|
Gets the canonical name of the given icon size. The returned string
|
920
904
|
is statically allocated and should not be freed.
|
@@ -924,21 +908,20 @@ is statically allocated and should not be freed.
|
|
924
908
|
<tbody>
|
925
909
|
<tr>
|
926
910
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
927
|
-
<td>
|
911
|
+
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
|
928
912
|
</td>
|
929
913
|
</tr>
|
930
914
|
<tr>
|
931
915
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
932
|
-
<td>the name of the given icon size
|
933
|
-
</td>
|
916
|
+
<td>the name of the given icon size.</td>
|
934
917
|
</tr>
|
935
918
|
</tbody>
|
936
919
|
</table></div>
|
937
920
|
</div>
|
938
921
|
<hr>
|
939
|
-
<div class="refsect2"
|
922
|
+
<div class="refsect2">
|
940
923
|
<a name="gtk-icon-set-get-sizes"></a><h3>gtk_icon_set_get_sizes ()</h3>
|
941
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_set_get_sizes (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
924
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_set_get_sizes (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>,
|
942
925
|
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> **sizes</code></em>,
|
943
926
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *n_sizes</code></em>);</pre>
|
944
927
|
<p>
|
@@ -950,25 +933,24 @@ array must be freed with <a href="http://library.gnome.org/devel/glib/unstable/g
|
|
950
933
|
<tbody>
|
951
934
|
<tr>
|
952
935
|
<td><p><span class="term"><em class="parameter"><code>icon_set</code></em> :</span></p></td>
|
953
|
-
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
936
|
+
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>
|
954
937
|
</td>
|
955
938
|
</tr>
|
956
939
|
<tr>
|
957
940
|
<td><p><span class="term"><em class="parameter"><code>sizes</code></em> :</span></p></td>
|
958
|
-
<td>
|
959
|
-
|
941
|
+
<td>return location
|
942
|
+
for array of sizes. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_sizes][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
|
960
943
|
</td>
|
961
944
|
</tr>
|
962
945
|
<tr>
|
963
946
|
<td><p><span class="term"><em class="parameter"><code>n_sizes</code></em> :</span></p></td>
|
964
|
-
<td>location to store number of elements in returned array
|
965
|
-
</td>
|
947
|
+
<td>location to store number of elements in returned array</td>
|
966
948
|
</tr>
|
967
949
|
</tbody>
|
968
950
|
</table></div>
|
969
951
|
</div>
|
970
952
|
<hr>
|
971
|
-
<div class="refsect2"
|
953
|
+
<div class="refsect2">
|
972
954
|
<a name="gtk-icon-source-get-direction"></a><h3>gtk_icon_source_get_direction ()</h3>
|
973
955
|
<pre class="programlisting"><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a> gtk_icon_source_get_direction (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
974
956
|
<p>
|
@@ -986,14 +968,13 @@ wildcarded.
|
|
986
968
|
</tr>
|
987
969
|
<tr>
|
988
970
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
989
|
-
<td>
|
990
|
-
</td>
|
971
|
+
<td>text direction this source matches</td>
|
991
972
|
</tr>
|
992
973
|
</tbody>
|
993
974
|
</table></div>
|
994
975
|
</div>
|
995
976
|
<hr>
|
996
|
-
<div class="refsect2"
|
977
|
+
<div class="refsect2">
|
997
978
|
<a name="gtk-icon-source-get-direction-wildcarded"></a><h3>gtk_icon_source_get_direction_wildcarded ()</h3>
|
998
979
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_source_get_direction_wildcarded
|
999
980
|
(<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
@@ -1010,16 +991,17 @@ Gets the value set by <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-
|
|
1010
991
|
</tr>
|
1011
992
|
<tr>
|
1012
993
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1013
|
-
<td>
|
1014
|
-
</td>
|
994
|
+
<td>
|
995
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this icon source is a base for any text direction variant</td>
|
1015
996
|
</tr>
|
1016
997
|
</tbody>
|
1017
998
|
</table></div>
|
1018
999
|
</div>
|
1019
1000
|
<hr>
|
1020
|
-
<div class="refsect2"
|
1021
|
-
<a name="gtk-icon-source-get-filename"></a><h3>gtk_icon_source_get_filename
|
1022
|
-
<pre class="programlisting"
|
1001
|
+
<div class="refsect2">
|
1002
|
+
<a name="gtk-icon-source-get-filename"></a><h3>gtk_icon_source_get_filename</h3>
|
1003
|
+
<pre class="programlisting">#define gtk_icon_source_get_filename gtk_icon_source_get_filename_utf8
|
1004
|
+
</pre>
|
1023
1005
|
<p>
|
1024
1006
|
Retrieves the source filename, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none is set. The
|
1025
1007
|
filename is not a copy, and should not be modified or expected to
|
@@ -1027,25 +1009,17 @@ persist beyond the lifetime of the icon source.
|
|
1027
1009
|
</p>
|
1028
1010
|
<div class="variablelist"><table border="0">
|
1029
1011
|
<col align="left" valign="top">
|
1030
|
-
<tbody>
|
1031
|
-
<tr>
|
1032
|
-
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
1033
|
-
<td>a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a>
|
1034
|
-
</td>
|
1035
|
-
</tr>
|
1036
|
-
<tr>
|
1012
|
+
<tbody><tr>
|
1037
1013
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1038
|
-
<td>
|
1039
|
-
or freed
|
1040
|
-
</
|
1041
|
-
</tr>
|
1042
|
-
</tbody>
|
1014
|
+
<td>image filename. This string must not be modified
|
1015
|
+
or freed.</td>
|
1016
|
+
</tr></tbody>
|
1043
1017
|
</table></div>
|
1044
1018
|
</div>
|
1045
1019
|
<hr>
|
1046
|
-
<div class="refsect2"
|
1020
|
+
<div class="refsect2">
|
1047
1021
|
<a name="gtk-icon-source-get-pixbuf"></a><h3>gtk_icon_source_get_pixbuf ()</h3>
|
1048
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a
|
1022
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gtk_icon_source_get_pixbuf (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
1049
1023
|
<p>
|
1050
1024
|
Retrieves the source pixbuf, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none is set.
|
1051
1025
|
In addition, if a filename source is in use, this
|
@@ -1065,16 +1039,16 @@ not incremented.
|
|
1065
1039
|
</tr>
|
1066
1040
|
<tr>
|
1067
1041
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1068
|
-
<td>
|
1042
|
+
<td>source pixbuf. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1069
1043
|
</td>
|
1070
1044
|
</tr>
|
1071
1045
|
</tbody>
|
1072
1046
|
</table></div>
|
1073
1047
|
</div>
|
1074
1048
|
<hr>
|
1075
|
-
<div class="refsect2"
|
1049
|
+
<div class="refsect2">
|
1076
1050
|
<a name="gtk-icon-source-get-icon-name"></a><h3>gtk_icon_source_get_icon_name ()</h3>
|
1077
|
-
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a
|
1051
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_icon_source_get_icon_name (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
1078
1052
|
<p>
|
1079
1053
|
Retrieves the source icon name, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none is set. The
|
1080
1054
|
icon_name is not a copy, and should not be modified or expected to
|
@@ -1090,14 +1064,13 @@ persist beyond the lifetime of the icon source.
|
|
1090
1064
|
</tr>
|
1091
1065
|
<tr>
|
1092
1066
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1093
|
-
<td>
|
1094
|
-
</td>
|
1067
|
+
<td>icon name. This string must not be modified or freed.</td>
|
1095
1068
|
</tr>
|
1096
1069
|
</tbody>
|
1097
1070
|
</table></div>
|
1098
1071
|
</div>
|
1099
1072
|
<hr>
|
1100
|
-
<div class="refsect2"
|
1073
|
+
<div class="refsect2">
|
1101
1074
|
<a name="gtk-icon-source-get-size"></a><h3>gtk_icon_source_get_size ()</h3>
|
1102
1075
|
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> gtk_icon_source_get_size (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
1103
1076
|
<p>
|
@@ -1114,14 +1087,14 @@ is only useful/meaningful if the icon size is <span class="emphasis"><em>not</em
|
|
1114
1087
|
</tr>
|
1115
1088
|
<tr>
|
1116
1089
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1117
|
-
<td>
|
1090
|
+
<td>icon size this source matches. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
|
1118
1091
|
</td>
|
1119
1092
|
</tr>
|
1120
1093
|
</tbody>
|
1121
1094
|
</table></div>
|
1122
1095
|
</div>
|
1123
1096
|
<hr>
|
1124
|
-
<div class="refsect2"
|
1097
|
+
<div class="refsect2">
|
1125
1098
|
<a name="gtk-icon-source-get-size-wildcarded"></a><h3>gtk_icon_source_get_size_wildcarded ()</h3>
|
1126
1099
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_source_get_size_wildcarded (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
1127
1100
|
<p>
|
@@ -1137,14 +1110,14 @@ Gets the value set by <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-
|
|
1137
1110
|
</tr>
|
1138
1111
|
<tr>
|
1139
1112
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1140
|
-
<td>
|
1141
|
-
</td>
|
1113
|
+
<td>
|
1114
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this icon source is a base for any icon size variant</td>
|
1142
1115
|
</tr>
|
1143
1116
|
</tbody>
|
1144
1117
|
</table></div>
|
1145
1118
|
</div>
|
1146
1119
|
<hr>
|
1147
|
-
<div class="refsect2"
|
1120
|
+
<div class="refsect2">
|
1148
1121
|
<a name="gtk-icon-source-get-state"></a><h3>gtk_icon_source_get_state ()</h3>
|
1149
1122
|
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType"><span class="returnvalue">GtkStateType</span></a> gtk_icon_source_get_state (<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
1150
1123
|
<p>
|
@@ -1162,14 +1135,13 @@ wildcarded.
|
|
1162
1135
|
</tr>
|
1163
1136
|
<tr>
|
1164
1137
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1165
|
-
<td>
|
1166
|
-
</td>
|
1138
|
+
<td>widget state this source matches</td>
|
1167
1139
|
</tr>
|
1168
1140
|
</tbody>
|
1169
1141
|
</table></div>
|
1170
1142
|
</div>
|
1171
1143
|
<hr>
|
1172
|
-
<div class="refsect2"
|
1144
|
+
<div class="refsect2">
|
1173
1145
|
<a name="gtk-icon-source-get-state-wildcarded"></a><h3>gtk_icon_source_get_state_wildcarded ()</h3>
|
1174
1146
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_source_get_state_wildcarded
|
1175
1147
|
(<em class="parameter"><code>const <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
@@ -1186,20 +1158,20 @@ Gets the value set by <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-
|
|
1186
1158
|
</tr>
|
1187
1159
|
<tr>
|
1188
1160
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1189
|
-
<td>
|
1190
|
-
</td>
|
1161
|
+
<td>
|
1162
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if this icon source is a base for any widget state variant</td>
|
1191
1163
|
</tr>
|
1192
1164
|
</tbody>
|
1193
1165
|
</table></div>
|
1194
1166
|
</div>
|
1195
1167
|
<hr>
|
1196
|
-
<div class="refsect2"
|
1168
|
+
<div class="refsect2">
|
1197
1169
|
<a name="gtk-icon-source-new"></a><h3>gtk_icon_source_new ()</h3>
|
1198
|
-
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="returnvalue">GtkIconSource</span></a
|
1170
|
+
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="returnvalue">GtkIconSource</span></a> * gtk_icon_source_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1199
1171
|
<p>
|
1200
1172
|
Creates a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a>. A <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> contains a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> (or
|
1201
1173
|
image filename) that serves as the base image for one or more of the
|
1202
|
-
icons in a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1174
|
+
icons in a <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>, along with a specification for which icons in the
|
1203
1175
|
icon set will be based on that pixbuf or image file. An icon set contains
|
1204
1176
|
a set of icons that represent "the same" logical concept in different states,
|
1205
1177
|
different global text directions, and different sizes.
|
@@ -1209,12 +1181,12 @@ So for example a web browser's "Back to Previous Page" icon might
|
|
1209
1181
|
point in a different direction in Hebrew and in English; it might
|
1210
1182
|
look different when insensitive; and it might change size depending
|
1211
1183
|
on toolbar mode (small/large icons). So a single icon set would
|
1212
|
-
contain all those variants of the icon. <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1184
|
+
contain all those variants of the icon. <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> contains a list
|
1213
1185
|
of <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> from which it can derive specific icon variants in
|
1214
1186
|
the set.
|
1215
1187
|
</p>
|
1216
1188
|
<p>
|
1217
|
-
In the simplest case, <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1189
|
+
In the simplest case, <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> contains one source pixbuf from
|
1218
1190
|
which it derives all variants. The convenience function
|
1219
1191
|
<a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-set-new-from-pixbuf" title="gtk_icon_set_new_from_pixbuf ()"><code class="function">gtk_icon_set_new_from_pixbuf()</code></a> handles this case; if you only have
|
1220
1192
|
one source pixbuf, just use that function.
|
@@ -1234,13 +1206,13 @@ direction, widget state, or icon size.
|
|
1234
1206
|
<col align="left" valign="top">
|
1235
1207
|
<tbody><tr>
|
1236
1208
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1237
|
-
<td>
|
1209
|
+
<td>a new <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a>
|
1238
1210
|
</td>
|
1239
1211
|
</tr></tbody>
|
1240
1212
|
</table></div>
|
1241
1213
|
</div>
|
1242
1214
|
<hr>
|
1243
|
-
<div class="refsect2"
|
1215
|
+
<div class="refsect2">
|
1244
1216
|
<a name="gtk-icon-source-set-direction"></a><h3>gtk_icon_source_set_direction ()</h3>
|
1245
1217
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_direction (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
1246
1218
|
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> direction</code></em>);</pre>
|
@@ -1264,14 +1236,13 @@ in addition to calling this function.
|
|
1264
1236
|
</tr>
|
1265
1237
|
<tr>
|
1266
1238
|
<td><p><span class="term"><em class="parameter"><code>direction</code></em> :</span></p></td>
|
1267
|
-
<td>text direction this source applies to
|
1268
|
-
</td>
|
1239
|
+
<td>text direction this source applies to</td>
|
1269
1240
|
</tr>
|
1270
1241
|
</tbody>
|
1271
1242
|
</table></div>
|
1272
1243
|
</div>
|
1273
1244
|
<hr>
|
1274
|
-
<div class="refsect2"
|
1245
|
+
<div class="refsect2">
|
1275
1246
|
<a name="gtk-icon-source-set-direction-wildcarded"></a><h3>gtk_icon_source_set_direction_wildcarded ()</h3>
|
1276
1247
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_direction_wildcarded
|
1277
1248
|
(<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
@@ -1285,7 +1256,7 @@ with <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-set-d
|
|
1285
1256
|
will only be used with that text direction.
|
1286
1257
|
</p>
|
1287
1258
|
<p>
|
1288
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1259
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> prefers non-wildcarded sources (exact matches) over
|
1289
1260
|
wildcarded sources, and will use an exact match when possible.
|
1290
1261
|
</p>
|
1291
1262
|
<div class="variablelist"><table border="0">
|
@@ -1299,20 +1270,19 @@ wildcarded sources, and will use an exact match when possible.
|
|
1299
1270
|
<tr>
|
1300
1271
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1301
1272
|
<td>
|
1302
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to wildcard the text direction
|
1303
|
-
</td>
|
1273
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to wildcard the text direction</td>
|
1304
1274
|
</tr>
|
1305
1275
|
</tbody>
|
1306
1276
|
</table></div>
|
1307
1277
|
</div>
|
1308
1278
|
<hr>
|
1309
|
-
<div class="refsect2"
|
1310
|
-
<a name="gtk-icon-source-set-filename"></a><h3>gtk_icon_source_set_filename
|
1311
|
-
<pre class="programlisting"
|
1312
|
-
|
1279
|
+
<div class="refsect2">
|
1280
|
+
<a name="gtk-icon-source-set-filename"></a><h3>gtk_icon_source_set_filename</h3>
|
1281
|
+
<pre class="programlisting">#define gtk_icon_source_set_filename gtk_icon_source_set_filename_utf8
|
1282
|
+
</pre>
|
1313
1283
|
<p>
|
1314
1284
|
Sets the name of an image file to use as a base image when creating
|
1315
|
-
icon variants for <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1285
|
+
icon variants for <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>. The filename must be absolute.
|
1316
1286
|
</p>
|
1317
1287
|
<div class="variablelist"><table border="0">
|
1318
1288
|
<col align="left" valign="top">
|
@@ -1324,20 +1294,19 @@ icon variants for <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconS
|
|
1324
1294
|
</tr>
|
1325
1295
|
<tr>
|
1326
1296
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1327
|
-
<td>image file to use
|
1328
|
-
</td>
|
1297
|
+
<td>image file to use</td>
|
1329
1298
|
</tr>
|
1330
1299
|
</tbody>
|
1331
1300
|
</table></div>
|
1332
1301
|
</div>
|
1333
1302
|
<hr>
|
1334
|
-
<div class="refsect2"
|
1303
|
+
<div class="refsect2">
|
1335
1304
|
<a name="gtk-icon-source-set-pixbuf"></a><h3>gtk_icon_source_set_pixbuf ()</h3>
|
1336
1305
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_pixbuf (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
1337
1306
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
|
1338
1307
|
<p>
|
1339
1308
|
Sets a pixbuf to use as a base image when creating icon variants
|
1340
|
-
for <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1309
|
+
for <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>.
|
1341
1310
|
</p>
|
1342
1311
|
<div class="variablelist"><table border="0">
|
1343
1312
|
<col align="left" valign="top">
|
@@ -1349,20 +1318,19 @@ for <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet" title="Gtk
|
|
1349
1318
|
</tr>
|
1350
1319
|
<tr>
|
1351
1320
|
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
|
1352
|
-
<td>pixbuf to use as a source
|
1353
|
-
</td>
|
1321
|
+
<td>pixbuf to use as a source</td>
|
1354
1322
|
</tr>
|
1355
1323
|
</tbody>
|
1356
1324
|
</table></div>
|
1357
1325
|
</div>
|
1358
1326
|
<hr>
|
1359
|
-
<div class="refsect2"
|
1327
|
+
<div class="refsect2">
|
1360
1328
|
<a name="gtk-icon-source-set-icon-name"></a><h3>gtk_icon_source_set_icon_name ()</h3>
|
1361
1329
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_icon_name (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
1362
1330
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);</pre>
|
1363
1331
|
<p>
|
1364
1332
|
Sets the name of an icon to look up in the current icon theme
|
1365
|
-
to use as a base image when creating icon variants for <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1333
|
+
to use as a base image when creating icon variants for <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>.
|
1366
1334
|
</p>
|
1367
1335
|
<div class="variablelist"><table border="0">
|
1368
1336
|
<col align="left" valign="top">
|
@@ -1374,14 +1342,14 @@ to use as a base image when creating icon variants for <a class="link" href="gtk
|
|
1374
1342
|
</tr>
|
1375
1343
|
<tr>
|
1376
1344
|
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
|
1377
|
-
<td>
|
1345
|
+
<td>name of icon to use. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1378
1346
|
</td>
|
1379
1347
|
</tr>
|
1380
1348
|
</tbody>
|
1381
1349
|
</table></div>
|
1382
1350
|
</div>
|
1383
1351
|
<hr>
|
1384
|
-
<div class="refsect2"
|
1352
|
+
<div class="refsect2">
|
1385
1353
|
<a name="gtk-icon-source-set-size"></a><h3>gtk_icon_source_set_size ()</h3>
|
1386
1354
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_size (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
1387
1355
|
<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);</pre>
|
@@ -1405,14 +1373,14 @@ in addition to calling this function.
|
|
1405
1373
|
</tr>
|
1406
1374
|
<tr>
|
1407
1375
|
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
1408
|
-
<td>
|
1376
|
+
<td>icon size this source applies to. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
|
1409
1377
|
</td>
|
1410
1378
|
</tr>
|
1411
1379
|
</tbody>
|
1412
1380
|
</table></div>
|
1413
1381
|
</div>
|
1414
1382
|
<hr>
|
1415
|
-
<div class="refsect2"
|
1383
|
+
<div class="refsect2">
|
1416
1384
|
<a name="gtk-icon-source-set-size-wildcarded"></a><h3>gtk_icon_source_set_size_wildcarded ()</h3>
|
1417
1385
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_size_wildcarded (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
1418
1386
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
|
@@ -1424,11 +1392,11 @@ the size the source applies to should be set with
|
|
1424
1392
|
with that specific size.
|
1425
1393
|
</p>
|
1426
1394
|
<p>
|
1427
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1395
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> prefers non-wildcarded sources (exact matches) over
|
1428
1396
|
wildcarded sources, and will use an exact match when possible.
|
1429
1397
|
</p>
|
1430
1398
|
<p>
|
1431
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1399
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> will normally scale wildcarded source images to produce
|
1432
1400
|
an appropriate icon at a given size, but will not change the size
|
1433
1401
|
of source images that match exactly.
|
1434
1402
|
</p>
|
@@ -1443,14 +1411,13 @@ of source images that match exactly.
|
|
1443
1411
|
<tr>
|
1444
1412
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1445
1413
|
<td>
|
1446
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to wildcard the widget state
|
1447
|
-
</td>
|
1414
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to wildcard the widget state</td>
|
1448
1415
|
</tr>
|
1449
1416
|
</tbody>
|
1450
1417
|
</table></div>
|
1451
1418
|
</div>
|
1452
1419
|
<hr>
|
1453
|
-
<div class="refsect2"
|
1420
|
+
<div class="refsect2">
|
1454
1421
|
<a name="gtk-icon-source-set-state"></a><h3>gtk_icon_source_set_state ()</h3>
|
1455
1422
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_state (<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
1456
1423
|
<em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>);</pre>
|
@@ -1474,14 +1441,13 @@ in addition to calling this function.
|
|
1474
1441
|
</tr>
|
1475
1442
|
<tr>
|
1476
1443
|
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
|
1477
|
-
<td>widget state this source applies to
|
1478
|
-
</td>
|
1444
|
+
<td>widget state this source applies to</td>
|
1479
1445
|
</tr>
|
1480
1446
|
</tbody>
|
1481
1447
|
</table></div>
|
1482
1448
|
</div>
|
1483
1449
|
<hr>
|
1484
|
-
<div class="refsect2"
|
1450
|
+
<div class="refsect2">
|
1485
1451
|
<a name="gtk-icon-source-set-state-wildcarded"></a><h3>gtk_icon_source_set_state_wildcarded ()</h3>
|
1486
1452
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_state_wildcarded
|
1487
1453
|
(<em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
@@ -1494,11 +1460,11 @@ set with <a class="link" href="gtk-Themeable-Stock-Images.html#gtk-icon-source-s
|
|
1494
1460
|
only be used with that specific state.
|
1495
1461
|
</p>
|
1496
1462
|
<p>
|
1497
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1463
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> prefers non-wildcarded sources (exact matches) over
|
1498
1464
|
wildcarded sources, and will use an exact match when possible.
|
1499
1465
|
</p>
|
1500
1466
|
<p>
|
1501
|
-
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"
|
1467
|
+
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> will normally transform wildcarded source images to
|
1502
1468
|
produce an appropriate icon for a given state, for example
|
1503
1469
|
lightening an image on prelight, but will not modify source images
|
1504
1470
|
that match exactly.
|
@@ -1514,8 +1480,7 @@ that match exactly.
|
|
1514
1480
|
<tr>
|
1515
1481
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1516
1482
|
<td>
|
1517
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to wildcard the widget state
|
1518
|
-
</td>
|
1483
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to wildcard the widget state</td>
|
1519
1484
|
</tr>
|
1520
1485
|
</tbody>
|
1521
1486
|
</table></div>
|
@@ -1524,6 +1489,6 @@ that match exactly.
|
|
1524
1489
|
</div>
|
1525
1490
|
<div class="footer">
|
1526
1491
|
<hr>
|
1527
|
-
Generated by GTK-Doc V1.
|
1492
|
+
Generated by GTK-Doc V1.16.1</div>
|
1528
1493
|
</body>
|
1529
1494
|
</html>
|