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>GtkMenu</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="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
|
9
9
|
<link rel="prev" href="GtkComboBoxEntry.html" title="GtkComboBoxEntry">
|
10
10
|
<link rel="next" href="GtkMenuBar.html" title="GtkMenuBar">
|
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="GtkComboBoxEntry.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
18
|
<td><a accesskey="u" href="MenusAndCombos.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="GtkMenuBar.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">
|
@@ -38,7 +38,7 @@
|
|
38
38
|
<a href="#GtkMenu.signals" class="shortcut">Signals</a>
|
39
39
|
</td></tr>
|
40
40
|
</table>
|
41
|
-
<div class="refentry"
|
41
|
+
<div class="refentry">
|
42
42
|
<a name="GtkMenu"></a><div class="titlepage"></div>
|
43
43
|
<div class="refnamediv"><table width="100%"><tr>
|
44
44
|
<td valign="top">
|
@@ -47,15 +47,15 @@
|
|
47
47
|
</td>
|
48
48
|
<td valign="top" align="right"></td>
|
49
49
|
</tr></table></div>
|
50
|
-
<div class="refsynopsisdiv"
|
50
|
+
<div class="refsynopsisdiv">
|
51
51
|
<a name="GtkMenu.synopsis"></a><h2>Synopsis</h2>
|
52
52
|
<pre class="synopsis">
|
53
53
|
#include <gtk/gtk.h>
|
54
54
|
|
55
|
-
|
56
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
55
|
+
struct <a class="link" href="GtkMenu.html#GtkMenu-struct" title="struct GtkMenu">GtkMenu</a>;
|
56
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-new" title="gtk_menu_new ()">gtk_menu_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
57
57
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-screen" title="gtk_menu_set_screen ()">gtk_menu_set_screen</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
58
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
58
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);
|
59
59
|
#define <a class="link" href="GtkMenu.html#gtk-menu-append" title="gtk_menu_append()">gtk_menu_append</a> (menu,
|
60
60
|
child)
|
61
61
|
#define <a class="link" href="GtkMenu.html#gtk-menu-prepend" title="gtk_menu_prepend()">gtk_menu_prepend</a> (menu,
|
@@ -81,10 +81,10 @@
|
|
81
81
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> activate_time</code></em>);
|
82
82
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-accel-group" title="gtk_menu_set_accel_group ()">gtk_menu_set_accel_group</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
83
83
|
<em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);
|
84
|
-
<a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="returnvalue">GtkAccelGroup</span></a
|
84
|
+
<a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="returnvalue">GtkAccelGroup</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-accel-group" title="gtk_menu_get_accel_group ()">gtk_menu_get_accel_group</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
85
85
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-accel-path" title="gtk_menu_set_accel_path ()">gtk_menu_set_accel_path</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
86
86
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *accel_path</code></em>);
|
87
|
-
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a
|
87
|
+
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-accel-path" title="gtk_menu_get_accel_path ()">gtk_menu_get_accel_path</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
88
88
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-title" title="gtk_menu_set_title ()">gtk_menu_set_title</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
89
89
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
|
90
90
|
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-title" title="gtk_menu_get_title ()">gtk_menu_get_title</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
@@ -98,7 +98,7 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
98
98
|
|
99
99
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-popdown" title="gtk_menu_popdown ()">gtk_menu_popdown</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
100
100
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-reposition" title="gtk_menu_reposition ()">gtk_menu_reposition</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
101
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
101
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-active" title="gtk_menu_get_active ()">gtk_menu_get_active</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
102
102
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-active" title="gtk_menu_set_active ()">gtk_menu_set_active</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
103
103
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>);
|
104
104
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-set-tearoff-state" title="gtk_menu_set_tearoff_state ()">gtk_menu_set_tearoff_state</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
@@ -107,8 +107,8 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
107
107
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *attach_widget</code></em>,
|
108
108
|
<em class="parameter"><code><a class="link" href="GtkMenu.html#GtkMenuDetachFunc" title="GtkMenuDetachFunc ()"><span class="type">GtkMenuDetachFunc</span></a> detacher</code></em>);
|
109
109
|
<span class="returnvalue">void</span> <a class="link" href="GtkMenu.html#gtk-menu-detach" title="gtk_menu_detach ()">gtk_menu_detach</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
110
|
-
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
111
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a
|
110
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-attach-widget" title="gtk_menu_get_attach_widget ()">gtk_menu_get_attach_widget</a> (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
111
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GtkMenu.html#gtk-menu-get-for-attach-widget" title="gtk_menu_get_for_attach_widget ()">gtk_menu_get_for_attach_widget</a> (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
112
112
|
<span class="returnvalue">void</span> (<a class="link" href="GtkMenu.html#GtkMenuPositionFunc" title="GtkMenuPositionFunc ()">*GtkMenuPositionFunc</a>) (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
113
113
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
114
114
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>,
|
@@ -118,7 +118,7 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
118
118
|
<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);
|
119
119
|
</pre>
|
120
120
|
</div>
|
121
|
-
<div class="refsect1"
|
121
|
+
<div class="refsect1">
|
122
122
|
<a name="GtkMenu.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
123
123
|
<pre class="synopsis">
|
124
124
|
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
@@ -131,13 +131,13 @@ const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.htm
|
|
131
131
|
+----<a class="link" href="GtkRecentChooserMenu.html" title="GtkRecentChooserMenu">GtkRecentChooserMenu</a>
|
132
132
|
</pre>
|
133
133
|
</div>
|
134
|
-
<div class="refsect1"
|
134
|
+
<div class="refsect1">
|
135
135
|
<a name="GtkMenu.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
136
136
|
<p>
|
137
137
|
GtkMenu implements
|
138
138
|
AtkImplementorIface and <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
|
139
139
|
</div>
|
140
|
-
<div class="refsect1"
|
140
|
+
<div class="refsect1">
|
141
141
|
<a name="GtkMenu.properties"></a><h2>Properties</h2>
|
142
142
|
<pre class="synopsis">
|
143
143
|
"<a class="link" href="GtkMenu.html#GtkMenu--accel-group" title='The "accel-group" property'>accel-group</a>" <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a>* : Read / Write
|
@@ -150,7 +150,7 @@ GtkMenu implements
|
|
150
150
|
"<a class="link" href="GtkMenu.html#GtkMenu--tearoff-title" title='The "tearoff-title" property'>tearoff-title</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
151
151
|
</pre>
|
152
152
|
</div>
|
153
|
-
<div class="refsect1"
|
153
|
+
<div class="refsect1">
|
154
154
|
<a name="GtkMenu.child-properties"></a><h2>Child Properties</h2>
|
155
155
|
<pre class="synopsis">
|
156
156
|
"<a class="link" href="GtkMenu.html#GtkMenu--c-bottom-attach" title='The "bottom-attach" child property'>bottom-attach</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
@@ -159,7 +159,7 @@ GtkMenu implements
|
|
159
159
|
"<a class="link" href="GtkMenu.html#GtkMenu--c-top-attach" title='The "top-attach" child property'>top-attach</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
160
160
|
</pre>
|
161
161
|
</div>
|
162
|
-
<div class="refsect1"
|
162
|
+
<div class="refsect1">
|
163
163
|
<a name="GtkMenu.style-properties"></a><h2>Style Properties</h2>
|
164
164
|
<pre class="synopsis">
|
165
165
|
"<a class="link" href="GtkMenu.html#GtkMenu--s-arrow-placement" title='The "arrow-placement" style property'>arrow-placement</a>" <a class="link" href="gtk-Standard-Enumerations.html#GtkArrowPlacement" title="enum GtkArrowPlacement"><span class="type">GtkArrowPlacement</span></a> : Read
|
@@ -171,13 +171,13 @@ GtkMenu implements
|
|
171
171
|
"<a class="link" href="GtkMenu.html#GtkMenu--s-vertical-padding" title='The "vertical-padding" style property'>vertical-padding</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
172
172
|
</pre>
|
173
173
|
</div>
|
174
|
-
<div class="refsect1"
|
174
|
+
<div class="refsect1">
|
175
175
|
<a name="GtkMenu.signals"></a><h2>Signals</h2>
|
176
176
|
<pre class="synopsis">
|
177
|
-
"<a class="link" href="GtkMenu.html#GtkMenu-move-scroll" title='The "move-scroll" signal'>move-scroll</a>" :
|
177
|
+
"<a class="link" href="GtkMenu.html#GtkMenu-move-scroll" title='The "move-scroll" signal'>move-scroll</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
178
178
|
</pre>
|
179
179
|
</div>
|
180
|
-
<div class="refsect1"
|
180
|
+
<div class="refsect1">
|
181
181
|
<a name="GtkMenu.description"></a><h2>Description</h2>
|
182
182
|
<p>
|
183
183
|
A <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> is a <a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> that implements a drop down menu consisting of
|
@@ -199,7 +199,7 @@ Applications can display a <a class="link" href="GtkMenu.html" title="GtkMenu"><
|
|
199
199
|
can pop up a menu when the 3rd mouse button is pressed.
|
200
200
|
</p>
|
201
201
|
<div class="example">
|
202
|
-
<a name="
|
202
|
+
<a name="id1111655"></a><p class="title"><b>Example 31. Connecting the popup signal handler.</b></p>
|
203
203
|
<div class="example-contents">
|
204
204
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
205
205
|
<tbody>
|
@@ -217,7 +217,7 @@ can pop up a menu when the 3rd mouse button is pressed.
|
|
217
217
|
|
218
218
|
</div>
|
219
219
|
<br class="example-break"><div class="example">
|
220
|
-
<a name="
|
220
|
+
<a name="id1111671"></a><p class="title"><b>Example 32. Signal handler which displays a popup menu.</b></p>
|
221
221
|
<div class="example-contents">
|
222
222
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
223
223
|
<tbody>
|
@@ -258,9 +258,9 @@ can pop up a menu when the 3rd mouse button is pressed.
|
|
258
258
|
<span class="comment"> * g_signal_connect_swapped() was called.</span>
|
259
259
|
<span class="comment"> */</span>
|
260
260
|
<span class="normal"> menu </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_MENU</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">);</span>
|
261
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">type </span><span class="symbol">==</span><span class="normal"> <a href="http://library.gnome.org/devel/
|
261
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">type </span><span class="symbol">==</span><span class="normal"> <a href="http://library.gnome.org/devel/gdk3/gdk-Events.html#GDK-BUTTON-PRESS:CAPS">GDK_BUTTON_PRESS</a></span><span class="symbol">)</span>
|
262
262
|
<span class="normal"> </span><span class="cbracket">{</span>
|
263
|
-
<span class="normal"> event_button </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/
|
263
|
+
<span class="normal"> event_button </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/gdk3/gdk-Event-Structures.html#GdkEventButton">GdkEventButton</a> </span><span class="symbol">*)</span><span class="normal"> event</span><span class="symbol">;</span>
|
264
264
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event_button</span><span class="symbol">-></span><span class="normal">button </span><span class="symbol">==</span><span class="normal"> </span><span class="number">3</span><span class="symbol">)</span>
|
265
265
|
<span class="normal"> </span><span class="cbracket">{</span>
|
266
266
|
<span class="normal"> </span><span class="function"><a href="GtkMenu.html#gtk-menu-popup">gtk_menu_popup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
|
@@ -278,20 +278,20 @@ can pop up a menu when the 3rd mouse button is pressed.
|
|
278
278
|
</div>
|
279
279
|
<br class="example-break">
|
280
280
|
</div>
|
281
|
-
<div class="refsect1"
|
281
|
+
<div class="refsect1">
|
282
282
|
<a name="GtkMenu.details"></a><h2>Details</h2>
|
283
|
-
<div class="refsect2"
|
284
|
-
<a name="GtkMenu-struct"></a><h3>GtkMenu</h3>
|
285
|
-
<pre class="programlisting">
|
283
|
+
<div class="refsect2">
|
284
|
+
<a name="GtkMenu-struct"></a><h3>struct GtkMenu</h3>
|
285
|
+
<pre class="programlisting">struct GtkMenu;</pre>
|
286
286
|
<p>
|
287
287
|
The <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> struct contains private data only, and
|
288
288
|
should be accessed using the functions below.
|
289
289
|
</p>
|
290
290
|
</div>
|
291
291
|
<hr>
|
292
|
-
<div class="refsect2"
|
292
|
+
<div class="refsect2">
|
293
293
|
<a name="gtk-menu-new"></a><h3>gtk_menu_new ()</h3>
|
294
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
294
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
295
295
|
<p>
|
296
296
|
Creates a new <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.
|
297
297
|
</p>
|
@@ -299,31 +299,29 @@ Creates a new <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="t
|
|
299
299
|
<col align="left" valign="top">
|
300
300
|
<tbody><tr>
|
301
301
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
302
|
-
<td>a new <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
303
|
-
</td>
|
302
|
+
<td>a new <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
304
303
|
</tr></tbody>
|
305
304
|
</table></div>
|
306
305
|
</div>
|
307
306
|
<hr>
|
308
|
-
<div class="refsect2"
|
307
|
+
<div class="refsect2">
|
309
308
|
<a name="gtk-menu-set-screen"></a><h3>gtk_menu_set_screen ()</h3>
|
310
309
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_screen (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
311
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/
|
310
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
312
311
|
<p>
|
313
|
-
Sets the <a href="http://library.gnome.org/devel/
|
312
|
+
Sets the <a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> on which the menu will be displayed.
|
314
313
|
</p>
|
315
314
|
<div class="variablelist"><table border="0">
|
316
315
|
<col align="left" valign="top">
|
317
316
|
<tbody>
|
318
317
|
<tr>
|
319
318
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
320
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
321
|
-
</td>
|
319
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
322
320
|
</tr>
|
323
321
|
<tr>
|
324
322
|
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
|
325
|
-
<td>
|
326
|
-
|
323
|
+
<td>a <a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the screen should be
|
324
|
+
determined by the widget the menu is attached to. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
327
325
|
</td>
|
328
326
|
</tr>
|
329
327
|
</tbody>
|
@@ -331,11 +329,11 @@ Sets the <a href="http://library.gnome.org/devel/gdk/unstable/GdkScreen.html"><s
|
|
331
329
|
<p class="since">Since 2.2</p>
|
332
330
|
</div>
|
333
331
|
<hr>
|
334
|
-
<div class="refsect2"
|
332
|
+
<div class="refsect2">
|
335
333
|
<a name="gtk-menu-append"></a><h3>gtk_menu_append()</h3>
|
336
334
|
<pre class="programlisting">#define gtk_menu_append(menu,child) gtk_menu_shell_append ((GtkMenuShell *)(menu),(child))
|
337
335
|
</pre>
|
338
|
-
<div class="warning"
|
336
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
339
337
|
<h3 class="title">Warning</h3>
|
340
338
|
<p><code class="literal">gtk_menu_append</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkMenuShell.html#gtk-menu-shell-append" title="gtk_menu_shell_append ()"><code class="function">gtk_menu_shell_append()</code></a> instead.</p>
|
341
339
|
</div>
|
@@ -347,23 +345,21 @@ Adds a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span cla
|
|
347
345
|
<tbody>
|
348
346
|
<tr>
|
349
347
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
350
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
351
|
-
</td>
|
348
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
352
349
|
</tr>
|
353
350
|
<tr>
|
354
351
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
355
|
-
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add
|
356
|
-
</td>
|
352
|
+
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add.</td>
|
357
353
|
</tr>
|
358
354
|
</tbody>
|
359
355
|
</table></div>
|
360
356
|
</div>
|
361
357
|
<hr>
|
362
|
-
<div class="refsect2"
|
358
|
+
<div class="refsect2">
|
363
359
|
<a name="gtk-menu-prepend"></a><h3>gtk_menu_prepend()</h3>
|
364
360
|
<pre class="programlisting">#define gtk_menu_prepend(menu,child) gtk_menu_shell_prepend ((GtkMenuShell *)(menu),(child))
|
365
361
|
</pre>
|
366
|
-
<div class="warning"
|
362
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
367
363
|
<h3 class="title">Warning</h3>
|
368
364
|
<p><code class="literal">gtk_menu_prepend</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkMenuShell.html#gtk-menu-shell-prepend" title="gtk_menu_shell_prepend ()"><code class="function">gtk_menu_shell_prepend()</code></a> instead.</p>
|
369
365
|
</div>
|
@@ -375,23 +371,21 @@ Adds a new <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span cla
|
|
375
371
|
<tbody>
|
376
372
|
<tr>
|
377
373
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
378
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
379
|
-
</td>
|
374
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
380
375
|
</tr>
|
381
376
|
<tr>
|
382
377
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
383
|
-
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add
|
384
|
-
</td>
|
378
|
+
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add.</td>
|
385
379
|
</tr>
|
386
380
|
</tbody>
|
387
381
|
</table></div>
|
388
382
|
</div>
|
389
383
|
<hr>
|
390
|
-
<div class="refsect2"
|
384
|
+
<div class="refsect2">
|
391
385
|
<a name="gtk-menu-insert"></a><h3>gtk_menu_insert()</h3>
|
392
386
|
<pre class="programlisting">#define gtk_menu_insert(menu,child,pos) gtk_menu_shell_insert ((GtkMenuShell *)(menu),(child),(pos))
|
393
387
|
</pre>
|
394
|
-
<div class="warning"
|
388
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
395
389
|
<h3 class="title">Warning</h3>
|
396
390
|
<p><code class="literal">gtk_menu_insert</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkMenuShell.html#gtk-menu-shell-insert" title="gtk_menu_shell_insert ()"><code class="function">gtk_menu_shell_insert()</code></a> instead.</p>
|
397
391
|
</div>
|
@@ -404,25 +398,22 @@ indicated by <em class="parameter"><code>position</code></em>.
|
|
404
398
|
<tbody>
|
405
399
|
<tr>
|
406
400
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
407
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
408
|
-
</td>
|
401
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
409
402
|
</tr>
|
410
403
|
<tr>
|
411
404
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
412
|
-
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add
|
413
|
-
</td>
|
405
|
+
<td>The <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to add.</td>
|
414
406
|
</tr>
|
415
407
|
<tr>
|
416
408
|
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
|
417
409
|
<td>The position in the item list where <em class="parameter"><code>child</code></em> is added.
|
418
|
-
|
419
|
-
</td>
|
410
|
+
Positions are numbered from 0 to n-1.</td>
|
420
411
|
</tr>
|
421
412
|
</tbody>
|
422
413
|
</table></div>
|
423
414
|
</div>
|
424
415
|
<hr>
|
425
|
-
<div class="refsect2"
|
416
|
+
<div class="refsect2">
|
426
417
|
<a name="gtk-menu-reorder-child"></a><h3>gtk_menu_reorder_child ()</h3>
|
427
418
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_reorder_child (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
428
419
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
@@ -435,25 +426,22 @@ Moves a <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class=
|
|
435
426
|
<tbody>
|
436
427
|
<tr>
|
437
428
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
438
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
439
|
-
</td>
|
429
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
440
430
|
</tr>
|
441
431
|
<tr>
|
442
432
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
443
|
-
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to move
|
444
|
-
</td>
|
433
|
+
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> to move.</td>
|
445
434
|
</tr>
|
446
435
|
<tr>
|
447
436
|
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
448
|
-
<td>the new position to place <em class="parameter"><code>child</code></em>. Positions are numbered from
|
449
|
-
0 to n-1
|
450
|
-
</td>
|
437
|
+
<td>the new position to place <em class="parameter"><code>child</code></em>. Positions are numbered from
|
438
|
+
0 to n-1.</td>
|
451
439
|
</tr>
|
452
440
|
</tbody>
|
453
441
|
</table></div>
|
454
442
|
</div>
|
455
443
|
<hr>
|
456
|
-
<div class="refsect2"
|
444
|
+
<div class="refsect2">
|
457
445
|
<a name="gtk-menu-attach"></a><h3>gtk_menu_attach ()</h3>
|
458
446
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_attach (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
459
447
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
@@ -476,40 +464,34 @@ Note that this function is not related to <a class="link" href="GtkMenu.html#gtk
|
|
476
464
|
<tbody>
|
477
465
|
<tr>
|
478
466
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
479
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
480
|
-
</td>
|
467
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
481
468
|
</tr>
|
482
469
|
<tr>
|
483
470
|
<td><p><span class="term"><em class="parameter"><code>child</code></em> :</span></p></td>
|
484
|
-
<td>a <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a
|
485
|
-
</td>
|
471
|
+
<td>a <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a>.</td>
|
486
472
|
</tr>
|
487
473
|
<tr>
|
488
474
|
<td><p><span class="term"><em class="parameter"><code>left_attach</code></em> :</span></p></td>
|
489
|
-
<td>The column number to attach the left side of the item to
|
490
|
-
</td>
|
475
|
+
<td>The column number to attach the left side of the item to.</td>
|
491
476
|
</tr>
|
492
477
|
<tr>
|
493
478
|
<td><p><span class="term"><em class="parameter"><code>right_attach</code></em> :</span></p></td>
|
494
|
-
<td>The column number to attach the right side of the item to
|
495
|
-
</td>
|
479
|
+
<td>The column number to attach the right side of the item to.</td>
|
496
480
|
</tr>
|
497
481
|
<tr>
|
498
482
|
<td><p><span class="term"><em class="parameter"><code>top_attach</code></em> :</span></p></td>
|
499
|
-
<td>The row number to attach the top of the item to
|
500
|
-
</td>
|
483
|
+
<td>The row number to attach the top of the item to.</td>
|
501
484
|
</tr>
|
502
485
|
<tr>
|
503
486
|
<td><p><span class="term"><em class="parameter"><code>bottom_attach</code></em> :</span></p></td>
|
504
|
-
<td>The row number to attach the bottom of the item to
|
505
|
-
</td>
|
487
|
+
<td>The row number to attach the bottom of the item to.</td>
|
506
488
|
</tr>
|
507
489
|
</tbody>
|
508
490
|
</table></div>
|
509
491
|
<p class="since">Since 2.4</p>
|
510
492
|
</div>
|
511
493
|
<hr>
|
512
|
-
<div class="refsect2"
|
494
|
+
<div class="refsect2">
|
513
495
|
<a name="gtk-menu-popup"></a><h3>gtk_menu_popup ()</h3>
|
514
496
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_popup (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
515
497
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *parent_menu_shell</code></em>,
|
@@ -544,44 +526,41 @@ be used instead.
|
|
544
526
|
<tbody>
|
545
527
|
<tr>
|
546
528
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
547
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
548
|
-
</td>
|
529
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
549
530
|
</tr>
|
550
531
|
<tr>
|
551
532
|
<td><p><span class="term"><em class="parameter"><code>parent_menu_shell</code></em> :</span></p></td>
|
552
|
-
<td>
|
533
|
+
<td>the menu shell containing the triggering menu item, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
553
534
|
</td>
|
554
535
|
</tr>
|
555
536
|
<tr>
|
556
537
|
<td><p><span class="term"><em class="parameter"><code>parent_menu_item</code></em> :</span></p></td>
|
557
|
-
<td>
|
538
|
+
<td>the menu item whose activation triggered the popup, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
558
539
|
</td>
|
559
540
|
</tr>
|
560
541
|
<tr>
|
561
542
|
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
|
562
|
-
<td>
|
543
|
+
<td>a user supplied function used to position the menu, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
563
544
|
</td>
|
564
545
|
</tr>
|
565
546
|
<tr>
|
566
547
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
567
|
-
<td>
|
548
|
+
<td>user supplied data to be passed to <em class="parameter"><code>func</code></em>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
568
549
|
</td>
|
569
550
|
</tr>
|
570
551
|
<tr>
|
571
552
|
<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td>
|
572
|
-
<td>the mouse button which was pressed to initiate the event
|
573
|
-
</td>
|
553
|
+
<td>the mouse button which was pressed to initiate the event.</td>
|
574
554
|
</tr>
|
575
555
|
<tr>
|
576
556
|
<td><p><span class="term"><em class="parameter"><code>activate_time</code></em> :</span></p></td>
|
577
|
-
<td>the time at which the activation event occurred
|
578
|
-
</td>
|
557
|
+
<td>the time at which the activation event occurred.</td>
|
579
558
|
</tr>
|
580
559
|
</tbody>
|
581
560
|
</table></div>
|
582
561
|
</div>
|
583
562
|
<hr>
|
584
|
-
<div class="refsect2"
|
563
|
+
<div class="refsect2">
|
585
564
|
<a name="gtk-menu-set-accel-group"></a><h3>gtk_menu_set_accel_group ()</h3>
|
586
565
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_accel_group (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
587
566
|
<em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);</pre>
|
@@ -596,8 +575,7 @@ for those windows to support all the accelerators contained in this group.
|
|
596
575
|
<tbody>
|
597
576
|
<tr>
|
598
577
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
599
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
600
|
-
</td>
|
578
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
601
579
|
</tr>
|
602
580
|
<tr>
|
603
581
|
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
|
@@ -608,9 +586,13 @@ for those windows to support all the accelerators contained in this group.
|
|
608
586
|
</table></div>
|
609
587
|
</div>
|
610
588
|
<hr>
|
611
|
-
<div class="refsect2"
|
589
|
+
<div class="refsect2">
|
612
590
|
<a name="gtk-menu-get-accel-group"></a><h3>gtk_menu_get_accel_group ()</h3>
|
613
|
-
<pre class="programlisting"><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="returnvalue">GtkAccelGroup</span></a
|
591
|
+
<pre class="programlisting"><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="returnvalue">GtkAccelGroup</span></a> * gtk_menu_get_accel_group (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
592
|
+
<p>
|
593
|
+
Gets the <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> which holds global accelerators for the
|
594
|
+
menu. See <a class="link" href="GtkMenu.html#gtk-menu-set-accel-group" title="gtk_menu_set_accel_group ()"><code class="function">gtk_menu_set_accel_group()</code></a>.
|
595
|
+
</p>
|
614
596
|
<p>
|
615
597
|
Gets the <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> which holds global accelerators for the menu.
|
616
598
|
See <a class="link" href="GtkMenu.html#gtk-menu-set-accel-group" title="gtk_menu_set_accel_group ()"><code class="function">gtk_menu_set_accel_group()</code></a>.
|
@@ -620,19 +602,18 @@ See <a class="link" href="GtkMenu.html#gtk-menu-set-accel-group" title="gtk_menu
|
|
620
602
|
<tbody>
|
621
603
|
<tr>
|
622
604
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
623
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
624
|
-
</td>
|
605
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
625
606
|
</tr>
|
626
607
|
<tr>
|
627
608
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
628
|
-
<td>the <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> associated with the menu.
|
609
|
+
<td>the <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> associated with the menu. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
629
610
|
</td>
|
630
611
|
</tr>
|
631
612
|
</tbody>
|
632
613
|
</table></div>
|
633
614
|
</div>
|
634
615
|
<hr>
|
635
|
-
<div class="refsect2"
|
616
|
+
<div class="refsect2">
|
636
617
|
<a name="gtk-menu-set-accel-path"></a><h3>gtk_menu_set_accel_path ()</h3>
|
637
618
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_accel_path (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
638
619
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *accel_path</code></em>);</pre>
|
@@ -668,16 +649,16 @@ pass a static string, you can save some memory by interning it first with
|
|
668
649
|
</tr>
|
669
650
|
<tr>
|
670
651
|
<td><p><span class="term"><em class="parameter"><code>accel_path</code></em> :</span></p></td>
|
671
|
-
<td>
|
652
|
+
<td>a valid accelerator path. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
672
653
|
</td>
|
673
654
|
</tr>
|
674
655
|
</tbody>
|
675
656
|
</table></div>
|
676
657
|
</div>
|
677
658
|
<hr>
|
678
|
-
<div class="refsect2"
|
659
|
+
<div class="refsect2">
|
679
660
|
<a name="gtk-menu-get-accel-path"></a><h3>gtk_menu_get_accel_path ()</h3>
|
680
|
-
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a
|
661
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_menu_get_accel_path (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
681
662
|
<p>
|
682
663
|
Retrieves the accelerator path set on the menu.
|
683
664
|
</p>
|
@@ -691,16 +672,14 @@ Retrieves the accelerator path set on the menu.
|
|
691
672
|
</tr>
|
692
673
|
<tr>
|
693
674
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
694
|
-
<td>
|
695
|
-
|
696
|
-
</td>
|
675
|
+
<td>the accelerator path set on the menu.</td>
|
697
676
|
</tr>
|
698
677
|
</tbody>
|
699
678
|
</table></div>
|
700
679
|
<p class="since">Since 2.14</p>
|
701
680
|
</div>
|
702
681
|
<hr>
|
703
|
-
<div class="refsect2"
|
682
|
+
<div class="refsect2">
|
704
683
|
<a name="gtk-menu-set-title"></a><h3>gtk_menu_set_title ()</h3>
|
705
684
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_title (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
706
685
|
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
|
@@ -720,14 +699,13 @@ that menu item's label.
|
|
720
699
|
</tr>
|
721
700
|
<tr>
|
722
701
|
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
|
723
|
-
<td>a string containing the title for the menu
|
724
|
-
</td>
|
702
|
+
<td>a string containing the title for the menu.</td>
|
725
703
|
</tr>
|
726
704
|
</tbody>
|
727
705
|
</table></div>
|
728
706
|
</div>
|
729
707
|
<hr>
|
730
|
-
<div class="refsect2"
|
708
|
+
<div class="refsect2">
|
731
709
|
<a name="gtk-menu-get-title"></a><h3>gtk_menu_get_title ()</h3>
|
732
710
|
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_menu_get_title (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
733
711
|
<p>
|
@@ -743,22 +721,21 @@ Returns the title of the menu. See <a class="link" href="GtkMenu.html#gtk-menu-s
|
|
743
721
|
</tr>
|
744
722
|
<tr>
|
745
723
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
746
|
-
<td>
|
724
|
+
<td>the title of the menu, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the menu has no
|
747
725
|
title set on it. This string is owned by the widget and should
|
748
|
-
not be modified or freed
|
749
|
-
</td>
|
726
|
+
not be modified or freed.</td>
|
750
727
|
</tr>
|
751
728
|
</tbody>
|
752
729
|
</table></div>
|
753
730
|
</div>
|
754
731
|
<hr>
|
755
|
-
<div class="refsect2"
|
732
|
+
<div class="refsect2">
|
756
733
|
<a name="gtk-menu-set-monitor"></a><h3>gtk_menu_set_monitor ()</h3>
|
757
734
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_monitor (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
758
735
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>);</pre>
|
759
736
|
<p>
|
760
737
|
Informs GTK+ on which monitor a menu should be popped up.
|
761
|
-
See <a href="http://library.gnome.org/devel/
|
738
|
+
See <a href="http://library.gnome.org/devel/gdk3/GdkScreen.html#gdk-screen-get-monitor-geometry"><code class="function">gdk_screen_get_monitor_geometry()</code></a>.
|
762
739
|
</p>
|
763
740
|
<p>
|
764
741
|
This function should be called from a <a class="link" href="GtkMenu.html#GtkMenuPositionFunc" title="GtkMenuPositionFunc ()"><span class="type">GtkMenuPositionFunc</span></a> if the
|
@@ -778,15 +755,14 @@ may extend beyond the monitor boundaries or even the screen boundaries.
|
|
778
755
|
<tr>
|
779
756
|
<td><p><span class="term"><em class="parameter"><code>monitor_num</code></em> :</span></p></td>
|
780
757
|
<td>the number of the monitor on which the menu should
|
781
|
-
|
782
|
-
</td>
|
758
|
+
be popped up</td>
|
783
759
|
</tr>
|
784
760
|
</tbody>
|
785
761
|
</table></div>
|
786
762
|
<p class="since">Since 2.4</p>
|
787
763
|
</div>
|
788
764
|
<hr>
|
789
|
-
<div class="refsect2"
|
765
|
+
<div class="refsect2">
|
790
766
|
<a name="gtk-menu-get-monitor"></a><h3>gtk_menu_get_monitor ()</h3>
|
791
767
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_menu_get_monitor (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
792
768
|
<p>
|
@@ -802,17 +778,15 @@ Retrieves the number of the monitor on which to show the menu.
|
|
802
778
|
</tr>
|
803
779
|
<tr>
|
804
780
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
805
|
-
<td>
|
806
|
-
|
807
|
-
|
808
|
-
</td>
|
781
|
+
<td>the number of the monitor on which the menu should
|
782
|
+
be popped up or -1, if no monitor has been set</td>
|
809
783
|
</tr>
|
810
784
|
</tbody>
|
811
785
|
</table></div>
|
812
786
|
<p class="since">Since 2.14</p>
|
813
787
|
</div>
|
814
788
|
<hr>
|
815
|
-
<div class="refsect2"
|
789
|
+
<div class="refsect2">
|
816
790
|
<a name="gtk-menu-get-tearoff-state"></a><h3>gtk_menu_get_tearoff_state ()</h3>
|
817
791
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_menu_get_tearoff_state (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
818
792
|
<p>
|
@@ -829,14 +803,14 @@ Returns whether the menu is torn off. See
|
|
829
803
|
</tr>
|
830
804
|
<tr>
|
831
805
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
832
|
-
<td>
|
833
|
-
</td>
|
806
|
+
<td>
|
807
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menu is currently torn off.</td>
|
834
808
|
</tr>
|
835
809
|
</tbody>
|
836
810
|
</table></div>
|
837
811
|
</div>
|
838
812
|
<hr>
|
839
|
-
<div class="refsect2"
|
813
|
+
<div class="refsect2">
|
840
814
|
<a name="gtk-menu-set-reserve-toggle-size"></a><h3>gtk_menu_set_reserve_toggle_size ()</h3>
|
841
815
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_reserve_toggle_size (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
842
816
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> reserve_toggle_size</code></em>);</pre>
|
@@ -854,15 +828,14 @@ or icons, regardless of their actual presence.
|
|
854
828
|
</tr>
|
855
829
|
<tr>
|
856
830
|
<td><p><span class="term"><em class="parameter"><code>reserve_toggle_size</code></em> :</span></p></td>
|
857
|
-
<td>whether to reserve size for toggles
|
858
|
-
</td>
|
831
|
+
<td>whether to reserve size for toggles</td>
|
859
832
|
</tr>
|
860
833
|
</tbody>
|
861
834
|
</table></div>
|
862
835
|
<p class="since">Since 2.18</p>
|
863
836
|
</div>
|
864
837
|
<hr>
|
865
|
-
<div class="refsect2"
|
838
|
+
<div class="refsect2">
|
866
839
|
<a name="gtk-menu-get-reserve-toggle-size"></a><h3>gtk_menu_get_reserve_toggle_size ()</h3>
|
867
840
|
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_menu_get_reserve_toggle_size (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
868
841
|
<p>
|
@@ -879,16 +852,14 @@ icons, regardless of their actual presence.
|
|
879
852
|
</tr>
|
880
853
|
<tr>
|
881
854
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
882
|
-
<td>
|
883
|
-
|
884
|
-
</td>
|
855
|
+
<td>Whether the menu reserves toggle space</td>
|
885
856
|
</tr>
|
886
857
|
</tbody>
|
887
858
|
</table></div>
|
888
859
|
<p class="since">Since 2.18</p>
|
889
860
|
</div>
|
890
861
|
<hr>
|
891
|
-
<div class="refsect2"
|
862
|
+
<div class="refsect2">
|
892
863
|
<a name="gtk-menu-popdown"></a><h3>gtk_menu_popdown ()</h3>
|
893
864
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_popdown (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
894
865
|
<p>
|
@@ -898,13 +869,12 @@ Removes the menu from the screen.
|
|
898
869
|
<col align="left" valign="top">
|
899
870
|
<tbody><tr>
|
900
871
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
901
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
902
|
-
</td>
|
872
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
903
873
|
</tr></tbody>
|
904
874
|
</table></div>
|
905
875
|
</div>
|
906
876
|
<hr>
|
907
|
-
<div class="refsect2"
|
877
|
+
<div class="refsect2">
|
908
878
|
<a name="gtk-menu-reposition"></a><h3>gtk_menu_reposition ()</h3>
|
909
879
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_reposition (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
910
880
|
<p>
|
@@ -914,15 +884,18 @@ Repositions the menu according to its position function.
|
|
914
884
|
<col align="left" valign="top">
|
915
885
|
<tbody><tr>
|
916
886
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
917
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
918
|
-
</td>
|
887
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
919
888
|
</tr></tbody>
|
920
889
|
</table></div>
|
921
890
|
</div>
|
922
891
|
<hr>
|
923
|
-
<div class="refsect2"
|
892
|
+
<div class="refsect2">
|
924
893
|
<a name="gtk-menu-get-active"></a><h3>gtk_menu_get_active ()</h3>
|
925
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
894
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_get_active (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
895
|
+
<p>
|
896
|
+
Returns the selected menu item from the menu. This is used by the
|
897
|
+
<a class="link" href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a>.
|
898
|
+
</p>
|
926
899
|
<p>
|
927
900
|
Returns the selected menu item from the menu. This is used by the
|
928
901
|
<a class="link" href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a>.
|
@@ -932,20 +905,21 @@ Returns the selected menu item from the menu. This is used by the
|
|
932
905
|
<tbody>
|
933
906
|
<tr>
|
934
907
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
935
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
908
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>
|
936
909
|
</td>
|
937
910
|
</tr>
|
938
911
|
<tr>
|
939
912
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
940
|
-
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> that was last selected
|
941
|
-
selection has not yet been made, the
|
913
|
+
<td>the <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> that was last selected
|
914
|
+
in the menu. If a selection has not yet been made, the
|
915
|
+
first menu item is selected. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
942
916
|
</td>
|
943
917
|
</tr>
|
944
918
|
</tbody>
|
945
919
|
</table></div>
|
946
920
|
</div>
|
947
921
|
<hr>
|
948
|
-
<div class="refsect2"
|
922
|
+
<div class="refsect2">
|
949
923
|
<a name="gtk-menu-set-active"></a><h3>gtk_menu_set_active ()</h3>
|
950
924
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_active (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
951
925
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>);</pre>
|
@@ -958,20 +932,18 @@ Selects the specified menu item within the menu. This is used by the
|
|
958
932
|
<tbody>
|
959
933
|
<tr>
|
960
934
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
961
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
962
|
-
</td>
|
935
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
963
936
|
</tr>
|
964
937
|
<tr>
|
965
938
|
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
966
939
|
<td>the index of the menu item to select. Index values are from
|
967
|
-
0 to n-1
|
968
|
-
</td>
|
940
|
+
0 to n-1.</td>
|
969
941
|
</tr>
|
970
942
|
</tbody>
|
971
943
|
</table></div>
|
972
944
|
</div>
|
973
945
|
<hr>
|
974
|
-
<div class="refsect2"
|
946
|
+
<div class="refsect2">
|
975
947
|
<a name="gtk-menu-set-tearoff-state"></a><h3>gtk_menu_set_tearoff_state ()</h3>
|
976
948
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_set_tearoff_state (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
977
949
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> torn_off</code></em>);</pre>
|
@@ -986,19 +958,17 @@ or reattached.
|
|
986
958
|
<tbody>
|
987
959
|
<tr>
|
988
960
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
989
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
990
|
-
</td>
|
961
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
991
962
|
</tr>
|
992
963
|
<tr>
|
993
964
|
<td><p><span class="term"><em class="parameter"><code>torn_off</code></em> :</span></p></td>
|
994
|
-
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, menu is displayed as a tearoff menu
|
995
|
-
</td>
|
965
|
+
<td>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, menu is displayed as a tearoff menu.</td>
|
996
966
|
</tr>
|
997
967
|
</tbody>
|
998
968
|
</table></div>
|
999
969
|
</div>
|
1000
970
|
<hr>
|
1001
|
-
<div class="refsect2"
|
971
|
+
<div class="refsect2">
|
1002
972
|
<a name="gtk-menu-attach-to-widget"></a><h3>gtk_menu_attach_to_widget ()</h3>
|
1003
973
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_attach_to_widget (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
1004
974
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *attach_widget</code></em>,
|
@@ -1012,25 +982,22 @@ be invoked when the menu calls <a class="link" href="GtkMenu.html#gtk-menu-detac
|
|
1012
982
|
<tbody>
|
1013
983
|
<tr>
|
1014
984
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1015
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
1016
|
-
</td>
|
985
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
1017
986
|
</tr>
|
1018
987
|
<tr>
|
1019
988
|
<td><p><span class="term"><em class="parameter"><code>attach_widget</code></em> :</span></p></td>
|
1020
|
-
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu will be attached to
|
1021
|
-
</td>
|
989
|
+
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu will be attached to.</td>
|
1022
990
|
</tr>
|
1023
991
|
<tr>
|
1024
992
|
<td><p><span class="term"><em class="parameter"><code>detacher</code></em> :</span></p></td>
|
1025
|
-
<td>the user supplied callback function that will be called when
|
1026
|
-
the menu calls <a class="link" href="GtkMenu.html#gtk-menu-detach" title="gtk_menu_detach ()"><code class="function">gtk_menu_detach()</code></a
|
1027
|
-
</td>
|
993
|
+
<td>the user supplied callback function that will be called when
|
994
|
+
the menu calls <a class="link" href="GtkMenu.html#gtk-menu-detach" title="gtk_menu_detach ()"><code class="function">gtk_menu_detach()</code></a>.</td>
|
1028
995
|
</tr>
|
1029
996
|
</tbody>
|
1030
997
|
</table></div>
|
1031
998
|
</div>
|
1032
999
|
<hr>
|
1033
|
-
<div class="refsect2"
|
1000
|
+
<div class="refsect2">
|
1034
1001
|
<a name="gtk-menu-detach"></a><h3>gtk_menu_detach ()</h3>
|
1035
1002
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_detach (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
1036
1003
|
<p>
|
@@ -1042,15 +1009,17 @@ when the <a class="link" href="GtkMenu.html#gtk-menu-attach-to-widget" title="gt
|
|
1042
1009
|
<col align="left" valign="top">
|
1043
1010
|
<tbody><tr>
|
1044
1011
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1045
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
1046
|
-
</td>
|
1012
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
1047
1013
|
</tr></tbody>
|
1048
1014
|
</table></div>
|
1049
1015
|
</div>
|
1050
1016
|
<hr>
|
1051
|
-
<div class="refsect2"
|
1017
|
+
<div class="refsect2">
|
1052
1018
|
<a name="gtk-menu-get-attach-widget"></a><h3>gtk_menu_get_attach_widget ()</h3>
|
1053
|
-
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a
|
1019
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_get_attach_widget (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
1020
|
+
<p>
|
1021
|
+
Returns the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is attached to.
|
1022
|
+
</p>
|
1054
1023
|
<p>
|
1055
1024
|
Returns the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is attached to.
|
1056
1025
|
</p>
|
@@ -1059,21 +1028,21 @@ Returns the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class=
|
|
1059
1028
|
<tbody>
|
1060
1029
|
<tr>
|
1061
1030
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1062
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
1031
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>
|
1063
1032
|
</td>
|
1064
1033
|
</tr>
|
1065
1034
|
<tr>
|
1066
1035
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1067
|
-
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is attached to.
|
1036
|
+
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is attached to. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1068
1037
|
</td>
|
1069
1038
|
</tr>
|
1070
1039
|
</tbody>
|
1071
1040
|
</table></div>
|
1072
1041
|
</div>
|
1073
1042
|
<hr>
|
1074
|
-
<div class="refsect2"
|
1043
|
+
<div class="refsect2">
|
1075
1044
|
<a name="gtk-menu-get-for-attach-widget"></a><h3>gtk_menu_get_for_attach_widget ()</h3>
|
1076
|
-
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a
|
1045
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gtk_menu_get_for_attach_widget (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
1077
1046
|
<p>
|
1078
1047
|
Returns a list of the menus which are attached to this widget.
|
1079
1048
|
This list is owned by GTK+ and must not be modified.
|
@@ -1088,7 +1057,7 @@ This list is owned by GTK+ and must not be modified.
|
|
1088
1057
|
</tr>
|
1089
1058
|
<tr>
|
1090
1059
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1091
|
-
<td>
|
1060
|
+
<td>the list of menus attached to his widget. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkWidget][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1092
1061
|
</td>
|
1093
1062
|
</tr>
|
1094
1063
|
</tbody>
|
@@ -1096,7 +1065,7 @@ This list is owned by GTK+ and must not be modified.
|
|
1096
1065
|
<p class="since">Since 2.6</p>
|
1097
1066
|
</div>
|
1098
1067
|
<hr>
|
1099
|
-
<div class="refsect2"
|
1068
|
+
<div class="refsect2">
|
1100
1069
|
<a name="GtkMenuPositionFunc"></a><h3>GtkMenuPositionFunc ()</h3>
|
1101
1070
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkMenuPositionFunc) (<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>,
|
1102
1071
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
|
@@ -1115,46 +1084,41 @@ To make the menu appear on a different monitor than the mouse pointer,
|
|
1115
1084
|
<tbody>
|
1116
1085
|
<tr>
|
1117
1086
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1118
|
-
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a
|
1119
|
-
</td>
|
1087
|
+
<td>a <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>.</td>
|
1120
1088
|
</tr>
|
1121
1089
|
<tr>
|
1122
1090
|
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1123
1091
|
<td>address of the <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> representing the horizontal position where the
|
1124
|
-
menu shall be drawn. This is an output parameter
|
1125
|
-
</td>
|
1092
|
+
menu shall be drawn. This is an output parameter.</td>
|
1126
1093
|
</tr>
|
1127
1094
|
<tr>
|
1128
1095
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1129
1096
|
<td>address of the <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> representing the vertical position where the
|
1130
|
-
menu shall be drawn. This is an output parameter
|
1131
|
-
</td>
|
1097
|
+
menu shall be drawn. This is an output parameter.</td>
|
1132
1098
|
</tr>
|
1133
1099
|
<tr>
|
1134
1100
|
<td><p><span class="term"><em class="parameter"><code>push_in</code></em> :</span></p></td>
|
1135
1101
|
<td>This parameter controls how menus placed outside the monitor are handled.
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
</td>
|
1102
|
+
If this is set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and part of the menu is outside the monitor then
|
1103
|
+
GTK+ pushes the window into the visible area, effectively modifying the
|
1104
|
+
popup position.
|
1105
|
+
Note that moving and possibly resizing the menu around will alter the
|
1106
|
+
scroll position to keep the menu items "in place", i.e. at the same monitor
|
1107
|
+
position they would have been without resizing.
|
1108
|
+
In practice, this behavior is only useful for combobox popups or option
|
1109
|
+
menus and cannot be used to simply confine a menu to monitor boundaries.
|
1110
|
+
In that case, changing the scroll offset is not desirable.</td>
|
1146
1111
|
</tr>
|
1147
1112
|
<tr>
|
1148
1113
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1149
1114
|
<td>the data supplied by the user in the <a class="link" href="GtkMenu.html#gtk-menu-popup" title="gtk_menu_popup ()"><code class="function">gtk_menu_popup()</code></a> <em class="parameter"><code>data</code></em>
|
1150
|
-
parameter
|
1151
|
-
</td>
|
1115
|
+
parameter.</td>
|
1152
1116
|
</tr>
|
1153
1117
|
</tbody>
|
1154
1118
|
</table></div>
|
1155
1119
|
</div>
|
1156
1120
|
<hr>
|
1157
|
-
<div class="refsect2"
|
1121
|
+
<div class="refsect2">
|
1158
1122
|
<a name="GtkMenuDetachFunc"></a><h3>GtkMenuDetachFunc ()</h3>
|
1159
1123
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkMenuDetachFunc) (<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *attach_widget</code></em>,
|
1160
1124
|
<em class="parameter"><code><a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu</code></em>);</pre>
|
@@ -1167,21 +1131,19 @@ will be called when the menu is later detached from the widget.
|
|
1167
1131
|
<tbody>
|
1168
1132
|
<tr>
|
1169
1133
|
<td><p><span class="term"><em class="parameter"><code>attach_widget</code></em> :</span></p></td>
|
1170
|
-
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is being detached from
|
1171
|
-
</td>
|
1134
|
+
<td>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> that the menu is being detached from.</td>
|
1172
1135
|
</tr>
|
1173
1136
|
<tr>
|
1174
1137
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1175
|
-
<td>the <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> being detached
|
1176
|
-
</td>
|
1138
|
+
<td>the <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> being detached.</td>
|
1177
1139
|
</tr>
|
1178
1140
|
</tbody>
|
1179
1141
|
</table></div>
|
1180
1142
|
</div>
|
1181
1143
|
</div>
|
1182
|
-
<div class="refsect1"
|
1144
|
+
<div class="refsect1">
|
1183
1145
|
<a name="GtkMenu.property-details"></a><h2>Property Details</h2>
|
1184
|
-
<div class="refsect2"
|
1146
|
+
<div class="refsect2">
|
1185
1147
|
<a name="GtkMenu--accel-group"></a><h3>The <code class="literal">"accel-group"</code> property</h3>
|
1186
1148
|
<pre class="programlisting"> "accel-group" <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a>* : Read / Write</pre>
|
1187
1149
|
<p>
|
@@ -1190,7 +1152,7 @@ The accel group holding accelerators for the menu.
|
|
1190
1152
|
<p class="since">Since 2.14</p>
|
1191
1153
|
</div>
|
1192
1154
|
<hr>
|
1193
|
-
<div class="refsect2"
|
1155
|
+
<div class="refsect2">
|
1194
1156
|
<a name="GtkMenu--accel-path"></a><h3>The <code class="literal">"accel-path"</code> property</h3>
|
1195
1157
|
<pre class="programlisting"> "accel-path" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
1196
1158
|
<p>
|
@@ -1200,7 +1162,7 @@ An accel path used to conveniently construct accel paths of child items.
|
|
1200
1162
|
<p class="since">Since 2.14</p>
|
1201
1163
|
</div>
|
1202
1164
|
<hr>
|
1203
|
-
<div class="refsect2"
|
1165
|
+
<div class="refsect2">
|
1204
1166
|
<a name="GtkMenu--active"></a><h3>The <code class="literal">"active"</code> property</h3>
|
1205
1167
|
<pre class="programlisting"> "active" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1206
1168
|
<p>
|
@@ -1212,7 +1174,7 @@ menu item is selected.
|
|
1212
1174
|
<p class="since">Since 2.14</p>
|
1213
1175
|
</div>
|
1214
1176
|
<hr>
|
1215
|
-
<div class="refsect2"
|
1177
|
+
<div class="refsect2">
|
1216
1178
|
<a name="GtkMenu--attach-widget"></a><h3>The <code class="literal">"attach-widget"</code> property</h3>
|
1217
1179
|
<pre class="programlisting"> "attach-widget" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write</pre>
|
1218
1180
|
<p>
|
@@ -1223,7 +1185,7 @@ use <a class="link" href="GtkMenu.html#gtk-menu-attach-to-widget" title="gtk_men
|
|
1223
1185
|
<p class="since">Since 2.14</p>
|
1224
1186
|
</div>
|
1225
1187
|
<hr>
|
1226
|
-
<div class="refsect2"
|
1188
|
+
<div class="refsect2">
|
1227
1189
|
<a name="GtkMenu--monitor"></a><h3>The <code class="literal">"monitor"</code> property</h3>
|
1228
1190
|
<pre class="programlisting"> "monitor" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1229
1191
|
<p>
|
@@ -1234,7 +1196,7 @@ The monitor the menu will be popped up on.
|
|
1234
1196
|
<p class="since">Since 2.14</p>
|
1235
1197
|
</div>
|
1236
1198
|
<hr>
|
1237
|
-
<div class="refsect2"
|
1199
|
+
<div class="refsect2">
|
1238
1200
|
<a name="GtkMenu--reserve-toggle-size"></a><h3>The <code class="literal">"reserve-toggle-size"</code> property</h3>
|
1239
1201
|
<pre class="programlisting"> "reserve-toggle-size" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1240
1202
|
<p>
|
@@ -1251,7 +1213,7 @@ toggle space for consistency.
|
|
1251
1213
|
<p class="since">Since 2.18</p>
|
1252
1214
|
</div>
|
1253
1215
|
<hr>
|
1254
|
-
<div class="refsect2"
|
1216
|
+
<div class="refsect2">
|
1255
1217
|
<a name="GtkMenu--tearoff-state"></a><h3>The <code class="literal">"tearoff-state"</code> property</h3>
|
1256
1218
|
<pre class="programlisting"> "tearoff-state" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1257
1219
|
<p>
|
@@ -1261,16 +1223,16 @@ A boolean that indicates whether the menu is torn-off.
|
|
1261
1223
|
<p class="since">Since 2.6</p>
|
1262
1224
|
</div>
|
1263
1225
|
<hr>
|
1264
|
-
<div class="refsect2"
|
1226
|
+
<div class="refsect2">
|
1265
1227
|
<a name="GtkMenu--tearoff-title"></a><h3>The <code class="literal">"tearoff-title"</code> property</h3>
|
1266
1228
|
<pre class="programlisting"> "tearoff-title" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
1267
1229
|
<p>A title that may be displayed by the window manager when this menu is torn-off.</p>
|
1268
1230
|
<p>Default value: NULL</p>
|
1269
1231
|
</div>
|
1270
1232
|
</div>
|
1271
|
-
<div class="refsect1"
|
1233
|
+
<div class="refsect1">
|
1272
1234
|
<a name="GtkMenu.child-property-details"></a><h2>Child Property Details</h2>
|
1273
|
-
<div class="refsect2"
|
1235
|
+
<div class="refsect2">
|
1274
1236
|
<a name="GtkMenu--c-bottom-attach"></a><h3>The <code class="literal">"bottom-attach"</code> child property</h3>
|
1275
1237
|
<pre class="programlisting"> "bottom-attach" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1276
1238
|
<p>The row number to attach the bottom of the child to.</p>
|
@@ -1278,7 +1240,7 @@ A boolean that indicates whether the menu is torn-off.
|
|
1278
1240
|
<p>Default value: -1</p>
|
1279
1241
|
</div>
|
1280
1242
|
<hr>
|
1281
|
-
<div class="refsect2"
|
1243
|
+
<div class="refsect2">
|
1282
1244
|
<a name="GtkMenu--c-left-attach"></a><h3>The <code class="literal">"left-attach"</code> child property</h3>
|
1283
1245
|
<pre class="programlisting"> "left-attach" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1284
1246
|
<p>The column number to attach the left side of the child to.</p>
|
@@ -1286,7 +1248,7 @@ A boolean that indicates whether the menu is torn-off.
|
|
1286
1248
|
<p>Default value: -1</p>
|
1287
1249
|
</div>
|
1288
1250
|
<hr>
|
1289
|
-
<div class="refsect2"
|
1251
|
+
<div class="refsect2">
|
1290
1252
|
<a name="GtkMenu--c-right-attach"></a><h3>The <code class="literal">"right-attach"</code> child property</h3>
|
1291
1253
|
<pre class="programlisting"> "right-attach" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1292
1254
|
<p>The column number to attach the right side of the child to.</p>
|
@@ -1294,7 +1256,7 @@ A boolean that indicates whether the menu is torn-off.
|
|
1294
1256
|
<p>Default value: -1</p>
|
1295
1257
|
</div>
|
1296
1258
|
<hr>
|
1297
|
-
<div class="refsect2"
|
1259
|
+
<div class="refsect2">
|
1298
1260
|
<a name="GtkMenu--c-top-attach"></a><h3>The <code class="literal">"top-attach"</code> child property</h3>
|
1299
1261
|
<pre class="programlisting"> "top-attach" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1300
1262
|
<p>The row number to attach the top of the child to.</p>
|
@@ -1302,9 +1264,9 @@ A boolean that indicates whether the menu is torn-off.
|
|
1302
1264
|
<p>Default value: -1</p>
|
1303
1265
|
</div>
|
1304
1266
|
</div>
|
1305
|
-
<div class="refsect1"
|
1267
|
+
<div class="refsect1">
|
1306
1268
|
<a name="GtkMenu.style-property-details"></a><h2>Style Property Details</h2>
|
1307
|
-
<div class="refsect2"
|
1269
|
+
<div class="refsect2">
|
1308
1270
|
<a name="GtkMenu--s-arrow-placement"></a><h3>The <code class="literal">"arrow-placement"</code> style property</h3>
|
1309
1271
|
<pre class="programlisting"> "arrow-placement" <a class="link" href="gtk-Standard-Enumerations.html#GtkArrowPlacement" title="enum GtkArrowPlacement"><span class="type">GtkArrowPlacement</span></a> : Read</pre>
|
1310
1272
|
<p>
|
@@ -1314,7 +1276,7 @@ Indicates where scroll arrows should be placed.
|
|
1314
1276
|
<p class="since">Since 2.16</p>
|
1315
1277
|
</div>
|
1316
1278
|
<hr>
|
1317
|
-
<div class="refsect2"
|
1279
|
+
<div class="refsect2">
|
1318
1280
|
<a name="GtkMenu--s-arrow-scaling"></a><h3>The <code class="literal">"arrow-scaling"</code> style property</h3>
|
1319
1281
|
<pre class="programlisting"> "arrow-scaling" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read</pre>
|
1320
1282
|
<p>Arbitrary constant to scale down the size of the scroll arrow.</p>
|
@@ -1322,21 +1284,21 @@ Indicates where scroll arrows should be placed.
|
|
1322
1284
|
<p>Default value: 0.7</p>
|
1323
1285
|
</div>
|
1324
1286
|
<hr>
|
1325
|
-
<div class="refsect2"
|
1287
|
+
<div class="refsect2">
|
1326
1288
|
<a name="GtkMenu--s-double-arrows"></a><h3>The <code class="literal">"double-arrows"</code> style property</h3>
|
1327
1289
|
<pre class="programlisting"> "double-arrows" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
|
1328
1290
|
<p>When scrolling, always show both arrows.</p>
|
1329
1291
|
<p>Default value: TRUE</p>
|
1330
1292
|
</div>
|
1331
1293
|
<hr>
|
1332
|
-
<div class="refsect2"
|
1294
|
+
<div class="refsect2">
|
1333
1295
|
<a name="GtkMenu--s-horizontal-offset"></a><h3>The <code class="literal">"horizontal-offset"</code> style property</h3>
|
1334
1296
|
<pre class="programlisting"> "horizontal-offset" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1335
1297
|
<p>When the menu is a submenu, position it this number of pixels offset horizontally.</p>
|
1336
1298
|
<p>Default value: -2</p>
|
1337
1299
|
</div>
|
1338
1300
|
<hr>
|
1339
|
-
<div class="refsect2"
|
1301
|
+
<div class="refsect2">
|
1340
1302
|
<a name="GtkMenu--s-horizontal-padding"></a><h3>The <code class="literal">"horizontal-padding"</code> style property</h3>
|
1341
1303
|
<pre class="programlisting"> "horizontal-padding" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1342
1304
|
<p>Extra space at the left and right edges of the menu.</p>
|
@@ -1344,14 +1306,14 @@ Indicates where scroll arrows should be placed.
|
|
1344
1306
|
<p>Default value: 0</p>
|
1345
1307
|
</div>
|
1346
1308
|
<hr>
|
1347
|
-
<div class="refsect2"
|
1309
|
+
<div class="refsect2">
|
1348
1310
|
<a name="GtkMenu--s-vertical-offset"></a><h3>The <code class="literal">"vertical-offset"</code> style property</h3>
|
1349
1311
|
<pre class="programlisting"> "vertical-offset" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1350
1312
|
<p>When the menu is a submenu, position it this number of pixels offset vertically.</p>
|
1351
1313
|
<p>Default value: 0</p>
|
1352
1314
|
</div>
|
1353
1315
|
<hr>
|
1354
|
-
<div class="refsect2"
|
1316
|
+
<div class="refsect2">
|
1355
1317
|
<a name="GtkMenu--s-vertical-padding"></a><h3>The <code class="literal">"vertical-padding"</code> style property</h3>
|
1356
1318
|
<pre class="programlisting"> "vertical-padding" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1357
1319
|
<p>Extra space at the top and bottom of the menu.</p>
|
@@ -1359,13 +1321,13 @@ Indicates where scroll arrows should be placed.
|
|
1359
1321
|
<p>Default value: 1</p>
|
1360
1322
|
</div>
|
1361
1323
|
</div>
|
1362
|
-
<div class="refsect1"
|
1324
|
+
<div class="refsect1">
|
1363
1325
|
<a name="GtkMenu.signal-details"></a><h2>Signal Details</h2>
|
1364
|
-
<div class="refsect2"
|
1326
|
+
<div class="refsect2">
|
1365
1327
|
<a name="GtkMenu-move-scroll"></a><h3>The <code class="literal">"move-scroll"</code> signal</h3>
|
1366
1328
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a> *menu,
|
1367
1329
|
<a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> arg1,
|
1368
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) :
|
1330
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre>
|
1369
1331
|
<p>
|
1370
1332
|
</p>
|
1371
1333
|
<div class="variablelist"><table border="0">
|
@@ -1373,13 +1335,7 @@ Indicates where scroll arrows should be placed.
|
|
1373
1335
|
<tbody>
|
1374
1336
|
<tr>
|
1375
1337
|
<td><p><span class="term"><em class="parameter"><code>menu</code></em> :</span></p></td>
|
1376
|
-
<td>the object which received the signal
|
1377
|
-
</td>
|
1378
|
-
</tr>
|
1379
|
-
<tr>
|
1380
|
-
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
|
1381
|
-
<td>
|
1382
|
-
</td>
|
1338
|
+
<td>the object which received the signal.</td>
|
1383
1339
|
</tr>
|
1384
1340
|
<tr>
|
1385
1341
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -1392,6 +1348,6 @@ Indicates where scroll arrows should be placed.
|
|
1392
1348
|
</div>
|
1393
1349
|
<div class="footer">
|
1394
1350
|
<hr>
|
1395
|
-
Generated by GTK-Doc V1.
|
1351
|
+
Generated by GTK-Doc V1.17</div>
|
1396
1352
|
</body>
|
1397
1353
|
</html>
|