gtk2 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +66 -1
- data/ext/gtk2/extconf.rb +0 -96
- data/ext/gtk2/global.h +274 -13
- data/ext/gtk2/gtk2.def +5 -3
- data/ext/gtk2/init.c +263 -19
- data/ext/gtk2/rbgdk.c +245 -89
- data/ext/gtk2/rbgdk.h +32 -6
- data/ext/gtk2/rbgdkatom.c +38 -28
- data/ext/gtk2/rbgdkcairo.c +32 -42
- data/ext/gtk2/rbgdkcolor.c +52 -42
- data/ext/gtk2/rbgdkcolormap.c +42 -37
- data/ext/gtk2/rbgdkconst.c +23 -13
- data/ext/gtk2/rbgdkconversions.h +19 -6
- data/ext/gtk2/rbgdkcursor.c +37 -25
- data/ext/gtk2/rbgdkdevice.c +77 -67
- data/ext/gtk2/rbgdkdisplay.c +158 -150
- data/ext/gtk2/rbgdkdisplaymanager.c +27 -15
- data/ext/gtk2/rbgdkdragcontext.c +121 -70
- data/ext/gtk2/rbgdkdraw.c +252 -160
- data/ext/gtk2/rbgdkevent.c +30 -20
- data/ext/gtk2/rbgdkgc.c +123 -116
- data/ext/gtk2/rbgdkgeometry.c +77 -68
- data/ext/gtk2/rbgdkimage.c +58 -47
- data/ext/gtk2/rbgdkinput.c +33 -26
- data/ext/gtk2/rbgdkkeymap.c +38 -27
- data/ext/gtk2/rbgdkkeyval.c +44 -32
- data/ext/gtk2/rbgdkpango.c +66 -39
- data/ext/gtk2/rbgdkpangorenderer.c +63 -35
- data/ext/gtk2/rbgdkpixbuf.c +36 -25
- data/ext/gtk2/rbgdkpixmap.c +65 -49
- data/ext/gtk2/rbgdkproperty.c +66 -60
- data/ext/gtk2/rbgdkrectangle.c +54 -46
- data/ext/gtk2/rbgdkregion.c +144 -79
- data/ext/gtk2/rbgdkrgb.c +74 -58
- data/ext/gtk2/rbgdkscreen.c +103 -97
- data/ext/gtk2/rbgdkselection.c +49 -39
- data/ext/gtk2/rbgdkthreads.c +32 -19
- data/ext/gtk2/rbgdktimecoord.c +60 -38
- data/ext/gtk2/rbgdkvisual.c +79 -71
- data/ext/gtk2/rbgdkwindow.c +284 -305
- data/ext/gtk2/rbgdkwindowattr.c +69 -58
- data/ext/gtk2/rbgdkx11.c +41 -28
- data/ext/gtk2/rbgtk.c +498 -19
- data/ext/gtk2/rbgtk.h +35 -20
- data/ext/gtk2/rbgtkaboutdialog.c +33 -80
- data/ext/gtk2/rbgtkaccelerator.c +36 -23
- data/ext/gtk2/rbgtkaccelgroup.c +50 -40
- data/ext/gtk2/rbgtkaccelgroupentry.c +32 -20
- data/ext/gtk2/rbgtkaccelkey.c +40 -28
- data/ext/gtk2/rbgtkaccellabel.c +30 -18
- data/ext/gtk2/rbgtkaccelmap.c +55 -42
- data/ext/gtk2/rbgtkaccessible.c +25 -14
- data/ext/gtk2/rbgtkaction.c +68 -68
- data/ext/gtk2/rbgtkactiongroup.c +317 -195
- data/ext/gtk2/rbgtkadjustment.c +33 -46
- data/ext/gtk2/rbgtkalignment.c +36 -24
- data/ext/gtk2/rbgtkallocation.c +53 -42
- data/ext/gtk2/rbgtkarrow.c +34 -22
- data/ext/gtk2/rbgtkaspectframe.c +32 -20
- data/ext/gtk2/rbgtkassistant.c +81 -61
- data/ext/gtk2/rbgtkbbox.c +32 -20
- data/ext/gtk2/rbgtkbin.c +28 -16
- data/ext/gtk2/rbgtkbindingset.c +42 -35
- data/ext/gtk2/rbgtkborder.c +34 -23
- data/ext/gtk2/rbgtkbox.c +40 -29
- data/ext/gtk2/rbgtkbuildable.c +57 -45
- data/ext/gtk2/rbgtkbuilder.c +53 -38
- data/ext/gtk2/rbgtkbutton.c +41 -55
- data/ext/gtk2/rbgtkcalendar.c +51 -40
- data/ext/gtk2/rbgtkcelleditable.c +28 -17
- data/ext/gtk2/rbgtkcelllayout.c +41 -30
- data/ext/gtk2/rbgtkcellrenderer.c +43 -32
- data/ext/gtk2/rbgtkcellrendereraccel.c +26 -18
- data/ext/gtk2/rbgtkcellrenderercombo.c +25 -17
- data/ext/gtk2/rbgtkcellrendererpixbuf.c +24 -17
- data/ext/gtk2/rbgtkcellrendererprogress.c +25 -17
- data/ext/gtk2/rbgtkcellrendererspin.c +24 -16
- data/ext/gtk2/rbgtkcellrendererspinner.c +23 -11
- data/ext/gtk2/rbgtkcellrenderertext.c +28 -21
- data/ext/gtk2/rbgtkcellrenderertoggle.c +24 -16
- data/ext/gtk2/rbgtkcellview.c +34 -33
- data/ext/gtk2/rbgtkcheckbutton.c +28 -16
- data/ext/gtk2/rbgtkcheckmenuitem.c +31 -19
- data/ext/gtk2/rbgtkclipboard.c +123 -77
- data/ext/gtk2/rbgtkcolorbutton.c +26 -31
- data/ext/gtk2/rbgtkcolorsel.c +109 -55
- data/ext/gtk2/rbgtkcolorselectiondialog.c +28 -19
- data/ext/gtk2/rbgtkcombo.c +43 -32
- data/ext/gtk2/rbgtkcombobox.c +44 -83
- data/ext/gtk2/rbgtkcomboboxentry.c +26 -21
- data/ext/gtk2/rbgtkconst.c +23 -13
- data/ext/gtk2/rbgtkcontainer.c +153 -100
- data/ext/gtk2/rbgtkconversions.h +19 -6
- data/ext/gtk2/rbgtkcurve.c +46 -36
- data/ext/gtk2/rbgtkdialog.c +104 -70
- data/ext/gtk2/rbgtkdrag.c +173 -121
- data/ext/gtk2/rbgtkdrawingarea.c +28 -16
- data/ext/gtk2/rbgtkeditable.c +63 -51
- data/ext/gtk2/rbgtkentry.c +48 -85
- data/ext/gtk2/rbgtkentrycompletion.c +42 -55
- data/ext/gtk2/rbgtkeventbox.c +28 -16
- data/ext/gtk2/rbgtkexpander.c +26 -35
- data/ext/gtk2/rbgtkfilechooser.c +87 -143
- data/ext/gtk2/rbgtkfilechooserbutton.c +26 -32
- data/ext/gtk2/rbgtkfilechooserdialog.c +25 -15
- data/ext/gtk2/rbgtkfilechooserwidget.c +26 -15
- data/ext/gtk2/rbgtkfilefilter.c +45 -35
- data/ext/gtk2/rbgtkfilesel.c +54 -43
- data/ext/gtk2/rbgtkfilesystemerror.c +51 -0
- data/ext/gtk2/rbgtkfixed.c +36 -25
- data/ext/gtk2/rbgtkfontbutton.c +26 -37
- data/ext/gtk2/rbgtkfontselection.c +27 -15
- data/ext/gtk2/rbgtkfontselectiondialog.c +43 -32
- data/ext/gtk2/rbgtkframe.c +39 -28
- data/ext/gtk2/rbgtkgamma.c +32 -20
- data/ext/gtk2/rbgtkhandlebox.c +31 -19
- data/ext/gtk2/rbgtkhbbox.c +28 -16
- data/ext/gtk2/rbgtkhbox.c +29 -17
- data/ext/gtk2/rbgtkhpaned.c +28 -16
- data/ext/gtk2/rbgtkhruler.c +28 -16
- data/ext/gtk2/rbgtkhscale.c +28 -16
- data/ext/gtk2/rbgtkhscrollbar.c +28 -16
- data/ext/gtk2/rbgtkhseparator.c +28 -16
- data/ext/gtk2/rbgtkiconfactory.c +35 -23
- data/ext/gtk2/rbgtkiconinfo.c +42 -30
- data/ext/gtk2/rbgtkiconset.c +31 -19
- data/ext/gtk2/rbgtkiconsize.c +38 -25
- data/ext/gtk2/rbgtkiconsource.c +62 -50
- data/ext/gtk2/rbgtkicontheme.c +95 -95
- data/ext/gtk2/rbgtkiconview.c +87 -121
- data/ext/gtk2/rbgtkimage.c +31 -40
- data/ext/gtk2/rbgtkimagemenuitem.c +26 -14
- data/ext/gtk2/rbgtkimcontext.c +46 -34
- data/ext/gtk2/rbgtkimcontextsimple.c +47 -24
- data/ext/gtk2/rbgtkimmulticontext.c +26 -14
- data/ext/gtk2/rbgtkinputdialog.c +28 -16
- data/ext/gtk2/rbgtkinvisible.c +24 -18
- data/ext/gtk2/rbgtkitem.c +32 -20
- data/ext/gtk2/rbgtkitemfactory.c +65 -57
- data/ext/gtk2/rbgtklabel.c +46 -57
- data/ext/gtk2/rbgtklayout.c +40 -29
- data/ext/gtk2/rbgtklinkbutton.c +26 -15
- data/ext/gtk2/rbgtkliststore.c +145 -102
- data/ext/gtk2/rbgtkmacros.h +19 -6
- data/ext/gtk2/rbgtkmenu.c +47 -59
- data/ext/gtk2/rbgtkmenubar.c +30 -30
- data/ext/gtk2/rbgtkmenuitem.c +34 -41
- data/ext/gtk2/rbgtkmenushell.c +43 -42
- data/ext/gtk2/rbgtkmenutoolbutton.c +27 -16
- data/ext/gtk2/rbgtkmessagedialog.c +31 -25
- data/ext/gtk2/rbgtkmisc.c +33 -22
- data/ext/gtk2/rbgtknotebook.c +98 -134
- data/ext/gtk2/rbgtkobject.c +46 -81
- data/ext/gtk2/rbgtkoptionmenu.c +35 -23
- data/ext/gtk2/rbgtkpagesetup.c +64 -54
- data/ext/gtk2/rbgtkpagesetupunixdialog.c +34 -27
- data/ext/gtk2/rbgtkpaned.c +46 -36
- data/ext/gtk2/rbgtkpapersize.c +60 -54
- data/ext/gtk2/rbgtkplug.c +32 -20
- data/ext/gtk2/rbgtkprintcontext.c +43 -35
- data/ext/gtk2/rbgtkprinter.c +36 -37
- data/ext/gtk2/rbgtkprintjob.c +36 -37
- data/ext/gtk2/rbgtkprintoperation.c +44 -33
- data/ext/gtk2/rbgtkprintoperationpreview.c +30 -18
- data/ext/gtk2/rbgtkprintsettings.c +248 -192
- data/ext/gtk2/rbgtkprintunixdialog.c +33 -45
- data/ext/gtk2/rbgtkprogress.c +23 -13
- data/ext/gtk2/rbgtkprogressbar.c +47 -46
- data/ext/gtk2/rbgtkradioaction.c +84 -39
- data/ext/gtk2/rbgtkradiobutton.c +33 -21
- data/ext/gtk2/rbgtkradiomenuitem.c +86 -45
- data/ext/gtk2/rbgtkradiotoolbutton.c +99 -53
- data/ext/gtk2/rbgtkrange.c +36 -56
- data/ext/gtk2/rbgtkrc.c +61 -49
- data/ext/gtk2/rbgtkrcstyle.c +59 -48
- data/ext/gtk2/rbgtkrecentaction.c +28 -16
- data/ext/gtk2/rbgtkrecentchooser.c +58 -92
- data/ext/gtk2/rbgtkrecentchooserdialog.c +29 -18
- data/ext/gtk2/rbgtkrecentchoosermenu.c +25 -21
- data/ext/gtk2/rbgtkrecentchooserwidget.c +24 -13
- data/ext/gtk2/rbgtkrecentdata.c +47 -36
- data/ext/gtk2/rbgtkrecentfilter.c +55 -46
- data/ext/gtk2/rbgtkrecentfilterinfo.c +51 -40
- data/ext/gtk2/rbgtkrecentinfo.c +66 -56
- data/ext/gtk2/rbgtkrecentmanager.c +47 -43
- data/ext/gtk2/rbgtkruler.c +35 -30
- data/ext/gtk2/rbgtkscale.c +29 -18
- data/ext/gtk2/rbgtkscalebutton.c +27 -27
- data/ext/gtk2/rbgtkscrollbar.c +23 -13
- data/ext/gtk2/rbgtkscrolledwindow.c +44 -60
- data/ext/gtk2/rbgtkselection.c +87 -67
- data/ext/gtk2/rbgtkselectiondata.c +74 -65
- data/ext/gtk2/rbgtkseparator.c +23 -13
- data/ext/gtk2/rbgtkseparatormenuitem.c +25 -13
- data/ext/gtk2/rbgtkseparatortoolitem.c +26 -21
- data/ext/gtk2/rbgtksettings.c +123 -103
- data/ext/gtk2/rbgtksizegroup.c +33 -30
- data/ext/gtk2/rbgtksocket.c +32 -20
- data/ext/gtk2/rbgtkspinbutton.c +48 -38
- data/ext/gtk2/rbgtkspinner.c +27 -14
- data/ext/gtk2/rbgtkstatusbar.c +36 -31
- data/ext/gtk2/rbgtkstatusicon.c +31 -44
- data/ext/gtk2/rbgtkstock.c +137 -125
- data/ext/gtk2/rbgtkstyle.c +177 -161
- data/ext/gtk2/rbgtktable.c +58 -47
- data/ext/gtk2/rbgtktargetlist.c +56 -36
- data/ext/gtk2/rbgtktearoffmenuitem.c +28 -16
- data/ext/gtk2/rbgtktextappearance.c +44 -34
- data/ext/gtk2/rbgtktextattributes.c +54 -42
- data/ext/gtk2/rbgtktextbuffer.c +188 -191
- data/ext/gtk2/rbgtktextchild.c +29 -18
- data/ext/gtk2/rbgtktextiter.c +153 -145
- data/ext/gtk2/rbgtktextmark.c +33 -30
- data/ext/gtk2/rbgtktexttag.c +34 -22
- data/ext/gtk2/rbgtktexttagtable.c +36 -25
- data/ext/gtk2/rbgtktextview.c +85 -73
- data/ext/gtk2/rbgtktoggleaction.c +27 -22
- data/ext/gtk2/rbgtktogglebutton.c +37 -26
- data/ext/gtk2/rbgtktoggletoolbutton.c +26 -20
- data/ext/gtk2/rbgtktoolbar.c +66 -69
- data/ext/gtk2/rbgtktoolbutton.c +27 -40
- data/ext/gtk2/rbgtktoolitem.c +60 -62
- data/ext/gtk2/rbgtktooltip.c +36 -25
- data/ext/gtk2/rbgtktooltips.c +42 -34
- data/ext/gtk2/rbgtktreedragdest.c +20 -11
- data/ext/gtk2/rbgtktreedragsource.c +20 -11
- data/ext/gtk2/rbgtktreeiter.c +58 -47
- data/ext/gtk2/rbgtktreemodel.c +83 -65
- data/ext/gtk2/rbgtktreemodelfilter.c +47 -35
- data/ext/gtk2/rbgtktreemodelsort.c +38 -27
- data/ext/gtk2/rbgtktreepath.c +55 -44
- data/ext/gtk2/rbgtktreerowreference.c +60 -42
- data/ext/gtk2/rbgtktreeselection.c +61 -52
- data/ext/gtk2/rbgtktreesortable.c +52 -42
- data/ext/gtk2/rbgtktreestore.c +88 -67
- data/ext/gtk2/rbgtktreeview.c +157 -185
- data/ext/gtk2/rbgtktreeviewcolumn.c +57 -62
- data/ext/gtk2/rbgtkuimanager.c +61 -61
- data/ext/gtk2/rbgtkvbbox.c +28 -16
- data/ext/gtk2/rbgtkvbox.c +29 -17
- data/ext/gtk2/rbgtkviewport.c +28 -16
- data/ext/gtk2/rbgtkvolumebutton.c +28 -16
- data/ext/gtk2/rbgtkvpaned.c +28 -16
- data/ext/gtk2/rbgtkvruler.c +28 -16
- data/ext/gtk2/rbgtkvscale.c +28 -16
- data/ext/gtk2/rbgtkvscrollbar.c +28 -16
- data/ext/gtk2/rbgtkvseparator.c +28 -16
- data/ext/gtk2/rbgtkwidget.c +284 -296
- data/ext/gtk2/rbgtkwindow.c +156 -214
- data/ext/gtk2/rbgtkwindowgroup.c +35 -24
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/sample/testgtk/labels.rb +1 -0
- data/sample/testgtk/testgtk.rb +2 -0
- 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 +4 -7
- data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +4 -2
- 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 +2 -1
- 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 +6 -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 +18 -14
- data/vendor/local/include/gtk-2.0/gtk/gtkaction.h +7 -7
- data/vendor/local/include/gtk-2.0/gtk/gtkactiongroup.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkassistant.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkbutton.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorbutton.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +15 -4
- 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/gtkentry.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkentrybuffer.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkexpander.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooser.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkfilefilter.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkfilesel.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkfontbutton.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkfontsel.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkframe.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkiconfactory.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkicontheme.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkimage.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkitemfactory.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtklabel.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +3 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +5 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkmenu.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkmenuitem.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +9 -7
- data/vendor/local/include/gtk-2.0/gtk/gtkpapersize.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkprintoperation.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkprintsettings.h +7 -7
- data/vendor/local/include/gtk-2.0/gtk/gtkprivate.h +25 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkprogressbar.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +6 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentfilter.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentmanager.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkstatusicon.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktextmark.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtktoolbutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktoolitemgroup.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtktoolpalette.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtktreeviewcolumn.h +1 -1
- 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 +6 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +8 -7
- 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.8-1_win32.mft} +10 -8
- data/vendor/local/manifest/{gtk+_2.22.1-1_win32.mft → gtk+_2.24.8-1_win32.mft} +2 -6
- data/vendor/local/share/doc/{gtk+-2.22.1 → gtk+-2.24.8}/COPYING +0 -0
- data/vendor/local/share/doc/{gtk+-dev-2.22.1 → gtk+-dev-2.24.8}/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/editable_cells.c +5 -5
- data/vendor/local/share/gtk-2.0/demo/iconview.c +1 -0
- 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 +74 -108
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +48 -62
- 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 +154 -211
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +35 -39
- data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +182 -241
- data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +9 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +26 -26
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +150 -20
- data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +174 -138
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +24 -27
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +136 -136
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +88 -46
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +139 -203
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +76 -95
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +164 -203
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +303 -419
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +324 -439
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +114 -147
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +157 -236
- data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +159 -233
- data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +114 -134
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +170 -252
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +92 -133
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +146 -194
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +37 -55
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +183 -198
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +94 -121
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +100 -158
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +147 -179
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +190 -237
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +100 -137
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +26 -39
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +61 -87
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +86 -111
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +725 -801
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +51 -134
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +75 -158
- data/vendor/local/share/gtk-doc/html/gdk/index.html +10 -13
- data/vendor/local/share/gtk-doc/html/gdk/index.sgml +10 -94
- data/vendor/local/share/gtk-doc/html/gdk/multihead.html +15 -15
- data/vendor/local/share/gtk-doc/html/gdk/reference.html +8 -10
- data/vendor/local/share/gtk-doc/html/gdk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/Actions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/Builder.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +228 -212
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +41 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +181 -248
- data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +178 -261
- data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +48 -52
- data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +80 -116
- data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +58 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +32 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +38 -48
- data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +113 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +97 -122
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +88 -116
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +100 -139
- data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +156 -187
- data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +61 -78
- data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +637 -917
- data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +570 -1841
- data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +130 -165
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +38 -40
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +62 -89
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +136 -160
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +40 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +29 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +33 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +25 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +21 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +21 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +75 -80
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +47 -56
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +65 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +32 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +63 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +128 -200
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +31 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +65 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +346 -188
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +59 -48
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +328 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +170 -262
- data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +63 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +102 -124
- data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +28 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +71 -90
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +389 -491
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +73 -106
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +132 -187
- data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +37 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +80 -100
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +358 -414
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +71 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +32 -37
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +23 -28
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +104 -148
- data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +43 -54
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +64 -90
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +70 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +54 -63
- data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +55 -60
- data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +20 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +19 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +31 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +32 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +67 -92
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +27 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +21 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +57 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +153 -191
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +20 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +20 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +213 -271
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +333 -455
- data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +241 -262
- data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +60 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +69 -82
- data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +37 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +42 -50
- data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +38 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +185 -276
- data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +201 -251
- data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +72 -78
- data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +55 -64
- data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +132 -182
- data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +82 -132
- data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +142 -172
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +185 -229
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +43 -51
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +114 -147
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +89 -121
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +75 -51
- data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +83 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +37 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +398 -454
- data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +150 -208
- data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +30 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +82 -167
- data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +58 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +117 -162
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +24 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +99 -139
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkPaperSize.html → GtkPaperSize.html} +206 -254
- data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +51 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +67 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +122 -149
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +40 -51
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +57 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +284 -413
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +76 -96
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +112 -142
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +82 -113
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +93 -110
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +44 -55
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +88 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +65 -73
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +35 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +224 -188
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +36 -43
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +137 -196
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +29 -31
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +27 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +19 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +67 -89
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +219 -286
- data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +85 -60
- data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +63 -74
- data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +67 -84
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +98 -146
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +26 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +134 -264
- data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +40 -47
- data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +52 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +134 -179
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +26 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +221 -285
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +62 -77
- data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +754 -1135
- data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +96 -137
- data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +20 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +105 -148
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +527 -685
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkTextIter.html → GtkTextIter.html} +666 -807
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +43 -48
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +180 -210
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +86 -78
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +355 -439
- data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +76 -96
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +45 -59
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +61 -73
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +34 -40
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +82 -93
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +135 -168
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +86 -105
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +121 -144
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +44 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +251 -362
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +62 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +107 -154
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +48 -136
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +434 -566
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +97 -127
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +65 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +125 -173
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +55 -64
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +173 -202
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +588 -867
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +209 -288
- data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +127 -191
- data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +19 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +29 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +33 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +26 -31
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +60 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +1499 -1795
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +447 -597
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +23 -41
- data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +8 -5
- data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/Printing.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +20 -14
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +121 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +239 -48
- data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +476 -388
- data/vendor/local/share/gtk-doc/html/gtk/ch01.html +17 -6
- data/vendor/local/share/gtk-doc/html/gtk/ch02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/glossary.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +78 -133
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +172 -234
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +235 -339
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +248 -318
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +37 -43
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +54 -60
- data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +295 -339
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +36 -42
- data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +80 -85
- data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +225 -293
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +180 -268
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +19 -22
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +159 -195
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +377 -450
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +192 -308
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +154 -158
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +95 -143
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +212 -243
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +273 -345
- data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +20 -13
- data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +65 -77
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +62 -79
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +7 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +115 -115
- data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +60 -33
- data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +440 -413
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +483 -456
- data/vendor/local/share/gtk-doc/html/gtk/gtk.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +11 -8
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/index.html +16 -12
- data/vendor/local/share/gtk-doc/html/gtk/index.sgml +189 -142
- data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/migrating.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/pt05.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/{document-x-generic.png → text-x-generic.png} +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +5 -5
- data/vendor/local/share/icons/hicolor/index.theme +1662 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtk20.mo +0 -0
- 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/de/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/es/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-properties.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/nl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20-properties.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/dieterv/packaging/gtk+_2.24.8-1_win32.log +4937 -0
- data/vendor/local/src/{tml/packaging/gtk+_2.22.1-1_win32.sh → dieterv/packaging/gtk+_2.24.8-1_win32.sh} +8 -8
- metadata +29 -31
- data/ChangeLog +0 -6902
- data/ext/gtk2/rbgtkmain.c +0 -493
- data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +0 -2500
- 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
@@ -4,11 +4,11 @@
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Cairo Interaction</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
-
<link rel="home" href="index.html" title="GDK Reference Manual">
|
7
|
+
<link rel="home" href="index.html" title="GDK 2 Reference Manual">
|
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
|
-
<link rel="next" href="gdk-
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
10
|
+
<link rel="next" href="gdk-Application-launching.html" title="Application launching">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.17 (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">
|
@@ -17,8 +17,8 @@
|
|
17
17
|
<td><a accesskey="p" href="gdk-Pango-Interaction.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
18
|
<td><a accesskey="u" href="reference.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GDK Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="gdk-
|
20
|
+
<th width="100%" align="center">GDK 2 Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="gdk-Application-launching.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
22
|
</tr>
|
23
23
|
<tr><td colspan="5" class="shortcuts">
|
24
24
|
<a href="#gdk-Cairo-Interaction.synopsis" class="shortcut">Top</a>
|
@@ -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>
|
@@ -48,22 +48,26 @@
|
|
48
48
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-set-source-color" title="gdk_cairo_set_source_color ()">gdk_cairo_set_source_color</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>,
|
49
49
|
<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>);
|
50
50
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-set-source-pixbuf" title="gdk_cairo_set_source_pixbuf ()">gdk_cairo_set_source_pixbuf</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>,
|
51
|
-
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-
|
51
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
52
52
|
<em class="parameter"><code><span class="type">double</span> pixbuf_x</code></em>,
|
53
53
|
<em class="parameter"><code><span class="type">double</span> pixbuf_y</code></em>);
|
54
54
|
<span class="returnvalue">void</span> <a class="link" href="gdk-Cairo-Interaction.html#gdk-cairo-set-source-pixmap" title="gdk_cairo_set_source_pixmap ()">gdk_cairo_set_source_pixmap</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>,
|
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,10 +196,10 @@ 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
|
-
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-
|
202
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
|
208
203
|
<em class="parameter"><code><span class="type">double</span> pixbuf_x</code></em>,
|
209
204
|
<em class="parameter"><code><span class="type">double</span> pixbuf_y</code></em>);</pre>
|
210
205
|
<p>
|
@@ -217,12 +212,11 @@ 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>
|
225
|
-
<td>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-
|
219
|
+
<td>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
226
220
|
</td>
|
227
221
|
</tr>
|
228
222
|
<tr>
|
@@ -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.17</div>
|
372
414
|
</body>
|
373
415
|
</html>
|
@@ -4,11 +4,11 @@
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Colormaps and Colors</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
-
<link rel="home" href="index.html" title="GDK Reference Manual">
|
7
|
+
<link rel="home" href="index.html" title="GDK 2 Reference Manual">
|
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.17 (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">
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<td><a accesskey="p" href="gdk-Pixbufs.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
18
|
<td><a accesskey="u" href="reference.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GDK Reference Manual</th>
|
20
|
+
<th width="100%" align="center">GDK 2 Reference Manual</th>
|
21
21
|
<td><a accesskey="n" href="gdk-Visuals.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
22
|
</tr>
|
23
23
|
<tr><td colspan="5" class="shortcuts">
|
@@ -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>,
|
@@ -485,12 +458,12 @@ hardware pixel <em class="parameter"><code>pixel</code></em>. <em class="paramet
|
|
485
458
|
colormap; it's a programmer error to call this function with a
|
486
459
|
pixel which is not in the colormap. Hardware pixels are normally
|
487
460
|
obtained from <a class="link" href="gdk-Colormaps-and-Colors.html#gdk-colormap-alloc-colors" title="gdk_colormap_alloc_colors ()"><code class="function">gdk_colormap_alloc_colors()</code></a>, or from a <a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a>. (A
|
488
|
-
<a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> contains image data in hardware format, a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-
|
461
|
+
<a class="link" href="gdk-Images.html#GdkImage" title="GdkImage"><span class="type">GdkImage</span></a> contains image data in hardware format, a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>
|
489
462
|
contains image data in a canonical 24-bit RGB format.)
|
490
463
|
</p>
|
491
464
|
<p>
|
492
465
|
This function is rarely useful; it's used for example to
|
493
|
-
implement the eyedropper feature in <a href="http://library.gnome.org/devel/
|
466
|
+
implement the eyedropper feature in <a href="http://library.gnome.org/devel/gtk3/GtkColorSelection.html"><span class="type">GtkColorSelection</span></a>.
|
494
467
|
</p>
|
495
468
|
<div class="variablelist"><table border="0">
|
496
469
|
<col align="left" valign="top">
|
@@ -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.17</div>
|
1013
949
|
</body>
|
1014
950
|
</html>
|