gtk2 2.2.0-x86-mingw32 → 2.2.1-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/ext/gtk2/rbgdkproperty.c +4 -4
- data/ext/gtk2/rbgtk.c +17 -0
- data/ext/gtk2/rbgtkdialog.c +26 -7
- data/ext/gtk2/rbgtkselectiondata.c +4 -5
- data/lib/2.0/gtk2.so +0 -0
- data/test/test_gdk_pixbuf.rb +34 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.la +1 -1
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.la +1 -1
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgailutil.la +1 -1
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.la +1 -1
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.la +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +46 -46
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +18 -18
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +93 -93
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +159 -159
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +53 -53
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +85 -85
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +17 -17
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +45 -45
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +200 -200
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Event-Structures.html +102 -102
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Events.html +61 -61
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +117 -117
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +110 -110
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +75 -75
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +52 -52
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +23 -23
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +99 -99
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pixbufs.html +20 -20
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Points-Rectangles-and-Regions.html +46 -46
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +125 -125
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +36 -36
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +16 -16
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +88 -88
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +56 -56
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +395 -395
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +72 -72
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +136 -136
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +133 -133
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +78 -78
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +54 -54
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +67 -67
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +294 -294
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +212 -212
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +97 -97
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererPixbuf.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererProgress.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpin.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpinner.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +106 -106
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +92 -92
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +60 -60
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +274 -274
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +103 -103
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +217 -217
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSV.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHandleBox.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +65 -65
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +99 -99
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +214 -214
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +73 -73
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +158 -158
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +107 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +66 -66
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +225 -225
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +117 -117
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +75 -75
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +68 -68
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +210 -210
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +96 -96
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +114 -114
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +147 -147
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorToolItem.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +213 -213
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +164 -164
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +467 -467
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +93 -93
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +233 -233
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +309 -309
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +134 -134
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +237 -237
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +127 -127
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +156 -156
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +74 -74
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +478 -478
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +175 -175
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +64 -64
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVPaned.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVRuler.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScale.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +769 -769
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +310 -310
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindowGroup.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidget.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidget.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/chap-drawing-model.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAboutDialog.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkComboBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkIconView.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkRecentChooser.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-checklist.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-entry-icons.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-tooltips.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-question-index.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +115 -115
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +80 -80
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +25 -25
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +173 -173
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +2 -2
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +168 -168
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +100 -100
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +149 -149
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +95 -95
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +52 -52
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +69 -69
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-selection-modes.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-advanced.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-chooser.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-GtkCombo.html +4 -4
- metadata +16 -17
- data/lib/1.9/gtk2.so +0 -0
- data/lib/2.1/gtk2.so +0 -0
@@ -47,12 +47,12 @@ typedef <a class="link" href="gdk2-Application-launching.html#GdkApp
|
|
47
47
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Application-launching.html#gdk-app-launch-context-set-screen" title="gdk_app_launch_context_set_screen ()">gdk_app_launch_context_set_screen</a> (<em class="parameter"><code><a class="link" href="gdk2-Application-launching.html#GdkAppLaunchContext" title="GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
48
48
|
<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);
|
49
49
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Application-launching.html#gdk-app-launch-context-set-desktop" title="gdk_app_launch_context_set_desktop ()">gdk_app_launch_context_set_desktop</a> (<em class="parameter"><code><a class="link" href="gdk2-Application-launching.html#GdkAppLaunchContext" title="GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
50
|
-
<em class="parameter"><code><a href="
|
50
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> desktop</code></em>);
|
51
51
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Application-launching.html#gdk-app-launch-context-set-timestamp" title="gdk_app_launch_context_set_timestamp ()">gdk_app_launch_context_set_timestamp</a>
|
52
52
|
(<em class="parameter"><code><a class="link" href="gdk2-Application-launching.html#GdkAppLaunchContext" title="GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
53
|
-
<em class="parameter"><code><a href="
|
53
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);
|
54
54
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Application-launching.html#gdk-app-launch-context-set-icon" title="gdk_app_launch_context_set_icon ()">gdk_app_launch_context_set_icon</a> (<em class="parameter"><code><a class="link" href="gdk2-Application-launching.html#GdkAppLaunchContext" title="GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
55
|
-
<em class="parameter"><code><a href="
|
55
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GIcon.html"><span class="type">GIcon</span></a> *icon</code></em>);
|
56
56
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Application-launching.html#gdk-app-launch-context-set-icon-name" title="gdk_app_launch_context_set_icon_name ()">gdk_app_launch_context_set_icon_name</a>
|
57
57
|
(<em class="parameter"><code><a class="link" href="gdk2-Application-launching.html#GdkAppLaunchContext" title="GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
58
58
|
<em class="parameter"><code>const <span class="type">char</span> *icon_name</code></em>);
|
@@ -61,7 +61,7 @@ typedef <a class="link" href="gdk2-Application-launching.html#GdkApp
|
|
61
61
|
<div class="refsect1">
|
62
62
|
<a name="gdk2-Application-launching.description"></a><h2>Description</h2>
|
63
63
|
<p>
|
64
|
-
GdkAppLaunchContext is an implementation of <a href="
|
64
|
+
GdkAppLaunchContext is an implementation of <a href="http://library.gnome.org/devel/gio/unstable/GAppInfo.html#GAppLaunchContext"><span class="type">GAppLaunchContext</span></a> that
|
65
65
|
handles launching an application in a graphical context. It provides
|
66
66
|
startup notification and allows to launch applications on a specific
|
67
67
|
screen or workspace.
|
@@ -83,9 +83,9 @@ screen or workspace.
|
|
83
83
|
<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>
|
84
84
|
<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>
|
85
85
|
<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>
|
86
|
-
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="
|
87
|
-
<span class="normal"> </span><span class="function"><a href="
|
88
|
-
<span class="function"><a href="
|
86
|
+
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="http://library.gnome.org/devel/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>
|
87
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/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>
|
88
|
+
<span class="function"><a href="http://library.gnome.org/devel/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>
|
89
89
|
</tr>
|
90
90
|
</tbody>
|
91
91
|
</table>
|
@@ -191,7 +191,7 @@ display are used.
|
|
191
191
|
<div class="refsect2">
|
192
192
|
<a name="gdk-app-launch-context-set-desktop"></a><h3>gdk_app_launch_context_set_desktop ()</h3>
|
193
193
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
194
|
-
<em class="parameter"><code><a href="
|
194
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> desktop</code></em>);</pre>
|
195
195
|
<p>
|
196
196
|
Sets the workspace on which applications will be launched when
|
197
197
|
using this context when running under a window manager that
|
@@ -228,7 +228,7 @@ be the current workspace.
|
|
228
228
|
<a name="gdk-app-launch-context-set-timestamp"></a><h3>gdk_app_launch_context_set_timestamp ()</h3>
|
229
229
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_app_launch_context_set_timestamp
|
230
230
|
(<em class="parameter"><code><a class="link" href="gdk2-Application-launching.html#GdkAppLaunchContext" title="GdkAppLaunchContext"><span class="type">GdkAppLaunchContext</span></a> *context</code></em>,
|
231
|
-
<em class="parameter"><code><a href="
|
231
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
|
232
232
|
<p>
|
233
233
|
Sets the timestamp of <em class="parameter"><code>context</code></em>. The timestamp should ideally
|
234
234
|
be taken from the event that triggered the launch.
|
@@ -262,7 +262,7 @@ prevention'.
|
|
262
262
|
<div class="refsect2">
|
263
263
|
<a name="gdk-app-launch-context-set-icon"></a><h3>gdk_app_launch_context_set_icon ()</h3>
|
264
264
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
265
|
-
<em class="parameter"><code><a href="
|
265
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GIcon.html"><span class="type">GIcon</span></a> *icon</code></em>);</pre>
|
266
266
|
<p>
|
267
267
|
Sets the icon for applications that are launched with this
|
268
268
|
context.
|
@@ -287,7 +287,7 @@ See also <a class="link" href="gdk2-Application-launching.html#gdk-app-launch-co
|
|
287
287
|
</tr>
|
288
288
|
<tr>
|
289
289
|
<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td>
|
290
|
-
<td>a <a href="
|
290
|
+
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GIcon.html"><span class="type">GIcon</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
291
291
|
</td>
|
292
292
|
</tr>
|
293
293
|
</tbody>
|
@@ -308,7 +308,7 @@ in desktop files. See also <a class="link" href="gdk2-Application-launching.html
|
|
308
308
|
<p>
|
309
309
|
If both <em class="parameter"><code>icon</code></em> and <em class="parameter"><code>icon_name</code></em> are set, the <em class="parameter"><code>icon_name</code></em> takes priority.
|
310
310
|
If neither <em class="parameter"><code>icon</code></em> or <em class="parameter"><code>icon_name</code></em> is set, the icon is taken from either
|
311
|
-
the file that is passed to launched application or from the <a href="
|
311
|
+
the file that is passed to launched application or from the <a href="http://library.gnome.org/devel/gio/unstable/GAppInfo.html"><span class="type">GAppInfo</span></a>
|
312
312
|
for the launched application itself.
|
313
313
|
</p>
|
314
314
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -324,7 +324,7 @@ for the launched application itself.
|
|
324
324
|
</tr>
|
325
325
|
<tr>
|
326
326
|
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
|
327
|
-
<td>an icon name, or <a href="
|
327
|
+
<td>an icon name, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
328
328
|
</td>
|
329
329
|
</tr>
|
330
330
|
</tbody>
|
@@ -44,42 +44,42 @@
|
|
44
44
|
|
45
45
|
typedef <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap">GdkPixmap</a>;
|
46
46
|
<a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#gdk-pixmap-new" title="gdk_pixmap_new ()">gdk_pixmap_new</a> (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
47
|
-
<em class="parameter"><code><a href="
|
48
|
-
<em class="parameter"><code><a href="
|
49
|
-
<em class="parameter"><code><a href="
|
47
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
48
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
49
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>);
|
50
50
|
<a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="returnvalue">GdkBitmap</span></a> * <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#gdk-bitmap-create-from-data" title="gdk_bitmap_create_from_data ()">gdk_bitmap_create_from_data</a> (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
51
|
-
<em class="parameter"><code>const <a href="
|
52
|
-
<em class="parameter"><code><a href="
|
53
|
-
<em class="parameter"><code><a href="
|
51
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
|
52
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
53
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);
|
54
54
|
<a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#gdk-pixmap-create-from-data" title="gdk_pixmap_create_from_data ()">gdk_pixmap_create_from_data</a> (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
55
|
-
<em class="parameter"><code>const <a href="
|
56
|
-
<em class="parameter"><code><a href="
|
57
|
-
<em class="parameter"><code><a href="
|
58
|
-
<em class="parameter"><code><a href="
|
55
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
|
56
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
57
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
58
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>,
|
59
59
|
<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>,
|
60
60
|
<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>);
|
61
61
|
<a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#gdk-pixmap-create-from-xpm" title="gdk_pixmap_create_from_xpm ()">gdk_pixmap_create_from_xpm</a> (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
62
62
|
<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>,
|
63
63
|
<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>,
|
64
|
-
<em class="parameter"><code>const <a href="
|
64
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
|
65
65
|
<a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#gdk-pixmap-colormap-create-from-xpm" title="gdk_pixmap_colormap_create_from_xpm ()">gdk_pixmap_colormap_create_from_xpm</a> (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
66
66
|
<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>,
|
67
67
|
<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>,
|
68
68
|
<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>,
|
69
|
-
<em class="parameter"><code>const <a href="
|
69
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
|
70
70
|
<a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#gdk-pixmap-create-from-xpm-d" title="gdk_pixmap_create_from_xpm_d ()">gdk_pixmap_create_from_xpm_d</a> (<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
71
71
|
<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>,
|
72
72
|
<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>,
|
73
|
-
<em class="parameter"><code><a href="
|
73
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **data</code></em>);
|
74
74
|
<a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#gdk-pixmap-colormap-create-from-xpm-d" title="gdk_pixmap_colormap_create_from_xpm_d ()">gdk_pixmap_colormap_create_from_xpm_d</a>
|
75
75
|
(<em class="parameter"><code><a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
|
76
76
|
<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>,
|
77
77
|
<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>,
|
78
78
|
<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>,
|
79
|
-
<em class="parameter"><code><a href="
|
79
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **data</code></em>);
|
80
80
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#gdk-pixmap-get-size" title="gdk_pixmap_get_size ()">gdk_pixmap_get_size</a> (<em class="parameter"><code><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
|
81
|
-
<em class="parameter"><code><a href="
|
82
|
-
<em class="parameter"><code><a href="
|
81
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
82
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>);
|
83
83
|
#define <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#gdk-pixmap-ref" title="gdk_pixmap_ref">gdk_pixmap_ref</a>
|
84
84
|
#define <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#gdk-pixmap-unref" title="gdk_pixmap_unref">gdk_pixmap_unref</a>
|
85
85
|
typedef <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap">GdkBitmap</a>;
|
@@ -90,7 +90,7 @@ typedef <a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitma
|
|
90
90
|
<div class="refsect1">
|
91
91
|
<a name="gdk2-Bitmaps-and-Pixmaps.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
92
92
|
<pre class="synopsis">
|
93
|
-
<a href="
|
93
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
94
94
|
+----<a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable">GdkDrawable</a>
|
95
95
|
+----GdkPixmap
|
96
96
|
</pre>
|
@@ -129,9 +129,9 @@ these types.
|
|
129
129
|
<div class="refsect2">
|
130
130
|
<a name="gdk-pixmap-new"></a><h3>gdk_pixmap_new ()</h3>
|
131
131
|
<pre class="programlisting"><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * 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>,
|
132
|
-
<em class="parameter"><code><a href="
|
133
|
-
<em class="parameter"><code><a href="
|
134
|
-
<em class="parameter"><code><a href="
|
132
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
133
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
134
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>);</pre>
|
135
135
|
<p>
|
136
136
|
Create a new pixmap with a given size and depth.
|
137
137
|
</p>
|
@@ -149,7 +149,7 @@ as the replacement function for this function in GTK 3.
|
|
149
149
|
<tr>
|
150
150
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
151
151
|
<td>A <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, used to determine default values
|
152
|
-
for the new pixmap. Can be <a href="
|
152
|
+
for the new pixmap. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>depth</code></em> is specified,</td>
|
153
153
|
</tr>
|
154
154
|
<tr>
|
155
155
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
@@ -162,7 +162,7 @@ for the new pixmap. Can be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/
|
|
162
162
|
<tr>
|
163
163
|
<td><p><span class="term"><em class="parameter"><code>depth</code></em> :</span></p></td>
|
164
164
|
<td>The depth (number of bits per pixel) of the new pixmap.
|
165
|
-
If -1, and <em class="parameter"><code>drawable</code></em> is not <a href="
|
165
|
+
If -1, and <em class="parameter"><code>drawable</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the depth of the new
|
166
166
|
pixmap will be equal to that of <em class="parameter"><code>drawable</code></em>.</td>
|
167
167
|
</tr>
|
168
168
|
<tr>
|
@@ -177,9 +177,9 @@ pixmap will be equal to that of <em class="parameter"><code>drawable</code></em>
|
|
177
177
|
<div class="refsect2">
|
178
178
|
<a name="gdk-bitmap-create-from-data"></a><h3>gdk_bitmap_create_from_data ()</h3>
|
179
179
|
<pre class="programlisting"><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkBitmap" title="GdkBitmap"><span class="returnvalue">GdkBitmap</span></a> * 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>,
|
180
|
-
<em class="parameter"><code>const <a href="
|
181
|
-
<em class="parameter"><code><a href="
|
182
|
-
<em class="parameter"><code><a href="
|
180
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
|
181
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
182
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
183
183
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
184
184
|
<h3 class="title">Warning</h3>
|
185
185
|
<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. You can create a Cairo image surface using
|
@@ -203,7 +203,7 @@ Creates a new bitmap from data in XBM format.
|
|
203
203
|
<tr>
|
204
204
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
205
205
|
<td>a <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, used to determine default values
|
206
|
-
for the new pixmap. Can be <a href="
|
206
|
+
for the new pixmap. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, in which case the root
|
207
207
|
window is used.</td>
|
208
208
|
</tr>
|
209
209
|
<tr>
|
@@ -230,10 +230,10 @@ window is used.</td>
|
|
230
230
|
<div class="refsect2">
|
231
231
|
<a name="gdk-pixmap-create-from-data"></a><h3>gdk_pixmap_create_from_data ()</h3>
|
232
232
|
<pre class="programlisting"><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * 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>,
|
233
|
-
<em class="parameter"><code>const <a href="
|
234
|
-
<em class="parameter"><code><a href="
|
235
|
-
<em class="parameter"><code><a href="
|
236
|
-
<em class="parameter"><code><a href="
|
233
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
|
234
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
|
235
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
|
236
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>,
|
237
237
|
<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>,
|
238
238
|
<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>
|
239
239
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
@@ -256,7 +256,7 @@ Create a two-color pixmap from data in XBM data.
|
|
256
256
|
<tr>
|
257
257
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
258
258
|
<td>a <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, used to determine default values
|
259
|
-
for the new pixmap. Can be <a href="
|
259
|
+
for the new pixmap. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, if the depth is given.</td>
|
260
260
|
</tr>
|
261
261
|
<tr>
|
262
262
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
@@ -296,7 +296,7 @@ for the new pixmap. Can be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/
|
|
296
296
|
<pre class="programlisting"><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * 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>,
|
297
297
|
<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>,
|
298
298
|
<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>,
|
299
|
-
<em class="parameter"><code>const <a href="
|
299
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
300
300
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
301
301
|
<h3 class="title">Warning</h3>
|
302
302
|
<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. Use a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> instead. You can use
|
@@ -321,13 +321,13 @@ for the new pixmap.</td>
|
|
321
321
|
<tr>
|
322
322
|
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
323
323
|
<td>(out) a pointer to a place to store a bitmap representing
|
324
|
-
the transparency mask of the XPM file. Can be <a href="
|
324
|
+
the transparency mask of the XPM file. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
325
325
|
in which case transparency will be ignored.</td>
|
326
326
|
</tr>
|
327
327
|
<tr>
|
328
328
|
<td><p><span class="term"><em class="parameter"><code>transparent_color</code></em> :</span></p></td>
|
329
329
|
<td>the color to be used for the pixels
|
330
|
-
that are transparent in the input file. Can be <a href="
|
330
|
+
that are transparent in the input file. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
331
331
|
in which case a default color will be used.</td>
|
332
332
|
</tr>
|
333
333
|
<tr>
|
@@ -349,7 +349,7 @@ in which case a default color will be used.</td>
|
|
349
349
|
<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>,
|
350
350
|
<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>,
|
351
351
|
<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>,
|
352
|
-
<em class="parameter"><code>const <a href="
|
352
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
353
353
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
354
354
|
<h3 class="title">Warning</h3>
|
355
355
|
<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. Use a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> instead. You can use
|
@@ -369,7 +369,7 @@ Create a pixmap from a XPM file using a particular colormap.
|
|
369
369
|
<tr>
|
370
370
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
371
371
|
<td>a <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, used to determine default values
|
372
|
-
for the new pixmap. Can be <a href="
|
372
|
+
for the new pixmap. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>colormap</code></em> is given.</td>
|
373
373
|
</tr>
|
374
374
|
<tr>
|
375
375
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
@@ -379,13 +379,13 @@ If omitted, the colormap for <em class="parameter"><code>window</code></em> will
|
|
379
379
|
<tr>
|
380
380
|
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
381
381
|
<td>a pointer to a place to store a bitmap representing
|
382
|
-
the transparency mask of the XPM file. Can be <a href="
|
382
|
+
the transparency mask of the XPM file. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
383
383
|
in which case transparency will be ignored.</td>
|
384
384
|
</tr>
|
385
385
|
<tr>
|
386
386
|
<td><p><span class="term"><em class="parameter"><code>transparent_color</code></em> :</span></p></td>
|
387
387
|
<td>the color to be used for the pixels
|
388
|
-
that are transparent in the input file. Can be <a href="
|
388
|
+
that are transparent in the input file. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
389
389
|
in which case a default color will be used.</td>
|
390
390
|
</tr>
|
391
391
|
<tr>
|
@@ -406,7 +406,7 @@ in which case a default color will be used.</td>
|
|
406
406
|
<pre class="programlisting"><a class="link" href="gdk2-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="returnvalue">GdkPixmap</span></a> * 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>,
|
407
407
|
<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>,
|
408
408
|
<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>,
|
409
|
-
<em class="parameter"><code><a href="
|
409
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **data</code></em>);</pre>
|
410
410
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
411
411
|
<h3 class="title">Warning</h3>
|
412
412
|
<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. Use a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> instead. You can use
|
@@ -431,14 +431,14 @@ for the new pixmap.</td>
|
|
431
431
|
<tr>
|
432
432
|
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
433
433
|
<td>Pointer to a place to store a bitmap representing
|
434
|
-
the transparency mask of the XPM file. Can be <a href="
|
434
|
+
the transparency mask of the XPM file. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
435
435
|
in which case transparency will be ignored. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
436
436
|
</td>
|
437
437
|
</tr>
|
438
438
|
<tr>
|
439
439
|
<td><p><span class="term"><em class="parameter"><code>transparent_color</code></em> :</span></p></td>
|
440
440
|
<td>This color will be used for the pixels
|
441
|
-
that are transparent in the input file. Can be <a href="
|
441
|
+
that are transparent in the input file. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
442
442
|
in which case a default color will be used.</td>
|
443
443
|
</tr>
|
444
444
|
<tr>
|
@@ -461,7 +461,7 @@ in which case a default color will be used.</td>
|
|
461
461
|
<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>,
|
462
462
|
<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>,
|
463
463
|
<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>,
|
464
|
-
<em class="parameter"><code><a href="
|
464
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **data</code></em>);</pre>
|
465
465
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
466
466
|
<h3 class="title">Warning</h3>
|
467
467
|
<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. Use a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> instead. You can use
|
@@ -482,7 +482,7 @@ colormap.
|
|
482
482
|
<tr>
|
483
483
|
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
|
484
484
|
<td>a <a class="link" href="gdk2-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a>, used to determine default values
|
485
|
-
for the new pixmap. Can be <a href="
|
485
|
+
for the new pixmap. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>colormap</code></em> is given.</td>
|
486
486
|
</tr>
|
487
487
|
<tr>
|
488
488
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
@@ -492,13 +492,13 @@ If omitted, the colormap for <em class="parameter"><code>window</code></em> will
|
|
492
492
|
<tr>
|
493
493
|
<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td>
|
494
494
|
<td>a pointer to a place to store a bitmap representing
|
495
|
-
the transparency mask of the XPM file. Can be <a href="
|
495
|
+
the transparency mask of the XPM file. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
496
496
|
in which case transparency will be ignored.</td>
|
497
497
|
</tr>
|
498
498
|
<tr>
|
499
499
|
<td><p><span class="term"><em class="parameter"><code>transparent_color</code></em> :</span></p></td>
|
500
500
|
<td>the color to be used for the pixels
|
501
|
-
that are transparent in the input file. Can be <a href="
|
501
|
+
that are transparent in the input file. Can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
502
502
|
in which case a default color will be used.</td>
|
503
503
|
</tr>
|
504
504
|
<tr>
|
@@ -517,8 +517,8 @@ in which case a default color will be used.</td>
|
|
517
517
|
<div class="refsect2">
|
518
518
|
<a name="gdk-pixmap-get-size"></a><h3>gdk_pixmap_get_size ()</h3>
|
519
519
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
520
|
-
<em class="parameter"><code><a href="
|
521
|
-
<em class="parameter"><code><a href="
|
520
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *width</code></em>,
|
521
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>);</pre>
|
522
522
|
<p>
|
523
523
|
This function is purely to make it possible to query the size of pixmaps
|
524
524
|
even when compiling without deprecated symbols and you must use pixmaps.
|
@@ -537,12 +537,12 @@ It is identical to <a class="link" href="gdk2-Drawing-Primitives.html#gdk-drawab
|
|
537
537
|
</tr>
|
538
538
|
<tr>
|
539
539
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
540
|
-
<td>location to store <em class="parameter"><code>pixmap</code></em>'s width, or <a href="
|
540
|
+
<td>location to store <em class="parameter"><code>pixmap</code></em>'s width, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="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>
|
541
541
|
</td>
|
542
542
|
</tr>
|
543
543
|
<tr>
|
544
544
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
545
|
-
<td>location to store <em class="parameter"><code>pixmap</code></em>'s height, or <a href="
|
545
|
+
<td>location to store <em class="parameter"><code>pixmap</code></em>'s height, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="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>
|
546
546
|
</td>
|
547
547
|
</tr>
|
548
548
|
</tbody>
|
@@ -559,7 +559,7 @@ It is identical to <a class="link" href="gdk2-Drawing-Primitives.html#gdk-drawab
|
|
559
559
|
<p><code class="literal">gdk_pixmap_ref</code> is deprecated and should not be used in newly-written code.</p>
|
560
560
|
</div>
|
561
561
|
<p>
|
562
|
-
Deprecated equivalent of <a href="
|
562
|
+
Deprecated equivalent of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.
|
563
563
|
</p>
|
564
564
|
<div class="variablelist"><table border="0" class="variablelist">
|
565
565
|
<colgroup>
|
@@ -582,7 +582,7 @@ Deprecated equivalent of <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/ve
|
|
582
582
|
<p><code class="literal">gdk_pixmap_unref</code> is deprecated and should not be used in newly-written code.</p>
|
583
583
|
</div>
|
584
584
|
<p>
|
585
|
-
Deprecated equivalent of <a href="
|
585
|
+
Deprecated equivalent of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
|
586
586
|
</p>
|
587
587
|
</div>
|
588
588
|
<hr>
|
@@ -607,7 +607,7 @@ refers generically to any of these types.
|
|
607
607
|
<p><code class="literal">gdk_bitmap_ref</code> is deprecated and should not be used in newly-written code.</p>
|
608
608
|
</div>
|
609
609
|
<p>
|
610
|
-
Deprecated equivalent of <a href="
|
610
|
+
Deprecated equivalent of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>.
|
611
611
|
</p>
|
612
612
|
<div class="variablelist"><table border="0" class="variablelist">
|
613
613
|
<colgroup>
|
@@ -630,7 +630,7 @@ Deprecated equivalent of <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/ve
|
|
630
630
|
<p><code class="literal">gdk_bitmap_unref</code> is deprecated and should not be used in newly-written code.</p>
|
631
631
|
</div>
|
632
632
|
<p>
|
633
|
-
Deprecated equivalent of <a href="
|
633
|
+
Deprecated equivalent of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
|
634
634
|
</p>
|
635
635
|
</div>
|
636
636
|
</div>
|
@@ -43,60 +43,60 @@
|
|
43
43
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor">GdkColor</a>;
|
44
44
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap">GdkColormap</a>;
|
45
45
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-new" title="gdk_colormap_new ()">gdk_colormap_new</a> (<em class="parameter"><code><a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
|
46
|
-
<em class="parameter"><code><a href="
|
46
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allocate</code></em>);
|
47
47
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-ref" title="gdk_colormap_ref ()">gdk_colormap_ref</a> (<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>);
|
48
48
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-unref" title="gdk_colormap_unref ()">gdk_colormap_unref</a> (<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>);
|
49
49
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-get-system" title="gdk_colormap_get_system ()">gdk_colormap_get_system</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
50
|
-
<a href="
|
50
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <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> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
51
51
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-change" title="gdk_colormap_change ()">gdk_colormap_change</a> (<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>,
|
52
|
-
<em class="parameter"><code><a href="
|
53
|
-
<a href="
|
52
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ncolors</code></em>);
|
53
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-alloc-colors" title="gdk_colormap_alloc_colors ()">gdk_colormap_alloc_colors</a> (<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>,
|
54
54
|
<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>,
|
55
|
-
<em class="parameter"><code><a href="
|
56
|
-
<em class="parameter"><code><a href="
|
57
|
-
<em class="parameter"><code><a href="
|
58
|
-
<em class="parameter"><code><a href="
|
59
|
-
<a href="
|
55
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_colors</code></em>,
|
56
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writeable</code></em>,
|
57
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> best_match</code></em>,
|
58
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *success</code></em>);
|
59
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-alloc-color" title="gdk_colormap_alloc_color ()">gdk_colormap_alloc_color</a> (<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>,
|
60
60
|
<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>,
|
61
|
-
<em class="parameter"><code><a href="
|
62
|
-
<em class="parameter"><code><a href="
|
61
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writeable</code></em>,
|
62
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> best_match</code></em>);
|
63
63
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-free-colors" title="gdk_colormap_free_colors ()">gdk_colormap_free_colors</a> (<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>,
|
64
64
|
<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>,
|
65
|
-
<em class="parameter"><code><a href="
|
65
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_colors</code></em>);
|
66
66
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-query-color" title="gdk_colormap_query_color ()">gdk_colormap_query_color</a> (<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>,
|
67
|
-
<em class="parameter"><code><a href="
|
67
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> pixel</code></em>,
|
68
68
|
<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>);
|
69
69
|
<a class="link" href="gdk2-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a> * <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-get-visual" title="gdk_colormap_get_visual ()">gdk_colormap_get_visual</a> (<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>);
|
70
70
|
<a class="link" href="GdkScreen.html" title="GdkScreen"><span class="returnvalue">GdkScreen</span></a> * <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colormap-get-screen" title="gdk_colormap_get_screen ()">gdk_colormap_get_screen</a> (<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>);
|
71
71
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colors-store" title="gdk_colors_store ()">gdk_colors_store</a> (<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>,
|
72
72
|
<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>,
|
73
|
-
<em class="parameter"><code><a href="
|
73
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ncolors</code></em>);
|
74
74
|
<a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="returnvalue">GdkColor</span></a> * <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-copy" title="gdk_color_copy ()">gdk_color_copy</a> (<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>);
|
75
75
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-free" title="gdk_color_free ()">gdk_color_free</a> (<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>);
|
76
|
-
<a href="
|
77
|
-
<em class="parameter"><code><a href="
|
78
|
-
<em class="parameter"><code><a href="
|
79
|
-
<em class="parameter"><code><a href="
|
80
|
-
<em class="parameter"><code><a href="
|
81
|
-
<em class="parameter"><code><a href="
|
76
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colors-alloc" title="gdk_colors_alloc ()">gdk_colors_alloc</a> (<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>,
|
77
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> contiguous</code></em>,
|
78
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *planes</code></em>,
|
79
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nplanes</code></em>,
|
80
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *pixels</code></em>,
|
81
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> npixels</code></em>);
|
82
82
|
<span class="returnvalue">void</span> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-colors-free" title="gdk_colors_free ()">gdk_colors_free</a> (<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>,
|
83
|
-
<em class="parameter"><code><a href="
|
84
|
-
<em class="parameter"><code><a href="
|
85
|
-
<em class="parameter"><code><a href="
|
86
|
-
<a href="
|
83
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *pixels</code></em>,
|
84
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> npixels</code></em>,
|
85
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> planes</code></em>);
|
86
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-white" title="gdk_color_white ()">gdk_color_white</a> (<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>,
|
87
87
|
<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>);
|
88
|
-
<a href="
|
88
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-black" title="gdk_color_black ()">gdk_color_black</a> (<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>,
|
89
89
|
<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>);
|
90
|
-
<a href="
|
90
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-parse" title="gdk_color_parse ()">gdk_color_parse</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *spec</code></em>,
|
91
91
|
<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>);
|
92
|
-
<a href="
|
92
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-alloc" title="gdk_color_alloc ()">gdk_color_alloc</a> (<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>,
|
93
93
|
<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>);
|
94
|
-
<a href="
|
94
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-change" title="gdk_color_change ()">gdk_color_change</a> (<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>,
|
95
95
|
<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>);
|
96
|
-
<a href="
|
96
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-equal" title="gdk_color_equal ()">gdk_color_equal</a> (<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>,
|
97
97
|
<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>);
|
98
|
-
<a href="
|
99
|
-
<a href="
|
98
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-hash" title="gdk_color_hash ()">gdk_color_hash</a> (<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>);
|
99
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk-color-to-string" title="gdk_color_to_string ()">gdk_color_to_string</a> (<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>);
|
100
100
|
</pre>
|
101
101
|
</div>
|
102
102
|
<div class="refsect1">
|
@@ -154,22 +154,22 @@ allocated or unallocated color.
|
|
154
154
|
</colgroup>
|
155
155
|
<tbody>
|
156
156
|
<tr>
|
157
|
-
<td><p><span class="term"><a href="
|
157
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/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>;</span></p></td>
|
158
158
|
<td>For allocated colors, the value used to
|
159
159
|
draw this color on the screen.</td>
|
160
160
|
</tr>
|
161
161
|
<tr>
|
162
|
-
<td><p><span class="term"><a href="
|
162
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/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>;</span></p></td>
|
163
163
|
<td>The red component of the color. This is
|
164
164
|
a value between 0 and 65535, with 65535 indicating
|
165
165
|
full intensitiy.</td>
|
166
166
|
</tr>
|
167
167
|
<tr>
|
168
|
-
<td><p><span class="term"><a href="
|
168
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/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>;</span></p></td>
|
169
169
|
<td>The green component of the color.</td>
|
170
170
|
</tr>
|
171
171
|
<tr>
|
172
|
-
<td><p><span class="term"><a href="
|
172
|
+
<td><p><span class="term"><a href="http://library.gnome.org/devel/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>;</span></p></td>
|
173
173
|
<td>The blue component of the color.</td>
|
174
174
|
</tr>
|
175
175
|
</tbody>
|
@@ -191,7 +191,7 @@ The colormap structure contains the following public fields.
|
|
191
191
|
<div class="refsect2">
|
192
192
|
<a name="gdk-colormap-new"></a><h3>gdk_colormap_new ()</h3>
|
193
193
|
<pre class="programlisting"><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * 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>,
|
194
|
-
<em class="parameter"><code><a href="
|
194
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allocate</code></em>);</pre>
|
195
195
|
<p>
|
196
196
|
Creates a new colormap for the given visual.
|
197
197
|
</p>
|
@@ -207,7 +207,7 @@ Creates a new colormap for the given visual.
|
|
207
207
|
</tr>
|
208
208
|
<tr>
|
209
209
|
<td><p><span class="term"><em class="parameter"><code>allocate</code></em> :</span></p></td>
|
210
|
-
<td>if <a href="
|
210
|
+
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the newly created colormap will be
|
211
211
|
a private colormap, and all colors in it will be
|
212
212
|
allocated for the applications use.</td>
|
213
213
|
</tr>
|
@@ -224,10 +224,10 @@ allocated for the applications use.</td>
|
|
224
224
|
<pre class="programlisting"><a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * 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>
|
225
225
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
226
226
|
<h3 class="title">Warning</h3>
|
227
|
-
<p><code class="literal">gdk_colormap_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="
|
227
|
+
<p><code class="literal">gdk_colormap_ref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> instead.</p>
|
228
228
|
</div>
|
229
229
|
<p>
|
230
|
-
Deprecated function; use <a href="
|
230
|
+
Deprecated function; use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> instead.
|
231
231
|
</p>
|
232
232
|
<div class="variablelist"><table border="0" class="variablelist">
|
233
233
|
<colgroup>
|
@@ -253,10 +253,10 @@ Deprecated function; use <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/ve
|
|
253
253
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>
|
254
254
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
255
255
|
<h3 class="title">Warning</h3>
|
256
|
-
<p><code class="literal">gdk_colormap_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="
|
256
|
+
<p><code class="literal">gdk_colormap_unref</code> has been deprecated since version 2.0 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.</p>
|
257
257
|
</div>
|
258
258
|
<p>
|
259
|
-
Deprecated function; use <a href="
|
259
|
+
Deprecated function; use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.
|
260
260
|
</p>
|
261
261
|
<div class="variablelist"><table border="0" class="variablelist">
|
262
262
|
<colgroup>
|
@@ -292,7 +292,7 @@ Gets the system's default colormap for the default screen. (See
|
|
292
292
|
<hr>
|
293
293
|
<div class="refsect2">
|
294
294
|
<a name="gdk-colormap-get-system-size"></a><h3>gdk_colormap_get_system_size ()</h3>
|
295
|
-
<pre class="programlisting"><a href="
|
295
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gdk_colormap_get_system_size (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
296
296
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
297
297
|
<h3 class="title">Warning</h3>
|
298
298
|
<p><code class="literal">gdk_colormap_get_system_size</code> is deprecated and should not be used in newly-written code.</p>
|
@@ -317,7 +317,7 @@ explanation of the size of a colormap.)
|
|
317
317
|
<div class="refsect2">
|
318
318
|
<a name="gdk-colormap-change"></a><h3>gdk_colormap_change ()</h3>
|
319
319
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
320
|
-
<em class="parameter"><code><a href="
|
320
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ncolors</code></em>);</pre>
|
321
321
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
322
322
|
<h3 class="title">Warning</h3>
|
323
323
|
<p><code class="literal">gdk_colormap_change</code> is deprecated and should not be used in newly-written code.</p>
|
@@ -348,12 +348,12 @@ should not be used. See <a class="link" href="gdk2-Colormaps-and-Colors.html#gdk
|
|
348
348
|
<hr>
|
349
349
|
<div class="refsect2">
|
350
350
|
<a name="gdk-colormap-alloc-colors"></a><h3>gdk_colormap_alloc_colors ()</h3>
|
351
|
-
<pre class="programlisting"><a href="
|
351
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 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>,
|
352
352
|
<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>,
|
353
|
-
<em class="parameter"><code><a href="
|
354
|
-
<em class="parameter"><code><a href="
|
355
|
-
<em class="parameter"><code><a href="
|
356
|
-
<em class="parameter"><code><a href="
|
353
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_colors</code></em>,
|
354
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writeable</code></em>,
|
355
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> best_match</code></em>,
|
356
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *success</code></em>);</pre>
|
357
357
|
<p>
|
358
358
|
Allocates colors from a colormap.
|
359
359
|
</p>
|
@@ -378,13 +378,13 @@ values for allocated colors will be filled in.</td>
|
|
378
378
|
</tr>
|
379
379
|
<tr>
|
380
380
|
<td><p><span class="term"><em class="parameter"><code>writeable</code></em> :</span></p></td>
|
381
|
-
<td>If <a href="
|
381
|
+
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the colors are allocated writeable
|
382
382
|
(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>).
|
383
383
|
Writeable colors cannot be shared between applications.</td>
|
384
384
|
</tr>
|
385
385
|
<tr>
|
386
386
|
<td><p><span class="term"><em class="parameter"><code>best_match</code></em> :</span></p></td>
|
387
|
-
<td>If <a href="
|
387
|
+
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, GDK will attempt to do matching against
|
388
388
|
existing colors if the colors cannot be allocated as requested.</td>
|
389
389
|
</tr>
|
390
390
|
<tr>
|
@@ -404,10 +404,10 @@ allocated.</td>
|
|
404
404
|
<hr>
|
405
405
|
<div class="refsect2">
|
406
406
|
<a name="gdk-colormap-alloc-color"></a><h3>gdk_colormap_alloc_color ()</h3>
|
407
|
-
<pre class="programlisting"><a href="
|
407
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
408
408
|
<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>,
|
409
|
-
<em class="parameter"><code><a href="
|
410
|
-
<em class="parameter"><code><a href="
|
409
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> writeable</code></em>,
|
410
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> best_match</code></em>);</pre>
|
411
411
|
<p>
|
412
412
|
Allocates a single color from a colormap.
|
413
413
|
</p>
|
@@ -429,19 +429,19 @@ filled in if allocation succeeds.</td>
|
|
429
429
|
</tr>
|
430
430
|
<tr>
|
431
431
|
<td><p><span class="term"><em class="parameter"><code>writeable</code></em> :</span></p></td>
|
432
|
-
<td>If <a href="
|
432
|
+
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the color is allocated writeable
|
433
433
|
(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>).
|
434
434
|
Writeable colors cannot be shared between applications.</td>
|
435
435
|
</tr>
|
436
436
|
<tr>
|
437
437
|
<td><p><span class="term"><em class="parameter"><code>best_match</code></em> :</span></p></td>
|
438
|
-
<td>If <a href="
|
438
|
+
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, GDK will attempt to do matching against
|
439
439
|
existing colors if the color cannot be allocated as requested.</td>
|
440
440
|
</tr>
|
441
441
|
<tr>
|
442
442
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
443
443
|
<td>
|
444
|
-
<a href="
|
444
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the allocation succeeded.</td>
|
445
445
|
</tr>
|
446
446
|
</tbody>
|
447
447
|
</table></div>
|
@@ -451,7 +451,7 @@ existing colors if the color cannot be allocated as requested.</td>
|
|
451
451
|
<a name="gdk-colormap-free-colors"></a><h3>gdk_colormap_free_colors ()</h3>
|
452
452
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
453
453
|
<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>,
|
454
|
-
<em class="parameter"><code><a href="
|
454
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_colors</code></em>);</pre>
|
455
455
|
<p>
|
456
456
|
Frees previously allocated colors.
|
457
457
|
</p>
|
@@ -480,7 +480,7 @@ Frees previously allocated colors.
|
|
480
480
|
<div class="refsect2">
|
481
481
|
<a name="gdk-colormap-query-color"></a><h3>gdk_colormap_query_color ()</h3>
|
482
482
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
483
|
-
<em class="parameter"><code><a href="
|
483
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> pixel</code></em>,
|
484
484
|
<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>
|
485
485
|
<p>
|
486
486
|
Locates the RGB color in <em class="parameter"><code>colormap</code></em> corresponding to the given
|
@@ -573,7 +573,7 @@ Gets the screen for which this colormap was created.
|
|
573
573
|
<a name="gdk-colors-store"></a><h3>gdk_colors_store ()</h3>
|
574
574
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
575
575
|
<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>,
|
576
|
-
<em class="parameter"><code><a href="
|
576
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ncolors</code></em>);</pre>
|
577
577
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
578
578
|
<h3 class="title">Warning</h3>
|
579
579
|
<p><code class="literal">gdk_colors_store</code> is deprecated and should not be used in newly-written code.</p>
|
@@ -651,12 +651,12 @@ Frees a color structure created with
|
|
651
651
|
<hr>
|
652
652
|
<div class="refsect2">
|
653
653
|
<a name="gdk-colors-alloc"></a><h3>gdk_colors_alloc ()</h3>
|
654
|
-
<pre class="programlisting"><a href="
|
655
|
-
<em class="parameter"><code><a href="
|
656
|
-
<em class="parameter"><code><a href="
|
657
|
-
<em class="parameter"><code><a href="
|
658
|
-
<em class="parameter"><code><a href="
|
659
|
-
<em class="parameter"><code><a href="
|
654
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 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>,
|
655
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> contiguous</code></em>,
|
656
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *planes</code></em>,
|
657
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nplanes</code></em>,
|
658
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *pixels</code></em>,
|
659
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> npixels</code></em>);</pre>
|
660
660
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
661
661
|
<h3 class="title">Warning</h3>
|
662
662
|
<p><code class="literal">gdk_colors_alloc</code> is deprecated and should not be used in newly-written code.</p>
|
@@ -679,7 +679,7 @@ the Xlib documentation for <code class="function"><code class="function">XAllocC
|
|
679
679
|
</tr>
|
680
680
|
<tr>
|
681
681
|
<td><p><span class="term"><em class="parameter"><code>contiguous</code></em> :</span></p></td>
|
682
|
-
<td>if <a href="
|
682
|
+
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the colors should be allocated
|
683
683
|
in contiguous color cells.</td>
|
684
684
|
</tr>
|
685
685
|
<tr>
|
@@ -702,7 +702,7 @@ to indicate that the color allocation should not be planar.)</td>
|
|
702
702
|
<tr>
|
703
703
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
704
704
|
<td>
|
705
|
-
<a href="
|
705
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the allocation was successful</td>
|
706
706
|
</tr>
|
707
707
|
</tbody>
|
708
708
|
</table></div>
|
@@ -711,9 +711,9 @@ to indicate that the color allocation should not be planar.)</td>
|
|
711
711
|
<div class="refsect2">
|
712
712
|
<a name="gdk-colors-free"></a><h3>gdk_colors_free ()</h3>
|
713
713
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
714
|
-
<em class="parameter"><code><a href="
|
715
|
-
<em class="parameter"><code><a href="
|
716
|
-
<em class="parameter"><code><a href="
|
714
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *pixels</code></em>,
|
715
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> npixels</code></em>,
|
716
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> planes</code></em>);</pre>
|
717
717
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
718
718
|
<h3 class="title">Warning</h3>
|
719
719
|
<p><code class="literal">gdk_colors_free</code> is deprecated and should not be used in newly-written code.</p>
|
@@ -750,7 +750,7 @@ function is obsolete. See <a class="link" href="gdk2-Colormaps-and-Colors.html#g
|
|
750
750
|
<hr>
|
751
751
|
<div class="refsect2">
|
752
752
|
<a name="gdk-color-white"></a><h3>gdk_color_white ()</h3>
|
753
|
-
<pre class="programlisting"><a href="
|
753
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 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>,
|
754
754
|
<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>
|
755
755
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
756
756
|
<h3 class="title">Warning</h3>
|
@@ -777,7 +777,7 @@ value has already allocated been allocated.
|
|
777
777
|
<tr>
|
778
778
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
779
779
|
<td>
|
780
|
-
<a href="
|
780
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the allocation succeeded.</td>
|
781
781
|
</tr>
|
782
782
|
</tbody>
|
783
783
|
</table></div>
|
@@ -785,7 +785,7 @@ value has already allocated been allocated.
|
|
785
785
|
<hr>
|
786
786
|
<div class="refsect2">
|
787
787
|
<a name="gdk-color-black"></a><h3>gdk_color_black ()</h3>
|
788
|
-
<pre class="programlisting"><a href="
|
788
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 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>,
|
789
789
|
<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>
|
790
790
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
791
791
|
<h3 class="title">Warning</h3>
|
@@ -812,7 +812,7 @@ value has already been allocated.
|
|
812
812
|
<tr>
|
813
813
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
814
814
|
<td>
|
815
|
-
<a href="
|
815
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the allocation succeeded.</td>
|
816
816
|
</tr>
|
817
817
|
</tbody>
|
818
818
|
</table></div>
|
@@ -820,7 +820,7 @@ value has already been allocated.
|
|
820
820
|
<hr>
|
821
821
|
<div class="refsect2">
|
822
822
|
<a name="gdk-color-parse"></a><h3>gdk_color_parse ()</h3>
|
823
|
-
<pre class="programlisting"><a href="
|
823
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gdk_color_parse (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *spec</code></em>,
|
824
824
|
<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>
|
825
825
|
<p>
|
826
826
|
Parses a textual specification of a color and fill in the
|
@@ -854,7 +854,7 @@ in the four forms is '#fff' '#ffffff' '#fffffffff' and
|
|
854
854
|
<tr>
|
855
855
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
856
856
|
<td>
|
857
|
-
<a href="
|
857
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the parsing succeeded.</td>
|
858
858
|
</tr>
|
859
859
|
</tbody>
|
860
860
|
</table></div>
|
@@ -862,7 +862,7 @@ in the four forms is '#fff' '#ffffff' '#fffffffff' and
|
|
862
862
|
<hr>
|
863
863
|
<div class="refsect2">
|
864
864
|
<a name="gdk-color-alloc"></a><h3>gdk_color_alloc ()</h3>
|
865
|
-
<pre class="programlisting"><a href="
|
865
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 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>,
|
866
866
|
<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>
|
867
867
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
868
868
|
<h3 class="title">Warning</h3>
|
@@ -889,7 +889,7 @@ Allocates a single color from a colormap.
|
|
889
889
|
<tr>
|
890
890
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
891
891
|
<td>
|
892
|
-
<a href="
|
892
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the allocation succeeded.</td>
|
893
893
|
</tr>
|
894
894
|
</tbody>
|
895
895
|
</table></div>
|
@@ -897,7 +897,7 @@ Allocates a single color from a colormap.
|
|
897
897
|
<hr>
|
898
898
|
<div class="refsect2">
|
899
899
|
<a name="gdk-color-change"></a><h3>gdk_color_change ()</h3>
|
900
|
-
<pre class="programlisting"><a href="
|
900
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 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>,
|
901
901
|
<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>
|
902
902
|
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
903
903
|
<h3 class="title">Warning</h3>
|
@@ -908,7 +908,7 @@ Changes the value of a color that has already
|
|
908
908
|
been allocated. If <em class="parameter"><code>colormap</code></em> is not a private
|
909
909
|
colormap, then the color must have been allocated
|
910
910
|
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
|
911
|
-
<em class="parameter"><code>writeable</code></em> set to <a href="
|
911
|
+
<em class="parameter"><code>writeable</code></em> set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
912
912
|
</p>
|
913
913
|
<div class="variablelist"><table border="0" class="variablelist">
|
914
914
|
<colgroup>
|
@@ -929,7 +929,7 @@ and the new value in the remaining fields.</td>
|
|
929
929
|
<tr>
|
930
930
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
931
931
|
<td>
|
932
|
-
<a href="
|
932
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the color was successfully changed.</td>
|
933
933
|
</tr>
|
934
934
|
</tbody>
|
935
935
|
</table></div>
|
@@ -937,7 +937,7 @@ and the new value in the remaining fields.</td>
|
|
937
937
|
<hr>
|
938
938
|
<div class="refsect2">
|
939
939
|
<a name="gdk-color-equal"></a><h3>gdk_color_equal ()</h3>
|
940
|
-
<pre class="programlisting"><a href="
|
940
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> 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>,
|
941
941
|
<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>
|
942
942
|
<p>
|
943
943
|
Compares two colors.
|
@@ -959,7 +959,7 @@ Compares two colors.
|
|
959
959
|
<tr>
|
960
960
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
961
961
|
<td>
|
962
|
-
<a href="
|
962
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two colors compare equal</td>
|
963
963
|
</tr>
|
964
964
|
</tbody>
|
965
965
|
</table></div>
|
@@ -967,7 +967,7 @@ Compares two colors.
|
|
967
967
|
<hr>
|
968
968
|
<div class="refsect2">
|
969
969
|
<a name="gdk-color-hash"></a><h3>gdk_color_hash ()</h3>
|
970
|
-
<pre class="programlisting"><a href="
|
970
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> 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>
|
971
971
|
<p>
|
972
972
|
A hash function suitable for using for a hash
|
973
973
|
table that stores <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a>'s.
|
@@ -993,7 +993,7 @@ table that stores <a class="link" href="gdk2-Colormaps-and-Colors.html#GdkColor"
|
|
993
993
|
<hr>
|
994
994
|
<div class="refsect2">
|
995
995
|
<a name="gdk-color-to-string"></a><h3>gdk_color_to_string ()</h3>
|
996
|
-
<pre class="programlisting"><a href="
|
996
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * 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>
|
997
997
|
<p>
|
998
998
|
Returns a textual specification of <em class="parameter"><code>color</code></em> in the hexadecimal form
|
999
999
|
<code class="literal">#rrrrggggbbbb</code>, where <code class="literal">r</code>,
|