gtk2 3.2.1-x86-mingw32 → 3.2.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ext/gtk2/extconf.rb +6 -1
- data/ext/gtk2/rbgtkrecentchooser.c +2 -2
- data/lib/2.2/gtk2.so +0 -0
- data/lib/2.3/gtk2.so +0 -0
- data/lib/2.4/gtk2.so +0 -0
- data/lib/2.5/gtk2.so +0 -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/include/gtk-2.0/gdk/gdkenumtypes.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkmarshal.h +220 -164
- data/vendor/local/include/gtk-2.0/gtk/gtktypebuiltins.h +23 -23
- 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 +3 -3
- 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 +3 -3
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules.cache +2 -2
- 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 +3 -3
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgailutil.la +3 -3
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.la +3 -3
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.la +3 -3
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +24 -24
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +11 -11
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +77 -77
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +132 -132
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +37 -37
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +67 -67
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +12 -12
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +29 -29
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +118 -118
- 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 +49 -49
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +79 -79
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +64 -64
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +58 -58
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +25 -25
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +37 -37
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +40 -40
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +15 -15
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +97 -97
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +23 -23
- 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 +37 -37
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +84 -84
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +27 -27
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +74 -74
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +40 -40
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +280 -280
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +60 -60
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +118 -118
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +87 -87
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +82 -82
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +47 -47
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +98 -98
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +214 -214
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +146 -146
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +88 -88
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +12 -12
- 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 +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +96 -96
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +51 -51
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +255 -255
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +94 -94
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +98 -98
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +51 -51
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +5 -5
- 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 +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +5 -5
- 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 +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +63 -63
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +83 -83
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +192 -192
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +139 -139
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +90 -90
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +210 -210
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +89 -89
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +54 -54
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +151 -151
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +86 -86
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +101 -101
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +128 -128
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +22 -22
- 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 +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +196 -196
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +79 -79
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +157 -157
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +263 -263
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +67 -67
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +181 -181
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +281 -281
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +133 -133
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +211 -211
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +63 -63
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +105 -105
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +58 -58
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +414 -414
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +5 -5
- 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 +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +537 -537
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +255 -255
- 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 +5 -5
- 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 +43 -43
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +87 -87
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +153 -153
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +167 -167
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +88 -88
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +119 -119
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +23 -23
- 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 +12 -11
@@ -66,7 +66,7 @@
|
|
66
66
|
</tr>
|
67
67
|
<tr>
|
68
68
|
<td class="function_type">
|
69
|
-
<a href="
|
69
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
70
70
|
</td>
|
71
71
|
<td class="function_name">
|
72
72
|
<a class="link" href="GtkWindowGroup.html#gtk-window-group-list-windows" title="gtk_window_group_list_windows ()">gtk_window_group_list_windows</a> <span class="c_punctuation">()</span>
|
@@ -98,7 +98,7 @@
|
|
98
98
|
</div>
|
99
99
|
<div class="refsect1">
|
100
100
|
<a name="GtkWindowGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
101
|
-
<pre class="screen"> <a href="
|
101
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
102
102
|
<span class="lineart">╰──</span> GtkWindowGroup
|
103
103
|
</pre>
|
104
104
|
</div>
|
@@ -188,7 +188,7 @@ gtk_window_group_remove_window (<em class="parameter"><code><a class="link" href
|
|
188
188
|
<hr>
|
189
189
|
<div class="refsect2">
|
190
190
|
<a name="gtk-window-group-list-windows"></a><h3>gtk_window_group_list_windows ()</h3>
|
191
|
-
<pre class="programlisting"><a href="
|
191
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
192
192
|
gtk_window_group_list_windows (<em class="parameter"><code><a class="link" href="GtkWindowGroup.html" title="GtkWindowGroup"><span class="type">GtkWindowGroup</span></a> *window_group</code></em>);</pre>
|
193
193
|
<p>Returns a list of the <a href="GtkWindow.html#GtkWindow-struct"><span class="type">GtkWindows</span></a> that belong to <em class="parameter"><code>window_group</code></em>
|
194
194
|
.</p>
|
@@ -232,7 +232,7 @@ standard <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="ty
|
|
232
232
|
|
233
233
|
<span class="comment">/* Use a tag to change the color for just one part of the widget */</span>
|
234
234
|
<span class="normal">tag </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTextBuffer.html#gtk-text-buffer-create-tag">gtk_text_buffer_create_tag</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue_foreground"</span><span class="symbol">,</span>
|
235
|
-
<span class="normal"> </span><span class="string">"foreground"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span><span class="normal"> <a href="
|
235
|
+
<span class="normal"> </span><span class="string">"foreground"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span><span class="normal"> </span>
|
236
236
|
<span class="function"><a href="GtkTextBuffer.html#gtk-text-buffer-get-iter-at-offset">gtk_text_buffer_get_iter_at_offset</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">start</span><span class="symbol">,</span><span class="normal"> </span><span class="number">7</span><span class="symbol">);</span>
|
237
237
|
<span class="function"><a href="GtkTextBuffer.html#gtk-text-buffer-get-iter-at-offset">gtk_text_buffer_get_iter_at_offset</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">end</span><span class="symbol">,</span><span class="normal"> </span><span class="number">12</span><span class="symbol">);</span>
|
238
238
|
<span class="function"><a href="GtkTextBuffer.html#gtk-text-buffer-apply-tag">gtk_text_buffer_apply_tag</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">,</span><span class="normal"> tag</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">start</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">end</span><span class="symbol">);</span></pre></td>
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<tbody>
|
75
75
|
<tr>
|
76
76
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
77
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">store </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">2</span><span class="symbol">,</span><span class="normal"> <a href="
|
77
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">store </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">2</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS">G_TYPE_STRING</a></span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS">G_TYPE_BOOLEAN</a></span><span class="symbol">);</span></pre></td>
|
78
78
|
</tr>
|
79
79
|
</tbody>
|
80
80
|
</table>
|
@@ -113,9 +113,9 @@
|
|
113
113
|
<span class="cbracket">}</span><span class="symbol">;</span>
|
114
114
|
|
115
115
|
<span class="usertype">GtkTreeStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">store </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeStore.html#gtk-tree-store-new">gtk_tree_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* Total number of columns */</span>
|
116
|
-
<span class="normal"> <a href="
|
117
|
-
<span class="normal"> <a href="
|
118
|
-
<span class="normal"> <a href="
|
116
|
+
<span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS">G_TYPE_STRING</a></span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* Book title */</span>
|
117
|
+
<span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS">G_TYPE_STRING</a></span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* Author */</span>
|
118
|
+
<span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS">G_TYPE_BOOLEAN</a></span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* Is checked out? */</span></pre></td>
|
119
119
|
</tr>
|
120
120
|
</tbody>
|
121
121
|
</table>
|
@@ -147,12 +147,12 @@
|
|
147
147
|
9</pre></td>
|
148
148
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkTreeIter</span><span class="normal"> iter</span><span class="symbol">;</span>
|
149
149
|
|
150
|
-
<span class="function"><a href="GtkTreeStore.html#gtk-tree-store-append">gtk_tree_store_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> <a href="
|
150
|
+
<span class="function"><a href="GtkTreeStore.html#gtk-tree-store-append">gtk_tree_store_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* Acquire an iterator */</span>
|
151
151
|
|
152
152
|
<span class="function"><a href="GtkTreeStore.html#gtk-tree-store-set">gtk_tree_store_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span>
|
153
153
|
<span class="normal"> TITLE_COLUMN</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"The Principle of Reason"</span><span class="symbol">,</span>
|
154
154
|
<span class="normal"> AUTHOR_COLUMN</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Martin Heidegger"</span><span class="symbol">,</span>
|
155
|
-
<span class="normal"> CHECKED_COLUMN</span><span class="symbol">,</span><span class="normal"> <a href="
|
155
|
+
<span class="normal"> CHECKED_COLUMN</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">,</span>
|
156
156
|
<span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span></pre></td>
|
157
157
|
</tr>
|
158
158
|
</tbody>
|
@@ -202,11 +202,11 @@
|
|
202
202
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkTreeIter</span><span class="normal"> iter1</span><span class="symbol">;</span><span class="normal"> </span><span class="comment">/* Parent iter */</span>
|
203
203
|
<span class="usertype">GtkTreeIter</span><span class="normal"> iter2</span><span class="symbol">;</span><span class="normal"> </span><span class="comment">/* Child iter */</span>
|
204
204
|
|
205
|
-
<span class="function"><a href="GtkTreeStore.html#gtk-tree-store-append">gtk_tree_store_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter1</span><span class="symbol">,</span><span class="normal"> <a href="
|
205
|
+
<span class="function"><a href="GtkTreeStore.html#gtk-tree-store-append">gtk_tree_store_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter1</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* Acquire a top-level iterator */</span>
|
206
206
|
<span class="function"><a href="GtkTreeStore.html#gtk-tree-store-set">gtk_tree_store_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter1</span><span class="symbol">,</span>
|
207
207
|
<span class="normal"> TITLE_COLUMN</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"The Art of Computer Programming"</span><span class="symbol">,</span>
|
208
208
|
<span class="normal"> AUTHOR_COLUMN</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Donald E. Knuth"</span><span class="symbol">,</span>
|
209
|
-
<span class="normal"> CHECKED_COLUMN</span><span class="symbol">,</span><span class="normal"> <a href="
|
209
|
+
<span class="normal"> CHECKED_COLUMN</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">,</span>
|
210
210
|
<span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
211
211
|
|
212
212
|
<span class="function"><a href="GtkTreeStore.html#gtk-tree-store-append">gtk_tree_store_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter2</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter1</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* Acquire a child iterator */</span>
|
@@ -292,7 +292,7 @@
|
|
292
292
|
<span class="normal">column </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-new-with-attributes">gtk_tree_view_column_new_with_attributes</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Author"</span><span class="symbol">,</span>
|
293
293
|
<span class="normal"> renderer</span><span class="symbol">,</span>
|
294
294
|
<span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> AUTHOR_COLUMN</span><span class="symbol">,</span>
|
295
|
-
<span class="normal"> <a href="
|
295
|
+
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
296
296
|
<span class="function"><a href="GtkTreeView.html#gtk-tree-view-append-column">gtk_tree_view_append_column</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree</span><span class="symbol">),</span><span class="normal"> column</span><span class="symbol">);</span></pre></td>
|
297
297
|
</tr>
|
298
298
|
</tbody>
|
@@ -337,9 +337,9 @@
|
|
337
337
|
|
338
338
|
<span class="normal">select </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-get-selection">gtk_tree_view_get_selection</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree</span><span class="symbol">));</span>
|
339
339
|
<span class="function"><a href="GtkTreeSelection.html#gtk-tree-selection-set-mode">gtk_tree_selection_set_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">select</span><span class="symbol">,</span><span class="normal"> <a href="gtk2-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS">GTK_SELECTION_SINGLE</a></span><span class="symbol">);</span>
|
340
|
-
<span class="function"><a href="
|
341
|
-
<span class="normal"> </span><span class="function"><a href="
|
342
|
-
<span class="normal"> <a href="
|
340
|
+
<span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">select</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"changed"</span><span class="symbol">,</span>
|
341
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree_selection_changed_cb</span><span class="symbol">),</span>
|
342
|
+
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
343
343
|
</tr>
|
344
344
|
</tbody>
|
345
345
|
</table>
|
@@ -379,9 +379,9 @@
|
|
379
379
|
<span class="normal"> </span><span class="cbracket">{</span>
|
380
380
|
<span class="normal"> </span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get">gtk_tree_model_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> AUTHOR_COLUMN</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">author</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
381
381
|
|
382
|
-
<span class="normal"> </span><span class="function"><a href="
|
382
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"You selected a book by %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> author</span><span class="symbol">);</span>
|
383
383
|
|
384
|
-
<span class="normal"> </span><span class="function"><a href="
|
384
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">author</span><span class="symbol">);</span>
|
385
385
|
<span class="normal"> </span><span class="cbracket">}</span>
|
386
386
|
<span class="cbracket">}</span></pre></td>
|
387
387
|
</tr>
|
@@ -491,9 +491,9 @@
|
|
491
491
|
<span class="normal"> </span><span class="comment">/* Create a model. We are using the store model for now, though we</span>
|
492
492
|
<span class="comment"> * could use any other GtkTreeModel */</span>
|
493
493
|
<span class="normal"> store </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeStore.html#gtk-tree-store-new">gtk_tree_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span>
|
494
|
-
<span class="normal"> <a href="
|
495
|
-
<span class="normal"> <a href="
|
496
|
-
<span class="normal"> <a href="
|
494
|
+
<span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS">G_TYPE_STRING</a></span><span class="symbol">,</span>
|
495
|
+
<span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS">G_TYPE_STRING</a></span><span class="symbol">,</span>
|
496
|
+
<span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS">G_TYPE_BOOLEAN</a></span><span class="symbol">);</span>
|
497
497
|
|
498
498
|
<span class="normal"> </span><span class="comment">/* custom function to fill the model with data */</span>
|
499
499
|
<span class="normal"> </span><span class="function">populate_tree_model</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">);</span>
|
@@ -503,20 +503,20 @@
|
|
503
503
|
|
504
504
|
<span class="normal"> </span><span class="comment">/* The view now holds a reference. We can get rid of our own</span>
|
505
505
|
<span class="comment"> * reference */</span>
|
506
|
-
<span class="normal"> </span><span class="function"><a href="
|
506
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">));</span>
|
507
507
|
|
508
508
|
<span class="normal"> </span><span class="comment">/* Create a cell render and arbitrarily make it red for demonstration</span>
|
509
509
|
<span class="comment"> * purposes */</span>
|
510
510
|
<span class="normal"> renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererText.html#gtk-cell-renderer-text-new">gtk_cell_renderer_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
511
|
-
<span class="normal"> </span><span class="function"><a href="
|
511
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set">g_object_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">renderer</span><span class="symbol">),</span>
|
512
512
|
<span class="normal"> </span><span class="string">"foreground"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span>
|
513
|
-
<span class="normal"> <a href="
|
513
|
+
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
514
514
|
|
515
515
|
<span class="normal"> </span><span class="comment">/* Create a column, associating the "text" attribute of the</span>
|
516
516
|
<span class="comment"> * cell_renderer to the first column of the model */</span>
|
517
517
|
<span class="normal"> column </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-new-with-attributes">gtk_tree_view_column_new_with_attributes</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Author"</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span>
|
518
518
|
<span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> AUTHOR_COLUMN</span><span class="symbol">,</span>
|
519
|
-
<span class="normal"> <a href="
|
519
|
+
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
520
520
|
|
521
521
|
<span class="normal"> </span><span class="comment">/* Add the column to the view. */</span>
|
522
522
|
<span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-append-column">gtk_tree_view_append_column</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree</span><span class="symbol">),</span><span class="normal"> column</span><span class="symbol">);</span>
|
@@ -526,7 +526,7 @@
|
|
526
526
|
<span class="normal"> column </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-new-with-attributes">gtk_tree_view_column_new_with_attributes</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Title"</span><span class="symbol">,</span>
|
527
527
|
<span class="normal"> renderer</span><span class="symbol">,</span>
|
528
528
|
<span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> TITLE_COLUMN</span><span class="symbol">,</span>
|
529
|
-
<span class="normal"> <a href="
|
529
|
+
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
530
530
|
<span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-append-column">gtk_tree_view_append_column</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree</span><span class="symbol">),</span><span class="normal"> column</span><span class="symbol">);</span>
|
531
531
|
|
532
532
|
<span class="normal"> </span><span class="comment">/* Last column.. whether a book is checked out. */</span>
|
@@ -534,7 +534,7 @@
|
|
534
534
|
<span class="normal"> column </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-new-with-attributes">gtk_tree_view_column_new_with_attributes</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Checked out"</span><span class="symbol">,</span>
|
535
535
|
<span class="normal"> renderer</span><span class="symbol">,</span>
|
536
536
|
<span class="normal"> </span><span class="string">"active"</span><span class="symbol">,</span><span class="normal"> CHECKED_COLUMN</span><span class="symbol">,</span>
|
537
|
-
<span class="normal"> <a href="
|
537
|
+
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
538
538
|
<span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-append-column">gtk_tree_view_append_column</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree</span><span class="symbol">),</span><span class="normal"> column</span><span class="symbol">);</span>
|
539
539
|
|
540
540
|
<span class="normal"> </span><span class="comment">/* Now we can manipulate the view just like any other GTK widget */</span>
|
@@ -23,8 +23,8 @@
|
|
23
23
|
<div class="titlepage"><div><div><h2 class="title">
|
24
24
|
<a name="id-1.4.2"></a>Object Hierarchy</h2></div></div></div>
|
25
25
|
<pre class="screen">
|
26
|
-
<a href="
|
27
|
-
<span class="lineart">├──</span> <a href="
|
26
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
27
|
+
<span class="lineart">├──</span> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
28
28
|
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
|
29
29
|
<span class="lineart">│</span> <span class="lineart">├──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
30
30
|
<span class="lineart">│</span> <span class="lineart">│</span> <span class="lineart">├──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
@@ -185,7 +185,7 @@
|
|
185
185
|
<span class="lineart">│</span> <span class="lineart">├──</span> <a class="link" href="GtkIMContextSimple.html" title="GtkIMContextSimple">GtkIMContextSimple</a>
|
186
186
|
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="GtkIMMulticontext.html" title="GtkIMMulticontext">GtkIMMulticontext</a>
|
187
187
|
<span class="lineart">├──</span> <a class="link" href="GtkListStore.html" title="GtkListStore">GtkListStore</a>
|
188
|
-
<span class="lineart">├──</span> <a href="
|
188
|
+
<span class="lineart">├──</span> <a href="https://developer.gnome.org/gio/unstable/GMountOperation.html#GMountOperation-struct">GMountOperation</a>
|
189
189
|
<span class="lineart">│</span> <span class="lineart">╰──</span> <a class="link" href="gtk2-Filesystem-utilities.html#GtkMountOperation">GtkMountOperation</a>
|
190
190
|
<span class="lineart">├──</span> <a class="link" href="GtkPageSetup.html" title="GtkPageSetup">GtkPageSetup</a>
|
191
191
|
<span class="lineart">├──</span> <a class="link" href="GtkPrinter.html" title="GtkPrinter">GtkPrinter</a>
|
@@ -212,7 +212,7 @@
|
|
212
212
|
<span class="lineart">├──</span> <a class="link" href="GtkWindowGroup.html" title="GtkWindowGroup">GtkWindowGroup</a>
|
213
213
|
<span class="lineart">├──</span> <a class="link" href="GtkTooltip.html" title="GtkTooltip">GtkTooltip</a>
|
214
214
|
<span class="lineart">╰──</span> <a class="link" href="GtkPrinter.html#GtkPrintBackend">GtkPrintBackend</a>
|
215
|
-
<a href="
|
215
|
+
<a href="https://developer.gnome.org/gobject/unstable/GTypeModule.html">GInterface</a>
|
216
216
|
<span class="lineart">├──</span> <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>
|
217
217
|
<span class="lineart">├──</span> <a class="link" href="GtkActivatable.html" title="GtkActivatable">GtkActivatable</a>
|
218
218
|
<span class="lineart">├──</span> <a class="link" href="gtk2-Orientable.html#GtkOrientable">GtkOrientable</a>
|
@@ -227,7 +227,7 @@
|
|
227
227
|
<span class="lineart">├──</span> <a class="link" href="gtk2-High-level-Printing-API.html#GtkPrintOperationPreview">GtkPrintOperationPreview</a>
|
228
228
|
<span class="lineart">├──</span> <a class="link" href="GtkRecentChooser.html" title="GtkRecentChooser">GtkRecentChooser</a>
|
229
229
|
<span class="lineart">╰──</span> <a class="link" href="GtkToolShell.html" title="GtkToolShell">GtkToolShell</a>
|
230
|
-
<a href="
|
230
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-Boxed-Types.html">GBoxed</a>
|
231
231
|
<span class="lineart">├──</span> <a class="link" href="GtkPaperSize.html" title="GtkPaperSize">GtkPaperSize</a>
|
232
232
|
<span class="lineart">├──</span> <a class="link" href="GtkTextIter.html" title="GtkTextIter">GtkTextIter</a>
|
233
233
|
<span class="lineart">├──</span> <a class="link" href="GtkWidget.html#GtkRequisition">GtkRequisition</a>
|
@@ -376,7 +376,7 @@
|
|
376
376
|
<span class="cbracket">{</span>
|
377
377
|
<span class="normal"> </span><span class="symbol">...</span>
|
378
378
|
|
379
|
-
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-set-double-buffered">gtk_widget_set_double_buffered</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> <a href="
|
379
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-set-double-buffered">gtk_widget_set_double_buffered</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">);</span>
|
380
380
|
|
381
381
|
<span class="normal"> </span><span class="symbol">...</span>
|
382
382
|
<span class="cbracket">}</span></pre></td>
|
@@ -259,11 +259,11 @@ Object system changes:
|
|
259
259
|
<span class="cbracket">{</span>
|
260
260
|
<span class="normal"> </span><span class="usertype">GtkLabel</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_LABEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gobject</span><span class="symbol">);</span>
|
261
261
|
<span class="normal"> </span>
|
262
|
-
<span class="normal"> </span><span class="function"><a href="
|
262
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent_class</span><span class="symbol">)-></span><span class="function">finalize</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
263
263
|
<span class="cbracket">}</span>
|
264
264
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span><span class="normal"> </span><span class="function">gtk_label_class_init</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkLabelClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">class</span><span class="symbol">)</span>
|
265
265
|
<span class="cbracket">{</span>
|
266
|
-
<span class="normal"> </span><span class="usertype">GObjectClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">gobject_class </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
266
|
+
<span class="normal"> </span><span class="usertype">GObjectClass</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">gobject_class </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS">G_OBJECT_CLASS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">class</span><span class="symbol">);</span>
|
267
267
|
<span class="normal"> </span>
|
268
268
|
<span class="normal"> gobject_class</span><span class="symbol">-></span><span class="normal">finalize </span><span class="symbol">=</span><span class="normal"> gtk_label_finalize</span><span class="symbol">;</span>
|
269
269
|
<span class="cbracket">}</span></pre></td>
|
@@ -297,8 +297,8 @@ The GtkObject::destroy signal can now be emitted multiple times on an object.
|
|
297
297
|
5</pre></td>
|
298
298
|
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">-></span><span class="normal">foo_data</span><span class="symbol">)</span>
|
299
299
|
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span>
|
300
|
-
<span class="normal"> </span><span class="function"><a href="
|
301
|
-
<span class="normal"> object</span><span class="symbol">-></span><span class="normal">foo_data </span><span class="symbol">=</span><span class="normal"> <a href="
|
300
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">-></span><span class="normal">foo_data</span><span class="symbol">);</span>
|
301
|
+
<span class="normal"> object</span><span class="symbol">-></span><span class="normal">foo_data </span><span class="symbol">=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
302
302
|
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
303
303
|
</tr>
|
304
304
|
</tbody>
|
@@ -322,7 +322,7 @@ The GtkObject::destroy signal can now be emitted multiple times on an object.
|
|
322
322
|
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">-></span><span class="normal">adjustment</span><span class="symbol">)</span>
|
323
323
|
<span class="normal"> </span><span class="cbracket">{</span>
|
324
324
|
<span class="normal"> </span><span class="function"><a href="GtkObject.html#gtk-object-unref">gtk_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">-></span><span class="normal">adjustment</span><span class="symbol">);</span>
|
325
|
-
<span class="normal"> object</span><span class="symbol">-></span><span class="normal">adjustment </span><span class="symbol">=</span><span class="normal"> <a href="
|
325
|
+
<span class="normal"> object</span><span class="symbol">-></span><span class="normal">adjustment </span><span class="symbol">=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
326
326
|
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
327
327
|
</tr>
|
328
328
|
</tbody>
|
@@ -78,7 +78,7 @@
|
|
78
78
|
<span class="normal"> </span><span class="string">"Program to display GNOME functions."</span><span class="symbol">,</span>
|
79
79
|
<span class="normal"> authors</span><span class="symbol">,</span>
|
80
80
|
<span class="normal"> documenters</span><span class="symbol">,</span>
|
81
|
-
<span class="normal"> </span><span class="function"><a href="
|
81
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="string">"translator-credits"</span><span class="symbol">),</span>
|
82
82
|
<span class="normal"> </span><span class="string">"logo.png"</span><span class="symbol">);</span></pre></td>
|
83
83
|
</tr>
|
84
84
|
</tbody>
|
@@ -104,25 +104,25 @@
|
|
104
104
|
10
|
105
105
|
11
|
106
106
|
12</pre></td>
|
107
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">logo </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file">gdk_pixbuf_new_from_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"logo.png"</span><span class="symbol">,</span><span class="normal"> <a href="
|
108
|
-
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">about </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
107
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">logo </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file">gdk_pixbuf_new_from_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"logo.png"</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
108
|
+
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">about </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GTK_TYPE_ABOUT_DIALOG</span><span class="symbol">,</span>
|
109
109
|
<span class="normal"> </span><span class="string">"name"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"GNOME Test Program"</span><span class="symbol">,</span><span class="normal"> </span>
|
110
110
|
<span class="normal"> </span><span class="string">"version"</span><span class="symbol">,</span><span class="normal"> VERSION</span><span class="symbol">,</span>
|
111
111
|
<span class="normal"> </span><span class="string">"copyright"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"(C) 1998-2001 The Free Software Foundation"</span><span class="symbol">,</span>
|
112
112
|
<span class="normal"> </span><span class="string">"comments"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Program to display GNOME functions."</span><span class="symbol">,</span>
|
113
113
|
<span class="normal"> </span><span class="string">"authors"</span><span class="symbol">,</span><span class="normal"> authors</span><span class="symbol">,</span>
|
114
114
|
<span class="normal"> </span><span class="string">"documenters"</span><span class="symbol">,</span><span class="normal"> documenters</span><span class="symbol">,</span>
|
115
|
-
<span class="normal"> </span><span class="string">"translator-credits"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="
|
115
|
+
<span class="normal"> </span><span class="string">"translator-credits"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="string">"translator-credits"</span><span class="symbol">),</span>
|
116
116
|
<span class="normal"> </span><span class="string">"logo"</span><span class="symbol">,</span><span class="normal"> logo</span><span class="symbol">,</span>
|
117
|
-
<span class="normal"> <a href="
|
118
|
-
<span class="function"><a href="
|
117
|
+
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
118
|
+
<span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span></pre></td>
|
119
119
|
</tr>
|
120
120
|
</tbody>
|
121
121
|
</table>
|
122
122
|
</div>
|
123
123
|
|
124
124
|
<p>
|
125
|
-
If the <a href="
|
125
|
+
If the <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a> construction scares you, you can also use
|
126
126
|
<a class="link" href="GtkAboutDialog.html#gtk-about-dialog-new" title="gtk_about_dialog_new ()"><code class="function">gtk_about_dialog_new()</code></a> to construct the dialog and then use the
|
127
127
|
setters for the individual properties.
|
128
128
|
</p>
|
@@ -89,9 +89,9 @@
|
|
89
89
|
<td class="listing_lines" align="right"><pre>1
|
90
90
|
2
|
91
91
|
3</pre></td>
|
92
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal">color</span><span class="symbol">.</span><span class="normal">red </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="
|
93
|
-
<span class="normal">color</span><span class="symbol">.</span><span class="normal">green </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="
|
94
|
-
<span class="normal">color</span><span class="symbol">.</span><span class="normal">blue </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="
|
92
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal">color</span><span class="symbol">.</span><span class="normal">red </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16">guint16</a></span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">red </span><span class="symbol">*</span><span class="normal"> </span><span class="number">65535.0</span><span class="normal"> </span><span class="symbol">+</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">);</span>
|
93
|
+
<span class="normal">color</span><span class="symbol">.</span><span class="normal">green </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16">guint16</a></span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">green </span><span class="symbol">*</span><span class="normal"> </span><span class="number">65535.0</span><span class="normal"> </span><span class="symbol">+</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">);</span>
|
94
|
+
<span class="normal">color</span><span class="symbol">.</span><span class="normal">blue </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16">guint16</a></span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">blue </span><span class="symbol">*</span><span class="normal"> </span><span class="number">65535.0</span><span class="normal"> </span><span class="symbol">+</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">);</span></pre></td>
|
95
95
|
</tr>
|
96
96
|
</tbody>
|
97
97
|
</table>
|
@@ -218,7 +218,7 @@
|
|
218
218
|
<span class="usertype">GtkCellRenderer</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">renderer</span><span class="symbol">;</span>
|
219
219
|
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">combo_box</span><span class="symbol">;</span>
|
220
220
|
|
221
|
-
<span class="normal">store </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">2</span><span class="symbol">,</span><span class="normal"> GDK_TYPE_PIXBUF</span><span class="symbol">,</span><span class="normal"> <a href="
|
221
|
+
<span class="normal">store </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">2</span><span class="symbol">,</span><span class="normal"> GDK_TYPE_PIXBUF</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS">G_TYPE_STRING</a></span><span class="symbol">);</span>
|
222
222
|
|
223
223
|
<span class="function"><a href="GtkListStore.html#gtk-list-store-append">gtk_list_store_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">);</span>
|
224
224
|
<span class="function"><a href="GtkListStore.html#gtk-list-store-set">gtk_list_store_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> pixbuf1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"First Item"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
@@ -230,16 +230,16 @@
|
|
230
230
|
<span class="normal">combo_box </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkComboBox.html#gtk-combo-box-new-with-model">gtk_combo_box_new_with_model</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_MODEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">));</span>
|
231
231
|
|
232
232
|
<span class="normal">renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererPixbuf.html#gtk-cell-renderer-pixbuf-new">gtk_cell_renderer_pixbuf_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
233
|
-
<span class="function"><a href="GtkCellLayout.html#gtk-cell-layout-pack-start">gtk_cell_layout_pack_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CELL_LAYOUT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">combo_box</span><span class="symbol">),</span><span class="normal"> renderer</span><span class="symbol">,</span><span class="normal"> <a href="
|
233
|
+
<span class="function"><a href="GtkCellLayout.html#gtk-cell-layout-pack-start">gtk_cell_layout_pack_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CELL_LAYOUT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">combo_box</span><span class="symbol">),</span><span class="normal"> renderer</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">);</span>
|
234
234
|
<span class="function"><a href="GtkCellLayout.html#gtk-cell-layout-set-attributes">gtk_cell_layout_set_attributes</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CELL_LAYOUT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">combo_box</span><span class="symbol">),</span><span class="normal"> renderer</span><span class="symbol">,</span>
|
235
235
|
<span class="normal"> </span><span class="string">"pixbuf"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span>
|
236
|
-
<span class="normal"> <a href="
|
236
|
+
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
237
237
|
|
238
238
|
<span class="normal">renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererText.html#gtk-cell-renderer-text-new">gtk_cell_renderer_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
239
|
-
<span class="function"><a href="GtkCellLayout.html#gtk-cell-layout-pack-start">gtk_cell_layout_pack_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CELL_LAYOUT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">combo_box</span><span class="symbol">),</span><span class="normal"> renderer</span><span class="symbol">,</span><span class="normal"> <a href="
|
239
|
+
<span class="function"><a href="GtkCellLayout.html#gtk-cell-layout-pack-start">gtk_cell_layout_pack_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CELL_LAYOUT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">combo_box</span><span class="symbol">),</span><span class="normal"> renderer</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
240
240
|
<span class="function"><a href="GtkCellLayout.html#gtk-cell-layout-set-attributes">gtk_cell_layout_set_attributes</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CELL_LAYOUT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">combo_box</span><span class="symbol">),</span><span class="normal"> renderer</span><span class="symbol">,</span>
|
241
241
|
<span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span>
|
242
|
-
<span class="normal"> <a href="
|
242
|
+
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
243
243
|
</tr>
|
244
244
|
</tbody>
|
245
245
|
</table>
|
@@ -143,14 +143,14 @@
|
|
143
143
|
<span class="normal"> </span><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pixbuf</span><span class="symbol">;</span>
|
144
144
|
|
145
145
|
<span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-append">gtk_list_store_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">);</span>
|
146
|
-
<span class="normal"> pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file">gdk_pixbuf_new_from_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"file1.png"</span><span class="symbol">,</span><span class="normal"> <a href="
|
146
|
+
<span class="normal"> pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file">gdk_pixbuf_new_from_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"file1.png"</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
147
147
|
<span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-set">gtk_list_store_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> PIXBUF_COLUMN</span><span class="symbol">,</span><span class="normal"> pixbuf</span><span class="symbol">,</span><span class="normal"> TEXT_COLUMN</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Icon 1"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
148
|
-
<span class="normal"> </span><span class="function"><a href="
|
148
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
149
149
|
|
150
150
|
<span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-append">gtk_list_store_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">);</span>
|
151
|
-
<span class="normal"> pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file">gdk_pixbuf_new_from_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"file2.png"</span><span class="symbol">,</span><span class="normal"> <a href="
|
151
|
+
<span class="normal"> pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file">gdk_pixbuf_new_from_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"file2.png"</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
152
152
|
<span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-set">gtk_list_store_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">store</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> PIXBUF_COLUMN</span><span class="symbol">,</span><span class="normal"> pixbuf</span><span class="symbol">,</span><span class="normal"> TEXT_COLUMN</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Icon 2"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
153
|
-
<span class="normal"> </span><span class="function"><a href="
|
153
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
154
154
|
|
155
155
|
<span class="normal"> </span><span class="comment">/* more icons ... */</span><span class="normal"> </span>
|
156
156
|
<span class="cbracket">}</span>
|
@@ -167,7 +167,7 @@
|
|
167
167
|
|
168
168
|
<span class="normal"> </span><span class="comment">/* construct the GtkIconView */</span>
|
169
169
|
<span class="normal"> icon_view </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkIconView.html#gtk-icon-view-new">gtk_icon_view_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
170
|
-
<span class="normal"> store </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">3</span><span class="symbol">,</span><span class="normal"> GDK_TYPE_PIXBUF</span><span class="symbol">,</span><span class="normal"> <a href="
|
170
|
+
<span class="normal"> store </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">3</span><span class="symbol">,</span><span class="normal"> GDK_TYPE_PIXBUF</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS">G_TYPE_STRING</a></span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-POINTER:CAPS">G_TYPE_POINTER</a></span><span class="symbol">);</span>
|
171
171
|
|
172
172
|
<span class="normal"> </span><span class="function"><a href="GtkIconView.html#gtk-icon-view-set-pixbuf-column">gtk_icon_view_set_pixbuf_column</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_ICON_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon_view</span><span class="symbol">),</span><span class="normal"> PIXBUF_COLUMN</span><span class="symbol">);</span>
|
173
173
|
<span class="normal"> </span><span class="function"><a href="GtkIconView.html#gtk-icon-view-set-text-column">gtk_icon_view_set_text_column</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_ICON_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon_view</span><span class="symbol">),</span><span class="normal"> TEXT_COLUMN</span><span class="symbol">);</span>
|
@@ -222,7 +222,7 @@
|
|
222
222
|
|
223
223
|
<span class="normal"> model </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkIconView.html#gtk-icon-view-get-model">gtk_icon_view_get_model</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon_view</span><span class="symbol">);</span>
|
224
224
|
|
225
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-iter-nth-child">gtk_tree_model_iter_nth_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> <a href="
|
225
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-iter-nth-child">gtk_tree_model_iter_nth_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> idx</span><span class="symbol">))</span>
|
226
226
|
<span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-set">gtk_list_store_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_LIST_STORE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">),</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> </span>
|
227
227
|
<span class="normal"> DATA_COLUMN</span><span class="symbol">,</span><span class="normal"> data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
228
228
|
<span class="cbracket">}</span></pre></td>
|
@@ -233,7 +233,7 @@
|
|
233
233
|
|
234
234
|
<p>
|
235
235
|
assuming that your tree model has a <code class="literal">DATA_COLUMN</code> of type
|
236
|
-
<a href="
|
236
|
+
<a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-POINTER:CAPS"><code class="literal">G_TYPE_POINTER</code></a>.
|
237
237
|
</p>
|
238
238
|
<p>
|
239
239
|
There is a number of minor API differences between
|
@@ -88,8 +88,8 @@
|
|
88
88
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button</span><span class="symbol">;</span>
|
89
89
|
|
90
90
|
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLinkButton.html#gtk-link-button-new">gtk_link_button_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">url</span><span class="symbol">);</span>
|
91
|
-
<span class="normal"> </span><span class="function"><a href="
|
92
|
-
<span class="normal"> </span><span class="function"><a href="
|
91
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</span><span class="symbol">,</span>
|
92
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">link_button_clicked_cb</span><span class="symbol">),</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
93
93
|
</tr>
|
94
94
|
</tbody>
|
95
95
|
</table>
|
@@ -133,7 +133,7 @@
|
|
133
133
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLinkButton.html#gtk-link-button-new">gtk_link_button_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">uri1</span><span class="symbol">);</span>
|
134
134
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLinkButton.html#gtk-link-button-new">gtk_link_button_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">uri2</span><span class="symbol">);</span>
|
135
135
|
|
136
|
-
<span class="normal"> </span><span class="function"><a href="GtkLinkButton.html#gtk-link-button-set-uri-hook">gtk_link_button_set_uri_hook</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">link_button_hook</span><span class="symbol">,</span><span class="normal"> <a href="
|
136
|
+
<span class="normal"> </span><span class="function"><a href="GtkLinkButton.html#gtk-link-button-set-uri-hook">gtk_link_button_set_uri_hook</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">link_button_hook</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
137
137
|
</tr>
|
138
138
|
</tbody>
|
139
139
|
</table>
|
@@ -110,7 +110,7 @@
|
|
110
110
|
<span class="normal"> </span><span class="comment">/* warn about the error */</span>
|
111
111
|
<span class="normal"> </span><span class="cbracket">}</span>
|
112
112
|
<span class="normal"> </span>
|
113
|
-
<span class="normal"> </span><span class="function"><a href="
|
113
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span></pre></td>
|
114
114
|
</tr>
|
115
115
|
</tbody>
|
116
116
|
</table>
|
@@ -166,7 +166,7 @@
|
|
166
166
|
|
167
167
|
<span class="normal"> manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-new">gtk_recent_manager_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
168
168
|
<span class="normal"> </span>
|
169
|
-
<span class="normal"> recent_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
169
|
+
<span class="normal"> recent_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-new0">g_new0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkRecentManager.html#GtkRecentData">GtkRecentData</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
170
170
|
<span class="normal"> </span><span class="comment">/* the user visible name of the document (maybe its title); should</span>
|
171
171
|
<span class="comment"> * be preferred when displaying the item into the list</span>
|
172
172
|
<span class="comment"> */</span>
|
@@ -186,16 +186,16 @@
|
|
186
186
|
<span class="comment"> * command line from the GtkRecentInfo object with</span>
|
187
187
|
<span class="comment"> * gtk_recent_info_get_application_info ()</span>
|
188
188
|
<span class="comment"> */</span>
|
189
|
-
<span class="normal"> recent_data</span><span class="symbol">-&</span><span class="normal">app_exec </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
189
|
+
<span class="normal"> recent_data</span><span class="symbol">-&</span><span class="normal">app_exec </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#g-strjoin">g_strjoin</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" "</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-get-prgname">g_get_prgname</a></span><span class="normal"> </span><span class="symbol">(),</span><span class="normal"> </span><span class="string">"--open-file"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"%u"</span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
190
190
|
|
191
191
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-add-full">gtk_recent_manager_add_full</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> document_uri</span><span class="symbol">,</span><span class="normal"> recent_data</span><span class="symbol">))</span>
|
192
192
|
<span class="normal"> </span><span class="cbracket">{</span>
|
193
193
|
<span class="normal"> </span><span class="comment">/* warn about the error */</span>
|
194
194
|
<span class="normal"> </span><span class="cbracket">}</span>
|
195
195
|
|
196
|
-
<span class="normal"> </span><span class="function"><a href="
|
197
|
-
<span class="normal"> </span><span class="function"><a href="
|
198
|
-
<span class="normal"> </span><span class="function"><a href="
|
196
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_data</span><span class="symbol">-></span><span class="normal">app_exec</span><span class="symbol">);</span>
|
197
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_data</span><span class="symbol">);</span>
|
198
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span></pre></td>
|
199
199
|
</tr>
|
200
200
|
</tbody>
|
201
201
|
</table>
|
@@ -236,7 +236,7 @@
|
|
236
236
|
<span class="normal"> manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-get-default">gtk_recent_manager_get_default</a></span><span class="symbol">();</span>
|
237
237
|
|
238
238
|
<span class="normal"> recent_items </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-get-items">gtk_recent_manager_get_items</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span>
|
239
|
-
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">l </span><span class="symbol">=</span><span class="normal"> recent_items</span><span class="symbol">;</span><span class="normal"> l </span><span class="symbol">!=</span><span class="normal"> <a href="
|
239
|
+
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">l </span><span class="symbol">=</span><span class="normal"> recent_items</span><span class="symbol">;</span><span class="normal"> l </span><span class="symbol">!=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span><span class="normal"> l </span><span class="symbol">=</span><span class="normal"> l</span><span class="symbol">-></span><span class="normal">next</span><span class="symbol">)</span>
|
240
240
|
<span class="normal"> </span><span class="cbracket">{</span>
|
241
241
|
<span class="normal"> </span><span class="usertype">GtkRecentInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">recent_info </span><span class="symbol">=</span><span class="normal"> l</span><span class="symbol">-></span><span class="normal">data</span><span class="symbol">;</span>
|
242
242
|
|
@@ -244,8 +244,8 @@
|
|
244
244
|
<span class="normal"> </span><span class="cbracket">}</span>
|
245
245
|
<span class="normal"> </span>
|
246
246
|
<span class="normal"> </span><span class="comment">/* free everything and the list */</span>
|
247
|
-
<span class="normal"> </span><span class="function"><a href="
|
248
|
-
<span class="normal"> </span><span class="function"><a href="
|
247
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-foreach">g_list_foreach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_items</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GFunc">GFunc</a></span><span class="symbol">)</span><span class="normal"> <a href="GtkRecentManager.html#gtk-recent-info-unref">gtk_recent_info_unref</a></span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
248
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free">g_list_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_items</span><span class="symbol">);</span></pre></td>
|
249
249
|
</tr>
|
250
250
|
</tbody>
|
251
251
|
</table>
|
@@ -275,14 +275,14 @@
|
|
275
275
|
15
|
276
276
|
16</pre></td>
|
277
277
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkRecentInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">recent_info</span><span class="symbol">;</span>
|
278
|
-
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="
|
278
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
279
279
|
|
280
280
|
<span class="normal"> recent_info </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-lookup-item">gtk_recent_manager_lookup_item</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> document_uri</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
281
281
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">)</span>
|
282
282
|
<span class="normal"> </span><span class="cbracket">{</span>
|
283
283
|
<span class="normal"> </span><span class="function">display_error</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
284
284
|
|
285
|
-
<span class="normal"> </span><span class="function"><a href="
|
285
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
286
286
|
<span class="normal"> </span><span class="cbracket">}</span>
|
287
287
|
<span class="normal"> </span><span class="keyword">else</span>
|
288
288
|
<span class="normal"> </span><span class="cbracket">{</span>
|