gtk2 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2.2/gtk2.so +0 -0
- data/lib/2.3/gtk2.so +0 -0
- data/sample/gtk-demo/appwindow.rb +2 -2
- data/sample/gtk-demo/cairo-clip-image.rb +1 -1
- data/sample/gtk-demo/cairo-image.rb +1 -1
- data/sample/gtk-demo/iconview.rb +3 -3
- data/sample/gtk-demo/images.rb +3 -3
- data/sample/gtk-demo/pixbufs.rb +9 -7
- data/sample/gtk-demo/stock_browser.rb +1 -1
- data/sample/gtk-demo/textview.rb +2 -2
- data/sample/misc/aboutdialog.rb +1 -1
- data/sample/misc/combobox.rb +1 -1
- data/sample/misc/iconview.rb +2 -2
- data/sample/misc/itemfactory.rb +1 -1
- data/sample/misc/itemfactory2.rb +1 -1
- data/sample/misc/to_drawable.rb +2 -2
- data/sample/misc/treeview.rb +1 -1
- data/test/test_gdk_pixbuf.rb +6 -6
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/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/modules/libgail.dll.a +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/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 +9 -9
@@ -119,7 +119,7 @@
|
|
119
119
|
<div class="refsect1">
|
120
120
|
<a name="gdk2-Application-launching.description"></a><h2>Description</h2>
|
121
121
|
<p>
|
122
|
-
GdkAppLaunchContext is an implementation of <a href="
|
122
|
+
GdkAppLaunchContext is an implementation of <a href="https://developer.gnome.org/gio/unstable/GAppInfo.html#GAppLaunchContext-struct"><span class="type">GAppLaunchContext</span></a> that
|
123
123
|
handles launching an application in a graphical context. It provides
|
124
124
|
startup notification and allows to launch applications on a specific
|
125
125
|
screen or workspace.
|
@@ -141,9 +141,9 @@ screen or workspace.
|
|
141
141
|
<span class="normal">context </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gdk2-Application-launching.html#gdk-app-launch-context-new">gdk_app_launch_context_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
142
142
|
<span class="function"><a href="gdk2-Application-launching.html#gdk-app-launch-context-set-screen">gdk_app_launch_context_set_screen</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_screen</span><span class="symbol">);</span>
|
143
143
|
<span class="function"><a href="gdk2-Application-launching.html#gdk-app-launch-context-set-timestamp">gdk_app_launch_context_set_timestamp</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">time</span><span class="symbol">);</span>
|
144
|
-
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="
|
145
|
-
<span class="normal"> </span><span class="function"><a href="
|
146
|
-
<span class="function"><a href="
|
144
|
+
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="https://developer.gnome.org/gio/unstable/GAppInfo.html#g-app-info-launch-default-for-uri">g_app_info_launch_default_for_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"http://www.gtk.org"</span><span class="symbol">,</span><span class="normal"> context</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">))</span>
|
145
|
+
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Message-Logging.html#g-warning">g_warning</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Launching failed: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
146
|
+
<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">context</span><span class="symbol">);</span></pre></td>
|
147
147
|
</tr>
|
148
148
|
</tbody>
|
149
149
|
</table>
|
@@ -242,7 +242,7 @@ display are used.</p>
|
|
242
242
|
<a name="gdk-app-launch-context-set-desktop"></a><h3>gdk_app_launch_context_set_desktop ()</h3>
|
243
243
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
244
244
|
gdk_app_launch_context_set_desktop (<em class="parameter"><code><a class="link" href="gdk2-Application-launching.html#GdkAppLaunchContext" title="GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
245
|
-
<em class="parameter"><code><a href="
|
245
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> desktop</code></em>);</pre>
|
246
246
|
<p>Sets the workspace on which applications will be launched when
|
247
247
|
using this context when running under a window manager that
|
248
248
|
supports multiple workspaces, as described in the </p>
|
@@ -281,7 +281,7 @@ be the current workspace.</p>
|
|
281
281
|
<a name="gdk-app-launch-context-set-timestamp"></a><h3>gdk_app_launch_context_set_timestamp ()</h3>
|
282
282
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
283
283
|
gdk_app_launch_context_set_timestamp (<em class="parameter"><code><a class="link" href="gdk2-Application-launching.html#GdkAppLaunchContext" title="GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
284
|
-
<em class="parameter"><code><a href="
|
284
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
|
285
285
|
<p>Sets the timestamp of <em class="parameter"><code>context</code></em>
|
286
286
|
. The timestamp should ideally
|
287
287
|
be taken from the event that triggered the launch. </p>
|
@@ -318,7 +318,7 @@ prevention'.</p>
|
|
318
318
|
<a name="gdk-app-launch-context-set-icon"></a><h3>gdk_app_launch_context_set_icon ()</h3>
|
319
319
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
320
320
|
gdk_app_launch_context_set_icon (<em class="parameter"><code><a class="link" href="gdk2-Application-launching.html#GdkAppLaunchContext" title="GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
321
|
-
<em class="parameter"><code><a href="
|
321
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/gio/unstable/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> *icon</code></em>);</pre>
|
322
322
|
<p>Sets the icon for applications that are launched with this
|
323
323
|
context.</p>
|
324
324
|
<p>Window Managers can use this information when displaying startup
|
@@ -340,7 +340,7 @@ notification.</p>
|
|
340
340
|
</tr>
|
341
341
|
<tr>
|
342
342
|
<td class="parameter_name"><p>icon</p></td>
|
343
|
-
<td class="parameter_description"><p> a <a href="
|
343
|
+
<td class="parameter_description"><p> a <a href="https://developer.gnome.org/gio/unstable/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
344
344
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
345
345
|
</tr>
|
346
346
|
</tbody>
|
@@ -365,7 +365,7 @@ in desktop files. See also <a class="link" href="gdk2-Application-launching.html
|
|
365
365
|
If neither <em class="parameter"><code>icon</code></em>
|
366
366
|
or <em class="parameter"><code>icon_name</code></em>
|
367
367
|
is set, the icon is taken from either
|
368
|
-
the file that is passed to launched application or from the <a href="
|
368
|
+
the file that is passed to launched application or from the <a href="https://developer.gnome.org/gio/unstable/GAppInfo.html#GAppInfo-struct"><span class="type">GAppInfo</span></a>
|
369
369
|
for the launched application itself.</p>
|
370
370
|
<div class="refsect3">
|
371
371
|
<a name="gdk-app-launch-context-set-icon-name.parameters"></a><h4>Parameters</h4>
|
@@ -383,7 +383,7 @@ for the launched application itself.</p>
|
|
383
383
|
</tr>
|
384
384
|
<tr>
|
385
385
|
<td class="parameter_name"><p>icon_name</p></td>
|
386
|
-
<td class="parameter_description"><p> an icon name, or <a href="
|
386
|
+
<td class="parameter_description"><p> an icon name, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
387
387
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
388
388
|
</tr>
|
389
389
|
</tbody>
|
@@ -144,7 +144,7 @@
|
|
144
144
|
</div>
|
145
145
|
<div class="refsect1">
|
146
146
|
<a name="gdk2-Bitmaps-and-Pixmaps.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
147
|
-
<pre class="screen"> <a href="
|
147
|
+
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
148
148
|
<span class="lineart">╰──</span> <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable">GdkDrawable</a>
|
149
149
|
<span class="lineart">╰──</span> GdkPixmap
|
150
150
|
</pre>
|
@@ -176,9 +176,9 @@ types, they are not deprecated.
|
|
176
176
|
<a name="gdk-pixmap-new"></a><h3>gdk_pixmap_new ()</h3>
|
177
177
|
<pre class="programlisting"><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> *
|
178
178
|
gdk_pixmap_new (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
179
|
-
<em class="parameter"><code><a href="
|
180
|
-
<em class="parameter"><code><a href="
|
181
|
-
<em class="parameter"><code><a href="
|
179
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
180
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
181
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>);</pre>
|
182
182
|
<p>
|
183
183
|
Create a new pixmap with a given size and depth.
|
184
184
|
</p>
|
@@ -199,7 +199,7 @@ as the replacement function for this function in GTK 3.
|
|
199
199
|
<tr>
|
200
200
|
<td class="parameter_name"><p>drawable</p></td>
|
201
201
|
<td class="parameter_description"><p>A <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, used to determine default values
|
202
|
-
for the new pixmap. Can be <a href="
|
202
|
+
for the new pixmap. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>depth</code></em>
|
203
203
|
is specified,</p></td>
|
204
204
|
<td class="parameter_annotations"> </td>
|
205
205
|
</tr>
|
@@ -217,7 +217,7 @@ is specified,</p></td>
|
|
217
217
|
<td class="parameter_name"><p>depth</p></td>
|
218
218
|
<td class="parameter_description"><p>The depth (number of bits per pixel) of the new pixmap.
|
219
219
|
If -1, and <em class="parameter"><code>drawable</code></em>
|
220
|
-
is not <a href="
|
220
|
+
is not <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the depth of the new
|
221
221
|
pixmap will be equal to that of <em class="parameter"><code>drawable</code></em>
|
222
222
|
.</p></td>
|
223
223
|
<td class="parameter_annotations"> </td>
|
@@ -235,9 +235,9 @@ pixmap will be equal to that of <em class="parameter"><code>drawable</code></em>
|
|
235
235
|
<a name="gdk-bitmap-create-from-data"></a><h3>gdk_bitmap_create_from_data ()</h3>
|
236
236
|
<pre class="programlisting"><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="returnvalue">GdkBitmap</span></a> *
|
237
237
|
gdk_bitmap_create_from_data (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
238
|
-
<em class="parameter"><code>const <a href="
|
239
|
-
<em class="parameter"><code><a href="
|
240
|
-
<em class="parameter"><code><a href="
|
238
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
|
239
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
240
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
241
241
|
<div class="warning">
|
242
242
|
<p><code class="literal">gdk_bitmap_create_from_data</code> has been deprecated since version 2.22 and should not be used in newly-written code.</p>
|
243
243
|
<p>You can create a Cairo image surface using
|
@@ -264,7 +264,7 @@ Creates a new bitmap from data in XBM format.
|
|
264
264
|
<tr>
|
265
265
|
<td class="parameter_name"><p>drawable</p></td>
|
266
266
|
<td class="parameter_description"><p>a <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, used to determine default values
|
267
|
-
for the new pixmap. Can be <a href="
|
267
|
+
for the new pixmap. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, in which case the root
|
268
268
|
window is used.</p></td>
|
269
269
|
<td class="parameter_annotations"> </td>
|
270
270
|
</tr>
|
@@ -296,10 +296,10 @@ window is used.</p></td>
|
|
296
296
|
<a name="gdk-pixmap-create-from-data"></a><h3>gdk_pixmap_create_from_data ()</h3>
|
297
297
|
<pre class="programlisting"><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> *
|
298
298
|
gdk_pixmap_create_from_data (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
299
|
-
<em class="parameter"><code>const <a href="
|
300
|
-
<em class="parameter"><code><a href="
|
301
|
-
<em class="parameter"><code><a href="
|
302
|
-
<em class="parameter"><code><a href="
|
299
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
|
300
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
301
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
302
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>,
|
303
303
|
<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *fg</code></em>,
|
304
304
|
<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *bg</code></em>);</pre>
|
305
305
|
<div class="warning">
|
@@ -325,7 +325,7 @@ Create a two-color pixmap from data in XBM data.
|
|
325
325
|
<tr>
|
326
326
|
<td class="parameter_name"><p>drawable</p></td>
|
327
327
|
<td class="parameter_description"><p>a <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, used to determine default values
|
328
|
-
for the new pixmap. Can be <a href="
|
328
|
+
for the new pixmap. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, if the depth is given.</p></td>
|
329
329
|
<td class="parameter_annotations"> </td>
|
330
330
|
</tr>
|
331
331
|
<tr>
|
@@ -373,7 +373,7 @@ for the new pixmap. Can be <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor
|
|
373
373
|
gdk_pixmap_create_from_xpm (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
374
374
|
<em class="parameter"><code><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="type">GdkBitmap</span></a> **mask</code></em>,
|
375
375
|
<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *transparent_color</code></em>,
|
376
|
-
<em class="parameter"><code>const <a href="
|
376
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
377
377
|
<div class="warning">
|
378
378
|
<p><code class="literal">gdk_pixmap_create_from_xpm</code> has been deprecated since version 2.22 and should not be used in newly-written code.</p>
|
379
379
|
<p>Use a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> instead. You can use
|
@@ -400,14 +400,14 @@ for the new pixmap.</p></td>
|
|
400
400
|
<tr>
|
401
401
|
<td class="parameter_name"><p>mask</p></td>
|
402
402
|
<td class="parameter_description"><p>(out) a pointer to a place to store a bitmap representing
|
403
|
-
the transparency mask of the XPM file. Can be <a href="
|
403
|
+
the transparency mask of the XPM file. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
404
404
|
in which case transparency will be ignored.</p></td>
|
405
405
|
<td class="parameter_annotations"> </td>
|
406
406
|
</tr>
|
407
407
|
<tr>
|
408
408
|
<td class="parameter_name"><p>transparent_color</p></td>
|
409
409
|
<td class="parameter_description"><p>the color to be used for the pixels
|
410
|
-
that are transparent in the input file. Can be <a href="
|
410
|
+
that are transparent in the input file. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
411
411
|
in which case a default color will be used.</p></td>
|
412
412
|
<td class="parameter_annotations"> </td>
|
413
413
|
</tr>
|
@@ -433,7 +433,7 @@ gdk_pixmap_colormap_create_from_xpm (<em class="parameter"><code><a class="link"
|
|
433
433
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
434
434
|
<em class="parameter"><code><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="type">GdkBitmap</span></a> **mask</code></em>,
|
435
435
|
<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *transparent_color</code></em>,
|
436
|
-
<em class="parameter"><code>const <a href="
|
436
|
+
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
437
437
|
<div class="warning">
|
438
438
|
<p><code class="literal">gdk_pixmap_colormap_create_from_xpm</code> has been deprecated since version 2.22 and should not be used in newly-written code.</p>
|
439
439
|
<p>Use a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> instead. You can use
|
@@ -454,7 +454,7 @@ create it and Cairo to draw the pixbuf onto it.</p>
|
|
454
454
|
<tr>
|
455
455
|
<td class="parameter_name"><p>drawable</p></td>
|
456
456
|
<td class="parameter_description"><p>a <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, used to determine default values
|
457
|
-
for the new pixmap. Can be <a href="
|
457
|
+
for the new pixmap. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>colormap</code></em>
|
458
458
|
is given.</p></td>
|
459
459
|
<td class="parameter_annotations"> </td>
|
460
460
|
</tr>
|
@@ -468,14 +468,14 @@ will be used.</p></td>
|
|
468
468
|
<tr>
|
469
469
|
<td class="parameter_name"><p>mask</p></td>
|
470
470
|
<td class="parameter_description"><p>a pointer to a place to store a bitmap representing
|
471
|
-
the transparency mask of the XPM file. Can be <a href="
|
471
|
+
the transparency mask of the XPM file. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
472
472
|
in which case transparency will be ignored.</p></td>
|
473
473
|
<td class="parameter_annotations"> </td>
|
474
474
|
</tr>
|
475
475
|
<tr>
|
476
476
|
<td class="parameter_name"><p>transparent_color</p></td>
|
477
477
|
<td class="parameter_description"><p>the color to be used for the pixels
|
478
|
-
that are transparent in the input file. Can be <a href="
|
478
|
+
that are transparent in the input file. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
479
479
|
in which case a default color will be used.</p></td>
|
480
480
|
<td class="parameter_annotations"> </td>
|
481
481
|
</tr>
|
@@ -500,7 +500,7 @@ in which case a default color will be used.</p></td>
|
|
500
500
|
gdk_pixmap_create_from_xpm_d (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
501
501
|
<em class="parameter"><code><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="type">GdkBitmap</span></a> **mask</code></em>,
|
502
502
|
<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *transparent_color</code></em>,
|
503
|
-
<em class="parameter"><code><a href="
|
503
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **data</code></em>);</pre>
|
504
504
|
<div class="warning">
|
505
505
|
<p><code class="literal">gdk_pixmap_create_from_xpm_d</code> has been deprecated since version 2.22 and should not be used in newly-written code.</p>
|
506
506
|
<p>Use a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> instead. You can use
|
@@ -527,14 +527,14 @@ for the new pixmap.</p></td>
|
|
527
527
|
<tr>
|
528
528
|
<td class="parameter_name"><p>mask</p></td>
|
529
529
|
<td class="parameter_description"><p> Pointer to a place to store a bitmap representing
|
530
|
-
the transparency mask of the XPM file. Can be <a href="
|
530
|
+
the transparency mask of the XPM file. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
531
531
|
in which case transparency will be ignored. </p></td>
|
532
532
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
533
533
|
</tr>
|
534
534
|
<tr>
|
535
535
|
<td class="parameter_name"><p>transparent_color</p></td>
|
536
536
|
<td class="parameter_description"><p>This color will be used for the pixels
|
537
|
-
that are transparent in the input file. Can be <a href="
|
537
|
+
that are transparent in the input file. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
538
538
|
in which case a default color will be used.</p></td>
|
539
539
|
<td class="parameter_annotations"> </td>
|
540
540
|
</tr>
|
@@ -560,7 +560,7 @@ gdk_pixmap_colormap_create_from_xpm_d (<em class="parameter"><code><a class="lin
|
|
560
560
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
561
561
|
<em class="parameter"><code><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="type">GdkBitmap</span></a> **mask</code></em>,
|
562
562
|
<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *transparent_color</code></em>,
|
563
|
-
<em class="parameter"><code><a href="
|
563
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **data</code></em>);</pre>
|
564
564
|
<div class="warning">
|
565
565
|
<p><code class="literal">gdk_pixmap_colormap_create_from_xpm_d</code> has been deprecated since version 2.22 and should not be used in newly-written code.</p>
|
566
566
|
<p>Use a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf-struct"><span class="type">GdkPixbuf</span></a> instead. You can use
|
@@ -582,7 +582,7 @@ colormap.</p>
|
|
582
582
|
<tr>
|
583
583
|
<td class="parameter_name"><p>drawable</p></td>
|
584
584
|
<td class="parameter_description"><p>a <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, used to determine default values
|
585
|
-
for the new pixmap. Can be <a href="
|
585
|
+
for the new pixmap. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>colormap</code></em>
|
586
586
|
is given.</p></td>
|
587
587
|
<td class="parameter_annotations"> </td>
|
588
588
|
</tr>
|
@@ -596,14 +596,14 @@ will be used.</p></td>
|
|
596
596
|
<tr>
|
597
597
|
<td class="parameter_name"><p>mask</p></td>
|
598
598
|
<td class="parameter_description"><p>a pointer to a place to store a bitmap representing
|
599
|
-
the transparency mask of the XPM file. Can be <a href="
|
599
|
+
the transparency mask of the XPM file. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
600
600
|
in which case transparency will be ignored.</p></td>
|
601
601
|
<td class="parameter_annotations"> </td>
|
602
602
|
</tr>
|
603
603
|
<tr>
|
604
604
|
<td class="parameter_name"><p>transparent_color</p></td>
|
605
605
|
<td class="parameter_description"><p>the color to be used for the pixels
|
606
|
-
that are transparent in the input file. Can be <a href="
|
606
|
+
that are transparent in the input file. Can be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
607
607
|
in which case a default color will be used.</p></td>
|
608
608
|
<td class="parameter_annotations"> </td>
|
609
609
|
</tr>
|
@@ -626,8 +626,8 @@ in which case a default color will be used.</p></td>
|
|
626
626
|
<a name="gdk-pixmap-get-size"></a><h3>gdk_pixmap_get_size ()</h3>
|
627
627
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
628
628
|
gdk_pixmap_get_size (<em class="parameter"><code><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
|
629
|
-
<em class="parameter"><code><a href="
|
630
|
-
<em class="parameter"><code><a href="
|
629
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
630
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>);</pre>
|
631
631
|
<p>This function is purely to make it possible to query the size of pixmaps
|
632
632
|
even when compiling without deprecated symbols and you must use pixmaps.
|
633
633
|
It is identical to <a class="link" href="gdk2-Drawing-Primitives.html#gdk-drawable-get-size" title="gdk_drawable_get_size ()"><code class="function">gdk_drawable_get_size()</code></a>, but for pixmaps.</p>
|
@@ -648,13 +648,13 @@ It is identical to <a class="link" href="gdk2-Drawing-Primitives.html#gdk-drawab
|
|
648
648
|
<tr>
|
649
649
|
<td class="parameter_name"><p>width</p></td>
|
650
650
|
<td class="parameter_description"><p> location to store <em class="parameter"><code>pixmap</code></em>
|
651
|
-
's width, or <a href="
|
651
|
+
's width, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
652
652
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
653
653
|
</tr>
|
654
654
|
<tr>
|
655
655
|
<td class="parameter_name"><p>height</p></td>
|
656
656
|
<td class="parameter_description"><p> location to store <em class="parameter"><code>pixmap</code></em>
|
657
|
-
's height, or <a href="
|
657
|
+
's height, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
658
658
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
659
659
|
</tr>
|
660
660
|
</tbody>
|
@@ -684,7 +684,7 @@ these types.
|
|
684
684
|
</pre>
|
685
685
|
<div class="warning"><p><code class="literal">gdk_pixmap_ref</code> is deprecated and should not be used in newly-written code.</p></div>
|
686
686
|
<p>
|
687
|
-
Deprecated equivalent of <a href="
|
687
|
+
Deprecated equivalent of <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.
|
688
688
|
</p>
|
689
689
|
<div class="refsect3">
|
690
690
|
<a name="gdk-pixmap-ref.returns"></a><h4>Returns</h4>
|
@@ -699,7 +699,7 @@ Deprecated equivalent of <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/l
|
|
699
699
|
</pre>
|
700
700
|
<div class="warning"><p><code class="literal">gdk_pixmap_unref</code> is deprecated and should not be used in newly-written code.</p></div>
|
701
701
|
<p>
|
702
|
-
Deprecated equivalent of <a href="
|
702
|
+
Deprecated equivalent of <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
|
703
703
|
</p>
|
704
704
|
</div>
|
705
705
|
<hr>
|
@@ -721,7 +721,7 @@ refers generically to any of these types.
|
|
721
721
|
</pre>
|
722
722
|
<div class="warning"><p><code class="literal">gdk_bitmap_ref</code> is deprecated and should not be used in newly-written code.</p></div>
|
723
723
|
<p>
|
724
|
-
Deprecated equivalent of <a href="
|
724
|
+
Deprecated equivalent of <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.
|
725
725
|
</p>
|
726
726
|
<div class="refsect3">
|
727
727
|
<a name="gdk-bitmap-ref.returns"></a><h4>Returns</h4>
|
@@ -736,7 +736,7 @@ Deprecated equivalent of <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/l
|
|
736
736
|
</pre>
|
737
737
|
<div class="warning"><p><code class="literal">gdk_bitmap_unref</code> is deprecated and should not be used in newly-written code.</p></div>
|
738
738
|
<p>
|
739
|
-
Deprecated equivalent of <a href="
|
739
|
+
Deprecated equivalent of <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
|
740
740
|
</p>
|
741
741
|
</div>
|
742
742
|
</div>
|
@@ -73,7 +73,7 @@
|
|
73
73
|
</tr>
|
74
74
|
<tr>
|
75
75
|
<td class="function_type">
|
76
|
-
<a href="
|
76
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
77
77
|
</td>
|
78
78
|
<td class="function_name">
|
79
79
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-get-system-size" title="gdk_colormap_get_system_size ()">gdk_colormap_get_system_size</a> <span class="c_punctuation">()</span>
|
@@ -89,7 +89,7 @@
|
|
89
89
|
</tr>
|
90
90
|
<tr>
|
91
91
|
<td class="function_type">
|
92
|
-
<a href="
|
92
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
93
93
|
</td>
|
94
94
|
<td class="function_name">
|
95
95
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-alloc-colors" title="gdk_colormap_alloc_colors ()">gdk_colormap_alloc_colors</a> <span class="c_punctuation">()</span>
|
@@ -97,7 +97,7 @@
|
|
97
97
|
</tr>
|
98
98
|
<tr>
|
99
99
|
<td class="function_type">
|
100
|
-
<a href="
|
100
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
101
101
|
</td>
|
102
102
|
<td class="function_name">
|
103
103
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-alloc-color" title="gdk_colormap_alloc_color ()">gdk_colormap_alloc_color</a> <span class="c_punctuation">()</span>
|
@@ -161,7 +161,7 @@
|
|
161
161
|
</tr>
|
162
162
|
<tr>
|
163
163
|
<td class="function_type">
|
164
|
-
<a href="
|
164
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
165
165
|
</td>
|
166
166
|
<td class="function_name">
|
167
167
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colors-alloc" title="gdk_colors_alloc ()">gdk_colors_alloc</a> <span class="c_punctuation">()</span>
|
@@ -177,7 +177,7 @@
|
|
177
177
|
</tr>
|
178
178
|
<tr>
|
179
179
|
<td class="function_type">
|
180
|
-
<a href="
|
180
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
181
181
|
</td>
|
182
182
|
<td class="function_name">
|
183
183
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-white" title="gdk_color_white ()">gdk_color_white</a> <span class="c_punctuation">()</span>
|
@@ -185,7 +185,7 @@
|
|
185
185
|
</tr>
|
186
186
|
<tr>
|
187
187
|
<td class="function_type">
|
188
|
-
<a href="
|
188
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
189
189
|
</td>
|
190
190
|
<td class="function_name">
|
191
191
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-black" title="gdk_color_black ()">gdk_color_black</a> <span class="c_punctuation">()</span>
|
@@ -193,7 +193,7 @@
|
|
193
193
|
</tr>
|
194
194
|
<tr>
|
195
195
|
<td class="function_type">
|
196
|
-
<a href="
|
196
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
197
197
|
</td>
|
198
198
|
<td class="function_name">
|
199
199
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-parse" title="gdk_color_parse ()">gdk_color_parse</a> <span class="c_punctuation">()</span>
|
@@ -201,7 +201,7 @@
|
|
201
201
|
</tr>
|
202
202
|
<tr>
|
203
203
|
<td class="function_type">
|
204
|
-
<a href="
|
204
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
205
205
|
</td>
|
206
206
|
<td class="function_name">
|
207
207
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-alloc" title="gdk_color_alloc ()">gdk_color_alloc</a> <span class="c_punctuation">()</span>
|
@@ -209,7 +209,7 @@
|
|
209
209
|
</tr>
|
210
210
|
<tr>
|
211
211
|
<td class="function_type">
|
212
|
-
<a href="
|
212
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
213
213
|
</td>
|
214
214
|
<td class="function_name">
|
215
215
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-change" title="gdk_color_change ()">gdk_color_change</a> <span class="c_punctuation">()</span>
|
@@ -217,7 +217,7 @@
|
|
217
217
|
</tr>
|
218
218
|
<tr>
|
219
219
|
<td class="function_type">
|
220
|
-
<a href="
|
220
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
221
221
|
</td>
|
222
222
|
<td class="function_name">
|
223
223
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-equal" title="gdk_color_equal ()">gdk_color_equal</a> <span class="c_punctuation">()</span>
|
@@ -225,7 +225,7 @@
|
|
225
225
|
</tr>
|
226
226
|
<tr>
|
227
227
|
<td class="function_type">
|
228
|
-
<a href="
|
228
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
229
229
|
</td>
|
230
230
|
<td class="function_name">
|
231
231
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-hash" title="gdk_color_hash ()">gdk_color_hash</a> <span class="c_punctuation">()</span>
|
@@ -233,7 +233,7 @@
|
|
233
233
|
</tr>
|
234
234
|
<tr>
|
235
235
|
<td class="function_type">
|
236
|
-
<a href="
|
236
|
+
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
237
237
|
</td>
|
238
238
|
<td class="function_name">
|
239
239
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-to-string" title="gdk_color_to_string ()">gdk_color_to_string</a> <span class="c_punctuation">()</span>
|
@@ -305,7 +305,7 @@ be extended somewhat in the future -
|
|
305
305
|
<a name="gdk-colormap-new"></a><h3>gdk_colormap_new ()</h3>
|
306
306
|
<pre class="programlisting"><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> *
|
307
307
|
gdk_colormap_new (<em class="parameter"><code><a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
|
308
|
-
<em class="parameter"><code><a href="
|
308
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allocate</code></em>);</pre>
|
309
309
|
<p>Creates a new colormap for the given visual.</p>
|
310
310
|
<div class="refsect3">
|
311
311
|
<a name="gdk-colormap-new.parameters"></a><h4>Parameters</h4>
|
@@ -323,7 +323,7 @@ gdk_colormap_new (<em class="parameter"><code><a class="link" href="gdk2-Visuals
|
|
323
323
|
</tr>
|
324
324
|
<tr>
|
325
325
|
<td class="parameter_name"><p>allocate</p></td>
|
326
|
-
<td class="parameter_description"><p>if <a href="
|
326
|
+
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the newly created colormap will be
|
327
327
|
a private colormap, and all colors in it will be
|
328
328
|
allocated for the applications use.</p></td>
|
329
329
|
<td class="parameter_annotations"> </td>
|
@@ -343,9 +343,9 @@ allocated for the applications use.</p></td>
|
|
343
343
|
gdk_colormap_ref (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *cmap</code></em>);</pre>
|
344
344
|
<div class="warning">
|
345
345
|
<p><code class="literal">gdk_colormap_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code.</p>
|
346
|
-
<p>Use <a href="
|
346
|
+
<p>Use <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> instead.</p>
|
347
347
|
</div>
|
348
|
-
<p>Deprecated function; use <a href="
|
348
|
+
<p>Deprecated function; use <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> instead.</p>
|
349
349
|
<div class="refsect3">
|
350
350
|
<a name="gdk-colormap-ref.parameters"></a><h4>Parameters</h4>
|
351
351
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -373,9 +373,9 @@ gdk_colormap_ref (<em class="parameter"><code><a class="link" href="gdk2-Colorma
|
|
373
373
|
gdk_colormap_unref (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *cmap</code></em>);</pre>
|
374
374
|
<div class="warning">
|
375
375
|
<p><code class="literal">gdk_colormap_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code.</p>
|
376
|
-
<p>Use <a href="
|
376
|
+
<p>Use <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.</p>
|
377
377
|
</div>
|
378
|
-
<p>Deprecated function; use <a href="
|
378
|
+
<p>Deprecated function; use <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.</p>
|
379
379
|
<div class="refsect3">
|
380
380
|
<a name="gdk-colormap-unref.parameters"></a><h4>Parameters</h4>
|
381
381
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -407,7 +407,7 @@ gdk_colormap_get_system (<em class="parameter"><code><span class="type">void</sp
|
|
407
407
|
<hr>
|
408
408
|
<div class="refsect2">
|
409
409
|
<a name="gdk-colormap-get-system-size"></a><h3>gdk_colormap_get_system_size ()</h3>
|
410
|
-
<pre class="programlisting"><a href="
|
410
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
411
411
|
gdk_colormap_get_system_size (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
412
412
|
<div class="warning"><p><code class="literal">gdk_colormap_get_system_size</code> is deprecated and should not be used in newly-written code.</p></div>
|
413
413
|
<p>Returns the size of the system's default colormap.
|
@@ -423,7 +423,7 @@ explanation of the size of a colormap.)</p>
|
|
423
423
|
<a name="gdk-colormap-change"></a><h3>gdk_colormap_change ()</h3>
|
424
424
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
425
425
|
gdk_colormap_change (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
426
|
-
<em class="parameter"><code><a href="
|
426
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ncolors</code></em>);</pre>
|
427
427
|
<div class="warning"><p><code class="literal">gdk_colormap_change</code> is deprecated and should not be used in newly-written code.</p></div>
|
428
428
|
<p>Changes the value of the first <em class="parameter"><code>ncolors</code></em>
|
429
429
|
in a private colormap
|
@@ -456,13 +456,13 @@ should not be used. See <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk
|
|
456
456
|
<hr>
|
457
457
|
<div class="refsect2">
|
458
458
|
<a name="gdk-colormap-alloc-colors"></a><h3>gdk_colormap_alloc_colors ()</h3>
|
459
|
-
<pre class="programlisting"><a href="
|
459
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
460
460
|
gdk_colormap_alloc_colors (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
461
461
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colors</code></em>,
|
462
|
-
<em class="parameter"><code><a href="
|
463
|
-
<em class="parameter"><code><a href="
|
464
|
-
<em class="parameter"><code><a href="
|
465
|
-
<em class="parameter"><code><a href="
|
462
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_colors</code></em>,
|
463
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writeable</code></em>,
|
464
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> best_match</code></em>,
|
465
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *success</code></em>);</pre>
|
466
466
|
<p>Allocates colors from a colormap.</p>
|
467
467
|
<div class="refsect3">
|
468
468
|
<a name="gdk-colormap-alloc-colors.parameters"></a><h4>Parameters</h4>
|
@@ -492,14 +492,14 @@ values for allocated colors will be filled in.</p></td>
|
|
492
492
|
</tr>
|
493
493
|
<tr>
|
494
494
|
<td class="parameter_name"><p>writeable</p></td>
|
495
|
-
<td class="parameter_description"><p>If <a href="
|
495
|
+
<td class="parameter_description"><p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the colors are allocated writeable
|
496
496
|
(their values can later be changed using <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-change" title="gdk_color_change ()"><code class="function">gdk_color_change()</code></a>).
|
497
497
|
Writeable colors cannot be shared between applications.</p></td>
|
498
498
|
<td class="parameter_annotations"> </td>
|
499
499
|
</tr>
|
500
500
|
<tr>
|
501
501
|
<td class="parameter_name"><p>best_match</p></td>
|
502
|
-
<td class="parameter_description"><p>If <a href="
|
502
|
+
<td class="parameter_description"><p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, GDK will attempt to do matching against
|
503
503
|
existing colors if the colors cannot be allocated as requested.</p></td>
|
504
504
|
<td class="parameter_annotations"> </td>
|
505
505
|
</tr>
|
@@ -524,11 +524,11 @@ allocated.</p>
|
|
524
524
|
<hr>
|
525
525
|
<div class="refsect2">
|
526
526
|
<a name="gdk-colormap-alloc-color"></a><h3>gdk_colormap_alloc_color ()</h3>
|
527
|
-
<pre class="programlisting"><a href="
|
527
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
528
528
|
gdk_colormap_alloc_color (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
529
529
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>,
|
530
|
-
<em class="parameter"><code><a href="
|
531
|
-
<em class="parameter"><code><a href="
|
530
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writeable</code></em>,
|
531
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> best_match</code></em>);</pre>
|
532
532
|
<p>Allocates a single color from a colormap.</p>
|
533
533
|
<div class="refsect3">
|
534
534
|
<a name="gdk-colormap-alloc-color.parameters"></a><h4>Parameters</h4>
|
@@ -553,14 +553,14 @@ filled in if allocation succeeds.</p></td>
|
|
553
553
|
</tr>
|
554
554
|
<tr>
|
555
555
|
<td class="parameter_name"><p>writeable</p></td>
|
556
|
-
<td class="parameter_description"><p>If <a href="
|
556
|
+
<td class="parameter_description"><p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the color is allocated writeable
|
557
557
|
(their values can later be changed using <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-change" title="gdk_color_change ()"><code class="function">gdk_color_change()</code></a>).
|
558
558
|
Writeable colors cannot be shared between applications.</p></td>
|
559
559
|
<td class="parameter_annotations"> </td>
|
560
560
|
</tr>
|
561
561
|
<tr>
|
562
562
|
<td class="parameter_name"><p>best_match</p></td>
|
563
|
-
<td class="parameter_description"><p>If <a href="
|
563
|
+
<td class="parameter_description"><p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, GDK will attempt to do matching against
|
564
564
|
existing colors if the color cannot be allocated as requested.</p></td>
|
565
565
|
<td class="parameter_annotations"> </td>
|
566
566
|
</tr>
|
@@ -569,7 +569,7 @@ existing colors if the color cannot be allocated as requested.</p></td>
|
|
569
569
|
</div>
|
570
570
|
<div class="refsect3">
|
571
571
|
<a name="gdk-colormap-alloc-color.returns"></a><h4>Returns</h4>
|
572
|
-
<p> <a href="
|
572
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the allocation succeeded.</p>
|
573
573
|
</div>
|
574
574
|
</div>
|
575
575
|
<hr>
|
@@ -578,7 +578,7 @@ existing colors if the color cannot be allocated as requested.</p></td>
|
|
578
578
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
579
579
|
gdk_colormap_free_colors (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
580
580
|
<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colors</code></em>,
|
581
|
-
<em class="parameter"><code><a href="
|
581
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_colors</code></em>);</pre>
|
582
582
|
<p>Frees previously allocated colors.</p>
|
583
583
|
<div class="refsect3">
|
584
584
|
<a name="gdk-colormap-free-colors.parameters"></a><h4>Parameters</h4>
|
@@ -614,7 +614,7 @@ gdk_colormap_free_colors (<em class="parameter"><code><a class="link" href="gdk2
|
|
614
614
|
<a name="gdk-colormap-query-color"></a><h3>gdk_colormap_query_color ()</h3>
|
615
615
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
616
616
|
gdk_colormap_query_color (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
617
|
-
<em class="parameter"><code><a href="
|
617
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> pixel</code></em>,
|
618
618
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *result</code></em>);</pre>
|
619
619
|
<p>Locates the RGB color in <em class="parameter"><code>colormap</code></em>
|
620
620
|
corresponding to the given
|
@@ -715,7 +715,7 @@ gdk_colormap_get_screen (<em class="parameter"><code><a class="link" href="gdk2-
|
|
715
715
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
716
716
|
gdk_colors_store (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
717
717
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colors</code></em>,
|
718
|
-
<em class="parameter"><code><a href="
|
718
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ncolors</code></em>);</pre>
|
719
719
|
<div class="warning"><p><code class="literal">gdk_colors_store</code> is deprecated and should not be used in newly-written code.</p></div>
|
720
720
|
<p>Changes the value of the first <em class="parameter"><code>ncolors</code></em>
|
721
721
|
colors in
|
@@ -803,13 +803,13 @@ gdk_color_free (<em class="parameter"><code><a class="link" href="gdk2-Colormaps
|
|
803
803
|
<hr>
|
804
804
|
<div class="refsect2">
|
805
805
|
<a name="gdk-colors-alloc"></a><h3>gdk_colors_alloc ()</h3>
|
806
|
-
<pre class="programlisting"><a href="
|
806
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
807
807
|
gdk_colors_alloc (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
808
|
-
<em class="parameter"><code><a href="
|
809
|
-
<em class="parameter"><code><a href="
|
810
|
-
<em class="parameter"><code><a href="
|
811
|
-
<em class="parameter"><code><a href="
|
812
|
-
<em class="parameter"><code><a href="
|
808
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> contiguous</code></em>,
|
809
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *planes</code></em>,
|
810
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nplanes</code></em>,
|
811
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *pixels</code></em>,
|
812
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> npixels</code></em>);</pre>
|
813
813
|
<div class="warning"><p><code class="literal">gdk_colors_alloc</code> is deprecated and should not be used in newly-written code.</p></div>
|
814
814
|
<p>Allocates colors from a colormap. This function
|
815
815
|
is obsolete. See <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-alloc-colors" title="gdk_colormap_alloc_colors ()"><code class="function">gdk_colormap_alloc_colors()</code></a>.
|
@@ -831,7 +831,7 @@ the Xlib documentation for <code class="function"><code class="function">XAllocC
|
|
831
831
|
</tr>
|
832
832
|
<tr>
|
833
833
|
<td class="parameter_name"><p>contiguous</p></td>
|
834
|
-
<td class="parameter_description"><p>if <a href="
|
834
|
+
<td class="parameter_description"><p>if <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the colors should be allocated
|
835
835
|
in contiguous color cells.</p></td>
|
836
836
|
<td class="parameter_annotations"> </td>
|
837
837
|
</tr>
|
@@ -861,7 +861,7 @@ to indicate that the color allocation should not be planar.)</p></td>
|
|
861
861
|
</div>
|
862
862
|
<div class="refsect3">
|
863
863
|
<a name="gdk-colors-alloc.returns"></a><h4>Returns</h4>
|
864
|
-
<p> <a href="
|
864
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the allocation was successful</p>
|
865
865
|
</div>
|
866
866
|
</div>
|
867
867
|
<hr>
|
@@ -869,9 +869,9 @@ to indicate that the color allocation should not be planar.)</p></td>
|
|
869
869
|
<a name="gdk-colors-free"></a><h3>gdk_colors_free ()</h3>
|
870
870
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
871
871
|
gdk_colors_free (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
872
|
-
<em class="parameter"><code><a href="
|
873
|
-
<em class="parameter"><code><a href="
|
874
|
-
<em class="parameter"><code><a href="
|
872
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *pixels</code></em>,
|
873
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> npixels</code></em>,
|
874
|
+
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> planes</code></em>);</pre>
|
875
875
|
<div class="warning"><p><code class="literal">gdk_colors_free</code> is deprecated and should not be used in newly-written code.</p></div>
|
876
876
|
<p>Frees colors allocated with <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colors-alloc" title="gdk_colors_alloc ()"><code class="function">gdk_colors_alloc()</code></a>. This
|
877
877
|
function is obsolete. See <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-free-colors" title="gdk_colormap_free_colors ()"><code class="function">gdk_colormap_free_colors()</code></a>.</p>
|
@@ -912,7 +912,7 @@ function is obsolete. See <a class="link" href="gdk2-Colormaps-and-Colors.html#g
|
|
912
912
|
<hr>
|
913
913
|
<div class="refsect2">
|
914
914
|
<a name="gdk-color-white"></a><h3>gdk_color_white ()</h3>
|
915
|
-
<pre class="programlisting"><a href="
|
915
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
916
916
|
gdk_color_white (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
917
917
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
918
918
|
<div class="warning"><p><code class="literal">gdk_color_white</code> is deprecated and should not be used in newly-written code.</p></div>
|
@@ -942,13 +942,13 @@ value has already allocated been allocated.</p>
|
|
942
942
|
</div>
|
943
943
|
<div class="refsect3">
|
944
944
|
<a name="gdk-color-white.returns"></a><h4>Returns</h4>
|
945
|
-
<p> <a href="
|
945
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the allocation succeeded.</p>
|
946
946
|
</div>
|
947
947
|
</div>
|
948
948
|
<hr>
|
949
949
|
<div class="refsect2">
|
950
950
|
<a name="gdk-color-black"></a><h3>gdk_color_black ()</h3>
|
951
|
-
<pre class="programlisting"><a href="
|
951
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
952
952
|
gdk_color_black (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
953
953
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
954
954
|
<div class="warning"><p><code class="literal">gdk_color_black</code> is deprecated and should not be used in newly-written code.</p></div>
|
@@ -978,14 +978,14 @@ value has already been allocated.</p>
|
|
978
978
|
</div>
|
979
979
|
<div class="refsect3">
|
980
980
|
<a name="gdk-color-black.returns"></a><h4>Returns</h4>
|
981
|
-
<p> <a href="
|
981
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the allocation succeeded.</p>
|
982
982
|
</div>
|
983
983
|
</div>
|
984
984
|
<hr>
|
985
985
|
<div class="refsect2">
|
986
986
|
<a name="gdk-color-parse"></a><h3>gdk_color_parse ()</h3>
|
987
|
-
<pre class="programlisting"><a href="
|
988
|
-
gdk_color_parse (<em class="parameter"><code>const <a href="
|
987
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
988
|
+
gdk_color_parse (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *spec</code></em>,
|
989
989
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
990
990
|
<p>Parses a textual specification of a color and fill in the
|
991
991
|
<em class="structfield"><code>red</code></em>, <em class="structfield"><code>green</code></em>,
|
@@ -1023,13 +1023,13 @@ in the four forms is '#fff' '#ffffff' '#fffffffff' and
|
|
1023
1023
|
</div>
|
1024
1024
|
<div class="refsect3">
|
1025
1025
|
<a name="gdk-color-parse.returns"></a><h4>Returns</h4>
|
1026
|
-
<p> <a href="
|
1026
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the parsing succeeded.</p>
|
1027
1027
|
</div>
|
1028
1028
|
</div>
|
1029
1029
|
<hr>
|
1030
1030
|
<div class="refsect2">
|
1031
1031
|
<a name="gdk-color-alloc"></a><h3>gdk_color_alloc ()</h3>
|
1032
|
-
<pre class="programlisting"><a href="
|
1032
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1033
1033
|
gdk_color_alloc (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
1034
1034
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
1035
1035
|
<div class="warning">
|
@@ -1062,13 +1062,13 @@ gdk_color_alloc (<em class="parameter"><code><a class="link" href="gdk2-Colormap
|
|
1062
1062
|
</div>
|
1063
1063
|
<div class="refsect3">
|
1064
1064
|
<a name="gdk-color-alloc.returns"></a><h4>Returns</h4>
|
1065
|
-
<p> <a href="
|
1065
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the allocation succeeded.</p>
|
1066
1066
|
</div>
|
1067
1067
|
</div>
|
1068
1068
|
<hr>
|
1069
1069
|
<div class="refsect2">
|
1070
1070
|
<a name="gdk-color-change"></a><h3>gdk_color_change ()</h3>
|
1071
|
-
<pre class="programlisting"><a href="
|
1071
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
1072
1072
|
gdk_color_change (<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
1073
1073
|
<em class="parameter"><code><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
1074
1074
|
<div class="warning"><p><code class="literal">gdk_color_change</code> is deprecated and should not be used in newly-written code.</p></div>
|
@@ -1078,7 +1078,7 @@ been allocated. If <em class="parameter"><code>colormap</code></em>
|
|
1078
1078
|
colormap, then the color must have been allocated
|
1079
1079
|
using <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-alloc-colors" title="gdk_colormap_alloc_colors ()"><code class="function">gdk_colormap_alloc_colors()</code></a> with the
|
1080
1080
|
<em class="parameter"><code>writeable</code></em>
|
1081
|
-
set to <a href="
|
1081
|
+
set to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
1082
1082
|
<div class="refsect3">
|
1083
1083
|
<a name="gdk-color-change.parameters"></a><h4>Parameters</h4>
|
1084
1084
|
<div class="informaltable"><table width="100%" border="0">
|
@@ -1105,13 +1105,13 @@ and the new value in the remaining fields.</p></td>
|
|
1105
1105
|
</div>
|
1106
1106
|
<div class="refsect3">
|
1107
1107
|
<a name="gdk-color-change.returns"></a><h4>Returns</h4>
|
1108
|
-
<p> <a href="
|
1108
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the color was successfully changed.</p>
|
1109
1109
|
</div>
|
1110
1110
|
</div>
|
1111
1111
|
<hr>
|
1112
1112
|
<div class="refsect2">
|
1113
1113
|
<a name="gdk-color-equal"></a><h3>gdk_color_equal ()</h3>
|
1114
|
-
<pre class="programlisting"><a href="
|
1114
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1115
1115
|
gdk_color_equal (<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colora</code></em>,
|
1116
1116
|
<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colorb</code></em>);</pre>
|
1117
1117
|
<p>Compares two colors.</p>
|
@@ -1139,13 +1139,13 @@ gdk_color_equal (<em class="parameter"><code>const <a class="link" href="gdk2-Co
|
|
1139
1139
|
</div>
|
1140
1140
|
<div class="refsect3">
|
1141
1141
|
<a name="gdk-color-equal.returns"></a><h4>Returns</h4>
|
1142
|
-
<p> <a href="
|
1142
|
+
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two colors compare equal</p>
|
1143
1143
|
</div>
|
1144
1144
|
</div>
|
1145
1145
|
<hr>
|
1146
1146
|
<div class="refsect2">
|
1147
1147
|
<a name="gdk-color-hash"></a><h3>gdk_color_hash ()</h3>
|
1148
|
-
<pre class="programlisting"><a href="
|
1148
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
1149
1149
|
gdk_color_hash (<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colora</code></em>);</pre>
|
1150
1150
|
<p>A hash function suitable for using for a hash
|
1151
1151
|
table that stores <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a>'s.</p>
|
@@ -1173,7 +1173,7 @@ table that stores <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor"
|
|
1173
1173
|
<hr>
|
1174
1174
|
<div class="refsect2">
|
1175
1175
|
<a name="gdk-color-to-string"></a><h3>gdk_color_to_string ()</h3>
|
1176
|
-
<pre class="programlisting"><a href="
|
1176
|
+
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
1177
1177
|
gdk_color_to_string (<em class="parameter"><code>const <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
1178
1178
|
<p>Returns a textual specification of <em class="parameter"><code>color</code></em>
|
1179
1179
|
in the hexadecimal form
|
@@ -1227,25 +1227,25 @@ allocated or unallocated color.
|
|
1227
1227
|
</colgroup>
|
1228
1228
|
<tbody>
|
1229
1229
|
<tr>
|
1230
|
-
<td class="struct_member_name"><p><a href="
|
1230
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> <em class="structfield"><code><a name="GdkColor.pixel"></a>pixel</code></em>;</p></td>
|
1231
1231
|
<td class="struct_member_description"><p>For allocated colors, the value used to
|
1232
1232
|
draw this color on the screen.</p></td>
|
1233
1233
|
<td class="struct_member_annotations"> </td>
|
1234
1234
|
</tr>
|
1235
1235
|
<tr>
|
1236
|
-
<td class="struct_member_name"><p><a href="
|
1236
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GdkColor.red"></a>red</code></em>;</p></td>
|
1237
1237
|
<td class="struct_member_description"><p>The red component of the color. This is
|
1238
1238
|
a value between 0 and 65535, with 65535 indicating
|
1239
1239
|
full intensitiy.</p></td>
|
1240
1240
|
<td class="struct_member_annotations"> </td>
|
1241
1241
|
</tr>
|
1242
1242
|
<tr>
|
1243
|
-
<td class="struct_member_name"><p><a href="
|
1243
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GdkColor.green"></a>green</code></em>;</p></td>
|
1244
1244
|
<td class="struct_member_description"><p>The green component of the color.</p></td>
|
1245
1245
|
<td class="struct_member_annotations"> </td>
|
1246
1246
|
</tr>
|
1247
1247
|
<tr>
|
1248
|
-
<td class="struct_member_name"><p><a href="
|
1248
|
+
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GdkColor.blue"></a>blue</code></em>;</p></td>
|
1249
1249
|
<td class="struct_member_description"><p>The blue component of the color.</p></td>
|
1250
1250
|
<td class="struct_member_annotations"> </td>
|
1251
1251
|
</tr>
|