gtk2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +22 -0
- data/ext/gtk2/rbgtkwindow.c +3 -1
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/sample/gtk-demo/cairo-operator.rb +1 -1
- data/sample/misc/bindings.rb +1 -1
- data/sample/misc/cairo-pong.rb +1 -1
- data/vendor/local/bin/gtk-builder-convert +29 -2
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdk.h +2 -5
- data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +7 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +7 -4
- data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +1 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +13 -9
- data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +5 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +16 -6
- data/vendor/local/include/gtk-2.0/gtk/gtk.h +1 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +5 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +14 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +3 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +5 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +6 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +5 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +2 -1
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/manifest/{gtk+-dev_2.22.1-1_win32.mft → gtk+-dev_2.24.0-1_win32.mft} +9 -6
- data/vendor/local/manifest/{gtk+_2.22.1-1_win32.mft → gtk+_2.24.0-1_win32.mft} +2 -6
- data/vendor/local/share/doc/{gtk+-2.22.1 → gtk+-2.24.0}/COPYING +0 -0
- data/vendor/local/share/doc/{gtk+-dev-2.22.1 → gtk+-dev-2.24.0}/COPYING +0 -0
- data/vendor/local/share/gtk-2.0/demo/appwindow.c +0 -21
- data/vendor/local/share/gtk-2.0/demo/combobox.c +6 -6
- data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/sizegroup.c +2 -2
- data/vendor/local/share/gtk-2.0/demo/textview.c +4 -4
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +60 -94
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +44 -58
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +151 -208
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +33 -37
- data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +180 -239
- data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +135 -5
- data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +83 -47
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +20 -23
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +126 -126
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +81 -39
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +135 -199
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +71 -90
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +161 -200
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +293 -409
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +320 -435
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +109 -141
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +155 -234
- data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +143 -217
- data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +103 -124
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +168 -250
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +90 -131
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +143 -191
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +35 -53
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +162 -195
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +85 -112
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +79 -137
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +144 -176
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +188 -235
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +97 -134
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +22 -35
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +44 -70
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +83 -108
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +653 -744
- data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +476 -490
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +53 -44
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +85 -76
- data/vendor/local/share/gtk-doc/html/gdk/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk/index.sgml +10 -1
- data/vendor/local/share/gtk-doc/html/gdk/multihead.html +9 -9
- data/vendor/local/share/gtk-doc/html/gdk/reference.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Actions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Builder.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +193 -186
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +38 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +169 -236
- data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +175 -258
- data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +46 -50
- data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +78 -114
- data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +52 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +30 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +36 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +97 -118
- data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +95 -120
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +86 -117
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +96 -137
- data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +152 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +59 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +615 -895
- data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +520 -1791
- data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +125 -163
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +33 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +60 -87
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +106 -130
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +35 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +27 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +24 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +23 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +69 -74
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +45 -54
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +57 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +30 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +53 -75
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +104 -180
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +29 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +63 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +344 -186
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +57 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +301 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +311 -260
- data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +61 -79
- data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +97 -121
- data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +21 -23
- data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +68 -88
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +360 -470
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +71 -104
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +130 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +33 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +76 -96
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +331 -403
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +64 -89
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +30 -35
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +21 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +102 -146
- data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +38 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +60 -86
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +66 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +52 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +51 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +29 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +30 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +65 -101
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +25 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +55 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +140 -182
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +18 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +18 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +184 -248
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +321 -447
- data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +174 -195
- data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +58 -69
- data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +67 -80
- data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +32 -37
- data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +33 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +36 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +179 -272
- data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +197 -249
- data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +68 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +51 -60
- data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +130 -180
- data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +80 -130
- data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +138 -168
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +177 -221
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +41 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +112 -145
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +86 -118
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +73 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +81 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +33 -39
- data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +396 -452
- data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +148 -206
- data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +21 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +80 -165
- data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +56 -66
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +115 -160
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +94 -134
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkPaperSize.html → GtkPaperSize.html} +204 -252
- data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +34 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +51 -67
- data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +109 -136
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +38 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +53 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +265 -403
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +74 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +100 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +80 -111
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +91 -108
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +42 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +86 -79
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +63 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +33 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +218 -185
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +34 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +135 -194
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +27 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +25 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +17 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +63 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +202 -269
- data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +83 -58
- data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +61 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +64 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +93 -143
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +24 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +129 -259
- data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +38 -45
- data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +44 -53
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +132 -177
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +24 -25
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +190 -254
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +60 -75
- data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +546 -928
- data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +94 -135
- data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +97 -140
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +494 -656
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkTextIter.html → GtkTextIter.html} +664 -806
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +41 -46
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +164 -194
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +84 -76
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +340 -425
- data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +74 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +43 -57
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +59 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +32 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +74 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +133 -166
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +84 -103
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +116 -139
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +42 -59
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +249 -360
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +60 -70
- data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +105 -152
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +46 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +428 -557
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +95 -126
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +63 -70
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +123 -171
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +53 -62
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +170 -199
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +565 -863
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +203 -282
- data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +125 -189
- data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +27 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +31 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +24 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +58 -69
- data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +16 -17
- data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +1278 -1579
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +380 -532
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +21 -39
- data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +6 -3
- data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/Printing.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +17 -11
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +117 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +236 -45
- data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +469 -385
- data/vendor/local/share/gtk-doc/html/gtk/ch01.html +15 -4
- data/vendor/local/share/gtk-doc/html/gtk/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +69 -124
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +149 -211
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +189 -293
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +175 -246
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +35 -41
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +41 -47
- data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +270 -318
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +16 -22
- data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +75 -82
- data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +221 -289
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +142 -232
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +150 -190
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +328 -408
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +190 -306
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +152 -158
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +85 -136
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +204 -239
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +271 -343
- data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +18 -11
- data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +63 -75
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +58 -75
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +5 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +90 -90
- data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +39 -31
- data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +445 -412
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +488 -455
- data/vendor/local/share/gtk-doc/html/gtk/gtk.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +8 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/index.html +10 -6
- data/vendor/local/share/gtk-doc/html/gtk/index.sgml +194 -142
- data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk/migrating.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/pt05.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +3 -3
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.24.0-1_win32.log +4934 -0
- data/vendor/local/src/tml/packaging/{gtk+_2.22.1-1_win32.sh → gtk+_2.24.0-1_win32.sh} +2 -2
- metadata +26 -33
- data/ext/gtk2/Makefile +0 -169
- data/ext/gtk2/rbgdkkeysyms.h +0 -2174
- data/ext/gtk2/rbgtkinits.c +0 -473
- data/ext/gtk2/ruby-gtk2.pc +0 -3
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.22.1-1_win32.log +0 -5048
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Pango-Interaction.html" title="Pango Interaction">
|
10
10
|
<link rel="next" href="gdk-X-Window-System-Interaction.html" title="X Window System Interaction">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#gdk-Cairo-Interaction.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="gdk-Cairo-Interaction"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="gdk-Cairo-Interaction.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gdk/gdk.h>
|
@@ -55,15 +55,19 @@
|
|
55
55
|
<em class="parameter"><code><a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
|
56
56
|
<em class="parameter"><code><span class="type">double</span> pixmap_x</code></em>,
|
57
57
|
<em class="parameter"><code><span class="type">double</span> pixmap_y</code></em>);
|
58
|
+
<span class="returnvalue">void</span> <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-set-source-window" title="gdk_cairo_set_source_window ()">gdk_cairo_set_source_window</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
59
|
+
<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
60
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
61
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);
|
58
62
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-rectangle" title="gdk_cairo_rectangle ()">gdk_cairo_rectangle</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
59
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
|
63
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);
|
60
64
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-region" title="gdk_cairo_region ()">gdk_cairo_region</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
61
65
|
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>);
|
62
66
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-reset-clip" title="gdk_cairo_reset_clip ()">gdk_cairo_reset_clip</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
63
67
|
<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);
|
64
68
|
</pre>
|
65
69
|
</div>
|
66
|
-
<div class="refsect1"
|
70
|
+
<div class="refsect1">
|
67
71
|
<a name="gdk-Cairo-Interaction.description"></a><h2>Description</h2>
|
68
72
|
<p>
|
69
73
|
Cairo is a graphics
|
@@ -78,9 +82,9 @@ functions allow to convert GDK's rectangles and regions into
|
|
78
82
|
Cairo paths and to use pixbufs as sources for drawing operations.
|
79
83
|
</p>
|
80
84
|
</div>
|
81
|
-
<div class="refsect1"
|
85
|
+
<div class="refsect1">
|
82
86
|
<a name="gdk-Cairo-Interaction.details"></a><h2>Details</h2>
|
83
|
-
<div class="refsect2"
|
87
|
+
<div class="refsect2">
|
84
88
|
<a name="gdk-window-create-similar-surface"></a><h3>gdk_window_create_similar_surface ()</h3>
|
85
89
|
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> * gdk_window_create_similar_surface (<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
86
90
|
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-content-t"><span class="type">cairo_content_t</span></a> content</code></em>,
|
@@ -103,42 +107,35 @@ have transparency, black otherwise.)
|
|
103
107
|
<tbody>
|
104
108
|
<tr>
|
105
109
|
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
|
106
|
-
<td>window to make new surface similar to
|
107
|
-
</td>
|
110
|
+
<td>window to make new surface similar to</td>
|
108
111
|
</tr>
|
109
112
|
<tr>
|
110
113
|
<td><p><span class="term"><em class="parameter"><code>content</code></em> :</span></p></td>
|
111
|
-
<td>the content for the new surface
|
112
|
-
</td>
|
114
|
+
<td>the content for the new surface</td>
|
113
115
|
</tr>
|
114
116
|
<tr>
|
115
117
|
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
|
116
|
-
<td>width of the new surface
|
117
|
-
</td>
|
118
|
+
<td>width of the new surface</td>
|
118
119
|
</tr>
|
119
120
|
<tr>
|
120
121
|
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
|
121
|
-
<td>height of the new surface
|
122
|
-
</td>
|
122
|
+
<td>height of the new surface</td>
|
123
123
|
</tr>
|
124
124
|
<tr>
|
125
125
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
126
|
-
<td>
|
126
|
+
<td>a pointer to the newly allocated surface. The caller
|
127
127
|
owns the surface and should call <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-destroy"><code class="function">cairo_surface_destroy()</code></a> when done
|
128
128
|
with it.
|
129
|
-
|
130
129
|
This function always returns a valid pointer, but it will return a
|
131
130
|
pointer to a "nil" surface if <em class="parameter"><code>other</code></em> is already in an error state
|
132
|
-
or any other error occurs
|
133
|
-
|
134
|
-
</td>
|
131
|
+
or any other error occurs.</td>
|
135
132
|
</tr>
|
136
133
|
</tbody>
|
137
134
|
</table></div>
|
138
135
|
<p class="since">Since 2.22</p>
|
139
136
|
</div>
|
140
137
|
<hr>
|
141
|
-
<div class="refsect2"
|
138
|
+
<div class="refsect2">
|
142
139
|
<a name="gdk-cairo-create"></a><h3>gdk_cairo_create ()</h3>
|
143
140
|
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="returnvalue">cairo_t</span></a> * gdk_cairo_create (<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
144
141
|
<p>
|
@@ -146,7 +143,7 @@ Creates a Cairo context for drawing to <em class="parameter"><code>drawable</cod
|
|
146
143
|
</p>
|
147
144
|
<p>
|
148
145
|
</p>
|
149
|
-
<div class="note"
|
146
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
150
147
|
<h3 class="title">Note</h3>
|
151
148
|
<p>
|
152
149
|
Note that due to double-buffering, Cairo contexts created
|
@@ -166,17 +163,15 @@ between different expose events.
|
|
166
163
|
</tr>
|
167
164
|
<tr>
|
168
165
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
169
|
-
<td>
|
170
|
-
|
171
|
-
|
172
|
-
</td>
|
166
|
+
<td>A newly created Cairo context. Free with
|
167
|
+
<a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-destroy"><code class="function">cairo_destroy()</code></a> when you are done drawing.</td>
|
173
168
|
</tr>
|
174
169
|
</tbody>
|
175
170
|
</table></div>
|
176
171
|
<p class="since">Since 2.8</p>
|
177
172
|
</div>
|
178
173
|
<hr>
|
179
|
-
<div class="refsect2"
|
174
|
+
<div class="refsect2">
|
180
175
|
<a name="gdk-cairo-set-source-color"></a><h3>gdk_cairo_set_source_color ()</h3>
|
181
176
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_cairo_set_source_color (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
182
177
|
<em class="parameter"><code>const <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
@@ -201,7 +196,7 @@ Sets the specified <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor"
|
|
201
196
|
<p class="since">Since 2.8</p>
|
202
197
|
</div>
|
203
198
|
<hr>
|
204
|
-
<div class="refsect2"
|
199
|
+
<div class="refsect2">
|
205
200
|
<a name="gdk-cairo-set-source-pixbuf"></a><h3>gdk_cairo_set_source_pixbuf ()</h3>
|
206
201
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_cairo_set_source_pixbuf (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
207
202
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
@@ -217,8 +212,7 @@ so that the origin of <em class="parameter"><code>pixbuf</code></em> is <em clas
|
|
217
212
|
<tbody>
|
218
213
|
<tr>
|
219
214
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
220
|
-
<td>a <span class="type">Cairo</span> context
|
221
|
-
</td>
|
215
|
+
<td>a <span class="type">Cairo</span> context</td>
|
222
216
|
</tr>
|
223
217
|
<tr>
|
224
218
|
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
|
@@ -240,12 +234,18 @@ so that the origin of <em class="parameter"><code>pixbuf</code></em> is <em clas
|
|
240
234
|
<p class="since">Since 2.8</p>
|
241
235
|
</div>
|
242
236
|
<hr>
|
243
|
-
<div class="refsect2"
|
237
|
+
<div class="refsect2">
|
244
238
|
<a name="gdk-cairo-set-source-pixmap"></a><h3>gdk_cairo_set_source_pixmap ()</h3>
|
245
239
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_cairo_set_source_pixmap (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
246
240
|
<em class="parameter"><code><a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a> *pixmap</code></em>,
|
247
241
|
<em class="parameter"><code><span class="type">double</span> pixmap_x</code></em>,
|
248
242
|
<em class="parameter"><code><span class="type">double</span> pixmap_y</code></em>);</pre>
|
243
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
244
|
+
<h3 class="title">Warning</h3>
|
245
|
+
<p><code class="literal">gdk_cairo_set_source_pixmap</code> has been deprecated since version 2.24 and should not be used in newly-written code. This function is being removed in GTK+ 3 (together
|
246
|
+
with <a class="link" href="gdk-Bitmaps-and-Pixmaps.html#GdkPixmap"><span class="type">GdkPixmap</span></a>). Instead, use <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-set-source-window" title="gdk_cairo_set_source_window ()"><code class="function">gdk_cairo_set_source_window()</code></a> where
|
247
|
+
appropriate.</p>
|
248
|
+
</div>
|
249
249
|
<p>
|
250
250
|
Sets the given pixmap as the source pattern for the Cairo context.
|
251
251
|
The pattern has an extend mode of <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#CAIRO-EXTEND-NONE:CAPS"><code class="literal">CAIRO_EXTEND_NONE</code></a> and is aligned
|
@@ -256,8 +256,7 @@ so that the origin of <em class="parameter"><code>pixmap</code></em> is <em clas
|
|
256
256
|
<tbody>
|
257
257
|
<tr>
|
258
258
|
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
259
|
-
<td>a <span class="type">Cairo</span> context
|
260
|
-
</td>
|
259
|
+
<td>a <span class="type">Cairo</span> context</td>
|
261
260
|
</tr>
|
262
261
|
<tr>
|
263
262
|
<td><p><span class="term"><em class="parameter"><code>pixmap</code></em> :</span></p></td>
|
@@ -279,10 +278,53 @@ so that the origin of <em class="parameter"><code>pixmap</code></em> is <em clas
|
|
279
278
|
<p class="since">Since 2.10</p>
|
280
279
|
</div>
|
281
280
|
<hr>
|
282
|
-
<div class="refsect2"
|
281
|
+
<div class="refsect2">
|
282
|
+
<a name="gdk-cairo-set-source-window"></a><h3>gdk_cairo_set_source_window ()</h3>
|
283
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gdk_cairo_set_source_window (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
284
|
+
<em class="parameter"><code><a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
285
|
+
<em class="parameter"><code><span class="type">double</span> x</code></em>,
|
286
|
+
<em class="parameter"><code><span class="type">double</span> y</code></em>);</pre>
|
287
|
+
<p>
|
288
|
+
Sets the given window as the source pattern for the Cairo context.
|
289
|
+
The pattern has an extend mode of <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#CAIRO-EXTEND-NONE:CAPS"><code class="literal">CAIRO_EXTEND_NONE</code></a> and is aligned
|
290
|
+
so that the origin of <em class="parameter"><code>window</code></em> is <em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>. The window contains all its
|
291
|
+
subwindows when rendering.
|
292
|
+
</p>
|
293
|
+
<p>
|
294
|
+
Note that the contents of <em class="parameter"><code>window</code></em> are undefined outside of the
|
295
|
+
visible part of <em class="parameter"><code>window</code></em>, so use this function with care.
|
296
|
+
</p>
|
297
|
+
<div class="variablelist"><table border="0">
|
298
|
+
<col align="left" valign="top">
|
299
|
+
<tbody>
|
300
|
+
<tr>
|
301
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
302
|
+
<td>a <span class="type">Cairo</span> context</td>
|
303
|
+
</tr>
|
304
|
+
<tr>
|
305
|
+
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
|
306
|
+
<td>a <a class="link" href="gdk-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a>
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
<tr>
|
310
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
311
|
+
<td>X coordinate of location to place upper left corner of <em class="parameter"><code>window</code></em>
|
312
|
+
</td>
|
313
|
+
</tr>
|
314
|
+
<tr>
|
315
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
316
|
+
<td>Y coordinate of location to place upper left corner of <em class="parameter"><code>window</code></em>
|
317
|
+
</td>
|
318
|
+
</tr>
|
319
|
+
</tbody>
|
320
|
+
</table></div>
|
321
|
+
<p class="since">Since 2.24</p>
|
322
|
+
</div>
|
323
|
+
<hr>
|
324
|
+
<div class="refsect2">
|
283
325
|
<a name="gdk-cairo-rectangle"></a><h3>gdk_cairo_rectangle ()</h3>
|
284
326
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_cairo_rectangle (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
285
|
-
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
327
|
+
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a> *rectangle</code></em>);</pre>
|
286
328
|
<p>
|
287
329
|
Adds the given rectangle to the current path of <em class="parameter"><code>cr</code></em>.
|
288
330
|
</p>
|
@@ -296,7 +338,7 @@ Adds the given rectangle to the current path of <em class="parameter"><code>cr</
|
|
296
338
|
</tr>
|
297
339
|
<tr>
|
298
340
|
<td><p><span class="term"><em class="parameter"><code>rectangle</code></em> :</span></p></td>
|
299
|
-
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="GdkRectangle"><span class="type">GdkRectangle</span></a>
|
341
|
+
<td>a <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRectangle" title="struct GdkRectangle"><span class="type">GdkRectangle</span></a>
|
300
342
|
</td>
|
301
343
|
</tr>
|
302
344
|
</tbody>
|
@@ -304,7 +346,7 @@ Adds the given rectangle to the current path of <em class="parameter"><code>cr</
|
|
304
346
|
<p class="since">Since 2.8</p>
|
305
347
|
</div>
|
306
348
|
<hr>
|
307
|
-
<div class="refsect2"
|
349
|
+
<div class="refsect2">
|
308
350
|
<a name="gdk-cairo-region"></a><h3>gdk_cairo_region ()</h3>
|
309
351
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_cairo_region (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
310
352
|
<em class="parameter"><code>const <a class="link" href="gdk-Points-Rectangles-and-Regions.html#GdkRegion" title="GdkRegion"><span class="type">GdkRegion</span></a> *region</code></em>);</pre>
|
@@ -329,7 +371,7 @@ Adds the given region to the current path of <em class="parameter"><code>cr</cod
|
|
329
371
|
<p class="since">Since 2.8</p>
|
330
372
|
</div>
|
331
373
|
<hr>
|
332
|
-
<div class="refsect2"
|
374
|
+
<div class="refsect2">
|
333
375
|
<a name="gdk-cairo-reset-clip"></a><h3>gdk_cairo_reset_clip ()</h3>
|
334
376
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_cairo_reset_clip (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
|
335
377
|
<em class="parameter"><code><a class="link" href="gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>);</pre>
|
@@ -368,6 +410,6 @@ using <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-create" title="
|
|
368
410
|
</div>
|
369
411
|
<div class="footer">
|
370
412
|
<hr>
|
371
|
-
Generated by GTK-Doc V1.
|
413
|
+
Generated by GTK-Doc V1.16.1</div>
|
372
414
|
</body>
|
373
415
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="reference.html" title="API Reference">
|
9
9
|
<link rel="prev" href="gdk-Pixbufs.html" title="Pixbufs">
|
10
10
|
<link rel="next" href="gdk-Visuals.html" title="Visuals">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#gdk-Colormaps-and-Colors.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="gdk-Colormaps-and-Colors"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,18 +35,18 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="gdk-Colormaps-and-Colors.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gdk/gdk.h>
|
42
42
|
|
43
43
|
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor">GdkColor</a>;
|
44
44
|
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap">GdkColormap</a>;
|
45
|
-
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a
|
45
|
+
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * <a class="link" href="gdk-Colormaps-and-Colors.html#gdk-colormap-new" title="gdk_colormap_new ()">gdk_colormap_new</a> (<em class="parameter"><code><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
|
46
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
|
-
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a
|
47
|
+
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * <a class="link" href="gdk-Colormaps-and-Colors.html#gdk-colormap-ref" title="gdk_colormap_ref ()">gdk_colormap_ref</a> (<em class="parameter"><code><a class="link" href="gdk-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="gdk-Colormaps-and-Colors.html#gdk-colormap-unref" title="gdk_colormap_unref ()">gdk_colormap_unref</a> (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *cmap</code></em>);
|
49
|
-
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a
|
49
|
+
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * <a class="link" href="gdk-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
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="gdk-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="gdk-Colormaps-and-Colors.html#gdk-colormap-change" title="gdk_colormap_change ()">gdk_colormap_change</a> (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
52
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>);
|
@@ -99,7 +99,7 @@
|
|
99
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="gdk-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="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);
|
100
100
|
</pre>
|
101
101
|
</div>
|
102
|
-
<div class="refsect1"
|
102
|
+
<div class="refsect1">
|
103
103
|
<a name="gdk-Colormaps-and-Colors.description"></a><h2>Description</h2>
|
104
104
|
<p>
|
105
105
|
These functions are used to modify colormaps.
|
@@ -132,9 +132,9 @@ be extended somewhat in the future -
|
|
132
132
|
<a class="link" href="gdk-Colormaps-and-Colors.html#gdk-color-change" title="gdk_color_change ()"><code class="function">gdk_color_change()</code></a> will probably become aliases.
|
133
133
|
</p>
|
134
134
|
</div>
|
135
|
-
<div class="refsect1"
|
135
|
+
<div class="refsect1">
|
136
136
|
<a name="gdk-Colormaps-and-Colors.details"></a><h2>Details</h2>
|
137
|
-
<div class="refsect2"
|
137
|
+
<div class="refsect2">
|
138
138
|
<a name="GdkColor"></a><h3>GdkColor</h3>
|
139
139
|
<pre class="programlisting">typedef struct {
|
140
140
|
guint32 pixel;
|
@@ -153,31 +153,27 @@ allocated or unallocated color.
|
|
153
153
|
<tr>
|
154
154
|
<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>
|
155
155
|
<td>For allocated colors, the value used to
|
156
|
-
|
157
|
-
</td>
|
156
|
+
draw this color on the screen.</td>
|
158
157
|
</tr>
|
159
158
|
<tr>
|
160
159
|
<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>
|
161
160
|
<td>The red component of the color. This is
|
162
|
-
|
163
|
-
|
164
|
-
</td>
|
161
|
+
a value between 0 and 65535, with 65535 indicating
|
162
|
+
full intensitiy.</td>
|
165
163
|
</tr>
|
166
164
|
<tr>
|
167
165
|
<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>
|
168
|
-
<td>The green component of the color
|
169
|
-
</td>
|
166
|
+
<td>The green component of the color.</td>
|
170
167
|
</tr>
|
171
168
|
<tr>
|
172
169
|
<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
|
-
<td>The blue component of the color
|
174
|
-
</td>
|
170
|
+
<td>The blue component of the color.</td>
|
175
171
|
</tr>
|
176
172
|
</tbody>
|
177
173
|
</table></div>
|
178
174
|
</div>
|
179
175
|
<hr>
|
180
|
-
<div class="refsect2"
|
176
|
+
<div class="refsect2">
|
181
177
|
<a name="GdkColormap"></a><h3>GdkColormap</h3>
|
182
178
|
<pre class="programlisting">typedef struct {
|
183
179
|
gint GSEAL (size);
|
@@ -189,9 +185,9 @@ The colormap structure contains the following public fields.
|
|
189
185
|
</p>
|
190
186
|
</div>
|
191
187
|
<hr>
|
192
|
-
<div class="refsect2"
|
188
|
+
<div class="refsect2">
|
193
189
|
<a name="gdk-colormap-new"></a><h3>gdk_colormap_new ()</h3>
|
194
|
-
<pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a
|
190
|
+
<pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * gdk_colormap_new (<em class="parameter"><code><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a> *visual</code></em>,
|
195
191
|
<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>
|
196
192
|
<p>
|
197
193
|
Creates a new colormap for the given visual.
|
@@ -201,29 +197,26 @@ Creates a new colormap for the given visual.
|
|
201
197
|
<tbody>
|
202
198
|
<tr>
|
203
199
|
<td><p><span class="term"><em class="parameter"><code>visual</code></em> :</span></p></td>
|
204
|
-
<td>a <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a
|
205
|
-
</td>
|
200
|
+
<td>a <a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="type">GdkVisual</span></a>.</td>
|
206
201
|
</tr>
|
207
202
|
<tr>
|
208
203
|
<td><p><span class="term"><em class="parameter"><code>allocate</code></em> :</span></p></td>
|
209
204
|
<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
|
210
205
|
a private colormap, and all colors in it will be
|
211
|
-
allocated for the applications use
|
212
|
-
</td>
|
206
|
+
allocated for the applications use.</td>
|
213
207
|
</tr>
|
214
208
|
<tr>
|
215
209
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
216
|
-
<td>
|
217
|
-
</td>
|
210
|
+
<td>the new <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
218
211
|
</tr>
|
219
212
|
</tbody>
|
220
213
|
</table></div>
|
221
214
|
</div>
|
222
215
|
<hr>
|
223
|
-
<div class="refsect2"
|
216
|
+
<div class="refsect2">
|
224
217
|
<a name="gdk-colormap-ref"></a><h3>gdk_colormap_ref ()</h3>
|
225
|
-
<pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a
|
226
|
-
<div class="warning"
|
218
|
+
<pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * gdk_colormap_ref (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *cmap</code></em>);</pre>
|
219
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
227
220
|
<h3 class="title">Warning</h3>
|
228
221
|
<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>
|
229
222
|
</div>
|
@@ -240,18 +233,16 @@ Deprecated function; use <a href="http://library.gnome.org/devel/gobject/unstabl
|
|
240
233
|
</tr>
|
241
234
|
<tr>
|
242
235
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
243
|
-
<td>
|
244
|
-
|
245
|
-
</td>
|
236
|
+
<td>the colormap</td>
|
246
237
|
</tr>
|
247
238
|
</tbody>
|
248
239
|
</table></div>
|
249
240
|
</div>
|
250
241
|
<hr>
|
251
|
-
<div class="refsect2"
|
242
|
+
<div class="refsect2">
|
252
243
|
<a name="gdk-colormap-unref"></a><h3>gdk_colormap_unref ()</h3>
|
253
244
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_colormap_unref (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *cmap</code></em>);</pre>
|
254
|
-
<div class="warning"
|
245
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
255
246
|
<h3 class="title">Warning</h3>
|
256
247
|
<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
248
|
</div>
|
@@ -268,9 +259,9 @@ Deprecated function; use <a href="http://library.gnome.org/devel/gobject/unstabl
|
|
268
259
|
</table></div>
|
269
260
|
</div>
|
270
261
|
<hr>
|
271
|
-
<div class="refsect2"
|
262
|
+
<div class="refsect2">
|
272
263
|
<a name="gdk-colormap-get-system"></a><h3>gdk_colormap_get_system ()</h3>
|
273
|
-
<pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a
|
264
|
+
<pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="returnvalue">GdkColormap</span></a> * gdk_colormap_get_system (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
274
265
|
<p>
|
275
266
|
Gets the system's default colormap for the default screen. (See
|
276
267
|
<code class="function">gdk_colormap_get_system_for_screen()</code>)
|
@@ -279,16 +270,15 @@ Gets the system's default colormap for the default screen. (See
|
|
279
270
|
<col align="left" valign="top">
|
280
271
|
<tbody><tr>
|
281
272
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
282
|
-
<td>
|
283
|
-
</td>
|
273
|
+
<td>the default colormap.</td>
|
284
274
|
</tr></tbody>
|
285
275
|
</table></div>
|
286
276
|
</div>
|
287
277
|
<hr>
|
288
|
-
<div class="refsect2"
|
278
|
+
<div class="refsect2">
|
289
279
|
<a name="gdk-colormap-get-system-size"></a><h3>gdk_colormap_get_system_size ()</h3>
|
290
280
|
<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>
|
291
|
-
<div class="warning"
|
281
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
292
282
|
<h3 class="title">Warning</h3>
|
293
283
|
<p><code class="literal">gdk_colormap_get_system_size</code> is deprecated and should not be used in newly-written code.</p>
|
294
284
|
</div>
|
@@ -301,17 +291,16 @@ explanation of the size of a colormap.)
|
|
301
291
|
<col align="left" valign="top">
|
302
292
|
<tbody><tr>
|
303
293
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
304
|
-
<td>
|
305
|
-
</td>
|
294
|
+
<td>the size of the system's default colormap.</td>
|
306
295
|
</tr></tbody>
|
307
296
|
</table></div>
|
308
297
|
</div>
|
309
298
|
<hr>
|
310
|
-
<div class="refsect2"
|
299
|
+
<div class="refsect2">
|
311
300
|
<a name="gdk-colormap-change"></a><h3>gdk_colormap_change ()</h3>
|
312
301
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_colormap_change (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
313
302
|
<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>
|
314
|
-
<div class="warning"
|
303
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
315
304
|
<h3 class="title">Warning</h3>
|
316
305
|
<p><code class="literal">gdk_colormap_change</code> is deprecated and should not be used in newly-written code.</p>
|
317
306
|
</div>
|
@@ -326,19 +315,17 @@ should not be used. See <a class="link" href="gdk-Colormaps-and-Colors.html#gdk-
|
|
326
315
|
<tbody>
|
327
316
|
<tr>
|
328
317
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
329
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
330
|
-
</td>
|
318
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
331
319
|
</tr>
|
332
320
|
<tr>
|
333
321
|
<td><p><span class="term"><em class="parameter"><code>ncolors</code></em> :</span></p></td>
|
334
|
-
<td>the number of colors to change
|
335
|
-
</td>
|
322
|
+
<td>the number of colors to change.</td>
|
336
323
|
</tr>
|
337
324
|
</tbody>
|
338
325
|
</table></div>
|
339
326
|
</div>
|
340
327
|
<hr>
|
341
|
-
<div class="refsect2"
|
328
|
+
<div class="refsect2">
|
342
329
|
<a name="gdk-colormap-alloc-colors"></a><h3>gdk_colormap_alloc_colors ()</h3>
|
343
330
|
<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="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
344
331
|
<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colors</code></em>,
|
@@ -354,51 +341,44 @@ Allocates colors from a colormap.
|
|
354
341
|
<tbody>
|
355
342
|
<tr>
|
356
343
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
357
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
358
|
-
</td>
|
344
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
359
345
|
</tr>
|
360
346
|
<tr>
|
361
347
|
<td><p><span class="term"><em class="parameter"><code>colors</code></em> :</span></p></td>
|
362
348
|
<td>The color values to allocate. On return, the pixel
|
363
|
-
|
364
|
-
</td>
|
349
|
+
values for allocated colors will be filled in.</td>
|
365
350
|
</tr>
|
366
351
|
<tr>
|
367
352
|
<td><p><span class="term"><em class="parameter"><code>n_colors</code></em> :</span></p></td>
|
368
|
-
<td>The number of colors in <em class="parameter"><code>colors</code></em
|
369
|
-
</td>
|
353
|
+
<td>The number of colors in <em class="parameter"><code>colors</code></em>.</td>
|
370
354
|
</tr>
|
371
355
|
<tr>
|
372
356
|
<td><p><span class="term"><em class="parameter"><code>writeable</code></em> :</span></p></td>
|
373
357
|
<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
|
374
|
-
|
375
|
-
|
376
|
-
</td>
|
358
|
+
(their values can later be changed using <a class="link" href="gdk-Colormaps-and-Colors.html#gdk-color-change" title="gdk_color_change ()"><code class="function">gdk_color_change()</code></a>).
|
359
|
+
Writeable colors cannot be shared between applications.</td>
|
377
360
|
</tr>
|
378
361
|
<tr>
|
379
362
|
<td><p><span class="term"><em class="parameter"><code>best_match</code></em> :</span></p></td>
|
380
363
|
<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
|
381
|
-
|
382
|
-
</td>
|
364
|
+
existing colors if the colors cannot be allocated as requested.</td>
|
383
365
|
</tr>
|
384
366
|
<tr>
|
385
367
|
<td><p><span class="term"><em class="parameter"><code>success</code></em> :</span></p></td>
|
386
368
|
<td>An array of length <em class="parameter"><code>ncolors</code></em>. On return, this
|
387
|
-
|
388
|
-
|
389
|
-
</td>
|
369
|
+
indicates whether the corresponding color in <em class="parameter"><code>colors</code></em> was
|
370
|
+
successfully allocated or not.</td>
|
390
371
|
</tr>
|
391
372
|
<tr>
|
392
373
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
393
|
-
<td>
|
394
|
-
allocated
|
395
|
-
</td>
|
374
|
+
<td>The number of colors that were not successfully
|
375
|
+
allocated.</td>
|
396
376
|
</tr>
|
397
377
|
</tbody>
|
398
378
|
</table></div>
|
399
379
|
</div>
|
400
380
|
<hr>
|
401
|
-
<div class="refsect2"
|
381
|
+
<div class="refsect2">
|
402
382
|
<a name="gdk-colormap-alloc-color"></a><h3>gdk_colormap_alloc_color ()</h3>
|
403
383
|
<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="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
404
384
|
<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>,
|
@@ -412,39 +392,35 @@ Allocates a single color from a colormap.
|
|
412
392
|
<tbody>
|
413
393
|
<tr>
|
414
394
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
415
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
416
|
-
</td>
|
395
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
417
396
|
</tr>
|
418
397
|
<tr>
|
419
398
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
420
399
|
<td>the color to allocate. On return the
|
421
|
-
|
422
|
-
|
423
|
-
</td>
|
400
|
+
<em class="structfield"><code>pixel</code></em> field will be
|
401
|
+
filled in if allocation succeeds.</td>
|
424
402
|
</tr>
|
425
403
|
<tr>
|
426
404
|
<td><p><span class="term"><em class="parameter"><code>writeable</code></em> :</span></p></td>
|
427
405
|
<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
|
428
|
-
|
429
|
-
|
430
|
-
</td>
|
406
|
+
(their values can later be changed using <a class="link" href="gdk-Colormaps-and-Colors.html#gdk-color-change" title="gdk_color_change ()"><code class="function">gdk_color_change()</code></a>).
|
407
|
+
Writeable colors cannot be shared between applications.</td>
|
431
408
|
</tr>
|
432
409
|
<tr>
|
433
410
|
<td><p><span class="term"><em class="parameter"><code>best_match</code></em> :</span></p></td>
|
434
411
|
<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
|
435
|
-
|
436
|
-
</td>
|
412
|
+
existing colors if the color cannot be allocated as requested.</td>
|
437
413
|
</tr>
|
438
414
|
<tr>
|
439
415
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
440
|
-
<td>
|
441
|
-
</td>
|
416
|
+
<td>
|
417
|
+
<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>
|
442
418
|
</tr>
|
443
419
|
</tbody>
|
444
420
|
</table></div>
|
445
421
|
</div>
|
446
422
|
<hr>
|
447
|
-
<div class="refsect2"
|
423
|
+
<div class="refsect2">
|
448
424
|
<a name="gdk-colormap-free-colors"></a><h3>gdk_colormap_free_colors ()</h3>
|
449
425
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_colormap_free_colors (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
450
426
|
<em class="parameter"><code>const <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colors</code></em>,
|
@@ -457,24 +433,21 @@ Frees previously allocated colors.
|
|
457
433
|
<tbody>
|
458
434
|
<tr>
|
459
435
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
460
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
461
|
-
</td>
|
436
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
462
437
|
</tr>
|
463
438
|
<tr>
|
464
439
|
<td><p><span class="term"><em class="parameter"><code>colors</code></em> :</span></p></td>
|
465
|
-
<td>the colors to free
|
466
|
-
</td>
|
440
|
+
<td>the colors to free.</td>
|
467
441
|
</tr>
|
468
442
|
<tr>
|
469
443
|
<td><p><span class="term"><em class="parameter"><code>n_colors</code></em> :</span></p></td>
|
470
|
-
<td>the number of colors in <em class="parameter"><code>colors</code></em
|
471
|
-
</td>
|
444
|
+
<td>the number of colors in <em class="parameter"><code>colors</code></em>.</td>
|
472
445
|
</tr>
|
473
446
|
</tbody>
|
474
447
|
</table></div>
|
475
448
|
</div>
|
476
449
|
<hr>
|
477
|
-
<div class="refsect2"
|
450
|
+
<div class="refsect2">
|
478
451
|
<a name="gdk-colormap-query-color"></a><h3>gdk_colormap_query_color ()</h3>
|
479
452
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_colormap_query_color (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
480
453
|
<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>,
|
@@ -502,20 +475,18 @@ implement the eyedropper feature in <a href="http://library.gnome.org/devel/gtk/
|
|
502
475
|
</tr>
|
503
476
|
<tr>
|
504
477
|
<td><p><span class="term"><em class="parameter"><code>pixel</code></em> :</span></p></td>
|
505
|
-
<td>pixel value in hardware display format
|
506
|
-
</td>
|
478
|
+
<td>pixel value in hardware display format</td>
|
507
479
|
</tr>
|
508
480
|
<tr>
|
509
481
|
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
510
482
|
<td>
|
511
|
-
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> with red, green, blue fields initialized
|
512
|
-
</td>
|
483
|
+
<a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> with red, green, blue fields initialized</td>
|
513
484
|
</tr>
|
514
485
|
</tbody>
|
515
486
|
</table></div>
|
516
487
|
</div>
|
517
488
|
<hr>
|
518
|
-
<div class="refsect2"
|
489
|
+
<div class="refsect2">
|
519
490
|
<a name="gdk-colormap-get-visual"></a><h3>gdk_colormap_get_visual ()</h3>
|
520
491
|
<pre class="programlisting"><a class="link" href="gdk-Visuals.html#GdkVisual" title="GdkVisual"><span class="returnvalue">GdkVisual</span></a> * gdk_colormap_get_visual (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>);</pre>
|
521
492
|
<p>
|
@@ -526,19 +497,17 @@ Returns the visual for which a given colormap was created.
|
|
526
497
|
<tbody>
|
527
498
|
<tr>
|
528
499
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
529
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
530
|
-
</td>
|
500
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
531
501
|
</tr>
|
532
502
|
<tr>
|
533
503
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
534
|
-
<td>
|
535
|
-
</td>
|
504
|
+
<td>the visual of the colormap.</td>
|
536
505
|
</tr>
|
537
506
|
</tbody>
|
538
507
|
</table></div>
|
539
508
|
</div>
|
540
509
|
<hr>
|
541
|
-
<div class="refsect2"
|
510
|
+
<div class="refsect2">
|
542
511
|
<a name="gdk-colormap-get-screen"></a><h3>gdk_colormap_get_screen ()</h3>
|
543
512
|
<pre class="programlisting"><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="returnvalue">GdkScreen</span></a> * gdk_colormap_get_screen (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *cmap</code></em>);</pre>
|
544
513
|
<p>
|
@@ -554,21 +523,19 @@ Gets the screen for which this colormap was created.
|
|
554
523
|
</tr>
|
555
524
|
<tr>
|
556
525
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
557
|
-
<td>
|
558
|
-
|
559
|
-
</td>
|
526
|
+
<td>the screen for which this colormap was created.</td>
|
560
527
|
</tr>
|
561
528
|
</tbody>
|
562
529
|
</table></div>
|
563
530
|
<p class="since">Since 2.2</p>
|
564
531
|
</div>
|
565
532
|
<hr>
|
566
|
-
<div class="refsect2"
|
533
|
+
<div class="refsect2">
|
567
534
|
<a name="gdk-colors-store"></a><h3>gdk_colors_store ()</h3>
|
568
535
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_colors_store (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
569
536
|
<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colors</code></em>,
|
570
537
|
<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>
|
571
|
-
<div class="warning"
|
538
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
572
539
|
<h3 class="title">Warning</h3>
|
573
540
|
<p><code class="literal">gdk_colors_store</code> is deprecated and should not be used in newly-written code.</p>
|
574
541
|
</div>
|
@@ -582,24 +549,21 @@ should not be used. See <a class="link" href="gdk-Colormaps-and-Colors.html#gdk-
|
|
582
549
|
<tbody>
|
583
550
|
<tr>
|
584
551
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
585
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
586
|
-
</td>
|
552
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
587
553
|
</tr>
|
588
554
|
<tr>
|
589
555
|
<td><p><span class="term"><em class="parameter"><code>colors</code></em> :</span></p></td>
|
590
|
-
<td>the new color values
|
591
|
-
</td>
|
556
|
+
<td>the new color values.</td>
|
592
557
|
</tr>
|
593
558
|
<tr>
|
594
559
|
<td><p><span class="term"><em class="parameter"><code>ncolors</code></em> :</span></p></td>
|
595
|
-
<td>the number of colors to change
|
596
|
-
</td>
|
560
|
+
<td>the number of colors to change.</td>
|
597
561
|
</tr>
|
598
562
|
</tbody>
|
599
563
|
</table></div>
|
600
564
|
</div>
|
601
565
|
<hr>
|
602
|
-
<div class="refsect2"
|
566
|
+
<div class="refsect2">
|
603
567
|
<a name="gdk-color-copy"></a><h3>gdk_color_copy ()</h3>
|
604
568
|
<pre class="programlisting"><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="returnvalue">GdkColor</span></a> * gdk_color_copy (<em class="parameter"><code>const <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
605
569
|
<p>
|
@@ -611,19 +575,17 @@ must be freed using <a class="link" href="gdk-Colormaps-and-Colors.html#gdk-colo
|
|
611
575
|
<tbody>
|
612
576
|
<tr>
|
613
577
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
614
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a
|
615
|
-
</td>
|
578
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a>.</td>
|
616
579
|
</tr>
|
617
580
|
<tr>
|
618
581
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
619
|
-
<td>
|
620
|
-
</td>
|
582
|
+
<td>a copy of <em class="parameter"><code>color</code></em>.</td>
|
621
583
|
</tr>
|
622
584
|
</tbody>
|
623
585
|
</table></div>
|
624
586
|
</div>
|
625
587
|
<hr>
|
626
|
-
<div class="refsect2"
|
588
|
+
<div class="refsect2">
|
627
589
|
<a name="gdk-color-free"></a><h3>gdk_color_free ()</h3>
|
628
590
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_color_free (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
629
591
|
<p>
|
@@ -634,13 +596,12 @@ Frees a color structure created with
|
|
634
596
|
<col align="left" valign="top">
|
635
597
|
<tbody><tr>
|
636
598
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
637
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a
|
638
|
-
</td>
|
599
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a>.</td>
|
639
600
|
</tr></tbody>
|
640
601
|
</table></div>
|
641
602
|
</div>
|
642
603
|
<hr>
|
643
|
-
<div class="refsect2"
|
604
|
+
<div class="refsect2">
|
644
605
|
<a name="gdk-colors-alloc"></a><h3>gdk_colors_alloc ()</h3>
|
645
606
|
<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="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
646
607
|
<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>,
|
@@ -648,7 +609,7 @@ Frees a color structure created with
|
|
648
609
|
<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>,
|
649
610
|
<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>,
|
650
611
|
<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>
|
651
|
-
<div class="warning"
|
612
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
652
613
|
<h3 class="title">Warning</h3>
|
653
614
|
<p><code class="literal">gdk_colors_alloc</code> is deprecated and should not be used in newly-written code.</p>
|
654
615
|
</div>
|
@@ -663,52 +624,46 @@ the Xlib documentation for <code class="function"><code class="function">XAllocC
|
|
663
624
|
<tbody>
|
664
625
|
<tr>
|
665
626
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
666
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
667
|
-
</td>
|
627
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
668
628
|
</tr>
|
669
629
|
<tr>
|
670
630
|
<td><p><span class="term"><em class="parameter"><code>contiguous</code></em> :</span></p></td>
|
671
631
|
<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
|
672
|
-
|
673
|
-
</td>
|
632
|
+
in contiguous color cells.</td>
|
674
633
|
</tr>
|
675
634
|
<tr>
|
676
635
|
<td><p><span class="term"><em class="parameter"><code>planes</code></em> :</span></p></td>
|
677
|
-
<td>an array in which to store the plane masks
|
678
|
-
</td>
|
636
|
+
<td>an array in which to store the plane masks.</td>
|
679
637
|
</tr>
|
680
638
|
<tr>
|
681
639
|
<td><p><span class="term"><em class="parameter"><code>nplanes</code></em> :</span></p></td>
|
682
640
|
<td>the number of planes to allocate. (Or zero,
|
683
|
-
|
684
|
-
</td>
|
641
|
+
to indicate that the color allocation should not be planar.)</td>
|
685
642
|
</tr>
|
686
643
|
<tr>
|
687
644
|
<td><p><span class="term"><em class="parameter"><code>pixels</code></em> :</span></p></td>
|
688
|
-
<td>an array into which to store allocated pixel values
|
689
|
-
</td>
|
645
|
+
<td>an array into which to store allocated pixel values.</td>
|
690
646
|
</tr>
|
691
647
|
<tr>
|
692
648
|
<td><p><span class="term"><em class="parameter"><code>npixels</code></em> :</span></p></td>
|
693
|
-
<td>the number of pixels in each plane to allocate
|
694
|
-
</td>
|
649
|
+
<td>the number of pixels in each plane to allocate.</td>
|
695
650
|
</tr>
|
696
651
|
<tr>
|
697
652
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
698
|
-
<td>
|
699
|
-
</td>
|
653
|
+
<td>
|
654
|
+
<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>
|
700
655
|
</tr>
|
701
656
|
</tbody>
|
702
657
|
</table></div>
|
703
658
|
</div>
|
704
659
|
<hr>
|
705
|
-
<div class="refsect2"
|
660
|
+
<div class="refsect2">
|
706
661
|
<a name="gdk-colors-free"></a><h3>gdk_colors_free ()</h3>
|
707
662
|
<pre class="programlisting"><span class="returnvalue">void</span> gdk_colors_free (<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
708
663
|
<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>,
|
709
664
|
<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>,
|
710
665
|
<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>
|
711
|
-
<div class="warning"
|
666
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
712
667
|
<h3 class="title">Warning</h3>
|
713
668
|
<p><code class="literal">gdk_colors_free</code> is deprecated and should not be used in newly-written code.</p>
|
714
669
|
</div>
|
@@ -721,33 +676,29 @@ function is obsolete. See <a class="link" href="gdk-Colormaps-and-Colors.html#gd
|
|
721
676
|
<tbody>
|
722
677
|
<tr>
|
723
678
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
724
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
725
|
-
</td>
|
679
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
726
680
|
</tr>
|
727
681
|
<tr>
|
728
682
|
<td><p><span class="term"><em class="parameter"><code>pixels</code></em> :</span></p></td>
|
729
|
-
<td>the pixel values of the colors to free
|
730
|
-
</td>
|
683
|
+
<td>the pixel values of the colors to free.</td>
|
731
684
|
</tr>
|
732
685
|
<tr>
|
733
686
|
<td><p><span class="term"><em class="parameter"><code>npixels</code></em> :</span></p></td>
|
734
|
-
<td>the number of values in <em class="parameter"><code>pixels</code></em
|
735
|
-
</td>
|
687
|
+
<td>the number of values in <em class="parameter"><code>pixels</code></em>.</td>
|
736
688
|
</tr>
|
737
689
|
<tr>
|
738
690
|
<td><p><span class="term"><em class="parameter"><code>planes</code></em> :</span></p></td>
|
739
|
-
<td>the plane masks for all planes to free, OR'd together
|
740
|
-
</td>
|
691
|
+
<td>the plane masks for all planes to free, OR'd together.</td>
|
741
692
|
</tr>
|
742
693
|
</tbody>
|
743
694
|
</table></div>
|
744
695
|
</div>
|
745
696
|
<hr>
|
746
|
-
<div class="refsect2"
|
697
|
+
<div class="refsect2">
|
747
698
|
<a name="gdk-color-white"></a><h3>gdk_color_white ()</h3>
|
748
699
|
<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="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
749
700
|
<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
750
|
-
<div class="warning"
|
701
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
751
702
|
<h3 class="title">Warning</h3>
|
752
703
|
<p><code class="literal">gdk_color_white</code> is deprecated and should not be used in newly-written code.</p>
|
753
704
|
</div>
|
@@ -760,28 +711,26 @@ value has already allocated been allocated.
|
|
760
711
|
<tbody>
|
761
712
|
<tr>
|
762
713
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
763
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
764
|
-
</td>
|
714
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
765
715
|
</tr>
|
766
716
|
<tr>
|
767
717
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
768
|
-
<td>the location to store the color
|
769
|
-
</td>
|
718
|
+
<td>the location to store the color.</td>
|
770
719
|
</tr>
|
771
720
|
<tr>
|
772
721
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
773
|
-
<td>
|
774
|
-
</td>
|
722
|
+
<td>
|
723
|
+
<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>
|
775
724
|
</tr>
|
776
725
|
</tbody>
|
777
726
|
</table></div>
|
778
727
|
</div>
|
779
728
|
<hr>
|
780
|
-
<div class="refsect2"
|
729
|
+
<div class="refsect2">
|
781
730
|
<a name="gdk-color-black"></a><h3>gdk_color_black ()</h3>
|
782
731
|
<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="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
783
732
|
<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
784
|
-
<div class="warning"
|
733
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
785
734
|
<h3 class="title">Warning</h3>
|
786
735
|
<p><code class="literal">gdk_color_black</code> is deprecated and should not be used in newly-written code.</p>
|
787
736
|
</div>
|
@@ -794,24 +743,22 @@ value has already been allocated.
|
|
794
743
|
<tbody>
|
795
744
|
<tr>
|
796
745
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
797
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
798
|
-
</td>
|
746
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
799
747
|
</tr>
|
800
748
|
<tr>
|
801
749
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
802
|
-
<td>the location to store the color
|
803
|
-
</td>
|
750
|
+
<td>the location to store the color.</td>
|
804
751
|
</tr>
|
805
752
|
<tr>
|
806
753
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
807
|
-
<td>
|
808
|
-
</td>
|
754
|
+
<td>
|
755
|
+
<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>
|
809
756
|
</tr>
|
810
757
|
</tbody>
|
811
758
|
</table></div>
|
812
759
|
</div>
|
813
760
|
<hr>
|
814
|
-
<div class="refsect2"
|
761
|
+
<div class="refsect2">
|
815
762
|
<a name="gdk-color-parse"></a><h3>gdk_color_parse ()</h3>
|
816
763
|
<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>,
|
817
764
|
<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
@@ -834,28 +781,27 @@ in the four forms is '#fff' '#ffffff' '#fffffffff' and
|
|
834
781
|
<tbody>
|
835
782
|
<tr>
|
836
783
|
<td><p><span class="term"><em class="parameter"><code>spec</code></em> :</span></p></td>
|
837
|
-
<td>the string specifying the color
|
838
|
-
</td>
|
784
|
+
<td>the string specifying the color.</td>
|
839
785
|
</tr>
|
840
786
|
<tr>
|
841
787
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
842
|
-
<td>
|
788
|
+
<td>the <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> to fill in. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
843
789
|
</td>
|
844
790
|
</tr>
|
845
791
|
<tr>
|
846
792
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
847
|
-
<td>
|
848
|
-
</td>
|
793
|
+
<td>
|
794
|
+
<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>
|
849
795
|
</tr>
|
850
796
|
</tbody>
|
851
797
|
</table></div>
|
852
798
|
</div>
|
853
799
|
<hr>
|
854
|
-
<div class="refsect2"
|
800
|
+
<div class="refsect2">
|
855
801
|
<a name="gdk-color-alloc"></a><h3>gdk_color_alloc ()</h3>
|
856
802
|
<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="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
857
803
|
<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
858
|
-
<div class="warning"
|
804
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
859
805
|
<h3 class="title">Warning</h3>
|
860
806
|
<p><code class="literal">gdk_color_alloc</code> has been deprecated since version 2.2 and should not be used in newly-written code. Use <a class="link" href="gdk-Colormaps-and-Colors.html#gdk-colormap-alloc-color" title="gdk_colormap_alloc_color ()"><code class="function">gdk_colormap_alloc_color()</code></a> instead.</p>
|
861
807
|
</div>
|
@@ -867,30 +813,27 @@ Allocates a single color from a colormap.
|
|
867
813
|
<tbody>
|
868
814
|
<tr>
|
869
815
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
870
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
871
|
-
</td>
|
816
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
872
817
|
</tr>
|
873
818
|
<tr>
|
874
819
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
875
|
-
<td>The color to allocate. On return, the
|
876
|
-
|
877
|
-
</td>
|
820
|
+
<td>The color to allocate. On return, the
|
821
|
+
<em class="structfield"><code>pixel</code></em> field will be filled in.</td>
|
878
822
|
</tr>
|
879
823
|
<tr>
|
880
824
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
881
|
-
<td>
|
882
|
-
|
883
|
-
</td>
|
825
|
+
<td>
|
826
|
+
<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>
|
884
827
|
</tr>
|
885
828
|
</tbody>
|
886
829
|
</table></div>
|
887
830
|
</div>
|
888
831
|
<hr>
|
889
|
-
<div class="refsect2"
|
832
|
+
<div class="refsect2">
|
890
833
|
<a name="gdk-color-change"></a><h3>gdk_color_change ()</h3>
|
891
834
|
<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="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a> *colormap</code></em>,
|
892
835
|
<em class="parameter"><code><a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
893
|
-
<div class="warning"
|
836
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
894
837
|
<h3 class="title">Warning</h3>
|
895
838
|
<p><code class="literal">gdk_color_change</code> is deprecated and should not be used in newly-written code.</p>
|
896
839
|
</div>
|
@@ -906,26 +849,24 @@ using <a class="link" href="gdk-Colormaps-and-Colors.html#gdk-colormap-alloc-col
|
|
906
849
|
<tbody>
|
907
850
|
<tr>
|
908
851
|
<td><p><span class="term"><em class="parameter"><code>colormap</code></em> :</span></p></td>
|
909
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a
|
910
|
-
</td>
|
852
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColormap" title="GdkColormap"><span class="type">GdkColormap</span></a>.</td>
|
911
853
|
</tr>
|
912
854
|
<tr>
|
913
855
|
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
914
856
|
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a>, with the color to change
|
915
857
|
in the <em class="structfield"><code>pixel</code></em> field,
|
916
|
-
and the new value in the remaining fields
|
917
|
-
</td>
|
858
|
+
and the new value in the remaining fields.</td>
|
918
859
|
</tr>
|
919
860
|
<tr>
|
920
861
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
921
|
-
<td>
|
922
|
-
</td>
|
862
|
+
<td>
|
863
|
+
<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>
|
923
864
|
</tr>
|
924
865
|
</tbody>
|
925
866
|
</table></div>
|
926
867
|
</div>
|
927
868
|
<hr>
|
928
|
-
<div class="refsect2"
|
869
|
+
<div class="refsect2">
|
929
870
|
<a name="gdk-color-equal"></a><h3>gdk_color_equal ()</h3>
|
930
871
|
<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="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colora</code></em>,
|
931
872
|
<em class="parameter"><code>const <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colorb</code></em>);</pre>
|
@@ -937,24 +878,22 @@ Compares two colors.
|
|
937
878
|
<tbody>
|
938
879
|
<tr>
|
939
880
|
<td><p><span class="term"><em class="parameter"><code>colora</code></em> :</span></p></td>
|
940
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a
|
941
|
-
</td>
|
881
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a>.</td>
|
942
882
|
</tr>
|
943
883
|
<tr>
|
944
884
|
<td><p><span class="term"><em class="parameter"><code>colorb</code></em> :</span></p></td>
|
945
|
-
<td>another <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a
|
946
|
-
</td>
|
885
|
+
<td>another <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a>.</td>
|
947
886
|
</tr>
|
948
887
|
<tr>
|
949
888
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
950
|
-
<td>
|
951
|
-
</td>
|
889
|
+
<td>
|
890
|
+
<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>
|
952
891
|
</tr>
|
953
892
|
</tbody>
|
954
893
|
</table></div>
|
955
894
|
</div>
|
956
895
|
<hr>
|
957
|
-
<div class="refsect2"
|
896
|
+
<div class="refsect2">
|
958
897
|
<a name="gdk-color-hash"></a><h3>gdk_color_hash ()</h3>
|
959
898
|
<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="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *colora</code></em>);</pre>
|
960
899
|
<p>
|
@@ -966,19 +905,18 @@ table that stores <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor"
|
|
966
905
|
<tbody>
|
967
906
|
<tr>
|
968
907
|
<td><p><span class="term"><em class="parameter"><code>colora</code></em> :</span></p></td>
|
969
|
-
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a
|
970
|
-
</td>
|
908
|
+
<td>a <a class="link" href="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a>.</td>
|
971
909
|
</tr>
|
972
910
|
<tr>
|
973
911
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
974
|
-
<td>
|
912
|
+
<td>The hash function applied to <em class="parameter"><code>colora</code></em>
|
975
913
|
</td>
|
976
914
|
</tr>
|
977
915
|
</tbody>
|
978
916
|
</table></div>
|
979
917
|
</div>
|
980
918
|
<hr>
|
981
|
-
<div class="refsect2"
|
919
|
+
<div class="refsect2">
|
982
920
|
<a name="gdk-color-to-string"></a><h3>gdk_color_to_string ()</h3>
|
983
921
|
<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="gdk-Colormaps-and-Colors.html#GdkColor" title="GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
|
984
922
|
<p>
|
@@ -997,9 +935,7 @@ representing the red, green and blue components respectively.
|
|
997
935
|
</tr>
|
998
936
|
<tr>
|
999
937
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1000
|
-
<td>
|
1001
|
-
|
1002
|
-
</td>
|
938
|
+
<td>a newly-allocated text string</td>
|
1003
939
|
</tr>
|
1004
940
|
</tbody>
|
1005
941
|
</table></div>
|
@@ -1009,6 +945,6 @@ representing the red, green and blue components respectively.
|
|
1009
945
|
</div>
|
1010
946
|
<div class="footer">
|
1011
947
|
<hr>
|
1012
|
-
Generated by GTK-Doc V1.
|
948
|
+
Generated by GTK-Doc V1.16.1</div>
|
1013
949
|
</body>
|
1014
950
|
</html>
|