gdk3 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +6 -2
- data/ext/gdk3/extconf.rb +4 -1
- data/ext/gdk3/gdk3.def +2 -2
- data/ext/gdk3/rbgdk.c +5 -51
- data/ext/gdk3/rbgdk3.h +6 -4
- data/ext/gdk3/rbgdk3conversions.h +5 -2
- data/ext/gdk3/rbgdk3private.h +1 -6
- data/ext/gdk3/rbgdkcairo.c +0 -4
- data/ext/gdk3/rbgdkdevice.c +60 -4
- data/ext/gdk3/rbgdkdevicemanager.c +39 -0
- data/ext/gdk3/rbgdkdisplay.c +8 -63
- data/ext/gdk3/rbgdkevent.c +644 -396
- data/ext/gdk3/rbgdkwindow.c +29 -32
- data/lib/1.9/gdk3.so +0 -0
- data/lib/2.0/gdk3.so +0 -0
- data/lib/gdk3/deprecated.rb +13 -1
- data/test/test-gdk-event.rb +598 -0
- data/test/test-gdk-rgba.rb +2 -2
- data/vendor/local/bin/gtk-launch.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-3.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/gtk3-demo-application.exe +0 -0
- data/vendor/local/bin/gtk3-demo.exe +0 -0
- data/vendor/local/bin/gtk3-widget-factory.exe +0 -0
- data/vendor/local/bin/libgailutil-3-0.dll +0 -0
- data/vendor/local/bin/libgdk-3-0.dll +0 -0
- data/vendor/local/bin/libgtk-3-0.dll +0 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h +6 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkcairo.h +13 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkcolor.h +8 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkcursor.h +17 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdevice.h +40 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdevicemanager.h +4 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdisplay.h +35 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdisplaymanager.h +6 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdnd.h +22 -1
- data/vendor/local/include/gtk-3.0/gdk/gdkenumtypes.h +38 -37
- data/vendor/local/include/gtk-3.0/gdk/gdkevents.h +50 -9
- data/vendor/local/include/gtk-3.0/gdk/gdkframeclock.h +1 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkkeys.h +22 -1
- data/vendor/local/include/gtk-3.0/gdk/gdkkeysyms-compat.h +1 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkkeysyms.h +1 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkmain.h +25 -9
- data/vendor/local/include/gtk-3.0/gdk/gdkpango.h +5 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkpixbuf.h +4 -1
- data/vendor/local/include/gtk-3.0/gdk/gdkprivate.h +4 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkproperty.h +9 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkrectangle.h +4 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkrgba.h +8 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkscreen.h +33 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkselection.h +9 -0
- data/vendor/local/include/gtk-3.0/gdk/gdktestutils.h +3 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkthreads.h +8 -1
- data/vendor/local/include/gtk-3.0/gdk/gdktypes.h +2 -2
- data/vendor/local/include/gtk-3.0/gdk/gdkversionmacros.h +53 -23
- data/vendor/local/include/gtk-3.0/gdk/gdkvisual.h +21 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkwin32.h +1 -65
- data/vendor/local/include/gtk-3.0/gdk/gdkwindow.h +182 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32cursor.h +1 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32display.h +1 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32displaymanager.h +1 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32dnd.h +1 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32keys.h +1 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32misc.h +113 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32screen.h +1 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32window.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkarrowaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkbooleancellaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkbuttonaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkcellaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkcellaccessibleparent.h +9 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkcheckmenuitemaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkcomboboxaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkcontaineraccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkcontainercellaccessible.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkentryaccessible.h +4 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkexpanderaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkframeaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkiconviewaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkimageaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkimagecellaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtklabelaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtklevelbaraccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtklinkbuttonaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtklistboxaccessible.h +58 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtklistboxrowaccessible.h +55 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtklockbuttonaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkmenuaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkmenuitemaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkmenushellaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtknotebookaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtknotebookpageaccessible.h +3 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkpanedaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkprogressbaraccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkradiobuttonaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkradiomenuitemaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkrangeaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkrenderercellaccessible.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkscaleaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkscalebuttonaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkscrolledwindowaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkspinbuttonaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkspinneraccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkstatusbaraccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkswitchaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtktextcellaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtktextviewaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtktogglebuttonaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtktoplevelaccessible.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtktreeviewaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkwidgetaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/a11y/gtkwindowaccessible.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/{gtkaction.h → deprecated/gtkaction.h} +43 -1
- data/vendor/local/include/gtk-3.0/gtk/{gtkactiongroup.h → deprecated/gtkactiongroup.h} +31 -4
- data/vendor/local/include/gtk-3.0/gtk/{gtkactivatable.h → deprecated/gtkactivatable.h} +10 -1
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkfontsel.h +2 -1
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkgradient.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhbbox.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhbox.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhpaned.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhscale.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhscrollbar.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhseparator.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhsv.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/{gtkiconfactory.h → deprecated/gtkiconfactory.h} +43 -0
- data/vendor/local/include/gtk-3.0/gtk/{gtkimagemenuitem.h → deprecated/gtkimagemenuitem.h} +12 -1
- data/vendor/local/include/gtk-3.0/gtk/{gtkradioaction.h → deprecated/gtkradioaction.h} +8 -1
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkrc.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/{gtkrecentaction.h → deprecated/gtkrecentaction.h} +6 -1
- data/vendor/local/include/gtk-3.0/gtk/{gtkstock.h → deprecated/gtkstock.h} +333 -106
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkstyle.h +20 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtksymboliccolor.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtktable.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtktearoffmenuitem.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/{gtktoggleaction.h → deprecated/gtktoggleaction.h} +8 -1
- data/vendor/local/include/gtk-3.0/gtk/{gtkuimanager.h → deprecated/gtkuimanager.h} +21 -2
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvbbox.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvbox.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvpaned.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvscale.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvseparator.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/gtk-a11y.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtk.h +17 -10
- data/vendor/local/include/gtk-3.0/gtk/gtkaboutdialog.h +33 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccelgroup.h +22 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccellabel.h +7 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccelmap.h +15 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccessible.h +3 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkadjustment.h +18 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkalignment.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooser.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooserbutton.h +9 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooserdialog.h +6 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooserwidget.h +14 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkapplication.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkarrow.h +3 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaspectframe.h +3 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkassistant.h +22 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbbox.h +6 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbin.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbindings.h +11 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkborder.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbox.h +16 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbuildable.h +11 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbuilder.h +43 -10
- data/vendor/local/include/gtk-3.0/gtk/gtkbutton.h +26 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcalendar.h +16 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellarea.h +47 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellareabox.h +6 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellareacontext.h +11 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcelleditable.h +4 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcelllayout.h +11 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderer.h +25 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendereraccel.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderercombo.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererpixbuf.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererprogress.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererspin.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererspinner.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderertext.h +3 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderertoggle.h +8 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellview.h +15 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcheckbutton.h +4 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcheckmenuitem.h +11 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkclipboard.h +29 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorbutton.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorutils.h +3 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcombobox.h +42 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcomboboxtext.h +12 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcontainer.h +36 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcssprovider.h +8 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdebug.h +7 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkdialog.h +17 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdnd.h +43 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdrawingarea.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkeditable.h +14 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkentry.h +69 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkentrybuffer.h +13 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkentrycompletion.h +28 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkenums.h +29 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkeventbox.h +6 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkexpander.h +17 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooser.h +64 -2
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserbutton.h +9 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserdialog.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserwidget.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilefilter.h +11 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfixed.h +4 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfontbutton.h +15 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkframe.h +10 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkgrid.h +30 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkheaderbar.h +95 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkicontheme.h +76 -2
- data/vendor/local/include/gtk-3.0/gtk/gtkiconview.h +62 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimage.h +37 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkimcontext.h +12 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimcontextsimple.h +3 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimmulticontext.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkinfobar.h +19 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkinvisible.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklabel.h +50 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklayout.h +7 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklinkbutton.h +7 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklistbox.h +232 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkliststore.h +23 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmain.h +35 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenu.h +28 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkmenubar.h +6 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenuitem.h +19 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenushell.h +14 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenutoolbutton.h +7 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmessagedialog.h +9 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmisc.h +5 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkmountoperation.h +7 -0
- data/vendor/local/include/gtk-3.0/gtk/gtknotebook.h +45 -0
- data/vendor/local/include/gtk-3.0/gtk/gtknumerableicon.h +13 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkoffscreenwindow.h +4 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkorientable.h +3 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkpagesetup.h +26 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkpaned.h +11 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkpapersize.h +24 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkplacessidebar.h +125 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkplug.h +8 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintcontext.h +12 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintoperation.h +34 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintoperationpreview.h +4 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintsettings.h +94 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprogressbar.h +15 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradiobutton.h +10 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradiomenuitem.h +9 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradiotoolbutton.h +7 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrange.h +29 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooser.h +33 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooserdialog.h +3 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchoosermenu.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooserwidget.h +3 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentfilter.h +14 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentmanager.h +38 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrevealer.h +82 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscale.h +13 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscalebutton.h +10 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscrollable.h +10 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscrollbar.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscrolledwindow.h +19 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksearchbar.h +95 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksearchentry.h +2 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkselection.h +52 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkseparator.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkseparatormenuitem.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkseparatortoolitem.h +4 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksettings.h +14 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkshow.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksizegroup.h +9 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksizerequest.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksocket.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkspinbutton.h +25 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkspinner.h +4 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstack.h +105 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstackswitcher.h +65 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstatusbar.h +8 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstatusicon.h +35 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstylecontext.h +122 -2
- data/vendor/local/include/gtk-3.0/gtk/gtkstyleproperties.h +11 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstyleprovider.h +3 -1
- data/vendor/local/include/gtk-3.0/gtk/gtkswitch.h +4 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktestutils.h +18 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextattributes.h +16 -8
- data/vendor/local/include/gtk-3.0/gtk/gtktextbuffer.h +62 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextbufferrichtext.h +12 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextchild.h +4 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextdisplay.h +1 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextiter.h +106 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextlayout.h +48 -4
- data/vendor/local/include/gtk-3.0/gtk/gtktextmark.h +8 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktexttag.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktexttagtable.h +7 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextview.h +61 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkthemingengine.h +28 -1
- data/vendor/local/include/gtk-3.0/gtk/gtktogglebutton.h +11 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoggletoolbutton.h +5 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolbar.h +17 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolbutton.h +15 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolitem.h +30 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolitemgroup.h +18 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolpalette.h +21 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolshell.h +10 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktooltip.h +10 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreednd.h +9 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreemodel.h +68 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreemodelfilter.h +12 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreemodelsort.h +10 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreeselection.h +21 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreesortable.h +7 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreestore.h +24 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreeview.h +94 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreeviewcolumn.h +53 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktypebuiltins.h +123 -108
- data/vendor/local/include/gtk-3.0/gtk/gtktypes.h +9 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +4 -4
- data/vendor/local/include/gtk-3.0/gtk/gtkviewport.h +6 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkvolumebutton.h +2 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkwidget.h +365 -4
- data/vendor/local/include/gtk-3.0/gtk/gtkwidgetpath.h +30 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkwindow.h +119 -0
- data/vendor/local/lib/girepository-1.0/Gdk-3.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Gtk-3.0.typelib +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules.cache +1 -1
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.la +2 -2
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.la +2 -2
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.la +2 -2
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.la +2 -2
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.la +2 -2
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.la +2 -2
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.la +2 -2
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.la +2 -2
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.la +2 -2
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.la +2 -2
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.la +2 -2
- data/vendor/local/lib/libgailutil-3.dll.a +0 -0
- data/vendor/local/lib/libgailutil-3.la +2 -2
- data/vendor/local/lib/libgdk-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.la +5 -5
- data/vendor/local/lib/libgtk-3.dll.a +0 -0
- data/vendor/local/lib/libgtk-3.la +5 -5
- data/vendor/local/lib/pkgconfig/gail-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-3.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-3.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Gdk-3.0.gir +2639 -2145
- data/vendor/local/share/gir-1.0/Gtk-3.0.gir +21620 -16038
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml +8 -0
- data/vendor/local/share/glib-2.0/schemas/org.gtk.exampleapp.gschema.xml +25 -0
- data/vendor/local/share/gtk-3.0/gtkbuilder.rng +19 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailMisc.html +43 -46
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailTextUtil.html +17 -20
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/libgail-util-main.html +9 -9
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDevice.html +114 -18
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDeviceManager.html +14 -17
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplay.html +26 -25
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplayManager.html +14 -16
- data/vendor/local/share/gtk-doc/html/gdk3/GdkScreen.html +58 -22
- data/vendor/local/share/gtk-doc/html/gdk3/annotation-glossary.html +39 -51
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-0.html +27 -26
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-10.html +148 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-2.html +13 -16
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-4.html +23 -26
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-6.html +10 -13
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-8.html +41 -17
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-deprecated.html +36 -28
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-full.html +187 -58
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Application-launching.html +16 -19
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cairo-Interaction.html +159 -54
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Colors.html +12 -15
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cursors.html +119 -17
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Drag-and-Drop.html +13 -16
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html +33 -26
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Events.html +70 -17
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-GdkFrameClock.html +12 -15
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-GdkFrameTimings.html +12 -15
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-General.html +93 -30
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Keyboard-Handling.html +18 -21
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pango-Interaction.html +59 -62
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pixbufs.html +15 -18
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html +15 -18
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Properties-and-Atoms.html +13 -16
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html +13 -16
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Selections.html +13 -16
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Testing.html +14 -17
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Threads.html +40 -43
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Visuals.html +12 -15
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Wayland-Interaction.html +425 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Windows.html +363 -106
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-X-Window-System-Interaction.html +264 -17
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3.devhelp2 +38 -2
- data/vendor/local/share/gtk-doc/html/gdk3/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/index.html +8 -4
- data/vendor/local/share/gtk-doc/html/gdk3/index.sgml +44 -6
- data/vendor/local/share/gtk-doc/html/gdk3/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/reference.html +12 -9
- data/vendor/local/share/gtk-doc/html/gdk3/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/gdk3/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/AbstractObjects.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/Application.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/ApplicationChoosing.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/Builder.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk3/ButtonWidgets.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk3/DeprecatedObjects.html +38 -11
- data/vendor/local/share/gtk-doc/html/gtk3/DisplayWidgets.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAboutDialog.html +15 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccessible.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAction.html +347 -29
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionGroup.html +158 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionable.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActivatable.html +58 -25
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAdjustment.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAlignment.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooser.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserButton.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserDialog.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserWidget.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplication.html +82 -23
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplicationWindow.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkArrow.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAspectFrame.html +16 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAssistant.html +19 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBin.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBox.html +91 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuildable.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +341 -39
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +82 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButtonBox.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCalendar.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +22 -24
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaBox.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaContext.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellLayout.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +20 -23
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererCombo.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererPixbuf.html +25 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererProgress.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpin.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpinner.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +36 -39
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererToggle.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckButton.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckMenuItem.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserDialog.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserWidget.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelectionDialog.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +43 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBoxText.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +40 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCssProvider.html +42 -46
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +30 -34
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEditable.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +121 -41
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryBuffer.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryCompletion.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkExpander.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooser.html +67 -34
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserButton.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserDialog.html +21 -24
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserWidget.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileFilter.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFixed.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontButton.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooser.html +37 -40
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserDialog.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserWidget.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelection.html +34 -37
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelectionDialog.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFrame.html +15 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGrid.html +229 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHButtonBox.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHPaned.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSV.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScale.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScrollbar.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSeparator.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHandleBox.html +23 -26
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHeaderBar.html +503 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +15 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContextSimple.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMMulticontext.html +19 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +451 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +25 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +64 -21
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImageMenuItem.html +80 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInfoBar.html +102 -46
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLabel.html +146 -72
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLevelBar.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLinkButton.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListBox.html +1251 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListStore.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLockButton.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +60 -26
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuBar.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuButton.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuItem.html +50 -25
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +51 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuToolButton.html +20 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMessageDialog.html +23 -26
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMisc.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNotebook.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNumerableIcon.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOffscreenWindow.html +19 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetup.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetupUnixDialog.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaperSize.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlacesSidebar.html +983 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintContext.html +50 -53
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintJob.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintSettings.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintUnixDialog.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrinter.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +24 -27
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioAction.html +53 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioButton.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioMenuItem.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioToolButton.html +22 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentAction.html +36 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooser.html +18 -23
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserDialog.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserMenu.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserWidget.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentFilter.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentManager.html +19 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRevealer.html +437 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScale.html +21 -24
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScaleButton.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollable.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollbar.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +25 -24
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchBar.html +514 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +57 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparator.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorMenuItem.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorToolItem.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +191 -47
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSizeGroup.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinButton.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinner.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStack.html +708 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStackSwitcher.html +195 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +32 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusbar.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +108 -111
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +230 -108
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleProvider.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSwitch.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTable.html +28 -31
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTearoffMenuItem.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +42 -34
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextIter.html +67 -45
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextMark.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +84 -133
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTagTable.html +17 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +76 -33
- data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +32 -26
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleAction.html +49 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleButton.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleToolButton.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolButton.html +29 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItem.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItemGroup.html +20 -23
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +20 -22
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolShell.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolbar.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +19 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModel.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelFilter.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelSort.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSelection.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSortable.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeStore.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +23 -26
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkUIManager.html +114 -25
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVBox.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVButtonBox.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVPaned.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScale.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScrollbar.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVSeparator.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVolumeButton.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +1137 -138
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +113 -30
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/LayoutContainers.html +35 -20
- data/vendor/local/share/gtk-doc/html/gtk3/MenusAndCombos.html +10 -13
- data/vendor/local/share/gtk-doc/html/gtk3/MiscObjects.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/NumericEntry.html +14 -11
- data/vendor/local/share/gtk-doc/html/gtk3/Ornaments.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/PlugSocket.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/Printing.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/RecentDocuments.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/ScrollingWidgets.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/SelectorWidgets.html +14 -11
- data/vendor/local/share/gtk-doc/html/gtk3/TextWidget.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk3/TextWidgetObjects.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidget.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidgetObjects.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/WindowWidgets.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk3/aboutdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/accel-label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/annotation-glossary.html +41 -59
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-0.html +41 -44
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-10.html +666 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-2.html +39 -42
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-4.html +31 -34
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-6.html +27 -30
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-8.html +24 -27
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-deprecated.html +1825 -224
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-full.html +917 -112
- data/vendor/local/share/gtk-doc/html/gtk3/appchooserbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/appchooserdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/assistant.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/broadwayd.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s03.html +248 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s04.html +157 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch01s05.html +1773 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch02.html +20 -14
- data/vendor/local/share/gtk-doc/html/gtk3/ch03.html +232 -156
- data/vendor/local/share/gtk-doc/html/gtk3/{ch25s02.html → ch24s02.html} +47 -47
- data/vendor/local/share/gtk-doc/html/gtk3/{ch27s02.html → ch26s02.html} +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/{ch29s02.html → ch28s02.html} +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/{ch29s03.html → ch28s03.html} +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/chap-drawing-model.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/check-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-gdkeventexpose-region.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-modifiers.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-named-icons.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/color-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/colorchooser.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/combo-box-entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/combo-box-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/combo-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/drawing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/exampleapp.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/file-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/filechooser.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/font-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/fontchooser.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/frame.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/getting-started-app1.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/getting-started-app2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/getting-started-app3.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/getting-started-app4.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/getting-started-app6.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/getting-started-app7.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/getting-started-app8.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/getting-started-app9.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/glossary.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/grid-packing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-broadway.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-building.html +20 -12
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-getting-started.html +147 -965
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-launch.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +67 -67
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkGrid.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-bonus-points.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-checklist.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parsing.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-checklist.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-smclient-GtkApplication.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-theme-GtkStyleContext-engines.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-unique-GtkApplication.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-osx.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-query-immodules-3.0.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +65 -65
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-resources.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-running.html +19 -16
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-update-icon-cache.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-wayland.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-windows.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-x11.html +27 -12
- data/vendor/local/share/gtk-doc/html/gtk3/gtk.html +26 -49
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +20 -23
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +17 -18
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +32 -56
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +26 -29
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkGradient.html +24 -27
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkPlug.html +303 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSocket.html +273 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkStyleProperties.html +17 -20
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkTreeView-drag-and-drop.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkWidgetPath.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html +29 -32
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Orientable.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +45 -48
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Stock-Items.html +568 -123
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +40 -16
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +248 -27
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3.devhelp2 +6347 -6099
- data/vendor/local/share/gtk-doc/html/gtk3/gtkbase.html +11 -14
- data/vendor/local/share/gtk-doc/html/gtk3/gtkobjects.html +139 -118
- data/vendor/local/share/gtk-doc/html/gtk3/headerbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/hello-world.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/icon-view.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/image.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/index.html +248 -209
- data/vendor/local/share/gtk-doc/html/gtk3/index.sgml +5994 -5707
- data/vendor/local/share/gtk-doc/html/gtk3/info-bar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/levelbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/link-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/list-and-tree.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/list-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lock-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/menu-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/menubar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/messagedialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/migrating.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk3/multiline-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/notebook.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/pagesetupdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/panes.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/placessidebar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/platform-support.html +75 -0
- data/vendor/local/share/gtk-doc/html/gtk3/printdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/progressbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/pt06.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk3/radio-group.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/recentchooserdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/scales.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/scrollbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/scrolledwindow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/search-entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/separator.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/spinbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/spinner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/stack.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/stackswitcher.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/statusbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/gtk3/switch.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/theming.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk3/toggle-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/toolbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/toolpalette.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/volumebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/window-default.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/window.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/man/man1/broadwayd.1 +1 -1
- data/vendor/local/share/man/man1/gtk-launch.1 +1 -1
- data/vendor/local/share/man/man1/gtk-query-immodules-3.0.1 +1 -1
- data/vendor/local/share/man/man1/gtk-update-icon-cache.1 +1 -1
- metadata +86 -39
- data/vendor/local/lib/gdk-win32-3.0.def +0 -539
- data/vendor/local/lib/gtk-win32-3.0.def +0 -3875
- data/vendor/local/share/gtk-doc/html/gtk3/Actions.html +0 -53
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlug.html +0 -388
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +0 -362
- data/vendor/local/share/gtk-doc/html/gtk3/colorsel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/fontsel.png +0 -0
data/ext/gdk3/rbgdkevent.c
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
2
|
/*
|
3
|
-
* Copyright (C)
|
4
|
-
* Copyright (C) 2002-2004 Ruby-GNOME2 Project Team
|
3
|
+
* Copyright (C) 2002-2013 Ruby-GNOME2 Project Team
|
5
4
|
* Copyright (C) 1998-2000 Yukihiro Matsumoto,
|
6
5
|
* Daisuke Kanda,
|
7
6
|
* Hiroshi Igarashi
|
@@ -24,25 +23,344 @@
|
|
24
23
|
|
25
24
|
#include "rbgdk3private.h"
|
26
25
|
|
27
|
-
static VALUE
|
26
|
+
static VALUE rb_cGdkEvent;
|
27
|
+
static VALUE rb_cGdkEventAny;
|
28
|
+
static VALUE rb_cGdkEventExpose;
|
29
|
+
static VALUE rb_cGdkEventVisibility;
|
30
|
+
static VALUE rb_cGdkEventMotion;
|
31
|
+
static VALUE rb_cGdkEventButton;
|
32
|
+
static VALUE rb_cGdkEventTouch;
|
33
|
+
static VALUE rb_cGdkEventScroll;
|
34
|
+
static VALUE rb_cGdkEventKey;
|
35
|
+
static VALUE rb_cGdkEventCrossing;
|
36
|
+
static VALUE rb_cGdkEventFocus;
|
37
|
+
static VALUE rb_cGdkEventConfigure;
|
38
|
+
static VALUE rb_cGdkEventProperty;
|
39
|
+
static VALUE rb_cGdkEventSelection;
|
40
|
+
static VALUE rb_cGdkEventOwnerChange;
|
41
|
+
static VALUE rb_cGdkEventProximity;
|
42
|
+
static VALUE rb_cGdkEventDND;
|
43
|
+
static VALUE rb_cGdkEventWindowState;
|
44
|
+
static VALUE rb_cGdkEventSetting;
|
45
|
+
static VALUE rb_cGdkEventGrabBroken;
|
46
|
+
|
47
|
+
#define DEFINE_EVENT_TYPE(type_lower_case, type_upper_case) \
|
48
|
+
static GType \
|
49
|
+
rb_gdk_event_ ## type_lower_case ## _get_type(void) \
|
50
|
+
{ \
|
51
|
+
static GType type = 0; \
|
52
|
+
if (type == 0) { \
|
53
|
+
type = g_boxed_type_register_static("GdkEvent" # type_upper_case, \
|
54
|
+
(GBoxedCopyFunc)gdk_event_copy, \
|
55
|
+
(GBoxedFreeFunc)gdk_event_free); \
|
56
|
+
} \
|
57
|
+
return type; \
|
58
|
+
}
|
59
|
+
|
60
|
+
DEFINE_EVENT_TYPE(any, Any)
|
61
|
+
DEFINE_EVENT_TYPE(expose, Expose)
|
62
|
+
DEFINE_EVENT_TYPE(visibility, Visibility)
|
63
|
+
DEFINE_EVENT_TYPE(motion, Motion)
|
64
|
+
DEFINE_EVENT_TYPE(button, Button)
|
65
|
+
DEFINE_EVENT_TYPE(touch, Touch)
|
66
|
+
DEFINE_EVENT_TYPE(scroll, Scroll)
|
67
|
+
DEFINE_EVENT_TYPE(key, Key)
|
68
|
+
DEFINE_EVENT_TYPE(crossing, Crossing)
|
69
|
+
DEFINE_EVENT_TYPE(focus, Focus)
|
70
|
+
DEFINE_EVENT_TYPE(configure, Configure)
|
71
|
+
DEFINE_EVENT_TYPE(property, Property)
|
72
|
+
DEFINE_EVENT_TYPE(selection, Selection)
|
73
|
+
DEFINE_EVENT_TYPE(owner_change, OwnerChange)
|
74
|
+
DEFINE_EVENT_TYPE(proximity, Proximity)
|
75
|
+
DEFINE_EVENT_TYPE(dnd, DND)
|
76
|
+
DEFINE_EVENT_TYPE(window_state, WindowState)
|
77
|
+
DEFINE_EVENT_TYPE(setting, Setting)
|
78
|
+
DEFINE_EVENT_TYPE(grab_broken, GrabBroken)
|
79
|
+
|
80
|
+
#define GDK_TYPE_EVENT_ANY (rb_gdk_event_any_get_type())
|
81
|
+
#define GDK_TYPE_EVENT_EXPOSE (rb_gdk_event_expose_get_type())
|
82
|
+
#define GDK_TYPE_EVENT_VISIBILITY (rb_gdk_event_visibility_get_type())
|
83
|
+
#define GDK_TYPE_EVENT_MOTION (rb_gdk_event_motion_get_type())
|
84
|
+
#define GDK_TYPE_EVENT_BUTTON (rb_gdk_event_button_get_type())
|
85
|
+
#define GDK_TYPE_EVENT_TOUCH (rb_gdk_event_touch_get_type())
|
86
|
+
#define GDK_TYPE_EVENT_SCROLL (rb_gdk_event_scroll_get_type())
|
87
|
+
#define GDK_TYPE_EVENT_KEY (rb_gdk_event_key_get_type())
|
88
|
+
#define GDK_TYPE_EVENT_CROSSING (rb_gdk_event_crossing_get_type())
|
89
|
+
#define GDK_TYPE_EVENT_FOCUS (rb_gdk_event_focus_get_type())
|
90
|
+
#define GDK_TYPE_EVENT_CONFIGURE (rb_gdk_event_configure_get_type())
|
91
|
+
#define GDK_TYPE_EVENT_PROPERTY (rb_gdk_event_property_get_type())
|
92
|
+
#define GDK_TYPE_EVENT_SELECTION (rb_gdk_event_selection_get_type())
|
93
|
+
#define GDK_TYPE_EVENT_OWNER_CHANGE (rb_gdk_event_owner_change_get_type())
|
94
|
+
#define GDK_TYPE_EVENT_PROXIMITY (rb_gdk_event_proximity_get_type())
|
95
|
+
#define GDK_TYPE_EVENT_DND (rb_gdk_event_dnd_get_type())
|
96
|
+
#define GDK_TYPE_EVENT_WINDOW_STATE (rb_gdk_event_window_state_get_type())
|
97
|
+
#define GDK_TYPE_EVENT_SETTING (rb_gdk_event_setting_get_type())
|
98
|
+
#define GDK_TYPE_EVENT_GRAB_BROKEN (rb_gdk_event_grab_broken_get_type())
|
28
99
|
|
29
100
|
/***********************************************/
|
30
101
|
|
31
|
-
|
32
|
-
|
102
|
+
static GType
|
103
|
+
rb_gdk_event_type_to_gtype(GdkEventType event_type)
|
104
|
+
{
|
105
|
+
GType gtype = GDK_TYPE_EVENT_ANY;
|
106
|
+
|
107
|
+
switch (event_type) {
|
108
|
+
case GDK_NOTHING:
|
109
|
+
case GDK_DELETE:
|
110
|
+
case GDK_DESTROY:
|
111
|
+
break;
|
112
|
+
case GDK_EXPOSE:
|
113
|
+
gtype = GDK_TYPE_EVENT_EXPOSE;
|
114
|
+
break;
|
115
|
+
case GDK_MOTION_NOTIFY:
|
116
|
+
gtype = GDK_TYPE_EVENT_MOTION;
|
117
|
+
break;
|
118
|
+
case GDK_BUTTON_PRESS:
|
119
|
+
case GDK_2BUTTON_PRESS:
|
120
|
+
case GDK_3BUTTON_PRESS:
|
121
|
+
case GDK_BUTTON_RELEASE:
|
122
|
+
gtype = GDK_TYPE_EVENT_BUTTON;
|
123
|
+
break;
|
124
|
+
case GDK_KEY_PRESS:
|
125
|
+
case GDK_KEY_RELEASE:
|
126
|
+
gtype = GDK_TYPE_EVENT_KEY;
|
127
|
+
break;
|
128
|
+
case GDK_ENTER_NOTIFY:
|
129
|
+
case GDK_LEAVE_NOTIFY:
|
130
|
+
gtype = GDK_TYPE_EVENT_CROSSING;
|
131
|
+
break;
|
132
|
+
case GDK_FOCUS_CHANGE:
|
133
|
+
gtype = GDK_TYPE_EVENT_FOCUS;
|
134
|
+
break;
|
135
|
+
case GDK_CONFIGURE:
|
136
|
+
gtype = GDK_TYPE_EVENT_CONFIGURE;
|
137
|
+
break;
|
138
|
+
case GDK_MAP:
|
139
|
+
case GDK_UNMAP:
|
140
|
+
break;
|
141
|
+
case GDK_PROPERTY_NOTIFY:
|
142
|
+
gtype = GDK_TYPE_EVENT_PROPERTY;
|
143
|
+
break;
|
144
|
+
case GDK_SELECTION_CLEAR:
|
145
|
+
case GDK_SELECTION_REQUEST:
|
146
|
+
case GDK_SELECTION_NOTIFY:
|
147
|
+
gtype = GDK_TYPE_EVENT_SELECTION;
|
148
|
+
break;
|
149
|
+
case GDK_PROXIMITY_IN:
|
150
|
+
case GDK_PROXIMITY_OUT:
|
151
|
+
gtype = GDK_TYPE_EVENT_PROXIMITY;
|
152
|
+
break;
|
153
|
+
case GDK_DRAG_ENTER:
|
154
|
+
case GDK_DRAG_LEAVE:
|
155
|
+
case GDK_DRAG_MOTION:
|
156
|
+
case GDK_DRAG_STATUS:
|
157
|
+
case GDK_DROP_START:
|
158
|
+
case GDK_DROP_FINISHED:
|
159
|
+
gtype = GDK_TYPE_EVENT_DND;
|
160
|
+
break;
|
161
|
+
case GDK_CLIENT_EVENT:
|
162
|
+
break;
|
163
|
+
case GDK_VISIBILITY_NOTIFY:
|
164
|
+
gtype = GDK_TYPE_EVENT_VISIBILITY;
|
165
|
+
break;
|
166
|
+
case GDK_SCROLL:
|
167
|
+
gtype = GDK_TYPE_EVENT_SCROLL;
|
168
|
+
break;
|
169
|
+
case GDK_WINDOW_STATE:
|
170
|
+
gtype = GDK_TYPE_EVENT_WINDOW_STATE;
|
171
|
+
break;
|
172
|
+
case GDK_SETTING:
|
173
|
+
gtype = GDK_TYPE_EVENT_SETTING;
|
174
|
+
break;
|
175
|
+
case GDK_OWNER_CHANGE:
|
176
|
+
gtype = GDK_TYPE_EVENT_OWNER_CHANGE;
|
177
|
+
break;
|
178
|
+
case GDK_GRAB_BROKEN:
|
179
|
+
gtype = GDK_TYPE_EVENT_GRAB_BROKEN;
|
180
|
+
break;
|
181
|
+
case GDK_DAMAGE:
|
182
|
+
gtype = GDK_TYPE_EVENT_EXPOSE;
|
183
|
+
break;
|
184
|
+
case GDK_TOUCH_BEGIN:
|
185
|
+
case GDK_TOUCH_UPDATE:
|
186
|
+
case GDK_TOUCH_END:
|
187
|
+
case GDK_TOUCH_CANCEL:
|
188
|
+
gtype = GDK_TYPE_EVENT_TOUCH;
|
189
|
+
break;
|
190
|
+
case GDK_EVENT_LAST:
|
191
|
+
break;
|
192
|
+
default:
|
193
|
+
break;
|
194
|
+
}
|
195
|
+
|
196
|
+
return gtype;
|
197
|
+
}
|
198
|
+
|
199
|
+
static VALUE
|
200
|
+
rb_gdk_event_type_to_class(GdkEventType event_type)
|
201
|
+
{
|
202
|
+
VALUE klass = Qnil;
|
203
|
+
|
204
|
+
switch (event_type) {
|
205
|
+
case GDK_NOTHING:
|
206
|
+
case GDK_DELETE:
|
207
|
+
case GDK_DESTROY:
|
208
|
+
break;
|
209
|
+
case GDK_EXPOSE:
|
210
|
+
klass = rb_cGdkEventExpose;
|
211
|
+
break;
|
212
|
+
case GDK_MOTION_NOTIFY:
|
213
|
+
klass = rb_cGdkEventMotion;
|
214
|
+
break;
|
215
|
+
case GDK_BUTTON_PRESS:
|
216
|
+
case GDK_2BUTTON_PRESS:
|
217
|
+
case GDK_3BUTTON_PRESS:
|
218
|
+
case GDK_BUTTON_RELEASE:
|
219
|
+
klass = rb_cGdkEventButton;
|
220
|
+
break;
|
221
|
+
case GDK_KEY_PRESS:
|
222
|
+
case GDK_KEY_RELEASE:
|
223
|
+
klass = rb_cGdkEventKey;
|
224
|
+
break;
|
225
|
+
case GDK_ENTER_NOTIFY:
|
226
|
+
case GDK_LEAVE_NOTIFY:
|
227
|
+
klass = rb_cGdkEventCrossing;
|
228
|
+
break;
|
229
|
+
case GDK_FOCUS_CHANGE:
|
230
|
+
klass = rb_cGdkEventFocus;
|
231
|
+
break;
|
232
|
+
case GDK_CONFIGURE:
|
233
|
+
klass = rb_cGdkEventConfigure;
|
234
|
+
break;
|
235
|
+
case GDK_MAP:
|
236
|
+
case GDK_UNMAP:
|
237
|
+
break;
|
238
|
+
case GDK_PROPERTY_NOTIFY:
|
239
|
+
klass = rb_cGdkEventProperty;
|
240
|
+
break;
|
241
|
+
case GDK_SELECTION_CLEAR:
|
242
|
+
case GDK_SELECTION_REQUEST:
|
243
|
+
case GDK_SELECTION_NOTIFY:
|
244
|
+
klass = rb_cGdkEventSelection;
|
245
|
+
break;
|
246
|
+
case GDK_PROXIMITY_IN:
|
247
|
+
case GDK_PROXIMITY_OUT:
|
248
|
+
klass = rb_cGdkEventProximity;
|
249
|
+
break;
|
250
|
+
case GDK_DRAG_ENTER:
|
251
|
+
case GDK_DRAG_LEAVE:
|
252
|
+
case GDK_DRAG_MOTION:
|
253
|
+
case GDK_DRAG_STATUS:
|
254
|
+
case GDK_DROP_START:
|
255
|
+
case GDK_DROP_FINISHED:
|
256
|
+
klass = rb_cGdkEventDND;
|
257
|
+
break;
|
258
|
+
case GDK_CLIENT_EVENT:
|
259
|
+
break;
|
260
|
+
case GDK_VISIBILITY_NOTIFY:
|
261
|
+
klass = rb_cGdkEventVisibility;
|
262
|
+
break;
|
263
|
+
case GDK_SCROLL:
|
264
|
+
klass = rb_cGdkEventScroll;
|
265
|
+
break;
|
266
|
+
case GDK_WINDOW_STATE:
|
267
|
+
klass = rb_cGdkEventWindowState;
|
268
|
+
break;
|
269
|
+
case GDK_SETTING:
|
270
|
+
klass = rb_cGdkEventSetting;
|
271
|
+
break;
|
272
|
+
case GDK_OWNER_CHANGE:
|
273
|
+
klass = rb_cGdkEventOwnerChange;
|
274
|
+
break;
|
275
|
+
case GDK_GRAB_BROKEN:
|
276
|
+
klass = rb_cGdkEventGrabBroken;
|
277
|
+
break;
|
278
|
+
case GDK_DAMAGE:
|
279
|
+
klass = rb_cGdkEventExpose;
|
280
|
+
break;
|
281
|
+
case GDK_TOUCH_BEGIN:
|
282
|
+
case GDK_TOUCH_UPDATE:
|
283
|
+
case GDK_TOUCH_END:
|
284
|
+
case GDK_TOUCH_CANCEL:
|
285
|
+
klass = rb_cGdkEventTouch;
|
286
|
+
break;
|
287
|
+
case GDK_EVENT_LAST:
|
288
|
+
break;
|
289
|
+
default:
|
290
|
+
break;
|
291
|
+
}
|
292
|
+
|
293
|
+
if (NIL_P(klass)) {
|
294
|
+
klass = rb_cGdkEventAny;
|
295
|
+
}
|
296
|
+
|
297
|
+
return klass;
|
298
|
+
}
|
299
|
+
|
300
|
+
static GType
|
301
|
+
rb_gdk_event_to_gtype(VALUE event)
|
33
302
|
{
|
34
|
-
VALUE
|
35
|
-
|
303
|
+
VALUE klass;
|
304
|
+
GType type = GDK_TYPE_EVENT;
|
305
|
+
|
306
|
+
klass = rb_obj_class(event);
|
307
|
+
if (klass == rb_cGdkEvent) {
|
308
|
+
type = GDK_TYPE_EVENT;
|
309
|
+
} else if (klass == rb_cGdkEventAny) {
|
310
|
+
type = GDK_TYPE_EVENT_ANY;
|
311
|
+
} else if (klass == rb_cGdkEventExpose) {
|
312
|
+
type = GDK_TYPE_EVENT_EXPOSE;
|
313
|
+
} else if (klass == rb_cGdkEventVisibility) {
|
314
|
+
type = GDK_TYPE_EVENT_VISIBILITY;
|
315
|
+
} else if (klass == rb_cGdkEventMotion) {
|
316
|
+
type = GDK_TYPE_EVENT_MOTION;
|
317
|
+
} else if (klass == rb_cGdkEventButton) {
|
318
|
+
type = GDK_TYPE_EVENT_BUTTON;
|
319
|
+
} else if (klass == rb_cGdkEventScroll) {
|
320
|
+
type = GDK_TYPE_EVENT_SCROLL;
|
321
|
+
} else if (klass == rb_cGdkEventKey) {
|
322
|
+
type = GDK_TYPE_EVENT_KEY;
|
323
|
+
} else if (klass == rb_cGdkEventCrossing) {
|
324
|
+
type = GDK_TYPE_EVENT_CROSSING;
|
325
|
+
} else if (klass == rb_cGdkEventFocus) {
|
326
|
+
type = GDK_TYPE_EVENT_FOCUS;
|
327
|
+
} else if (klass == rb_cGdkEventConfigure) {
|
328
|
+
type = GDK_TYPE_EVENT_CONFIGURE;
|
329
|
+
} else if (klass == rb_cGdkEventProperty) {
|
330
|
+
type = GDK_TYPE_EVENT_PROPERTY;
|
331
|
+
} else if (klass == rb_cGdkEventSelection) {
|
332
|
+
type = GDK_TYPE_EVENT_SELECTION;
|
333
|
+
} else if (klass == rb_cGdkEventOwnerChange) {
|
334
|
+
type = GDK_TYPE_EVENT_OWNER_CHANGE;
|
335
|
+
} else if (klass == rb_cGdkEventProximity) {
|
336
|
+
type = GDK_TYPE_EVENT_PROXIMITY;
|
337
|
+
} else if (klass == rb_cGdkEventDND) {
|
338
|
+
type = GDK_TYPE_EVENT_DND;
|
339
|
+
} else if (klass == rb_cGdkEventWindowState) {
|
340
|
+
type = GDK_TYPE_EVENT_WINDOW_STATE;
|
341
|
+
} else if (klass == rb_cGdkEventSetting) {
|
342
|
+
type = GDK_TYPE_EVENT_SETTING;
|
343
|
+
} else if (klass == rb_cGdkEventGrabBroken) {
|
344
|
+
type = GDK_TYPE_EVENT_GRAB_BROKEN;
|
345
|
+
} else if (klass == rb_cGdkEventTouch) {
|
346
|
+
type = GDK_TYPE_EVENT_TOUCH;
|
347
|
+
} else {
|
348
|
+
rb_raise(rb_eArgError, "Not event object: %s", RBG_INSPECT(event));
|
349
|
+
}
|
350
|
+
|
351
|
+
return type;
|
352
|
+
}
|
36
353
|
|
37
|
-
|
38
|
-
|
39
|
-
|
354
|
+
VALUE
|
355
|
+
rbgdk_gdkevent2rval(GdkEvent *event)
|
356
|
+
{
|
357
|
+
return BOXED2RVAL(event, rb_gdk_event_type_to_gtype(event->any.type));
|
40
358
|
}
|
41
359
|
|
42
|
-
GdkEvent*
|
43
|
-
|
360
|
+
GdkEvent *
|
361
|
+
rbgdk_rval2gdkevent(VALUE event)
|
44
362
|
{
|
45
|
-
return
|
363
|
+
return RVAL2BOXED(event, rb_gdk_event_to_gtype(event));
|
46
364
|
}
|
47
365
|
|
48
366
|
/***********************************************/
|
@@ -50,12 +368,12 @@ get_gdkevent(VALUE event)
|
|
50
368
|
static VALUE \
|
51
369
|
gdkevent ## type ## _ ## name (VALUE self)\
|
52
370
|
{\
|
53
|
-
return CSTR2RVAL(
|
371
|
+
return CSTR2RVAL(RVAL2GDKEVENT(self)->type.name);\
|
54
372
|
}\
|
55
373
|
static VALUE \
|
56
374
|
gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
57
375
|
{\
|
58
|
-
|
376
|
+
RVAL2GDKEVENT(self)->type.name = (gchar *)RVAL2CSTR(val);\
|
59
377
|
return self;\
|
60
378
|
}
|
61
379
|
|
@@ -63,12 +381,12 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
|
63
381
|
static VALUE \
|
64
382
|
gdkevent ## type ## _ ## name (VALUE self)\
|
65
383
|
{\
|
66
|
-
return INT2NUM(
|
384
|
+
return INT2NUM(RVAL2GDKEVENT(self)->type.name);\
|
67
385
|
}\
|
68
386
|
static VALUE \
|
69
387
|
gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
70
388
|
{\
|
71
|
-
|
389
|
+
RVAL2GDKEVENT(self)->type.name = NUM2INT(val);\
|
72
390
|
return self;\
|
73
391
|
}
|
74
392
|
|
@@ -76,12 +394,12 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
|
76
394
|
static VALUE \
|
77
395
|
gdkevent ## type ## _ ## name (VALUE self)\
|
78
396
|
{\
|
79
|
-
return UINT2NUM(
|
397
|
+
return UINT2NUM(RVAL2GDKEVENT(self)->type.name);\
|
80
398
|
}\
|
81
399
|
static VALUE \
|
82
400
|
gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
83
401
|
{\
|
84
|
-
|
402
|
+
RVAL2GDKEVENT(self)->type.name = NUM2UINT(val);\
|
85
403
|
return self;\
|
86
404
|
}
|
87
405
|
|
@@ -89,12 +407,12 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
|
89
407
|
static VALUE \
|
90
408
|
gdkevent ## type ## _ ## name (VALUE self)\
|
91
409
|
{\
|
92
|
-
return GOBJ2RVAL(
|
410
|
+
return GOBJ2RVAL(RVAL2GDKEVENT(self)->type.name);\
|
93
411
|
}\
|
94
412
|
static VALUE \
|
95
413
|
gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
96
414
|
{\
|
97
|
-
|
415
|
+
RVAL2GDKEVENT(self)->type.name = RVAL2GDKWINDOW(val);\
|
98
416
|
return self;\
|
99
417
|
}
|
100
418
|
|
@@ -102,12 +420,12 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
|
102
420
|
static VALUE \
|
103
421
|
gdkevent ## type ## _ ## name (VALUE self)\
|
104
422
|
{\
|
105
|
-
return rb_float_new(
|
423
|
+
return rb_float_new(RVAL2GDKEVENT(self)->type.name);\
|
106
424
|
}\
|
107
425
|
static VALUE \
|
108
426
|
gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
109
427
|
{\
|
110
|
-
|
428
|
+
RVAL2GDKEVENT(self)->type.name = NUM2DBL(val);\
|
111
429
|
return self;\
|
112
430
|
}
|
113
431
|
|
@@ -115,13 +433,13 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
|
115
433
|
static VALUE \
|
116
434
|
gdkevent ## type ## _ ## name (VALUE self)\
|
117
435
|
{\
|
118
|
-
return GOBJ2RVAL(
|
436
|
+
return GOBJ2RVAL(RVAL2GDKEVENT(self)->type.name);\
|
119
437
|
}\
|
120
438
|
static VALUE \
|
121
439
|
gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
122
440
|
{\
|
123
441
|
GdkEvent *event;\
|
124
|
-
event =
|
442
|
+
event = RVAL2GDKEVENT(self);\
|
125
443
|
if (event->type.name)\
|
126
444
|
g_object_unref(event->type.name);\
|
127
445
|
event->type.name = RVAL2GOBJ(val);\
|
@@ -134,12 +452,12 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
|
134
452
|
static VALUE \
|
135
453
|
gdkevent ## type ## _ ## name (VALUE self)\
|
136
454
|
{\
|
137
|
-
return CBOOL2RVAL(
|
455
|
+
return CBOOL2RVAL(RVAL2GDKEVENT(self)->type.name);\
|
138
456
|
}\
|
139
457
|
static VALUE \
|
140
458
|
gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
141
459
|
{\
|
142
|
-
|
460
|
+
RVAL2GDKEVENT(self)->type.name = RVAL2CBOOL(val);\
|
143
461
|
return self;\
|
144
462
|
}
|
145
463
|
|
@@ -147,13 +465,13 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
|
147
465
|
static VALUE \
|
148
466
|
gdkevent ## type ## _ ## name (VALUE self)\
|
149
467
|
{\
|
150
|
-
GdkAtom atom =
|
468
|
+
GdkAtom atom = RVAL2GDKEVENT(self)->type.name;\
|
151
469
|
return GDKATOM2RVAL(atom);\
|
152
470
|
}\
|
153
471
|
static VALUE \
|
154
472
|
gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
155
473
|
{\
|
156
|
-
|
474
|
+
RVAL2GDKEVENT(self)->type.name = RVAL2ATOM(val);\
|
157
475
|
return self;\
|
158
476
|
}
|
159
477
|
|
@@ -161,12 +479,12 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
|
161
479
|
static VALUE \
|
162
480
|
gdkevent ## type ## _ ## name (VALUE self)\
|
163
481
|
{\
|
164
|
-
return GFLAGS2RVAL(
|
482
|
+
return GFLAGS2RVAL(RVAL2GDKEVENT(self)->type.name, gtype);\
|
165
483
|
}\
|
166
484
|
static VALUE \
|
167
485
|
gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
168
486
|
{\
|
169
|
-
|
487
|
+
RVAL2GDKEVENT(self)->type.name = RVAL2GFLAGS(val, gtype);\
|
170
488
|
return self;\
|
171
489
|
}
|
172
490
|
|
@@ -174,12 +492,12 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
|
174
492
|
static VALUE \
|
175
493
|
gdkevent ## type ## _ ## name (VALUE self)\
|
176
494
|
{\
|
177
|
-
return GENUM2RVAL(
|
495
|
+
return GENUM2RVAL(RVAL2GDKEVENT(self)->type.name, gtype);\
|
178
496
|
}\
|
179
497
|
static VALUE \
|
180
498
|
gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
181
499
|
{\
|
182
|
-
|
500
|
+
RVAL2GDKEVENT(self)->type.name = RVAL2GENUM(val, gtype);\
|
183
501
|
return self;\
|
184
502
|
}
|
185
503
|
|
@@ -187,7 +505,7 @@ gdkevent ## type ## _set_ ## name (VALUE self, VALUE val)\
|
|
187
505
|
static VALUE \
|
188
506
|
gdkevent ##type ## _axes(VALUE self)\
|
189
507
|
{\
|
190
|
-
gdkklass type =
|
508
|
+
gdkklass type = RVAL2GDKEVENT(self)->type;\
|
191
509
|
return type.axes ? rb_ary_new3(2, \
|
192
510
|
rb_float_new(type.axes[0]),\
|
193
511
|
rb_float_new(type.axes[1])) : Qnil;\
|
@@ -195,7 +513,7 @@ gdkevent ##type ## _axes(VALUE self)\
|
|
195
513
|
static VALUE \
|
196
514
|
gdkevent ## type ## _set_axes(VALUE self, VALUE x, VALUE y)\
|
197
515
|
{\
|
198
|
-
gdkklass val =
|
516
|
+
gdkklass val = RVAL2GDKEVENT(self)->type;\
|
199
517
|
val.axes[0] = NUM2DBL(x);\
|
200
518
|
val.axes[1] = NUM2DBL(y);\
|
201
519
|
return self;\
|
@@ -240,45 +558,42 @@ gdkevent_s_events_pending(G_GNUC_UNUSED VALUE self)
|
|
240
558
|
static VALUE
|
241
559
|
gdkevent_s_peek(G_GNUC_UNUSED VALUE self)
|
242
560
|
{
|
243
|
-
return
|
561
|
+
return GDKEVENT2RVAL(gdk_event_peek());
|
244
562
|
}
|
245
563
|
|
246
564
|
static VALUE
|
247
565
|
gdkevent_s_get(G_GNUC_UNUSED VALUE self)
|
248
566
|
{
|
249
|
-
return
|
250
|
-
}
|
251
|
-
|
252
|
-
/* deprecated
|
253
|
-
static VALUE
|
254
|
-
gdkevent_s_get_graphics_expose(G_GNUC_UNUSED VALUE self, VALUE window)
|
255
|
-
{
|
256
|
-
return make_gdkevent(gdk_event_get_graphics_expose(RVAL2GDKWINDOW(window)));
|
567
|
+
return GDKEVENT2RVAL(gdk_event_get());
|
257
568
|
}
|
258
|
-
*/
|
259
569
|
|
260
570
|
/* GdkEvent */
|
261
571
|
static VALUE
|
262
572
|
gdkevent_initialize(VALUE self, VALUE type)
|
263
573
|
{
|
264
|
-
GdkEventType
|
265
|
-
|
574
|
+
GdkEventType event_type;
|
575
|
+
VALUE klass;
|
576
|
+
|
577
|
+
event_type = RVAL2GDKEVENTTYPE(type);
|
578
|
+
klass = rb_gdk_event_type_to_class(event_type);
|
579
|
+
if (!RVAL2CBOOL(rb_obj_is_kind_of(self, klass))) {
|
266
580
|
rb_raise(rb_eArgError, "Wrong event type for this class.");
|
581
|
+
}
|
267
582
|
|
268
|
-
G_INITIALIZE(self, gdk_event_new(
|
583
|
+
G_INITIALIZE(self, gdk_event_new(event_type));
|
269
584
|
return Qnil;
|
270
585
|
}
|
271
586
|
|
272
587
|
static VALUE
|
273
588
|
gdkevent_type(VALUE self)
|
274
589
|
{
|
275
|
-
return GDKEVENTTYPE2RVAL(
|
590
|
+
return GDKEVENTTYPE2RVAL(RVAL2GDKEVENT(self)->type);
|
276
591
|
}
|
277
592
|
|
278
593
|
static VALUE
|
279
594
|
gdkevent_put(VALUE self)
|
280
595
|
{
|
281
|
-
gdk_event_put(
|
596
|
+
gdk_event_put(RVAL2GDKEVENT(self));
|
282
597
|
return self;
|
283
598
|
}
|
284
599
|
|
@@ -292,7 +607,7 @@ static VALUE
|
|
292
607
|
gdkevent_get_axis(VALUE self, VALUE axis_use)
|
293
608
|
{
|
294
609
|
gdouble value;
|
295
|
-
gboolean ret = gdk_event_get_axis(
|
610
|
+
gboolean ret = gdk_event_get_axis(RVAL2GDKEVENT(self),
|
296
611
|
RVAL2GDKAXISUSE(axis_use), &value);
|
297
612
|
return ret ? rb_float_new(value) : Qnil;
|
298
613
|
}
|
@@ -301,7 +616,7 @@ static VALUE
|
|
301
616
|
gdkevent_get_coords(VALUE self)
|
302
617
|
{
|
303
618
|
gdouble x_win, y_win;
|
304
|
-
gboolean ret = gdk_event_get_coords(
|
619
|
+
gboolean ret = gdk_event_get_coords(RVAL2GDKEVENT(self), &x_win, &y_win);
|
305
620
|
|
306
621
|
return ret ? rb_ary_new3(2, rb_float_new(x_win), rb_float_new(y_win)) : Qnil;
|
307
622
|
}
|
@@ -310,7 +625,7 @@ static VALUE
|
|
310
625
|
gdkevent_get_root_coords(VALUE self)
|
311
626
|
{
|
312
627
|
gdouble x_root, y_root;
|
313
|
-
gboolean ret = gdk_event_get_root_coords(
|
628
|
+
gboolean ret = gdk_event_get_root_coords(RVAL2GDKEVENT(self), &x_root, &y_root);
|
314
629
|
|
315
630
|
return ret ? rb_ary_new3(2, rb_float_new(x_root), rb_float_new(y_root)) : Qnil;
|
316
631
|
}
|
@@ -318,7 +633,7 @@ gdkevent_get_root_coords(VALUE self)
|
|
318
633
|
static void
|
319
634
|
handler_func(GdkEvent *event, gpointer func)
|
320
635
|
{
|
321
|
-
rb_funcall((VALUE)func, id_call, 1,
|
636
|
+
rb_funcall((VALUE)func, id_call, 1, GDKEVENT2RVAL(event));
|
322
637
|
}
|
323
638
|
|
324
639
|
static VALUE
|
@@ -347,14 +662,14 @@ gdkevent_s_set_show_events(VALUE self, VALUE show_events)
|
|
347
662
|
static VALUE
|
348
663
|
gdkevent_set_screen(VALUE self, VALUE screen)
|
349
664
|
{
|
350
|
-
gdk_event_set_screen(
|
665
|
+
gdk_event_set_screen(RVAL2GDKEVENT(self), RVAL2GDKSCREEN(screen));
|
351
666
|
return self;
|
352
667
|
}
|
353
668
|
|
354
669
|
static VALUE
|
355
670
|
gdkevent_screen(VALUE self)
|
356
671
|
{
|
357
|
-
return GOBJ2RVAL(gdk_event_get_screen(
|
672
|
+
return GOBJ2RVAL(gdk_event_get_screen(RVAL2GDKEVENT(self)));
|
358
673
|
}
|
359
674
|
|
360
675
|
/*
|
@@ -405,6 +720,19 @@ ATTR_GOBJ(button, device);
|
|
405
720
|
ATTR_FLOAT(button, x_root);
|
406
721
|
ATTR_FLOAT(button, y_root);
|
407
722
|
|
723
|
+
/* GdkEventTouch */
|
724
|
+
ATTR_GOBJ(touch, window);
|
725
|
+
ATTR_BOOL(touch, send_event);
|
726
|
+
ATTR_UINT(touch, time);
|
727
|
+
ATTR_FLOAT(touch, x);
|
728
|
+
ATTR_FLOAT(touch, y);
|
729
|
+
ATTR_AXES(touch, GdkEventTouch);
|
730
|
+
ATTR_FLAGS(touch, state, GDK_TYPE_MODIFIER_TYPE);
|
731
|
+
ATTR_BOOL(touch, emulating_pointer);
|
732
|
+
ATTR_GOBJ(touch, device);
|
733
|
+
ATTR_FLOAT(touch, x_root);
|
734
|
+
ATTR_FLOAT(touch, y_root);
|
735
|
+
|
408
736
|
/* GdkEventScroll */
|
409
737
|
ATTR_UINT(scroll, time);
|
410
738
|
ATTR_FLOAT(scroll, x);
|
@@ -431,45 +759,44 @@ GDKEVENT_INIT(motion, GDK_MOTION_NOTIFY);
|
|
431
759
|
static VALUE
|
432
760
|
gdkeventmotion_request_motions(VALUE self)
|
433
761
|
{
|
434
|
-
gdk_event_request_motions(&(
|
762
|
+
gdk_event_request_motions(&(RVAL2GDKEVENT(self)->motion));
|
435
763
|
return self;
|
436
764
|
}
|
437
765
|
|
438
766
|
/* GdkEventExpose */
|
439
|
-
/* deprecated
|
440
767
|
static VALUE
|
441
768
|
gdkeventexpose_area(VALUE self)
|
442
769
|
{
|
443
|
-
return GDKRECTANGLE2RVAL(&
|
770
|
+
return GDKRECTANGLE2RVAL(&RVAL2GDKEVENT(self)->expose.area);
|
444
771
|
}
|
445
|
-
|
772
|
+
|
446
773
|
static VALUE
|
447
774
|
gdkeventexpose_set_area(VALUE self, VALUE rect)
|
448
775
|
{
|
449
776
|
GdkRectangle* grect = RVAL2GDKRECTANGLE(rect);
|
450
|
-
GdkEventExpose event =
|
451
|
-
event
|
452
|
-
event
|
453
|
-
event
|
454
|
-
event
|
777
|
+
GdkEventExpose *event = &(RVAL2GDKEVENT(self)->expose);
|
778
|
+
event->area.x = grect->x;
|
779
|
+
event->area.y = grect->y;
|
780
|
+
event->area.width = grect->width;
|
781
|
+
event->area.height = grect->height;
|
455
782
|
return self;
|
456
783
|
}
|
457
784
|
|
458
785
|
static VALUE
|
459
786
|
gdkeventexpose_region(VALUE self)
|
460
787
|
{
|
461
|
-
return
|
788
|
+
return CRREGION2RVAL(RVAL2GDKEVENT(self)->expose.region);
|
462
789
|
}
|
790
|
+
|
463
791
|
static VALUE
|
464
792
|
gdkeventexpose_set_region(VALUE self, VALUE region)
|
465
793
|
{
|
466
|
-
|
794
|
+
RVAL2GDKEVENT(self)->expose.region = RVAL2CRREGION(region);
|
467
795
|
return self;
|
468
796
|
}
|
469
797
|
|
470
798
|
ATTR_INT(expose, count);
|
471
799
|
GDKEVENT_INIT(expose, GDK_EXPOSE);
|
472
|
-
*/
|
473
800
|
|
474
801
|
/* GdkEventVisibility */
|
475
802
|
ATTR_ENUM(visibility, state, GDK_TYPE_VISIBILITY_STATE);
|
@@ -521,88 +848,6 @@ ATTR_INT(dnd, y_root);
|
|
521
848
|
ATTR_UINT(proximity, time);
|
522
849
|
ATTR_GOBJ(proximity, device);
|
523
850
|
|
524
|
-
/* GdkEventClient */
|
525
|
-
/* deprecated
|
526
|
-
ATTR_ATOM(client, message_type);
|
527
|
-
GDKEVENT_INIT(client, GDK_CLIENT_EVENT);
|
528
|
-
|
529
|
-
static VALUE
|
530
|
-
gdkeventclient_data_format(VALUE self)
|
531
|
-
{
|
532
|
-
return INT2NUM(get_gdkevent(self)->client.data_format);
|
533
|
-
}
|
534
|
-
|
535
|
-
static VALUE
|
536
|
-
gdkeventclient_data(VALUE self)
|
537
|
-
{
|
538
|
-
int i;
|
539
|
-
VALUE ary = Qnil;
|
540
|
-
gushort format = get_gdkevent(self)->client.data_format;
|
541
|
-
|
542
|
-
if (format == 8) {
|
543
|
-
ary = rb_ary_new2(20);
|
544
|
-
for (i = 0; i < 20; i++)
|
545
|
-
rb_ary_push(ary, INT2FIX(get_gdkevent(self)->client.data.b[i]));
|
546
|
-
} else if (format == 16) {
|
547
|
-
ary = rb_ary_new2(10);
|
548
|
-
for (i = 0; i<10; i++)
|
549
|
-
rb_ary_push(ary, INT2FIX(get_gdkevent(self)->client.data.s[i]));
|
550
|
-
} else if (format == 32){
|
551
|
-
ary = rb_ary_new2(5);
|
552
|
-
for (i = 0; i < 5; i++)
|
553
|
-
rb_ary_push(ary, INT2NUM(get_gdkevent(self)->client.data.l[i]));
|
554
|
-
} else {
|
555
|
-
rb_warn("The format is not supported.");
|
556
|
-
}
|
557
|
-
return ary;
|
558
|
-
}
|
559
|
-
|
560
|
-
static VALUE
|
561
|
-
gdkeventclient_send_client_message(int argc, VALUE *argv, VALUE self)
|
562
|
-
{
|
563
|
-
VALUE xid, display;
|
564
|
-
rb_scan_args(argc, argv, "11", &xid, &display);
|
565
|
-
if (NIL_P(display)){
|
566
|
-
return CBOOL2RVAL(gdk_event_send_client_message(
|
567
|
-
get_gdkevent(self), RVAL2GDKNATIVEWINDOW(xid)));
|
568
|
-
} else {
|
569
|
-
return CBOOL2RVAL(gdk_event_send_client_message_for_display(
|
570
|
-
RVAL2GDKDISPLAYOBJECT(display),
|
571
|
-
get_gdkevent(self),
|
572
|
-
RVAL2GDKNATIVEWINDOW(xid)));
|
573
|
-
}
|
574
|
-
}
|
575
|
-
|
576
|
-
static VALUE
|
577
|
-
gdkeventclient_send_clientmessage_toall(VALUE self)
|
578
|
-
{
|
579
|
-
gdk_event_send_clientmessage_toall(get_gdkevent(self));
|
580
|
-
return self;
|
581
|
-
}
|
582
|
-
|
583
|
-
static GdkFilterReturn
|
584
|
-
filter_func(GdkXEvent *xevent, GdkEvent *event, gpointer func)
|
585
|
-
{
|
586
|
-
VALUE ret = rb_funcall((VALUE)func, id_call, 2, LONG2NUM((glong)xevent), make_gdkevent(event));
|
587
|
-
return RVAL2GDKFILTERRETURN(ret);
|
588
|
-
}
|
589
|
-
|
590
|
-
static VALUE
|
591
|
-
gdkevent_s_add_client_message_filter(VALUE self, VALUE message_type)
|
592
|
-
{
|
593
|
-
volatile VALUE func = rb_block_proc();
|
594
|
-
G_RELATIVE(self, func);
|
595
|
-
gdk_add_client_message_filter(RVAL2ATOM(message_type),
|
596
|
-
(GdkFilterFunc)filter_func, (gpointer)func);
|
597
|
-
return self;
|
598
|
-
}
|
599
|
-
*/
|
600
|
-
|
601
|
-
/* GdkEventNoExpose */
|
602
|
-
/* deprecated
|
603
|
-
GDKEVENT_INIT(noexpose, GDK_NO_EXPOSE);
|
604
|
-
*/
|
605
|
-
|
606
851
|
/* GdkEventWindowState */
|
607
852
|
ATTR_FLAGS(window_state, changed_mask, GDK_TYPE_WINDOW_STATE);
|
608
853
|
ATTR_FLAGS(window_state, new_window_state, GDK_TYPE_WINDOW_STATE);
|
@@ -628,299 +873,302 @@ ATTR_GOBJ(grab_broken, grab_window);
|
|
628
873
|
GDKEVENT_INIT(grab_broken, GDK_GRAB_BROKEN);
|
629
874
|
|
630
875
|
/* MISC */
|
631
|
-
static VALUE
|
876
|
+
static VALUE
|
632
877
|
gdkevent_g2r(const GValue *values)
|
633
878
|
{
|
634
|
-
return
|
879
|
+
return GDKEVENT2RVAL(g_value_get_boxed(&values[0]));
|
635
880
|
}
|
636
881
|
|
637
882
|
void
|
638
883
|
Init_gdk_event(VALUE mGdk)
|
639
884
|
{
|
640
|
-
|
641
|
-
|
642
|
-
|
885
|
+
/* GdkEvent */
|
886
|
+
rb_cGdkEvent = G_DEF_CLASS(GDK_TYPE_EVENT, "Event", mGdk);
|
887
|
+
rbg_define_method(rb_cGdkEvent, "initialize", gdkevent_initialize, 1);
|
888
|
+
rbg_define_method(rb_cGdkEvent, "event_type", gdkevent_type, 0);
|
889
|
+
|
890
|
+
rbg_define_singleton_method(rb_cGdkEvent, "events_pending?", gdkevent_s_events_pending, 0);
|
891
|
+
rbg_define_singleton_method(rb_cGdkEvent, "peek", gdkevent_s_peek, 0);
|
892
|
+
rbg_define_singleton_method(rb_cGdkEvent, "get", gdkevent_s_get, 0);
|
893
|
+
rbg_define_method(rb_cGdkEvent, "put", gdkevent_put, 0);
|
894
|
+
rbg_define_method(rb_cGdkEvent, "get_axis", gdkevent_get_axis, 1);
|
895
|
+
rbg_define_method(rb_cGdkEvent, "coords", gdkevent_get_coords, 0);
|
896
|
+
rbg_define_method(rb_cGdkEvent, "root_coords", gdkevent_get_root_coords, 0);
|
897
|
+
|
898
|
+
rbg_define_singleton_method(rb_cGdkEvent, "handler_set", gdkevent_s_handler_set, 0);
|
899
|
+
rbg_define_singleton_method(rb_cGdkEvent, "show_events?", gdkevent_s_get_show_events, 0);
|
900
|
+
rbg_define_singleton_method(rb_cGdkEvent, "set_show_events", gdkevent_s_set_show_events, 1);
|
901
|
+
rbg_define_singleton_method(rb_cGdkEvent, "setting_get", gdkevent_s_setting_get, -1);
|
902
|
+
rbg_define_method(rb_cGdkEvent, "screen", gdkevent_screen, 0);
|
903
|
+
rbg_define_method(rb_cGdkEvent, "set_screen", gdkevent_set_screen, 1);
|
643
904
|
|
644
|
-
|
645
|
-
|
905
|
+
/*
|
906
|
+
* GdkEvent's Constants
|
907
|
+
*/
|
908
|
+
rb_define_const(rb_cGdkEvent, "CURRENT_TIME", INT2FIX(GDK_CURRENT_TIME));
|
909
|
+
rb_define_const(rb_cGdkEvent, "PRIORITY_EVENTS", INT2FIX(GDK_PRIORITY_EVENTS));
|
910
|
+
rb_define_const(rb_cGdkEvent, "PRIORITY_REDRAW", INT2FIX(GDK_PRIORITY_REDRAW));
|
646
911
|
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
gdkevents[GDK_3BUTTON_PRESS] = gdkevents[GDK_BUTTON_PRESS];
|
656
|
-
gdkevents[GDK_BUTTON_RELEASE]= gdkevents[GDK_BUTTON_PRESS];
|
657
|
-
gdkevents[GDK_KEY_PRESS] = rb_define_class_under(mGdk, "EventKey", gdkEventAny);
|
658
|
-
gdkevents[GDK_KEY_RELEASE] = gdkevents[GDK_KEY_PRESS];
|
659
|
-
gdkevents[GDK_ENTER_NOTIFY] = rb_define_class_under(mGdk, "EventCrossing", gdkEventAny);
|
660
|
-
gdkevents[GDK_LEAVE_NOTIFY] = gdkevents[GDK_ENTER_NOTIFY];
|
661
|
-
gdkevents[GDK_FOCUS_CHANGE] = rb_define_class_under(mGdk, "EventFocus", gdkEventAny);
|
662
|
-
gdkevents[GDK_CONFIGURE] = rb_define_class_under(mGdk, "EventConfigure", gdkEventAny);
|
663
|
-
gdkevents[GDK_MAP] = gdkEventAny;
|
664
|
-
gdkevents[GDK_UNMAP] = gdkEventAny;
|
665
|
-
gdkevents[GDK_PROPERTY_NOTIFY]= rb_define_class_under(mGdk, "EventProperty", gdkEventAny);
|
666
|
-
gdkevents[GDK_SELECTION_CLEAR]= rb_define_class_under(mGdk, "EventSelection", gdkEventAny);
|
667
|
-
gdkevents[GDK_SELECTION_REQUEST]= gdkevents[GDK_SELECTION_CLEAR];
|
668
|
-
gdkevents[GDK_SELECTION_NOTIFY] = gdkevents[GDK_SELECTION_CLEAR];
|
669
|
-
gdkevents[GDK_PROXIMITY_IN] = rb_define_class_under(mGdk, "EventProximity", gdkEventAny);
|
670
|
-
gdkevents[GDK_PROXIMITY_OUT] = gdkevents[GDK_PROXIMITY_IN];
|
671
|
-
gdkevents[GDK_DRAG_ENTER] = rb_define_class_under(mGdk, "EventDND", gdkEventAny);
|
672
|
-
gdkevents[GDK_DRAG_LEAVE] = gdkevents[GDK_DRAG_ENTER];
|
673
|
-
gdkevents[GDK_DRAG_MOTION] = gdkevents[GDK_DRAG_ENTER];
|
674
|
-
gdkevents[GDK_DRAG_STATUS] = gdkevents[GDK_DRAG_ENTER];
|
675
|
-
gdkevents[GDK_DROP_START] = gdkevents[GDK_DRAG_ENTER];
|
676
|
-
gdkevents[GDK_DROP_FINISHED] = gdkevents[GDK_DRAG_ENTER];
|
677
|
-
gdkevents[GDK_CLIENT_EVENT] = rb_define_class_under(mGdk, "EventClient", gdkEventAny);
|
678
|
-
gdkevents[GDK_VISIBILITY_NOTIFY] = rb_define_class_under(mGdk, "EventVisibility", gdkEventAny);
|
679
|
-
/* deprecated
|
680
|
-
gdkevents[GDK_NO_EXPOSE] = rb_define_class_under(mGdk, "EventNoExpose", gdkEventAny);
|
681
|
-
*/
|
682
|
-
gdkevents[GDK_SCROLL] = rb_define_class_under(mGdk, "EventScroll", gdkEventAny);
|
683
|
-
gdkevents[GDK_WINDOW_STATE] = rb_define_class_under(mGdk, "EventWindowState", gdkEventAny);
|
684
|
-
gdkevents[GDK_SETTING] = rb_define_class_under(mGdk, "EventSetting", gdkEventAny);
|
685
|
-
gdkevents[GDK_OWNER_CHANGE] = rb_define_class_under(mGdk, "EventOwnerChange", gdkEventAny);
|
686
|
-
gdkevents[GDK_GRAB_BROKEN] = rb_define_class_under(mGdk, "EventGrabBroken", gdkEventAny);
|
912
|
+
/* GdkEventType */
|
913
|
+
/* XXX */
|
914
|
+
G_RENAME_CONSTANT("2BUTTON_PRESS","BUTTON2_PRESS");
|
915
|
+
G_RENAME_CONSTANT("3BUTTON_PRESS","BUTTON3_PRESS");
|
916
|
+
G_DEF_CLASS(GDK_TYPE_EVENT_TYPE, "Type", rb_cGdkEvent);
|
917
|
+
G_RENAME_CONSTANT("2BUTTON_PRESS","BUTTON2_PRESS");
|
918
|
+
G_RENAME_CONSTANT("3BUTTON_PRESS","BUTTON3_PRESS");
|
919
|
+
G_DEF_CONSTANTS(rb_cGdkEvent, GDK_TYPE_EVENT_TYPE, "GDK_");
|
687
920
|
|
688
|
-
/*
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
rbg_define_singleton_method(gdkEvent, "events_pending?", gdkevent_s_events_pending, 0);
|
693
|
-
rbg_define_singleton_method(gdkEvent, "peek", gdkevent_s_peek, 0);
|
694
|
-
rbg_define_singleton_method(gdkEvent, "get", gdkevent_s_get, 0);
|
695
|
-
rbg_define_method(gdkEvent, "put", gdkevent_put, 0);
|
696
|
-
rbg_define_method(gdkEvent, "get_axis", gdkevent_get_axis, 1);
|
697
|
-
rbg_define_method(gdkEvent, "coords", gdkevent_get_coords, 0);
|
698
|
-
rbg_define_method(gdkEvent, "root_coords", gdkevent_get_root_coords, 0);
|
699
|
-
|
700
|
-
rbg_define_singleton_method(gdkEvent, "handler_set", gdkevent_s_handler_set, 0);
|
701
|
-
rbg_define_singleton_method(gdkEvent, "show_events?", gdkevent_s_get_show_events, 0);
|
702
|
-
rbg_define_singleton_method(gdkEvent, "set_show_events", gdkevent_s_set_show_events, 1);
|
703
|
-
rbg_define_singleton_method(gdkEvent, "setting_get", gdkevent_s_setting_get, -1);
|
704
|
-
/* deprecated
|
705
|
-
rbg_define_singleton_method(gdkEvent, "add_client_message_filter", gdkevent_s_add_client_message_filter, 1);
|
706
|
-
*/
|
707
|
-
rbg_define_method(gdkEvent, "screen", gdkevent_screen, 0);
|
708
|
-
rbg_define_method(gdkEvent, "set_screen", gdkevent_set_screen, 1);
|
921
|
+
/* GdkEventMask */
|
922
|
+
G_DEF_CLASS(GDK_TYPE_EVENT_MASK, "Mask", rb_cGdkEvent);
|
923
|
+
G_DEF_CONSTANTS(rb_cGdkEvent, GDK_TYPE_EVENT_MASK, "GDK_");
|
709
924
|
|
710
925
|
/* GdkEventAny */
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
DEFINE_ACCESSOR(ev, key, time);
|
718
|
-
DEFINE_ACCESSOR(ev, key, state);
|
719
|
-
DEFINE_ACCESSOR(ev, key, keyval);
|
720
|
-
DEFINE_ACCESSOR(ev, key, hardware_keycode);
|
721
|
-
DEFINE_ACCESSOR(ev, key, group);
|
926
|
+
rb_cGdkEventAny =
|
927
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_ANY, "EventAny",
|
928
|
+
mGdk, rb_cGdkEvent);
|
929
|
+
DEFINE_ACCESSOR(rb_cGdkEventAny, any, window);
|
930
|
+
rbg_define_method(rb_cGdkEventAny, "send_event?", gdkeventany_send_event, 0);
|
931
|
+
rbg_define_method(rb_cGdkEventAny, "set_send_event", gdkeventany_set_send_event, 1);
|
722
932
|
|
723
|
-
/*
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
DEFINE_ACCESSOR(
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
DEFINE_ACCESSOR(ev, button, button);
|
732
|
-
DEFINE_ACCESSOR(ev, button, device);
|
733
|
-
DEFINE_ACCESSOR(ev, button, x_root);
|
734
|
-
DEFINE_ACCESSOR(ev, button, y_root);
|
933
|
+
/* GdkEventExpose */
|
934
|
+
rb_cGdkEventExpose =
|
935
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_EXPOSE, "EventExpose",
|
936
|
+
mGdk, rb_cGdkEvent);
|
937
|
+
DEFINE_ACCESSOR(rb_cGdkEventExpose, expose, area);
|
938
|
+
DEFINE_ACCESSOR(rb_cGdkEventExpose, expose, region);
|
939
|
+
DEFINE_ACCESSOR(rb_cGdkEventExpose, expose, count);
|
940
|
+
DEFINE_INIT(rb_cGdkEventExpose, expose);
|
735
941
|
|
736
|
-
/*
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
DEFINE_ACCESSOR(
|
741
|
-
|
742
|
-
DEFINE_ACCESSOR(ev, scroll, direction);
|
743
|
-
DEFINE_ACCESSOR(ev, scroll, device);
|
744
|
-
DEFINE_ACCESSOR(ev, scroll, x_root);
|
745
|
-
DEFINE_ACCESSOR(ev, scroll, y_root);
|
746
|
-
DEFINE_INIT(ev, scroll);
|
942
|
+
/* GdkEventVisibility */
|
943
|
+
rb_cGdkEventVisibility =
|
944
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_VISIBILITY, "EventVisibility",
|
945
|
+
mGdk, rb_cGdkEvent);
|
946
|
+
DEFINE_ACCESSOR(rb_cGdkEventVisibility, visibility, state);
|
947
|
+
DEFINE_INIT(rb_cGdkEventVisibility, visibility);
|
747
948
|
|
748
|
-
/*
|
749
|
-
G_DEF_CLASS(
|
949
|
+
/* GdkVisibilityState */
|
950
|
+
G_DEF_CLASS(GDK_TYPE_VISIBILITY_STATE, "State", rb_cGdkEventVisibility);
|
951
|
+
G_DEF_CONSTANTS(rb_cGdkEventVisibility,
|
952
|
+
GDK_TYPE_VISIBILITY_STATE, "GDK_VISIBILITY_");
|
750
953
|
|
751
954
|
/* GdkEventMotion */
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
DEFINE_ACCESSOR(
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
rbg_define_method(
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
DEFINE_ACCESSOR(
|
764
|
-
|
765
|
-
|
955
|
+
rb_cGdkEventMotion =
|
956
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_MOTION, "EventMotion",
|
957
|
+
mGdk, rb_cGdkEvent);
|
958
|
+
DEFINE_ACCESSOR(rb_cGdkEventMotion, motion, time);
|
959
|
+
DEFINE_ACCESSOR(rb_cGdkEventMotion, motion, x);
|
960
|
+
DEFINE_ACCESSOR(rb_cGdkEventMotion, motion, y);
|
961
|
+
rbg_define_method(rb_cGdkEventMotion, "axes", gdkeventmotion_axes, 0);
|
962
|
+
rbg_define_method(rb_cGdkEventMotion, "set_axes", gdkeventmotion_set_axes, 1);
|
963
|
+
DEFINE_ACCESSOR(rb_cGdkEventMotion, motion, state);
|
964
|
+
rbg_define_method(rb_cGdkEventMotion, "hint?", gdkeventmotion_is_hint, 0);
|
965
|
+
rbg_define_method(rb_cGdkEventMotion, "set_hint", gdkeventmotion_set_is_hint, 1);
|
966
|
+
DEFINE_ACCESSOR(rb_cGdkEventMotion, motion, device);
|
967
|
+
DEFINE_ACCESSOR(rb_cGdkEventMotion, motion, x_root);
|
968
|
+
DEFINE_ACCESSOR(rb_cGdkEventMotion, motion, y_root);
|
969
|
+
DEFINE_INIT(rb_cGdkEventMotion, motion);
|
970
|
+
rbg_define_method(rb_cGdkEventMotion, "request", gdkeventmotion_request_motions, 0);
|
766
971
|
|
767
|
-
/*
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
DEFINE_ACCESSOR(
|
772
|
-
DEFINE_ACCESSOR(
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
972
|
+
/* GdkEventButton */
|
973
|
+
rb_cGdkEventButton =
|
974
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_BUTTON, "EventButton",
|
975
|
+
mGdk, rb_cGdkEvent);
|
976
|
+
DEFINE_ACCESSOR(rb_cGdkEventButton, button, time);
|
977
|
+
DEFINE_ACCESSOR(rb_cGdkEventButton, button, x);
|
978
|
+
DEFINE_ACCESSOR(rb_cGdkEventButton, button, y);
|
979
|
+
rbg_define_method(rb_cGdkEventButton, "axes", gdkeventbutton_axes, 0);
|
980
|
+
rbg_define_method(rb_cGdkEventButton, "set_axes", gdkeventbutton_set_axes, 2);
|
981
|
+
DEFINE_ACCESSOR(rb_cGdkEventButton, button, state);
|
982
|
+
DEFINE_ACCESSOR(rb_cGdkEventButton, button, button);
|
983
|
+
DEFINE_ACCESSOR(rb_cGdkEventButton, button, device);
|
984
|
+
DEFINE_ACCESSOR(rb_cGdkEventButton, button, x_root);
|
985
|
+
DEFINE_ACCESSOR(rb_cGdkEventButton, button, y_root);
|
986
|
+
|
987
|
+
/* GdkEventTouch */
|
988
|
+
rb_cGdkEventTouch =
|
989
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_TOUCH, "EventTouch",
|
990
|
+
mGdk, rb_cGdkEvent);
|
991
|
+
DEFINE_ACCESSOR(rb_cGdkEventTouch, touch, window);
|
992
|
+
rbg_define_method(rb_cGdkEventTouch, "send_event?", gdkeventtouch_send_event, 0);
|
993
|
+
rbg_define_method(rb_cGdkEventTouch, "set_send_event", gdkeventtouch_set_send_event, 1);
|
994
|
+
DEFINE_ACCESSOR(rb_cGdkEventTouch, touch, time);
|
995
|
+
DEFINE_ACCESSOR(rb_cGdkEventTouch, touch, x);
|
996
|
+
DEFINE_ACCESSOR(rb_cGdkEventTouch, touch, y);
|
997
|
+
rbg_define_method(rb_cGdkEventTouch, "axes", gdkeventtouch_axes, 0);
|
998
|
+
rbg_define_method(rb_cGdkEventTouch, "set_axes", gdkeventtouch_set_axes, 2);
|
999
|
+
DEFINE_ACCESSOR(rb_cGdkEventTouch, touch, state);
|
1000
|
+
DEFINE_ACCESSOR(rb_cGdkEventTouch, touch, emulating_pointer);
|
1001
|
+
DEFINE_ACCESSOR(rb_cGdkEventTouch, touch, device);
|
1002
|
+
DEFINE_ACCESSOR(rb_cGdkEventTouch, touch, x_root);
|
1003
|
+
DEFINE_ACCESSOR(rb_cGdkEventTouch, touch, y_root);
|
777
1004
|
|
778
|
-
/*
|
779
|
-
|
780
|
-
|
781
|
-
|
1005
|
+
/* GdkEventScroll */
|
1006
|
+
rb_cGdkEventScroll =
|
1007
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_SCROLL, "EventScroll",
|
1008
|
+
mGdk, rb_cGdkEvent);
|
1009
|
+
DEFINE_ACCESSOR(rb_cGdkEventScroll, scroll, time);
|
1010
|
+
DEFINE_ACCESSOR(rb_cGdkEventScroll, scroll, x);
|
1011
|
+
DEFINE_ACCESSOR(rb_cGdkEventScroll, scroll, y);
|
1012
|
+
DEFINE_ACCESSOR(rb_cGdkEventScroll, scroll, state);
|
1013
|
+
DEFINE_ACCESSOR(rb_cGdkEventScroll, scroll, direction);
|
1014
|
+
DEFINE_ACCESSOR(rb_cGdkEventScroll, scroll, device);
|
1015
|
+
DEFINE_ACCESSOR(rb_cGdkEventScroll, scroll, x_root);
|
1016
|
+
DEFINE_ACCESSOR(rb_cGdkEventScroll, scroll, y_root);
|
1017
|
+
DEFINE_INIT(rb_cGdkEventScroll, scroll);
|
782
1018
|
|
783
|
-
/*
|
784
|
-
G_DEF_CLASS(
|
1019
|
+
/* GdkScrollDirection */
|
1020
|
+
G_DEF_CLASS(GDK_TYPE_SCROLL_DIRECTION, "Direction", rb_cGdkEventScroll);
|
1021
|
+
G_DEF_CONSTANTS(rb_cGdkEventScroll,
|
1022
|
+
GDK_TYPE_SCROLL_DIRECTION, "GDK_SCROLL_");
|
1023
|
+
|
1024
|
+
/* GdkEventKey */
|
1025
|
+
rb_cGdkEventKey =
|
1026
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_KEY, "EventKey",
|
1027
|
+
mGdk, rb_cGdkEvent);
|
1028
|
+
DEFINE_ACCESSOR(rb_cGdkEventKey, key, time);
|
1029
|
+
DEFINE_ACCESSOR(rb_cGdkEventKey, key, state);
|
1030
|
+
DEFINE_ACCESSOR(rb_cGdkEventKey, key, keyval);
|
1031
|
+
DEFINE_ACCESSOR(rb_cGdkEventKey, key, hardware_keycode);
|
1032
|
+
DEFINE_ACCESSOR(rb_cGdkEventKey, key, group);
|
785
1033
|
|
786
1034
|
/* GdkEventCrossing */
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
DEFINE_ACCESSOR(
|
791
|
-
DEFINE_ACCESSOR(
|
792
|
-
DEFINE_ACCESSOR(
|
793
|
-
DEFINE_ACCESSOR(
|
794
|
-
DEFINE_ACCESSOR(
|
795
|
-
DEFINE_ACCESSOR(
|
796
|
-
|
797
|
-
|
798
|
-
|
1035
|
+
rb_cGdkEventCrossing =
|
1036
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_CROSSING, "EventCrossing",
|
1037
|
+
mGdk, rb_cGdkEvent);
|
1038
|
+
DEFINE_ACCESSOR(rb_cGdkEventCrossing, crossing, subwindow);
|
1039
|
+
DEFINE_ACCESSOR(rb_cGdkEventCrossing, crossing, time);
|
1040
|
+
DEFINE_ACCESSOR(rb_cGdkEventCrossing, crossing, x);
|
1041
|
+
DEFINE_ACCESSOR(rb_cGdkEventCrossing, crossing, y);
|
1042
|
+
DEFINE_ACCESSOR(rb_cGdkEventCrossing, crossing, x_root);
|
1043
|
+
DEFINE_ACCESSOR(rb_cGdkEventCrossing, crossing, y_root);
|
1044
|
+
DEFINE_ACCESSOR(rb_cGdkEventCrossing, crossing, mode);
|
1045
|
+
DEFINE_ACCESSOR(rb_cGdkEventCrossing, crossing, detail);
|
1046
|
+
rbg_define_method(rb_cGdkEventCrossing, "focus?", gdkeventcrossing_focus, 0);
|
1047
|
+
rbg_define_method(rb_cGdkEventCrossing, "set_focus", gdkeventcrossing_set_focus, 1);
|
1048
|
+
DEFINE_ACCESSOR(rb_cGdkEventCrossing, crossing, state);
|
799
1049
|
|
800
1050
|
/* GdkCrossingMode */
|
801
|
-
G_DEF_CLASS(GDK_TYPE_CROSSING_MODE, "Mode",
|
1051
|
+
G_DEF_CLASS(GDK_TYPE_CROSSING_MODE, "Mode", rb_cGdkEventCrossing);
|
1052
|
+
G_DEF_CONSTANTS(rb_cGdkEventCrossing,
|
1053
|
+
GDK_TYPE_CROSSING_MODE, "GDK_CROSSING_");
|
802
1054
|
/* GdkNotifyType */
|
803
|
-
G_DEF_CLASS(GDK_TYPE_NOTIFY_TYPE, "NotifyType",
|
1055
|
+
G_DEF_CLASS(GDK_TYPE_NOTIFY_TYPE, "NotifyType", rb_cGdkEventScroll);
|
1056
|
+
G_DEF_CONSTANTS(rb_cGdkEventScroll, GDK_TYPE_NOTIFY_TYPE, "GDK_");
|
804
1057
|
|
805
1058
|
/* GdkEventFocus */
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
1059
|
+
rb_cGdkEventFocus =
|
1060
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_FOCUS, "EventFocus",
|
1061
|
+
mGdk, rb_cGdkEvent);
|
1062
|
+
rbg_define_method(rb_cGdkEventFocus, "in?", gdkeventfocus_change_in, 0);
|
1063
|
+
rbg_define_method(rb_cGdkEventFocus, "set_in",
|
1064
|
+
gdkeventfocus_change_set_in, 1);
|
1065
|
+
DEFINE_INIT(rb_cGdkEventFocus, focus_change);
|
810
1066
|
|
811
1067
|
/* GdkEventConfigure */
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
DEFINE_ACCESSOR(
|
816
|
-
DEFINE_ACCESSOR(
|
817
|
-
|
1068
|
+
rb_cGdkEventConfigure =
|
1069
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_CONFIGURE, "EventConfigure",
|
1070
|
+
mGdk, rb_cGdkEvent);
|
1071
|
+
DEFINE_ACCESSOR(rb_cGdkEventConfigure, configure, x);
|
1072
|
+
DEFINE_ACCESSOR(rb_cGdkEventConfigure, configure, y);
|
1073
|
+
DEFINE_ACCESSOR(rb_cGdkEventConfigure, configure, width);
|
1074
|
+
DEFINE_ACCESSOR(rb_cGdkEventConfigure, configure, height);
|
1075
|
+
DEFINE_INIT(rb_cGdkEventConfigure, configure);
|
818
1076
|
|
819
1077
|
/* GdkEventProperty */
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
DEFINE_ACCESSOR(
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
1078
|
+
rb_cGdkEventProperty =
|
1079
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_PROPERTY, "EventProperty",
|
1080
|
+
mGdk, rb_cGdkEvent);
|
1081
|
+
DEFINE_ACCESSOR(rb_cGdkEventProperty, property, atom);
|
1082
|
+
DEFINE_ACCESSOR(rb_cGdkEventProperty, property, time);
|
1083
|
+
DEFINE_ACCESSOR(rb_cGdkEventProperty, property, state);
|
1084
|
+
DEFINE_INIT(rb_cGdkEventProperty, property);
|
1085
|
+
|
1086
|
+
/* GdkPropertyState */
|
1087
|
+
G_DEF_CLASS(GDK_TYPE_PROPERTY_STATE, "State", rb_cGdkEventProperty);
|
1088
|
+
G_DEF_CONSTANTS(rb_cGdkEventProperty, GDK_TYPE_PROPERTY_STATE, "GDK_");
|
828
1089
|
|
829
1090
|
/* GdkEventSelection */
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
DEFINE_ACCESSOR(
|
834
|
-
DEFINE_ACCESSOR(
|
835
|
-
DEFINE_ACCESSOR(
|
1091
|
+
rb_cGdkEventSelection =
|
1092
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_SELECTION, "EventSelection",
|
1093
|
+
mGdk, rb_cGdkEvent);
|
1094
|
+
DEFINE_ACCESSOR(rb_cGdkEventSelection, selection, selection);
|
1095
|
+
DEFINE_ACCESSOR(rb_cGdkEventSelection, selection, target);
|
1096
|
+
DEFINE_ACCESSOR(rb_cGdkEventSelection, selection, property);
|
1097
|
+
DEFINE_ACCESSOR(rb_cGdkEventSelection, selection, requestor);
|
1098
|
+
DEFINE_ACCESSOR(rb_cGdkEventSelection, selection, time);
|
836
1099
|
|
837
|
-
/*
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
DEFINE_ACCESSOR(
|
842
|
-
DEFINE_ACCESSOR(
|
1100
|
+
/* GdkEventOwnerChange */
|
1101
|
+
rb_cGdkEventOwnerChange =
|
1102
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_OWNER_CHANGE, "EventOwnerChange",
|
1103
|
+
mGdk, rb_cGdkEvent);
|
1104
|
+
DEFINE_ACCESSOR(rb_cGdkEventOwnerChange, owner_change, owner);
|
1105
|
+
DEFINE_ACCESSOR(rb_cGdkEventOwnerChange, owner_change, reason);
|
1106
|
+
DEFINE_ACCESSOR(rb_cGdkEventOwnerChange, owner_change, selection);
|
1107
|
+
DEFINE_ACCESSOR(rb_cGdkEventOwnerChange, owner_change, time);
|
1108
|
+
DEFINE_ACCESSOR(rb_cGdkEventOwnerChange, owner_change, selection_time);
|
1109
|
+
DEFINE_INIT(rb_cGdkEventOwnerChange, owner_change);
|
1110
|
+
|
1111
|
+
/* GdkOwnerChange */
|
1112
|
+
G_DEF_CLASS(GDK_TYPE_OWNER_CHANGE, "OwnerChange", rb_cGdkEventScroll);
|
1113
|
+
G_DEF_CONSTANTS(rb_cGdkEventScroll,
|
1114
|
+
GDK_TYPE_OWNER_CHANGE, "GDK_OWNER_CHANGE_");
|
843
1115
|
|
844
1116
|
/* GdkEventProximity */
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
/* deprecated
|
851
|
-
ev = gdkevents[GDK_CLIENT_EVENT];
|
852
|
-
DEFINE_ACCESSOR(ev, client, message_type);
|
853
|
-
rbg_define_method(ev, "data_format", gdkeventclient_data_format, 0);
|
854
|
-
rbg_define_method(ev, "data", gdkeventclient_data, 0);
|
855
|
-
rbg_define_method(ev, "send_client_message",
|
856
|
-
gdkeventclient_send_client_message, -1);
|
857
|
-
rbg_define_method(ev, "send_clientmessage_toall",
|
858
|
-
gdkeventclient_send_clientmessage_toall, 0);
|
859
|
-
DEFINE_INIT(ev, client);
|
860
|
-
*/
|
1117
|
+
rb_cGdkEventProximity =
|
1118
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_PROXIMITY, "EventProximity",
|
1119
|
+
mGdk, rb_cGdkEvent);
|
1120
|
+
DEFINE_ACCESSOR(rb_cGdkEventProximity, proximity, time);
|
1121
|
+
DEFINE_ACCESSOR(rb_cGdkEventProximity, proximity, device);
|
861
1122
|
|
862
|
-
/*
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
1123
|
+
/* GdkEventDND */
|
1124
|
+
rb_cGdkEventDND =
|
1125
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_DND, "EventDND",
|
1126
|
+
mGdk, rb_cGdkEvent);
|
1127
|
+
DEFINE_ACCESSOR(rb_cGdkEventDND, dnd, context);
|
1128
|
+
DEFINE_ACCESSOR(rb_cGdkEventDND, dnd, time);
|
1129
|
+
DEFINE_ACCESSOR(rb_cGdkEventDND, dnd, x_root);
|
1130
|
+
DEFINE_ACCESSOR(rb_cGdkEventDND, dnd, y_root);
|
867
1131
|
|
868
1132
|
/* GdkEventWindowState */
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
1133
|
+
rb_cGdkEventWindowState =
|
1134
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_WINDOW_STATE, "EventWindowState",
|
1135
|
+
mGdk, rb_cGdkEvent);
|
1136
|
+
DEFINE_ACCESSOR(rb_cGdkEventWindowState, window_state, changed_mask);
|
1137
|
+
DEFINE_ACCESSOR(rb_cGdkEventWindowState, window_state, new_window_state);
|
1138
|
+
DEFINE_INIT(rb_cGdkEventWindowState, window_state);
|
873
1139
|
|
874
1140
|
/* GdkWindowState */
|
875
|
-
G_DEF_CLASS(GDK_TYPE_WINDOW_STATE, "WindowState",
|
1141
|
+
G_DEF_CLASS(GDK_TYPE_WINDOW_STATE, "WindowState", rb_cGdkEventScroll);
|
1142
|
+
G_DEF_CONSTANTS(rb_cGdkEventWindowState,
|
1143
|
+
GDK_TYPE_WINDOW_STATE, "GDK_WINDOW_STATE_");
|
876
1144
|
|
877
1145
|
/* GdkEventSetting */
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
1146
|
+
rb_cGdkEventSetting =
|
1147
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_SETTING, "EventSetting",
|
1148
|
+
mGdk, rb_cGdkEvent);
|
1149
|
+
DEFINE_ACCESSOR(rb_cGdkEventSetting, setting, action);
|
1150
|
+
DEFINE_ACCESSOR(rb_cGdkEventSetting, setting, name);
|
1151
|
+
DEFINE_INIT(rb_cGdkEventSetting, setting);
|
882
1152
|
|
883
1153
|
/* GdkSettingAction */
|
884
|
-
G_DEF_CLASS(GDK_TYPE_SETTING_ACTION, "Action",
|
885
|
-
|
886
|
-
|
887
|
-
ev = gdkevents[GDK_OWNER_CHANGE];
|
888
|
-
DEFINE_ACCESSOR(ev, owner_change, owner);
|
889
|
-
DEFINE_ACCESSOR(ev, owner_change, reason);
|
890
|
-
DEFINE_ACCESSOR(ev, owner_change, selection);
|
891
|
-
DEFINE_ACCESSOR(ev, owner_change, time);
|
892
|
-
DEFINE_ACCESSOR(ev, owner_change, selection_time);
|
893
|
-
DEFINE_INIT(ev, owner_change);
|
894
|
-
|
895
|
-
/* GdkOwnerChange */
|
896
|
-
G_DEF_CLASS(GDK_TYPE_OWNER_CHANGE, "OwnerChange", ev);
|
1154
|
+
G_DEF_CLASS(GDK_TYPE_SETTING_ACTION, "Action", rb_cGdkEventScroll);
|
1155
|
+
G_DEF_CONSTANTS(rb_cGdkEventSetting,
|
1156
|
+
GDK_TYPE_SETTING_ACTION, "GDK_SETTING_");
|
897
1157
|
|
898
1158
|
/* GdkEventGrabBroken */
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
rbg_define_method(
|
903
|
-
|
904
|
-
|
905
|
-
|
1159
|
+
rb_cGdkEventGrabBroken =
|
1160
|
+
G_DEF_CLASS_WITH_PARENT(GDK_TYPE_EVENT_GRAB_BROKEN, "EventGrabBroken",
|
1161
|
+
mGdk, rb_cGdkEvent);
|
1162
|
+
rbg_define_method(rb_cGdkEventGrabBroken,
|
1163
|
+
"keyboard?", gdkeventgrab_broken_keyboard, 0);
|
1164
|
+
rbg_define_method(rb_cGdkEventGrabBroken,
|
1165
|
+
"set_keyboard", gdkeventgrab_broken_set_keyboard, 1);
|
1166
|
+
rbg_define_method(rb_cGdkEventGrabBroken,
|
1167
|
+
"implicit?", gdkeventgrab_broken_implicit, 0);
|
1168
|
+
rbg_define_method(rb_cGdkEventGrabBroken,
|
1169
|
+
"set_implicit", gdkeventgrab_broken_set_implicit, 1);
|
1170
|
+
DEFINE_ACCESSOR(rb_cGdkEventGrabBroken, grab_broken, grab_window);
|
1171
|
+
DEFINE_INIT(rb_cGdkEventGrabBroken, grab_broken);
|
906
1172
|
|
907
1173
|
rbgobj_register_g2r_func(GDK_TYPE_EVENT, &gdkevent_g2r);
|
908
|
-
|
909
|
-
/*
|
910
|
-
* GdkEvent's Constants
|
911
|
-
*/
|
912
|
-
rb_define_const(gdkEvent, "CURRENT_TIME", INT2FIX(GDK_CURRENT_TIME));
|
913
|
-
rb_define_const(gdkEvent, "PRIORITY_EVENTS", INT2FIX(GDK_PRIORITY_EVENTS));
|
914
|
-
rb_define_const(gdkEvent, "PRIORITY_REDRAW", INT2FIX(GDK_PRIORITY_REDRAW));
|
915
|
-
|
916
|
-
/* GdkEventType */
|
917
|
-
/* XXX */
|
918
|
-
G_RENAME_CONSTANT("2BUTTON_PRESS","BUTTON2_PRESS");
|
919
|
-
G_RENAME_CONSTANT("3BUTTON_PRESS","BUTTON3_PRESS");
|
920
|
-
G_DEF_CLASS(GDK_TYPE_EVENT_TYPE, "Type", gdkEvent);
|
921
|
-
G_RENAME_CONSTANT("2BUTTON_PRESS","BUTTON2_PRESS");
|
922
|
-
G_RENAME_CONSTANT("3BUTTON_PRESS","BUTTON3_PRESS");
|
923
|
-
|
924
|
-
/* GdkEventMask */
|
925
|
-
G_DEF_CLASS(GDK_TYPE_EVENT_MASK, "Mask", gdkEvent);
|
926
1174
|
}
|