gtk2 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gtk2/rbgdkproperty.c +4 -4
- data/ext/gtk2/rbgtk.c +17 -0
- data/ext/gtk2/rbgtkdialog.c +26 -7
- data/ext/gtk2/rbgtkselectiondata.c +4 -5
- data/lib/2.0/gtk2.so +0 -0
- data/test/test_gdk_pixbuf.rb +34 -0
- 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/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.la +1 -1
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.la +1 -1
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgailutil.la +1 -1
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.la +1 -1
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.la +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +46 -46
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +93 -93
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +159 -159
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +53 -53
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +85 -85
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +17 -17
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +45 -45
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +200 -200
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Event-Structures.html +102 -102
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Events.html +61 -61
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +117 -117
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +110 -110
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +75 -75
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +52 -52
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +99 -99
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pixbufs.html +20 -20
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Points-Rectangles-and-Regions.html +46 -46
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +125 -125
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +88 -88
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +56 -56
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +395 -395
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +72 -72
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +136 -136
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +133 -133
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +78 -78
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +54 -54
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +67 -67
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +294 -294
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +212 -212
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +97 -97
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererPixbuf.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererProgress.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpin.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpinner.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +106 -106
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +92 -92
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +274 -274
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +103 -103
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +217 -217
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSV.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHandleBox.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +65 -65
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +99 -99
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +214 -214
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +158 -158
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +225 -225
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +117 -117
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +210 -210
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +96 -96
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +114 -114
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorToolItem.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +213 -213
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +164 -164
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +467 -467
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +233 -233
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +309 -309
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +134 -134
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +237 -237
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +156 -156
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +74 -74
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +478 -478
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +175 -175
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScale.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +769 -769
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +310 -310
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindowGroup.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidget.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/chap-drawing-model.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAboutDialog.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkComboBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkIconView.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkRecentChooser.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-checklist.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-entry-icons.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-tooltips.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-question-index.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +115 -115
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +80 -80
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +173 -173
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +168 -168
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +149 -149
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +95 -95
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-selection-modes.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-advanced.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-chooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-GtkCombo.html +4 -4
- metadata +16 -17
- data/lib/1.9/gtk2.so +0 -0
- data/lib/2.1/gtk2.so +0 -0
@@ -42,18 +42,18 @@
|
|
42
42
|
|
43
43
|
struct <a class="link" href="gtk2-Stock-Items.html#GtkStockItem" title="struct GtkStockItem">GtkStockItem</a>;
|
44
44
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Stock-Items.html#gtk-stock-add" title="gtk_stock_add ()">gtk_stock_add</a> (<em class="parameter"><code>const <a class="link" href="gtk2-Stock-Items.html#GtkStockItem" title="struct GtkStockItem"><span class="type">GtkStockItem</span></a> *items</code></em>,
|
45
|
-
<em class="parameter"><code><a href="
|
45
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_items</code></em>);
|
46
46
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Stock-Items.html#gtk-stock-add-static" title="gtk_stock_add_static ()">gtk_stock_add_static</a> (<em class="parameter"><code>const <a class="link" href="gtk2-Stock-Items.html#GtkStockItem" title="struct GtkStockItem"><span class="type">GtkStockItem</span></a> *items</code></em>,
|
47
|
-
<em class="parameter"><code><a href="
|
47
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_items</code></em>);
|
48
48
|
<a class="link" href="gtk2-Stock-Items.html#GtkStockItem" title="struct GtkStockItem"><span class="returnvalue">GtkStockItem</span></a> * <a class="link" href="gtk2-Stock-Items.html#gtk-stock-item-copy" title="gtk_stock_item_copy ()">gtk_stock_item_copy</a> (<em class="parameter"><code>const <a class="link" href="gtk2-Stock-Items.html#GtkStockItem" title="struct GtkStockItem"><span class="type">GtkStockItem</span></a> *item</code></em>);
|
49
49
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Stock-Items.html#gtk-stock-item-free" title="gtk_stock_item_free ()">gtk_stock_item_free</a> (<em class="parameter"><code><a class="link" href="gtk2-Stock-Items.html#GtkStockItem" title="struct GtkStockItem"><span class="type">GtkStockItem</span></a> *item</code></em>);
|
50
|
-
<a href="
|
51
|
-
<a href="
|
50
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="gtk2-Stock-Items.html#gtk-stock-list-ids" title="gtk_stock_list_ids ()">gtk_stock_list_ids</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
51
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-Stock-Items.html#gtk-stock-lookup" title="gtk_stock_lookup ()">gtk_stock_lookup</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>,
|
52
52
|
<em class="parameter"><code><a class="link" href="gtk2-Stock-Items.html#GtkStockItem" title="struct GtkStockItem"><span class="type">GtkStockItem</span></a> *item</code></em>);
|
53
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-Stock-Items.html#gtk-stock-set-translate-func" title="gtk_stock_set_translate_func ()">gtk_stock_set_translate_func</a> (<em class="parameter"><code>const <a href="
|
53
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-Stock-Items.html#gtk-stock-set-translate-func" title="gtk_stock_set_translate_func ()">gtk_stock_set_translate_func</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> *domain</code></em>,
|
54
54
|
<em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkTranslateFunc" title="GtkTranslateFunc ()"><span class="type">GtkTranslateFunc</span></a> func</code></em>,
|
55
|
-
<em class="parameter"><code><a href="
|
56
|
-
<em class="parameter"><code><a href="
|
55
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
56
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);
|
57
57
|
|
58
58
|
#define <a class="link" href="gtk2-Stock-Items.html#GTK-STOCK-ABOUT:CAPS" title="GTK_STOCK_ABOUT">GTK_STOCK_ABOUT</a>
|
59
59
|
#define <a class="link" href="gtk2-Stock-Items.html#GTK-STOCK-ADD:CAPS" title="GTK_STOCK_ADD">GTK_STOCK_ADD</a>
|
@@ -203,7 +203,7 @@ used for right-to-left locales.
|
|
203
203
|
<div class="refsect2">
|
204
204
|
<a name="gtk-stock-add"></a><h3>gtk_stock_add ()</h3>
|
205
205
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_stock_add (<em class="parameter"><code>const <a class="link" href="gtk2-Stock-Items.html#GtkStockItem" title="struct GtkStockItem"><span class="type">GtkStockItem</span></a> *items</code></em>,
|
206
|
-
<em class="parameter"><code><a href="
|
206
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_items</code></em>);</pre>
|
207
207
|
<p>
|
208
208
|
Registers each of the stock items in <em class="parameter"><code>items</code></em>. If an item already
|
209
209
|
exists with the same stock ID as one of the <em class="parameter"><code>items</code></em>, the old item
|
@@ -235,7 +235,7 @@ copy the array.
|
|
235
235
|
<div class="refsect2">
|
236
236
|
<a name="gtk-stock-add-static"></a><h3>gtk_stock_add_static ()</h3>
|
237
237
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_stock_add_static (<em class="parameter"><code>const <a class="link" href="gtk2-Stock-Items.html#GtkStockItem" title="struct GtkStockItem"><span class="type">GtkStockItem</span></a> *items</code></em>,
|
238
|
-
<em class="parameter"><code><a href="
|
238
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_items</code></em>);</pre>
|
239
239
|
<p>
|
240
240
|
Same as <a class="link" href="gtk2-Stock-Items.html#gtk-stock-add" title="gtk_stock_add ()"><code class="function">gtk_stock_add()</code></a>, but doesn't copy <em class="parameter"><code>items</code></em>, so
|
241
241
|
<em class="parameter"><code>items</code></em> must persist until application exit.
|
@@ -291,7 +291,7 @@ Copies a stock item, mostly useful for language bindings and not in applications
|
|
291
291
|
<p>
|
292
292
|
Frees a stock item allocated on the heap, such as one returned by
|
293
293
|
<a class="link" href="gtk2-Stock-Items.html#gtk-stock-item-copy" title="gtk_stock_item_copy ()"><code class="function">gtk_stock_item_copy()</code></a>. Also frees the fields inside the stock item,
|
294
|
-
if they are not <a href="
|
294
|
+
if they are not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
295
295
|
</p>
|
296
296
|
<div class="variablelist"><table border="0" class="variablelist">
|
297
297
|
<colgroup>
|
@@ -308,11 +308,11 @@ if they are not <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/loca
|
|
308
308
|
<hr>
|
309
309
|
<div class="refsect2">
|
310
310
|
<a name="gtk-stock-list-ids"></a><h3>gtk_stock_list_ids ()</h3>
|
311
|
-
<pre class="programlisting"><a href="
|
311
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gtk_stock_list_ids (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
312
312
|
<p>
|
313
313
|
Retrieves a list of all known stock IDs added to a <a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a>
|
314
|
-
or registered with <a class="link" href="gtk2-Stock-Items.html#gtk-stock-add" title="gtk_stock_add ()"><code class="function">gtk_stock_add()</code></a>. The list must be freed with <a href="
|
315
|
-
and each string in the list must be freed with <a href="
|
314
|
+
or registered with <a class="link" href="gtk2-Stock-Items.html#gtk-stock-add" title="gtk_stock_add ()"><code class="function">gtk_stock_add()</code></a>. The list must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>,
|
315
|
+
and each string in the list must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
|
316
316
|
</p>
|
317
317
|
<div class="variablelist"><table border="0" class="variablelist">
|
318
318
|
<colgroup>
|
@@ -329,10 +329,10 @@ and each string in the list must be freed with <a href="/home/kou/work/ruby/ruby
|
|
329
329
|
<hr>
|
330
330
|
<div class="refsect2">
|
331
331
|
<a name="gtk-stock-lookup"></a><h3>gtk_stock_lookup ()</h3>
|
332
|
-
<pre class="programlisting"><a href="
|
332
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_stock_lookup (<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>,
|
333
333
|
<em class="parameter"><code><a class="link" href="gtk2-Stock-Items.html#GtkStockItem" title="struct GtkStockItem"><span class="type">GtkStockItem</span></a> *item</code></em>);</pre>
|
334
334
|
<p>
|
335
|
-
Fills <em class="parameter"><code>item</code></em> with the registered values for <em class="parameter"><code>stock_id</code></em>, returning <a href="
|
335
|
+
Fills <em class="parameter"><code>item</code></em> with the registered values for <em class="parameter"><code>stock_id</code></em>, returning <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
336
336
|
if <em class="parameter"><code>stock_id</code></em> was known.
|
337
337
|
</p>
|
338
338
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -353,7 +353,7 @@ if <em class="parameter"><code>stock_id</code></em> was known.
|
|
353
353
|
<tr>
|
354
354
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
355
355
|
<td>
|
356
|
-
<a href="
|
356
|
+
<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>item</code></em> was initialized</td>
|
357
357
|
</tr>
|
358
358
|
</tbody>
|
359
359
|
</table></div>
|
@@ -361,17 +361,17 @@ if <em class="parameter"><code>stock_id</code></em> was known.
|
|
361
361
|
<hr>
|
362
362
|
<div class="refsect2">
|
363
363
|
<a name="gtk-stock-set-translate-func"></a><h3>gtk_stock_set_translate_func ()</h3>
|
364
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_stock_set_translate_func (<em class="parameter"><code>const <a href="
|
364
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_stock_set_translate_func (<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> *domain</code></em>,
|
365
365
|
<em class="parameter"><code><a class="link" href="GtkItemFactory.html#GtkTranslateFunc" title="GtkTranslateFunc ()"><span class="type">GtkTranslateFunc</span></a> func</code></em>,
|
366
|
-
<em class="parameter"><code><a href="
|
367
|
-
<em class="parameter"><code><a href="
|
366
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
367
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre>
|
368
368
|
<p>
|
369
369
|
Sets a function to be used for translating the <em class="parameter"><code>label</code></em> of
|
370
370
|
a stock item.
|
371
371
|
</p>
|
372
372
|
<p>
|
373
373
|
If no function is registered for a translation domain,
|
374
|
-
<a href="
|
374
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-I18N.html#g-dgettext"><code class="function">g_dgettext()</code></a> is used.
|
375
375
|
</p>
|
376
376
|
<p>
|
377
377
|
The function is used for all stock items whose
|
@@ -407,22 +407,22 @@ when dealing with message contexts:
|
|
407
407
|
18
|
408
408
|
19</pre></td>
|
409
409
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkStockItem</span><span class="normal"> items</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span>
|
410
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> MY_ITEM1</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="
|
411
|
-
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> MY_ITEM2</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="
|
410
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> MY_ITEM1</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-I18N.html#NC-:CAPS">NC_</a></span><span class="symbol">(</span><span class="string">"odd items"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Item 1"</span><span class="symbol">),</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"odd-item-domain"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
411
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> MY_ITEM2</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-I18N.html#NC-:CAPS">NC_</a></span><span class="symbol">(</span><span class="string">"even items"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Item 2"</span><span class="symbol">),</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"even-item-domain"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
412
412
|
<span class="cbracket">}</span><span class="symbol">;</span>
|
413
413
|
|
414
|
-
<span class="normal"><a href="
|
414
|
+
<span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> </span><span class="symbol">*</span>
|
415
415
|
<span class="function">my_translate_func</span><span class="normal"> </span><span class="symbol">(</span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">msgid</span><span class="symbol">,</span>
|
416
416
|
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
417
417
|
<span class="cbracket">{</span>
|
418
418
|
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">msgctxt </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
|
419
419
|
|
420
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="
|
420
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a></span><span class="symbol">*)</span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-I18N.html#g-dpgettext2">g_dpgettext2</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GETTEXT_PACKAGE</span><span class="symbol">,</span><span class="normal"> msgctxt</span><span class="symbol">,</span><span class="normal"> msgid</span><span class="symbol">);</span>
|
421
421
|
<span class="cbracket">}</span>
|
422
422
|
|
423
423
|
<span class="comment">/* ... */</span>
|
424
424
|
|
425
|
-
<span class="function"><a href="gtk2-Stock-Items.html#gtk-stock-add">gtk_stock_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">items</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="
|
425
|
+
<span class="function"><a href="gtk2-Stock-Items.html#gtk-stock-add">gtk_stock_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">items</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-N-ELEMENTS:CAPS">G_N_ELEMENTS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">items</span><span class="symbol">));</span>
|
426
426
|
<span class="function"><a href="gtk2-Stock-Items.html#gtk-stock-set-translate-func">gtk_stock_set_translate_func</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"odd-item-domain"</span><span class="symbol">,</span><span class="normal"> my_translate_func</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"odd items"</span><span class="symbol">);</span><span class="normal"> </span>
|
427
427
|
<span class="function"><a href="gtk2-Stock-Items.html#gtk-stock-set-translate-func">gtk_stock_set_translate_func</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"even-item-domain"</span><span class="symbol">,</span><span class="normal"> my_translate_func</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"even items"</span><span class="symbol">);</span></pre></td>
|
428
428
|
</tr>
|
@@ -454,7 +454,7 @@ when dealing with message contexts:
|
|
454
454
|
</tr>
|
455
455
|
<tr>
|
456
456
|
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
457
|
-
<td>a <a href="
|
457
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> that is called when <em class="parameter"><code>data</code></em> is
|
458
458
|
no longer needed</td>
|
459
459
|
</tr>
|
460
460
|
</tbody>
|
@@ -40,40 +40,40 @@
|
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gtk/gtk.h>
|
42
42
|
|
43
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-create-simple-window" title="gtk_test_create_simple_window ()">gtk_test_create_simple_window</a> (<em class="parameter"><code>const <a href="
|
44
|
-
<em class="parameter"><code>const <a href="
|
45
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-create-widget" title="gtk_test_create_widget ()">gtk_test_create_widget</a> (<em class="parameter"><code><a href="
|
46
|
-
<em class="parameter"><code>const <a href="
|
43
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-create-simple-window" title="gtk_test_create_simple_window ()">gtk_test_create_simple_window</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> *window_title</code></em>,
|
44
|
+
<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> *dialog_text</code></em>);
|
45
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-create-widget" title="gtk_test_create_widget ()">gtk_test_create_widget</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> widget_type</code></em>,
|
46
|
+
<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> *first_property_name</code></em>,
|
47
47
|
<em class="parameter"><code>...</code></em>);
|
48
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-display-button-window" title="gtk_test_display_button_window ()">gtk_test_display_button_window</a> (<em class="parameter"><code>const <a href="
|
49
|
-
<em class="parameter"><code>const <a href="
|
48
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-display-button-window" title="gtk_test_display_button_window ()">gtk_test_display_button_window</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> *window_title</code></em>,
|
49
|
+
<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> *dialog_text</code></em>,
|
50
50
|
<em class="parameter"><code>...</code></em>);
|
51
51
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-find-label" title="gtk_test_find_label ()">gtk_test_find_label</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
52
|
-
<em class="parameter"><code>const <a href="
|
52
|
+
<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> *label_pattern</code></em>);
|
53
53
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-find-sibling" title="gtk_test_find_sibling ()">gtk_test_find_sibling</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *base_widget</code></em>,
|
54
|
-
<em class="parameter"><code><a href="
|
54
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> widget_type</code></em>);
|
55
55
|
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-find-widget" title="gtk_test_find_widget ()">gtk_test_find_widget</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
56
|
-
<em class="parameter"><code>const <a href="
|
57
|
-
<em class="parameter"><code><a href="
|
56
|
+
<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> *label_pattern</code></em>,
|
57
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> widget_type</code></em>);
|
58
58
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Testing.html#gtk-test-init" title="gtk_test_init ()">gtk_test_init</a> (<em class="parameter"><code><span class="type">int</span> *argcp</code></em>,
|
59
59
|
<em class="parameter"><code><span class="type">char</span> ***argvp</code></em>,
|
60
60
|
<em class="parameter"><code>...</code></em>);
|
61
|
-
const <a href="
|
61
|
+
const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-list-all-types" title="gtk_test_list_all_types ()">gtk_test_list_all_types</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_types</code></em>);
|
62
62
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Testing.html#gtk-test-register-all-types" title="gtk_test_register_all_types ()">gtk_test_register_all_types</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
63
63
|
<span class="returnvalue">double</span> <a class="link" href="gtk2-Testing.html#gtk-test-slider-get-value" title="gtk_test_slider_get_value ()">gtk_test_slider_get_value</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
64
64
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Testing.html#gtk-test-slider-set-perc" title="gtk_test_slider_set_perc ()">gtk_test_slider_set_perc</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
65
65
|
<em class="parameter"><code><span class="type">double</span> percentage</code></em>);
|
66
|
-
<a href="
|
67
|
-
<em class="parameter"><code><a href="
|
68
|
-
<em class="parameter"><code><a href="
|
69
|
-
<a href="
|
66
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-Testing.html#gtk-test-spin-button-click" title="gtk_test_spin_button_click ()">gtk_test_spin_button_click</a> (<em class="parameter"><code><a class="link" href="GtkSpinButton.html" title="GtkSpinButton"><span class="type">GtkSpinButton</span></a> *spinner</code></em>,
|
67
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> button</code></em>,
|
68
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> upwards</code></em>);
|
69
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gtk2-Testing.html#gtk-test-text-get" title="gtk_test_text_get ()">gtk_test_text_get</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
70
70
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Testing.html#gtk-test-text-set" title="gtk_test_text_set ()">gtk_test_text_set</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
71
|
-
<em class="parameter"><code>const <a href="
|
72
|
-
<a href="
|
73
|
-
<em class="parameter"><code><a href="
|
71
|
+
<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> *string</code></em>);
|
72
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-Testing.html#gtk-test-widget-click" title="gtk_test_widget_click ()">gtk_test_widget_click</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
73
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> button</code></em>,
|
74
74
|
<em class="parameter"><code><a href="../gdk2/gdk2-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);
|
75
|
-
<a href="
|
76
|
-
<em class="parameter"><code><a href="
|
75
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-Testing.html#gtk-test-widget-send-key" title="gtk_test_widget_send_key ()">gtk_test_widget_send_key</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
76
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
|
77
77
|
<em class="parameter"><code><a href="../gdk2/gdk2-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);
|
78
78
|
</pre>
|
79
79
|
</div>
|
@@ -84,8 +84,8 @@ const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gt
|
|
84
84
|
<a name="gtk2-Testing.details"></a><h2>Details</h2>
|
85
85
|
<div class="refsect2">
|
86
86
|
<a name="gtk-test-create-simple-window"></a><h3>gtk_test_create_simple_window ()</h3>
|
87
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_test_create_simple_window (<em class="parameter"><code>const <a href="
|
88
|
-
<em class="parameter"><code>const <a href="
|
87
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_test_create_simple_window (<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> *window_title</code></em>,
|
88
|
+
<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> *dialog_text</code></em>);</pre>
|
89
89
|
<p>
|
90
90
|
Create a simple window with window title <em class="parameter"><code>window_title</code></em> and
|
91
91
|
text contents <em class="parameter"><code>dialog_text</code></em>.
|
@@ -118,13 +118,13 @@ will automatically be destroyed upon test function teardown.
|
|
118
118
|
<hr>
|
119
119
|
<div class="refsect2">
|
120
120
|
<a name="gtk-test-create-widget"></a><h3>gtk_test_create_widget ()</h3>
|
121
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_test_create_widget (<em class="parameter"><code><a href="
|
122
|
-
<em class="parameter"><code>const <a href="
|
121
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_test_create_widget (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> widget_type</code></em>,
|
122
|
+
<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> *first_property_name</code></em>,
|
123
123
|
<em class="parameter"><code>...</code></em>);</pre>
|
124
124
|
<p>
|
125
|
-
This function wraps <a href="
|
125
|
+
This function wraps <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a> for widget types.
|
126
126
|
It'll automatically show all created non window widgets, also
|
127
|
-
<a href="
|
127
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref-sink"><code class="function">g_object_ref_sink()</code></a> them (to keep them alive across a running test)
|
128
128
|
and set them up for destruction during the next test teardown phase.
|
129
129
|
</p>
|
130
130
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -139,7 +139,7 @@ and set them up for destruction during the next test teardown phase.
|
|
139
139
|
</tr>
|
140
140
|
<tr>
|
141
141
|
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
|
142
|
-
<td>Name of first property to set or <a href="
|
142
|
+
<td>Name of first property to set 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>
|
143
143
|
</td>
|
144
144
|
</tr>
|
145
145
|
<tr>
|
@@ -153,8 +153,8 @@ and set them up for destruction during the next test teardown phase.
|
|
153
153
|
<hr>
|
154
154
|
<div class="refsect2">
|
155
155
|
<a name="gtk-test-display-button-window"></a><h3>gtk_test_display_button_window ()</h3>
|
156
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_test_display_button_window (<em class="parameter"><code>const <a href="
|
157
|
-
<em class="parameter"><code>const <a href="
|
156
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_test_display_button_window (<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> *window_title</code></em>,
|
157
|
+
<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> *dialog_text</code></em>,
|
158
158
|
<em class="parameter"><code>...</code></em>);</pre>
|
159
159
|
<p>
|
160
160
|
Create a window with window title <em class="parameter"><code>window_title</code></em>, text contents <em class="parameter"><code>dialog_text</code></em>,
|
@@ -185,7 +185,7 @@ will automatically be destroyed upon test function teardown.
|
|
185
185
|
<tr>
|
186
186
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
187
187
|
<td>
|
188
|
-
<a href="
|
188
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated list of (const char *label, int *nump) pairs.</td>
|
189
189
|
</tr>
|
190
190
|
<tr>
|
191
191
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -199,12 +199,12 @@ will automatically be destroyed upon test function teardown.
|
|
199
199
|
<div class="refsect2">
|
200
200
|
<a name="gtk-test-find-label"></a><h3>gtk_test_find_label ()</h3>
|
201
201
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_test_find_label (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
202
|
-
<em class="parameter"><code>const <a href="
|
202
|
+
<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> *label_pattern</code></em>);</pre>
|
203
203
|
<p>
|
204
204
|
This function will search <em class="parameter"><code>widget</code></em> and all its descendants for a GtkLabel
|
205
205
|
widget with a text string matching <em class="parameter"><code>label_pattern</code></em>.
|
206
206
|
The <em class="parameter"><code>label_pattern</code></em> may contain asterisks '*' and question marks '?' as
|
207
|
-
placeholders, <a href="
|
207
|
+
placeholders, <a href="http://library.gnome.org/devel/glib/unstable/glib-Glob-style-pattern-matching.html#g-pattern-match"><code class="function">g_pattern_match()</code></a> is used for the matching.
|
208
208
|
Note that locales other than "C" tend to alter (translate" label strings,
|
209
209
|
so this function is genrally only useful in test programs with
|
210
210
|
predetermined locales, see <a class="link" href="gtk2-Testing.html#gtk-test-init" title="gtk_test_init ()"><code class="function">gtk_test_init()</code></a> for more details.
|
@@ -236,7 +236,7 @@ predetermined locales, see <a class="link" href="gtk2-Testing.html#gtk-test-init
|
|
236
236
|
<div class="refsect2">
|
237
237
|
<a name="gtk-test-find-sibling"></a><h3>gtk_test_find_sibling ()</h3>
|
238
238
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_test_find_sibling (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *base_widget</code></em>,
|
239
|
-
<em class="parameter"><code><a href="
|
239
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> widget_type</code></em>);</pre>
|
240
240
|
<p>
|
241
241
|
This function will search siblings of <em class="parameter"><code>base_widget</code></em> and siblings of its
|
242
242
|
ancestors for all widgets matching <em class="parameter"><code>widget_type</code></em>.
|
@@ -273,8 +273,8 @@ button or text entry widget, given it's corresponding label widget.
|
|
273
273
|
<div class="refsect2">
|
274
274
|
<a name="gtk-test-find-widget"></a><h3>gtk_test_find_widget ()</h3>
|
275
275
|
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_test_find_widget (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
276
|
-
<em class="parameter"><code>const <a href="
|
277
|
-
<em class="parameter"><code><a href="
|
276
|
+
<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> *label_pattern</code></em>,
|
277
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> widget_type</code></em>);</pre>
|
278
278
|
<p>
|
279
279
|
This function will search the descendants of <em class="parameter"><code>widget</code></em> for a widget
|
280
280
|
of type <em class="parameter"><code>widget_type</code></em> that has a label matching <em class="parameter"><code>label_pattern</code></em> next
|
@@ -304,7 +304,7 @@ such widgets and synthesizing widget events.
|
|
304
304
|
</tr>
|
305
305
|
<tr>
|
306
306
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
307
|
-
<td>a valid widget if any is found or <a href="
|
307
|
+
<td>a valid widget if any is found 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>
|
308
308
|
</td>
|
309
309
|
</tr>
|
310
310
|
</tbody>
|
@@ -321,14 +321,14 @@ such widgets and synthesizing widget events.
|
|
321
321
|
This function is used to initialize a GTK+ test program.
|
322
322
|
</p>
|
323
323
|
<p>
|
324
|
-
It will in turn call <a href="
|
324
|
+
It will in turn call <a href="http://library.gnome.org/devel/glib/unstable/glib-Testing.html#g-test-init"><code class="function">g_test_init()</code></a> and <a class="link" href="gtk2-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a> to properly
|
325
325
|
initialize the testing framework and graphical toolkit. It'll
|
326
326
|
also set the program's locale to "C" and prevent loading of rc
|
327
327
|
files and Gtk+ modules. This is done to make tets program
|
328
328
|
environments as deterministic as possible.
|
329
329
|
</p>
|
330
330
|
<p>
|
331
|
-
Like <a class="link" href="gtk2-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a> and <a href="
|
331
|
+
Like <a class="link" href="gtk2-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a> and <a href="http://library.gnome.org/devel/glib/unstable/glib-Testing.html#g-test-init"><code class="function">g_test_init()</code></a>, any known arguments will be
|
332
332
|
processed and stripped from <em class="parameter"><code>argc</code></em> and <em class="parameter"><code>argv</code></em>.
|
333
333
|
</p>
|
334
334
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -346,7 +346,7 @@ processed and stripped from <em class="parameter"><code>argc</code></em> and <em
|
|
346
346
|
<td><p><span class="term"><em class="parameter"><code>argvp</code></em> :</span></p></td>
|
347
347
|
<td>Address of the
|
348
348
|
<em class="parameter"><code>argv</code></em> parameter of <code class="function">main()</code>.
|
349
|
-
Any parameters understood by <a href="
|
349
|
+
Any parameters understood by <a href="http://library.gnome.org/devel/glib/unstable/glib-Testing.html#g-test-init"><code class="function">g_test_init()</code></a> or <a class="link" href="gtk2-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a> are
|
350
350
|
stripped before return. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argcp]</span>
|
351
351
|
</td>
|
352
352
|
</tr>
|
@@ -357,7 +357,7 @@ stripped before return. <span class="annotation">[<acronym title="Parameter for
|
|
357
357
|
<hr>
|
358
358
|
<div class="refsect2">
|
359
359
|
<a name="gtk-test-list-all-types"></a><h3>gtk_test_list_all_types ()</h3>
|
360
|
-
<pre class="programlisting">const <a href="
|
360
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a> * gtk_test_list_all_types (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_types</code></em>);</pre>
|
361
361
|
<p>
|
362
362
|
Return the type ids that have been registered after
|
363
363
|
calling <a class="link" href="gtk2-Testing.html#gtk-test-register-all-types" title="gtk_test_register_all_types ()"><code class="function">gtk_test_register_all_types()</code></a>.
|
@@ -388,7 +388,7 @@ calling <a class="link" href="gtk2-Testing.html#gtk-test-register-all-types" tit
|
|
388
388
|
<p>
|
389
389
|
Force registration of all core Gtk+ and Gdk object types.
|
390
390
|
This allowes to refer to any of those object types via
|
391
|
-
<a href="
|
391
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#g-type-from-name"><code class="function">g_type_from_name()</code></a> after calling this function.
|
392
392
|
</p>
|
393
393
|
<p class="since">Since 2.14</p>
|
394
394
|
</div>
|
@@ -454,9 +454,9 @@ a value between the lower and upper limits, according to the
|
|
454
454
|
<hr>
|
455
455
|
<div class="refsect2">
|
456
456
|
<a name="gtk-test-spin-button-click"></a><h3>gtk_test_spin_button_click ()</h3>
|
457
|
-
<pre class="programlisting"><a href="
|
458
|
-
<em class="parameter"><code><a href="
|
459
|
-
<em class="parameter"><code><a href="
|
457
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_test_spin_button_click (<em class="parameter"><code><a class="link" href="GtkSpinButton.html" title="GtkSpinButton"><span class="type">GtkSpinButton</span></a> *spinner</code></em>,
|
458
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> button</code></em>,
|
459
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> upwards</code></em>);</pre>
|
460
460
|
<p>
|
461
461
|
This function will generate a <em class="parameter"><code>button</code></em> click in the upwards or downwards
|
462
462
|
spin button arrow areas, usually leading to an increase or decrease of
|
@@ -479,7 +479,7 @@ spin button's value.
|
|
479
479
|
<tr>
|
480
480
|
<td><p><span class="term"><em class="parameter"><code>upwards</code></em> :</span></p></td>
|
481
481
|
<td>
|
482
|
-
<a href="
|
482
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for upwards arrow click, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for downwards arrow click.</td>
|
483
483
|
</tr>
|
484
484
|
<tr>
|
485
485
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -492,7 +492,7 @@ spin button's value.
|
|
492
492
|
<hr>
|
493
493
|
<div class="refsect2">
|
494
494
|
<a name="gtk-test-text-get"></a><h3>gtk_test_text_get ()</h3>
|
495
|
-
<pre class="programlisting"><a href="
|
495
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_test_text_get (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
496
496
|
<p>
|
497
497
|
Retrive the text string of <em class="parameter"><code>widget</code></em> if it is a GtkLabel,
|
498
498
|
GtkEditable (entry and text widgets) or GtkTextView.
|
@@ -509,7 +509,7 @@ GtkEditable (entry and text widgets) or GtkTextView.
|
|
509
509
|
</tr>
|
510
510
|
<tr>
|
511
511
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
512
|
-
<td>new 0-terminated C string, needs to be released with <a href="
|
512
|
+
<td>new 0-terminated C string, needs to be released with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
513
513
|
</tr>
|
514
514
|
</tbody>
|
515
515
|
</table></div>
|
@@ -519,7 +519,7 @@ GtkEditable (entry and text widgets) or GtkTextView.
|
|
519
519
|
<div class="refsect2">
|
520
520
|
<a name="gtk-test-text-set"></a><h3>gtk_test_text_set ()</h3>
|
521
521
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_test_text_set (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
522
|
-
<em class="parameter"><code>const <a href="
|
522
|
+
<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> *string</code></em>);</pre>
|
523
523
|
<p>
|
524
524
|
Set the text string of <em class="parameter"><code>widget</code></em> to <em class="parameter"><code>string</code></em> if it is a GtkLabel,
|
525
525
|
GtkEditable (entry and text widgets) or GtkTextView.
|
@@ -545,8 +545,8 @@ GtkEditable (entry and text widgets) or GtkTextView.
|
|
545
545
|
<hr>
|
546
546
|
<div class="refsect2">
|
547
547
|
<a name="gtk-test-widget-click"></a><h3>gtk_test_widget_click ()</h3>
|
548
|
-
<pre class="programlisting"><a href="
|
549
|
-
<em class="parameter"><code><a href="
|
548
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_test_widget_click (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
549
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> button</code></em>,
|
550
550
|
<em class="parameter"><code><a href="../gdk2/gdk2-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);</pre>
|
551
551
|
<p>
|
552
552
|
This function will generate a <em class="parameter"><code>button</code></em> click (button press and button
|
@@ -587,8 +587,8 @@ location, see <a href="../gdk2/gdk2-Testing.html#gdk-test-simulate-button"><code
|
|
587
587
|
<hr>
|
588
588
|
<div class="refsect2">
|
589
589
|
<a name="gtk-test-widget-send-key"></a><h3>gtk_test_widget_send_key ()</h3>
|
590
|
-
<pre class="programlisting"><a href="
|
591
|
-
<em class="parameter"><code><a href="
|
590
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_test_widget_send_key (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
591
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keyval</code></em>,
|
592
592
|
<em class="parameter"><code><a href="../gdk2/gdk2-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> modifiers</code></em>);</pre>
|
593
593
|
<p>
|
594
594
|
This function will generate keyboard press and release events in
|
@@ -51,12 +51,12 @@ enum <a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIc
|
|
51
51
|
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="returnvalue">GtkIconSource</span></a> * <a class="link" href="gtk2-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="gtk2-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="gtk2-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="gtk2-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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>,
|
54
|
-
<em class="parameter"><code>const <a href="
|
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
55
|
<em class="parameter"><code><a class="link" href="gtk2-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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>);
|
57
57
|
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * <a class="link" href="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>,
|
58
|
-
<em class="parameter"><code>const <a href="
|
59
|
-
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * <a class="link" href="gtk2-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="
|
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="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * <a class="link" href="gtk2-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
60
|
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconFactory"><span class="returnvalue">GtkIconFactory</span></a> * <a class="link" href="gtk2-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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>);
|
62
62
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>,
|
@@ -73,60 +73,60 @@ enum <a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIc
|
|
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
75
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>);
|
76
|
-
<a href="
|
77
|
-
<em class="parameter"><code><a href="
|
78
|
-
<em class="parameter"><code><a href="
|
79
|
-
<a href="
|
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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>,
|
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
|
+
<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>);
|
79
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-size-lookup-for-settings" title="gtk_icon_size_lookup_for_settings ()">gtk_icon_size_lookup_for_settings</a> (<em class="parameter"><code><a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a> *settings</code></em>,
|
80
80
|
<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>,
|
81
|
-
<em class="parameter"><code><a href="
|
82
|
-
<em class="parameter"><code><a href="
|
83
|
-
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-size-register" title="gtk_icon_size_register ()">gtk_icon_size_register</a> (<em class="parameter"><code>const <a href="
|
84
|
-
<em class="parameter"><code><a href="
|
85
|
-
<em class="parameter"><code><a href="
|
86
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk2-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="
|
81
|
+
<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>,
|
82
|
+
<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>);
|
83
|
+
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-size-register" title="gtk_icon_size_register ()">gtk_icon_size_register</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>,
|
84
|
+
<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>,
|
85
|
+
<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
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> target</code></em>);
|
88
|
-
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> <a class="link" href="gtk2-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="
|
89
|
-
const <a href="
|
88
|
+
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> <a class="link" href="gtk2-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> * <a class="link" href="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);
|
90
90
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> **sizes</code></em>,
|
92
|
-
<em class="parameter"><code><a href="
|
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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
94
|
-
<a href="
|
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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
96
96
|
#define <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-source-get-filename" title="gtk_icon_source_get_filename">gtk_icon_source_get_filename</a>
|
97
97
|
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
98
|
-
const <a href="
|
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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
99
99
|
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> <a class="link" href="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
100
|
-
<a href="
|
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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
101
101
|
<a class="link" href="gtk2-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType"><span class="returnvalue">GtkStateType</span></a> <a class="link" href="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
102
|
-
<a href="
|
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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);
|
104
104
|
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="returnvalue">GtkIconSource</span></a> * <a class="link" href="gtk2-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="gtk2-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="gtk2-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="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
109
|
-
<em class="parameter"><code><a href="
|
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
110
|
#define <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-source-set-filename" title="gtk_icon_source_set_filename">gtk_icon_source_set_filename</a>
|
111
111
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
112
112
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
|
113
113
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
114
|
-
<em class="parameter"><code>const <a href="
|
114
|
+
<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>);
|
115
115
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-source-set-size" title="gtk_icon_source_set_size ()">gtk_icon_source_set_size</a> (<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
116
116
|
<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);
|
117
117
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-source-set-size-wildcarded" title="gtk_icon_source_set_size_wildcarded ()">gtk_icon_source_set_size_wildcarded</a> (<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
118
|
-
<em class="parameter"><code><a href="
|
118
|
+
<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>);
|
119
119
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-source-set-state" title="gtk_icon_source_set_state ()">gtk_icon_source_set_state</a> (<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
120
120
|
<em class="parameter"><code><a class="link" href="gtk2-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a> state</code></em>);
|
121
121
|
<span class="returnvalue">void</span> <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-source-set-state-wildcarded" title="gtk_icon_source_set_state_wildcarded ()">gtk_icon_source_set_state_wildcarded</a>
|
122
122
|
(<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
123
|
-
<em class="parameter"><code><a href="
|
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>);
|
124
124
|
</pre>
|
125
125
|
</div>
|
126
126
|
<div class="refsect1">
|
127
127
|
<a name="gtk2-Themeable-Stock-Images.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
128
128
|
<pre class="synopsis">
|
129
|
-
<a href="
|
129
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
130
130
|
+----GtkIconFactory
|
131
131
|
</pre>
|
132
132
|
<pre class="synopsis">
|
@@ -366,7 +366,7 @@ Creates a copy of <em class="parameter"><code>source</code></em>; mostly useful
|
|
366
366
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_free (<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
367
367
|
<p>
|
368
368
|
Frees a dynamically-allocated icon source, along with its
|
369
|
-
filename, size, and pixbuf fields if those are not <a href="
|
369
|
+
filename, size, and pixbuf fields if those are not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
370
370
|
</p>
|
371
371
|
<div class="variablelist"><table border="0" class="variablelist">
|
372
372
|
<colgroup>
|
@@ -384,7 +384,7 @@ filename, size, and pixbuf fields if those are not <a href="/home/kou/work/ruby/
|
|
384
384
|
<div class="refsect2">
|
385
385
|
<a name="gtk-icon-factory-add"></a><h3>gtk_icon_factory_add ()</h3>
|
386
386
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_factory_add (<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>,
|
387
|
-
<em class="parameter"><code>const <a href="
|
387
|
+
<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>,
|
388
388
|
<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>);</pre>
|
389
389
|
<p>
|
390
390
|
Adds the given <em class="parameter"><code>icon_set</code></em> to the icon factory, under the name
|
@@ -448,10 +448,10 @@ can be overridden by themes.
|
|
448
448
|
<div class="refsect2">
|
449
449
|
<a name="gtk-icon-factory-lookup"></a><h3>gtk_icon_factory_lookup ()</h3>
|
450
450
|
<pre class="programlisting"><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * gtk_icon_factory_lookup (<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconFactory"><span class="type">GtkIconFactory</span></a> *factory</code></em>,
|
451
|
-
<em class="parameter"><code>const <a href="
|
451
|
+
<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>
|
452
452
|
<p>
|
453
453
|
Looks up <em class="parameter"><code>stock_id</code></em> in the icon factory, returning an icon set
|
454
|
-
if found, otherwise <a href="
|
454
|
+
if found, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. For display to the user, you should
|
455
455
|
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 the <a class="link" href="GtkStyle.html" title="Styles"><span class="type">GtkStyle</span></a> for the
|
456
456
|
widget that will display the icon, instead of using this
|
457
457
|
function directly, so that themes are taken into account.
|
@@ -482,7 +482,7 @@ function directly, so that themes are taken into account.
|
|
482
482
|
<hr>
|
483
483
|
<div class="refsect2">
|
484
484
|
<a name="gtk-icon-factory-lookup-default"></a><h3>gtk_icon_factory_lookup_default ()</h3>
|
485
|
-
<pre class="programlisting"><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="returnvalue">GtkIconSet</span></a> * gtk_icon_factory_lookup_default (<em class="parameter"><code>const <a href="
|
485
|
+
<pre class="programlisting"><a class="link" href="gtk2-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>
|
486
486
|
<p>
|
487
487
|
Looks for an icon in the list of default icon factories. For
|
488
488
|
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
|
@@ -502,7 +502,7 @@ account.
|
|
502
502
|
</tr>
|
503
503
|
<tr>
|
504
504
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
505
|
-
<td>a <a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>, or <a href="
|
505
|
+
<td>a <a class="link" href="gtk2-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>
|
506
506
|
</td>
|
507
507
|
</tr>
|
508
508
|
</tbody>
|
@@ -737,7 +737,7 @@ Increments the reference count on <em class="parameter"><code>icon_set</code></e
|
|
737
737
|
Renders an icon using <a class="link" href="GtkStyle.html#gtk-style-render-icon" title="gtk_style_render_icon ()"><code class="function">gtk_style_render_icon()</code></a>. In most cases,
|
738
738
|
<a class="link" href="GtkWidget.html#gtk-widget-render-icon" title="gtk_widget_render_icon ()"><code class="function">gtk_widget_render_icon()</code></a> is better, since it automatically provides
|
739
739
|
most of the arguments from the current widget settings. This
|
740
|
-
function never returns <a href="
|
740
|
+
function never returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>; if the icon can't be rendered
|
741
741
|
(perhaps because an image file fails to load), a default "missing
|
742
742
|
image" icon will be returned instead.
|
743
743
|
</p>
|
@@ -754,7 +754,7 @@ image" icon will be returned instead.
|
|
754
754
|
</tr>
|
755
755
|
<tr>
|
756
756
|
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
|
757
|
-
<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="
|
757
|
+
<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>
|
758
758
|
</td>
|
759
759
|
</tr>
|
760
760
|
<tr>
|
@@ -773,15 +773,15 @@ means render at the size of the source and don't scale. <span class="annotation"
|
|
773
773
|
</tr>
|
774
774
|
<tr>
|
775
775
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
776
|
-
<td>widget that will display the icon, or <a href="
|
776
|
+
<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>.
|
777
777
|
The only use that is typically made of this
|
778
778
|
is to determine the appropriate <a href="../gdk2/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>
|
779
779
|
</td>
|
780
780
|
</tr>
|
781
781
|
<tr>
|
782
782
|
<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td>
|
783
|
-
<td>detail to pass to the theme engine, or <a href="
|
784
|
-
Note that passing a detail of anything but <a href="
|
783
|
+
<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>.
|
784
|
+
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>
|
785
785
|
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>
|
786
786
|
</td>
|
787
787
|
</tr>
|
@@ -816,9 +816,9 @@ if the reference count reaches 0.
|
|
816
816
|
<hr>
|
817
817
|
<div class="refsect2">
|
818
818
|
<a name="gtk-icon-size-lookup"></a><h3>gtk_icon_size_lookup ()</h3>
|
819
|
-
<pre class="programlisting"><a href="
|
820
|
-
<em class="parameter"><code><a href="
|
821
|
-
<em class="parameter"><code><a href="
|
819
|
+
<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="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>,
|
820
|
+
<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>,
|
821
|
+
<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>);</pre>
|
822
822
|
<p>
|
823
823
|
Obtains the pixel size of a semantic icon size, possibly
|
824
824
|
modified by user preferences for the default <a class="link" href="GtkSettings.html" title="Settings"><span class="type">GtkSettings</span></a>.
|
@@ -856,7 +856,7 @@ the usual size.
|
|
856
856
|
<tr>
|
857
857
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
858
858
|
<td>
|
859
|
-
<a href="
|
859
|
+
<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>
|
860
860
|
</tr>
|
861
861
|
</tbody>
|
862
862
|
</table></div>
|
@@ -864,10 +864,10 @@ the usual size.
|
|
864
864
|
<hr>
|
865
865
|
<div class="refsect2">
|
866
866
|
<a name="gtk-icon-size-lookup-for-settings"></a><h3>gtk_icon_size_lookup_for_settings ()</h3>
|
867
|
-
<pre class="programlisting"><a href="
|
867
|
+
<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>,
|
868
868
|
<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>,
|
869
|
-
<em class="parameter"><code><a href="
|
870
|
-
<em class="parameter"><code><a href="
|
869
|
+
<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>,
|
870
|
+
<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>);</pre>
|
871
871
|
<p>
|
872
872
|
Obtains the pixel size of a semantic icon size, possibly
|
873
873
|
modified by user preferences for a particular
|
@@ -909,7 +909,7 @@ which set of user preferences to used.</td>
|
|
909
909
|
<tr>
|
910
910
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
911
911
|
<td>
|
912
|
-
<a href="
|
912
|
+
<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>
|
913
913
|
</tr>
|
914
914
|
</tbody>
|
915
915
|
</table></div>
|
@@ -918,9 +918,9 @@ which set of user preferences to used.</td>
|
|
918
918
|
<hr>
|
919
919
|
<div class="refsect2">
|
920
920
|
<a name="gtk-icon-size-register"></a><h3>gtk_icon_size_register ()</h3>
|
921
|
-
<pre class="programlisting"><a class="link" href="gtk2-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="
|
922
|
-
<em class="parameter"><code><a href="
|
923
|
-
<em class="parameter"><code><a href="
|
921
|
+
<pre class="programlisting"><a class="link" href="gtk2-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>,
|
922
|
+
<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>,
|
923
|
+
<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>);</pre>
|
924
924
|
<p>
|
925
925
|
Registers a new icon size, along the same lines as <a class="link" href="gtk2-Themeable-Stock-Images.html#GTK-ICON-SIZE-MENU:CAPS"><span class="type">GTK_ICON_SIZE_MENU</span></a>,
|
926
926
|
etc. Returns the integer value for the size.
|
@@ -954,7 +954,7 @@ etc. Returns the integer value for the size.
|
|
954
954
|
<hr>
|
955
955
|
<div class="refsect2">
|
956
956
|
<a name="gtk-icon-size-register-alias"></a><h3>gtk_icon_size_register_alias ()</h3>
|
957
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_size_register_alias (<em class="parameter"><code>const <a href="
|
957
|
+
<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>,
|
958
958
|
<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> target</code></em>);</pre>
|
959
959
|
<p>
|
960
960
|
Registers <em class="parameter"><code>alias</code></em> as another name for <em class="parameter"><code>target</code></em>.
|
@@ -983,7 +983,7 @@ will return <em class="parameter"><code>target</code></em>.
|
|
983
983
|
<hr>
|
984
984
|
<div class="refsect2">
|
985
985
|
<a name="gtk-icon-size-from-name"></a><h3>gtk_icon_size_from_name ()</h3>
|
986
|
-
<pre class="programlisting"><a class="link" href="gtk2-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="
|
986
|
+
<pre class="programlisting"><a class="link" href="gtk2-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>
|
987
987
|
<p>
|
988
988
|
Looks up the icon size associated with <em class="parameter"><code>name</code></em>.
|
989
989
|
</p>
|
@@ -1007,7 +1007,7 @@ Looks up the icon size associated with <em class="parameter"><code>name</code></
|
|
1007
1007
|
<hr>
|
1008
1008
|
<div class="refsect2">
|
1009
1009
|
<a name="gtk-icon-size-get-name"></a><h3>gtk_icon_size_get_name ()</h3>
|
1010
|
-
<pre class="programlisting">const <a href="
|
1010
|
+
<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="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> size</code></em>);</pre>
|
1011
1011
|
<p>
|
1012
1012
|
Gets the canonical name of the given icon size. The returned string
|
1013
1013
|
is statically allocated and should not be freed.
|
@@ -1035,10 +1035,10 @@ is statically allocated and should not be freed.
|
|
1035
1035
|
<a name="gtk-icon-set-get-sizes"></a><h3>gtk_icon_set_get_sizes ()</h3>
|
1036
1036
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_set_get_sizes (<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a> *icon_set</code></em>,
|
1037
1037
|
<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> **sizes</code></em>,
|
1038
|
-
<em class="parameter"><code><a href="
|
1038
|
+
<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>
|
1039
1039
|
<p>
|
1040
1040
|
Obtains a list of icon sizes this icon set can render. The returned
|
1041
|
-
array must be freed with <a href="
|
1041
|
+
array must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
|
1042
1042
|
</p>
|
1043
1043
|
<div class="variablelist"><table border="0" class="variablelist">
|
1044
1044
|
<colgroup>
|
@@ -1094,7 +1094,7 @@ wildcarded.
|
|
1094
1094
|
<hr>
|
1095
1095
|
<div class="refsect2">
|
1096
1096
|
<a name="gtk-icon-source-get-direction-wildcarded"></a><h3>gtk_icon_source_get_direction_wildcarded ()</h3>
|
1097
|
-
<pre class="programlisting"><a href="
|
1097
|
+
<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
|
1098
1098
|
(<em class="parameter"><code>const <a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
1099
1099
|
<p>
|
1100
1100
|
Gets the value set by <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-source-set-direction-wildcarded" title="gtk_icon_source_set_direction_wildcarded ()"><code class="function">gtk_icon_source_set_direction_wildcarded()</code></a>.
|
@@ -1113,7 +1113,7 @@ Gets the value set by <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk
|
|
1113
1113
|
<tr>
|
1114
1114
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1115
1115
|
<td>
|
1116
|
-
<a href="
|
1116
|
+
<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>
|
1117
1117
|
</tr>
|
1118
1118
|
</tbody>
|
1119
1119
|
</table></div>
|
@@ -1124,7 +1124,7 @@ Gets the value set by <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk
|
|
1124
1124
|
<pre class="programlisting">#define gtk_icon_source_get_filename gtk_icon_source_get_filename_utf8
|
1125
1125
|
</pre>
|
1126
1126
|
<p>
|
1127
|
-
Retrieves the source filename, or <a href="
|
1127
|
+
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
|
1128
1128
|
filename is not a copy, and should not be modified or expected to
|
1129
1129
|
persist beyond the lifetime of the icon source.
|
1130
1130
|
</p>
|
@@ -1145,7 +1145,7 @@ or freed.</td>
|
|
1145
1145
|
<a name="gtk-icon-source-get-pixbuf"></a><h3>gtk_icon_source_get_pixbuf ()</h3>
|
1146
1146
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gtk_icon_source_get_pixbuf (<em class="parameter"><code>const <a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
1147
1147
|
<p>
|
1148
|
-
Retrieves the source pixbuf, or <a href="
|
1148
|
+
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.
|
1149
1149
|
In addition, if a filename source is in use, this
|
1150
1150
|
function in some cases will return the pixbuf from
|
1151
1151
|
loaded from the filename. This is, for example, true
|
@@ -1175,9 +1175,9 @@ not incremented.
|
|
1175
1175
|
<hr>
|
1176
1176
|
<div class="refsect2">
|
1177
1177
|
<a name="gtk-icon-source-get-icon-name"></a><h3>gtk_icon_source_get_icon_name ()</h3>
|
1178
|
-
<pre class="programlisting">const <a href="
|
1178
|
+
<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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
1179
1179
|
<p>
|
1180
|
-
Retrieves the source icon name, or <a href="
|
1180
|
+
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
|
1181
1181
|
icon_name is not a copy, and should not be modified or expected to
|
1182
1182
|
persist beyond the lifetime of the icon source.
|
1183
1183
|
</p>
|
@@ -1229,7 +1229,7 @@ is only useful/meaningful if the icon size is <span class="emphasis"><em>not</em
|
|
1229
1229
|
<hr>
|
1230
1230
|
<div class="refsect2">
|
1231
1231
|
<a name="gtk-icon-source-get-size-wildcarded"></a><h3>gtk_icon_source_get_size_wildcarded ()</h3>
|
1232
|
-
<pre class="programlisting"><a href="
|
1232
|
+
<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="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
1233
1233
|
<p>
|
1234
1234
|
Gets the value set by <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-source-set-size-wildcarded" title="gtk_icon_source_set_size_wildcarded ()"><code class="function">gtk_icon_source_set_size_wildcarded()</code></a>.
|
1235
1235
|
</p>
|
@@ -1247,7 +1247,7 @@ Gets the value set by <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk
|
|
1247
1247
|
<tr>
|
1248
1248
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1249
1249
|
<td>
|
1250
|
-
<a href="
|
1250
|
+
<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>
|
1251
1251
|
</tr>
|
1252
1252
|
</tbody>
|
1253
1253
|
</table></div>
|
@@ -1282,7 +1282,7 @@ wildcarded.
|
|
1282
1282
|
<hr>
|
1283
1283
|
<div class="refsect2">
|
1284
1284
|
<a name="gtk-icon-source-get-state-wildcarded"></a><h3>gtk_icon_source_get_state_wildcarded ()</h3>
|
1285
|
-
<pre class="programlisting"><a href="
|
1285
|
+
<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
|
1286
1286
|
(<em class="parameter"><code>const <a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>);</pre>
|
1287
1287
|
<p>
|
1288
1288
|
Gets the value set by <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk-icon-source-set-state-wildcarded" title="gtk_icon_source_set_state_wildcarded ()"><code class="function">gtk_icon_source_set_state_wildcarded()</code></a>.
|
@@ -1301,7 +1301,7 @@ Gets the value set by <a class="link" href="gtk2-Themeable-Stock-Images.html#gtk
|
|
1301
1301
|
<tr>
|
1302
1302
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1303
1303
|
<td>
|
1304
|
-
<a href="
|
1304
|
+
<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>
|
1305
1305
|
</tr>
|
1306
1306
|
</tbody>
|
1307
1307
|
</table></div>
|
@@ -1394,7 +1394,7 @@ in addition to calling this function.
|
|
1394
1394
|
<a name="gtk-icon-source-set-direction-wildcarded"></a><h3>gtk_icon_source_set_direction_wildcarded ()</h3>
|
1395
1395
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_direction_wildcarded
|
1396
1396
|
(<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
1397
|
-
<em class="parameter"><code><a href="
|
1397
|
+
<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>
|
1398
1398
|
<p>
|
1399
1399
|
If the text direction is wildcarded, this source can be used
|
1400
1400
|
as the base image for an icon in any <a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a>.
|
@@ -1421,7 +1421,7 @@ wildcarded sources, and will use an exact match when possible.
|
|
1421
1421
|
<tr>
|
1422
1422
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1423
1423
|
<td>
|
1424
|
-
<a href="
|
1424
|
+
<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>
|
1425
1425
|
</tr>
|
1426
1426
|
</tbody>
|
1427
1427
|
</table></div>
|
@@ -1484,7 +1484,7 @@ for <a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span cla
|
|
1484
1484
|
<div class="refsect2">
|
1485
1485
|
<a name="gtk-icon-source-set-icon-name"></a><h3>gtk_icon_source_set_icon_name ()</h3>
|
1486
1486
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_icon_name (<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
1487
|
-
<em class="parameter"><code>const <a href="
|
1487
|
+
<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>
|
1488
1488
|
<p>
|
1489
1489
|
Sets the name of an icon to look up in the current icon theme
|
1490
1490
|
to use as a base image when creating icon variants for <a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSet"><span class="type">GtkIconSet</span></a>.
|
@@ -1546,7 +1546,7 @@ in addition to calling this function.
|
|
1546
1546
|
<div class="refsect2">
|
1547
1547
|
<a name="gtk-icon-source-set-size-wildcarded"></a><h3>gtk_icon_source_set_size_wildcarded ()</h3>
|
1548
1548
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_size_wildcarded (<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
1549
|
-
<em class="parameter"><code><a href="
|
1549
|
+
<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>
|
1550
1550
|
<p>
|
1551
1551
|
If the icon size is wildcarded, this source can be used as the base
|
1552
1552
|
image for an icon of any size. If the size is not wildcarded, then
|
@@ -1577,7 +1577,7 @@ of source images that match exactly.
|
|
1577
1577
|
<tr>
|
1578
1578
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1579
1579
|
<td>
|
1580
|
-
<a href="
|
1580
|
+
<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>
|
1581
1581
|
</tr>
|
1582
1582
|
</tbody>
|
1583
1583
|
</table></div>
|
@@ -1620,7 +1620,7 @@ in addition to calling this function.
|
|
1620
1620
|
<a name="gtk-icon-source-set-state-wildcarded"></a><h3>gtk_icon_source_set_state_wildcarded ()</h3>
|
1621
1621
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_source_set_state_wildcarded
|
1622
1622
|
(<em class="parameter"><code><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSource" title="GtkIconSource"><span class="type">GtkIconSource</span></a> *source</code></em>,
|
1623
|
-
<em class="parameter"><code><a href="
|
1623
|
+
<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>
|
1624
1624
|
<p>
|
1625
1625
|
If the widget state is wildcarded, this source can be used as the
|
1626
1626
|
base image for an icon in any <a class="link" href="gtk2-Standard-Enumerations.html#GtkStateType" title="enum GtkStateType"><span class="type">GtkStateType</span></a>. If the widget state
|
@@ -1652,7 +1652,7 @@ that match exactly.
|
|
1652
1652
|
<tr>
|
1653
1653
|
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
|
1654
1654
|
<td>
|
1655
|
-
<a href="
|
1655
|
+
<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>
|
1656
1656
|
</tr>
|
1657
1657
|
</tbody>
|
1658
1658
|
</table></div>
|