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>Main loop and Events</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
-
<link rel="home" href="index.html" title="GTK+ Reference Manual">
|
7
|
+
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="gtkbase.html" title="Part II. GTK+ Core Reference">
|
9
9
|
<link rel="prev" href="gtkbase.html" title="Part II. GTK+ Core Reference">
|
10
10
|
<link rel="next" href="gtk-Keyboard-Accelerators.html" title="Accelerator Groups">
|
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="gtkbase.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
18
|
<td><a accesskey="u" href="gtkbase.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">GTK+ Reference Manual</th>
|
20
|
+
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
|
21
21
|
<td><a accesskey="n" href="gtk-Keyboard-Accelerators.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="#gtk-General.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="gtk-General"></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="gtk-General.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <gtk/gtk.h>
|
@@ -63,16 +63,16 @@
|
|
63
63
|
<span class="returnvalue">void</span> <a class="link" href="gtk-General.html#gtk-main-quit" title="gtk_main_quit ()">gtk_main_quit</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
64
64
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-General.html#gtk-main-iteration" title="gtk_main_iteration ()">gtk_main_iteration</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
65
65
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-General.html#gtk-main-iteration-do" title="gtk_main_iteration_do ()">gtk_main_iteration_do</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);
|
66
|
-
<span class="returnvalue">void</span> <a class="link" href="gtk-General.html#gtk-main-do-event" title="gtk_main_do_event ()">gtk_main_do_event</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
66
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-General.html#gtk-main-do-event" title="gtk_main_do_event ()">gtk_main_do_event</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
67
67
|
<span class="returnvalue">void</span> (<a class="link" href="gtk-General.html#GtkModuleInitFunc" title="GtkModuleInitFunc ()">*GtkModuleInitFunc</a>) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *argc</code></em>,
|
68
68
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***argv</code></em>);
|
69
|
-
<span class="returnvalue">void</span> (<a class="link" href="gtk-General.html#GtkModuleDisplayInitFunc" title="GtkModuleDisplayInitFunc ()">*GtkModuleDisplayInitFunc</a>) (<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
69
|
+
<span class="returnvalue">void</span> (<a class="link" href="gtk-General.html#GtkModuleDisplayInitFunc" title="GtkModuleDisplayInitFunc ()">*GtkModuleDisplayInitFunc</a>) (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/GdkDisplay.html"><span class="type">GdkDisplay</span></a> *display</code></em>);
|
70
70
|
|
71
71
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-General.html#gtk-true" title="gtk_true ()">gtk_true</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
72
72
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-General.html#gtk-false" title="gtk_false ()">gtk_false</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
73
73
|
|
74
74
|
<span class="returnvalue">void</span> <a class="link" href="gtk-General.html#gtk-grab-add" title="gtk_grab_add ()">gtk_grab_add</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
75
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
75
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk-General.html#gtk-grab-get-current" title="gtk_grab_get_current ()">gtk_grab_get_current</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
76
76
|
<span class="returnvalue">void</span> <a class="link" href="gtk-General.html#gtk-grab-remove" title="gtk_grab_remove ()">gtk_grab_remove</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
77
77
|
|
78
78
|
<span class="returnvalue">void</span> <a class="link" href="gtk-General.html#gtk-init-add" title="gtk_init_add ()">gtk_init_add</a> (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
@@ -114,8 +114,8 @@
|
|
114
114
|
<span class="returnvalue">void</span> <a class="link" href="gtk-General.html#gtk-idle-remove-by-data" title="gtk_idle_remove_by_data ()">gtk_idle_remove_by_data</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
115
115
|
|
116
116
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk-General.html#gtk-input-add-full" title="gtk_input_add_full ()">gtk_input_add_full</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> source</code></em>,
|
117
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
118
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
117
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Input.html#GdkInputCondition"><span class="type">GdkInputCondition</span></a> condition</code></em>,
|
118
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Input.html#GdkInputFunction"><span class="type">GdkInputFunction</span></a> function</code></em>,
|
119
119
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
120
120
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
121
121
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
|
@@ -131,19 +131,19 @@
|
|
131
131
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gtk-General.html#gtk-key-snooper-install" title="gtk_key_snooper_install ()">gtk_key_snooper_install</a> (<em class="parameter"><code><a class="link" href="gtk-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()"><span class="type">GtkKeySnoopFunc</span></a> snooper</code></em>,
|
132
132
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>);
|
133
133
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> (<a class="link" href="gtk-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()">*GtkKeySnoopFunc</a>) (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *grab_widget</code></em>,
|
134
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
134
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>,
|
135
135
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>);
|
136
136
|
<span class="returnvalue">void</span> <a class="link" href="gtk-General.html#gtk-key-snooper-remove" title="gtk_key_snooper_remove ()">gtk_key_snooper_remove</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> snooper_handler_id</code></em>);
|
137
137
|
|
138
|
-
<a href="http://library.gnome.org/devel/
|
138
|
+
<a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="returnvalue">GdkEvent</span></a> * <a class="link" href="gtk-General.html#gtk-get-current-event" title="gtk_get_current_event ()">gtk_get_current_event</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
139
139
|
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> <a class="link" href="gtk-General.html#gtk-get-current-event-time" title="gtk_get_current_event_time ()">gtk_get_current_event_time</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
140
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-General.html#gtk-get-current-event-state" title="gtk_get_current_event_state ()">gtk_get_current_event_state</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
141
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
140
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-General.html#gtk-get-current-event-state" title="gtk_get_current_event_state ()">gtk_get_current_event_state</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> *state</code></em>);
|
141
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gtk-General.html#gtk-get-event-widget" title="gtk_get_event_widget ()">gtk_get_event_widget</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
142
142
|
<span class="returnvalue">void</span> <a class="link" href="gtk-General.html#gtk-propagate-event" title="gtk_propagate_event ()">gtk_propagate_event</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
143
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
143
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
144
144
|
</pre>
|
145
145
|
</div>
|
146
|
-
<div class="refsect1"
|
146
|
+
<div class="refsect1">
|
147
147
|
<a name="gtk-General.description"></a><h2>Description</h2>
|
148
148
|
<p>
|
149
149
|
Before using GTK+, you need to initialize it; initialization connects
|
@@ -175,7 +175,7 @@ When your callbacks are invoked, you would typically take some action
|
|
175
175
|
to the main loop and await more user input.
|
176
176
|
</p>
|
177
177
|
<div class="example">
|
178
|
-
<a name="
|
178
|
+
<a name="id614975"></a><p class="title"><b>Example 2. Typical <code class="function">main</code> function for a GTK+ application</b></p>
|
179
179
|
<div class="example-contents">
|
180
180
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
181
181
|
<tbody>
|
@@ -228,11 +228,15 @@ though it involves slightly more typing. See <a href="http://library.gnome.org/d
|
|
228
228
|
documentation.
|
229
229
|
</p>
|
230
230
|
</div>
|
231
|
-
<div class="refsect1"
|
231
|
+
<div class="refsect1">
|
232
232
|
<a name="gtk-General.details"></a><h2>Details</h2>
|
233
|
-
<div class="refsect2"
|
233
|
+
<div class="refsect2">
|
234
234
|
<a name="gtk-set-locale"></a><h3>gtk_set_locale ()</h3>
|
235
235
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_set_locale (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
236
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
237
|
+
<h3 class="title">Warning</h3>
|
238
|
+
<p><code class="literal">gtk_set_locale</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-running.html#setlocale"><code class="function">setlocale()</code></a> directly</p>
|
239
|
+
</div>
|
236
240
|
<p>
|
237
241
|
Initializes internationalization support for GTK+. <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>
|
238
242
|
automatically does this, so there is typically no point
|
@@ -255,26 +259,25 @@ locale specific setup of the windowing system used by GDK.
|
|
255
259
|
<col align="left" valign="top">
|
256
260
|
<tbody><tr>
|
257
261
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
258
|
-
<td>
|
262
|
+
<td>a string corresponding to the locale set, typically in the
|
259
263
|
form lang_COUNTRY, where lang is an ISO-639 language code, and
|
260
264
|
COUNTRY is an ISO-3166 country code. On Unix, this form matches the
|
261
|
-
result of the <a href="http://library.gnome.org/devel/glib/unstable/glib-running.html#setlocale"><code class="function">setlocale()</code></a>; it is also used on other machines, such as
|
262
|
-
Windows, where the C library returns a different result. The string is
|
263
|
-
owned by GTK+ and should not be modified or freed
|
264
|
-
</td>
|
265
|
+
result of the <a href="http://library.gnome.org/devel/glib/unstable/glib-running.html#setlocale"><code class="function">setlocale()</code></a>; it is also used on other machines, such as
|
266
|
+
Windows, where the C library returns a different result. The string is
|
267
|
+
owned by GTK+ and should not be modified or freed.</td>
|
265
268
|
</tr></tbody>
|
266
269
|
</table></div>
|
267
270
|
</div>
|
268
271
|
<hr>
|
269
|
-
<div class="refsect2"
|
272
|
+
<div class="refsect2">
|
270
273
|
<a name="gtk-disable-setlocale"></a><h3>gtk_disable_setlocale ()</h3>
|
271
274
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_disable_setlocale (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
272
275
|
<p>
|
273
276
|
Prevents <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>, <a class="link" href="gtk-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a>, <a class="link" href="gtk-General.html#gtk-init-with-args" title="gtk_init_with_args ()"><code class="function">gtk_init_with_args()</code></a> and
|
274
277
|
<a class="link" href="gtk-General.html#gtk-parse-args" title="gtk_parse_args ()"><code class="function">gtk_parse_args()</code></a> from automatically
|
275
|
-
calling <code class="literal">setlocale (LC_ALL, "")</code>. You would
|
276
|
-
want to use this function if you wanted to set the locale for
|
277
|
-
your program to something other than the user's locale, or if
|
278
|
+
calling <code class="literal">setlocale (LC_ALL, "")</code>. You would
|
279
|
+
want to use this function if you wanted to set the locale for
|
280
|
+
your program to something other than the user's locale, or if
|
278
281
|
you wanted to set different values for different locale categories.
|
279
282
|
</p>
|
280
283
|
<p>
|
@@ -282,7 +285,7 @@ Most programs should not need to call this function.
|
|
282
285
|
</p>
|
283
286
|
</div>
|
284
287
|
<hr>
|
285
|
-
<div class="refsect2"
|
288
|
+
<div class="refsect2">
|
286
289
|
<a name="gtk-get-default-language"></a><h3>gtk_get_default_language ()</h3>
|
287
290
|
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html#PangoLanguage"><span class="returnvalue">PangoLanguage</span></a> * gtk_get_default_language (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
288
291
|
<p>
|
@@ -300,28 +303,27 @@ that function for details.
|
|
300
303
|
<col align="left" valign="top">
|
301
304
|
<tbody><tr>
|
302
305
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
303
|
-
<td>
|
304
|
-
freed
|
305
|
-
</td>
|
306
|
+
<td>the default language as a <a href="/usr/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html#PangoLanguage"><span class="type">PangoLanguage</span></a>, must not be
|
307
|
+
freed</td>
|
306
308
|
</tr></tbody>
|
307
309
|
</table></div>
|
308
310
|
</div>
|
309
311
|
<hr>
|
310
|
-
<div class="refsect2"
|
312
|
+
<div class="refsect2">
|
311
313
|
<a name="gtk-parse-args"></a><h3>gtk_parse_args ()</h3>
|
312
314
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_parse_args (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
313
315
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
314
316
|
<p>
|
315
317
|
Parses command line arguments, and initializes global
|
316
318
|
attributes of GTK+, but does not actually open a connection
|
317
|
-
to a display. (See <a href="http://library.gnome.org/devel/
|
319
|
+
to a display. (See <a href="http://library.gnome.org/devel/gdk3/GdkDisplay.html#gdk-display-open"><code class="function">gdk_display_open()</code></a>, <a href="http://library.gnome.org/devel/gdk3/gdk-General.html#gdk-get-display-arg-name"><code class="function">gdk_get_display_arg_name()</code></a>)
|
318
320
|
</p>
|
319
321
|
<p>
|
320
322
|
Any arguments used by GTK+ or GDK are removed from the array and
|
321
323
|
<em class="parameter"><code>argc</code></em> and <em class="parameter"><code>argv</code></em> are updated accordingly.
|
322
324
|
</p>
|
323
325
|
<p>
|
324
|
-
|
326
|
+
There is no need to call this function explicitely if you are using
|
325
327
|
<a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>, or <a class="link" href="gtk-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a>.
|
326
328
|
</p>
|
327
329
|
<div class="variablelist"><table border="0">
|
@@ -329,56 +331,60 @@ You shouldn't call this function explicitely if you are using
|
|
329
331
|
<tbody>
|
330
332
|
<tr>
|
331
333
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
332
|
-
<td>
|
334
|
+
<td>a pointer to the number of command line arguments. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
333
335
|
</td>
|
334
336
|
</tr>
|
335
337
|
<tr>
|
336
338
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
337
|
-
<td>
|
339
|
+
<td>a pointer to the array of
|
340
|
+
command line arguments. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
338
341
|
</td>
|
339
342
|
</tr>
|
340
343
|
<tr>
|
341
344
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
342
|
-
<td>
|
343
|
-
</td>
|
345
|
+
<td>
|
346
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if initialization succeeded, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
|
344
347
|
</tr>
|
345
348
|
</tbody>
|
346
349
|
</table></div>
|
347
350
|
</div>
|
348
351
|
<hr>
|
349
|
-
<div class="refsect2"
|
352
|
+
<div class="refsect2">
|
350
353
|
<a name="gtk-init"></a><h3>gtk_init ()</h3>
|
351
354
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_init (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
352
355
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
353
356
|
<p>
|
354
357
|
Call this function before using any other GTK+ functions in your GUI
|
355
358
|
applications. It will initialize everything needed to operate the
|
356
|
-
toolkit and parses some standard command line options.
|
357
|
-
|
358
|
-
|
359
|
+
toolkit and parses some standard command line options.
|
360
|
+
</p>
|
361
|
+
<p>
|
362
|
+
<em class="parameter"><code>argc</code></em> and <em class="parameter"><code>argv</code></em> are adjusted accordingly so your own code will
|
363
|
+
never see those standard arguments.
|
359
364
|
</p>
|
360
365
|
<p>
|
361
|
-
Note that there are some alternative ways to initialize GTK+:
|
362
|
-
if you are calling <a class="link" href="gtk-General.html#gtk-parse-args" title="gtk_parse_args ()"><code class="function">gtk_parse_args()</code></a>, <a class="link" href="gtk-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a>,
|
363
|
-
<a class="link" href="gtk-General.html#gtk-init-with-args" title="gtk_init_with_args ()"><code class="function">gtk_init_with_args()</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-parse"><code class="function">g_option_context_parse()</code></a> with
|
364
|
-
the option group returned by <a class="link" href="gtk-General.html#gtk-get-option-group" title="gtk_get_option_group ()"><code class="function">gtk_get_option_group()</code></a>,
|
365
|
-
<span class="emphasis"><em>don't</em></span> have to call <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>.
|
366
|
+
Note that there are some alternative ways to initialize GTK+:
|
367
|
+
if you are calling <a class="link" href="gtk-General.html#gtk-parse-args" title="gtk_parse_args ()"><code class="function">gtk_parse_args()</code></a>, <a class="link" href="gtk-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a>,
|
368
|
+
<a class="link" href="gtk-General.html#gtk-init-with-args" title="gtk_init_with_args ()"><code class="function">gtk_init_with_args()</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-parse"><code class="function">g_option_context_parse()</code></a> with
|
369
|
+
the option group returned by <a class="link" href="gtk-General.html#gtk-get-option-group" title="gtk_get_option_group ()"><code class="function">gtk_get_option_group()</code></a>,
|
370
|
+
you <span class="emphasis"><em>don't</em></span> have to call <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>.
|
366
371
|
</p>
|
367
372
|
<p>
|
368
373
|
</p>
|
369
|
-
<div class="note"
|
374
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
370
375
|
<h3 class="title">Note</h3>
|
371
376
|
<p>
|
372
|
-
This function will terminate your program if it was unable to
|
373
|
-
the
|
374
|
-
|
377
|
+
This function will terminate your program if it was unable to
|
378
|
+
initialize the windowing system for some reason. If you want
|
379
|
+
your program to fall back to a textual interface you want to
|
380
|
+
call <a class="link" href="gtk-General.html#gtk-init-check" title="gtk_init_check ()"><code class="function">gtk_init_check()</code></a> instead.
|
375
381
|
</p>
|
376
382
|
</div>
|
377
383
|
<p>
|
378
384
|
</p>
|
379
385
|
<p>
|
380
386
|
</p>
|
381
|
-
<div class="note"
|
387
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
382
388
|
<h3 class="title">Note</h3>
|
383
389
|
<p>
|
384
390
|
Since 2.18, GTK+ calls <code class="literal">signal (SIGPIPE, SIG_IGN)</code>
|
@@ -391,26 +397,34 @@ similar things.
|
|
391
397
|
</div>
|
392
398
|
<p>
|
393
399
|
</p>
|
400
|
+
<p>
|
401
|
+
</p>
|
402
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
403
|
+
<h3 class="title">Note</h3>
|
404
|
+
<p>
|
405
|
+
</p>
|
406
|
+
</div>
|
394
407
|
<div class="variablelist"><table border="0">
|
395
408
|
<col align="left" valign="top">
|
396
409
|
<tbody>
|
397
410
|
<tr>
|
398
411
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
399
|
-
<td>
|
400
|
-
|
412
|
+
<td>Address of the <em class="parameter"><code>argc</code></em> parameter of
|
413
|
+
your <code class="function">main()</code> function. Changed if any arguments were handled. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
401
414
|
</td>
|
402
415
|
</tr>
|
403
416
|
<tr>
|
404
417
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
405
|
-
<td>
|
406
|
-
|
418
|
+
<td>Address of the
|
419
|
+
<em class="parameter"><code>argv</code></em> parameter of <code class="function">main()</code>. Any options
|
420
|
+
understood by GTK+ are stripped before return. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
407
421
|
</td>
|
408
422
|
</tr>
|
409
423
|
</tbody>
|
410
424
|
</table></div>
|
411
425
|
</div>
|
412
426
|
<hr>
|
413
|
-
<div class="refsect2"
|
427
|
+
<div class="refsect2">
|
414
428
|
<a name="gtk-init-check"></a><h3>gtk_init_check ()</h3>
|
415
429
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_init_check (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
416
430
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
|
@@ -428,27 +442,27 @@ with the user - for example a curses or command line interface.
|
|
428
442
|
<tbody>
|
429
443
|
<tr>
|
430
444
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
431
|
-
<td>
|
432
|
-
|
445
|
+
<td>Address of the <em class="parameter"><code>argc</code></em> parameter of your
|
446
|
+
<code class="function">main()</code> function. Changed if any arguments were handled. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
433
447
|
</td>
|
434
448
|
</tr>
|
435
449
|
<tr>
|
436
450
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
437
|
-
<td>
|
438
|
-
|
451
|
+
<td>Address of the <em class="parameter"><code>argv</code></em> parameter of <code class="function">main()</code>.
|
452
|
+
Any parameters understood by <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a> are stripped before return. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
439
453
|
</td>
|
440
454
|
</tr>
|
441
455
|
<tr>
|
442
456
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
443
|
-
<td>
|
444
|
-
|
445
|
-
</td>
|
457
|
+
<td>
|
458
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the GUI has been successfully initialized,
|
459
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
446
460
|
</tr>
|
447
461
|
</tbody>
|
448
462
|
</table></div>
|
449
463
|
</div>
|
450
464
|
<hr>
|
451
|
-
<div class="refsect2"
|
465
|
+
<div class="refsect2">
|
452
466
|
<a name="gtk-init-with-args"></a><h3>gtk_init_with_args ()</h3>
|
453
467
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_init_with_args (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
|
454
468
|
<em class="parameter"><code><span class="type">char</span> ***argv</code></em>,
|
@@ -468,52 +482,50 @@ be terminated after writing out the help output.
|
|
468
482
|
<tbody>
|
469
483
|
<tr>
|
470
484
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
471
|
-
<td>a pointer to the number of command line arguments
|
472
|
-
</td>
|
485
|
+
<td>a pointer to the number of command line arguments.</td>
|
473
486
|
</tr>
|
474
487
|
<tr>
|
475
488
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
476
|
-
<td>a pointer to the array of
|
489
|
+
<td>a pointer to the array of
|
490
|
+
command line arguments. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc]</span>
|
477
491
|
</td>
|
478
492
|
</tr>
|
479
493
|
<tr>
|
480
494
|
<td><p><span class="term"><em class="parameter"><code>parameter_string</code></em> :</span></p></td>
|
481
495
|
<td>a string which is displayed in
|
482
|
-
|
483
|
-
|
496
|
+
the first line of <code class="option">--help</code> output, after
|
497
|
+
<code class="literal"><em class="replaceable"><code>programname</code></em> [OPTION...]</code>
|
484
498
|
</td>
|
485
499
|
</tr>
|
486
500
|
<tr>
|
487
501
|
<td><p><span class="term"><em class="parameter"><code>entries</code></em> :</span></p></td>
|
488
|
-
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array
|
489
|
-
|
502
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array
|
503
|
+
of <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a>s describing the options of your program. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span>
|
490
504
|
</td>
|
491
505
|
</tr>
|
492
506
|
<tr>
|
493
507
|
<td><p><span class="term"><em class="parameter"><code>translation_domain</code></em> :</span></p></td>
|
494
508
|
<td>a translation domain to use for translating
|
495
|
-
|
496
|
-
|
509
|
+
the <code class="option">--help</code> output for the options in <em class="parameter"><code>entries</code></em>
|
510
|
+
with <code class="function">gettext()</code>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
497
511
|
</td>
|
498
512
|
</tr>
|
499
513
|
<tr>
|
500
514
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
501
|
-
<td>a return location for errors
|
502
|
-
</td>
|
515
|
+
<td>a return location for errors</td>
|
503
516
|
</tr>
|
504
517
|
<tr>
|
505
518
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
506
|
-
<td>
|
507
|
-
|
508
|
-
|
509
|
-
</td>
|
519
|
+
<td>
|
520
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the GUI has been successfully initialized,
|
521
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
510
522
|
</tr>
|
511
523
|
</tbody>
|
512
524
|
</table></div>
|
513
525
|
<p class="since">Since 2.6</p>
|
514
526
|
</div>
|
515
527
|
<hr>
|
516
|
-
<div class="refsect2"
|
528
|
+
<div class="refsect2">
|
517
529
|
<a name="gtk-get-option-group"></a><h3>gtk_get_option_group ()</h3>
|
518
530
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionGroup"><span class="returnvalue">GOptionGroup</span></a> * gtk_get_option_group (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> open_default_display</code></em>);</pre>
|
519
531
|
<p>
|
@@ -527,26 +539,23 @@ with <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-opti
|
|
527
539
|
<tbody>
|
528
540
|
<tr>
|
529
541
|
<td><p><span class="term"><em class="parameter"><code>open_default_display</code></em> :</span></p></td>
|
530
|
-
<td>whether to open the default display
|
531
|
-
|
532
|
-
</td>
|
542
|
+
<td>whether to open the default display
|
543
|
+
when parsing the commandline arguments</td>
|
533
544
|
</tr>
|
534
545
|
<tr>
|
535
546
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
536
|
-
<td>
|
537
|
-
|
538
|
-
|
539
|
-
</td>
|
547
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a> for the commandline arguments recognized
|
548
|
+
by GTK+</td>
|
540
549
|
</tr>
|
541
550
|
</tbody>
|
542
551
|
</table></div>
|
543
552
|
<p class="since">Since 2.6</p>
|
544
553
|
</div>
|
545
554
|
<hr>
|
546
|
-
<div class="refsect2"
|
555
|
+
<div class="refsect2">
|
547
556
|
<a name="gtk-exit"></a><h3>gtk_exit ()</h3>
|
548
557
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_exit (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> error_code</code></em>);</pre>
|
549
|
-
<div class="warning"
|
558
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
550
559
|
<h3 class="title">Warning</h3>
|
551
560
|
<p><code class="literal">gtk_exit</code> is deprecated and should not be used in newly-written code. Use the standard <code class="function">exit()</code> function instead.</p>
|
552
561
|
</div>
|
@@ -560,13 +569,12 @@ for GTK+.
|
|
560
569
|
<tbody><tr>
|
561
570
|
<td><p><span class="term"><em class="parameter"><code>error_code</code></em> :</span></p></td>
|
562
571
|
<td>Return value to pass to the caller. This is dependent on the
|
563
|
-
target system but at least on Unix systems <code class="literal">0</code> means success
|
564
|
-
</td>
|
572
|
+
target system but at least on Unix systems <code class="literal">0</code> means success.</td>
|
565
573
|
</tr></tbody>
|
566
574
|
</table></div>
|
567
575
|
</div>
|
568
576
|
<hr>
|
569
|
-
<div class="refsect2"
|
577
|
+
<div class="refsect2">
|
570
578
|
<a name="gtk-events-pending"></a><h3>gtk_events_pending ()</h3>
|
571
579
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_events_pending (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
572
580
|
<p>
|
@@ -574,7 +582,7 @@ Checks if any events are pending. This can be used to update the GUI
|
|
574
582
|
and invoke timeouts etc. while doing some time intensive computation.
|
575
583
|
</p>
|
576
584
|
<div class="example">
|
577
|
-
<a name="
|
585
|
+
<a name="id632732"></a><p class="title"><b>Example 3. Updating the GUI during a long computation.</b></p>
|
578
586
|
<div class="example-contents">
|
579
587
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
580
588
|
<tbody>
|
@@ -602,13 +610,12 @@ and invoke timeouts etc. while doing some time intensive computation.
|
|
602
610
|
<tbody><tr>
|
603
611
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
604
612
|
<td>
|
605
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any events are pending, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
|
606
|
-
</td>
|
613
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if any events are pending, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
607
614
|
</tr></tbody>
|
608
615
|
</table></div>
|
609
616
|
</div>
|
610
617
|
<hr>
|
611
|
-
<div class="refsect2"
|
618
|
+
<div class="refsect2">
|
612
619
|
<a name="gtk-main"></a><h3>gtk_main ()</h3>
|
613
620
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_main (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
614
621
|
<p>
|
@@ -618,7 +625,7 @@ of the main loop return.
|
|
618
625
|
</p>
|
619
626
|
</div>
|
620
627
|
<hr>
|
621
|
-
<div class="refsect2"
|
628
|
+
<div class="refsect2">
|
622
629
|
<a name="gtk-main-level"></a><h3>gtk_main_level ()</h3>
|
623
630
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_main_level (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
624
631
|
<p>
|
@@ -629,13 +636,12 @@ when calling <a class="link" href="gtk-General.html#gtk-quit-add" title="gtk_qui
|
|
629
636
|
<col align="left" valign="top">
|
630
637
|
<tbody><tr>
|
631
638
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
632
|
-
<td>the nesting level of the current invocation of the main loop
|
633
|
-
</td>
|
639
|
+
<td>the nesting level of the current invocation of the main loop.</td>
|
634
640
|
</tr></tbody>
|
635
641
|
</table></div>
|
636
642
|
</div>
|
637
643
|
<hr>
|
638
|
-
<div class="refsect2"
|
644
|
+
<div class="refsect2">
|
639
645
|
<a name="gtk-main-quit"></a><h3>gtk_main_quit ()</h3>
|
640
646
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_main_quit (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
641
647
|
<p>
|
@@ -644,7 +650,7 @@ control.
|
|
644
650
|
</p>
|
645
651
|
</div>
|
646
652
|
<hr>
|
647
|
-
<div class="refsect2"
|
653
|
+
<div class="refsect2">
|
648
654
|
<a name="gtk-main-iteration"></a><h3>gtk_main_iteration ()</h3>
|
649
655
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_main_iteration (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
650
656
|
<p>
|
@@ -658,13 +664,12 @@ pending with <a class="link" href="gtk-General.html#gtk-events-pending" title="g
|
|
658
664
|
<tbody><tr>
|
659
665
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
660
666
|
<td>
|
661
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <a class="link" href="gtk-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a> has been called for the innermost mainloop
|
662
|
-
</td>
|
667
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <a class="link" href="gtk-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a> has been called for the innermost mainloop.</td>
|
663
668
|
</tr></tbody>
|
664
669
|
</table></div>
|
665
670
|
</div>
|
666
671
|
<hr>
|
667
|
-
<div class="refsect2"
|
672
|
+
<div class="refsect2">
|
668
673
|
<a name="gtk-main-iteration-do"></a><h3>gtk_main_iteration_do ()</h3>
|
669
674
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_main_iteration_do (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> blocking</code></em>);</pre>
|
670
675
|
<p>
|
@@ -677,22 +682,20 @@ return or block dependent on the value of <em class="parameter"><code>blocking</
|
|
677
682
|
<tr>
|
678
683
|
<td><p><span class="term"><em class="parameter"><code>blocking</code></em> :</span></p></td>
|
679
684
|
<td>
|
680
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want GTK+ to block if no events are pending
|
681
|
-
</td>
|
685
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if you want GTK+ to block if no events are pending.</td>
|
682
686
|
</tr>
|
683
687
|
<tr>
|
684
688
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
685
689
|
<td>
|
686
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <a class="link" href="gtk-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a> has been called for the innermost mainloop
|
687
|
-
</td>
|
690
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <a class="link" href="gtk-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a> has been called for the innermost mainloop.</td>
|
688
691
|
</tr>
|
689
692
|
</tbody>
|
690
693
|
</table></div>
|
691
694
|
</div>
|
692
695
|
<hr>
|
693
|
-
<div class="refsect2"
|
696
|
+
<div class="refsect2">
|
694
697
|
<a name="gtk-main-do-event"></a><h3>gtk_main_do_event ()</h3>
|
695
|
-
<pre class="programlisting"><span class="returnvalue">void</span> gtk_main_do_event (<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
698
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_main_do_event (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
696
699
|
<p>
|
697
700
|
Processes a single GDK event. This is public only to allow filtering of events
|
698
701
|
between GDK and GTK+. You will not usually need to call this function directly.
|
@@ -756,13 +759,12 @@ the event:
|
|
756
759
|
<col align="left" valign="top">
|
757
760
|
<tbody><tr>
|
758
761
|
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
759
|
-
<td>An event to process (normally) passed by GDK
|
760
|
-
</td>
|
762
|
+
<td>An event to process (normally) passed by GDK.</td>
|
761
763
|
</tr></tbody>
|
762
764
|
</table></div>
|
763
765
|
</div>
|
764
766
|
<hr>
|
765
|
-
<div class="refsect2"
|
767
|
+
<div class="refsect2">
|
766
768
|
<a name="GtkModuleInitFunc"></a><h3>GtkModuleInitFunc ()</h3>
|
767
769
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkModuleInitFunc) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *argc</code></em>,
|
768
770
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***argv</code></em>);</pre>
|
@@ -776,35 +778,25 @@ cleaned from any arguments that GTK+ handles itself.
|
|
776
778
|
<tbody>
|
777
779
|
<tr>
|
778
780
|
<td><p><span class="term"><em class="parameter"><code>argc</code></em> :</span></p></td>
|
779
|
-
<td>Pointer to the number of arguments remaining after <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a
|
780
|
-
</td>
|
781
|
+
<td>Pointer to the number of arguments remaining after <a class="link" href="gtk-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>.</td>
|
781
782
|
</tr>
|
782
783
|
<tr>
|
783
784
|
<td><p><span class="term"><em class="parameter"><code>argv</code></em> :</span></p></td>
|
784
|
-
<td>Points to the argument vector
|
785
|
-
</td>
|
785
|
+
<td>Points to the argument vector.</td>
|
786
786
|
</tr>
|
787
787
|
</tbody>
|
788
788
|
</table></div>
|
789
789
|
</div>
|
790
790
|
<hr>
|
791
|
-
<div class="refsect2"
|
791
|
+
<div class="refsect2">
|
792
792
|
<a name="GtkModuleDisplayInitFunc"></a><h3>GtkModuleDisplayInitFunc ()</h3>
|
793
|
-
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkModuleDisplayInitFunc) (<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
793
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkModuleDisplayInitFunc) (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/GdkDisplay.html"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
794
794
|
<p>
|
795
795
|
</p>
|
796
|
-
<div class="variablelist"><table border="0">
|
797
|
-
<col align="left" valign="top">
|
798
|
-
<tbody><tr>
|
799
|
-
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
|
800
|
-
<td>
|
801
|
-
</td>
|
802
|
-
</tr></tbody>
|
803
|
-
</table></div>
|
804
796
|
<p class="since">Since 2.2</p>
|
805
797
|
</div>
|
806
798
|
<hr>
|
807
|
-
<div class="refsect2"
|
799
|
+
<div class="refsect2">
|
808
800
|
<a name="gtk-true"></a><h3>gtk_true ()</h3>
|
809
801
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_true (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
810
802
|
<p>
|
@@ -814,7 +806,7 @@ not do this as the user expects a reaction from clicking the close
|
|
814
806
|
icon of the window...
|
815
807
|
</p>
|
816
808
|
<div class="example">
|
817
|
-
<a name="
|
809
|
+
<a name="id633659"></a><p class="title"><b>Example 4. A persistent window</b></p>
|
818
810
|
<div class="example-contents">
|
819
811
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
820
812
|
<tbody>
|
@@ -867,14 +859,12 @@ icon of the window...
|
|
867
859
|
<col align="left" valign="top">
|
868
860
|
<tbody><tr>
|
869
861
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
870
|
-
<td>
|
871
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
872
|
-
</td>
|
862
|
+
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a></td>
|
873
863
|
</tr></tbody>
|
874
864
|
</table></div>
|
875
865
|
</div>
|
876
866
|
<hr>
|
877
|
-
<div class="refsect2"
|
867
|
+
<div class="refsect2">
|
878
868
|
<a name="gtk-false"></a><h3>gtk_false ()</h3>
|
879
869
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_false (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
880
870
|
<p>
|
@@ -885,14 +875,12 @@ but always returns <a href="http://library.gnome.org/devel/glib/unstable/glib-St
|
|
885
875
|
<col align="left" valign="top">
|
886
876
|
<tbody><tr>
|
887
877
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
888
|
-
<td>
|
889
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
890
|
-
</td>
|
878
|
+
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></td>
|
891
879
|
</tr></tbody>
|
892
880
|
</table></div>
|
893
881
|
</div>
|
894
882
|
<hr>
|
895
|
-
<div class="refsect2"
|
883
|
+
<div class="refsect2">
|
896
884
|
<a name="gtk-grab-add"></a><h3>gtk_grab_add ()</h3>
|
897
885
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_grab_add (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
898
886
|
<p>
|
@@ -908,15 +896,17 @@ widget and this function does nothing.
|
|
908
896
|
<col align="left" valign="top">
|
909
897
|
<tbody><tr>
|
910
898
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
911
|
-
<td>The widget that grabs keyboard and pointer events
|
912
|
-
</td>
|
899
|
+
<td>The widget that grabs keyboard and pointer events.</td>
|
913
900
|
</tr></tbody>
|
914
901
|
</table></div>
|
915
902
|
</div>
|
916
903
|
<hr>
|
917
|
-
<div class="refsect2"
|
904
|
+
<div class="refsect2">
|
918
905
|
<a name="gtk-grab-get-current"></a><h3>gtk_grab_get_current ()</h3>
|
919
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
906
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_grab_get_current (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
907
|
+
<p>
|
908
|
+
Queries the current grab of the default window group.
|
909
|
+
</p>
|
920
910
|
<p>
|
921
911
|
Queries the current grab of the default window group.
|
922
912
|
</p>
|
@@ -924,13 +914,14 @@ Queries the current grab of the default window group.
|
|
924
914
|
<col align="left" valign="top">
|
925
915
|
<tbody><tr>
|
926
916
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
927
|
-
<td>The widget which currently
|
917
|
+
<td>The widget which currently
|
918
|
+
has the grab or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no grab is active. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
928
919
|
</td>
|
929
920
|
</tr></tbody>
|
930
921
|
</table></div>
|
931
922
|
</div>
|
932
923
|
<hr>
|
933
|
-
<div class="refsect2"
|
924
|
+
<div class="refsect2">
|
934
925
|
<a name="gtk-grab-remove"></a><h3>gtk_grab_remove ()</h3>
|
935
926
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_grab_remove (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
936
927
|
<p>
|
@@ -944,16 +935,19 @@ If <em class="parameter"><code>widget</code></em> does not have the grab, this f
|
|
944
935
|
<col align="left" valign="top">
|
945
936
|
<tbody><tr>
|
946
937
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
947
|
-
<td>The widget which gives up the grab
|
948
|
-
</td>
|
938
|
+
<td>The widget which gives up the grab.</td>
|
949
939
|
</tr></tbody>
|
950
940
|
</table></div>
|
951
941
|
</div>
|
952
942
|
<hr>
|
953
|
-
<div class="refsect2"
|
943
|
+
<div class="refsect2">
|
954
944
|
<a name="gtk-init-add"></a><h3>gtk_init_add ()</h3>
|
955
945
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_init_add (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
956
946
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
947
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
948
|
+
<h3 class="title">Warning</h3>
|
949
|
+
<p><code class="literal">gtk_init_add</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
950
|
+
</div>
|
957
951
|
<p>
|
958
952
|
Registers a function to be called when the mainloop is started.
|
959
953
|
</p>
|
@@ -962,22 +956,24 @@ Registers a function to be called when the mainloop is started.
|
|
962
956
|
<tbody>
|
963
957
|
<tr>
|
964
958
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
965
|
-
<td>Function to invoke when <a class="link" href="gtk-General.html#gtk-main" title="gtk_main ()"><code class="function">gtk_main()</code></a> is called next
|
966
|
-
</td>
|
959
|
+
<td>Function to invoke when <a class="link" href="gtk-General.html#gtk-main" title="gtk_main ()"><code class="function">gtk_main()</code></a> is called next.</td>
|
967
960
|
</tr>
|
968
961
|
<tr>
|
969
962
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
970
|
-
<td>Data to pass to that function
|
971
|
-
</td>
|
963
|
+
<td>Data to pass to that function.</td>
|
972
964
|
</tr>
|
973
965
|
</tbody>
|
974
966
|
</table></div>
|
975
967
|
</div>
|
976
968
|
<hr>
|
977
|
-
<div class="refsect2"
|
969
|
+
<div class="refsect2">
|
978
970
|
<a name="gtk-quit-add-destroy"></a><h3>gtk_quit_add_destroy ()</h3>
|
979
971
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_quit_add_destroy (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> main_level</code></em>,
|
980
972
|
<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);</pre>
|
973
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
974
|
+
<h3 class="title">Warning</h3>
|
975
|
+
<p><code class="literal">gtk_quit_add_destroy</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
976
|
+
</div>
|
981
977
|
<p>
|
982
978
|
Trigger destruction of <em class="parameter"><code>object</code></em> in case the mainloop at level <em class="parameter"><code>main_level</code></em>
|
983
979
|
is quit.
|
@@ -987,23 +983,25 @@ is quit.
|
|
987
983
|
<tbody>
|
988
984
|
<tr>
|
989
985
|
<td><p><span class="term"><em class="parameter"><code>main_level</code></em> :</span></p></td>
|
990
|
-
<td>Level of the mainloop which shall trigger the destruction
|
991
|
-
</td>
|
986
|
+
<td>Level of the mainloop which shall trigger the destruction.</td>
|
992
987
|
</tr>
|
993
988
|
<tr>
|
994
989
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
995
|
-
<td>Object to be destroyed
|
996
|
-
</td>
|
990
|
+
<td>Object to be destroyed.</td>
|
997
991
|
</tr>
|
998
992
|
</tbody>
|
999
993
|
</table></div>
|
1000
994
|
</div>
|
1001
995
|
<hr>
|
1002
|
-
<div class="refsect2"
|
996
|
+
<div class="refsect2">
|
1003
997
|
<a name="gtk-quit-add"></a><h3>gtk_quit_add ()</h3>
|
1004
998
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_quit_add (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> main_level</code></em>,
|
1005
999
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1006
1000
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1001
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1002
|
+
<h3 class="title">Warning</h3>
|
1003
|
+
<p><code class="literal">gtk_quit_add</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
1004
|
+
</div>
|
1007
1005
|
<p>
|
1008
1006
|
Registers a function to be called when an instance of the mainloop is left.
|
1009
1007
|
</p>
|
@@ -1013,38 +1011,38 @@ Registers a function to be called when an instance of the mainloop is left.
|
|
1013
1011
|
<tr>
|
1014
1012
|
<td><p><span class="term"><em class="parameter"><code>main_level</code></em> :</span></p></td>
|
1015
1013
|
<td>Level at which termination the function shall be called. You
|
1016
|
-
|
1017
|
-
|
1018
|
-
</td>
|
1014
|
+
can pass 0 here to have the function run at the termination of the current
|
1015
|
+
mainloop.</td>
|
1019
1016
|
</tr>
|
1020
1017
|
<tr>
|
1021
1018
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1022
|
-
<td>The function to call. This should return 0 to be removed from the
|
1023
|
-
|
1024
|
-
</td>
|
1019
|
+
<td>The function to call. This should return 0 to be removed from the
|
1020
|
+
list of quit handlers. Otherwise the function might be called again.</td>
|
1025
1021
|
</tr>
|
1026
1022
|
<tr>
|
1027
1023
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1028
|
-
<td>Pointer to pass when calling <em class="parameter"><code>function</code></em
|
1029
|
-
</td>
|
1024
|
+
<td>Pointer to pass when calling <em class="parameter"><code>function</code></em>.</td>
|
1030
1025
|
</tr>
|
1031
1026
|
<tr>
|
1032
1027
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1033
1028
|
<td>A handle for this quit handler (you need this for <a class="link" href="gtk-General.html#gtk-quit-remove" title="gtk_quit_remove ()"><code class="function">gtk_quit_remove()</code></a>)
|
1034
|
-
|
1035
|
-
</td>
|
1029
|
+
or 0 if you passed a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointer in <em class="parameter"><code>function</code></em>.</td>
|
1036
1030
|
</tr>
|
1037
1031
|
</tbody>
|
1038
1032
|
</table></div>
|
1039
1033
|
</div>
|
1040
1034
|
<hr>
|
1041
|
-
<div class="refsect2"
|
1035
|
+
<div class="refsect2">
|
1042
1036
|
<a name="gtk-quit-add-full"></a><h3>gtk_quit_add_full ()</h3>
|
1043
1037
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_quit_add_full (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> main_level</code></em>,
|
1044
1038
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1045
1039
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1046
1040
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1047
1041
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
1042
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1043
|
+
<h3 class="title">Warning</h3>
|
1044
|
+
<p><code class="literal">gtk_quit_add_full</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
1045
|
+
</div>
|
1048
1046
|
<p>
|
1049
1047
|
Registers a function to be called when an instance of the mainloop is left.
|
1050
1048
|
In comparison to <a class="link" href="gtk-General.html#gtk-quit-add" title="gtk_quit_add ()"><code class="function">gtk_quit_add()</code></a> this function adds the possibility to
|
@@ -1062,45 +1060,43 @@ used by GTK+ wrappers for languages other than C.
|
|
1062
1060
|
<tr>
|
1063
1061
|
<td><p><span class="term"><em class="parameter"><code>main_level</code></em> :</span></p></td>
|
1064
1062
|
<td>Level at which termination the function shall be called. You
|
1065
|
-
|
1066
|
-
|
1067
|
-
</td>
|
1063
|
+
can pass 0 here to have the function run at the termination of the current
|
1064
|
+
mainloop.</td>
|
1068
1065
|
</tr>
|
1069
1066
|
<tr>
|
1070
1067
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1071
|
-
<td>The function to call. This should return 0 to be removed from the
|
1072
|
-
|
1073
|
-
</td>
|
1068
|
+
<td>The function to call. This should return 0 to be removed from the
|
1069
|
+
list of quit handlers. Otherwise the function might be called again.</td>
|
1074
1070
|
</tr>
|
1075
1071
|
<tr>
|
1076
1072
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1077
|
-
<td>The marshaller to be used. If this is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>function</code></em> is
|
1078
|
-
|
1079
|
-
</td>
|
1073
|
+
<td>The marshaller to be used. If this is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>function</code></em> is
|
1074
|
+
ignored.</td>
|
1080
1075
|
</tr>
|
1081
1076
|
<tr>
|
1082
1077
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1083
|
-
<td>Pointer to pass when calling <em class="parameter"><code>function</code></em
|
1084
|
-
</td>
|
1078
|
+
<td>Pointer to pass when calling <em class="parameter"><code>function</code></em>.</td>
|
1085
1079
|
</tr>
|
1086
1080
|
<tr>
|
1087
1081
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1088
|
-
<td>Function to call to destruct <em class="parameter"><code>data</code></em>. Gets <em class="parameter"><code>data</code></em> as argument
|
1089
|
-
</td>
|
1082
|
+
<td>Function to call to destruct <em class="parameter"><code>data</code></em>. Gets <em class="parameter"><code>data</code></em> as argument.</td>
|
1090
1083
|
</tr>
|
1091
1084
|
<tr>
|
1092
1085
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1093
1086
|
<td>A handle for this quit handler (you need this for <a class="link" href="gtk-General.html#gtk-quit-remove" title="gtk_quit_remove ()"><code class="function">gtk_quit_remove()</code></a>)
|
1094
|
-
|
1095
|
-
</td>
|
1087
|
+
or 0 if you passed a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointer in <em class="parameter"><code>function</code></em>.</td>
|
1096
1088
|
</tr>
|
1097
1089
|
</tbody>
|
1098
1090
|
</table></div>
|
1099
1091
|
</div>
|
1100
1092
|
<hr>
|
1101
|
-
<div class="refsect2"
|
1093
|
+
<div class="refsect2">
|
1102
1094
|
<a name="gtk-quit-remove"></a><h3>gtk_quit_remove ()</h3>
|
1103
1095
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_quit_remove (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> quit_handler_id</code></em>);</pre>
|
1096
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1097
|
+
<h3 class="title">Warning</h3>
|
1098
|
+
<p><code class="literal">gtk_quit_remove</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
1099
|
+
</div>
|
1104
1100
|
<p>
|
1105
1101
|
Removes a quit handler by its identifier.
|
1106
1102
|
</p>
|
@@ -1108,15 +1104,18 @@ Removes a quit handler by its identifier.
|
|
1108
1104
|
<col align="left" valign="top">
|
1109
1105
|
<tbody><tr>
|
1110
1106
|
<td><p><span class="term"><em class="parameter"><code>quit_handler_id</code></em> :</span></p></td>
|
1111
|
-
<td>Identifier for the handler returned when installing it
|
1112
|
-
</td>
|
1107
|
+
<td>Identifier for the handler returned when installing it.</td>
|
1113
1108
|
</tr></tbody>
|
1114
1109
|
</table></div>
|
1115
1110
|
</div>
|
1116
1111
|
<hr>
|
1117
|
-
<div class="refsect2"
|
1112
|
+
<div class="refsect2">
|
1118
1113
|
<a name="gtk-quit-remove-by-data"></a><h3>gtk_quit_remove_by_data ()</h3>
|
1119
1114
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_quit_remove_by_data (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1115
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1116
|
+
<h3 class="title">Warning</h3>
|
1117
|
+
<p><code class="literal">gtk_quit_remove_by_data</code> is deprecated and should not be used in newly-written code. This function is going to be removed in GTK+ 3.0</p>
|
1118
|
+
</div>
|
1120
1119
|
<p>
|
1121
1120
|
Removes a quit handler identified by its <em class="parameter"><code>data</code></em> field.
|
1122
1121
|
</p>
|
@@ -1124,20 +1123,19 @@ Removes a quit handler identified by its <em class="parameter"><code>data</code>
|
|
1124
1123
|
<col align="left" valign="top">
|
1125
1124
|
<tbody><tr>
|
1126
1125
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1127
|
-
<td>The pointer passed as <em class="parameter"><code>data</code></em> to <a class="link" href="gtk-General.html#gtk-quit-add" title="gtk_quit_add ()"><code class="function">gtk_quit_add()</code></a> or <a class="link" href="gtk-General.html#gtk-quit-add-full" title="gtk_quit_add_full ()"><code class="function">gtk_quit_add_full()</code></a
|
1128
|
-
</td>
|
1126
|
+
<td>The pointer passed as <em class="parameter"><code>data</code></em> to <a class="link" href="gtk-General.html#gtk-quit-add" title="gtk_quit_add ()"><code class="function">gtk_quit_add()</code></a> or <a class="link" href="gtk-General.html#gtk-quit-add-full" title="gtk_quit_add_full ()"><code class="function">gtk_quit_add_full()</code></a>.</td>
|
1129
1127
|
</tr></tbody>
|
1130
1128
|
</table></div>
|
1131
1129
|
</div>
|
1132
1130
|
<hr>
|
1133
|
-
<div class="refsect2"
|
1131
|
+
<div class="refsect2">
|
1134
1132
|
<a name="gtk-timeout-add-full"></a><h3>gtk_timeout_add_full ()</h3>
|
1135
1133
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_timeout_add_full (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> interval</code></em>,
|
1136
1134
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1137
1135
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1138
1136
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1139
1137
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
1140
|
-
<div class="warning"
|
1138
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1141
1139
|
<h3 class="title">Warning</h3>
|
1142
1140
|
<p><code class="literal">gtk_timeout_add_full</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add-full"><code class="function">g_timeout_add_full()</code></a> instead.</p>
|
1143
1141
|
</div>
|
@@ -1151,45 +1149,39 @@ point the timeout is destroyed and will not be called again.
|
|
1151
1149
|
<tbody>
|
1152
1150
|
<tr>
|
1153
1151
|
<td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
|
1154
|
-
<td>The time between calls to the function, in milliseconds
|
1155
|
-
|
1156
|
-
</td>
|
1152
|
+
<td>The time between calls to the function, in milliseconds
|
1153
|
+
(1/1000ths of a second.)</td>
|
1157
1154
|
</tr>
|
1158
1155
|
<tr>
|
1159
1156
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1160
|
-
<td>The function to call periodically
|
1161
|
-
</td>
|
1157
|
+
<td>The function to call periodically.</td>
|
1162
1158
|
</tr>
|
1163
1159
|
<tr>
|
1164
1160
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1165
|
-
<td>The marshaller to use instead of the function (if non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)
|
1166
|
-
</td>
|
1161
|
+
<td>The marshaller to use instead of the function (if non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
|
1167
1162
|
</tr>
|
1168
1163
|
<tr>
|
1169
1164
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1170
|
-
<td>The data to pass to the function
|
1171
|
-
</td>
|
1165
|
+
<td>The data to pass to the function.</td>
|
1172
1166
|
</tr>
|
1173
1167
|
<tr>
|
1174
1168
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1175
|
-
<td>Function to call when the timeout is destroyed or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a
|
1176
|
-
</td>
|
1169
|
+
<td>Function to call when the timeout is destroyed or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1177
1170
|
</tr>
|
1178
1171
|
<tr>
|
1179
1172
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1180
|
-
<td>A unique id for the event source
|
1181
|
-
</td>
|
1173
|
+
<td>A unique id for the event source.</td>
|
1182
1174
|
</tr>
|
1183
1175
|
</tbody>
|
1184
1176
|
</table></div>
|
1185
1177
|
</div>
|
1186
1178
|
<hr>
|
1187
|
-
<div class="refsect2"
|
1179
|
+
<div class="refsect2">
|
1188
1180
|
<a name="gtk-timeout-add"></a><h3>gtk_timeout_add ()</h3>
|
1189
1181
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_timeout_add (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> interval</code></em>,
|
1190
1182
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1191
1183
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1192
|
-
<div class="warning"
|
1184
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1193
1185
|
<h3 class="title">Warning</h3>
|
1194
1186
|
<p><code class="literal">gtk_timeout_add</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-timeout-add"><code class="function">g_timeout_add()</code></a> instead.</p>
|
1195
1187
|
</div>
|
@@ -1203,33 +1195,29 @@ point the timeout is destroyed and will not be called again.
|
|
1203
1195
|
<tbody>
|
1204
1196
|
<tr>
|
1205
1197
|
<td><p><span class="term"><em class="parameter"><code>interval</code></em> :</span></p></td>
|
1206
|
-
<td>The time between calls to the function, in milliseconds
|
1207
|
-
|
1208
|
-
</td>
|
1198
|
+
<td>The time between calls to the function, in milliseconds
|
1199
|
+
(1/1000ths of a second.)</td>
|
1209
1200
|
</tr>
|
1210
1201
|
<tr>
|
1211
1202
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1212
|
-
<td>The function to call periodically
|
1213
|
-
</td>
|
1203
|
+
<td>The function to call periodically.</td>
|
1214
1204
|
</tr>
|
1215
1205
|
<tr>
|
1216
1206
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1217
|
-
<td>The data to pass to the function
|
1218
|
-
</td>
|
1207
|
+
<td>The data to pass to the function.</td>
|
1219
1208
|
</tr>
|
1220
1209
|
<tr>
|
1221
1210
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1222
|
-
<td>A unique id for the event source
|
1223
|
-
</td>
|
1211
|
+
<td>A unique id for the event source.</td>
|
1224
1212
|
</tr>
|
1225
1213
|
</tbody>
|
1226
1214
|
</table></div>
|
1227
1215
|
</div>
|
1228
1216
|
<hr>
|
1229
|
-
<div class="refsect2"
|
1217
|
+
<div class="refsect2">
|
1230
1218
|
<a name="gtk-timeout-remove"></a><h3>gtk_timeout_remove ()</h3>
|
1231
1219
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_timeout_remove (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout_handler_id</code></em>);</pre>
|
1232
|
-
<div class="warning"
|
1220
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1233
1221
|
<h3 class="title">Warning</h3>
|
1234
1222
|
<p><code class="literal">gtk_timeout_remove</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-source-remove"><code class="function">g_source_remove()</code></a> instead.</p>
|
1235
1223
|
</div>
|
@@ -1240,17 +1228,16 @@ Removes the given timeout destroying all information about it.
|
|
1240
1228
|
<col align="left" valign="top">
|
1241
1229
|
<tbody><tr>
|
1242
1230
|
<td><p><span class="term"><em class="parameter"><code>timeout_handler_id</code></em> :</span></p></td>
|
1243
|
-
<td>The identifier returned when installing the timeout
|
1244
|
-
</td>
|
1231
|
+
<td>The identifier returned when installing the timeout.</td>
|
1245
1232
|
</tr></tbody>
|
1246
1233
|
</table></div>
|
1247
1234
|
</div>
|
1248
1235
|
<hr>
|
1249
|
-
<div class="refsect2"
|
1236
|
+
<div class="refsect2">
|
1250
1237
|
<a name="gtk-idle-add"></a><h3>gtk_idle_add ()</h3>
|
1251
1238
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_idle_add (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1252
1239
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1253
|
-
<div class="warning"
|
1240
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1254
1241
|
<h3 class="title">Warning</h3>
|
1255
1242
|
<p><code class="literal">gtk_idle_add</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-add"><code class="function">g_idle_add()</code></a> instead.</p>
|
1256
1243
|
</div>
|
@@ -1264,29 +1251,26 @@ higher priority are to be processed. The default priority is
|
|
1264
1251
|
<tbody>
|
1265
1252
|
<tr>
|
1266
1253
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1267
|
-
<td>The function to call
|
1268
|
-
</td>
|
1254
|
+
<td>The function to call.</td>
|
1269
1255
|
</tr>
|
1270
1256
|
<tr>
|
1271
1257
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1272
|
-
<td>The information to pass to the function
|
1273
|
-
</td>
|
1258
|
+
<td>The information to pass to the function.</td>
|
1274
1259
|
</tr>
|
1275
1260
|
<tr>
|
1276
1261
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1277
|
-
<td>a unique handle for this registration
|
1278
|
-
</td>
|
1262
|
+
<td>a unique handle for this registration.</td>
|
1279
1263
|
</tr>
|
1280
1264
|
</tbody>
|
1281
1265
|
</table></div>
|
1282
1266
|
</div>
|
1283
1267
|
<hr>
|
1284
|
-
<div class="refsect2"
|
1268
|
+
<div class="refsect2">
|
1285
1269
|
<a name="gtk-idle-add-priority"></a><h3>gtk_idle_add_priority ()</h3>
|
1286
1270
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_idle_add_priority (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>,
|
1287
1271
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1288
1272
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1289
|
-
<div class="warning"
|
1273
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1290
1274
|
<h3 class="title">Warning</h3>
|
1291
1275
|
<p><code class="literal">gtk_idle_add_priority</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-add-full"><code class="function">g_idle_add_full()</code></a> instead.</p>
|
1292
1276
|
</div>
|
@@ -1302,36 +1286,32 @@ priority different from <a class="link" href="gtk-General.html#GTK-PRIORITY-DEFA
|
|
1302
1286
|
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
|
1303
1287
|
<td>The priority which should not be above <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS"><code class="literal">G_PRIORITY_HIGH_IDLE</code></a>.
|
1304
1288
|
Note that you will interfere with GTK+ if you use a priority above
|
1305
|
-
<a class="link" href="gtk-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE"><code class="literal">GTK_PRIORITY_RESIZE</code></a
|
1306
|
-
</td>
|
1289
|
+
<a class="link" href="gtk-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE"><code class="literal">GTK_PRIORITY_RESIZE</code></a>.</td>
|
1307
1290
|
</tr>
|
1308
1291
|
<tr>
|
1309
1292
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1310
|
-
<td>The function to call
|
1311
|
-
</td>
|
1293
|
+
<td>The function to call.</td>
|
1312
1294
|
</tr>
|
1313
1295
|
<tr>
|
1314
1296
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1315
|
-
<td>Data to pass to that function
|
1316
|
-
</td>
|
1297
|
+
<td>Data to pass to that function.</td>
|
1317
1298
|
</tr>
|
1318
1299
|
<tr>
|
1319
1300
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1320
|
-
<td>A unique id for the event source
|
1321
|
-
</td>
|
1301
|
+
<td>A unique id for the event source.</td>
|
1322
1302
|
</tr>
|
1323
1303
|
</tbody>
|
1324
1304
|
</table></div>
|
1325
1305
|
</div>
|
1326
1306
|
<hr>
|
1327
|
-
<div class="refsect2"
|
1307
|
+
<div class="refsect2">
|
1328
1308
|
<a name="gtk-idle-add-full"></a><h3>gtk_idle_add_full ()</h3>
|
1329
1309
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_idle_add_full (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>,
|
1330
1310
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()"><span class="type">GtkFunction</span></a> function</code></em>,
|
1331
1311
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1332
1312
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1333
1313
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
1334
|
-
<div class="warning"
|
1314
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1335
1315
|
<h3 class="title">Warning</h3>
|
1336
1316
|
<p><code class="literal">gtk_idle_add_full</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-add-full"><code class="function">g_idle_add_full()</code></a> instead.</p>
|
1337
1317
|
</div>
|
@@ -1347,42 +1327,36 @@ priority different from <a class="link" href="gtk-General.html#GTK-PRIORITY-DEFA
|
|
1347
1327
|
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
|
1348
1328
|
<td>The priority which should not be above <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS"><code class="literal">G_PRIORITY_HIGH_IDLE</code></a>.
|
1349
1329
|
Note that you will interfere with GTK+ if you use a priority above
|
1350
|
-
<a class="link" href="gtk-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE"><code class="literal">GTK_PRIORITY_RESIZE</code></a
|
1351
|
-
</td>
|
1330
|
+
<a class="link" href="gtk-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE"><code class="literal">GTK_PRIORITY_RESIZE</code></a>.</td>
|
1352
1331
|
</tr>
|
1353
1332
|
<tr>
|
1354
1333
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1355
|
-
<td>The function to call
|
1356
|
-
</td>
|
1334
|
+
<td>The function to call.</td>
|
1357
1335
|
</tr>
|
1358
1336
|
<tr>
|
1359
1337
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1360
|
-
<td>The marshaller to use instead of the function (if non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)
|
1361
|
-
</td>
|
1338
|
+
<td>The marshaller to use instead of the function (if non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
|
1362
1339
|
</tr>
|
1363
1340
|
<tr>
|
1364
1341
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1365
|
-
<td>Data to pass to that function
|
1366
|
-
</td>
|
1342
|
+
<td>Data to pass to that function.</td>
|
1367
1343
|
</tr>
|
1368
1344
|
<tr>
|
1369
1345
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1370
|
-
<td>Function to call when the timeout is destroyed or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a
|
1371
|
-
</td>
|
1346
|
+
<td>Function to call when the timeout is destroyed or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1372
1347
|
</tr>
|
1373
1348
|
<tr>
|
1374
1349
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1375
|
-
<td>A unique id for the event source
|
1376
|
-
</td>
|
1350
|
+
<td>A unique id for the event source.</td>
|
1377
1351
|
</tr>
|
1378
1352
|
</tbody>
|
1379
1353
|
</table></div>
|
1380
1354
|
</div>
|
1381
1355
|
<hr>
|
1382
|
-
<div class="refsect2"
|
1356
|
+
<div class="refsect2">
|
1383
1357
|
<a name="gtk-idle-remove"></a><h3>gtk_idle_remove ()</h3>
|
1384
1358
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_idle_remove (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> idle_handler_id</code></em>);</pre>
|
1385
|
-
<div class="warning"
|
1359
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1386
1360
|
<h3 class="title">Warning</h3>
|
1387
1361
|
<p><code class="literal">gtk_idle_remove</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-source-remove"><code class="function">g_source_remove()</code></a> instead.</p>
|
1388
1362
|
</div>
|
@@ -1393,16 +1367,15 @@ Removes the idle function with the given id.
|
|
1393
1367
|
<col align="left" valign="top">
|
1394
1368
|
<tbody><tr>
|
1395
1369
|
<td><p><span class="term"><em class="parameter"><code>idle_handler_id</code></em> :</span></p></td>
|
1396
|
-
<td>Identifies the idle function to remove
|
1397
|
-
</td>
|
1370
|
+
<td>Identifies the idle function to remove.</td>
|
1398
1371
|
</tr></tbody>
|
1399
1372
|
</table></div>
|
1400
1373
|
</div>
|
1401
1374
|
<hr>
|
1402
|
-
<div class="refsect2"
|
1375
|
+
<div class="refsect2">
|
1403
1376
|
<a name="gtk-idle-remove-by-data"></a><h3>gtk_idle_remove_by_data ()</h3>
|
1404
1377
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_idle_remove_by_data (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1405
|
-
<div class="warning"
|
1378
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1406
1379
|
<h3 class="title">Warning</h3>
|
1407
1380
|
<p><code class="literal">gtk_idle_remove_by_data</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-idle-remove-by-data"><code class="function">g_idle_remove_by_data()</code></a> instead.</p>
|
1408
1381
|
</div>
|
@@ -1413,21 +1386,20 @@ Removes the idle function identified by the user data.
|
|
1413
1386
|
<col align="left" valign="top">
|
1414
1387
|
<tbody><tr>
|
1415
1388
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1416
|
-
<td>remove the idle function which was registered with this user data
|
1417
|
-
</td>
|
1389
|
+
<td>remove the idle function which was registered with this user data.</td>
|
1418
1390
|
</tr></tbody>
|
1419
1391
|
</table></div>
|
1420
1392
|
</div>
|
1421
1393
|
<hr>
|
1422
|
-
<div class="refsect2"
|
1394
|
+
<div class="refsect2">
|
1423
1395
|
<a name="gtk-input-add-full"></a><h3>gtk_input_add_full ()</h3>
|
1424
1396
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_input_add_full (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> source</code></em>,
|
1425
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
1426
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
1397
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Input.html#GdkInputCondition"><span class="type">GdkInputCondition</span></a> condition</code></em>,
|
1398
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Input.html#GdkInputFunction"><span class="type">GdkInputFunction</span></a> function</code></em>,
|
1427
1399
|
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()"><span class="type">GtkCallbackMarshal</span></a> marshal</code></em>,
|
1428
1400
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1429
1401
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
1430
|
-
<div class="warning"
|
1402
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1431
1403
|
<h3 class="title">Warning</h3>
|
1432
1404
|
<p><code class="literal">gtk_input_add_full</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-IO-Channels.html#g-io-add-watch-full"><code class="function">g_io_add_watch_full()</code></a> instead.</p>
|
1433
1405
|
</div>
|
@@ -1440,48 +1412,41 @@ on a file descriptor.
|
|
1440
1412
|
<tbody>
|
1441
1413
|
<tr>
|
1442
1414
|
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
1443
|
-
<td>a file descriptor
|
1444
|
-
</td>
|
1415
|
+
<td>a file descriptor.</td>
|
1445
1416
|
</tr>
|
1446
1417
|
<tr>
|
1447
1418
|
<td><p><span class="term"><em class="parameter"><code>condition</code></em> :</span></p></td>
|
1448
|
-
<td>the condition
|
1449
|
-
</td>
|
1419
|
+
<td>the condition.</td>
|
1450
1420
|
</tr>
|
1451
1421
|
<tr>
|
1452
1422
|
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
|
1453
|
-
<td>The function to call
|
1454
|
-
</td>
|
1423
|
+
<td>The function to call.</td>
|
1455
1424
|
</tr>
|
1456
1425
|
<tr>
|
1457
1426
|
<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td>
|
1458
|
-
<td>The marshaller to use instead of the function (if non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)
|
1459
|
-
</td>
|
1427
|
+
<td>The marshaller to use instead of the function (if non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</td>
|
1460
1428
|
</tr>
|
1461
1429
|
<tr>
|
1462
1430
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1463
|
-
<td>callback data passed to <em class="parameter"><code>function</code></em
|
1464
|
-
</td>
|
1431
|
+
<td>callback data passed to <em class="parameter"><code>function</code></em>.</td>
|
1465
1432
|
</tr>
|
1466
1433
|
<tr>
|
1467
1434
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
1468
1435
|
<td>callback function to call with <em class="parameter"><code>data</code></em> when the input
|
1469
|
-
|
1470
|
-
</td>
|
1436
|
+
handler is removed, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
|
1471
1437
|
</tr>
|
1472
1438
|
<tr>
|
1473
1439
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1474
|
-
<td>A unique id for the event source; to be used with <a class="link" href="gtk-General.html#gtk-input-remove" title="gtk_input_remove ()"><code class="function">gtk_input_remove()</code></a
|
1475
|
-
</td>
|
1440
|
+
<td>A unique id for the event source; to be used with <a class="link" href="gtk-General.html#gtk-input-remove" title="gtk_input_remove ()"><code class="function">gtk_input_remove()</code></a>.</td>
|
1476
1441
|
</tr>
|
1477
1442
|
</tbody>
|
1478
1443
|
</table></div>
|
1479
1444
|
</div>
|
1480
1445
|
<hr>
|
1481
|
-
<div class="refsect2"
|
1446
|
+
<div class="refsect2">
|
1482
1447
|
<a name="gtk-input-remove"></a><h3>gtk_input_remove ()</h3>
|
1483
1448
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_input_remove (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> input_handler_id</code></em>);</pre>
|
1484
|
-
<div class="warning"
|
1449
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1485
1450
|
<h3 class="title">Warning</h3>
|
1486
1451
|
<p><code class="literal">gtk_input_remove</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-source-remove"><code class="function">g_source_remove()</code></a> instead.</p>
|
1487
1452
|
</div>
|
@@ -1492,19 +1457,18 @@ Removes the function with the given id.
|
|
1492
1457
|
<col align="left" valign="top">
|
1493
1458
|
<tbody><tr>
|
1494
1459
|
<td><p><span class="term"><em class="parameter"><code>input_handler_id</code></em> :</span></p></td>
|
1495
|
-
<td>Identifies the function to remove
|
1496
|
-
</td>
|
1460
|
+
<td>Identifies the function to remove.</td>
|
1497
1461
|
</tr></tbody>
|
1498
1462
|
</table></div>
|
1499
1463
|
</div>
|
1500
1464
|
<hr>
|
1501
|
-
<div class="refsect2"
|
1465
|
+
<div class="refsect2">
|
1502
1466
|
<a name="GTK-PRIORITY-REDRAW:CAPS"></a><h3>GTK_PRIORITY_REDRAW</h3>
|
1503
1467
|
<pre class="programlisting">#define GTK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20)
|
1504
1468
|
</pre>
|
1505
|
-
<div class="warning"
|
1469
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1506
1470
|
<h3 class="title">Warning</h3>
|
1507
|
-
<p><code class="literal">GTK_PRIORITY_REDRAW</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="http://library.gnome.org/devel/
|
1471
|
+
<p><code class="literal">GTK_PRIORITY_REDRAW</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="http://library.gnome.org/devel/gdk3/gdk-Events.html#GDK-PRIORITY-REDRAW:CAPS"><code class="literal">GDK_PRIORITY_REDRAW</code></a> instead.</p>
|
1508
1472
|
</div>
|
1509
1473
|
<p>
|
1510
1474
|
Use this priority for redrawing related stuff. It is used internally by
|
@@ -1514,7 +1478,7 @@ it again).
|
|
1514
1478
|
</p>
|
1515
1479
|
</div>
|
1516
1480
|
<hr>
|
1517
|
-
<div class="refsect2"
|
1481
|
+
<div class="refsect2">
|
1518
1482
|
<a name="GTK-PRIORITY-RESIZE:CAPS"></a><h3>GTK_PRIORITY_RESIZE</h3>
|
1519
1483
|
<pre class="programlisting">#define GTK_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 10)
|
1520
1484
|
</pre>
|
@@ -1525,11 +1489,11 @@ GTK+ to compute the sizes of widgets. This priority is higher than
|
|
1525
1489
|
</p>
|
1526
1490
|
</div>
|
1527
1491
|
<hr>
|
1528
|
-
<div class="refsect2"
|
1492
|
+
<div class="refsect2">
|
1529
1493
|
<a name="GTK-PRIORITY-HIGH:CAPS"></a><h3>GTK_PRIORITY_HIGH</h3>
|
1530
1494
|
<pre class="programlisting">#define GTK_PRIORITY_HIGH G_PRIORITY_HIGH
|
1531
1495
|
</pre>
|
1532
|
-
<div class="warning"
|
1496
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1533
1497
|
<h3 class="title">Warning</h3>
|
1534
1498
|
<p><code class="literal">GTK_PRIORITY_HIGH</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS"><code class="literal">G_PRIORITY_HIGH</code></a> instead.</p>
|
1535
1499
|
</div>
|
@@ -1540,11 +1504,11 @@ inside the toolkit.
|
|
1540
1504
|
</p>
|
1541
1505
|
</div>
|
1542
1506
|
<hr>
|
1543
|
-
<div class="refsect2"
|
1507
|
+
<div class="refsect2">
|
1544
1508
|
<a name="GTK-PRIORITY-INTERNAL:CAPS"></a><h3>GTK_PRIORITY_INTERNAL</h3>
|
1545
1509
|
<pre class="programlisting">#define GTK_PRIORITY_INTERNAL GTK_PRIORITY_REDRAW
|
1546
1510
|
</pre>
|
1547
|
-
<div class="warning"
|
1511
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1548
1512
|
<h3 class="title">Warning</h3>
|
1549
1513
|
<p><code class="literal">GTK_PRIORITY_INTERNAL</code> is deprecated and should not be used in newly-written code.</p>
|
1550
1514
|
</div>
|
@@ -1553,11 +1517,11 @@ This priority is for GTK+ internal stuff. Don't use it in your applications.
|
|
1553
1517
|
</p>
|
1554
1518
|
</div>
|
1555
1519
|
<hr>
|
1556
|
-
<div class="refsect2"
|
1520
|
+
<div class="refsect2">
|
1557
1521
|
<a name="GTK-PRIORITY-DEFAULT:CAPS"></a><h3>GTK_PRIORITY_DEFAULT</h3>
|
1558
1522
|
<pre class="programlisting">#define GTK_PRIORITY_DEFAULT G_PRIORITY_DEFAULT_IDLE
|
1559
1523
|
</pre>
|
1560
|
-
<div class="warning"
|
1524
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1561
1525
|
<h3 class="title">Warning</h3>
|
1562
1526
|
<p><code class="literal">GTK_PRIORITY_DEFAULT</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT-IDLE:CAPS"><code class="literal">G_PRIORITY_DEFAULT_IDLE</code></a> instead.</p>
|
1563
1527
|
</div>
|
@@ -1566,11 +1530,11 @@ Default priority for idle functions.
|
|
1566
1530
|
</p>
|
1567
1531
|
</div>
|
1568
1532
|
<hr>
|
1569
|
-
<div class="refsect2"
|
1533
|
+
<div class="refsect2">
|
1570
1534
|
<a name="GTK-PRIORITY-LOW:CAPS"></a><h3>GTK_PRIORITY_LOW</h3>
|
1571
1535
|
<pre class="programlisting">#define GTK_PRIORITY_LOW G_PRIORITY_LOW
|
1572
1536
|
</pre>
|
1573
|
-
<div class="warning"
|
1537
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1574
1538
|
<h3 class="title">Warning</h3>
|
1575
1539
|
<p><code class="literal">GTK_PRIORITY_LOW</code> has been deprecated since version 2.4 and should not be used in newly-written code. This macro is deprecated. You should use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-LOW:CAPS"><code class="literal">G_PRIORITY_LOW</code></a> instead.</p>
|
1576
1540
|
</div>
|
@@ -1579,7 +1543,7 @@ Priority for very unimportant background tasks.
|
|
1579
1543
|
</p>
|
1580
1544
|
</div>
|
1581
1545
|
<hr>
|
1582
|
-
<div class="refsect2"
|
1546
|
+
<div class="refsect2">
|
1583
1547
|
<a name="gtk-key-snooper-install"></a><h3>gtk_key_snooper_install ()</h3>
|
1584
1548
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_key_snooper_install (<em class="parameter"><code><a class="link" href="gtk-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()"><span class="type">GtkKeySnoopFunc</span></a> snooper</code></em>,
|
1585
1549
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>);</pre>
|
@@ -1592,27 +1556,24 @@ before delivering them normally.
|
|
1592
1556
|
<tbody>
|
1593
1557
|
<tr>
|
1594
1558
|
<td><p><span class="term"><em class="parameter"><code>snooper</code></em> :</span></p></td>
|
1595
|
-
<td>a <a class="link" href="gtk-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()"><span class="type">GtkKeySnoopFunc</span></a
|
1596
|
-
</td>
|
1559
|
+
<td>a <a class="link" href="gtk-General.html#GtkKeySnoopFunc" title="GtkKeySnoopFunc ()"><span class="type">GtkKeySnoopFunc</span></a>.</td>
|
1597
1560
|
</tr>
|
1598
1561
|
<tr>
|
1599
1562
|
<td><p><span class="term"><em class="parameter"><code>func_data</code></em> :</span></p></td>
|
1600
|
-
<td>data to pass to <em class="parameter"><code>snooper</code></em
|
1601
|
-
</td>
|
1563
|
+
<td>data to pass to <em class="parameter"><code>snooper</code></em>.</td>
|
1602
1564
|
</tr>
|
1603
1565
|
<tr>
|
1604
1566
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1605
|
-
<td>a unique id for this key snooper for use with <a class="link" href="gtk-General.html#gtk-key-snooper-remove" title="gtk_key_snooper_remove ()"><code class="function">gtk_key_snooper_remove()</code></a
|
1606
|
-
</td>
|
1567
|
+
<td>a unique id for this key snooper for use with <a class="link" href="gtk-General.html#gtk-key-snooper-remove" title="gtk_key_snooper_remove ()"><code class="function">gtk_key_snooper_remove()</code></a>.</td>
|
1607
1568
|
</tr>
|
1608
1569
|
</tbody>
|
1609
1570
|
</table></div>
|
1610
1571
|
</div>
|
1611
1572
|
<hr>
|
1612
|
-
<div class="refsect2"
|
1573
|
+
<div class="refsect2">
|
1613
1574
|
<a name="GtkKeySnoopFunc"></a><h3>GtkKeySnoopFunc ()</h3>
|
1614
1575
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> (*GtkKeySnoopFunc) (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *grab_widget</code></em>,
|
1615
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
1576
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>,
|
1616
1577
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func_data</code></em>);</pre>
|
1617
1578
|
<p>
|
1618
1579
|
Key snooper functions are called before normal event delivery.
|
@@ -1623,30 +1584,26 @@ They can be used to implement custom key event handling.
|
|
1623
1584
|
<tbody>
|
1624
1585
|
<tr>
|
1625
1586
|
<td><p><span class="term"><em class="parameter"><code>grab_widget</code></em> :</span></p></td>
|
1626
|
-
<td>the widget to which the event will be delivered
|
1627
|
-
</td>
|
1587
|
+
<td>the widget to which the event will be delivered.</td>
|
1628
1588
|
</tr>
|
1629
1589
|
<tr>
|
1630
1590
|
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
1631
|
-
<td>the key event
|
1632
|
-
</td>
|
1591
|
+
<td>the key event.</td>
|
1633
1592
|
</tr>
|
1634
1593
|
<tr>
|
1635
1594
|
<td><p><span class="term"><em class="parameter"><code>func_data</code></em> :</span></p></td>
|
1636
|
-
<td>the <em class="parameter"><code>func_data</code></em> supplied to <a class="link" href="gtk-General.html#gtk-key-snooper-install" title="gtk_key_snooper_install ()"><code class="function">gtk_key_snooper_install()</code></a
|
1637
|
-
</td>
|
1595
|
+
<td>the <em class="parameter"><code>func_data</code></em> supplied to <a class="link" href="gtk-General.html#gtk-key-snooper-install" title="gtk_key_snooper_install ()"><code class="function">gtk_key_snooper_install()</code></a>.</td>
|
1638
1596
|
</tr>
|
1639
1597
|
<tr>
|
1640
1598
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1641
1599
|
<td>
|
1642
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop further processing of <em class="parameter"><code>event</code></em>, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to continue
|
1643
|
-
</td>
|
1600
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop further processing of <em class="parameter"><code>event</code></em>, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to continue.</td>
|
1644
1601
|
</tr>
|
1645
1602
|
</tbody>
|
1646
1603
|
</table></div>
|
1647
1604
|
</div>
|
1648
1605
|
<hr>
|
1649
|
-
<div class="refsect2"
|
1606
|
+
<div class="refsect2">
|
1650
1607
|
<a name="gtk-key-snooper-remove"></a><h3>gtk_key_snooper_remove ()</h3>
|
1651
1608
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_key_snooper_remove (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> snooper_handler_id</code></em>);</pre>
|
1652
1609
|
<p>
|
@@ -1656,52 +1613,51 @@ Removes the key snooper function with the given id.
|
|
1656
1613
|
<col align="left" valign="top">
|
1657
1614
|
<tbody><tr>
|
1658
1615
|
<td><p><span class="term"><em class="parameter"><code>snooper_handler_id</code></em> :</span></p></td>
|
1659
|
-
<td>Identifies the key snooper to remove
|
1660
|
-
</td>
|
1616
|
+
<td>Identifies the key snooper to remove.</td>
|
1661
1617
|
</tr></tbody>
|
1662
1618
|
</table></div>
|
1663
1619
|
</div>
|
1664
1620
|
<hr>
|
1665
|
-
<div class="refsect2"
|
1621
|
+
<div class="refsect2">
|
1666
1622
|
<a name="gtk-get-current-event"></a><h3>gtk_get_current_event ()</h3>
|
1667
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/
|
1623
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="returnvalue">GdkEvent</span></a> * gtk_get_current_event (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1668
1624
|
<p>
|
1669
1625
|
Obtains a copy of the event currently being processed by GTK+. For
|
1670
1626
|
example, if you get a "clicked" signal from <a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>, the current
|
1671
|
-
event will be the <a href="http://library.gnome.org/devel/
|
1672
|
-
signal. The returned event must be freed with <a href="http://library.gnome.org/devel/
|
1627
|
+
event will be the <a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEventButton"><span class="type">GdkEventButton</span></a> that triggered the "clicked"
|
1628
|
+
signal. The returned event must be freed with <a href="http://library.gnome.org/devel/gdk3/gdk-Events.html#gdk-event-free"><code class="function">gdk_event_free()</code></a>.
|
1673
1629
|
If there is no current event, the function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1674
1630
|
</p>
|
1675
1631
|
<div class="variablelist"><table border="0">
|
1676
1632
|
<col align="left" valign="top">
|
1677
1633
|
<tbody><tr>
|
1678
1634
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1679
|
-
<td>
|
1635
|
+
<td>a copy of the current event, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no
|
1636
|
+
current event. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1680
1637
|
</td>
|
1681
1638
|
</tr></tbody>
|
1682
1639
|
</table></div>
|
1683
1640
|
</div>
|
1684
1641
|
<hr>
|
1685
|
-
<div class="refsect2"
|
1642
|
+
<div class="refsect2">
|
1686
1643
|
<a name="gtk-get-current-event-time"></a><h3>gtk_get_current_event_time ()</h3>
|
1687
1644
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a> gtk_get_current_event_time (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
1688
1645
|
<p>
|
1689
1646
|
If there is a current event and it has a timestamp, return that
|
1690
|
-
timestamp, otherwise return <a href="http://library.gnome.org/devel/
|
1647
|
+
timestamp, otherwise return <a href="http://library.gnome.org/devel/gdk3/gdk-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>.
|
1691
1648
|
</p>
|
1692
1649
|
<div class="variablelist"><table border="0">
|
1693
1650
|
<col align="left" valign="top">
|
1694
1651
|
<tbody><tr>
|
1695
1652
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1696
|
-
<td>
|
1697
|
-
</td>
|
1653
|
+
<td>the timestamp from the current event, or <a href="http://library.gnome.org/devel/gdk3/gdk-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>.</td>
|
1698
1654
|
</tr></tbody>
|
1699
1655
|
</table></div>
|
1700
1656
|
</div>
|
1701
1657
|
<hr>
|
1702
|
-
<div class="refsect2"
|
1658
|
+
<div class="refsect2">
|
1703
1659
|
<a name="gtk-get-current-event-state"></a><h3>gtk_get_current_event_state ()</h3>
|
1704
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_get_current_event_state (<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
1660
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_get_current_event_state (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> *state</code></em>);</pre>
|
1705
1661
|
<p>
|
1706
1662
|
If there is a current event and it has a state field, place
|
1707
1663
|
that state field in <em class="parameter"><code>state</code></em> and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, otherwise return
|
@@ -1712,21 +1668,21 @@ that state field in <em class="parameter"><code>state</code></em> and return <a
|
|
1712
1668
|
<tbody>
|
1713
1669
|
<tr>
|
1714
1670
|
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
|
1715
|
-
<td>a location to store the state of the current event
|
1671
|
+
<td>a location to store the state of the current event. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1716
1672
|
</td>
|
1717
1673
|
</tr>
|
1718
1674
|
<tr>
|
1719
1675
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1720
|
-
<td>
|
1721
|
-
</td>
|
1676
|
+
<td>
|
1677
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there was a current event and it had a state field</td>
|
1722
1678
|
</tr>
|
1723
1679
|
</tbody>
|
1724
1680
|
</table></div>
|
1725
1681
|
</div>
|
1726
1682
|
<hr>
|
1727
|
-
<div class="refsect2"
|
1683
|
+
<div class="refsect2">
|
1728
1684
|
<a name="gtk-get-event-widget"></a><h3>gtk_get_event_widget ()</h3>
|
1729
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
1685
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_get_event_widget (<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
1730
1686
|
<p>
|
1731
1687
|
If <em class="parameter"><code>event</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> or the event was not associated with any widget,
|
1732
1688
|
returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, otherwise returns the widget that received the event
|
@@ -1737,22 +1693,23 @@ originally.
|
|
1737
1693
|
<tbody>
|
1738
1694
|
<tr>
|
1739
1695
|
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
1740
|
-
<td>a <a href="http://library.gnome.org/devel/
|
1696
|
+
<td>a <a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a>
|
1741
1697
|
</td>
|
1742
1698
|
</tr>
|
1743
1699
|
<tr>
|
1744
1700
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1745
|
-
<td>
|
1701
|
+
<td>the widget that originally
|
1702
|
+
received <em class="parameter"><code>event</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1746
1703
|
</td>
|
1747
1704
|
</tr>
|
1748
1705
|
</tbody>
|
1749
1706
|
</table></div>
|
1750
1707
|
</div>
|
1751
1708
|
<hr>
|
1752
|
-
<div class="refsect2"
|
1709
|
+
<div class="refsect2">
|
1753
1710
|
<a name="gtk-propagate-event"></a><h3>gtk_propagate_event ()</h3>
|
1754
1711
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_propagate_event (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
1755
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
1712
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
1756
1713
|
<p>
|
1757
1714
|
Sends an event to a widget, propagating the event to parent widgets
|
1758
1715
|
if the event remains unhandled. Events received by GTK+ from GDK
|
@@ -1769,7 +1726,7 @@ widget. <a class="link" href="gtk-General.html#gtk-propagate-event" title="gtk_
|
|
1769
1726
|
All that said, you most likely don't want to use any of these
|
1770
1727
|
functions; synthesizing events is rarely needed. Consider asking on
|
1771
1728
|
the mailing list for better ways to achieve your goals. For
|
1772
|
-
example, use <a href="http://library.gnome.org/devel/
|
1729
|
+
example, use <a href="http://library.gnome.org/devel/gdk3/gdk-Windows.html#gdk-window-invalidate-rect"><code class="function">gdk_window_invalidate_rect()</code></a> or
|
1773
1730
|
<a class="link" href="GtkWidget.html#gtk-widget-queue-draw" title="gtk_widget_queue_draw ()"><code class="function">gtk_widget_queue_draw()</code></a> instead of making up expose events.
|
1774
1731
|
</p>
|
1775
1732
|
<div class="variablelist"><table border="0">
|
@@ -1782,14 +1739,13 @@ example, use <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.ht
|
|
1782
1739
|
</tr>
|
1783
1740
|
<tr>
|
1784
1741
|
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
1785
|
-
<td>an event
|
1786
|
-
</td>
|
1742
|
+
<td>an event</td>
|
1787
1743
|
</tr>
|
1788
1744
|
</tbody>
|
1789
1745
|
</table></div>
|
1790
1746
|
</div>
|
1791
1747
|
</div>
|
1792
|
-
<div class="refsect1"
|
1748
|
+
<div class="refsect1">
|
1793
1749
|
<a name="gtk-General.see-also"></a><h2>See Also</h2>
|
1794
1750
|
<p>
|
1795
1751
|
See the GLib manual, especially <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> and signal-related
|
@@ -1799,6 +1755,6 @@ functions such as <a href="http://library.gnome.org/devel/gobject/unstable/gobje
|
|
1799
1755
|
</div>
|
1800
1756
|
<div class="footer">
|
1801
1757
|
<hr>
|
1802
|
-
Generated by GTK-Doc V1.
|
1758
|
+
Generated by GTK-Doc V1.17</div>
|
1803
1759
|
</body>
|
1804
1760
|
</html>
|