gtk2 2.0.0-x86-mingw32 → 2.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/2.0/gtk2.so +0 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkcolor.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkcursor.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplaymanager.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkevents.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkgc.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkimage.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkkeys.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkpango.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkpixbuf.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkregion.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkrgb.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkscreen.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkselection.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdktestutils.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdktypes.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkvisual.h +3 -3
- data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkaccelgroup.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkaccellabel.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkaccelmap.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkaccessible.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkaction.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkactiongroup.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkactivatable.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkadjustment.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkalignment.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkarrow.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkaspectframe.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkassistant.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkbbox.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkbin.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkbindings.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkbox.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkbuildable.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkbuilder.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkbutton.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkcalendar.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkcelleditable.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcelllayout.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderer.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendereraccel.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderercombo.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererprogress.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererspin.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererspinner.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderertext.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderertoggle.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcellview.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcheckbutton.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkcheckmenuitem.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkclipboard.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorbutton.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorsel.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorseldialog.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkcontainer.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkdebug.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkdialog.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkdnd.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkdrawingarea.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkeditable.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkentry.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkentrybuffer.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkentrycompletion.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkenums.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkeventbox.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkexpander.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooser.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserdialog.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserwidget.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkfilefilter.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkfixed.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkfontbutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkfontsel.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkframe.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkgc.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkhandlebox.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkhbbox.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkhbox.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkhpaned.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkhscale.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkhscrollbar.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkhseparator.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkhsv.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkiconfactory.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkicontheme.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkiconview.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkimage.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkimagemenuitem.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkimcontext.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkimcontextsimple.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkimmulticontext.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkinfobar.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkinvisible.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkitem.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtklabel.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtklayout.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkliststore.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkmenu.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkmenubar.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkmenuitem.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkmenushell.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkmessagedialog.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkmisc.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkmodules.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkmountoperation.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkobject.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkoffscreenwindow.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkorientable.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkpagesetup.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkpaned.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkpapersize.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkplug.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkprintcontext.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkprintoperation.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkprintoperationpreview.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkprintsettings.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkprogressbar.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkradioaction.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkradiobutton.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkradiomenuitem.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkradiotoolbutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkrc.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentaction.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooser.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooserdialog.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchoosermenu.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooserwidget.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentfilter.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentmanager.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkscale.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkscalebutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkscrollbar.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkscrolledwindow.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkselection.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkseparator.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkseparatormenuitem.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkseparatortoolitem.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtksettings.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkshow.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtksizegroup.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtksocket.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkspinbutton.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkspinner.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkstatusbar.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkstatusicon.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkstock.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkstyle.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtktable.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtktearoffmenuitem.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtktestutils.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktextbuffer.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktextbufferrichtext.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktextchild.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktextiter.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktextmark.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktexttag.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtktexttagtable.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktextview.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktoggleaction.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktogglebutton.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtktoggletoolbutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktoolbar.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtktoolbutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktoolitem.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktoolitemgroup.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktoolpalette.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktoolshell.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtktooltip.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktreednd.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktreemodel.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktreemodelfilter.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktreemodelsort.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktreeselection.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktreesortable.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtktreestore.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktreeview.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktreeviewcolumn.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkuimanager.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkvbbox.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkvbox.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkviewport.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkvolumebutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkvpaned.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkvscale.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkvscrollbar.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkvseparator.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +4 -4
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-am-et.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-am-et.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-am-et.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-cedilla.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-cedilla.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-cedilla.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ime.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ime.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ime.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ipa.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ipa.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ipa.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-multipress.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-multipress.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-multipress.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-thai.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-thai.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-thai.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ti-er.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ti-er.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ti-er.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ti-et.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ti-et.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-ti-et.la +1 -1
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-viqr.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-viqr.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules/im-viqr.la +1 -1
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.la +1 -1
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgailutil.la +1 -1
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.la +2 -2
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.la +2 -2
- data/vendor/local/lib/pkgconfig/gail.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +112 -112
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +34 -34
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +97 -97
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +171 -169
- data/vendor/local/share/gtk-doc/html/gdk2/annotation-glossary.html +32 -33
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-full.html +3 -3
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +17 -17
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +69 -69
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cairo-Interaction.html +37 -37
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +90 -90
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +27 -27
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +48 -48
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +269 -269
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Event-Structures.html +107 -107
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Events.html +67 -68
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +126 -126
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +127 -127
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +87 -87
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +55 -55
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +59 -59
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +26 -26
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +101 -101
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +114 -114
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pixbufs.html +42 -42
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Points-Rectangles-and-Regions.html +50 -50
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +131 -131
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +40 -40
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +21 -21
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +106 -106
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +60 -60
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +482 -482
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +77 -77
- data/vendor/local/share/gtk-doc/html/gdk2/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gdk2/index.sgml +4 -3
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +13 -13
- data/vendor/local/share/gtk-doc/html/gdk2/reference.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/AbstractObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/Actions.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/Builder.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/ButtonWidgets.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/DeprecatedObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/DisplayWidgets.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +145 -145
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +158 -146
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +125 -119
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +29 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +90 -85
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +74 -74
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +131 -131
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +85 -79
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +391 -302
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +332 -215
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +105 -102
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +110 -107
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +35 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +27 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererPixbuf.html +29 -28
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererProgress.html +23 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpin.html +11 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpinner.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +112 -104
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +34 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +56 -56
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +143 -125
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +13 -13
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +99 -99
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +87 -83
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +65 -65
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +336 -317
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +125 -115
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +63 -63
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +243 -234
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +73 -65
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHPaned.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHRuler.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSV.html +51 -51
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScrollbar.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSeparator.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHandleBox.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +71 -71
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +118 -125
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +239 -226
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +117 -116
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +34 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +45 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +110 -110
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +237 -222
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +36 -36
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +72 -72
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +112 -112
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +70 -70
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +88 -45
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +27 -24
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +56 -52
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +249 -238
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +121 -121
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +53 -53
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +79 -79
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +80 -69
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +99 -71
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +48 -48
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +62 -62
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +43 -43
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +343 -213
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +102 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +49 -49
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +71 -65
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +33 -32
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +115 -114
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +117 -117
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +153 -153
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +50 -49
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +28 -26
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparator.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorMenuItem.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorToolItem.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +259 -236
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +18 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +19 -17
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +163 -100
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +192 -184
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +40 -40
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +478 -478
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +96 -96
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +328 -272
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +341 -329
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +33 -33
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +166 -159
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +367 -290
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +30 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +31 -30
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +66 -65
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +78 -77
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +57 -57
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +44 -44
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +153 -133
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +58 -40
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +167 -165
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +51 -51
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +21 -21
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +46 -46
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +79 -79
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +500 -490
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +178 -178
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +83 -76
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVPaned.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVRuler.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScale.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +1061 -929
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +324 -324
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindowGroup.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/LayoutContainers.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/MenusAndCombos.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/MiscObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/NumericEntry.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/Ornaments.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/PlugSocket.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/Printing.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/RecentDocuments.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/ScrollingWidgets.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/SelectorWidgets.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/SpecialObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidget.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidgetObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidget.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidgetObjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/WindowWidgets.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/annotation-glossary.html +27 -36
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-4.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-deprecated.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-full.html +11 -7
- data/vendor/local/share/gtk-doc/html/gtk2/ch01.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk2/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/chap-drawing-model.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/checklist-gdkeventexpose-region.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/checklist-modifiers.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/checklist-named-icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/decorating-the-assistant-pages.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/glossary.html +71 -48
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-builder-convert.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-building.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-1-2.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-2-0.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-compiling.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-directfb.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-ClientSideWindows.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAboutDialog.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAssistant.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkBuilder.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkColorButton.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkComboBox.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkFileChooser.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkIconView.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkLinkButton.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkRecentChooser.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-checklist.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-entry-icons.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-label-links.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-tooltips.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-osx.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-query-immodules-2.0.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-question-index.html +108 -108
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-resources.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-running.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-update-icon-cache.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-windows.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-x11.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +59 -59
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +130 -129
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +91 -91
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +184 -184
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +27 -27
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +295 -241
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +108 -105
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +288 -80
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +162 -162
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +146 -108
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Standard-Enumerations.html +603 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +29 -29
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +141 -98
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +41 -41
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2.devhelp2 +261 -27
- data/vendor/local/share/gtk-doc/html/gtk2/gtkbase.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-installing-extra-widgets.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-installing-preview.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-new-features.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-selection-modes.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtkobjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-advanced.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-chooser.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/index.sgml +236 -1
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-GtkCombo.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-gnomeuiinfo.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/migrating.html +4 -4
- data/vendor/local/share/gtk-doc/html/gtk2/new-features-GtkComboBox.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/pt05.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk2/setting-the-page-flow.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtk2/ui-manager.html +3 -3
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
- metadata +14 -14
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Migrating from GnomeHRef to GtkLinkButton</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
|
9
9
|
<link rel="prev" href="gtkrecent-advanced.html" title="Advanced usage">
|
10
10
|
<link rel="next" href="gtk-migrating-GtkBuilder.html" title="Migrating from libglade to GtkBuilder">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -88,8 +88,8 @@
|
|
88
88
|
<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>
|
89
89
|
|
90
90
|
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLinkButton.html#gtk-link-button-new">gtk_link_button_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">url</span><span class="symbol">);</span>
|
91
|
-
<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>
|
92
|
-
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">link_button_clicked_cb</span><span class="symbol">),</span><span class="normal"> <a href="/
|
91
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></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>
|
92
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">link_button_clicked_cb</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
93
93
|
</tr>
|
94
94
|
</tbody>
|
95
95
|
</table>
|
@@ -133,7 +133,7 @@
|
|
133
133
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLinkButton.html#gtk-link-button-new">gtk_link_button_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">uri1</span><span class="symbol">);</span>
|
134
134
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLinkButton.html#gtk-link-button-new">gtk_link_button_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">uri2</span><span class="symbol">);</span>
|
135
135
|
|
136
|
-
<span class="normal"> </span><span class="function"><a href="GtkLinkButton.html#gtk-link-button-set-uri-hook">gtk_link_button_set_uri_hook</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">link_button_hook</span><span class="symbol">,</span><span class="normal"> <a href="/
|
136
|
+
<span class="normal"> </span><span class="function"><a href="GtkLinkButton.html#gtk-link-button-set-uri-hook">gtk_link_button_set_uri_hook</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">link_button_hook</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
137
137
|
</tr>
|
138
138
|
</tbody>
|
139
139
|
</table>
|
@@ -150,6 +150,6 @@
|
|
150
150
|
</div>
|
151
151
|
<div class="footer">
|
152
152
|
<hr>
|
153
|
-
Generated by GTK-Doc V1.18</div>
|
153
|
+
Generated by GTK-Doc V1.18.1</div>
|
154
154
|
</body>
|
155
155
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Migrating from EggRecent to GtkRecentChooser</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
|
9
9
|
<link rel="prev" href="setting-the-page-flow.html" title="Setting the page flow">
|
10
10
|
<link rel="next" href="gtkrecent-chooser.html" title="Displaying the Recently Used Documents">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -30,7 +30,7 @@
|
|
30
30
|
</p></div></div>
|
31
31
|
</div></div>
|
32
32
|
</div></div>
|
33
|
-
<div class="toc"><dl>
|
33
|
+
<div class="toc"><dl class="toc">
|
34
34
|
<dt><span class="section"><a href="gtk-migrating-GtkRecentChooser.html#gtkrecent-manager">Managing the Recently Used Documents</a></span></dt>
|
35
35
|
<dt><span class="section"><a href="gtkrecent-chooser.html">Displaying the Recently Used Documents</a></span></dt>
|
36
36
|
<dt><span class="section"><a href="gtkrecent-advanced.html">Advanced usage</a></span></dt>
|
@@ -110,7 +110,7 @@
|
|
110
110
|
<span class="normal"> </span><span class="comment">/* warn about the error */</span>
|
111
111
|
<span class="normal"> </span><span class="cbracket">}</span>
|
112
112
|
<span class="normal"> </span>
|
113
|
-
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span></pre></td>
|
113
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span></pre></td>
|
114
114
|
</tr>
|
115
115
|
</tbody>
|
116
116
|
</table>
|
@@ -166,7 +166,7 @@
|
|
166
166
|
|
167
167
|
<span class="normal"> manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-new">gtk_recent_manager_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
168
168
|
<span class="normal"> </span>
|
169
|
-
<span class="normal"> recent_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_new0</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkRecentManager.html#GtkRecentData">GtkRecentData</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
169
|
+
<span class="normal"> recent_data </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-new0">g_new0</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkRecentManager.html#GtkRecentData">GtkRecentData</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
170
170
|
<span class="normal"> </span><span class="comment">/* the user visible name of the document (maybe its title); should</span>
|
171
171
|
<span class="comment"> * be preferred when displaying the item into the list</span>
|
172
172
|
<span class="comment"> */</span>
|
@@ -186,16 +186,16 @@
|
|
186
186
|
<span class="comment"> * command line from the GtkRecentInfo object with</span>
|
187
187
|
<span class="comment"> * gtk_recent_info_get_application_info ()</span>
|
188
188
|
<span class="comment"> */</span>
|
189
|
-
<span class="normal"> recent_data</span><span class="symbol">-&</span><span class="normal">app_exec </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_strjoin</span><span class="normal"> </span><span class="symbol">(</span><span class="string">" "</span><span class="symbol">,</span><span class="normal"> </span><span class="function">g_get_prgname</span><span class="normal"> </span><span class="symbol">(),</span><span class="normal"> </span><span class="string">"--open-file"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"%u"</span><span class="symbol">,</span><span class="normal"> <a href="/
|
189
|
+
<span class="normal"> recent_data</span><span class="symbol">-&</span><span class="normal">app_exec </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strjoin">g_strjoin</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" "</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html#g-get-prgname">g_get_prgname</a></span><span class="normal"> </span><span class="symbol">(),</span><span class="normal"> </span><span class="string">"--open-file"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"%u"</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
190
190
|
|
191
191
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-add-full">gtk_recent_manager_add_full</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> document_uri</span><span class="symbol">,</span><span class="normal"> recent_data</span><span class="symbol">))</span>
|
192
192
|
<span class="normal"> </span><span class="cbracket">{</span>
|
193
193
|
<span class="normal"> </span><span class="comment">/* warn about the error */</span>
|
194
194
|
<span class="normal"> </span><span class="cbracket">}</span>
|
195
195
|
|
196
|
-
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_data</span><span class="symbol">-></span><span class="normal">app_exec</span><span class="symbol">);</span>
|
197
|
-
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_data</span><span class="symbol">);</span>
|
198
|
-
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span></pre></td>
|
196
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_data</span><span class="symbol">-></span><span class="normal">app_exec</span><span class="symbol">);</span>
|
197
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_data</span><span class="symbol">);</span>
|
198
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span></pre></td>
|
199
199
|
</tr>
|
200
200
|
</tbody>
|
201
201
|
</table>
|
@@ -236,7 +236,7 @@
|
|
236
236
|
<span class="normal"> manager </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-get-default">gtk_recent_manager_get_default</a></span><span class="symbol">();</span>
|
237
237
|
|
238
238
|
<span class="normal"> recent_items </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-get-items">gtk_recent_manager_get_items</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">);</span>
|
239
|
-
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">l </span><span class="symbol">=</span><span class="normal"> recent_items</span><span class="symbol">;</span><span class="normal"> l </span><span class="symbol">!=</span><span class="normal"> <a href="/
|
239
|
+
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">l </span><span class="symbol">=</span><span class="normal"> recent_items</span><span class="symbol">;</span><span class="normal"> l </span><span class="symbol">!=</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span><span class="normal"> l </span><span class="symbol">=</span><span class="normal"> l</span><span class="symbol">-></span><span class="normal">next</span><span class="symbol">)</span>
|
240
240
|
<span class="normal"> </span><span class="cbracket">{</span>
|
241
241
|
<span class="normal"> </span><span class="usertype">GtkRecentInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">recent_info </span><span class="symbol">=</span><span class="normal"> l</span><span class="symbol">-></span><span class="normal">data</span><span class="symbol">;</span>
|
242
242
|
|
@@ -244,8 +244,8 @@
|
|
244
244
|
<span class="normal"> </span><span class="cbracket">}</span>
|
245
245
|
<span class="normal"> </span>
|
246
246
|
<span class="normal"> </span><span class="comment">/* free everything and the list */</span>
|
247
|
-
<span class="normal"> </span><span class="function">g_list_foreach</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_items</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GFunc</span><span class="symbol">)</span><span class="normal"> <a href="GtkRecentManager.html#gtk-recent-info-unref">gtk_recent_info_unref</a></span><span class="symbol">,</span><span class="normal"> <a href="/
|
248
|
-
<span class="normal"> </span><span class="function">g_list_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_items</span><span class="symbol">);</span></pre></td>
|
247
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-foreach">g_list_foreach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_items</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GFunc">GFunc</a></span><span class="symbol">)</span><span class="normal"> <a href="GtkRecentManager.html#gtk-recent-info-unref">gtk_recent_info_unref</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
248
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free">g_list_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">recent_items</span><span class="symbol">);</span></pre></td>
|
249
249
|
</tr>
|
250
250
|
</tbody>
|
251
251
|
</table>
|
@@ -275,14 +275,14 @@
|
|
275
275
|
15
|
276
276
|
16</pre></td>
|
277
277
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkRecentInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">recent_info</span><span class="symbol">;</span>
|
278
|
-
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/
|
278
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
279
279
|
|
280
280
|
<span class="normal"> recent_info </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkRecentManager.html#gtk-recent-manager-lookup-item">gtk_recent_manager_lookup_item</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">manager</span><span class="symbol">,</span><span class="normal"> document_uri</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
281
281
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">)</span>
|
282
282
|
<span class="normal"> </span><span class="cbracket">{</span>
|
283
283
|
<span class="normal"> </span><span class="function">display_error</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
284
284
|
|
285
|
-
<span class="normal"> </span><span class="function">g_error_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
285
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
286
286
|
<span class="normal"> </span><span class="cbracket">}</span>
|
287
287
|
<span class="normal"> </span><span class="keyword">else</span>
|
288
288
|
<span class="normal"> </span><span class="cbracket">{</span>
|
@@ -305,6 +305,6 @@
|
|
305
305
|
</div>
|
306
306
|
<div class="footer">
|
307
307
|
<hr>
|
308
|
-
Generated by GTK-Doc V1.18</div>
|
308
|
+
Generated by GTK-Doc V1.18.1</div>
|
309
309
|
</body>
|
310
310
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Migration Checklist</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
|
9
9
|
<link rel="prev" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
|
10
10
|
<link rel="next" href="checklist-gdkeventexpose-region.html" title="Use GdkEventExpose.region">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<div class="chapter">
|
23
23
|
<div class="titlepage"><div><div><h2 class="title">
|
24
24
|
<a name="gtk-migrating-checklist"></a>Migration Checklist</h2></div></div></div>
|
25
|
-
<div class="toc"><dl>
|
25
|
+
<div class="toc"><dl class="toc">
|
26
26
|
<dt><span class="section"><a href="gtk-migrating-checklist.html#checklist-popup-menu">Implement GtkWidget::popup_menu</a></span></dt>
|
27
27
|
<dt><span class="section"><a href="checklist-gdkeventexpose-region.html">Use GdkEventExpose.region</a></span></dt>
|
28
28
|
<dt><span class="section"><a href="checklist-modifiers.html">Test for modifier keys correctly</a></span></dt>
|
@@ -138,7 +138,7 @@ my_widget_popup_menu_handler (GtkWidget *widget)
|
|
138
138
|
mouse cursor may not be near the widget at all. In the <a class="link" href="gtk-migrating-checklist.html#do_popup_menu">example above</a>, you may want to
|
139
139
|
provide your own <a class="link" href="GtkMenu.html#GtkMenuPositionFunc" title="GtkMenuPositionFunc ()">menu-positioning function</a>
|
140
140
|
in the case where the <em class="parameter"><code>event</code></em> is
|
141
|
-
<a href="/
|
141
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This function should compute the desired position for
|
142
142
|
a menu when it is invoked through the keyboard. For example,
|
143
143
|
<a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a> aligns the top edge of its popup menu with the bottom
|
144
144
|
edge of the entry.
|
@@ -158,6 +158,6 @@ my_widget_popup_menu_handler (GtkWidget *widget)
|
|
158
158
|
</div>
|
159
159
|
<div class="footer">
|
160
160
|
<hr>
|
161
|
-
Generated by GTK-Doc V1.18</div>
|
161
|
+
Generated by GTK-Doc V1.18.1</div>
|
162
162
|
</body>
|
163
163
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Migrating from SexyIconEntry to GtkEntry</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
|
9
9
|
<link rel="prev" href="gtk-migrating-tooltips.html" title="Migrating from GtkTooltips to GtkTooltip">
|
10
10
|
<link rel="next" href="gtk-migrating-label-links.html" title="Migrating from SexyUrlLabel to GtkLabel">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -28,7 +28,7 @@
|
|
28
28
|
straightforward. The main difference between the two APIs is that
|
29
29
|
SexyIconEntry uses <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> widgets in a somewhat awkward way as
|
30
30
|
storage vehicles for icons, while GtkEntry allows to specify icons
|
31
|
-
via pixbufs, stock ids, icon names or <span class="type">GIcons</span>. So, if your code uses
|
31
|
+
via pixbufs, stock ids, icon names or <a href="/home/mclasen/gnome/share/gtk-doc/html/gio/GIcon.html"><span class="type">GIcons</span></a>. So, if your code uses
|
32
32
|
e.g.:
|
33
33
|
</p>
|
34
34
|
<div class="informalexample">
|
@@ -37,7 +37,7 @@
|
|
37
37
|
<tr>
|
38
38
|
<td class="listing_lines" align="right"><pre>1
|
39
39
|
2</pre></td>
|
40
|
-
<td class="listing_code"><pre class="programlisting"><span class="normal">image </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkImage.html#gtk-image-new-from-stock">gtk_image_new_from_stock</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk2-Stock-Items.html#GTK-STOCK-NEW:CAPS">GTK_STOCK_NEW</a></span><span class="symbol">,</span><span class="normal"> GTK_ICON_SIZE_MENU</span><span class="symbol">);</span>
|
40
|
+
<td class="listing_code"><pre class="programlisting"><span class="normal">image </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkImage.html#gtk-image-new-from-stock">gtk_image_new_from_stock</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk2-Stock-Items.html#GTK-STOCK-NEW:CAPS">GTK_STOCK_NEW</a></span><span class="symbol">,</span><span class="normal"> <a href="gtk2-Themeable-Stock-Images.html#GTK-ICON-SIZE-MENU:CAPS">GTK_ICON_SIZE_MENU</a></span><span class="symbol">);</span>
|
41
41
|
<span class="function">sexy_icon_entry_set_icon</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">entry</span><span class="symbol">,</span><span class="normal"> SEXY_ICON_ENTRY_PRIMARY</span><span class="symbol">,</span><span class="normal"> image</span><span class="symbol">);</span></pre></td>
|
42
42
|
</tr>
|
43
43
|
</tbody>
|
@@ -131,7 +131,7 @@ to
|
|
131
131
|
<span class="normal"> </span><span class="usertype">GtkMenu</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">menu </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
|
132
132
|
|
133
133
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">position </span><span class="symbol">==</span><span class="normal"> SEXY_ICON_ENTRY_PRIMARY</span><span class="symbol">)</span>
|
134
|
-
<span class="normal"> </span><span class="function"><a href="GtkMenu.html#gtk-menu-popup">gtk_menu_popup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_MENU</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">),</span><span class="normal"> <a href="/
|
134
|
+
<span class="normal"> </span><span class="function"><a href="GtkMenu.html#gtk-menu-popup">gtk_menu_popup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_MENU</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
|
135
135
|
<span class="normal"> button</span><span class="symbol">,</span><span class="normal"> <a href="../gdk2/gdk2-Events.html#GDK-CURRENT-TIME:CAPS">GDK_CURRENT_TIME</a></span><span class="symbol">);</span>
|
136
136
|
<span class="cbracket">}</span></pre></td>
|
137
137
|
</tr>
|
@@ -167,7 +167,7 @@ to
|
|
167
167
|
<span class="normal"> </span><span class="usertype">GtkMenu</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">menu </span><span class="symbol">=</span><span class="normal"> data</span><span class="symbol">;</span>
|
168
168
|
|
169
169
|
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">position </span><span class="symbol">==</span><span class="normal"> <a href="GtkEntry.html#GTK-ENTRY-ICON-PRIMARY:CAPS">GTK_ENTRY_ICON_PRIMARY</a></span><span class="symbol">)</span>
|
170
|
-
<span class="normal"> </span><span class="function"><a href="GtkMenu.html#gtk-menu-popup">gtk_menu_popup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_MENU</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">),</span><span class="normal"> <a href="/
|
170
|
+
<span class="normal"> </span><span class="function"><a href="GtkMenu.html#gtk-menu-popup">gtk_menu_popup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_MENU</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">menu</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
|
171
171
|
<span class="normal"> event</span><span class="symbol">-></span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-></span><span class="normal">time</span><span class="symbol">);</span>
|
172
172
|
<span class="cbracket">}</span></pre></td>
|
173
173
|
</tr>
|
@@ -272,10 +272,10 @@ to
|
|
272
272
|
<span class="normal"> </span><span class="function"><a href="GtkEntry.html#gtk-entry-set-icon-from-stock">gtk_entry_set_icon_from_stock</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_ENTRY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">entry</span><span class="symbol">),</span>
|
273
273
|
<span class="normal"> <a href="GtkEntry.html#GTK-ENTRY-ICON-SECONDARY:CAPS">GTK_ENTRY_ICON_SECONDARY</a></span><span class="symbol">,</span>
|
274
274
|
<span class="normal"> <a href="gtk2-Stock-Items.html#GTK-STOCK-CLEAR:CAPS">GTK_STOCK_CLEAR</a></span><span class="symbol">);</span>
|
275
|
-
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">entry</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"icon-press"</span><span class="symbol">,</span>
|
276
|
-
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon_pressed_cb</span><span class="symbol">),</span><span class="normal"> <a href="/
|
277
|
-
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">entry</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"notify::text"</span><span class="symbol">,</span>
|
278
|
-
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text_changed_cb</span><span class="symbol">),</span><span class="normal"> find_button</span><span class="symbol">);</span>
|
275
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">entry</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"icon-press"</span><span class="symbol">,</span>
|
276
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon_pressed_cb</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
277
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">entry</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"notify::text"</span><span class="symbol">,</span>
|
278
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text_changed_cb</span><span class="symbol">),</span><span class="normal"> find_button</span><span class="symbol">);</span>
|
279
279
|
<span class="normal"> </span>
|
280
280
|
<span class="normal"> </span><span class="comment">/* ... */</span></pre></td>
|
281
281
|
</tr>
|
@@ -288,6 +288,6 @@ to
|
|
288
288
|
</div>
|
289
289
|
<div class="footer">
|
290
290
|
<hr>
|
291
|
-
Generated by GTK-Doc V1.18</div>
|
291
|
+
Generated by GTK-Doc V1.18.1</div>
|
292
292
|
</body>
|
293
293
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Migrating from SexyUrlLabel to GtkLabel</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
|
9
9
|
<link rel="prev" href="gtk-migrating-entry-icons.html" title="Migrating from SexyIconEntry to GtkEntry">
|
10
10
|
<link rel="next" href="gtk-migrating-ClientSideWindows.html" title="Migrating to client-side windows">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -40,6 +40,6 @@
|
|
40
40
|
</div>
|
41
41
|
<div class="footer">
|
42
42
|
<hr>
|
43
|
-
Generated by GTK-Doc V1.18</div>
|
43
|
+
Generated by GTK-Doc V1.18.1</div>
|
44
44
|
</body>
|
45
45
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Migrating from GtkTooltips to GtkTooltip</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
|
9
9
|
<link rel="prev" href="gtk-migrating-GtkBuilder.html" title="Migrating from libglade to GtkBuilder">
|
10
10
|
<link rel="next" href="gtk-migrating-entry-icons.html" title="Migrating from SexyIconEntry to GtkEntry">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
<td class="listing_lines" align="right"><pre>1
|
61
61
|
2</pre></td>
|
62
62
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkTooltips</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tooltips </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTooltips.html#gtk-tooltips-new">gtk_tooltips_new</a></span><span class="normal"> </span><span class="symbol">();</span><span class="normal"> </span>
|
63
|
-
<span class="function"><a href="GtkTooltips.html#gtk-tooltips-set-tip">gtk_tooltips_set_tip</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tooltips</span><span class="symbol">,</span><span class="normal"> widget</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Some tips"</span><span class="symbol">,</span><span class="normal"> <a href="/
|
63
|
+
<span class="function"><a href="GtkTooltips.html#gtk-tooltips-set-tip">gtk_tooltips_set_tip</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tooltips</span><span class="symbol">,</span><span class="normal"> widget</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Some tips"</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
64
64
|
</tr>
|
65
65
|
</tbody>
|
66
66
|
</table>
|
@@ -94,7 +94,7 @@
|
|
94
94
|
<tbody>
|
95
95
|
<tr>
|
96
96
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
97
|
-
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkToolItem.html#gtk-tool-item-set-tooltip">gtk_tool_item_set_tooltip</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">toolitem</span><span class="symbol">,</span><span class="normal"> toolbar</span><span class="symbol">-></span><span class="normal">tooltips</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"tool tip"</span><span class="symbol">,</span><span class="normal"> <a href="/
|
97
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkToolItem.html#gtk-tool-item-set-tooltip">gtk_tool_item_set_tooltip</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">toolitem</span><span class="symbol">,</span><span class="normal"> toolbar</span><span class="symbol">-></span><span class="normal">tooltips</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"tool tip"</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
98
98
|
</tr>
|
99
99
|
</tbody>
|
100
100
|
</table>
|
@@ -119,6 +119,6 @@
|
|
119
119
|
</div>
|
120
120
|
<div class="footer">
|
121
121
|
<hr>
|
122
|
-
Generated by GTK-Doc V1.18</div>
|
122
|
+
Generated by GTK-Doc V1.18.1</div>
|
123
123
|
</body>
|
124
124
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Using GTK+ on Mac OS X</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="gtk.html" title="Part I. GTK+ Overview">
|
9
9
|
<link rel="prev" href="gtk-windows.html" title="Using GTK+ on Windows">
|
10
10
|
<link rel="next" href="gtk-directfb.html" title="Using GTK+ on DirectFB">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -31,7 +31,7 @@ OS X-specific aspects of using GTK+
|
|
31
31
|
<td valign="top" align="right"></td>
|
32
32
|
</tr></table></div>
|
33
33
|
<div class="refsect1">
|
34
|
-
<a name="
|
34
|
+
<a name="id-1.2.8.3"></a><h2>Using GTK+ on Mac OS X</h2>
|
35
35
|
<p>
|
36
36
|
The Mac OS X port of GTK+ is an implementation of GDK (and therefore GTK+)
|
37
37
|
on top of the Quarz API.
|
@@ -48,6 +48,6 @@ For up-to-date information about the current status of this port, see the
|
|
48
48
|
</div>
|
49
49
|
<div class="footer">
|
50
50
|
<hr>
|
51
|
-
Generated by GTK-Doc V1.18</div>
|
51
|
+
Generated by GTK-Doc V1.18.1</div>
|
52
52
|
</body>
|
53
53
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>gtk-query-immodules-2.0</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="pt05.html" title="Part V. GTK+ Tools">
|
9
9
|
<link rel="prev" href="pt05.html" title="Part V. GTK+ Tools">
|
10
10
|
<link rel="next" href="gtk-update-icon-cache.html" title="gtk-update-icon-cache">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -33,7 +33,7 @@
|
|
33
33
|
<div class="cmdsynopsis"><p><code class="command">gtk-query-immodules-2.0</code> [module...]</p></div>
|
34
34
|
</div>
|
35
35
|
<div class="refsect1">
|
36
|
-
<a name="
|
36
|
+
<a name="id-1.6.2.4"></a><h2>Description</h2>
|
37
37
|
<p>
|
38
38
|
<span class="command"><strong>gtk-query-immodules-2.0</strong></span> collects information about loadable
|
39
39
|
input method modules for GTK+ and writes it to <code class="filename">stdout</code>.
|
@@ -48,14 +48,14 @@ may be absolute or relative paths.
|
|
48
48
|
</p>
|
49
49
|
</div>
|
50
50
|
<div class="refsect1">
|
51
|
-
<a name="
|
51
|
+
<a name="id-1.6.2.5"></a><h2>Environment</h2>
|
52
52
|
<p>
|
53
53
|
The environment variable <code class="envar">GTK_PATH</code> can
|
54
54
|
be used to prepend directories to the input method module path.
|
55
55
|
</p>
|
56
56
|
</div>
|
57
57
|
<div class="refsect1">
|
58
|
-
<a name="
|
58
|
+
<a name="id-1.6.2.6"></a><h2>Bugs</h2>
|
59
59
|
<p>
|
60
60
|
None known yet.
|
61
61
|
</p>
|
@@ -63,6 +63,6 @@ None known yet.
|
|
63
63
|
</div>
|
64
64
|
<div class="footer">
|
65
65
|
<hr>
|
66
|
-
Generated by GTK-Doc V1.18</div>
|
66
|
+
Generated by GTK-Doc V1.18.1</div>
|
67
67
|
</body>
|
68
68
|
</html>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>Common Questions</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="gtk.html" title="Part I. GTK+ Overview">
|
9
9
|
<link rel="prev" href="gtk-resources.html" title="Mailing lists and bug reports">
|
10
10
|
<link rel="next" href="chap-drawing-model.html" title="The GTK+ Drawing Model">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -31,24 +31,24 @@ Find answers to common questions in the GTK+ manual
|
|
31
31
|
<td valign="top" align="right"></td>
|
32
32
|
</tr></table></div>
|
33
33
|
<div class="refsect1">
|
34
|
-
<a name="
|
34
|
+
<a name="id-1.2.11.3"></a><h2>Questions and Answers</h2>
|
35
35
|
<p>
|
36
36
|
This is an "index" of the reference manual organized by common "How do
|
37
37
|
I..." questions. If you aren't sure which documentation to read for
|
38
38
|
the question you have, this list is a good place to start.
|
39
39
|
</p>
|
40
40
|
<div class="qandaset">
|
41
|
-
<a name="
|
41
|
+
<a name="id-1.2.11.3.3"></a><table border="0" style="width: 100%;">
|
42
42
|
<colgroup>
|
43
43
|
<col align="left" width="1%">
|
44
44
|
<col>
|
45
45
|
</colgroup>
|
46
46
|
<tbody>
|
47
47
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
48
|
-
<a name="
|
48
|
+
<a name="id-1.2.11.3.3.1"></a>1. General</h5></td></tr>
|
49
49
|
<tr class="question">
|
50
50
|
<td align="left" valign="top">
|
51
|
-
<a name="
|
51
|
+
<a name="id-1.2.11.3.3.1.2"></a><a name="id-1.2.11.3.3.1.2.1"></a><p><b>1.1.</b></p>
|
52
52
|
</td>
|
53
53
|
<td align="left" valign="top"><p>
|
54
54
|
How do I get started with GTK+?
|
@@ -68,7 +68,7 @@ this reference manual for details.
|
|
68
68
|
</tr>
|
69
69
|
<tr class="question">
|
70
70
|
<td align="left" valign="top">
|
71
|
-
<a name="
|
71
|
+
<a name="id-1.2.11.3.3.1.3"></a><a name="id-1.2.11.3.3.1.3.1"></a><p><b>1.2.</b></p>
|
72
72
|
</td>
|
73
73
|
<td align="left" valign="top"><p>
|
74
74
|
Where can I get help with GTK+, submit a bug report, or make a feature
|
@@ -83,7 +83,7 @@ See the <a class="link" href="gtk-resources.html" title="Mailing lists and bug r
|
|
83
83
|
</tr>
|
84
84
|
<tr class="question">
|
85
85
|
<td align="left" valign="top">
|
86
|
-
<a name="
|
86
|
+
<a name="id-1.2.11.3.3.1.4"></a><a name="id-1.2.11.3.3.1.4.1"></a><p><b>1.3.</b></p>
|
87
87
|
</td>
|
88
88
|
<td align="left" valign="top"><p>How do I port from one GTK+
|
89
89
|
version to another?</p></td>
|
@@ -108,7 +108,7 @@ documentation.
|
|
108
108
|
</tr>
|
109
109
|
<tr class="question">
|
110
110
|
<td align="left" valign="top">
|
111
|
-
<a name="
|
111
|
+
<a name="id-1.2.11.3.3.1.5"></a><a name="id-1.2.11.3.3.1.5.1"></a><p><b>1.4.</b></p>
|
112
112
|
</td>
|
113
113
|
<td align="left" valign="top"><p>
|
114
114
|
How does memory management work in GTK+? Should I free data returned
|
@@ -119,22 +119,22 @@ from functions?
|
|
119
119
|
<td align="left" valign="top"></td>
|
120
120
|
<td align="left" valign="top">
|
121
121
|
<p>
|
122
|
-
See the documentation for <span class="type">GObject</span> and <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a>. For <span class="type">GObject</span> note
|
123
|
-
specifically <code class="function">g_object_ref()</code> and <code class="function">g_object_unref()</code>. <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> is a subclass
|
124
|
-
of <span class="type">GObject</span> so the same points apply, except that it has a "floating" state
|
122
|
+
See the documentation for <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> and <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a>. For <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> note
|
123
|
+
specifically <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> and <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> is a subclass
|
124
|
+
of <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> so the same points apply, except that it has a "floating" state
|
125
125
|
(explained in its documentation).
|
126
126
|
</p>
|
127
127
|
<p>
|
128
128
|
For strings returned from functions, they will be declared "const"
|
129
129
|
if they should not be freed. Non-const strings should be
|
130
|
-
freed with <code class="function">g_free()</code>. Arrays follow the same rule. (If you find an exception
|
130
|
+
freed with <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. Arrays follow the same rule. (If you find an exception
|
131
131
|
to the rules, please report a bug to <a class="ulink" href="http://bugzilla.gnome.org" target="_top">http://bugzilla.gnome.org</a>.)
|
132
132
|
</p>
|
133
133
|
</td>
|
134
134
|
</tr>
|
135
135
|
<tr class="question">
|
136
136
|
<td align="left" valign="top">
|
137
|
-
<a name="
|
137
|
+
<a name="id-1.2.11.3.3.1.6"></a><a name="id-1.2.11.3.3.1.6.1"></a><p><b>1.5.</b></p>
|
138
138
|
</td>
|
139
139
|
<td align="left" valign="top"><p>
|
140
140
|
Why does my program leak memory, if I destroy a widget immediately
|
@@ -179,7 +179,7 @@ creating it:
|
|
179
179
|
2
|
180
180
|
3</pre></td>
|
181
181
|
<td class="listing_code"><pre class="programlisting"><span class="normal">foo </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gtk_foo_new</span><span class="normal"> </span><span class="symbol">();</span>
|
182
|
-
<span class="function">g_object_ref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span><span class="normal"> </span>
|
182
|
+
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span><span class="normal"> </span>
|
183
183
|
<span class="function"><a href="GtkObject.html#gtk-object-sink">gtk_object_sink</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">));</span></pre></td>
|
184
184
|
</tr>
|
185
185
|
</tbody>
|
@@ -198,7 +198,7 @@ reference:
|
|
198
198
|
<td class="listing_lines" align="right"><pre>1
|
199
199
|
2</pre></td>
|
200
200
|
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span><span class="normal"> </span>
|
201
|
-
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
|
201
|
+
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
|
202
202
|
</tr>
|
203
203
|
</tbody>
|
204
204
|
</table>
|
@@ -214,7 +214,7 @@ to get rid of the widget.
|
|
214
214
|
</tr>
|
215
215
|
<tr class="question">
|
216
216
|
<td align="left" valign="top">
|
217
|
-
<a name="
|
217
|
+
<a name="id-1.2.11.3.3.1.7"></a><a name="id-1.2.11.3.3.1.7.1"></a><p><b>1.6.</b></p>
|
218
218
|
</td>
|
219
219
|
<td align="left" valign="top"><p>
|
220
220
|
How do I use GTK+ with threads?
|
@@ -224,13 +224,13 @@ How do I use GTK+ with threads?
|
|
224
224
|
<td align="left" valign="top"></td>
|
225
225
|
<td align="left" valign="top"><p>
|
226
226
|
This is covered in the <GTKDOCLINK HREF="gdk-Threads">GDK threads
|
227
|
-
documentation</GTKDOCLINK>. See also the GThread
|
227
|
+
documentation</GTKDOCLINK>. See also the <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Threads.html">GThread</a>
|
228
228
|
documentation for portable threading primitives.
|
229
229
|
</p></td>
|
230
230
|
</tr>
|
231
231
|
<tr class="question">
|
232
232
|
<td align="left" valign="top">
|
233
|
-
<a name="
|
233
|
+
<a name="id-1.2.11.3.3.1.8"></a><a name="id-1.2.11.3.3.1.8.1"></a><p><b>1.7.</b></p>
|
234
234
|
</td>
|
235
235
|
<td align="left" valign="top"><p>
|
236
236
|
How do I internationalize a GTK+ program?
|
@@ -259,19 +259,19 @@ Conventionally, people define macros as follows for convenience:
|
|
259
259
|
<tr>
|
260
260
|
<td class="listing_lines" align="right"><pre>1
|
261
261
|
2</pre></td>
|
262
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function">_</span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">gettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span>
|
263
|
-
<span class="preproc">#define</span><span class="normal"> </span><span class="function">N_</span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> x</span></pre></td>
|
262
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">gettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span>
|
263
|
+
<span class="preproc">#define</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-I18N.html#N-:CAPS">N_</a></span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> x</span></pre></td>
|
264
264
|
</tr>
|
265
265
|
</tbody>
|
266
266
|
</table>
|
267
267
|
</div>
|
268
268
|
|
269
269
|
<p>
|
270
|
-
You use <code class="function">N_()</code> (N stands for no-op) to mark a string for translation in a
|
270
|
+
You use <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-I18N.html#N-:CAPS"><code class="function">N_()</code></a> (N stands for no-op) to mark a string for translation in a
|
271
271
|
context where a function call to <code class="function">gettext()</code> is not allowed, such as in an
|
272
272
|
array initializer.
|
273
273
|
You eventually have to call <code class="function">gettext()</code> on the string to actually fetch the
|
274
|
-
translation. <code class="function">_()</code> both marks the string for translation and actually
|
274
|
+
translation. <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro"><code class="function">_()</code></a> both marks the string for translation and actually
|
275
275
|
translates it.
|
276
276
|
</p>
|
277
277
|
<p>
|
@@ -301,7 +301,7 @@ Code using these macros ends up looking like this:
|
|
301
301
|
13</pre></td>
|
302
302
|
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gi18n.h></span>
|
303
303
|
|
304
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">global_variable </span><span class="symbol">=</span><span class="normal"> </span><span class="function">N_</span><span class="symbol">(</span><span class="string">"Translate this string"</span><span class="symbol">);</span>
|
304
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">global_variable </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-I18N.html#N-:CAPS">N_</a></span><span class="symbol">(</span><span class="string">"Translate this string"</span><span class="symbol">);</span>
|
305
305
|
|
306
306
|
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
307
307
|
<span class="function">make_widgets</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
@@ -309,8 +309,8 @@ Code using these macros ends up looking like this:
|
|
309
309
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label1</span><span class="symbol">;</span>
|
310
310
|
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label2</span><span class="symbol">;</span>
|
311
311
|
|
312
|
-
<span class="normal"> label1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">_</span><span class="symbol">(</span><span class="string">"Another string to translate"</span><span class="symbol">));</span>
|
313
|
-
<span class="normal"> label2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">_</span><span class="symbol">(</span><span class="normal">global_variable</span><span class="symbol">));</span>
|
312
|
+
<span class="normal"> label1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="string">"Another string to translate"</span><span class="symbol">));</span>
|
313
|
+
<span class="normal"> label2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="normal">global_variable</span><span class="symbol">));</span>
|
314
314
|
<span class="symbol">...</span></pre></td>
|
315
315
|
</tr>
|
316
316
|
</tbody>
|
@@ -324,14 +324,14 @@ Libraries using gettext should use <code class="function">dgettext()</code> inst
|
|
324
324
|
allows them to specify the translation domain each time they ask for a
|
325
325
|
translation. Libraries should also avoid calling <code class="function">textdomain()</code>, since they
|
326
326
|
will be specifying the domain instead of using the default. For <code class="function">dgettext()</code>
|
327
|
-
the <code class="function">_()</code> macro can be defined as:
|
327
|
+
the <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro"><code class="function">_()</code></a> macro can be defined as:
|
328
328
|
</p>
|
329
329
|
<div class="informalexample">
|
330
330
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
331
331
|
<tbody>
|
332
332
|
<tr>
|
333
333
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
334
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function">_</span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">dgettext</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"MyDomain"</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">)</span></pre></td>
|
334
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">dgettext</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"MyDomain"</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">)</span></pre></td>
|
335
335
|
</tr>
|
336
336
|
</tbody>
|
337
337
|
</table>
|
@@ -348,7 +348,7 @@ translation domain to be specified by the <code class="literal">GETTEXT_PACKAGE<
|
|
348
348
|
</tr>
|
349
349
|
<tr class="question">
|
350
350
|
<td align="left" valign="top">
|
351
|
-
<a name="
|
351
|
+
<a name="id-1.2.11.3.3.1.9"></a><a name="id-1.2.11.3.3.1.9.1"></a><p><b>1.8.</b></p>
|
352
352
|
</td>
|
353
353
|
<td align="left" valign="top"><p>
|
354
354
|
How do I use non-ASCII characters in GTK+ programs ?
|
@@ -381,7 +381,7 @@ More information about Unicode and UTF-8 can be found in the
|
|
381
381
|
<a class="ulink" href="http://www.cl.cam.ac.uk/~mgk25/unicode.html" target="_top">UTF-8 and Unicode i
|
382
382
|
FAQ for Unix/Linux</a>.
|
383
383
|
GLib provides functions for converting strings between UTF-8 and other
|
384
|
-
encodings, see <code class="function">g_locale_to_utf8()</code> and <code class="function">g_convert()</code>.
|
384
|
+
encodings, see <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-locale-to-utf8"><code class="function">g_locale_to_utf8()</code></a> and <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert"><code class="function">g_convert()</code></a>.
|
385
385
|
</p>
|
386
386
|
<p>
|
387
387
|
Text coming from external sources (e.g. files or user input), has to be
|
@@ -413,19 +413,19 @@ writes the content of a IS0-8859-1 encoded text file to
|
|
413
413
|
18</pre></td>
|
414
414
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">utf8_text</span><span class="symbol">;</span>
|
415
415
|
<span class="usertype">gsize</span><span class="normal"> length</span><span class="symbol">;</span>
|
416
|
-
<span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/
|
416
|
+
<span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
417
417
|
|
418
|
-
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_file_get_contents</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">length</span><span class="symbol">,</span><span class="normal"> <a href="/
|
418
|
+
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-File-Utilities.html#g-file-get-contents">g_file_get_contents</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">length</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">))</span><span class="normal"> </span>
|
419
419
|
<span class="normal"> </span><span class="cbracket">{</span>
|
420
|
-
<span class="normal"> utf8_text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_convert</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> length</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span><span class="normal"> </span>
|
421
|
-
<span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> <a href="/
|
422
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error </span><span class="symbol">!=</span><span class="normal"> <a href="/
|
420
|
+
<span class="normal"> utf8_text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert">g_convert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> length</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span><span class="normal"> </span>
|
421
|
+
<span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
422
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error </span><span class="symbol">!=</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
423
423
|
<span class="normal"> </span><span class="cbracket">{</span>
|
424
424
|
<span class="normal"> </span><span class="function">fprintf</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Couldn't convert file %s to UTF-8</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span>
|
425
|
-
<span class="normal"> </span><span class="function">g_error_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
425
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
426
426
|
<span class="normal"> </span><span class="cbracket">}</span>
|
427
427
|
<span class="normal"> </span><span class="keyword">else</span>
|
428
|
-
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">utf8_text</span><span class="symbol">);</span>
|
428
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">utf8_text</span><span class="symbol">);</span>
|
429
429
|
<span class="normal"> </span><span class="cbracket">}</span>
|
430
430
|
<span class="keyword">else</span><span class="normal"> </span>
|
431
431
|
<span class="normal"> </span><span class="function">fprintf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stderr</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Unable to read file %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span></pre></td>
|
@@ -471,7 +471,7 @@ very convenient. Be careful when mixing hexadecimal escapes with ordinary text;
|
|
471
471
|
<td><p>
|
472
472
|
If the string literals can be represented in an encoding which your toolchain
|
473
473
|
can handle (e.g. IS0-8859-1), you can write your source files in that encoding
|
474
|
-
and use <code class="function">g_convert()</code> to convert the strings to UTF-8 at runtime. Note that this
|
474
|
+
and use <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert"><code class="function">g_convert()</code></a> to convert the strings to UTF-8 at runtime. Note that this
|
475
475
|
has some runtime overhead, so you may want to move the conversion out of inner
|
476
476
|
loops.
|
477
477
|
</p></td>
|
@@ -492,11 +492,11 @@ UTF-8 by the two bytes 194, 169:
|
|
492
492
|
3
|
493
493
|
4
|
494
494
|
5</pre></td>
|
495
|
-
<td class="listing_code"><pre class="programlisting"><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"direct UTF-8: ©"</span><span class="symbol">);</span>
|
496
|
-
<span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"escaped UTF-8: </span><span class="specialchar">\3</span><span class="string">02</span><span class="specialchar">\2</span><span class="string">51"</span><span class="symbol">);</span>
|
497
|
-
<span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_convert</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"runtime conversion: ©"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> <a href="/
|
498
|
-
<span class="function">g_print</span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
499
|
-
<span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
|
495
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"direct UTF-8: ©"</span><span class="symbol">);</span>
|
496
|
+
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"escaped UTF-8: </span><span class="specialchar">\3</span><span class="string">02</span><span class="specialchar">\2</span><span class="string">51"</span><span class="symbol">);</span>
|
497
|
+
<span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert">g_convert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"runtime conversion: ©"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
498
|
+
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
499
|
+
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
|
500
500
|
</tr>
|
501
501
|
</tbody>
|
502
502
|
</table>
|
@@ -513,7 +513,7 @@ returned in UTF-8 encoding.
|
|
513
513
|
</tr>
|
514
514
|
<tr class="question">
|
515
515
|
<td align="left" valign="top">
|
516
|
-
<a name="
|
516
|
+
<a name="id-1.2.11.3.3.1.10"></a><a name="id-1.2.11.3.3.1.10.1"></a><p><b>1.9.</b></p>
|
517
517
|
</td>
|
518
518
|
<td align="left" valign="top"><p>
|
519
519
|
How do I use GTK+ with C++?
|
@@ -576,7 +576,7 @@ There are very few functions that require this cast, however.
|
|
576
576
|
</tr>
|
577
577
|
<tr class="question">
|
578
578
|
<td align="left" valign="top">
|
579
|
-
<a name="
|
579
|
+
<a name="id-1.2.11.3.3.1.11"></a><a name="id-1.2.11.3.3.1.11.1"></a><p><b>1.10.</b></p>
|
580
580
|
</td>
|
581
581
|
<td align="left" valign="top"><p>
|
582
582
|
How do I use GTK+ with other non-C languages?
|
@@ -591,7 +591,7 @@ bindings</a> on <a class="ulink" href="http://www.gtk.org" target="_top">http://
|
|
591
591
|
</tr>
|
592
592
|
<tr class="question">
|
593
593
|
<td align="left" valign="top">
|
594
|
-
<a name="
|
594
|
+
<a name="id-1.2.11.3.3.1.12"></a><a name="id-1.2.11.3.3.1.12.1"></a><p><b>1.11.</b></p>
|
595
595
|
</td>
|
596
596
|
<td align="left" valign="top"><p>
|
597
597
|
How do I load an image or animation from a file?
|
@@ -602,22 +602,22 @@ How do I load an image or animation from a file?
|
|
602
602
|
<td align="left" valign="top">
|
603
603
|
<p>
|
604
604
|
To load an image file straight into a display widget, use
|
605
|
-
<a class="link" href="GtkImage.html#gtk-image-new-from-file" title="gtk_image_new_from_file"><code class="function">gtk_image_new_from_file()</code></a> <a href="#ftn.
|
606
|
-
To load an image for another purpose, use <a href="
|
607
|
-
load an animation, use <a href="
|
608
|
-
<a href="
|
609
|
-
use it in combination with <a href="
|
605
|
+
<a class="link" href="GtkImage.html#gtk-image-new-from-file" title="gtk_image_new_from_file"><code class="function">gtk_image_new_from_file()</code></a> <a href="#ftn.id-1.2.11.3.3.1.12.2.1.2" class="footnote" name="id-1.2.11.3.3.1.12.2.1.2"><sup class="footnote">[1]</sup></a>.
|
606
|
+
To load an image for another purpose, use <a href="/home/mclasen/gnome/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file"><code class="function">gdk_pixbuf_new_from_file()</code></a>. To i
|
607
|
+
load an animation, use <a href="/home/mclasen/gnome/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a>.
|
608
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a> can also load non-animated images, so
|
609
|
+
use it in combination with <a href="/home/mclasen/gnome/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-Animations.html#gdk-pixbuf-animation-is-static-image"><code class="function">gdk_pixbuf_animation_is_static_image()</code></a> to load a
|
610
610
|
file of unknown type.
|
611
611
|
</p>
|
612
612
|
<p>
|
613
613
|
To load an image or animation file asynchronously (without blocking), use
|
614
|
-
<a href="
|
614
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/gdk-pixbuf/GdkPixbufLoader.html"><span class="type">GdkPixbufLoader</span></a>.
|
615
615
|
</p>
|
616
616
|
</td>
|
617
617
|
</tr>
|
618
618
|
<tr class="question">
|
619
619
|
<td align="left" valign="top">
|
620
|
-
<a name="
|
620
|
+
<a name="id-1.2.11.3.3.1.13"></a><a name="id-1.2.11.3.3.1.13.1"></a><p><b>1.12.</b></p>
|
621
621
|
</td>
|
622
622
|
<td align="left" valign="top"><p>
|
623
623
|
How do I draw text ?
|
@@ -641,11 +641,11 @@ using code like the following:
|
|
641
641
|
5
|
642
642
|
6</pre></td>
|
643
643
|
<td class="listing_code"><pre class="programlisting"><span class="normal">layout </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-create-pango-layout">gtk_widget_create_pango_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">);</span>
|
644
|
-
<span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
645
|
-
<span class="function"
|
644
|
+
<span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function">pango_font_description_from_string</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Luxi Mono 12"</span><span class="symbol">);</span>
|
645
|
+
<span class="function">pango_layout_set_font_description</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> fontdesc</span><span class="symbol">);</span><span class="normal"> </span>
|
646
646
|
<span class="function"><a href="../gdk2/gdk2-Drawing-Primitives.html#gdk-draw-layout">gdk_draw_layout</a></span><span class="normal"> </span><span class="symbol">(...,</span><span class="normal"> layout</span><span class="symbol">);</span>
|
647
|
-
<span class="function"
|
648
|
-
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
|
647
|
+
<span class="function">pango_font_description_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fontdesc</span><span class="symbol">);</span>
|
648
|
+
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
|
649
649
|
</tr>
|
650
650
|
</tbody>
|
651
651
|
</table>
|
@@ -663,7 +663,7 @@ to the GNOME 2.0 platform</a>.
|
|
663
663
|
</tr>
|
664
664
|
<tr class="question">
|
665
665
|
<td align="left" valign="top">
|
666
|
-
<a name="
|
666
|
+
<a name="id-1.2.11.3.3.1.14"></a><a name="id-1.2.11.3.3.1.14.1"></a><p><b>1.13.</b></p>
|
667
667
|
</td>
|
668
668
|
<td align="left" valign="top"><p>
|
669
669
|
How do I measure the size of a piece of text ?
|
@@ -674,7 +674,7 @@ How do I measure the size of a piece of text ?
|
|
674
674
|
<td align="left" valign="top">
|
675
675
|
<p>
|
676
676
|
To obtain the size of a piece of text, use a Pango layout and
|
677
|
-
<
|
677
|
+
<code class="function">pango_layout_get_pixel_size()</code>, using code like the following:
|
678
678
|
</p>
|
679
679
|
<div class="informalexample">
|
680
680
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -687,11 +687,11 @@ To obtain the size of a piece of text, use a Pango layout and
|
|
687
687
|
5
|
688
688
|
6</pre></td>
|
689
689
|
<td class="listing_code"><pre class="programlisting"><span class="normal">layout </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-create-pango-layout">gtk_widget_create_pango_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">);</span>
|
690
|
-
<span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function"
|
691
|
-
<span class="function"
|
692
|
-
<span class="function"
|
693
|
-
<span class="function"
|
694
|
-
<span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
|
690
|
+
<span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function">pango_font_description_from_string</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Luxi Mono 12"</span><span class="symbol">);</span>
|
691
|
+
<span class="function">pango_layout_set_font_description</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> fontdesc</span><span class="symbol">);</span><span class="normal"> </span>
|
692
|
+
<span class="function">pango_layout_get_pixel_size</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">height</span><span class="symbol">);</span>
|
693
|
+
<span class="function">pango_font_description_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fontdesc</span><span class="symbol">);</span>
|
694
|
+
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
|
695
695
|
</tr>
|
696
696
|
</tbody>
|
697
697
|
</table>
|
@@ -709,7 +709,7 @@ to the GNOME 2.0 platform</a>.
|
|
709
709
|
</tr>
|
710
710
|
<tr class="question">
|
711
711
|
<td align="left" valign="top">
|
712
|
-
<a name="
|
712
|
+
<a name="id-1.2.11.3.3.1.15"></a><a name="id-1.2.11.3.3.1.15.1"></a><p><b>1.14.</b></p>
|
713
713
|
</td>
|
714
714
|
<td align="left" valign="top"><p>
|
715
715
|
Why are types not registered if I use their <code class="literal">GTK_TYPE_BLAH</code>
|
@@ -722,7 +722,7 @@ macro ?
|
|
722
722
|
<p>
|
723
723
|
The <code class="literal">GTK_TYPE_BLAH</code> macros are defined as calls to
|
724
724
|
<code class="literal"><code class="function">gtk_blah_get_type()</code></code>, and the <code class="literal"><code class="function">_get_type()</code></code> i
|
725
|
-
functions are declared as <code class="literal">G_GNUC_CONST</code> which allows the compiler to optimize
|
725
|
+
functions are declared as <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html#G-GNUC-CONST:CAPS"><code class="literal">G_GNUC_CONST</code></a> which allows the compiler to optimize
|
726
726
|
the call away if it appears that the value is not being used.
|
727
727
|
</p>
|
728
728
|
<p>
|
@@ -746,7 +746,7 @@ variable, which keeps the compiler from optimizing the call away.
|
|
746
746
|
</tr>
|
747
747
|
<tr class="question">
|
748
748
|
<td align="left" valign="top">
|
749
|
-
<a name="
|
749
|
+
<a name="id-1.2.11.3.3.1.16"></a><a name="id-1.2.11.3.3.1.16.1"></a><p><b>1.15.</b></p>
|
750
750
|
</td>
|
751
751
|
<td align="left" valign="top"><p>
|
752
752
|
How do I create a transparent toplevel window ?
|
@@ -759,7 +759,7 @@ How do I create a transparent toplevel window ?
|
|
759
759
|
To make a window transparent, it needs to use a visual which supports that.
|
760
760
|
This is done by getting the RGBA colormap of the screen with
|
761
761
|
<a href="../gdk2/GdkScreen.html#gdk-screen-get-rgba-colormap"><code class="function">gdk_screen_get_rgba_colormap()</code></a> and setting it on the window. Note that
|
762
|
-
<a href="../gdk2/GdkScreen.html#gdk-screen-get-rgba-colormap"><code class="function">gdk_screen_get_rgba_colormap()</code></a> will return <a href="/
|
762
|
+
<a href="../gdk2/GdkScreen.html#gdk-screen-get-rgba-colormap"><code class="function">gdk_screen_get_rgba_colormap()</code></a> will return <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if transparent windows
|
763
763
|
are not supported on the screen; also note that this may change from
|
764
764
|
screen to screen, so it needs to be repeated whenever the window is moved
|
765
765
|
to a different screen.
|
@@ -801,10 +801,10 @@ channel will be respected.
|
|
801
801
|
</td>
|
802
802
|
</tr>
|
803
803
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
804
|
-
<a name="
|
804
|
+
<a name="id-1.2.11.3.3.2"></a>2. Which widget should I use...</h5></td></tr>
|
805
805
|
<tr class="question">
|
806
806
|
<td align="left" valign="top">
|
807
|
-
<a name="
|
807
|
+
<a name="id-1.2.11.3.3.2.2"></a><a name="id-1.2.11.3.3.2.2.1"></a><p><b>2.1.</b></p>
|
808
808
|
</td>
|
809
809
|
<td align="left" valign="top"><p>
|
810
810
|
...for lists and trees?
|
@@ -822,7 +822,7 @@ less flexible and result in an inferior user interface.
|
|
822
822
|
</tr>
|
823
823
|
<tr class="question">
|
824
824
|
<td align="left" valign="top">
|
825
|
-
<a name="
|
825
|
+
<a name="id-1.2.11.3.3.2.3"></a><a name="id-1.2.11.3.3.2.3.1"></a><p><b>2.2.</b></p>
|
826
826
|
</td>
|
827
827
|
<td align="left" valign="top"><p>
|
828
828
|
...for multi-line text display or editing?
|
@@ -845,7 +845,7 @@ single-line text entry, see <a class="link" href="GtkEntry.html" title="GtkEntry
|
|
845
845
|
</tr>
|
846
846
|
<tr class="question">
|
847
847
|
<td align="left" valign="top">
|
848
|
-
<a name="
|
848
|
+
<a name="id-1.2.11.3.3.2.4"></a><a name="id-1.2.11.3.3.2.4.1"></a><p><b>2.3.</b></p>
|
849
849
|
</td>
|
850
850
|
<td align="left" valign="top"><p>
|
851
851
|
...to display an image or animation?
|
@@ -861,7 +861,7 @@ such as draw text or graphics over the top of the image.
|
|
861
861
|
</tr>
|
862
862
|
<tr class="question">
|
863
863
|
<td align="left" valign="top">
|
864
|
-
<a name="
|
864
|
+
<a name="id-1.2.11.3.3.2.5"></a><a name="id-1.2.11.3.3.2.5.1"></a><p><b>2.4.</b></p>
|
865
865
|
</td>
|
866
866
|
<td align="left" valign="top"><p>
|
867
867
|
...for presenting a set of mutually-exclusive choices, where Windows
|
@@ -877,10 +877,10 @@ on the current theme. If you need an editable text entry, use <a class="link" hr
|
|
877
877
|
</p></td>
|
878
878
|
</tr>
|
879
879
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
880
|
-
<a name="
|
880
|
+
<a name="id-1.2.11.3.3.3"></a>3. GtkWidget</h5></td></tr>
|
881
881
|
<tr class="question">
|
882
882
|
<td align="left" valign="top">
|
883
|
-
<a name="
|
883
|
+
<a name="id-1.2.11.3.3.3.2"></a><a name="id-1.2.11.3.3.3.2.1"></a><p><b>3.1.</b></p>
|
884
884
|
</td>
|
885
885
|
<td align="left" valign="top"><p>
|
886
886
|
How do I change the color of a widget?
|
@@ -905,7 +905,7 @@ event box.
|
|
905
905
|
</tr>
|
906
906
|
<tr class="question">
|
907
907
|
<td align="left" valign="top">
|
908
|
-
<a name="
|
908
|
+
<a name="id-1.2.11.3.3.3.3"></a><a name="id-1.2.11.3.3.3.3.1"></a><p><b>3.2.</b></p>
|
909
909
|
</td>
|
910
910
|
<td align="left" valign="top"><p>
|
911
911
|
How do I change the font of a widget?
|
@@ -936,7 +936,7 @@ gtk_label_set_markup (label, "<big>big text</big>");
|
|
936
936
|
</pre>
|
937
937
|
<p>
|
938
938
|
This is preferred for many apps because it's a relative size to the
|
939
|
-
user's chosen font size. See <code class="function">g_markup_escape_text()</code> if you are
|
939
|
+
user's chosen font size. See <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html#g-markup-escape-text"><code class="function">g_markup_escape_text()</code></a> if you are
|
940
940
|
constructing such strings on the fly.
|
941
941
|
</p>
|
942
942
|
<p>
|
@@ -955,7 +955,7 @@ for more discussion.
|
|
955
955
|
</tr>
|
956
956
|
<tr class="question">
|
957
957
|
<td align="left" valign="top">
|
958
|
-
<a name="
|
958
|
+
<a name="id-1.2.11.3.3.3.4"></a><a name="id-1.2.11.3.3.3.4.1"></a><p><b>3.3.</b></p>
|
959
959
|
</td>
|
960
960
|
<td align="left" valign="top"><p>
|
961
961
|
How do I disable/ghost/desensitize a widget?
|
@@ -968,10 +968,10 @@ How do I disable/ghost/desensitize a widget?
|
|
968
968
|
</p></td>
|
969
969
|
</tr>
|
970
970
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
971
|
-
<a name="
|
971
|
+
<a name="id-1.2.11.3.3.4"></a>4. GtkTextView</h5></td></tr>
|
972
972
|
<tr class="question">
|
973
973
|
<td align="left" valign="top">
|
974
|
-
<a name="
|
974
|
+
<a name="id-1.2.11.3.3.4.2"></a><a name="id-1.2.11.3.3.4.2.1"></a><p><b>4.1.</b></p>
|
975
975
|
</td>
|
976
976
|
<td align="left" valign="top"><p>
|
977
977
|
How do I get the contents of the entire text widget as a string?
|
@@ -1007,7 +1007,7 @@ or <a class="link" href="GtkTextIter.html#gtk-text-iter-get-text" title="gtk_tex
|
|
1007
1007
|
<span class="function"><a href="GtkTextBuffer.html#gtk-text-buffer-get-bounds">gtk_text_buffer_get_bounds</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">start</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">end</span><span class="symbol">);</span>
|
1008
1008
|
<span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTextIter.html#gtk-text-iter-get-text">gtk_text_iter_get_text</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">start</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">end</span><span class="symbol">);</span>
|
1009
1009
|
<span class="comment">/* use text */</span>
|
1010
|
-
<span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
|
1010
|
+
<span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
|
1011
1011
|
</tr>
|
1012
1012
|
</tbody>
|
1013
1013
|
</table>
|
@@ -1019,7 +1019,7 @@ or <a class="link" href="GtkTextIter.html#gtk-text-iter-get-text" title="gtk_tex
|
|
1019
1019
|
</tr>
|
1020
1020
|
<tr class="question">
|
1021
1021
|
<td align="left" valign="top">
|
1022
|
-
<a name="
|
1022
|
+
<a name="id-1.2.11.3.3.4.3"></a><a name="id-1.2.11.3.3.4.3.1"></a><p><b>4.2.</b></p>
|
1023
1023
|
</td>
|
1024
1024
|
<td align="left" valign="top"><p>
|
1025
1025
|
How do I make a text widget display its complete contents in a specific font?
|
@@ -1042,7 +1042,7 @@ to change the default font for the widget.
|
|
1042
1042
|
</tr>
|
1043
1043
|
<tr class="question">
|
1044
1044
|
<td align="left" valign="top">
|
1045
|
-
<a name="
|
1045
|
+
<a name="id-1.2.11.3.3.4.4"></a><a name="id-1.2.11.3.3.4.4.1"></a><p><b>4.3.</b></p>
|
1046
1046
|
</td>
|
1047
1047
|
<td align="left" valign="top"><p>
|
1048
1048
|
How do I make a text view scroll to the end of the buffer automatically ?
|
@@ -1069,11 +1069,11 @@ The gtk-demo application contains an example of this technique.
|
|
1069
1069
|
</td>
|
1070
1070
|
</tr>
|
1071
1071
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
1072
|
-
<a name="
|
1072
|
+
<a name="id-1.2.11.3.3.5"></a>5. <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
|
1073
1073
|
</h5></td></tr>
|
1074
1074
|
<tr class="question">
|
1075
1075
|
<td align="left" valign="top">
|
1076
|
-
<a name="
|
1076
|
+
<a name="id-1.2.11.3.3.5.2"></a><a name="id-1.2.11.3.3.5.2.1"></a><p><b>5.1.</b></p>
|
1077
1077
|
</td>
|
1078
1078
|
<td align="left" valign="top"><p>
|
1079
1079
|
How do I associate some data with a row in the tree?
|
@@ -1090,7 +1090,7 @@ and retrieve it with <a class="link" href="GtkTreeModel.html#gtk-tree-model-get"
|
|
1090
1090
|
</tr>
|
1091
1091
|
<tr class="question">
|
1092
1092
|
<td align="left" valign="top">
|
1093
|
-
<a name="
|
1093
|
+
<a name="id-1.2.11.3.3.5.3"></a><a name="id-1.2.11.3.3.5.3.1"></a><p><b>5.2.</b></p>
|
1094
1094
|
</td>
|
1095
1095
|
<td align="left" valign="top"><p>
|
1096
1096
|
What's the <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> equivalent of <a class="link" href="GtkCList.html#gtk-clist-find-row-from-data" title="gtk_clist_find_row_from_data ()"><code class="function">gtk_clist_find_row_from_data()</code></a>?
|
@@ -1107,7 +1107,7 @@ searching function to walk the tree and find the data, or use
|
|
1107
1107
|
</tr>
|
1108
1108
|
<tr class="question">
|
1109
1109
|
<td align="left" valign="top">
|
1110
|
-
<a name="
|
1110
|
+
<a name="id-1.2.11.3.3.5.4"></a><a name="id-1.2.11.3.3.5.4.1"></a><p><b>5.3.</b></p>
|
1111
1111
|
</td>
|
1112
1112
|
<td align="left" valign="top"><p>
|
1113
1113
|
How do I put an image and some text in the same column?
|
@@ -1124,7 +1124,7 @@ column.
|
|
1124
1124
|
</tr>
|
1125
1125
|
<tr class="question">
|
1126
1126
|
<td align="left" valign="top">
|
1127
|
-
<a name="
|
1127
|
+
<a name="id-1.2.11.3.3.5.5"></a><a name="id-1.2.11.3.3.5.5.1"></a><p><b>5.4.</b></p>
|
1128
1128
|
</td>
|
1129
1129
|
<td align="left" valign="top"><p>
|
1130
1130
|
I can set data easily on my <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a>/<a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> models using
|
@@ -1142,7 +1142,7 @@ implements. The easiest way to read a set of data back is to use
|
|
1142
1142
|
</tr>
|
1143
1143
|
<tr class="question">
|
1144
1144
|
<td align="left" valign="top">
|
1145
|
-
<a name="
|
1145
|
+
<a name="id-1.2.11.3.3.5.6"></a><a name="id-1.2.11.3.3.5.6.1"></a><p><b>5.5.</b></p>
|
1146
1146
|
</td>
|
1147
1147
|
<td align="left" valign="top"><p>
|
1148
1148
|
How do I change the way that numbers are formatted by <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>?
|
@@ -1154,7 +1154,7 @@ How do I change the way that numbers are formatted by <a class="link" href="GtkT
|
|
1154
1154
|
<p>
|
1155
1155
|
Use <a class="link" href="GtkTreeView.html#gtk-tree-view-insert-column-with-data-func" title="gtk_tree_view_insert_column_with_data_func ()"><code class="function">gtk_tree_view_insert_column_with_data_func()</code></a>
|
1156
1156
|
or <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func" title="gtk_tree_view_column_set_cell_data_func ()"><code class="function">gtk_tree_view_column_set_cell_data_func()</code></a> and do the conversion from i
|
1157
|
-
number to string yourself (with, say, <code class="function">g_strdup_printf()</code>).
|
1157
|
+
number to string yourself (with, say, <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strdup-printf"><code class="function">g_strdup_printf()</code></a>).
|
1158
1158
|
</p>
|
1159
1159
|
<p>
|
1160
1160
|
The following example demonstrates this:
|
@@ -1248,11 +1248,11 @@ The following example demonstrates this:
|
|
1248
1248
|
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">;</span>
|
1249
1249
|
|
1250
1250
|
<span class="normal"> </span><span class="comment">/* Get the double value from the model. */</span>
|
1251
|
-
<span class="normal"> </span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get">gtk_tree_model_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree_model</span><span class="symbol">,</span><span class="normal"> iter</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gint</span><span class="symbol">)</span><span class="normal">data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">d</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
1251
|
+
<span class="normal"> </span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get">gtk_tree_model_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree_model</span><span class="symbol">,</span><span class="normal"> iter</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a></span><span class="symbol">)</span><span class="normal">data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">d</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
1252
1252
|
<span class="normal"> </span><span class="comment">/* Now we can format the value ourselves. */</span>
|
1253
|
-
<span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_strdup_printf</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%.2f"</span><span class="symbol">,</span><span class="normal"> d</span><span class="symbol">);</span>
|
1254
|
-
<span class="normal"> </span><span class="function">g_object_set</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cell</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">,</span><span class="normal"> <a href="/
|
1255
|
-
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
1253
|
+
<span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%.2f"</span><span class="symbol">,</span><span class="normal"> d</span><span class="symbol">);</span>
|
1254
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set">g_object_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cell</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1255
|
+
<span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
|
1256
1256
|
<span class="cbracket">}</span>
|
1257
1257
|
|
1258
1258
|
<span class="type">void</span><span class="normal"> </span>
|
@@ -1263,7 +1263,7 @@ The following example demonstrates this:
|
|
1263
1263
|
<span class="normal"> </span><span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">mycolumns</span><span class="symbol">;</span>
|
1264
1264
|
|
1265
1265
|
<span class="normal"> </span><span class="comment">/* Create the data model and associate it with the given TreeView */</span>
|
1266
|
-
<span class="normal"> mycolumns </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span><span class="normal"> G_TYPE_DOUBLE</span><span class="symbol">);</span>
|
1266
|
+
<span class="normal"> mycolumns </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS">G_TYPE_DOUBLE</a></span><span class="symbol">);</span>
|
1267
1267
|
<span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-set-model">gtk_tree_view_set_model</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">myview</span><span class="symbol">,</span><span class="normal"> </span><span class="function">GTK_TREE_MODEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mycolumns</span><span class="symbol">));</span>
|
1268
1268
|
|
1269
1269
|
<span class="normal"> </span><span class="comment">/* Create a GtkCellRendererText */</span>
|
@@ -1276,7 +1276,7 @@ The following example demonstrates this:
|
|
1276
1276
|
<span class="normal"> column </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-new">gtk_tree_view_column_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
1277
1277
|
<span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-title">gtk_tree_view_column_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Example column"</span><span class="symbol">);</span>
|
1278
1278
|
<span class="normal"> renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererText.html#gtk-cell-renderer-text-new">gtk_cell_renderer_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
1279
|
-
<span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start">gtk_tree_view_column_pack_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
1279
|
+
<span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start">gtk_tree_view_column_pack_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
1280
1280
|
|
1281
1281
|
<span class="normal"> </span><span class="comment">/* Append the new column after the GtkTreeView's previous columns. */</span>
|
1282
1282
|
<span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-append-column">gtk_tree_view_append_column</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">myview</span><span class="symbol">),</span><span class="normal"> column</span><span class="symbol">);</span>
|
@@ -1289,7 +1289,7 @@ The following example demonstrates this:
|
|
1289
1289
|
<span class="comment"> */</span>
|
1290
1290
|
<span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func">gtk_tree_view_column_set_cell_data_func</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span>
|
1291
1291
|
<span class="normal"> my_cell_double_to_text</span><span class="symbol">,</span><span class="normal"> </span>
|
1292
|
-
<span class="normal"> </span><span class="symbol">(</span><span class="normal">gpointer</span><span class="symbol">)</span><span class="normal">DOUBLE_COLUMN</span><span class="symbol">,</span><span class="normal"> <a href="/
|
1292
|
+
<span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a></span><span class="symbol">)</span><span class="normal">DOUBLE_COLUMN</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1293
1293
|
<span class="cbracket">}</span></pre></td>
|
1294
1294
|
</tr>
|
1295
1295
|
</tbody>
|
@@ -1302,7 +1302,7 @@ The following example demonstrates this:
|
|
1302
1302
|
</tr>
|
1303
1303
|
<tr class="question">
|
1304
1304
|
<td align="left" valign="top">
|
1305
|
-
<a name="
|
1305
|
+
<a name="id-1.2.11.3.3.5.7"></a><a name="id-1.2.11.3.3.5.7.1"></a><p><b>5.6.</b></p>
|
1306
1306
|
</td>
|
1307
1307
|
<td align="left" valign="top"><p>
|
1308
1308
|
How do I hide the expander arrows in my tree view ?
|
@@ -1316,10 +1316,10 @@ See <a class="link" href="GtkTreeView.html#gtk-tree-view-set-expander-column" ti
|
|
1316
1316
|
</p></td>
|
1317
1317
|
</tr>
|
1318
1318
|
<tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
|
1319
|
-
<a name="
|
1319
|
+
<a name="id-1.2.11.3.3.6"></a>6. Using cairo with GTK+</h5></td></tr>
|
1320
1320
|
<tr class="question">
|
1321
1321
|
<td align="left" valign="top">
|
1322
|
-
<a name="
|
1322
|
+
<a name="id-1.2.11.3.3.6.2"></a><a name="id-1.2.11.3.3.6.2.1"></a><p><b>6.1.</b></p>
|
1323
1323
|
</td>
|
1324
1324
|
<td align="left" valign="top"><p>
|
1325
1325
|
How do I use cairo to draw in GTK+ applications ?
|
@@ -1335,7 +1335,7 @@ Interaction</GTKDOCLINK> for some more useful functions.
|
|
1335
1335
|
</tr>
|
1336
1336
|
<tr class="question">
|
1337
1337
|
<td align="left" valign="top">
|
1338
|
-
<a name="
|
1338
|
+
<a name="id-1.2.11.3.3.6.3"></a><a name="id-1.2.11.3.3.6.3.1"></a><p><b>6.2.</b></p>
|
1339
1339
|
</td>
|
1340
1340
|
<td align="left" valign="top"><p>
|
1341
1341
|
I have created a cairo context with <a href="../gdk2/gdk2-Cairo-Interaction.html#gdk-cairo-create"><code class="function">gdk_cairo_create()</code></a>, but when I
|
@@ -1375,7 +1375,7 @@ itself.
|
|
1375
1375
|
</tr>
|
1376
1376
|
<tr class="question">
|
1377
1377
|
<td align="left" valign="top">
|
1378
|
-
<a name="
|
1378
|
+
<a name="id-1.2.11.3.3.6.4"></a><a name="id-1.2.11.3.3.6.4.1"></a><p><b>6.3.</b></p>
|
1379
1379
|
</td>
|
1380
1380
|
<td align="left" valign="top"><p>
|
1381
1381
|
Can I improve the performance of my application by using the
|
@@ -1395,10 +1395,10 @@ Render extension).
|
|
1395
1395
|
</tr>
|
1396
1396
|
<tr class="question">
|
1397
1397
|
<td align="left" valign="top">
|
1398
|
-
<a name="
|
1398
|
+
<a name="id-1.2.11.3.3.6.5"></a><a name="id-1.2.11.3.3.6.5.1"></a><p><b>6.4.</b></p>
|
1399
1399
|
</td>
|
1400
1400
|
<td align="left" valign="top"><p>
|
1401
|
-
Can I use cairo to draw on a <a href="
|
1401
|
+
Can I use cairo to draw on a <a href="/home/mclasen/gnome/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> ?
|
1402
1402
|
</p></td>
|
1403
1403
|
</tr>
|
1404
1404
|
<tr class="answer">
|
@@ -1413,15 +1413,15 @@ pixel format used by GdkPixbuf.
|
|
1413
1413
|
</div>
|
1414
1414
|
</div>
|
1415
1415
|
<div class="footnotes">
|
1416
|
-
<br><hr style="width:100; align:left;">
|
1417
|
-
<div id="ftn.
|
1416
|
+
<br><hr style="width:100; text-align:left;margin-left: 0">
|
1417
|
+
<div id="ftn.id-1.2.11.3.3.1.12.2.1.2" class="footnote"><p><a href="#id-1.2.11.3.3.1.12.2.1.2" class="para"><sup class="para">[1] </sup></a> If the file load fails,
|
1418
1418
|
<a class="link" href="GtkImage.html#gtk-image-new-from-file" title="gtk_image_new_from_file"><code class="function">gtk_image_new_from_file()</code></a> will display no image graphic — to detect
|
1419
|
-
a failed load yourself, use <a href="
|
1419
|
+
a failed load yourself, use <a href="/home/mclasen/gnome/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file"><code class="function">gdk_pixbuf_new_from_file()</code></a> directly, then
|
1420
1420
|
<a class="link" href="GtkImage.html#gtk-image-new-from-pixbuf" title="gtk_image_new_from_pixbuf ()"><code class="function">gtk_image_new_from_pixbuf()</code></a>.</p></div>
|
1421
1421
|
</div>
|
1422
1422
|
</div>
|
1423
1423
|
<div class="footer">
|
1424
1424
|
<hr>
|
1425
|
-
Generated by GTK-Doc V1.18</div>
|
1425
|
+
Generated by GTK-Doc V1.18.1</div>
|
1426
1426
|
</body>
|
1427
1427
|
</html>
|