gdk3 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +53 -0
- data/ext/gdk3/depend +11 -0
- data/ext/gdk3/extconf.rb +127 -0
- data/ext/gdk3/gdk3.def +12 -0
- data/ext/gdk3/init.c +35 -0
- data/ext/gdk3/rbgdk.c +540 -0
- data/ext/gdk3/rbgdk3.h +71 -0
- data/ext/gdk3/rbgdk3conversions.h +118 -0
- data/ext/gdk3/rbgdk3private.h +93 -0
- data/ext/gdk3/rbgdkatom.c +122 -0
- data/ext/gdk3/rbgdkcairo.c +95 -0
- data/ext/gdk3/rbgdkcolor.c +137 -0
- data/ext/gdk3/rbgdkconst.c +33 -0
- data/ext/gdk3/rbgdkcursor.c +99 -0
- data/ext/gdk3/rbgdkdevice.c +197 -0
- data/ext/gdk3/rbgdkdisplay.c +482 -0
- data/ext/gdk3/rbgdkdisplaymanager.c +55 -0
- data/ext/gdk3/rbgdkdragcontext.c +191 -0
- data/ext/gdk3/rbgdkdraw.c +520 -0
- data/ext/gdk3/rbgdkevent.c +926 -0
- data/ext/gdk3/rbgdkgeometry.c +252 -0
- data/ext/gdk3/rbgdkkeymap.c +151 -0
- data/ext/gdk3/rbgdkkeyval.c +108 -0
- data/ext/gdk3/rbgdkpango.c +197 -0
- data/ext/gdk3/rbgdkpangorenderer.c +144 -0
- data/ext/gdk3/rbgdkpixbuf.c +176 -0
- data/ext/gdk3/rbgdkproperty.c +305 -0
- data/ext/gdk3/rbgdkrectangle.c +140 -0
- data/ext/gdk3/rbgdkrgb.c +199 -0
- data/ext/gdk3/rbgdkrgba.c +142 -0
- data/ext/gdk3/rbgdkscreen.c +443 -0
- data/ext/gdk3/rbgdkselection.c +146 -0
- data/ext/gdk3/rbgdkthreads.c +77 -0
- data/ext/gdk3/rbgdktimecoord.c +133 -0
- data/ext/gdk3/rbgdkvisual.c +251 -0
- data/ext/gdk3/rbgdkwindow.c +1044 -0
- data/ext/gdk3/rbgdkwindowattr.c +191 -0
- data/ext/gdk3/rbgdkx11.c +102 -0
- data/ext/gdk3/rbgdkx11x11window.c +66 -0
- data/extconf.rb +49 -0
- data/lib/1.8/gdk3.so +0 -0
- data/lib/1.9/gdk3.so +0 -0
- data/lib/gdk3.rb +3 -0
- data/lib/gdk3/base.rb +50 -0
- data/lib/gdk3/deprecated.rb +152 -0
- 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/gtk-update-icon-cache.exe.manifest +17 -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/etc/gtk-3.0/im-multipress.conf +22 -0
- data/vendor/local/etc/gtk-3.0/settings.ini +2 -0
- data/vendor/local/include/gail-3.0/libgail-util/gail-util.h +2 -0
- data/vendor/local/include/gail-3.0/libgail-util/gailmisc.h +76 -0
- data/vendor/local/include/gail-3.0/libgail-util/gailtextutil.h +85 -0
- data/vendor/local/include/gtk-3.0/gdk/gdk.h +61 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h +60 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkcairo.h +63 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkcolor.h +77 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkconfig.h +22 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkcursor.h +240 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdevice.h +237 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdevicemanager.h +44 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdisplay.h +141 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdisplaymanager.h +55 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdnd.h +153 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkenumtypes.h +105 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkevents.h +1277 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkkeys.h +142 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkkeysyms-compat.h +2300 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkkeysyms.h +2309 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkmain.h +122 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkpango.h +56 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkpixbuf.h +52 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkprivate.h +40 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkproperty.h +91 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkrectangle.h +51 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkrgba.h +62 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkscreen.h +100 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkselection.h +208 -0
- data/vendor/local/include/gtk-3.0/gdk/gdktestutils.h +58 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkthreads.h +105 -0
- data/vendor/local/include/gtk-3.0/gdk/gdktypes.h +421 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkversionmacros.h +220 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkvisual.h +123 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkwin32.h +105 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkwindow.h +884 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32cursor.h +54 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32display.h +54 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32displaymanager.h +47 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32dnd.h +47 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32keys.h +47 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32screen.h +54 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32window.h +54 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h +157 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h +80 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkfontsel.h +165 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h +100 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhbbox.h +65 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhbox.h +67 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhpaned.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhscale.h +68 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhscrollbar.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhseparator.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhsv.h +106 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkrc.h +322 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkstyle.h +703 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtktable.h +162 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtktearoffmenuitem.h +74 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvbbox.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvbox.h +65 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvpaned.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvscale.h +74 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h +70 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvseparator.h +70 -0
- data/vendor/local/include/gtk-3.0/gtk/gtk.h +253 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaboutdialog.h +169 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccelgroup.h +209 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccellabel.h +105 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccelmap.h +93 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccessible.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaction.h +166 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkactionable.h +77 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkactiongroup.h +238 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkactivatable.h +85 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkadjustment.h +121 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkalignment.h +96 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooser.h +49 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooserbutton.h +89 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooserdialog.h +78 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooserwidget.h +103 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkapplication.h +128 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkapplicationwindow.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkarrow.h +81 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaspectframe.h +84 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkassistant.h +188 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbbox.h +90 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbin.h +79 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbindings.h +189 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkborder.h +66 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbox.h +112 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbuildable.h +173 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbuilder.h +179 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbutton.h +130 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcalendar.h +169 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellarea.h +482 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellareabox.h +87 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellareacontext.h +135 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcelleditable.h +62 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcelllayout.h +135 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderer.h +280 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendereraccel.h +84 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderercombo.h +65 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererpixbuf.h +68 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererprogress.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererspin.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererspinner.h +67 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderertext.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderertoggle.h +82 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellview.h +95 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcheckbutton.h +80 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcheckmenuitem.h +98 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkclipboard.h +237 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorbutton.h +108 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorchooser.h +87 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorchooserdialog.h +68 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorchooserwidget.h +71 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorutils.h +48 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcombobox.h +147 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcomboboxtext.h +88 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcontainer.h +227 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcssprovider.h +96 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcsssection.h +97 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdebug.h +70 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdialog.h +181 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdnd.h +212 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdrawingarea.h +74 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkeditable.h +113 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkentry.h +304 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkentrybuffer.h +133 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkentrycompletion.h +154 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkenums.h +1041 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkeventbox.h +79 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkexpander.h +107 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooser.h +247 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserbutton.h +81 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserdialog.h +69 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserwidget.h +65 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilefilter.h +116 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfixed.h +91 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfontbutton.h +99 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfontchooser.h +118 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfontchooserdialog.h +67 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfontchooserwidget.h +71 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkframe.h +96 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkgradient.h +66 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkgrid.h +110 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkiconfactory.h +183 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkicontheme.h +233 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkiconview.h +266 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimage.h +168 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimagemenuitem.h +90 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimcontext.h +126 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimcontextinfo.h +44 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimcontextsimple.h +74 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimmodule.h +34 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimmulticontext.h +73 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkinfobar.h +116 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkinvisible.h +77 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklabel.h +176 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklayout.h +108 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklevelbar.h +127 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklinkbutton.h +100 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkliststore.h +133 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklockbutton.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmain.h +172 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenu.h +215 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenubar.h +90 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenubutton.h +94 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenuitem.h +128 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenushell.h +123 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenutoolbutton.h +79 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmessagedialog.h +132 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmisc.h +89 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmodules.h +58 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmountoperation.h +81 -0
- data/vendor/local/include/gtk-3.0/gtk/gtknotebook.h +250 -0
- data/vendor/local/include/gtk-3.0/gtk/gtknumerableicon.h +87 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkoffscreenwindow.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkorientable.h +58 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkoverlay.h +79 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkpagesetup.h +106 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkpaned.h +105 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkpapersize.h +140 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkplug.h +97 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintcontext.h +69 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintoperation.h +280 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintoperationpreview.h +79 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintsettings.h +248 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprogressbar.h +97 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradioaction.h +89 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradiobutton.h +92 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradiomenuitem.h +91 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradiotoolbutton.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrange.h +167 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentaction.h +78 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooser.h +203 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooserdialog.h +78 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchoosermenu.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooserwidget.h +68 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentfilter.h +125 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentmanager.h +234 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscale.h +114 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscalebutton.h +99 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscrollable.h +60 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscrollbar.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscrolledwindow.h +136 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksearchentry.h +73 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkselection.h +192 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkseparator.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkseparatormenuitem.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkseparatortoolitem.h +70 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksettings.h +127 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkshow.h +37 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksizegroup.h +95 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksizerequest.h +57 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksocket.h +84 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkspinbutton.h +213 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkspinner.h +71 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstatusbar.h +101 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstatusicon.h +147 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstock.h +1029 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstylecontext.h +1014 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstyleproperties.h +117 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstyleprovider.h +126 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkswitch.h +93 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksymboliccolor.h +57 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktestutils.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextattributes.h +180 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextbuffer.h +408 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextbufferrichtext.h +126 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextchild.h +83 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextdisplay.h +101 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextiter.h +306 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextlayout.h +433 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextmark.h +103 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktexttag.h +115 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktexttagtable.h +96 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextview.h +298 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkthemingengine.h +260 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoggleaction.h +92 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktogglebutton.h +93 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoggletoolbutton.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolbar.h +135 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolbutton.h +97 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolitem.h +124 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolitemgroup.h +104 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolpalette.h +140 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolshell.h +89 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktooltip.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreednd.h +123 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreemodel.h +305 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreemodelfilter.h +144 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreemodelsort.h +84 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreeselection.h +146 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreesortable.h +123 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreestore.h +147 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreeview.h +501 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreeviewcolumn.h +224 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktypebuiltins.h +307 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktypes.h +56 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkuimanager.h +171 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +102 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkviewport.h +96 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkvolumebutton.h +70 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkwidget.h +896 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkwidgetpath.h +132 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkwindow.h +351 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkx.h +28 -0
- data/vendor/local/lib/gailutil.def +14 -0
- data/vendor/local/lib/gdk-win32-3.0.def +514 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules.cache +40 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- 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 +41 -0
- data/vendor/local/lib/gtk-win32-3.0.def +3790 -0
- data/vendor/local/lib/libgailutil-3.dll.a +0 -0
- data/vendor/local/lib/libgailutil-3.la +41 -0
- data/vendor/local/lib/libgdk-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.la +41 -0
- data/vendor/local/lib/libgtk-3.dll.a +0 -0
- data/vendor/local/lib/libgtk-3.la +41 -0
- data/vendor/local/lib/pkgconfig/gail-3.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/gdk-3.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/gdk-win32-3.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/gtk+-3.0.pc +16 -0
- data/vendor/local/lib/pkgconfig/gtk+-win32-3.0.pc +16 -0
- data/vendor/local/share/aclocal/gtk-3.0.m4 +219 -0
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/glib-2.0/schemas/org.gtk.Demo.gschema.xml +17 -0
- data/vendor/local/share/glib-2.0/schemas/org.gtk.Settings.ColorChooser.gschema.xml +13 -0
- data/vendor/local/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml +66 -0
- data/vendor/local/share/gtk-3.0/demo/alphatest.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/apple-red.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/application.c +485 -0
- data/vendor/local/share/gtk-3.0/demo/application.ui +104 -0
- data/vendor/local/share/gtk-3.0/demo/appwindow.c +570 -0
- data/vendor/local/share/gtk-3.0/demo/assistant.c +201 -0
- data/vendor/local/share/gtk-3.0/demo/background.jpg +0 -0
- data/vendor/local/share/gtk-3.0/demo/builder.c +74 -0
- data/vendor/local/share/gtk-3.0/demo/button_box.c +127 -0
- data/vendor/local/share/gtk-3.0/demo/changedisplay.c +654 -0
- data/vendor/local/share/gtk-3.0/demo/clipboard.c +326 -0
- data/vendor/local/share/gtk-3.0/demo/colorsel.c +133 -0
- data/vendor/local/share/gtk-3.0/demo/combobox.c +473 -0
- data/vendor/local/share/gtk-3.0/demo/css_accordion.c +78 -0
- data/vendor/local/share/gtk-3.0/demo/css_accordion.css +52 -0
- data/vendor/local/share/gtk-3.0/demo/css_basics.c +122 -0
- data/vendor/local/share/gtk-3.0/demo/css_basics.css +22 -0
- data/vendor/local/share/gtk-3.0/demo/css_multiplebgs.c +171 -0
- data/vendor/local/share/gtk-3.0/demo/css_multiplebgs.css +136 -0
- data/vendor/local/share/gtk-3.0/demo/css_pixbufs.c +127 -0
- data/vendor/local/share/gtk-3.0/demo/css_pixbufs.css +76 -0
- data/vendor/local/share/gtk-3.0/demo/css_shadows.c +147 -0
- data/vendor/local/share/gtk-3.0/demo/css_shadows.css +44 -0
- data/vendor/local/share/gtk-3.0/demo/cssview.css +41 -0
- data/vendor/local/share/gtk-3.0/demo/demo.ui +266 -0
- data/vendor/local/share/gtk-3.0/demo/dialog.c +175 -0
- data/vendor/local/share/gtk-3.0/demo/drawingarea.c +296 -0
- data/vendor/local/share/gtk-3.0/demo/editable_cells.c +392 -0
- data/vendor/local/share/gtk-3.0/demo/entry_buffer.c +66 -0
- data/vendor/local/share/gtk-3.0/demo/entry_completion.c +98 -0
- data/vendor/local/share/gtk-3.0/demo/expander.c +59 -0
- data/vendor/local/share/gtk-3.0/demo/fancy.css +65 -0
- data/vendor/local/share/gtk-3.0/demo/floppybuddy.gif +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-applets.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-calendar.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-foot.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-fs-directory.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-fs-regular.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-gimp.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-gmush.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-gsame.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnu-keys.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gtk-logo-24.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gtk-logo-48.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gtk-logo-rgb.gif +0 -0
- data/vendor/local/share/gtk-3.0/demo/hypertext.c +291 -0
- data/vendor/local/share/gtk-3.0/demo/iconview.c +371 -0
- data/vendor/local/share/gtk-3.0/demo/iconview_edit.c +158 -0
- data/vendor/local/share/gtk-3.0/demo/images.c +472 -0
- data/vendor/local/share/gtk-3.0/demo/infobar.c +109 -0
- data/vendor/local/share/gtk-3.0/demo/links.c +90 -0
- data/vendor/local/share/gtk-3.0/demo/list_store.c +325 -0
- data/vendor/local/share/gtk-3.0/demo/menus.c +171 -0
- data/vendor/local/share/gtk-3.0/demo/menus.ui +107 -0
- data/vendor/local/share/gtk-3.0/demo/offscreen_window.c +615 -0
- data/vendor/local/share/gtk-3.0/demo/offscreen_window2.c +526 -0
- data/vendor/local/share/gtk-3.0/demo/overlay.c +181 -0
- data/vendor/local/share/gtk-3.0/demo/panes.c +205 -0
- data/vendor/local/share/gtk-3.0/demo/pickers.c +89 -0
- data/vendor/local/share/gtk-3.0/demo/pixbufs.c +261 -0
- data/vendor/local/share/gtk-3.0/demo/printing.c +199 -0
- data/vendor/local/share/gtk-3.0/demo/reset.css +68 -0
- data/vendor/local/share/gtk-3.0/demo/rotated_text.c +236 -0
- data/vendor/local/share/gtk-3.0/demo/search_entry.c +322 -0
- data/vendor/local/share/gtk-3.0/demo/sizegroup.c +164 -0
- data/vendor/local/share/gtk-3.0/demo/spinner.c +95 -0
- data/vendor/local/share/gtk-3.0/demo/stock_browser.c +535 -0
- data/vendor/local/share/gtk-3.0/demo/textscroll.c +201 -0
- data/vendor/local/share/gtk-3.0/demo/textview.c +634 -0
- data/vendor/local/share/gtk-3.0/demo/theming.ui +319 -0
- data/vendor/local/share/gtk-3.0/demo/theming_custom_css.c +66 -0
- data/vendor/local/share/gtk-3.0/demo/theming_style_classes.c +58 -0
- data/vendor/local/share/gtk-3.0/demo/toolpalette.c +794 -0
- data/vendor/local/share/gtk-3.0/demo/transparent.c +248 -0
- data/vendor/local/share/gtk-3.0/demo/tree_store.c +450 -0
- data/vendor/local/share/gtk-3.0/demo/ui_manager.c +235 -0
- data/vendor/local/share/gtk-3.0/gtkbuilder.rng +305 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailMisc.html +434 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailTextUtil.html +291 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3.devhelp2 +29 -0
- 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 +45 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.sgml +26 -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 +41 -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 +266 -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 +1532 -0
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDeviceManager.html +445 -0
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplay.html +1482 -0
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplayManager.html +354 -0
- data/vendor/local/share/gtk-doc/html/gdk3/GdkScreen.html +1213 -0
- data/vendor/local/share/gtk-doc/html/gdk3/X_cursor.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/annotation-glossary.html +98 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-0.html +298 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-2.html +71 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-4.html +130 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-6.html +42 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-deprecated.html +158 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-full.html +2711 -0
- data/vendor/local/share/gtk-doc/html/gdk3/arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/based_arrow_down.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/based_arrow_up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/boat.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/bogosity.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/bottom_left_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/bottom_right_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/bottom_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/bottom_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/box_spiral.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/center_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/circle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/clock.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/coffee_mug.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/cross_reverse.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/crosshair.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/diamond_cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/dot.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/dotbox.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/draft_large.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/draft_small.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/draped_box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/exchange.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/fleur.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Application-launching.html +379 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cairo-Interaction.html +453 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Colors.html +296 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cursors.html +1055 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Drag-and-Drop.html +949 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html +1873 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Events.html +1839 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-General.html +952 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Keyboard-Handling.html +1180 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pango-Interaction.html +427 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pixbufs.html +206 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html +199 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Properties-and-Atoms.html +598 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html +326 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Selections.html +622 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Testing.html +230 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Threads.html +1050 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Visuals.html +777 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Windows.html +6690 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-X-Window-System-Interaction.html +2083 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3.devhelp2 +1042 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gobbler.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gumby.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/hand1.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/hand2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/heart.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/icon.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/index.html +120 -0
- data/vendor/local/share/gtk-doc/html/gdk3/index.sgml +1162 -0
- data/vendor/local/share/gtk-doc/html/gdk3/iron_cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/left_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/left_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/left_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/leftbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/ll_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/lr_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/man.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/middlebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/mouse.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/pencil.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/pirate.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/plus.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/question_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/reference.html +113 -0
- data/vendor/local/share/gtk-doc/html/gdk3/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/right_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/right_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/right_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/rightbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/rotated-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/rtl_logo.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sailboat.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_down_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_h_double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_left_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_right_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_up_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_v_double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/shuttle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sizing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/spider.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/spraycan.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/star.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gdk3/target.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/tcross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/top_left_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/top_left_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/top_right_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/top_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/top_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/trek.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/ul_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/umbrella.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/ur_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/watch.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/xterm.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/AbstractObjects.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk3/Actions.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk3/Application.html +42 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ApplicationChoosing.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtk3/Builder.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ButtonWidgets.html +62 -0
- data/vendor/local/share/gtk-doc/html/gtk3/DisplayWidgets.html +59 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAboutDialog.html +1501 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +400 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccessible.html +200 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAction.html +1580 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionGroup.html +1389 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionable.html +425 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActivatable.html +876 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAdjustment.html +845 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAlignment.html +411 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooser.html +212 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserButton.html +518 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserDialog.html +297 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserWidget.html +712 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplication.html +1877 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplicationWindow.html +788 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkArrow.html +208 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAspectFrame.html +241 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAssistant.html +1389 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBin.html +132 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBox.html +683 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuildable.html +677 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +1354 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +1292 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButtonBox.html +432 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCalendar.html +1031 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +3227 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaBox.html +369 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaContext.html +675 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +286 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellLayout.html +750 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +1596 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +275 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererCombo.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererPixbuf.html +203 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererProgress.html +202 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpin.html +159 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpinner.html +155 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +653 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererToggle.html +372 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +729 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckButton.html +198 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckMenuItem.html +462 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +607 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +370 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserDialog.html +144 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserWidget.html +150 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +889 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelectionDialog.html +200 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +1893 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBoxText.html +519 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +1692 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCssProvider.html +2108 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +1288 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +234 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEditable.html +723 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +3957 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryBuffer.html +627 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryCompletion.html +1331 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +305 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkExpander.html +851 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooser.html +3403 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserButton.html +486 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserDialog.html +396 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserWidget.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileFilter.html +595 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFixed.html +253 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontButton.html +609 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooser.html +605 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserDialog.html +137 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserWidget.html +125 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelection.html +571 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelectionDialog.html +400 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFrame.html +464 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGrid.html +701 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHBox.html +147 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHButtonBox.html +134 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHPaned.html +115 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSV.html +445 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScale.html +172 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScrollbar.html +128 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSeparator.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHandleBox.html +514 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +1027 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContextSimple.html +150 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMMulticontext.html +183 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +1755 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +2896 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +1349 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImageMenuItem.html +486 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInfoBar.html +764 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +205 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLabel.html +2208 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +518 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLevelBar.html +782 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLinkButton.html +369 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListStore.html +1159 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLockButton.html +259 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +1527 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuBar.html +369 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuButton.html +535 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuItem.html +940 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +904 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuToolButton.html +387 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMessageDialog.html +814 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMisc.html +296 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNotebook.html +2219 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNumerableIcon.html +557 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOffscreenWindow.html +187 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +229 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetup.html +1031 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetupUnixDialog.html +254 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +783 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaperSize.html +905 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlug.html +388 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintContext.html +571 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintJob.html +1133 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintSettings.html +2948 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintUnixDialog.html +919 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrinter.html +1003 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioAction.html +451 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioButton.html +586 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioMenuItem.html +436 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioToolButton.html +316 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +1365 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentAction.html +279 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooser.html +1415 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserDialog.html +247 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserMenu.html +266 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserWidget.html +155 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentFilter.html +685 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentManager.html +1641 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScale.html +726 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScaleButton.html +546 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollable.html +452 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollbar.html +194 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +1106 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +118 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparator.html +114 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorMenuItem.html +107 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorToolItem.html +199 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +1357 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSizeGroup.html +487 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +360 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinButton.html +1380 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinner.html +173 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +1743 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusbar.html +441 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +2534 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +4505 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleProvider.html +324 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSwitch.html +248 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTable.html +897 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTearoffMenuItem.html +135 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +3895 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextIter.html +3183 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextMark.html +342 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +1124 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTagTable.html +410 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +3390 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +1197 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleAction.html +335 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleButton.html +518 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleToolButton.html +268 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolButton.html +677 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItem.html +1139 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItemGroup.html +755 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +1037 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolShell.html +425 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolbar.html +946 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +432 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModel.html +2814 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelFilter.html +742 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelSort.html +591 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSelection.html +891 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSortable.html +481 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeStore.html +1108 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +4864 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +2067 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkUIManager.html +1467 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVBox.html +162 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVButtonBox.html +134 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVPaned.html +115 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScale.html +176 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScrollbar.html +132 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVSeparator.html +120 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +387 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVolumeButton.html +135 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +12811 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +4647 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +250 -0
- data/vendor/local/share/gtk-doc/html/gtk3/LayoutContainers.html +91 -0
- data/vendor/local/share/gtk-doc/html/gtk3/MenusAndCombos.html +93 -0
- data/vendor/local/share/gtk-doc/html/gtk3/MiscObjects.html +69 -0
- data/vendor/local/share/gtk-doc/html/gtk3/NumericEntry.html +60 -0
- data/vendor/local/share/gtk-doc/html/gtk3/Ornaments.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtk3/PlugSocket.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtk3/Printing.html +59 -0
- data/vendor/local/share/gtk-doc/html/gtk3/RecentDocuments.html +51 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ScrollingWidgets.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtk3/SelectorWidgets.html +86 -0
- data/vendor/local/share/gtk-doc/html/gtk3/TextWidget.html +266 -0
- data/vendor/local/share/gtk-doc/html/gtk3/TextWidgetObjects.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidget.html +556 -0
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidgetObjects.html +115 -0
- data/vendor/local/share/gtk-doc/html/gtk3/WindowWidgets.html +56 -0
- 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 +110 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-0.html +1901 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-2.html +378 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-4.html +322 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-6.html +332 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-deprecated.html +1006 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-full.html +22583 -0
- 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/application-exit.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/arrows.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/assistant.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/background.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/bloatpad-gnome.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/bloatpad-osx.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/bloatpad-xfce.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/border1.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/border2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/border3.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/box-expand.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/box-packing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch02.html +252 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch03.html +178 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch24s02.html +1407 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch26s02.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch28s02.html +117 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch28s03.html +70 -0
- data/vendor/local/share/gtk-doc/html/gtk3/chap-drawing-model.html +461 -0
- 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 +82 -0
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-modifiers.html +89 -0
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-named-icons.html +40 -0
- data/vendor/local/share/gtk-doc/html/gtk3/checks.png +0 -0
- 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/colorsel.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.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/dialog-error.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/dialog-information.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/dialog-password.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/dialog-question.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/dialog-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-new.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-open.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-print-preview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-print.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-properties.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-revert-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-revert-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-save-as.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-save.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/down-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/down-end.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/down-start.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/drawing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/drive-harddisk.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ease-in-out.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ease-in.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ease-out.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ease.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-clear.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-copy.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-cut.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-delete.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-find-replace.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-find.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-paste.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-redo-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-redo-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-select-all.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-undo-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-undo-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/expanders.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/extensions.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/figure-hierarchical-drawing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/figure-windowed-label.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/focus.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/folder.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/fontsel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-indent-less-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-indent-less-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-indent-more-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-indent-more-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-justify-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-justify-fill.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-justify-left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-justify-right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-text-bold.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-text-italic.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-text-strikethrough.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-text-underline.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/frame-gap.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/frame.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/frames.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/glossary.html +312 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-bottom.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-down.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-first-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-first-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-jump-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-jump-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-last-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-last-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-next-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-next-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-previous-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-previous-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-top.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gradient1.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gradient2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gradient3.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gradient4.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/grid-packing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-apply.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-broadway.html +55 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-building.html +459 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-cancel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-caps-lock-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-color-picker.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +161 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-connect.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-convert.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-disconnect.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-dnd-multiple.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-dnd.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-edit.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-font.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-getting-started.html +1095 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-index.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-launch.html +72 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +688 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkGrid.html +102 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-bonus-points.html +136 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-checklist.html +221 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +437 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html +69 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parsing.html +82 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext.html +74 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-checklist.html +164 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-smclient-GtkApplication.html +89 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-theme-GtkStyleContext-engines.html +133 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-unique-GtkApplication.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-no.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-ok.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-landscape.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-portrait.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-reverse-landscape.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-reverse-portrait.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-osx.html +54 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-page-setup.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-preferences.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-query-immodules-3.0.html +110 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +1395 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-resources.html +146 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-running.html +427 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-select-color.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-undelete-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-undelete-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-update-icon-cache.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-windows.html +93 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-x11.html +122 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-yes.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk.html +187 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +674 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +920 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +1622 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +1483 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +346 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +368 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +1325 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkGradient.html +346 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkStyleProperties.html +590 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +420 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkTreeView-drag-and-drop.html +452 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkWidgetPath.html +1361 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html +2748 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +1143 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Orientable.html +173 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +2004 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +1844 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html +1753 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Stock-Items.html +1587 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +646 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +1730 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3.devhelp2 +6619 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtkbase.html +76 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtkobjects.html +670 -0
- data/vendor/local/share/gtk-doc/html/gtk3/handles.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/hello-world.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/help-about.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/help-contents.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-missing.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 +903 -0
- data/vendor/local/share/gtk-doc/html/gtk3/index.sgml +8183 -0
- data/vendor/local/share/gtk-doc/html/gtk3/label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-btlr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-btrl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-lrbt.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-lrtb.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-rlbt.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-rltb.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-tblr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-tbrl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/left-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/left-end.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/left-start.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/linear.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-add.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-remove.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lock-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lockbutton-locked.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lockbutton-sorry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lockbutton-unlocked.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lockbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-floppy.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-optical.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-playback-pause.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-playback-start-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-playback-start-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-playback-stop.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-record.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-seek-backward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-seek-backward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-seek-forward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-seek-forward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-skip-backward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-skip-backward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-skip-forward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-skip-forward-rtl.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 +106 -0
- data/vendor/local/share/gtk-doc/html/gtk3/multiline-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/network-idle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/notebook.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/numerableicon.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/numerableicon2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/options.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/printdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/printer-error.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/printer-info.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/printer-paused.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/printer-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/process-stop.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 +44 -0
- 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-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/right-end.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/right-start.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/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/slices.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/sliders.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/statusbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gtk3/switch.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/system-run.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/text-x-generic.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/theming.html +75 -0
- 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/tools-check-spelling.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/tree-view-coordinates.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/up-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/up-end.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/up-start.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/view-fullscreen.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/view-refresh.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/view-restore.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/view-sort-ascending.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/view-sort-descending.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/volumebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/widget-hvalign.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/window-close.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/gtk-doc/html/gtk3/zoom-fit-best.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/zoom-in.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/zoom-original.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/zoom-out.png +0 -0
- data/vendor/local/share/license/gtk+/AUTHORS +65 -0
- data/vendor/local/share/license/gtk+/COPYING +481 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtk30-properties.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/ast/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtk30-properties.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-properties.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/bs/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/crh/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/crh/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/cy/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/cy/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/dz/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/dz/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-properties.mo +0 -0
- data/vendor/local/share/locale/en/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk30-properties.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-properties.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-properties.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-properties.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-properties.mo +0 -0
- data/vendor/local/share/locale/ga/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-properties.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-properties.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hr/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/hy/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hy/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/io/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/is/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-properties.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gtk30-properties.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/ku/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/li/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/mai/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/mn/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/ms/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtk30-properties.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/ps/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ps/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-properties.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/rw/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/si/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/sq/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sq/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@ije/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr@ije/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-properties.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-properties.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tt/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-properties.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/yi/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/gtk-launch.1 +53 -0
- data/vendor/local/share/man/man1/gtk-query-immodules-3.0.1 +75 -0
- data/vendor/local/share/man/man1/gtk-update-icon-cache.1 +88 -0
- data/vendor/local/share/themes/Default/gtk-3.0/gtk-keys.css +3 -0
- data/vendor/local/share/themes/Emacs/gtk-3.0/gtk-keys.css +121 -0
- metadata +1449 -0
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,161 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Compiling GTK+ Applications</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
7
|
+
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
|
8
|
+
<link rel="up" href="gtk.html" title="Part I. GTK+ Overview">
|
9
|
+
<link rel="prev" href="gtk-building.html" title="Compiling the GTK+ libraries">
|
10
|
+
<link rel="next" href="gtk-running.html" title="Running GTK+ Applications">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
16
|
+
<td><a accesskey="p" href="gtk-building.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
+
<td><a accesskey="u" href="gtk.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
18
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
+
<th width="100%" align="center">GTK+ 3 Reference Manual</th>
|
20
|
+
<td><a accesskey="n" href="gtk-running.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="refentry">
|
23
|
+
<a name="gtk-compiling"></a><div class="titlepage"></div>
|
24
|
+
<div class="refnamediv"><table width="100%"><tr>
|
25
|
+
<td valign="top">
|
26
|
+
<h2><span class="refentrytitle">Compiling GTK+ Applications</span></h2>
|
27
|
+
<p>Compiling GTK+ Applications —
|
28
|
+
How to compile your GTK+ application
|
29
|
+
</p>
|
30
|
+
</td>
|
31
|
+
<td valign="top" align="right"></td>
|
32
|
+
</tr></table></div>
|
33
|
+
<div class="refsect1">
|
34
|
+
<a name="idm140520418150096"></a><h2>Compiling GTK+ Applications on UNIX</h2>
|
35
|
+
<p>
|
36
|
+
To compile a GTK+ application, you need to tell the compiler where to
|
37
|
+
find the GTK+ header files and libraries. This is done with the
|
38
|
+
<code class="literal">pkg-config</code> utility.
|
39
|
+
</p>
|
40
|
+
<p>
|
41
|
+
The following interactive shell session demonstrates how
|
42
|
+
<code class="literal">pkg-config</code> is used (the actual output on
|
43
|
+
your system may be different):
|
44
|
+
</p>
|
45
|
+
<pre class="programlisting">
|
46
|
+
$ pkg-config --cflags gtk+-3.0
|
47
|
+
-pthread -I/usr/include/gtk-3.0 -I/usr/lib64/gtk-3.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
|
48
|
+
$ pkg-config --libs gtk+-3.0
|
49
|
+
-pthread -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
|
50
|
+
</pre>
|
51
|
+
<p>
|
52
|
+
</p>
|
53
|
+
<p>
|
54
|
+
The simplest way to compile a program is to use the "backticks"
|
55
|
+
feature of the shell. If you enclose a command in backticks
|
56
|
+
(<span class="emphasis"><em>not single quotes</em></span>), then its output will be
|
57
|
+
substituted into the command line before execution. So to compile
|
58
|
+
a GTK+ Hello, World, you would type the following:
|
59
|
+
</p>
|
60
|
+
<pre class="programlisting">
|
61
|
+
$ cc `pkg-config --cflags --libs gtk+-3.0` hello.c -o hello
|
62
|
+
</pre>
|
63
|
+
<p>
|
64
|
+
</p>
|
65
|
+
<p>
|
66
|
+
Deprecated GTK+ functions are annotated to make the compiler
|
67
|
+
emit warnings when they are used (e.g. with gcc, you need to use
|
68
|
+
the -Wdeprecated-declarations option). If these warnings are
|
69
|
+
problematic, they can be turned off by defining the preprocessor
|
70
|
+
symbol <code class="literal">GDK_DISABLE_DEPRECATION_WARNINGS</code> by using the commandline
|
71
|
+
option <code class="literal">-DGDK_DISABLE_DEPRECATION_WARNINGS</code>
|
72
|
+
</p>
|
73
|
+
<p>
|
74
|
+
GTK+ deprecation annotations are versioned; by defining the
|
75
|
+
macros <a href="../gdk3/gdk3-General.html#GDK-VERSION-MIN-REQUIRED:CAPS"><code class="literal">GDK_VERSION_MIN_REQUIRED</code></a> and <a href="../gdk3/gdk3-General.html#GDK-VERSION-MAX-ALLOWED:CAPS"><code class="literal">GDK_VERSION_MAX_ALLOWED</code></a>,
|
76
|
+
you can specify the range of GTK+ versions whose API you want
|
77
|
+
to use. APIs that were deprecated before or introduced after
|
78
|
+
this range will trigger compiler warnings.
|
79
|
+
</p>
|
80
|
+
<p>
|
81
|
+
Here is how you would compile hello.c if you want to allow it
|
82
|
+
to use symbols that were not deprecated in 3.2:
|
83
|
+
</p>
|
84
|
+
<pre class="programlisting">
|
85
|
+
$ cc -DGDK_VERSION_MIN_REQIRED=GDK_VERSION_3_2 `pkg-config --cflags --libs gtk+-3.0` hello.c -o hello
|
86
|
+
</pre>
|
87
|
+
<p>
|
88
|
+
</p>
|
89
|
+
<p>
|
90
|
+
And here is how you would compile hello.c if you don't want
|
91
|
+
it to use any symbols that were introduced after 3.4:
|
92
|
+
</p>
|
93
|
+
<pre class="programlisting">
|
94
|
+
$ cc -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_4 `pkg-config --cflags --libs gtk+-3.0` hello.c -o hello
|
95
|
+
</pre>
|
96
|
+
<p>
|
97
|
+
</p>
|
98
|
+
<p>
|
99
|
+
The older deprecation mechanism of hiding deprecated interfaces
|
100
|
+
entirely from the compiler by using the preprocessor symbol
|
101
|
+
GTK_DISABLE_DEPRECATED is still used for deprecated macros,
|
102
|
+
enumeration values, etc. To detect uses of these in your code,
|
103
|
+
use the commandline option <code class="literal">-DGTK_DISABLE_DEPRECATED</code>.
|
104
|
+
There are similar symbols GDK_DISABLE_DEPRECATED,
|
105
|
+
GDK_PIXBUF_DISABLE_DEPRECATED and G_DISABLE_DEPRECATED for GDK, GdkPixbuf and
|
106
|
+
GLib.
|
107
|
+
</p>
|
108
|
+
<p>
|
109
|
+
If you want to make sure that your program doesn't use any functions which
|
110
|
+
may be problematic in a multihead setting, you can define the preprocessor
|
111
|
+
symbol GDK_MULTIHEAD_SAFE by using the command line option
|
112
|
+
<code class="literal">-DGTK_MULTIHEAD_SAFE=1</code>.
|
113
|
+
</p>
|
114
|
+
<p>
|
115
|
+
Similarly, if you want to make sure that your program doesn't use any
|
116
|
+
functions which may be problematic in a multidevice setting, you can
|
117
|
+
define the preprocessor symbol GDK_MULTIDEVICE_SAFE by using the command
|
118
|
+
line option <code class="literal">-DGTK_MULTIDEVICE_SAFE=1</code>.
|
119
|
+
</p>
|
120
|
+
<div class="refsect2">
|
121
|
+
<a name="idm140520418466144"></a><h3>Useful autotools macros</h3>
|
122
|
+
<p>
|
123
|
+
GTK+ provides various macros for easily checking version and backends
|
124
|
+
supported. The macros are
|
125
|
+
</p>
|
126
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
127
|
+
<colgroup>
|
128
|
+
<col align="left" valign="top">
|
129
|
+
<col>
|
130
|
+
</colgroup>
|
131
|
+
<tbody>
|
132
|
+
<tr>
|
133
|
+
<td><p><span class="term">AM_PATH_GTK_3_0([minimum-version], [if-found], [if-not-found], [modules])</span></p></td>
|
134
|
+
<td>This macro should be used to check that GTK+ is installed
|
135
|
+
and available for compilation. The four arguments are optional, and
|
136
|
+
they are: <span class="emphasis"><em>minimum-version</em></span>, the minimum version
|
137
|
+
of GTK+ required for compilation; <span class="emphasis"><em>if-found</em></span>, the
|
138
|
+
action to perform if a valid version of GTK+ has been found;
|
139
|
+
<span class="emphasis"><em>if-not-found</em></span>, the action to perform if a valid
|
140
|
+
version of GTK+ has not been found; <span class="emphasis"><em>modules</em></span>, a
|
141
|
+
list of modules to be checked along with GTK+.</td>
|
142
|
+
</tr>
|
143
|
+
<tr>
|
144
|
+
<td><p><span class="term">GTK_CHECK_BACKEND([backend-name], [minimum-version], [if-found], [if-not-found])</span></p></td>
|
145
|
+
<td>This macro should be used to check if a specific backend
|
146
|
+
is supported by GTK+. The <span class="emphasis"><em>minimum-version</em></span>,
|
147
|
+
<span class="emphasis"><em>if-found</em></span> and <span class="emphasis"><em>if-not-found</em></span>
|
148
|
+
arguments are optional.</td>
|
149
|
+
</tr>
|
150
|
+
</tbody>
|
151
|
+
</table></div>
|
152
|
+
<p>
|
153
|
+
</p>
|
154
|
+
</div>
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
<div class="footer">
|
158
|
+
<hr>
|
159
|
+
Generated by GTK-Doc V1.18.1</div>
|
160
|
+
</body>
|
161
|
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,1095 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Getting Started with GTK+</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
|
7
|
+
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
|
8
|
+
<link rel="up" href="gtk.html" title="Part I. GTK+ Overview">
|
9
|
+
<link rel="prev" href="gtk.html" title="Part I. GTK+ Overview">
|
10
|
+
<link rel="next" href="gtk-building.html" title="Compiling the GTK+ libraries">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
|
16
|
+
<td><a accesskey="p" href="gtk.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
17
|
+
<td><a accesskey="u" href="gtk.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
18
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
19
|
+
<th width="100%" align="center">GTK+ 3 Reference Manual</th>
|
20
|
+
<td><a accesskey="n" href="gtk-building.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
21
|
+
</tr></table>
|
22
|
+
<div class="chapter">
|
23
|
+
<div class="titlepage"><div><div><h2 class="title">
|
24
|
+
<a name="gtk-getting-started"></a>Getting Started with GTK+</h2></div></div></div>
|
25
|
+
<p>This chapter is contains some tutorial information to get you
|
26
|
+
started with GTK+ programming. It assumes that you have GTK+, its
|
27
|
+
dependencies and a C compiler installed and ready to use. If you
|
28
|
+
need to build GTK+ itself first, refer to the
|
29
|
+
<a class="link" href="gtk-compiling.html" title="Compiling GTK+ Applications">Compiling the GTK+ libraries</a>
|
30
|
+
section in this reference.</p>
|
31
|
+
<div class="simplesect">
|
32
|
+
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
33
|
+
<a name="idm140520419914928"></a>Basics</h2></div></div></div>
|
34
|
+
<p>To begin our introduction to GTK, we'll start with the simplest
|
35
|
+
program possible. This program will create an empty 200x200 pixel
|
36
|
+
window:</p>
|
37
|
+
<p>
|
38
|
+
<img src="window-default.png">
|
39
|
+
</p>
|
40
|
+
<div class="informalexample">
|
41
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td class="listing_lines" align="right"><pre>1
|
45
|
+
2
|
46
|
+
3
|
47
|
+
4
|
48
|
+
5
|
49
|
+
6
|
50
|
+
7
|
51
|
+
8
|
52
|
+
9
|
53
|
+
10
|
54
|
+
11
|
55
|
+
12
|
56
|
+
13
|
57
|
+
14
|
58
|
+
15
|
59
|
+
16
|
60
|
+
17
|
61
|
+
18
|
62
|
+
19
|
63
|
+
20</pre></td>
|
64
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gtk/gtk.h></span>
|
65
|
+
|
66
|
+
<span class="type">int</span>
|
67
|
+
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span>
|
68
|
+
<span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
69
|
+
<span class="cbracket">{</span>
|
70
|
+
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">window</span><span class="symbol">;</span>
|
71
|
+
|
72
|
+
<span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-init">gtk_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">);</span>
|
73
|
+
|
74
|
+
<span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
|
75
|
+
|
76
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-General.html#gtk-main-quit">gtk_main_quit</a></span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
77
|
+
|
78
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
|
79
|
+
|
80
|
+
<span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
81
|
+
|
82
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
83
|
+
<span class="cbracket">}</span></pre></td>
|
84
|
+
</tr>
|
85
|
+
</tbody>
|
86
|
+
</table>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
<p>You can compile the program above with GCC using:</p>
|
90
|
+
<div class="literallayout"><p><br>
|
91
|
+
<code class="literal">gcc `pkg-config --cflags gtk+-3.0` -o window-default window-default.c `pkg-config --libs gtk+-3.0`</code><br>
|
92
|
+
</p></div>
|
93
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
94
|
+
<h3 class="title">Note</h3>
|
95
|
+
<p>For more information on how to compile a GTK+ application, please
|
96
|
+
refer to the <a class="link" href="gtk-compiling.html" title="Compiling GTK+ Applications">Compiling GTK+ Applications</a>
|
97
|
+
section in this reference.</p>
|
98
|
+
</div>
|
99
|
+
<p>All GTK+ applications will, of course, include
|
100
|
+
<code class="filename">gtk/gtk.h</code>, which declares functions, types and
|
101
|
+
macros required by GTK+ applications.</p>
|
102
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
103
|
+
<h3 class="title">Warning</h3>
|
104
|
+
<p>Even if GTK+ installs multiple header files, only the
|
105
|
+
top-level <code class="filename">gtk/gtk.h</code> header can be directly included
|
106
|
+
by third party code. The compiler will abort with an error if any other
|
107
|
+
header is directly included.</p>
|
108
|
+
</div>
|
109
|
+
<p>We then proceed into the <code class="function">main</code>() function of the
|
110
|
+
application, and we declare a <code class="varname">window</code> variable as a pointer
|
111
|
+
of type <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>.</p>
|
112
|
+
<p>The following line will call <a class="link" href="gtk3-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>, which
|
113
|
+
is the initialization function for GTK+; this function will set up GTK+,
|
114
|
+
the type system, the connection to the windowing environment, etc. The
|
115
|
+
<a class="link" href="gtk3-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a> takes as arguments the pointers to the command line arguments
|
116
|
+
counter and string array; this allows GTK+ to parse specific command line
|
117
|
+
arguments that control the behavior of GTK+ itself. The parsed arguments
|
118
|
+
will be removed from the array, leaving the unrecognized ones for your
|
119
|
+
application to parse.</p>
|
120
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
121
|
+
<h3 class="title">Note</h3>
|
122
|
+
<p>For more information on which command line arguments GTK+
|
123
|
+
recognizes, please refer to the <a class="link" href="gtk-running.html" title="Running GTK+ Applications">Running GTK+
|
124
|
+
Applications</a> section in this reference.</p>
|
125
|
+
</div>
|
126
|
+
<p>The call to <a class="link" href="GtkWindow.html#gtk-window-new" title="gtk_window_new ()"><code class="function">gtk_window_new()</code></a> will create a new <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> and store
|
127
|
+
it inside the <code class="varname">window</code> variable. The type of the window
|
128
|
+
is <a class="link" href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS"><code class="literal">GTK_WINDOW_TOPLEVEL</code></a>, which means that the <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> will be managed
|
129
|
+
by the windowing system: it will have a frame, a title bar and window
|
130
|
+
controls, depending on the platform.</p>
|
131
|
+
<p>In order to terminate the application when the <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> is
|
132
|
+
destroyed, we connect the <a class="link" href="GtkWidget.html#GtkWidget-destroy" title='The "destroy" signal'><span class="type">"destroy"</span></a> signal to the <a class="link" href="gtk3-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a>
|
133
|
+
function. This function will terminate the GTK+ main loop started by calling
|
134
|
+
<a class="link" href="gtk3-General.html#gtk-main" title="gtk_main ()"><code class="function">gtk_main()</code></a> later. The <a class="link" href="GtkWidget.html#GtkWidget-destroy" title='The "destroy" signal'><span class="type">"destroy"</span></a> signal is emitted when a widget is
|
135
|
+
destroyed, either by explicitly calling <a class="link" href="GtkWidget.html#gtk-widget-destroy" title="gtk_widget_destroy ()"><code class="function">gtk_widget_destroy()</code></a> or when the
|
136
|
+
widget is unparented. Top-level <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>s are also destroyed when
|
137
|
+
the Close window control button is clicked.</p>
|
138
|
+
<p><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>s are hidden by default. By calling <a class="link" href="GtkWidget.html#gtk-widget-show" title="gtk_widget_show ()"><code class="function">gtk_widget_show()</code></a>
|
139
|
+
on a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> we are asking GTK+ to set the visibility attribute so that it
|
140
|
+
can be displayed. All this work is done after the main loop has been
|
141
|
+
started.</p>
|
142
|
+
<p>The last line of interest is the call to <a class="link" href="gtk3-General.html#gtk-main" title="gtk_main ()"><code class="function">gtk_main()</code></a>. This function will
|
143
|
+
start the GTK+ main loop and will block the control flow of the
|
144
|
+
<code class="function">main()</code> until the <a class="link" href="gtk3-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a> function is called.</p>
|
145
|
+
<p>While the program is running, GTK+ is receiving
|
146
|
+
<em class="firstterm">events</em>. These are typically input events caused by
|
147
|
+
the user interacting with your program, but also things like messages from
|
148
|
+
the window manager or other applications. GTK+ processes these and as a
|
149
|
+
result, <em class="firstterm">signals</em> may be emitted on your widgets.
|
150
|
+
Connecting handlers for these signals is how you normally make your
|
151
|
+
program do something in response to user input.</p>
|
152
|
+
<p>The following example is slightly more complex, and tries to
|
153
|
+
showcase some of the capabilities of GTK+.</p>
|
154
|
+
<p>In the long tradition of programming languages and libraries,
|
155
|
+
it is called <span class="emphasis"><em>Hello, World</em></span>.</p>
|
156
|
+
<p>
|
157
|
+
<img src="hello-world.png">
|
158
|
+
</p>
|
159
|
+
<div class="example">
|
160
|
+
<a name="gtk-getting-started-hello-world"></a><p class="title"><b>Example 1. Hello World in GTK+</b></p>
|
161
|
+
<div class="example-contents">
|
162
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
163
|
+
<tbody>
|
164
|
+
<tr>
|
165
|
+
<td class="listing_lines" align="right"><pre>1
|
166
|
+
2
|
167
|
+
3
|
168
|
+
4
|
169
|
+
5
|
170
|
+
6
|
171
|
+
7
|
172
|
+
8
|
173
|
+
9
|
174
|
+
10
|
175
|
+
11
|
176
|
+
12
|
177
|
+
13
|
178
|
+
14
|
179
|
+
15
|
180
|
+
16
|
181
|
+
17
|
182
|
+
18
|
183
|
+
19
|
184
|
+
20
|
185
|
+
21
|
186
|
+
22
|
187
|
+
23
|
188
|
+
24
|
189
|
+
25
|
190
|
+
26
|
191
|
+
27
|
192
|
+
28
|
193
|
+
29
|
194
|
+
30
|
195
|
+
31
|
196
|
+
32
|
197
|
+
33
|
198
|
+
34
|
199
|
+
35
|
200
|
+
36
|
201
|
+
37
|
202
|
+
38
|
203
|
+
39
|
204
|
+
40
|
205
|
+
41
|
206
|
+
42
|
207
|
+
43
|
208
|
+
44
|
209
|
+
45
|
210
|
+
46
|
211
|
+
47
|
212
|
+
48
|
213
|
+
49
|
214
|
+
50
|
215
|
+
51
|
216
|
+
52
|
217
|
+
53
|
218
|
+
54
|
219
|
+
55
|
220
|
+
56
|
221
|
+
57
|
222
|
+
58
|
223
|
+
59
|
224
|
+
60
|
225
|
+
61
|
226
|
+
62
|
227
|
+
63
|
228
|
+
64
|
229
|
+
65
|
230
|
+
66
|
231
|
+
67
|
232
|
+
68
|
233
|
+
69
|
234
|
+
70
|
235
|
+
71
|
236
|
+
72
|
237
|
+
73
|
238
|
+
74
|
239
|
+
75
|
240
|
+
76
|
241
|
+
77
|
242
|
+
78
|
243
|
+
79
|
244
|
+
80
|
245
|
+
81
|
246
|
+
82
|
247
|
+
83
|
248
|
+
84
|
249
|
+
85
|
250
|
+
86
|
251
|
+
87
|
252
|
+
88
|
253
|
+
89
|
254
|
+
90
|
255
|
+
91
|
256
|
+
92
|
257
|
+
93
|
258
|
+
94
|
259
|
+
95
|
260
|
+
96
|
261
|
+
97
|
262
|
+
98
|
263
|
+
99
|
264
|
+
100
|
265
|
+
101
|
266
|
+
102
|
267
|
+
103
|
268
|
+
104</pre></td>
|
269
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gtk/gtk.h></span>
|
270
|
+
|
271
|
+
<span class="comment">/* This is a callback function. The data arguments are ignored</span>
|
272
|
+
<span class="comment"> * in this example. More on callbacks below.</span>
|
273
|
+
<span class="comment"> */</span>
|
274
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
275
|
+
<span class="function">print_hello</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
|
276
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
277
|
+
<span class="cbracket">{</span>
|
278
|
+
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Hello World</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
279
|
+
<span class="cbracket">}</span>
|
280
|
+
|
281
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
282
|
+
<span class="function">on_delete_event</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
|
283
|
+
<span class="normal"> </span><span class="usertype">GdkEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
|
284
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
285
|
+
<span class="cbracket">{</span>
|
286
|
+
<span class="normal"> </span><span class="comment">/* If you return FALSE in the "delete_event" signal handler,</span>
|
287
|
+
<span class="comment"> * GTK will emit the "destroy" signal. Returning TRUE means</span>
|
288
|
+
<span class="comment"> * you don't want the window to be destroyed.</span>
|
289
|
+
<span class="comment"> *</span>
|
290
|
+
<span class="comment"> * This is useful for popping up 'are you sure you want to quit?'</span>
|
291
|
+
<span class="comment"> * type dialogs.</span>
|
292
|
+
<span class="comment"> */</span>
|
293
|
+
|
294
|
+
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"delete event occurred</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
295
|
+
|
296
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
297
|
+
<span class="cbracket">}</span>
|
298
|
+
|
299
|
+
<span class="type">int</span>
|
300
|
+
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span>
|
301
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
302
|
+
<span class="cbracket">{</span>
|
303
|
+
<span class="normal"> </span><span class="comment">/* GtkWidget is the storage type for widgets */</span>
|
304
|
+
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">window</span><span class="symbol">;</span>
|
305
|
+
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button</span><span class="symbol">;</span>
|
306
|
+
|
307
|
+
<span class="normal"> </span><span class="comment">/* This is called in all GTK applications. Arguments are parsed</span>
|
308
|
+
<span class="comment"> * from the command line and are returned to the application.</span>
|
309
|
+
<span class="comment"> */</span>
|
310
|
+
<span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-init">gtk_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">);</span>
|
311
|
+
|
312
|
+
<span class="normal"> </span><span class="comment">/* create a new window, and set its title */</span>
|
313
|
+
<span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
|
314
|
+
<span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-set-title">gtk_window_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"Hello"</span><span class="symbol">);</span>
|
315
|
+
|
316
|
+
<span class="normal"> </span><span class="comment">/* When the window emits the "delete-event" signal (which is emitted</span>
|
317
|
+
<span class="comment"> * by GTK+ in response to an event coming from the window manager,</span>
|
318
|
+
<span class="comment"> * usually as a result of clicking the "close" window control), we</span>
|
319
|
+
<span class="comment"> * ask it to call the on_delete_event() function as defined above.</span>
|
320
|
+
<span class="comment"> *</span>
|
321
|
+
<span class="comment"> * The data passed to the callback function is NULL and is ignored</span>
|
322
|
+
<span class="comment"> * in the callback function.</span>
|
323
|
+
<span class="comment"> */</span>
|
324
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"delete-event"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_delete_event</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
325
|
+
|
326
|
+
<span class="normal"> </span><span class="comment">/* Here we connect the "destroy" event to the gtk_main_quit() function.</span>
|
327
|
+
<span class="comment"> *</span>
|
328
|
+
<span class="comment"> * This signal is emitted when we call gtk_widget_destroy() on the window,</span>
|
329
|
+
<span class="comment"> * or if we return FALSE in the "delete_event" callback.</span>
|
330
|
+
<span class="comment"> */</span>
|
331
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-General.html#gtk-main-quit">gtk_main_quit</a></span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
332
|
+
|
333
|
+
<span class="normal"> </span><span class="comment">/* Sets the border width of the window. */</span>
|
334
|
+
<span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-set-border-width">gtk_container_set_border_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="number">10</span><span class="symbol">);</span>
|
335
|
+
|
336
|
+
<span class="normal"> </span><span class="comment">/* Creates a new button with the label "Hello World". */</span>
|
337
|
+
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkButton.html#gtk-button-new-with-label">gtk_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Hello World"</span><span class="symbol">);</span>
|
338
|
+
|
339
|
+
<span class="normal"> </span><span class="comment">/* When the button receives the "clicked" signal, it will call the</span>
|
340
|
+
<span class="comment"> * function print_hello() passing it NULL as its argument.</span>
|
341
|
+
<span class="comment"> *</span>
|
342
|
+
<span class="comment"> * The print_hello() function is defined above.</span>
|
343
|
+
<span class="comment"> */</span>
|
344
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print_hello</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
345
|
+
|
346
|
+
<span class="normal"> </span><span class="comment">/* The g_signal_connect_swapped() function will connect the "clicked" signal</span>
|
347
|
+
<span class="comment"> * of the button to the gtk_widget_destroy() function; instead of calling it</span>
|
348
|
+
<span class="comment"> * using the button as its argument, it will swap it with the user data</span>
|
349
|
+
<span class="comment"> * argument. This will cause the window to be destroyed by calling</span>
|
350
|
+
<span class="comment"> * gtk_widget_destroy() on the window.</span>
|
351
|
+
<span class="comment"> */</span>
|
352
|
+
<span class="normal"> </span><span class="function">g_signal_connect_swapped</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="symbol">),</span><span class="normal"> window</span><span class="symbol">);</span>
|
353
|
+
|
354
|
+
<span class="normal"> </span><span class="comment">/* This packs the button into the window. A GtkWindow inherits from GtkBin,</span>
|
355
|
+
<span class="comment"> * which is a special container that can only have one child</span>
|
356
|
+
<span class="comment"> */</span>
|
357
|
+
<span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> button</span><span class="symbol">);</span>
|
358
|
+
|
359
|
+
<span class="normal"> </span><span class="comment">/* The final step is to display this newly created widget... */</span>
|
360
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">);</span>
|
361
|
+
|
362
|
+
<span class="normal"> </span><span class="comment">/* ... and the window */</span>
|
363
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
|
364
|
+
|
365
|
+
<span class="normal"> </span><span class="comment">/* All GTK applications must have a gtk_main(). Control ends here</span>
|
366
|
+
<span class="comment"> * and waits for an event to occur (like a key press or a mouse event),</span>
|
367
|
+
<span class="comment"> * until gtk_main_quit() is called.</span>
|
368
|
+
<span class="comment"> */</span>
|
369
|
+
<span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
370
|
+
|
371
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
372
|
+
<span class="cbracket">}</span></pre></td>
|
373
|
+
</tr>
|
374
|
+
</tbody>
|
375
|
+
</table>
|
376
|
+
</div>
|
377
|
+
|
378
|
+
</div>
|
379
|
+
<br class="example-break">
|
380
|
+
</div>
|
381
|
+
<div class="simplesect">
|
382
|
+
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
383
|
+
<a name="idm140520420449072"></a>Packing</h2></div></div></div>
|
384
|
+
<p>When creating an application, you'll want to put more than one widget
|
385
|
+
inside a window. Our first helloworld example only used one widget so we
|
386
|
+
could simply use a <a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a> call to "pack" the widget into the
|
387
|
+
window. But when you want to put more than one widget into a window, it
|
388
|
+
it becomes important to control how each widget is positioned and sized.
|
389
|
+
This is where packing comes in.</p>
|
390
|
+
<p>GTK+ comes with a large variety of <em class="firstterm">layout containers</em>
|
391
|
+
whose purpose it is to control the layout of the child widgets that are
|
392
|
+
added to them. See <a class="xref" href="LayoutContainers.html" title="Layout Containers"><i>Layout Containers</i></a> for an overview.</p>
|
393
|
+
<p>The following example shows how the GtkGrid container lets you
|
394
|
+
arrange several buttons:</p>
|
395
|
+
<p>
|
396
|
+
<img src="grid-packing.png">
|
397
|
+
</p>
|
398
|
+
<div class="example">
|
399
|
+
<a name="gtk-getting-started-grid-packing"></a><p class="title"><b>Example 2. Packing buttons</b></p>
|
400
|
+
<div class="example-contents">
|
401
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
402
|
+
<tbody>
|
403
|
+
<tr>
|
404
|
+
<td class="listing_lines" align="right"><pre>1
|
405
|
+
2
|
406
|
+
3
|
407
|
+
4
|
408
|
+
5
|
409
|
+
6
|
410
|
+
7
|
411
|
+
8
|
412
|
+
9
|
413
|
+
10
|
414
|
+
11
|
415
|
+
12
|
416
|
+
13
|
417
|
+
14
|
418
|
+
15
|
419
|
+
16
|
420
|
+
17
|
421
|
+
18
|
422
|
+
19
|
423
|
+
20
|
424
|
+
21
|
425
|
+
22
|
426
|
+
23
|
427
|
+
24
|
428
|
+
25
|
429
|
+
26
|
430
|
+
27
|
431
|
+
28
|
432
|
+
29
|
433
|
+
30
|
434
|
+
31
|
435
|
+
32
|
436
|
+
33
|
437
|
+
34
|
438
|
+
35
|
439
|
+
36
|
440
|
+
37
|
441
|
+
38
|
442
|
+
39
|
443
|
+
40
|
444
|
+
41
|
445
|
+
42
|
446
|
+
43
|
447
|
+
44
|
448
|
+
45
|
449
|
+
46
|
450
|
+
47
|
451
|
+
48
|
452
|
+
49
|
453
|
+
50
|
454
|
+
51
|
455
|
+
52
|
456
|
+
53
|
457
|
+
54
|
458
|
+
55
|
459
|
+
56
|
460
|
+
57
|
461
|
+
58
|
462
|
+
59
|
463
|
+
60
|
464
|
+
61
|
465
|
+
62
|
466
|
+
63
|
467
|
+
64
|
468
|
+
65
|
469
|
+
66
|
470
|
+
67
|
471
|
+
68
|
472
|
+
69
|
473
|
+
70
|
474
|
+
71
|
475
|
+
72
|
476
|
+
73</pre></td>
|
477
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gtk/gtk.h></span>
|
478
|
+
|
479
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
480
|
+
<span class="function">print_hello</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
|
481
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
482
|
+
<span class="cbracket">{</span>
|
483
|
+
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Hello World</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
484
|
+
<span class="cbracket">}</span>
|
485
|
+
|
486
|
+
<span class="type">int</span>
|
487
|
+
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span>
|
488
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
489
|
+
<span class="cbracket">{</span>
|
490
|
+
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">window</span><span class="symbol">;</span>
|
491
|
+
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">grid</span><span class="symbol">;</span>
|
492
|
+
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button</span><span class="symbol">;</span>
|
493
|
+
|
494
|
+
<span class="normal"> </span><span class="comment">/* This is called in all GTK applications. Arguments are parsed</span>
|
495
|
+
<span class="comment"> * from the command line and are returned to the application.</span>
|
496
|
+
<span class="comment"> */</span>
|
497
|
+
<span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-init">gtk_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">);</span>
|
498
|
+
|
499
|
+
<span class="normal"> </span><span class="comment">/* create a new window, and set its title */</span>
|
500
|
+
<span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
|
501
|
+
<span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-set-title">gtk_window_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"Grid"</span><span class="symbol">);</span>
|
502
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-General.html#gtk-main-quit">gtk_main_quit</a></span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
503
|
+
<span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-set-border-width">gtk_container_set_border_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="number">10</span><span class="symbol">);</span>
|
504
|
+
|
505
|
+
<span class="normal"> </span><span class="comment">/* Here we construct the container that is going pack our buttons */</span>
|
506
|
+
<span class="normal"> grid </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-new">gtk_grid_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
507
|
+
|
508
|
+
<span class="normal"> </span><span class="comment">/* Pack the container in the window */</span>
|
509
|
+
<span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> grid</span><span class="symbol">);</span>
|
510
|
+
|
511
|
+
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkButton.html#gtk-button-new-with-label">gtk_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Button 1"</span><span class="symbol">);</span>
|
512
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print_hello</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
513
|
+
|
514
|
+
<span class="normal"> </span><span class="comment">/* Place the first button in the grid cell (0, 0), and make it fill</span>
|
515
|
+
<span class="comment"> * just 1 cell horizontally and vertically (ie no spanning)</span>
|
516
|
+
<span class="comment"> */</span>
|
517
|
+
<span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-attach">gtk_grid_attach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_GRID</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">grid</span><span class="symbol">),</span><span class="normal"> button</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
518
|
+
|
519
|
+
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkButton.html#gtk-button-new-with-label">gtk_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Button 2"</span><span class="symbol">);</span>
|
520
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print_hello</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
521
|
+
|
522
|
+
<span class="normal"> </span><span class="comment">/* Place the second button in the grid cell (1, 0), and make it fill</span>
|
523
|
+
<span class="comment"> * just 1 cell horizontally and vertically (ie no spanning)</span>
|
524
|
+
<span class="comment"> */</span>
|
525
|
+
<span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-attach">gtk_grid_attach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_GRID</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">grid</span><span class="symbol">),</span><span class="normal"> button</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
526
|
+
|
527
|
+
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkButton.html#gtk-button-new-with-label">gtk_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Quit"</span><span class="symbol">);</span>
|
528
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-General.html#gtk-main-quit">gtk_main_quit</a></span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
529
|
+
|
530
|
+
<span class="normal"> </span><span class="comment">/* Place the Quit button in the grid cell (0, 1), and make it</span>
|
531
|
+
<span class="comment"> * span 2 columns.</span>
|
532
|
+
<span class="comment"> */</span>
|
533
|
+
<span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-attach">gtk_grid_attach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_GRID</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">grid</span><span class="symbol">),</span><span class="normal"> button</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
534
|
+
|
535
|
+
<span class="normal"> </span><span class="comment">/* Now that we are done packing our widgets, we show them all</span>
|
536
|
+
<span class="comment"> * in one go, by calling gtk_widget_show_all() on the window.</span>
|
537
|
+
<span class="comment"> * This call recursively calls gtk_widget_show() on all widgets</span>
|
538
|
+
<span class="comment"> * that are contained in the window, directly or indirectly.</span>
|
539
|
+
<span class="comment"> */</span>
|
540
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show-all">gtk_widget_show_all</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
|
541
|
+
|
542
|
+
<span class="normal"> </span><span class="comment">/* All GTK applications must have a gtk_main(). Control ends here</span>
|
543
|
+
<span class="comment"> * and waits for an event to occur (like a key press or a mouse event),</span>
|
544
|
+
<span class="comment"> * until gtk_main_quit() is called.</span>
|
545
|
+
<span class="comment"> */</span>
|
546
|
+
<span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
547
|
+
|
548
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
549
|
+
<span class="cbracket">}</span></pre></td>
|
550
|
+
</tr>
|
551
|
+
</tbody>
|
552
|
+
</table>
|
553
|
+
</div>
|
554
|
+
|
555
|
+
</div>
|
556
|
+
<br class="example-break">
|
557
|
+
</div>
|
558
|
+
<div class="simplesect">
|
559
|
+
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
560
|
+
<a name="idm140520417717488"></a>Drawing</h2></div></div></div>
|
561
|
+
<p>Many widgets, like buttons, do all their drawing themselves. You
|
562
|
+
just tell them the label you want to see, and they figure out what font
|
563
|
+
to use, draw the button outline and focus rectangle, etc. Sometimes, it
|
564
|
+
is necessary to do some custom drawing. In that case, a <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a>
|
565
|
+
might be the right widget to use. It offers a canvas on which you can
|
566
|
+
draw by connecting to the <a class="link" href="GtkWidget.html#GtkWidget-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal.
|
567
|
+
</p>
|
568
|
+
<p>The contents of a widget often need to be partially or fully redrawn,
|
569
|
+
e.g. when another window is moved and uncovers part of the widget, or
|
570
|
+
when tie window containing it is resized. It is also possible to explicitly
|
571
|
+
cause part or all of the widget to be redrawn, by calling
|
572
|
+
<a class="link" href="GtkWidget.html#gtk-widget-queue-draw" title="gtk_widget_queue_draw ()"><code class="function">gtk_widget_queue_draw()</code></a> or its variants. GTK+ takes care of most of the
|
573
|
+
details by providing a ready-to-use cairo context to the ::draw signal
|
574
|
+
handler.</p>
|
575
|
+
<p>The following example shows a ::draw signal handler. It is a bit
|
576
|
+
more complicated than the previous examples, since it also demonstrates
|
577
|
+
input event handling by means of ::button-press and ::motion-notify
|
578
|
+
handlers.</p>
|
579
|
+
<p>
|
580
|
+
<img src="drawing.png">
|
581
|
+
</p>
|
582
|
+
<div class="example">
|
583
|
+
<a name="gtk-getting-started-drawing"></a><p class="title"><b>Example 3. Drawing in response to input</b></p>
|
584
|
+
<div class="example-contents">
|
585
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
586
|
+
<tbody>
|
587
|
+
<tr>
|
588
|
+
<td class="listing_lines" align="right"><pre>1
|
589
|
+
2
|
590
|
+
3
|
591
|
+
4
|
592
|
+
5
|
593
|
+
6
|
594
|
+
7
|
595
|
+
8
|
596
|
+
9
|
597
|
+
10
|
598
|
+
11
|
599
|
+
12
|
600
|
+
13
|
601
|
+
14
|
602
|
+
15
|
603
|
+
16
|
604
|
+
17
|
605
|
+
18
|
606
|
+
19
|
607
|
+
20
|
608
|
+
21
|
609
|
+
22
|
610
|
+
23
|
611
|
+
24
|
612
|
+
25
|
613
|
+
26
|
614
|
+
27
|
615
|
+
28
|
616
|
+
29
|
617
|
+
30
|
618
|
+
31
|
619
|
+
32
|
620
|
+
33
|
621
|
+
34
|
622
|
+
35
|
623
|
+
36
|
624
|
+
37
|
625
|
+
38
|
626
|
+
39
|
627
|
+
40
|
628
|
+
41
|
629
|
+
42
|
630
|
+
43
|
631
|
+
44
|
632
|
+
45
|
633
|
+
46
|
634
|
+
47
|
635
|
+
48
|
636
|
+
49
|
637
|
+
50
|
638
|
+
51
|
639
|
+
52
|
640
|
+
53
|
641
|
+
54
|
642
|
+
55
|
643
|
+
56
|
644
|
+
57
|
645
|
+
58
|
646
|
+
59
|
647
|
+
60
|
648
|
+
61
|
649
|
+
62
|
650
|
+
63
|
651
|
+
64
|
652
|
+
65
|
653
|
+
66
|
654
|
+
67
|
655
|
+
68
|
656
|
+
69
|
657
|
+
70
|
658
|
+
71
|
659
|
+
72
|
660
|
+
73
|
661
|
+
74
|
662
|
+
75
|
663
|
+
76
|
664
|
+
77
|
665
|
+
78
|
666
|
+
79
|
667
|
+
80
|
668
|
+
81
|
669
|
+
82
|
670
|
+
83
|
671
|
+
84
|
672
|
+
85
|
673
|
+
86
|
674
|
+
87
|
675
|
+
88
|
676
|
+
89
|
677
|
+
90
|
678
|
+
91
|
679
|
+
92
|
680
|
+
93
|
681
|
+
94
|
682
|
+
95
|
683
|
+
96
|
684
|
+
97
|
685
|
+
98
|
686
|
+
99
|
687
|
+
100
|
688
|
+
101
|
689
|
+
102
|
690
|
+
103
|
691
|
+
104
|
692
|
+
105
|
693
|
+
106
|
694
|
+
107
|
695
|
+
108
|
696
|
+
109
|
697
|
+
110
|
698
|
+
111
|
699
|
+
112
|
700
|
+
113
|
701
|
+
114
|
702
|
+
115
|
703
|
+
116
|
704
|
+
117
|
705
|
+
118
|
706
|
+
119
|
707
|
+
120
|
708
|
+
121
|
709
|
+
122
|
710
|
+
123
|
711
|
+
124
|
712
|
+
125
|
713
|
+
126
|
714
|
+
127
|
715
|
+
128
|
716
|
+
129
|
717
|
+
130
|
718
|
+
131
|
719
|
+
132
|
720
|
+
133
|
721
|
+
134
|
722
|
+
135
|
723
|
+
136
|
724
|
+
137
|
725
|
+
138
|
726
|
+
139
|
727
|
+
140
|
728
|
+
141
|
729
|
+
142
|
730
|
+
143
|
731
|
+
144
|
732
|
+
145
|
733
|
+
146
|
734
|
+
147
|
735
|
+
148
|
736
|
+
149
|
737
|
+
150
|
738
|
+
151
|
739
|
+
152
|
740
|
+
153
|
741
|
+
154
|
742
|
+
155
|
743
|
+
156
|
744
|
+
157
|
745
|
+
158
|
746
|
+
159
|
747
|
+
160
|
748
|
+
161
|
749
|
+
162
|
750
|
+
163
|
751
|
+
164
|
752
|
+
165
|
753
|
+
166
|
754
|
+
167
|
755
|
+
168
|
756
|
+
169
|
757
|
+
170
|
758
|
+
171
|
759
|
+
172
|
760
|
+
173
|
761
|
+
174
|
762
|
+
175
|
763
|
+
176
|
764
|
+
177
|
765
|
+
178
|
766
|
+
179
|
767
|
+
180
|
768
|
+
181
|
769
|
+
182
|
770
|
+
183
|
771
|
+
184</pre></td>
|
772
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gtk/gtk.h></span>
|
773
|
+
|
774
|
+
<span class="comment">/* Surface to store current scribbles */</span>
|
775
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">cairo_surface_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">surface </span><span class="symbol">=</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">;</span>
|
776
|
+
|
777
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
778
|
+
<span class="function">clear_surface</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
779
|
+
<span class="cbracket">{</span>
|
780
|
+
<span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">;</span>
|
781
|
+
|
782
|
+
<span class="normal"> cr </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-create">cairo_create</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">);</span>
|
783
|
+
|
784
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source-rgb">cairo_set_source_rgb</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
785
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-paint">cairo_paint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
786
|
+
|
787
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-destroy">cairo_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
788
|
+
<span class="cbracket">}</span>
|
789
|
+
|
790
|
+
<span class="comment">/* Create a new surface of the appropriate size to store our scribbles */</span>
|
791
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
792
|
+
<span class="function">configure_event_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
|
793
|
+
<span class="normal"> </span><span class="usertype">GdkEventConfigure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
|
794
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
795
|
+
<span class="cbracket">{</span>
|
796
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">)</span>
|
797
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-destroy">cairo_surface_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">);</span>
|
798
|
+
|
799
|
+
<span class="normal"> surface </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../gdk3/gdk3-Cairo-Interaction.html#gdk-window-create-similar-surface">gdk_window_create_similar_surface</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkWidget.html#gtk-widget-get-window">gtk_widget_get_window</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">),</span>
|
800
|
+
<span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#CAIRO-CONTENT-COLOR:CAPS">CAIRO_CONTENT_COLOR</a></span><span class="symbol">,</span>
|
801
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-get-allocated-width">gtk_widget_get_allocated_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">),</span>
|
802
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-get-allocated-height">gtk_widget_get_allocated_height</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">));</span>
|
803
|
+
|
804
|
+
<span class="normal"> </span><span class="comment">/* Initialize the surface to white */</span>
|
805
|
+
<span class="normal"> </span><span class="function">clear_surface</span><span class="normal"> </span><span class="symbol">();</span>
|
806
|
+
|
807
|
+
<span class="normal"> </span><span class="comment">/* We've handled the configure event, no need for further processing. */</span>
|
808
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
809
|
+
<span class="cbracket">}</span>
|
810
|
+
|
811
|
+
<span class="comment">/* Redraw the screen from the surface. Note that the ::draw</span>
|
812
|
+
<span class="comment"> * signal receives a ready-to-be-used cairo_t that is already</span>
|
813
|
+
<span class="comment"> * clipped to only draw the exposed areas of the widget</span>
|
814
|
+
<span class="comment"> */</span>
|
815
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
816
|
+
<span class="function">draw_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
|
817
|
+
<span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">,</span>
|
818
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
819
|
+
<span class="cbracket">{</span>
|
820
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source-surface">cairo_set_source_surface</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> surface</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
821
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-paint">cairo_paint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
822
|
+
|
823
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
824
|
+
<span class="cbracket">}</span>
|
825
|
+
|
826
|
+
<span class="comment">/* Draw a rectangle on the surface at the given position */</span>
|
827
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
828
|
+
<span class="function">draw_brush</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
|
829
|
+
<span class="normal"> </span><span class="usertype">gdouble</span><span class="normal"> x</span><span class="symbol">,</span>
|
830
|
+
<span class="normal"> </span><span class="usertype">gdouble</span><span class="normal"> y</span><span class="symbol">)</span>
|
831
|
+
<span class="cbracket">{</span>
|
832
|
+
<span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">;</span>
|
833
|
+
|
834
|
+
<span class="normal"> </span><span class="comment">/* Paint to the surface, where we store our state */</span>
|
835
|
+
<span class="normal"> cr </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-create">cairo_create</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">);</span>
|
836
|
+
|
837
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-rectangle">cairo_rectangle</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> x </span><span class="symbol">-</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span><span class="normal"> y </span><span class="symbol">-</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">);</span>
|
838
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill">cairo_fill</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
839
|
+
|
840
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-destroy">cairo_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
841
|
+
|
842
|
+
<span class="normal"> </span><span class="comment">/* Now invalidate the affected region of the drawing area. */</span>
|
843
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-queue-draw-area">gtk_widget_queue_draw_area</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> x </span><span class="symbol">-</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span><span class="normal"> y </span><span class="symbol">-</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">);</span>
|
844
|
+
<span class="cbracket">}</span>
|
845
|
+
|
846
|
+
<span class="comment">/* Handle button press events by either drawing a rectangle</span>
|
847
|
+
<span class="comment"> * or clearing the surface, depending on which button was pressed.</span>
|
848
|
+
<span class="comment"> * The ::button-press signal handler receives a GdkEventButton</span>
|
849
|
+
<span class="comment"> * struct which contains this information.</span>
|
850
|
+
<span class="comment"> */</span>
|
851
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
852
|
+
<span class="function">button_press_event_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
|
853
|
+
<span class="normal"> </span><span class="usertype">GdkEventButton</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
|
854
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
855
|
+
<span class="cbracket">{</span>
|
856
|
+
<span class="normal"> </span><span class="comment">/* paranoia check, in case we haven't gotten a configure event */</span>
|
857
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface </span><span class="symbol">==</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">)</span>
|
858
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
859
|
+
|
860
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">button </span><span class="symbol">==</span><span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-BUTTON-PRIMARY:CAPS">GDK_BUTTON_PRIMARY</a></span><span class="symbol">)</span>
|
861
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
862
|
+
<span class="normal"> </span><span class="function">draw_brush</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">y</span><span class="symbol">);</span>
|
863
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
864
|
+
<span class="normal"> </span><span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">button </span><span class="symbol">==</span><span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-BUTTON-SECONDARY:CAPS">GDK_BUTTON_SECONDARY</a></span><span class="symbol">)</span>
|
865
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
866
|
+
<span class="normal"> </span><span class="function">clear_surface</span><span class="normal"> </span><span class="symbol">();</span>
|
867
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-queue-draw">gtk_widget_queue_draw</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">);</span>
|
868
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
869
|
+
|
870
|
+
<span class="normal"> </span><span class="comment">/* We've handled the event, stop processing */</span>
|
871
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
872
|
+
<span class="cbracket">}</span>
|
873
|
+
|
874
|
+
<span class="comment">/* Handle motion events by continuing to draw if button 1 is</span>
|
875
|
+
<span class="comment"> * still held down. The ::motion-notify signal handler receives</span>
|
876
|
+
<span class="comment"> * a GdkEventMotion struct which contains this information.</span>
|
877
|
+
<span class="comment"> */</span>
|
878
|
+
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
879
|
+
<span class="function">motion_notify_event_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
|
880
|
+
<span class="normal"> </span><span class="usertype">GdkEventMotion</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
|
881
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
882
|
+
<span class="cbracket">{</span>
|
883
|
+
<span class="normal"> </span><span class="comment">/* paranoia check, in case we haven't gotten a configure event */</span>
|
884
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface </span><span class="symbol">==</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">)</span>
|
885
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
886
|
+
|
887
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-></span><span class="normal">state </span><span class="symbol">&</span><span class="normal"> <a href="../gdk3/gdk3-Windows.html#GDK-BUTTON1-MASK:CAPS">GDK_BUTTON1_MASK</a></span><span class="symbol">)</span>
|
888
|
+
<span class="normal"> </span><span class="function">draw_brush</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">y</span><span class="symbol">);</span>
|
889
|
+
|
890
|
+
<span class="normal"> </span><span class="comment">/* We've handled it, stop processing */</span>
|
891
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
892
|
+
<span class="cbracket">}</span>
|
893
|
+
|
894
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
895
|
+
<span class="function">close_window</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
896
|
+
<span class="cbracket">{</span>
|
897
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">)</span>
|
898
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-destroy">cairo_surface_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">);</span>
|
899
|
+
|
900
|
+
<span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-main-quit">gtk_main_quit</a></span><span class="normal"> </span><span class="symbol">();</span>
|
901
|
+
<span class="cbracket">}</span>
|
902
|
+
|
903
|
+
<span class="type">int</span>
|
904
|
+
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span>
|
905
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
906
|
+
<span class="cbracket">{</span>
|
907
|
+
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">window</span><span class="symbol">;</span>
|
908
|
+
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">frame</span><span class="symbol">;</span>
|
909
|
+
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">da</span><span class="symbol">;</span>
|
910
|
+
|
911
|
+
<span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-init">gtk_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">);</span>
|
912
|
+
|
913
|
+
<span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
|
914
|
+
<span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-set-title">gtk_window_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"Drawing Area"</span><span class="symbol">);</span>
|
915
|
+
|
916
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">close_window</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
917
|
+
|
918
|
+
<span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-set-border-width">gtk_container_set_border_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="number">8</span><span class="symbol">);</span>
|
919
|
+
|
920
|
+
<span class="normal"> frame </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkFrame.html#gtk-frame-new">gtk_frame_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
921
|
+
<span class="normal"> </span><span class="function"><a href="GtkFrame.html#gtk-frame-set-shadow-type">gtk_frame_set_shadow_type</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_FRAME</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">frame</span><span class="symbol">),</span><span class="normal"> <a href="gtk3-Standard-Enumerations.html#GTK-SHADOW-IN:CAPS">GTK_SHADOW_IN</a></span><span class="symbol">);</span>
|
922
|
+
<span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> frame</span><span class="symbol">);</span>
|
923
|
+
|
924
|
+
<span class="normal"> da </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkDrawingArea.html#gtk-drawing-area-new">gtk_drawing_area_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
925
|
+
<span class="normal"> </span><span class="comment">/* set a minimum size */</span>
|
926
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-set-size-request">gtk_widget_set_size_request</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">);</span>
|
927
|
+
|
928
|
+
<span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">frame</span><span class="symbol">),</span><span class="normal"> da</span><span class="symbol">);</span>
|
929
|
+
|
930
|
+
<span class="normal"> </span><span class="comment">/* Signals used to handle the backing surface */</span>
|
931
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"draw"</span><span class="symbol">,</span>
|
932
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">draw_cb</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
933
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="string">"configure-event"</span><span class="symbol">,</span>
|
934
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">configure_event_cb</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
935
|
+
|
936
|
+
<span class="normal"> </span><span class="comment">/* Event signals */</span>
|
937
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"motion-notify-event"</span><span class="symbol">,</span>
|
938
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">motion_notify_event_cb</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
939
|
+
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"button-press-event"</span><span class="symbol">,</span>
|
940
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button_press_event_cb</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
941
|
+
|
942
|
+
<span class="normal"> </span><span class="comment">/* Ask to receive events the drawing area doesn't normally</span>
|
943
|
+
<span class="comment"> * subscribe to. In particular, we need to ask for the</span>
|
944
|
+
<span class="comment"> * button press and motion notify events that want to handle.</span>
|
945
|
+
<span class="comment"> */</span>
|
946
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-set-events">gtk_widget_set_events</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-get-events">gtk_widget_get_events</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">)</span>
|
947
|
+
<span class="normal"> </span><span class="symbol">|</span><span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-BUTTON-PRESS-MASK:CAPS">GDK_BUTTON_PRESS_MASK</a></span>
|
948
|
+
<span class="normal"> </span><span class="symbol">|</span><span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-POINTER-MOTION-MASK:CAPS">GDK_POINTER_MOTION_MASK</a></span><span class="symbol">);</span>
|
949
|
+
|
950
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show-all">gtk_widget_show_all</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
|
951
|
+
|
952
|
+
<span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
953
|
+
|
954
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
955
|
+
<span class="cbracket">}</span></pre></td>
|
956
|
+
</tr>
|
957
|
+
</tbody>
|
958
|
+
</table>
|
959
|
+
</div>
|
960
|
+
|
961
|
+
</div>
|
962
|
+
<br class="example-break">
|
963
|
+
</div>
|
964
|
+
<div class="simplesect">
|
965
|
+
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
966
|
+
<a name="idm140520419817840"></a>Building interfaces</h2></div></div></div>
|
967
|
+
<p>When construcing a more complicated user interface, with dozens
|
968
|
+
or hundreds of widgets, doing all the setup work in C code is
|
969
|
+
cumbersome, and making changes becomes next to impossible.</p>
|
970
|
+
<p>Thankfully, GTK+ supports the separation of user interface
|
971
|
+
layout from your business logic, by using UI descriptions in an
|
972
|
+
XML format that can be parsed by the <a class="link" href="GtkBuilder.html" title="GtkBuilder"><span class="type">GtkBuilder</span></a> class.</p>
|
973
|
+
<div class="example">
|
974
|
+
<a name="idm140520418989984"></a><p class="title"><b>Example 4. Packing buttons with GtkBuilder</b></p>
|
975
|
+
<div class="example-contents">
|
976
|
+
<pre class="programlisting">
|
977
|
+
#include <gtk/gtk.h>
|
978
|
+
|
979
|
+
static void
|
980
|
+
print_hello (GtkWidget *widget,
|
981
|
+
gpointer data)
|
982
|
+
{
|
983
|
+
g_print ("Hello World\n");
|
984
|
+
}
|
985
|
+
|
986
|
+
int
|
987
|
+
main (int argc,
|
988
|
+
char *argv[])
|
989
|
+
{
|
990
|
+
GtkBuilder *builder;
|
991
|
+
GObject *window;
|
992
|
+
GObject *button;
|
993
|
+
|
994
|
+
gtk_init (&argc, &argv);
|
995
|
+
|
996
|
+
/* Construct a GtkBuilder instance and load our UI description */
|
997
|
+
builder = gtk_builder_new ();
|
998
|
+
gtk_builder_add_from_file (builder, "builder.ui", NULL);
|
999
|
+
|
1000
|
+
/* Connect signal handlers to the constructed widgets. */
|
1001
|
+
window = gtk_builder_get_object (builder, "window");
|
1002
|
+
g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
|
1003
|
+
|
1004
|
+
button = gtk_builder_get_object (builder, "button1");
|
1005
|
+
g_signal_connect (button, "clicked", G_CALLBACK (print_hello), NULL);
|
1006
|
+
|
1007
|
+
button = gtk_builder_get_object (builder, "button2");
|
1008
|
+
g_signal_connect (button, "clicked", G_CALLBACK (print_hello), NULL);
|
1009
|
+
|
1010
|
+
button = gtk_builder_get_object (builder, "quit");
|
1011
|
+
g_signal_connect (button, "clicked", G_CALLBACK (gtk_main_quit), NULL);
|
1012
|
+
|
1013
|
+
gtk_main ();
|
1014
|
+
|
1015
|
+
return 0;
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
</pre>
|
1019
|
+
The builder.ui file looks like this:
|
1020
|
+
<pre class="programlisting">
|
1021
|
+
<interface>
|
1022
|
+
<object id="window" class="GtkWindow">
|
1023
|
+
<property name="visible">True</property>
|
1024
|
+
<property name="title">Grid</property>
|
1025
|
+
<property name="border-width">10</property>
|
1026
|
+
<child>
|
1027
|
+
<object id="grid" class="GtkGrid">
|
1028
|
+
<property name="visible">True</property>
|
1029
|
+
<child>
|
1030
|
+
<object id="button1" class="GtkButton">
|
1031
|
+
<property name="visible">True</property>
|
1032
|
+
<property name="label">Button 1</property>
|
1033
|
+
</object>
|
1034
|
+
<packing>
|
1035
|
+
<property name="left-attach">0</property>
|
1036
|
+
<property name="top-attach">0</property>
|
1037
|
+
</packing>
|
1038
|
+
</child>
|
1039
|
+
<child>
|
1040
|
+
<object id="button2" class="GtkButton">
|
1041
|
+
<property name="visible">True</property>
|
1042
|
+
<property name="label">Button 2</property>
|
1043
|
+
</object>
|
1044
|
+
<packing>
|
1045
|
+
<property name="left-attach">1</property>
|
1046
|
+
<property name="top-attach">0</property>
|
1047
|
+
</packing>
|
1048
|
+
</child>
|
1049
|
+
<child>
|
1050
|
+
<object id="quit" class="GtkButton">
|
1051
|
+
<property name="visible">True</property>
|
1052
|
+
<property name="label">Quit</property>
|
1053
|
+
</object>
|
1054
|
+
<packing>
|
1055
|
+
<property name="left-attach">0</property>
|
1056
|
+
<property name="top-attach">1</property>
|
1057
|
+
<property name="width">2</property>
|
1058
|
+
</packing>
|
1059
|
+
</child>
|
1060
|
+
</object>
|
1061
|
+
<packing>
|
1062
|
+
</packing>
|
1063
|
+
</child>
|
1064
|
+
</object>
|
1065
|
+
</interface>
|
1066
|
+
|
1067
|
+
</pre>
|
1068
|
+
</div>
|
1069
|
+
</div>
|
1070
|
+
<br class="example-break"><p>Note that GtkBuilder can also be used to construct objects
|
1071
|
+
that are not widgets, such as tree models, adjustments, etc.
|
1072
|
+
That is the reason the method we use here is called
|
1073
|
+
<a class="link" href="GtkBuilder.html#gtk-builder-get-object" title="gtk_builder_get_object ()"><code class="function">gtk_builder_get_object()</code></a> and returns a GObject* instead of a
|
1074
|
+
GtkWidget*.</p>
|
1075
|
+
<p>Normally, you would pass a full path to
|
1076
|
+
<a class="link" href="GtkBuilder.html#gtk-builder-add-from-file" title="gtk_builder_add_from_file ()"><code class="function">gtk_builder_add_from_file()</code></a> to make the execution of your program
|
1077
|
+
independent of the current directory. A common location to install
|
1078
|
+
UI descriptions and similar data is
|
1079
|
+
<code class="filename">/usr/share/<em class="replaceable"><code>appname</code></em></code>.
|
1080
|
+
</p>
|
1081
|
+
<p>It is also possible to embed the UI description in the source
|
1082
|
+
code as a string and use <a class="link" href="GtkBuilder.html#gtk-builder-add-from-string" title="gtk_builder_add_from_string ()"><code class="function">gtk_builder_add_from_string()</code></a> to load it.
|
1083
|
+
But keeping the UI description in a separate file has several
|
1084
|
+
advantages: It is then possible to make minor adjustments to the UI
|
1085
|
+
without recompiling your program, and, more importantly, graphical
|
1086
|
+
UI editors such as <a class="ulink" href="http://glade.gnome.org" target="_top">glade</a>
|
1087
|
+
can load the file and allow you to create and modify your UI by
|
1088
|
+
point-and-click.</p>
|
1089
|
+
</div>
|
1090
|
+
</div>
|
1091
|
+
<div class="footer">
|
1092
|
+
<hr>
|
1093
|
+
Generated by GTK-Doc V1.18.1</div>
|
1094
|
+
</body>
|
1095
|
+
</html>
|