gtk3 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +32 -0
- data/ext/gtk3/conversions.c +34 -0
- data/ext/gtk3/depend +11 -0
- data/ext/gtk3/extconf.rb +108 -0
- data/ext/gtk3/gtk3.def +10 -0
- data/ext/gtk3/init.c +38 -0
- data/ext/gtk3/rbgdkdisplay.c +39 -0
- data/ext/gtk3/rbgdkdragcontext.c +108 -0
- data/ext/gtk3/rbgdkevent.c +38 -0
- data/ext/gtk3/rbgdkscreen.c +61 -0
- data/ext/gtk3/rbgtk.c +625 -0
- data/ext/gtk3/rbgtk3.h +57 -0
- data/ext/gtk3/rbgtk3conversions.h +347 -0
- data/ext/gtk3/rbgtk3private.h +282 -0
- data/ext/gtk3/rbgtk3util.c +67 -0
- data/ext/gtk3/rbgtk3util.h +32 -0
- data/ext/gtk3/rbgtkaboutdialog.c +117 -0
- data/ext/gtk3/rbgtkaccelerator.c +78 -0
- data/ext/gtk3/rbgtkaccelgroup.c +199 -0
- data/ext/gtk3/rbgtkaccelgroupentry.c +93 -0
- data/ext/gtk3/rbgtkaccelkey.c +119 -0
- data/ext/gtk3/rbgtkaccellabel.c +55 -0
- data/ext/gtk3/rbgtkaccelmap.c +135 -0
- data/ext/gtk3/rbgtkaccessible.c +56 -0
- data/ext/gtk3/rbgtkaction.c +205 -0
- data/ext/gtk3/rbgtkactiongroup.c +466 -0
- data/ext/gtk3/rbgtkactivatable.c +30 -0
- data/ext/gtk3/rbgtkadjustment.c +98 -0
- data/ext/gtk3/rbgtkalignment.c +75 -0
- data/ext/gtk3/rbgtkallocation.c +166 -0
- data/ext/gtk3/rbgtkappchooser.c +47 -0
- data/ext/gtk3/rbgtkappchooserbutton.c +70 -0
- data/ext/gtk3/rbgtkappchooserdialog.c +68 -0
- data/ext/gtk3/rbgtkappchooserwidget.c +40 -0
- data/ext/gtk3/rbgtkapplication.c +69 -0
- data/ext/gtk3/rbgtkarrow.c +56 -0
- data/ext/gtk3/rbgtkaspectframe.c +56 -0
- data/ext/gtk3/rbgtkassistant.c +218 -0
- data/ext/gtk3/rbgtkbin.c +42 -0
- data/ext/gtk3/rbgtkbindingset.c +164 -0
- data/ext/gtk3/rbgtkborder.c +119 -0
- data/ext/gtk3/rbgtkbox.c +146 -0
- data/ext/gtk3/rbgtkbuildable.c +96 -0
- data/ext/gtk3/rbgtkbuilder.c +166 -0
- data/ext/gtk3/rbgtkbutton.c +93 -0
- data/ext/gtk3/rbgtkbuttonbox.c +87 -0
- data/ext/gtk3/rbgtkcalendar.c +118 -0
- data/ext/gtk3/rbgtkcelleditable.c +57 -0
- data/ext/gtk3/rbgtkcelllayout.c +144 -0
- data/ext/gtk3/rbgtkcellrenderer.c +116 -0
- data/ext/gtk3/rbgtkcellrendereraccel.c +41 -0
- data/ext/gtk3/rbgtkcellrenderercombo.c +38 -0
- data/ext/gtk3/rbgtkcellrendererpixbuf.c +41 -0
- data/ext/gtk3/rbgtkcellrendererprogress.c +38 -0
- data/ext/gtk3/rbgtkcellrendererspin.c +39 -0
- data/ext/gtk3/rbgtkcellrendererspinner.c +38 -0
- data/ext/gtk3/rbgtkcellrenderertext.c +48 -0
- data/ext/gtk3/rbgtkcellrenderertoggle.c +39 -0
- data/ext/gtk3/rbgtkcellview.c +109 -0
- data/ext/gtk3/rbgtkcheckbutton.c +64 -0
- data/ext/gtk3/rbgtkcheckmenuitem.c +64 -0
- data/ext/gtk3/rbgtkclipboard.c +389 -0
- data/ext/gtk3/rbgtkcolorbutton.c +49 -0
- data/ext/gtk3/rbgtkcolorselection.c +219 -0
- data/ext/gtk3/rbgtkcolorselectiondialog.c +56 -0
- data/ext/gtk3/rbgtkcombobox.c +147 -0
- data/ext/gtk3/rbgtkcomboboxtext.c +138 -0
- data/ext/gtk3/rbgtkconst.c +79 -0
- data/ext/gtk3/rbgtkcontainer.c +784 -0
- data/ext/gtk3/rbgtkcssprovider.c +110 -0
- data/ext/gtk3/rbgtkdialog.c +186 -0
- data/ext/gtk3/rbgtkdrag.c +93 -0
- data/ext/gtk3/rbgtkdrawingarea.c +42 -0
- data/ext/gtk3/rbgtkeditable.c +149 -0
- data/ext/gtk3/rbgtkentry.c +198 -0
- data/ext/gtk3/rbgtkentrybuffer.c +87 -0
- data/ext/gtk3/rbgtkentrycompletion.c +122 -0
- data/ext/gtk3/rbgtkeventbox.c +42 -0
- data/ext/gtk3/rbgtkexpander.c +49 -0
- data/ext/gtk3/rbgtkfilechooser.c +384 -0
- data/ext/gtk3/rbgtkfilechooserbutton.c +50 -0
- data/ext/gtk3/rbgtkfilechooserdialog.c +62 -0
- data/ext/gtk3/rbgtkfilechooserwidget.c +40 -0
- data/ext/gtk3/rbgtkfilefilter.c +128 -0
- data/ext/gtk3/rbgtkfilesystemerror.c +48 -0
- data/ext/gtk3/rbgtkfixed.c +61 -0
- data/ext/gtk3/rbgtkfontbutton.c +49 -0
- data/ext/gtk3/rbgtkfontchooser.c +78 -0
- data/ext/gtk3/rbgtkfontchooserdialog.c +56 -0
- data/ext/gtk3/rbgtkfontchooserwidget.c +45 -0
- data/ext/gtk3/rbgtkframe.c +69 -0
- data/ext/gtk3/rbgtkgrid.c +105 -0
- data/ext/gtk3/rbgtkhandlebox.c +45 -0
- data/ext/gtk3/rbgtkhsv.c +102 -0
- data/ext/gtk3/rbgtkiconfactory.c +85 -0
- data/ext/gtk3/rbgtkiconinfo.c +115 -0
- data/ext/gtk3/rbgtkiconset.c +84 -0
- data/ext/gtk3/rbgtkiconsize.c +91 -0
- data/ext/gtk3/rbgtkiconsource.c +184 -0
- data/ext/gtk3/rbgtkicontheme.c +268 -0
- data/ext/gtk3/rbgtkiconview.c +270 -0
- data/ext/gtk3/rbgtkimage.c +96 -0
- data/ext/gtk3/rbgtkimagemenuitem.c +67 -0
- data/ext/gtk3/rbgtkimcontext.c +133 -0
- data/ext/gtk3/rbgtkimcontextsimple.c +69 -0
- data/ext/gtk3/rbgtkimmulticontext.c +48 -0
- data/ext/gtk3/rbgtkinfobar.c +121 -0
- data/ext/gtk3/rbgtkinvisible.c +49 -0
- data/ext/gtk3/rbgtklabel.c +139 -0
- data/ext/gtk3/rbgtklayout.c +93 -0
- data/ext/gtk3/rbgtklinkbutton.c +55 -0
- data/ext/gtk3/rbgtkliststore.c +408 -0
- data/ext/gtk3/rbgtklockbutton.c +50 -0
- data/ext/gtk3/rbgtkmenu.c +168 -0
- data/ext/gtk3/rbgtkmenubar.c +43 -0
- data/ext/gtk3/rbgtkmenuitem.c +95 -0
- data/ext/gtk3/rbgtkmenushell.c +106 -0
- data/ext/gtk3/rbgtkmenutoolbutton.c +81 -0
- data/ext/gtk3/rbgtkmessagedialog.c +74 -0
- data/ext/gtk3/rbgtkmisc.c +70 -0
- data/ext/gtk3/rbgtknotebook.c +383 -0
- data/ext/gtk3/rbgtknumerableicon.c +50 -0
- data/ext/gtk3/rbgtkorientable.c +27 -0
- data/ext/gtk3/rbgtkoverlay.c +53 -0
- data/ext/gtk3/rbgtkpagesetup.c +195 -0
- data/ext/gtk3/rbgtkpagesetupunixdialog.c +94 -0
- data/ext/gtk3/rbgtkpaned.c +114 -0
- data/ext/gtk3/rbgtkpapersize.c +179 -0
- data/ext/gtk3/rbgtkplug.c +85 -0
- data/ext/gtk3/rbgtkprintcontext.c +125 -0
- data/ext/gtk3/rbgtkprinter.c +155 -0
- data/ext/gtk3/rbgtkprintjob.c +148 -0
- data/ext/gtk3/rbgtkprintoperation.c +149 -0
- data/ext/gtk3/rbgtkprintoperationpreview.c +59 -0
- data/ext/gtk3/rbgtkprintsettings.c +807 -0
- data/ext/gtk3/rbgtkprintunixdialog.c +90 -0
- data/ext/gtk3/rbgtkprogressbar.c +72 -0
- data/ext/gtk3/rbgtkradioaction.c +122 -0
- data/ext/gtk3/rbgtkradiobutton.c +89 -0
- data/ext/gtk3/rbgtkradiomenuitem.c +147 -0
- data/ext/gtk3/rbgtkradiotoolbutton.c +131 -0
- data/ext/gtk3/rbgtkrange.c +68 -0
- data/ext/gtk3/rbgtkrecentaction.c +64 -0
- data/ext/gtk3/rbgtkrecentchooser.c +198 -0
- data/ext/gtk3/rbgtkrecentchooserdialog.c +66 -0
- data/ext/gtk3/rbgtkrecentchoosermenu.c +50 -0
- data/ext/gtk3/rbgtkrecentchooserwidget.c +48 -0
- data/ext/gtk3/rbgtkrecentdata.c +187 -0
- data/ext/gtk3/rbgtkrecentfilter.c +169 -0
- data/ext/gtk3/rbgtkrecentfilterinfo.c +200 -0
- data/ext/gtk3/rbgtkrecentinfo.c +213 -0
- data/ext/gtk3/rbgtkrecentmanager.c +134 -0
- data/ext/gtk3/rbgtkscale.c +97 -0
- data/ext/gtk3/rbgtkscalebutton.c +84 -0
- data/ext/gtk3/rbgtkscrollable.c +31 -0
- data/ext/gtk3/rbgtkscrollbar.c +52 -0
- data/ext/gtk3/rbgtkscrolledwindow.c +122 -0
- data/ext/gtk3/rbgtkselection.c +168 -0
- data/ext/gtk3/rbgtkselectiondata.c +282 -0
- data/ext/gtk3/rbgtkseparator.c +44 -0
- data/ext/gtk3/rbgtkseparatormenuitem.c +39 -0
- data/ext/gtk3/rbgtkseparatortoolitem.c +38 -0
- data/ext/gtk3/rbgtksettings.c +229 -0
- data/ext/gtk3/rbgtksizegroup.c +66 -0
- data/ext/gtk3/rbgtksocket.c +82 -0
- data/ext/gtk3/rbgtkspinbutton.c +132 -0
- data/ext/gtk3/rbgtkspinner.c +55 -0
- data/ext/gtk3/rbgtkstatusbar.c +77 -0
- data/ext/gtk3/rbgtkstatusicon.c +122 -0
- data/ext/gtk3/rbgtkstock.c +213 -0
- data/ext/gtk3/rbgtkstylecontext.c +411 -0
- data/ext/gtk3/rbgtkstyleproperties.c +119 -0
- data/ext/gtk3/rbgtkstyleprovider.c +68 -0
- data/ext/gtk3/rbgtkswitch.c +40 -0
- data/ext/gtk3/rbgtktable.c +190 -0
- data/ext/gtk3/rbgtktargetlist.c +125 -0
- data/ext/gtk3/rbgtktearoffmenuitem.c +41 -0
- data/ext/gtk3/rbgtktextappearance.c +236 -0
- data/ext/gtk3/rbgtktextattributes.c +326 -0
- data/ext/gtk3/rbgtktextbuffer.c +899 -0
- data/ext/gtk3/rbgtktextchildanchor.c +56 -0
- data/ext/gtk3/rbgtktextiter.c +732 -0
- data/ext/gtk3/rbgtktextmark.c +71 -0
- data/ext/gtk3/rbgtktexttag.c +68 -0
- data/ext/gtk3/rbgtktexttagtable.c +96 -0
- data/ext/gtk3/rbgtktextview.c +336 -0
- data/ext/gtk3/rbgtkthemingengine.c +257 -0
- data/ext/gtk3/rbgtktoggleaction.c +61 -0
- data/ext/gtk3/rbgtktogglebutton.c +87 -0
- data/ext/gtk3/rbgtktoggletoolbutton.c +61 -0
- data/ext/gtk3/rbgtktoolbar.c +118 -0
- data/ext/gtk3/rbgtktoolbutton.c +66 -0
- data/ext/gtk3/rbgtktoolitem.c +200 -0
- data/ext/gtk3/rbgtktoolitemgroup.c +70 -0
- data/ext/gtk3/rbgtktoolshell.c +96 -0
- data/ext/gtk3/rbgtktooltip.c +100 -0
- data/ext/gtk3/rbgtktreedragdest.c +28 -0
- data/ext/gtk3/rbgtktreedragsource.c +28 -0
- data/ext/gtk3/rbgtktreeiter.c +258 -0
- data/ext/gtk3/rbgtktreemodel.c +236 -0
- data/ext/gtk3/rbgtktreemodelfilter.c +197 -0
- data/ext/gtk3/rbgtktreemodelsort.c +111 -0
- data/ext/gtk3/rbgtktreepath.c +191 -0
- data/ext/gtk3/rbgtktreerowreference.c +140 -0
- data/ext/gtk3/rbgtktreeselection.c +205 -0
- data/ext/gtk3/rbgtktreesortable.c +122 -0
- data/ext/gtk3/rbgtktreestore.c +330 -0
- data/ext/gtk3/rbgtktreeview.c +715 -0
- data/ext/gtk3/rbgtktreeviewcolumn.c +256 -0
- data/ext/gtk3/rbgtkuimanager.c +189 -0
- data/ext/gtk3/rbgtkviewport.c +44 -0
- data/ext/gtk3/rbgtkvolumebutton.c +41 -0
- data/ext/gtk3/rbgtkwidget.c +1564 -0
- data/ext/gtk3/rbgtkwidgetpath.c +229 -0
- data/ext/gtk3/rbgtkwindow.c +557 -0
- data/ext/gtk3/rbgtkwindowgroup.c +80 -0
- data/extconf.rb +49 -0
- data/lib/1.8/gtk3.so +0 -0
- data/lib/1.9/gtk3.so +0 -0
- data/lib/gtk3.rb +10 -0
- data/lib/gtk3/base.rb +67 -0
- data/lib/gtk3/deprecated.rb +1001 -0
- data/sample/gtk-demo/README +7 -0
- data/sample/gtk-demo/alphatest.png +0 -0
- data/sample/gtk-demo/apple-red.png +0 -0
- data/sample/gtk-demo/appwindow.rb +233 -0
- data/sample/gtk-demo/background.jpg +0 -0
- data/sample/gtk-demo/builder.rb +51 -0
- data/sample/gtk-demo/button_box.rb +84 -0
- data/sample/gtk-demo/cairo-arc-negative.rb +41 -0
- data/sample/gtk-demo/cairo-arc.rb +41 -0
- data/sample/gtk-demo/cairo-clip-image.rb +51 -0
- data/sample/gtk-demo/cairo-clip-rectangle.rb +35 -0
- data/sample/gtk-demo/cairo-clip.rb +35 -0
- data/sample/gtk-demo/cairo-curve-rectangle.rb +76 -0
- data/sample/gtk-demo/cairo-curve-to.rb +43 -0
- data/sample/gtk-demo/cairo-dash.rb +39 -0
- data/sample/gtk-demo/cairo-fill-and-stroke.rb +32 -0
- data/sample/gtk-demo/cairo-fill-and-stroke2.rb +38 -0
- data/sample/gtk-demo/cairo-gradient.rb +35 -0
- data/sample/gtk-demo/cairo-image-pattern.rb +39 -0
- data/sample/gtk-demo/cairo-image.rb +49 -0
- data/sample/gtk-demo/cairo-line-cap.rb +53 -0
- data/sample/gtk-demo/cairo-line-join.rb +41 -0
- data/sample/gtk-demo/cairo-long-lines.rb +41 -0
- data/sample/gtk-demo/cairo-operator.rb +83 -0
- data/sample/gtk-demo/cairo-path.rb +28 -0
- data/sample/gtk-demo/cairo-pattern-fill.rb +88 -0
- data/sample/gtk-demo/cairo-self-intersect.rb +32 -0
- data/sample/gtk-demo/cairo-text-align-center.rb +45 -0
- data/sample/gtk-demo/cairo-text-extents.rb +46 -0
- data/sample/gtk-demo/cairo-text.rb +43 -0
- data/sample/gtk-demo/changedisplay.rb +408 -0
- data/sample/gtk-demo/clipboard.rb +72 -0
- data/sample/gtk-demo/colorsel.rb +84 -0
- data/sample/gtk-demo/common.rb +88 -0
- data/sample/gtk-demo/demo.ui +258 -0
- data/sample/gtk-demo/dialog.rb +137 -0
- data/sample/gtk-demo/drawingarea.rb +226 -0
- data/sample/gtk-demo/editable_cells.rb +172 -0
- data/sample/gtk-demo/entry_completion.rb +63 -0
- data/sample/gtk-demo/expander.rb +40 -0
- data/sample/gtk-demo/floppybuddy.gif +0 -0
- data/sample/gtk-demo/gnome-applets.png +0 -0
- data/sample/gtk-demo/gnome-calendar.png +0 -0
- data/sample/gtk-demo/gnome-foot.png +0 -0
- data/sample/gtk-demo/gnome-fs-directory.png +0 -0
- data/sample/gtk-demo/gnome-fs-regular.png +0 -0
- data/sample/gtk-demo/gnome-gimp.png +0 -0
- data/sample/gtk-demo/gnome-gmush.png +0 -0
- data/sample/gtk-demo/gnome-gsame.png +0 -0
- data/sample/gtk-demo/gnu-keys.png +0 -0
- data/sample/gtk-demo/gtk-logo-rgb.gif +0 -0
- data/sample/gtk-demo/hypertext.rb +211 -0
- data/sample/gtk-demo/iconview.rb +109 -0
- data/sample/gtk-demo/images.rb +197 -0
- data/sample/gtk-demo/item_factory.rb +94 -0
- data/sample/gtk-demo/list_store.rb +138 -0
- data/sample/gtk-demo/main.rb +382 -0
- data/sample/gtk-demo/menus.rb +172 -0
- data/sample/gtk-demo/panes.rb +156 -0
- data/sample/gtk-demo/pixbufs.rb +176 -0
- data/sample/gtk-demo/printing.rb +128 -0
- data/sample/gtk-demo/rotated_text.rb +84 -0
- data/sample/gtk-demo/ruby-gnome2-logo.png +0 -0
- data/sample/gtk-demo/sizegroup.rb +118 -0
- data/sample/gtk-demo/stock_browser.rb +235 -0
- data/sample/gtk-demo/textview.rb +436 -0
- data/sample/gtk-demo/tree_store.rb +270 -0
- data/sample/misc/aboutdialog.rb +42 -0
- data/sample/misc/aboutdialog2.rb +42 -0
- data/sample/misc/alpha-demo.rb +70 -0
- data/sample/misc/assistant.rb +347 -0
- data/sample/misc/bindings.rb +107 -0
- data/sample/misc/button.rb +69 -0
- data/sample/misc/button2.rb +28 -0
- data/sample/misc/buttonbox.rb +93 -0
- data/sample/misc/cairo-pong.rb +215 -0
- data/sample/misc/calendar.rb +66 -0
- data/sample/misc/checkbutton.rb +46 -0
- data/sample/misc/colorselection.rb +25 -0
- data/sample/misc/combo_check.rb +71 -0
- data/sample/misc/combobox.rb +86 -0
- data/sample/misc/composited-windows.rb +113 -0
- data/sample/misc/cursor.rb +32 -0
- data/sample/misc/dialog.rb +44 -0
- data/sample/misc/dialog2.rb +39 -0
- data/sample/misc/dnd.rb +64 -0
- data/sample/misc/dndtreeview.rb +56 -0
- data/sample/misc/drag-move.rb +131 -0
- data/sample/misc/drawing.rb +90 -0
- data/sample/misc/entry.rb +34 -0
- data/sample/misc/entrycompletion.rb +33 -0
- data/sample/misc/expander.rb +27 -0
- data/sample/misc/filechooser.rb +41 -0
- data/sample/misc/frame.rb +69 -0
- data/sample/misc/gdkscreen.rb +32 -0
- data/sample/misc/gnome-logo-icon.png +0 -0
- data/sample/misc/helloworld.rb +35 -0
- data/sample/misc/iconview.rb +38 -0
- data/sample/misc/image.rb +42 -0
- data/sample/misc/itemfactory.rb +73 -0
- data/sample/misc/itemfactory2.rb +74 -0
- data/sample/misc/keyboard_grab.rb +29 -0
- data/sample/misc/label.rb +33 -0
- data/sample/misc/linkbutton.rb +42 -0
- data/sample/misc/listview.rb +92 -0
- data/sample/misc/menu.rb +81 -0
- data/sample/misc/misc_button.rb +49 -0
- data/sample/misc/mouse-gesture.rb +465 -0
- data/sample/misc/pangorenderer.rb +66 -0
- data/sample/misc/pointer_grab.rb +34 -0
- data/sample/misc/print.rb +247 -0
- data/sample/misc/properties.rb +85 -0
- data/sample/misc/radiobutton.rb +47 -0
- data/sample/misc/recentchooserdialog.rb +52 -0
- data/sample/misc/rgtk+cairo.rb +42 -0
- data/sample/misc/scalebutton.rb +19 -0
- data/sample/misc/settings.rb +41 -0
- data/sample/misc/statusicon.rb +123 -0
- data/sample/misc/stock.rb +36 -0
- data/sample/misc/style_property.rb +67 -0
- data/sample/misc/style_property.rc +19 -0
- data/sample/misc/t-gtkplug.rb +58 -0
- data/sample/misc/t-gtksocket.rb +65 -0
- data/sample/misc/test.xpm +92 -0
- data/sample/misc/textbuffer_serialize.rb +130 -0
- data/sample/misc/threads.rb +72 -0
- data/sample/misc/to_drawable.rb +42 -0
- data/sample/misc/togglebutton.rb +34 -0
- data/sample/misc/toolbar.rb +55 -0
- data/sample/misc/tooltips.rb +204 -0
- data/sample/misc/tree_combo.rb +79 -0
- data/sample/misc/tree_progress.rb +63 -0
- data/sample/misc/treemodelfilter.rb +49 -0
- data/sample/misc/treeview.rb +71 -0
- data/sample/misc/uimanager.rb +148 -0
- data/sample/misc/uimanager2.rb +91 -0
- data/sample/misc/uimanager2.xml +36 -0
- data/sample/misc/window.rb +24 -0
- data/sample/misc/xbm_cursor.rb +43 -0
- data/sample/testgtk/3DRings.xpm +116 -0
- data/sample/testgtk/FilesQueue.xpm +98 -0
- data/sample/testgtk/Modeller.xpm +117 -0
- data/sample/testgtk/README +14 -0
- data/sample/testgtk/button.rb +124 -0
- data/sample/testgtk/buttonbox.rb +100 -0
- data/sample/testgtk/check-n.xpm +21 -0
- data/sample/testgtk/check-y.xpm +21 -0
- data/sample/testgtk/checkbutton.rb +67 -0
- data/sample/testgtk/circles.xbm +46 -0
- data/sample/testgtk/colorselect.rb +33 -0
- data/sample/testgtk/dialog.rb +48 -0
- data/sample/testgtk/entry.rb +73 -0
- data/sample/testgtk/filesel.rb +65 -0
- data/sample/testgtk/fontselection.rb +56 -0
- data/sample/testgtk/labels.rb +74 -0
- data/sample/testgtk/layout.rb +108 -0
- data/sample/testgtk/marble.xpm +408 -0
- data/sample/testgtk/menu.rb +79 -0
- data/sample/testgtk/notebook.rb +280 -0
- data/sample/testgtk/pixmap.rb +58 -0
- data/sample/testgtk/progressbar.rb +173 -0
- data/sample/testgtk/radiobutton.rb +61 -0
- data/sample/testgtk/range.rb +65 -0
- data/sample/testgtk/reparent.rb +91 -0
- data/sample/testgtk/sample.rb +80 -0
- data/sample/testgtk/savedposition.rb +87 -0
- data/sample/testgtk/scrolledwindow.rb +67 -0
- data/sample/testgtk/shapedwindow.rb +99 -0
- data/sample/testgtk/spinbutton.rb +181 -0
- data/sample/testgtk/statusbar.rb +89 -0
- data/sample/testgtk/test.xpm +92 -0
- data/sample/testgtk/testgtk.rb +176 -0
- data/sample/testgtk/testgtkrc +146 -0
- data/sample/testgtk/testgtkrc2 +21 -0
- data/sample/testgtk/togglebutton.rb +53 -0
- data/sample/testgtk/toolbar.rb +82 -0
- data/sample/testgtk/tooltips.rb +41 -0
- data/sample/testgtk/wmhints.rb +40 -0
- data/test/gtk-test-utils.rb +15 -0
- data/test/run-test.rb +32 -0
- data/test/test_gc.rb +25 -0
- data/test/test_gdk.rb +18 -0
- data/test/test_gdk_color.rb +10 -0
- data/test/test_gdk_display.rb +37 -0
- data/test/test_gdk_event.rb +11 -0
- data/test/test_gdk_gc.rb +7 -0
- data/test/test_gdk_keymap.rb +8 -0
- data/test/test_gdk_pango.rb +9 -0
- data/test/test_gdk_selection_data.rb +17 -0
- data/test/test_gdk_window.rb +29 -0
- data/test/test_gdk_window_attribute.rb +9 -0
- data/test/test_gtk_about_dialog.rb +14 -0
- data/test/test_gtk_buildable.rb +66 -0
- data/test/test_gtk_builder.rb +188 -0
- data/test/test_gtk_entry.rb +18 -0
- data/test/test_gtk_icon_theme.rb +30 -0
- data/test/test_gtk_image.rb +8 -0
- data/test/test_gtk_list_store.rb +65 -0
- data/test/test_gtk_menu_item.rb +13 -0
- data/test/test_gtk_rc_style.rb +14 -0
- data/test/test_gtk_tree_path.rb +20 -0
- data/test/test_gtk_unix_print.rb +14 -0
- data/test/test_gtk_widget.rb +32 -0
- data/vendor/local/bin/gtk-builder-convert +799 -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/gtk-update-icon-cache.exe.manifest +17 -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 +4 -0
- data/vendor/local/etc/gtk-2.0/gtkrc +1 -0
- data/vendor/local/etc/gtk-2.0/im-multipress.conf +22 -0
- data/vendor/local/include/gail-1.0/gail/gailwidget.h +65 -0
- data/vendor/local/include/gail-1.0/libgail-util/gail-util.h +2 -0
- data/vendor/local/include/gail-1.0/libgail-util/gailmisc.h +82 -0
- data/vendor/local/include/gail-1.0/libgail-util/gailtextutil.h +87 -0
- data/vendor/local/include/gtk-2.0/gdk/gdk.h +241 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h +76 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +59 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkcolor.h +176 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkcursor.h +168 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +229 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplaymanager.h +67 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +186 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +436 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkenumtypes.h +137 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkevents.h +566 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +138 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkgc.h +298 -0
- data/vendor/local/include/gtk-2.0/gdk/gdki18n.h +59 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkimage.h +145 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +192 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkkeys.h +134 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkkeysyms-compat.h +2208 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkkeysyms.h +2221 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpango.h +166 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpixbuf.h +115 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +136 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkprivate.h +60 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +128 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkregion.h +127 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkrgb.h +149 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkscreen.h +132 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkselection.h +111 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +64 -0
- data/vendor/local/include/gtk-2.0/gdk/gdktestutils.h +49 -0
- data/vendor/local/include/gtk-2.0/gdk/gdktypes.h +226 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkvisual.h +147 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +129 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +743 -0
- data/vendor/local/include/gtk-2.0/gtk/gtk.h +248 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +157 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaccelgroup.h +216 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaccellabel.h +114 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaccelmap.h +101 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaccessible.h +80 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaction.h +180 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkactiongroup.h +184 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkactivatable.h +88 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkadjustment.h +121 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkalignment.h +94 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkarrow.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaspectframe.h +84 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkassistant.h +176 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbbox.h +105 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbin.h +70 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbindings.h +158 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbox.h +159 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbuildable.h +176 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbuilder.h +143 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbutton.h +147 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcalendar.h +209 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcelleditable.h +64 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcelllayout.h +122 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderer.h +195 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendereraccel.h +92 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderercombo.h +64 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h +71 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererprogress.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererspin.h +57 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererspinner.h +67 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderertext.h +105 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderertoggle.h +85 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellview.h +81 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcheckbutton.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcheckmenuitem.h +102 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkclipboard.h +157 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkclist.h +792 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorbutton.h +103 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorsel.h +135 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorseldialog.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcombo.h +118 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +153 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +81 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcontainer.h +229 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkctree.h +445 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcurve.h +106 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkdebug.h +79 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkdialog.h +186 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkdnd.h +188 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkdrawingarea.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkeditable.h +117 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkentry.h +334 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkentrybuffer.h +133 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkentrycompletion.h +132 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkenums.h +584 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkeventbox.h +71 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkexpander.h +98 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooser.h +264 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h +92 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserdialog.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserwidget.h +67 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilefilter.h +83 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilesel.h +125 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfixed.h +90 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfontbutton.h +100 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfontsel.h +220 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkframe.h +96 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkgamma.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkgc.h +49 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhandlebox.h +112 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhbbox.h +80 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhbox.h +68 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhpaned.h +65 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +84 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhscale.h +71 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhscrollbar.h +70 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhseparator.h +68 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhsv.h +115 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkiconfactory.h +189 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkicontheme.h +198 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkiconview.h +242 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimage.h +274 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimagemenuitem.h +86 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimcontext.h +132 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimcontextsimple.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimmodule.h +58 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimmulticontext.h +78 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkinfobar.h +120 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkinputdialog.h +100 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkinvisible.h +78 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkitem.h +81 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkitemfactory.h +236 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklabel.h +207 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklayout.h +138 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +91 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklist.h +138 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklistitem.h +91 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkliststore.h +147 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +233 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmarshal.h +283 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmenu.h +219 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmenubar.h +92 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmenuitem.h +145 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmenushell.h +141 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h +89 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmessagedialog.h +135 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmisc.h +85 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmodules.h +54 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmountoperation.h +83 -0
- data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +317 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkobject.h +250 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkoffscreenwindow.h +60 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkoldeditable.h +126 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkoptionmenu.h +88 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkorientable.h +60 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkpagesetup.h +108 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkpaned.h +144 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkpapersize.h +101 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkpixmap.h +83 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkplug.h +105 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkpreview.h +137 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprintcontext.h +71 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprintoperation.h +207 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprintoperationpreview.h +80 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprintsettings.h +234 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprivate.h +157 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprogress.h +120 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprogressbar.h +172 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkradioaction.h +90 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkradiobutton.h +94 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkradiomenuitem.h +94 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkradiotoolbutton.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +215 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrc.h +271 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentaction.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooser.h +191 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooserdialog.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchoosermenu.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooserwidget.h +64 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentfilter.h +94 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentmanager.h +216 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +136 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkscale.h +111 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkscalebutton.h +112 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkscrollbar.h +72 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkscrolledwindow.h +136 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkselection.h +221 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkseparator.h +66 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkseparatormenuitem.h +68 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkseparatortoolitem.h +72 -0
- data/vendor/local/include/gtk-2.0/gtk/gtksettings.h +139 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkshow.h +39 -0
- data/vendor/local/include/gtk-2.0/gtk/gtksignal.h +149 -0
- data/vendor/local/include/gtk-2.0/gtk/gtksizegroup.h +111 -0
- data/vendor/local/include/gtk-2.0/gtk/gtksocket.h +102 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkspinbutton.h +196 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkspinner.h +65 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkstatusbar.h +117 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkstatusicon.h +157 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkstock.h +1016 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkstyle.h +945 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktable.h +151 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktearoffmenuitem.h +75 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktestutils.h +71 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktext.h +217 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextbuffer.h +409 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextbufferrichtext.h +96 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextchild.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextdisplay.h +112 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextiter.h +307 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextlayout.h +439 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextmark.h +106 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktexttag.h +289 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktexttagtable.h +101 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextview.h +376 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktipsquery.h +110 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoggleaction.h +91 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktogglebutton.h +97 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoggletoolbutton.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolbar.h +288 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolbutton.h +99 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolitem.h +142 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolitemgroup.h +99 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolpalette.h +144 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolshell.h +91 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktooltip.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktooltips.h +109 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktree.h +132 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreednd.h +125 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreeitem.h +90 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreemodel.h +270 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreemodelfilter.h +109 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreemodelsort.h +106 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreeselection.h +125 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreesortable.h +103 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreestore.h +159 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreeview.h +431 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreeviewcolumn.h +245 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktypebuiltins.h +335 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +264 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkuimanager.h +153 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvbbox.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvbox.h +68 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +51 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkviewport.h +93 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvolumebutton.h +72 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvpaned.h +65 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +84 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvscale.h +79 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvscrollbar.h +76 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvseparator.h +76 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +1351 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +452 -0
- data/vendor/local/lib/gailutil.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/include/gdkconfig.h +35 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gail.pc +11 -0
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +15 -0
- data/vendor/local/manifest/gtk+-dev_2.24.10-1_win32.mft +947 -0
- data/vendor/local/manifest/gtk+_2.24.10-1_win32.mft +225 -0
- data/vendor/local/share/aclocal/gtk-2.0.m4 +196 -0
- data/vendor/local/share/doc/gtk+-2.24.10/COPYING +482 -0
- data/vendor/local/share/doc/gtk+-dev-2.24.10/COPYING +482 -0
- data/vendor/local/share/gtk-2.0/demo/alphatest.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/apple-red.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/appwindow.c +591 -0
- data/vendor/local/share/gtk-2.0/demo/assistant.c +216 -0
- data/vendor/local/share/gtk-2.0/demo/background.jpg +0 -0
- data/vendor/local/share/gtk-2.0/demo/builder.c +68 -0
- data/vendor/local/share/gtk-2.0/demo/button_box.c +127 -0
- data/vendor/local/share/gtk-2.0/demo/changedisplay.c +643 -0
- data/vendor/local/share/gtk-2.0/demo/clipboard.c +326 -0
- data/vendor/local/share/gtk-2.0/demo/colorsel.c +142 -0
- data/vendor/local/share/gtk-2.0/demo/combobox.c +454 -0
- data/vendor/local/share/gtk-2.0/demo/demo.ui +258 -0
- data/vendor/local/share/gtk-2.0/demo/dialog.c +181 -0
- data/vendor/local/share/gtk-2.0/demo/drawingarea.c +308 -0
- data/vendor/local/share/gtk-2.0/demo/editable_cells.c +393 -0
- data/vendor/local/share/gtk-2.0/demo/entry_buffer.c +65 -0
- data/vendor/local/share/gtk-2.0/demo/entry_completion.c +97 -0
- data/vendor/local/share/gtk-2.0/demo/expander.c +58 -0
- data/vendor/local/share/gtk-2.0/demo/floppybuddy.gif +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-applets.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-calendar.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-foot.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-fs-directory.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-fs-regular.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-gimp.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-gmush.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-gsame.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnu-keys.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gtk-logo-rgb.gif +0 -0
- data/vendor/local/share/gtk-2.0/demo/hypertext.c +315 -0
- data/vendor/local/share/gtk-2.0/demo/iconview.c +372 -0
- data/vendor/local/share/gtk-2.0/demo/iconview_edit.c +159 -0
- data/vendor/local/share/gtk-2.0/demo/images.c +464 -0
- data/vendor/local/share/gtk-2.0/demo/infobar.c +104 -0
- data/vendor/local/share/gtk-2.0/demo/links.c +84 -0
- data/vendor/local/share/gtk-2.0/demo/list_store.c +295 -0
- data/vendor/local/share/gtk-2.0/demo/menus.c +210 -0
- data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +579 -0
- data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +500 -0
- data/vendor/local/share/gtk-2.0/demo/panes.c +194 -0
- data/vendor/local/share/gtk-2.0/demo/pickers.c +73 -0
- data/vendor/local/share/gtk-2.0/demo/pixbufs.c +270 -0
- data/vendor/local/share/gtk-2.0/demo/printing.c +212 -0
- data/vendor/local/share/gtk-2.0/demo/rotated_text.c +237 -0
- data/vendor/local/share/gtk-2.0/demo/search_entry.c +335 -0
- data/vendor/local/share/gtk-2.0/demo/sizegroup.c +167 -0
- data/vendor/local/share/gtk-2.0/demo/spinner.c +94 -0
- data/vendor/local/share/gtk-2.0/demo/stock_browser.c +546 -0
- data/vendor/local/share/gtk-2.0/demo/textscroll.c +200 -0
- data/vendor/local/share/gtk-2.0/demo/textview.c +569 -0
- data/vendor/local/share/gtk-2.0/demo/toolpalette.c +795 -0
- data/vendor/local/share/gtk-2.0/demo/tree_store.c +450 -0
- data/vendor/local/share/gtk-2.0/demo/ui_manager.c +237 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +449 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +275 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +30 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +44 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.sgml +27 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +41 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +1283 -0
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +262 -0
- data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +1526 -0
- data/vendor/local/share/gtk-doc/html/gdk/X_cursor.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +74 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +123 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +124 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +124 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +42 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +109 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +515 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +51 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +224 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +123 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +128 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +115 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +1012 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +3674 -0
- data/vendor/local/share/gtk-doc/html/gdk/arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/based_arrow_down.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/based_arrow_up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/boat.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/bogosity.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/bottom_left_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/bottom_right_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/bottom_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/bottom_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/box_spiral.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/center_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/circle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/clock.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/coffee_mug.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/cross_reverse.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/crosshair.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/diamond_cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/dot.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/dotbox.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/draft_large.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/draft_small.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/draped_box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/exchange.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/fleur.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +319 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +611 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +415 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +950 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +1137 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +911 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +2088 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +1690 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +1264 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +1449 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +1182 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +902 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +1653 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +824 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +960 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +297 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +1016 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +861 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +648 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +968 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +1005 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +657 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +210 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +933 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +827 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +6581 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +2486 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +1331 -0
- data/vendor/local/share/gtk-doc/html/gdk/gobbler.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/gumby.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/hand1.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/hand2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/heart.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/icon.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/index.html +143 -0
- data/vendor/local/share/gtk-doc/html/gdk/index.sgml +1446 -0
- data/vendor/local/share/gtk-doc/html/gdk/iron_cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/left_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/left_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/left_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/leftbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/ll_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/lr_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/man.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/middlebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/mouse.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/multihead.html +201 -0
- data/vendor/local/share/gtk-doc/html/gdk/pencil.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/pirate.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/plus.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/question_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/reference.html +131 -0
- data/vendor/local/share/gtk-doc/html/gdk/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/right_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/right_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/right_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/rightbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/rotated-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/rtl_logo.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sailboat.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_down_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_h_double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_left_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_right_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_up_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_v_double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/shuttle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sizing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/spider.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/spraycan.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/star.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gdk/target.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/tcross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/top_left_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/top_left_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/top_right_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/top_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/top_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/trek.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/ul_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/umbrella.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/ur_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/watch.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/xterm.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +77 -0
- data/vendor/local/share/gtk-doc/html/gtk/Actions.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk/Builder.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +83 -0
- data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +56 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +1423 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +340 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +147 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +1582 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +1222 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +856 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +807 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +390 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +205 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +238 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +1134 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +131 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +773 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +638 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +1121 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +1110 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +555 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +3832 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +2563 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +1059 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +270 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +520 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +1132 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +254 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +227 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +206 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +199 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +161 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +157 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +582 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +351 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +433 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +214 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +436 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +786 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +231 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +507 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +1555 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +298 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +328 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +1510 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +423 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +1323 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +251 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +662 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +3428 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +590 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +1128 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +292 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +739 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +3186 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +498 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +321 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +170 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +611 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +326 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +571 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +526 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +417 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +444 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +132 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +230 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +108 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +462 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +160 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +125 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +130 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +478 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +947 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +148 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +175 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +1410 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +2689 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +1501 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +456 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +714 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +200 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +197 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +235 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +1172 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +2086 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +577 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +390 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +972 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +438 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +1056 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +1353 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +412 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +882 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +671 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +431 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +786 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +313 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +2682 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +1217 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +186 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +501 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +333 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +937 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +242 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +760 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaperSize.html +820 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +239 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +357 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +652 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +513 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +527 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +2677 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +853 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +931 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +555 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +852 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +367 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +525 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +457 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +327 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +1389 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +267 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +1376 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +259 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +155 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +620 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +1564 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +357 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +537 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +571 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +187 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +738 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +90 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +110 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +211 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +1215 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +440 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +388 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +1260 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +203 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +1716 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +491 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +4192 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +759 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +135 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +3605 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextIter.html +2871 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +325 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +1157 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +381 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +3002 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +452 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +315 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +508 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +279 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +667 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +1147 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +705 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +1007 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +394 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +1851 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +414 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +450 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +767 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +266 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +2402 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +654 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +551 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +796 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +458 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +1028 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +4656 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +1845 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +1290 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +133 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +209 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +108 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +160 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +123 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +111 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +398 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +112 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +10064 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +4007 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +175 -0
- data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +74 -0
- data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +68 -0
- data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtk/Printing.html +59 -0
- data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +71 -0
- data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +266 -0
- data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +556 -0
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +104 -0
- data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +57 -0
- data/vendor/local/share/gtk-doc/html/gtk/aboutdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/accel-label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +2095 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +790 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +786 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +602 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +518 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +291 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +465 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +181 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +121 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +1858 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +1090 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +386 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +3401 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +22926 -0
- data/vendor/local/share/gtk-doc/html/gtk/application-exit.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/assistant.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/ch01.html +246 -0
- data/vendor/local/share/gtk-doc/html/gtk/ch02.html +154 -0
- data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +496 -0
- data/vendor/local/share/gtk-doc/html/gtk/check-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +84 -0
- data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +89 -0
- data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk/color-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/colorsel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/combo-box-entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/combo-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtk/dialog-error.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/dialog-information.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/dialog-password.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/dialog-question.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/dialog-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-new.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-open.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-print-preview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-print.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-properties.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-revert-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-revert-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-save-as.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-save.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/drive-harddisk.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-clear.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-copy.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-cut.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-delete.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-find-replace.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-find.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-paste.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-redo-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-redo-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-select-all.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-undo-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-undo-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/figure-hierarchical-drawing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/figure-windowed-label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/file-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/filechooser.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/folder.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/font-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/fontsel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-indent-less-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-indent-less-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-indent-more-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-indent-more-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-justify-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-justify-fill.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-justify-left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-justify-right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-text-bold.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-text-italic.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-text-strikethrough.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-text-underline.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/frame.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/glossary.html +312 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-bottom.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-down.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-first-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-first-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-jump-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-jump-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-last-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-last-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-next-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-next-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-previous-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-previous-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-top.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +522 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +857 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +1525 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +1419 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +285 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +346 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +1760 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +123 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +439 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +2571 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +979 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +169 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +1726 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +1601 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +1536 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +1357 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +1565 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +589 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +1497 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +1574 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-apply.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +86 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +441 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-cancel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-caps-lock-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +568 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +1175 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-color-picker.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +111 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-connect.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-convert.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +60 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-disconnect.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-dnd-multiple.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-dnd.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-edit.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-font.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +493 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +509 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-index.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +85 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +160 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +91 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +102 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +118 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +107 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +256 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +80 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +264 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +155 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +310 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +163 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +293 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +45 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +124 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-no.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-ok.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-orientation-landscape.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-orientation-portrait.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-orientation-reverse-landscape.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-orientation-reverse-portrait.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-page-setup.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-preferences.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +68 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +1422 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +143 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +344 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-select-color.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-undelete-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-undelete-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +87 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +134 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-yes.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +6465 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk.html +159 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +40 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +55 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +51 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +206 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +97 -0
- data/vendor/local/share/gtk-doc/html/gtk/help-about.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/help-contents.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/icon-view.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/image-missing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/image.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/index.html +875 -0
- data/vendor/local/share/gtk-doc/html/gtk/index.sgml +7988 -0
- data/vendor/local/share/gtk-doc/html/gtk/label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-btlr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-btrl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-lrbt.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-lrtb.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-rlbt.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-rltb.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-tblr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-tbrl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/link-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/list-add.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/list-and-tree.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/list-remove.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-floppy.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-optical.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-playback-pause.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-playback-start-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-playback-start-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-playback-stop.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-record.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-seek-backward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-seek-backward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-seek-forward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-seek-forward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-skip-backward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-skip-backward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-skip-forward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-skip-forward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/menubar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/messagedialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +94 -0
- data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +351 -0
- data/vendor/local/share/gtk-doc/html/gtk/migrating.html +104 -0
- data/vendor/local/share/gtk-doc/html/gtk/multiline-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/network-idle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +71 -0
- data/vendor/local/share/gtk-doc/html/gtk/notebook.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/pagesetupdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/panes.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/printdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/printer-error.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/printer-info.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/printer-paused.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/printer-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/process-stop.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/progressbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/pt05.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtk/radio-group.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/recentchooserdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/scales.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/scrolledwindow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/separator.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +77 -0
- data/vendor/local/share/gtk-doc/html/gtk/spinbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/spinner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/statusbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gtk/system-run.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/text-x-generic.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/toggle-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/toolbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/toolpalette.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/tools-check-spelling.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/tree-view-coordinates.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +45 -0
- data/vendor/local/share/gtk-doc/html/gtk/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/view-fullscreen.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/view-refresh.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/view-restore.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/view-sort-ascending.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/view-sort-descending.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/volumebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/window-close.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/window.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/zoom-fit-best.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/zoom-in.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/zoom-original.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/zoom-out.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/themes/Default/gtk-2.0-key/gtkrc +3 -0
- data/vendor/local/share/themes/Emacs/gtk-2.0-key/gtkrc +113 -0
- data/vendor/local/share/themes/MS-Windows/gtk-2.0/gtkrc +66 -0
- data/vendor/local/share/themes/Raleigh/gtk-2.0/gtkrc +3 -0
- data/vendor/local/src/dieterv/packaging/gtk+_2.24.10-1_win32.log +4954 -0
- data/vendor/local/src/dieterv/packaging/gtk+_2.24.10-1_win32.sh +99 -0
- metadata +1759 -0
@@ -0,0 +1,2571 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GtkPrintOperation</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
|
+
<link rel="up" href="Printing.html" title="Printing">
|
9
|
+
<link rel="prev" href="Printing.html" title="Printing">
|
10
|
+
<link rel="next" href="GtkPrintContext.html" title="GtkPrintContext">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="Printing.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="Printing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="GtkPrintContext.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#gtk-High-level-Printing-API.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#gtk-High-level-Printing-API.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#gtk-High-level-Printing-API.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#gtk-High-level-Printing-API.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#gtk-High-level-Printing-API.prerequisites" class="shortcut">Prerequisites</a>
|
33
|
+
|
|
34
|
+
<a href="#gtk-High-level-Printing-API.implementations" class="shortcut">Known Implementations</a>
|
35
|
+
|
|
36
|
+
<a href="#gtk-High-level-Printing-API.properties" class="shortcut">Properties</a>
|
37
|
+
|
|
38
|
+
<a href="#gtk-High-level-Printing-API.signals" class="shortcut">Signals</a>
|
39
|
+
</td></tr>
|
40
|
+
</table>
|
41
|
+
<div class="refentry">
|
42
|
+
<a name="gtk-High-level-Printing-API"></a><div class="titlepage"></div>
|
43
|
+
<div class="refnamediv"><table width="100%"><tr>
|
44
|
+
<td valign="top">
|
45
|
+
<h2><span class="refentrytitle"><a name="gtk-High-level-Printing-API.top_of_page"></a>GtkPrintOperation</span></h2>
|
46
|
+
<p>GtkPrintOperation — High-level Printing API</p>
|
47
|
+
</td>
|
48
|
+
<td valign="top" align="right"></td>
|
49
|
+
</tr></table></div>
|
50
|
+
<div class="refsynopsisdiv">
|
51
|
+
<a name="gtk-High-level-Printing-API.synopsis"></a><h2>Synopsis</h2>
|
52
|
+
<a name="GtkPrintOperation"></a><a name="GtkPrintOperationPreview"></a><pre class="synopsis">
|
53
|
+
#include <gtk/gtk.h>
|
54
|
+
|
55
|
+
struct <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-struct" title="struct GtkPrintOperation">GtkPrintOperation</a>;
|
56
|
+
enum <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintStatus" title="enum GtkPrintStatus">GtkPrintStatus</a>;
|
57
|
+
enum <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationAction" title="enum GtkPrintOperationAction">GtkPrintOperationAction</a>;
|
58
|
+
enum <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationResult" title="enum GtkPrintOperationResult">GtkPrintOperationResult</a>;
|
59
|
+
enum <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintError" title="enum GtkPrintError">GtkPrintError</a>;
|
60
|
+
#define <a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-ERROR:CAPS" title="GTK_PRINT_ERROR">GTK_PRINT_ERROR</a>
|
61
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="returnvalue">GtkPrintOperation</span></a> * <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-new" title="gtk_print_operation_new ()">gtk_print_operation_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
62
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-allow-async" title="gtk_print_operation_set_allow_async ()">gtk_print_operation_set_allow_async</a> (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
63
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_async</code></em>);
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-error" title="gtk_print_operation_get_error ()">gtk_print_operation_get_error</a> (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
65
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
66
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-default-page-setup" title="gtk_print_operation_set_default_page_setup ()">gtk_print_operation_set_default_page_setup</a>
|
67
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
68
|
+
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *default_page_setup</code></em>);
|
69
|
+
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-default-page-setup" title="gtk_print_operation_get_default_page_setup ()">gtk_print_operation_get_default_page_setup</a>
|
70
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
71
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-print-settings" title="gtk_print_operation_set_print_settings ()">gtk_print_operation_set_print_settings</a>
|
72
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
73
|
+
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *print_settings</code></em>);
|
74
|
+
<a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="returnvalue">GtkPrintSettings</span></a> * <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-print-settings" title="gtk_print_operation_get_print_settings ()">gtk_print_operation_get_print_settings</a>
|
75
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
76
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-job-name" title="gtk_print_operation_set_job_name ()">gtk_print_operation_set_job_name</a> (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
77
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *job_name</code></em>);
|
78
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-n-pages" title="gtk_print_operation_set_n_pages ()">gtk_print_operation_set_n_pages</a> (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
79
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_pages</code></em>);
|
80
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-n-pages-to-print" title="gtk_print_operation_get_n_pages_to_print ()">gtk_print_operation_get_n_pages_to_print</a>
|
81
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
82
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-current-page" title="gtk_print_operation_set_current_page ()">gtk_print_operation_set_current_page</a>
|
83
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
84
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> current_page</code></em>);
|
85
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-use-full-page" title="gtk_print_operation_set_use_full_page ()">gtk_print_operation_set_use_full_page</a>
|
86
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
87
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> full_page</code></em>);
|
88
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-unit" title="gtk_print_operation_set_unit ()">gtk_print_operation_set_unit</a> (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
89
|
+
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);
|
90
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-export-filename" title="gtk_print_operation_set_export_filename ()">gtk_print_operation_set_export_filename</a>
|
91
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
92
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
|
93
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-show-progress" title="gtk_print_operation_set_show_progress ()">gtk_print_operation_set_show_progress</a>
|
94
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
95
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_progress</code></em>);
|
96
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-track-print-status" title="gtk_print_operation_set_track_print_status ()">gtk_print_operation_set_track_print_status</a>
|
97
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
98
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> track_status</code></em>);
|
99
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-custom-tab-label" title="gtk_print_operation_set_custom_tab_label ()">gtk_print_operation_set_custom_tab_label</a>
|
100
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
101
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
|
102
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationResult" title="enum GtkPrintOperationResult"><span class="returnvalue">GtkPrintOperationResult</span></a> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()">gtk_print_operation_run</a> (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
103
|
+
<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationAction" title="enum GtkPrintOperationAction"><span class="type">GtkPrintOperationAction</span></a> action</code></em>,
|
104
|
+
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
105
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
106
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-cancel" title="gtk_print_operation_cancel ()">gtk_print_operation_cancel</a> (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
107
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-draw-page-finish" title="gtk_print_operation_draw_page_finish ()">gtk_print_operation_draw_page_finish</a>
|
108
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
109
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-defer-drawing" title="gtk_print_operation_set_defer_drawing ()">gtk_print_operation_set_defer_drawing</a>
|
110
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
111
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintStatus" title="enum GtkPrintStatus"><span class="returnvalue">GtkPrintStatus</span></a> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-status" title="gtk_print_operation_get_status ()">gtk_print_operation_get_status</a> (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
112
|
+
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-status-string" title="gtk_print_operation_get_status_string ()">gtk_print_operation_get_status_string</a>
|
113
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
114
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-is-finished" title="gtk_print_operation_is_finished ()">gtk_print_operation_is_finished</a> (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
115
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-support-selection" title="gtk_print_operation_set_support_selection ()">gtk_print_operation_set_support_selection</a>
|
116
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
117
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> support_selection</code></em>);
|
118
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-support-selection" title="gtk_print_operation_get_support_selection ()">gtk_print_operation_get_support_selection</a>
|
119
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
120
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-has-selection" title="gtk_print_operation_set_has_selection ()">gtk_print_operation_set_has_selection</a>
|
121
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
122
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_selection</code></em>);
|
123
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-has-selection" title="gtk_print_operation_get_has_selection ()">gtk_print_operation_get_has_selection</a>
|
124
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
125
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-embed-page-setup" title="gtk_print_operation_set_embed_page_setup ()">gtk_print_operation_set_embed_page_setup</a>
|
126
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
127
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> embed</code></em>);
|
128
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-embed-page-setup" title="gtk_print_operation_get_embed_page_setup ()">gtk_print_operation_get_embed_page_setup</a>
|
129
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);
|
130
|
+
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-run-page-setup-dialog" title="gtk_print_run_page_setup_dialog ()">gtk_print_run_page_setup_dialog</a> (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
131
|
+
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
132
|
+
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings</code></em>);
|
133
|
+
<span class="returnvalue">void</span> (<a class="link" href="gtk-High-level-Printing-API.html#GtkPageSetupDoneFunc" title="GtkPageSetupDoneFunc ()">*GtkPageSetupDoneFunc</a>) (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
134
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
135
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-run-page-setup-dialog-async" title="gtk_print_run_page_setup_dialog_async ()">gtk_print_run_page_setup_dialog_async</a>
|
136
|
+
(<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
137
|
+
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
138
|
+
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings</code></em>,
|
139
|
+
<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPageSetupDoneFunc" title="GtkPageSetupDoneFunc ()"><span class="type">GtkPageSetupDoneFunc</span></a> done_cb</code></em>,
|
140
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
|
141
|
+
|
142
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview-struct" title="GtkPrintOperationPreview">GtkPrintOperationPreview</a>;
|
143
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-preview-end-preview" title="gtk_print_operation_preview_end_preview ()">gtk_print_operation_preview_end_preview</a>
|
144
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>);
|
145
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-preview-is-selected" title="gtk_print_operation_preview_is_selected ()">gtk_print_operation_preview_is_selected</a>
|
146
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>,
|
147
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);
|
148
|
+
<span class="returnvalue">void</span> <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-preview-render-page" title="gtk_print_operation_preview_render_page ()">gtk_print_operation_preview_render_page</a>
|
149
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>,
|
150
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);
|
151
|
+
</pre>
|
152
|
+
</div>
|
153
|
+
<div class="refsect1">
|
154
|
+
<a name="gtk-High-level-Printing-API.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
155
|
+
<pre class="synopsis">
|
156
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
157
|
+
+----GtkPrintOperation
|
158
|
+
</pre>
|
159
|
+
<pre class="synopsis">
|
160
|
+
GInterface
|
161
|
+
+----GtkPrintOperationPreview
|
162
|
+
</pre>
|
163
|
+
</div>
|
164
|
+
<div class="refsect1">
|
165
|
+
<a name="gtk-High-level-Printing-API.prerequisites"></a><h2>Prerequisites</h2>
|
166
|
+
<p>
|
167
|
+
GtkPrintOperationPreview requires
|
168
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
|
169
|
+
</div>
|
170
|
+
<div class="refsect1">
|
171
|
+
<a name="gtk-High-level-Printing-API.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
172
|
+
<p>
|
173
|
+
GtkPrintOperation implements
|
174
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview">GtkPrintOperationPreview</a>.</p>
|
175
|
+
</div>
|
176
|
+
<div class="refsect1">
|
177
|
+
<a name="gtk-High-level-Printing-API.implementations"></a><h2>Known Implementations</h2>
|
178
|
+
<p>
|
179
|
+
GtkPrintOperationPreview is implemented by
|
180
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation">GtkPrintOperation</a>.</p>
|
181
|
+
</div>
|
182
|
+
<div class="refsect1">
|
183
|
+
<a name="gtk-High-level-Printing-API.properties"></a><h2>Properties</h2>
|
184
|
+
<pre class="synopsis">
|
185
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--allow-async" title='The "allow-async" property'>allow-async</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
186
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--current-page" title='The "current-page" property'>current-page</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
187
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--custom-tab-label" title='The "custom-tab-label" property'>custom-tab-label</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
188
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--default-page-setup" title='The "default-page-setup" property'>default-page-setup</a>" <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>* : Read / Write
|
189
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--embed-page-setup" title='The "embed-page-setup" property'>embed-page-setup</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
190
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--export-filename" title='The "export-filename" property'>export-filename</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
191
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--has-selection" title='The "has-selection" property'>has-selection</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
192
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--job-name" title='The "job-name" property'>job-name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
193
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--n-pages" title='The "n-pages" property'>n-pages</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
|
194
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--n-pages-to-print" title='The "n-pages-to-print" property'>n-pages-to-print</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
|
195
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--print-settings" title='The "print-settings" property'>print-settings</a>" <a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a>* : Read / Write
|
196
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--show-progress" title='The "show-progress" property'>show-progress</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
197
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--status" title='The "status" property'>status</a>" <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintStatus" title="enum GtkPrintStatus"><span class="type">GtkPrintStatus</span></a> : Read
|
198
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--status-string" title='The "status-string" property'>status-string</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
|
199
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--support-selection" title='The "support-selection" property'>support-selection</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
200
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--track-print-status" title='The "track-print-status" property'>track-print-status</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
201
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--unit" title='The "unit" property'>unit</a>" <a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> : Read / Write
|
202
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--use-full-page" title='The "use-full-page" property'>use-full-page</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
203
|
+
</pre>
|
204
|
+
</div>
|
205
|
+
<div class="refsect1">
|
206
|
+
<a name="gtk-High-level-Printing-API.signals"></a><h2>Signals</h2>
|
207
|
+
<pre class="synopsis">
|
208
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-begin-print" title='The "begin-print" signal'>begin-print</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
209
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-create-custom-widget" title='The "create-custom-widget" signal'>create-custom-widget</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
210
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-custom-widget-apply" title='The "custom-widget-apply" signal'>custom-widget-apply</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
211
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-done" title='The "done" signal'>done</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
212
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-draw-page" title='The "draw-page" signal'>draw-page</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
213
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-end-print" title='The "end-print" signal'>end-print</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
214
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-paginate" title='The "paginate" signal'>paginate</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
215
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-preview" title='The "preview" signal'>preview</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
216
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-request-page-setup" title='The "request-page-setup" signal'>request-page-setup</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
217
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-status-changed" title='The "status-changed" signal'>status-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
218
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-update-custom-widget" title='The "update-custom-widget" signal'>update-custom-widget</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
219
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview-got-page-size" title='The "got-page-size" signal'>got-page-size</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
220
|
+
"<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview-ready" title='The "ready" signal'>ready</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
221
|
+
</pre>
|
222
|
+
</div>
|
223
|
+
<div class="refsect1">
|
224
|
+
<a name="gtk-High-level-Printing-API.description"></a><h2>Description</h2>
|
225
|
+
<p>
|
226
|
+
GtkPrintOperation is the high-level, portable printing API. It looks
|
227
|
+
a bit different than other GTK+ dialogs such as the <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>,
|
228
|
+
since some platforms don't expose enough infrastructure to implement
|
229
|
+
a good print dialog. On such platforms, GtkPrintOperation uses the
|
230
|
+
native print dialog. On platforms which do not provide a native
|
231
|
+
print dialog, GTK+ uses its own, see <a class="link" href="GtkPrintUnixDialog.html" title="GtkPrintUnixDialog"><span class="type">GtkPrintUnixDialog</span></a>.
|
232
|
+
</p>
|
233
|
+
<p>
|
234
|
+
The typical way to use the high-level printing API is to create a
|
235
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> object with <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-new" title="gtk_print_operation_new ()"><code class="function">gtk_print_operation_new()</code></a> when the user
|
236
|
+
selects to print. Then you set some properties on it, e.g. the page size,
|
237
|
+
any <a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> from previous print operations, the number of pages,
|
238
|
+
the current page, etc.
|
239
|
+
</p>
|
240
|
+
<p>
|
241
|
+
Then you start the print operation by calling <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>.
|
242
|
+
It will then show a dialog, let the user select a printer and options.
|
243
|
+
When the user finished the dialog various signals will be emitted on the
|
244
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>, the main one being ::draw-page, which you are supposed
|
245
|
+
to catch and render the page on the provided <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> using Cairo.
|
246
|
+
</p>
|
247
|
+
<div class="example">
|
248
|
+
<a name="id1162122"></a><p class="title"><b>Example 49. The high-level printing API</b></p>
|
249
|
+
<div class="example-contents">
|
250
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
251
|
+
<tbody>
|
252
|
+
<tr>
|
253
|
+
<td class="listing_lines" align="right"><pre>1
|
254
|
+
2
|
255
|
+
3
|
256
|
+
4
|
257
|
+
5
|
258
|
+
6
|
259
|
+
7
|
260
|
+
8
|
261
|
+
9
|
262
|
+
10
|
263
|
+
11
|
264
|
+
12
|
265
|
+
13
|
266
|
+
14
|
267
|
+
15
|
268
|
+
16
|
269
|
+
17
|
270
|
+
18
|
271
|
+
19
|
272
|
+
20
|
273
|
+
21</pre></td>
|
274
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="usertype">GtkPrintSettings</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">settings </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
275
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
276
|
+
<span class="function">do_print</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
|
277
|
+
<span class="cbracket">{</span>
|
278
|
+
<span class="normal"> </span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">print</span><span class="symbol">;</span>
|
279
|
+
<span class="normal"> </span><span class="usertype">GtkPrintOperationResult</span><span class="normal"> res</span><span class="symbol">;</span>
|
280
|
+
<span class="normal"> print </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk-High-level-Printing-API.html#gtk-print-operation-new">gtk_print_operation_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
281
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
282
|
+
<span class="normal"> </span><span class="function"><a href="gtk-High-level-Printing-API.html#gtk-print-operation-set-print-settings">gtk_print_operation_set_print_settings</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> settings</span><span class="symbol">);</span>
|
283
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"begin_print"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">begin_print</span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
284
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"draw_page"</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">draw_page</span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
285
|
+
<span class="normal"> res </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk-High-level-Printing-API.html#gtk-print-operation-run">gtk_print_operation_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> <a href="gtk-High-level-Printing-API.html#GTK-PRINT-OPERATION-ACTION-PRINT-DIALOG:CAPS">GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG</a></span><span class="symbol">,</span>
|
286
|
+
<span class="normal"> </span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">main_window</span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
287
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">res </span><span class="symbol">==</span><span class="normal"> <a href="gtk-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-APPLY:CAPS">GTK_PRINT_OPERATION_RESULT_APPLY</a></span><span class="symbol">)</span>
|
288
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
289
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
290
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/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">settings</span><span class="symbol">);</span>
|
291
|
+
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gtk-High-level-Printing-API.html#gtk-print-operation-get-print-settings">gtk_print_operation_get_print_settings</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">));</span>
|
292
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
293
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/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">print</span><span class="symbol">);</span>
|
294
|
+
<span class="cbracket">}</span></pre></td>
|
295
|
+
</tr>
|
296
|
+
</tbody>
|
297
|
+
</table>
|
298
|
+
</div>
|
299
|
+
|
300
|
+
</div>
|
301
|
+
<br class="example-break"><p>
|
302
|
+
By default GtkPrintOperation uses an external application to do
|
303
|
+
print preview. To implement a custom print preview, an application
|
304
|
+
must connect to the preview signal. The functions
|
305
|
+
<code class="function">gtk_print_operation_print_preview_render_page()</code>,
|
306
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-preview-end-preview" title="gtk_print_operation_preview_end_preview ()"><code class="function">gtk_print_operation_preview_end_preview()</code></a> and
|
307
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-preview-is-selected" title="gtk_print_operation_preview_is_selected ()"><code class="function">gtk_print_operation_preview_is_selected()</code></a> are useful
|
308
|
+
when implementing a print preview.
|
309
|
+
</p>
|
310
|
+
<p>
|
311
|
+
Printing support was added in GTK+ 2.10.
|
312
|
+
</p>
|
313
|
+
</div>
|
314
|
+
<div class="refsect1">
|
315
|
+
<a name="gtk-High-level-Printing-API.details"></a><h2>Details</h2>
|
316
|
+
<div class="refsect2">
|
317
|
+
<a name="GtkPrintOperation-struct"></a><h3>struct GtkPrintOperation</h3>
|
318
|
+
<pre class="programlisting">struct GtkPrintOperation;</pre>
|
319
|
+
<p>
|
320
|
+
</p>
|
321
|
+
</div>
|
322
|
+
<hr>
|
323
|
+
<div class="refsect2">
|
324
|
+
<a name="GtkPrintStatus"></a><h3>enum GtkPrintStatus</h3>
|
325
|
+
<pre class="programlisting">typedef enum {
|
326
|
+
GTK_PRINT_STATUS_INITIAL,
|
327
|
+
GTK_PRINT_STATUS_PREPARING,
|
328
|
+
GTK_PRINT_STATUS_GENERATING_DATA,
|
329
|
+
GTK_PRINT_STATUS_SENDING_DATA,
|
330
|
+
GTK_PRINT_STATUS_PENDING,
|
331
|
+
GTK_PRINT_STATUS_PENDING_ISSUE,
|
332
|
+
GTK_PRINT_STATUS_PRINTING,
|
333
|
+
GTK_PRINT_STATUS_FINISHED,
|
334
|
+
GTK_PRINT_STATUS_FINISHED_ABORTED
|
335
|
+
} GtkPrintStatus;
|
336
|
+
</pre>
|
337
|
+
<p>
|
338
|
+
The status gives a rough indication of the completion
|
339
|
+
of a running print operation.
|
340
|
+
</p>
|
341
|
+
<div class="variablelist"><table border="0">
|
342
|
+
<col align="left" valign="top">
|
343
|
+
<tbody>
|
344
|
+
<tr>
|
345
|
+
<td><p><a name="GTK-PRINT-STATUS-INITIAL:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_STATUS_INITIAL</code></span></p></td>
|
346
|
+
<td>The printing has not started yet; this
|
347
|
+
status is set initially, and while the print dialog is shown.
|
348
|
+
</td>
|
349
|
+
</tr>
|
350
|
+
<tr>
|
351
|
+
<td><p><a name="GTK-PRINT-STATUS-PREPARING:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_STATUS_PREPARING</code></span></p></td>
|
352
|
+
<td>This status is set while the begin-print
|
353
|
+
signal is emitted and during pagination.
|
354
|
+
</td>
|
355
|
+
</tr>
|
356
|
+
<tr>
|
357
|
+
<td><p><a name="GTK-PRINT-STATUS-GENERATING-DATA:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_STATUS_GENERATING_DATA</code></span></p></td>
|
358
|
+
<td>This status is set while the
|
359
|
+
pages are being rendered.
|
360
|
+
</td>
|
361
|
+
</tr>
|
362
|
+
<tr>
|
363
|
+
<td><p><a name="GTK-PRINT-STATUS-SENDING-DATA:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_STATUS_SENDING_DATA</code></span></p></td>
|
364
|
+
<td>The print job is being sent off to the
|
365
|
+
printer.
|
366
|
+
</td>
|
367
|
+
</tr>
|
368
|
+
<tr>
|
369
|
+
<td><p><a name="GTK-PRINT-STATUS-PENDING:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_STATUS_PENDING</code></span></p></td>
|
370
|
+
<td>The print job has been sent to the printer,
|
371
|
+
but is not printed for some reason, e.g. the printer may be stopped.
|
372
|
+
</td>
|
373
|
+
</tr>
|
374
|
+
<tr>
|
375
|
+
<td><p><a name="GTK-PRINT-STATUS-PENDING-ISSUE:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_STATUS_PENDING_ISSUE</code></span></p></td>
|
376
|
+
<td>Some problem has occurred during
|
377
|
+
printing, e.g. a paper jam.
|
378
|
+
</td>
|
379
|
+
</tr>
|
380
|
+
<tr>
|
381
|
+
<td><p><a name="GTK-PRINT-STATUS-PRINTING:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_STATUS_PRINTING</code></span></p></td>
|
382
|
+
<td>The printer is processing the print job.
|
383
|
+
</td>
|
384
|
+
</tr>
|
385
|
+
<tr>
|
386
|
+
<td><p><a name="GTK-PRINT-STATUS-FINISHED:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_STATUS_FINISHED</code></span></p></td>
|
387
|
+
<td>The printing has been completed successfully.
|
388
|
+
</td>
|
389
|
+
</tr>
|
390
|
+
<tr>
|
391
|
+
<td><p><a name="GTK-PRINT-STATUS-FINISHED-ABORTED:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_STATUS_FINISHED_ABORTED</code></span></p></td>
|
392
|
+
<td>The printing has been aborted.
|
393
|
+
</td>
|
394
|
+
</tr>
|
395
|
+
</tbody>
|
396
|
+
</table></div>
|
397
|
+
</div>
|
398
|
+
<hr>
|
399
|
+
<div class="refsect2">
|
400
|
+
<a name="GtkPrintOperationAction"></a><h3>enum GtkPrintOperationAction</h3>
|
401
|
+
<pre class="programlisting">typedef enum {
|
402
|
+
GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG,
|
403
|
+
GTK_PRINT_OPERATION_ACTION_PRINT,
|
404
|
+
GTK_PRINT_OPERATION_ACTION_PREVIEW,
|
405
|
+
GTK_PRINT_OPERATION_ACTION_EXPORT
|
406
|
+
} GtkPrintOperationAction;
|
407
|
+
</pre>
|
408
|
+
<p>
|
409
|
+
The <em class="parameter"><code>action</code></em> parameter to <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>
|
410
|
+
determines what action the print operation should perform.
|
411
|
+
</p>
|
412
|
+
<div class="variablelist"><table border="0">
|
413
|
+
<col align="left" valign="top">
|
414
|
+
<tbody>
|
415
|
+
<tr>
|
416
|
+
<td><p><a name="GTK-PRINT-OPERATION-ACTION-PRINT-DIALOG:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG</code></span></p></td>
|
417
|
+
<td>Show the print dialog.
|
418
|
+
</td>
|
419
|
+
</tr>
|
420
|
+
<tr>
|
421
|
+
<td><p><a name="GTK-PRINT-OPERATION-ACTION-PRINT:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_OPERATION_ACTION_PRINT</code></span></p></td>
|
422
|
+
<td>Start to print without showing
|
423
|
+
the print dialog, based on the current print settings.
|
424
|
+
</td>
|
425
|
+
</tr>
|
426
|
+
<tr>
|
427
|
+
<td><p><a name="GTK-PRINT-OPERATION-ACTION-PREVIEW:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_OPERATION_ACTION_PREVIEW</code></span></p></td>
|
428
|
+
<td>Show the print preview.
|
429
|
+
</td>
|
430
|
+
</tr>
|
431
|
+
<tr>
|
432
|
+
<td><p><a name="GTK-PRINT-OPERATION-ACTION-EXPORT:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_OPERATION_ACTION_EXPORT</code></span></p></td>
|
433
|
+
<td>Export to a file. This requires
|
434
|
+
the export-filename property to be set.
|
435
|
+
</td>
|
436
|
+
</tr>
|
437
|
+
</tbody>
|
438
|
+
</table></div>
|
439
|
+
</div>
|
440
|
+
<hr>
|
441
|
+
<div class="refsect2">
|
442
|
+
<a name="GtkPrintOperationResult"></a><h3>enum GtkPrintOperationResult</h3>
|
443
|
+
<pre class="programlisting">typedef enum {
|
444
|
+
GTK_PRINT_OPERATION_RESULT_ERROR,
|
445
|
+
GTK_PRINT_OPERATION_RESULT_APPLY,
|
446
|
+
GTK_PRINT_OPERATION_RESULT_CANCEL,
|
447
|
+
GTK_PRINT_OPERATION_RESULT_IN_PROGRESS
|
448
|
+
} GtkPrintOperationResult;
|
449
|
+
</pre>
|
450
|
+
<p>
|
451
|
+
A value of this type is returned by <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>.
|
452
|
+
</p>
|
453
|
+
<div class="variablelist"><table border="0">
|
454
|
+
<col align="left" valign="top">
|
455
|
+
<tbody>
|
456
|
+
<tr>
|
457
|
+
<td><p><a name="GTK-PRINT-OPERATION-RESULT-ERROR:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_OPERATION_RESULT_ERROR</code></span></p></td>
|
458
|
+
<td>An error has occured.
|
459
|
+
</td>
|
460
|
+
</tr>
|
461
|
+
<tr>
|
462
|
+
<td><p><a name="GTK-PRINT-OPERATION-RESULT-APPLY:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_OPERATION_RESULT_APPLY</code></span></p></td>
|
463
|
+
<td>The print settings should be stored.
|
464
|
+
</td>
|
465
|
+
</tr>
|
466
|
+
<tr>
|
467
|
+
<td><p><a name="GTK-PRINT-OPERATION-RESULT-CANCEL:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_OPERATION_RESULT_CANCEL</code></span></p></td>
|
468
|
+
<td>The print operation has been canceled,
|
469
|
+
the print settings should not be stored.
|
470
|
+
</td>
|
471
|
+
</tr>
|
472
|
+
<tr>
|
473
|
+
<td><p><a name="GTK-PRINT-OPERATION-RESULT-IN-PROGRESS:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_OPERATION_RESULT_IN_PROGRESS</code></span></p></td>
|
474
|
+
<td>The print operation is not complete
|
475
|
+
yet. This value will only be returned when running asynchronously.
|
476
|
+
</td>
|
477
|
+
</tr>
|
478
|
+
</tbody>
|
479
|
+
</table></div>
|
480
|
+
</div>
|
481
|
+
<hr>
|
482
|
+
<div class="refsect2">
|
483
|
+
<a name="GtkPrintError"></a><h3>enum GtkPrintError</h3>
|
484
|
+
<pre class="programlisting">typedef enum {
|
485
|
+
GTK_PRINT_ERROR_GENERAL,
|
486
|
+
GTK_PRINT_ERROR_INTERNAL_ERROR,
|
487
|
+
GTK_PRINT_ERROR_NOMEM,
|
488
|
+
GTK_PRINT_ERROR_INVALID_FILE
|
489
|
+
} GtkPrintError;
|
490
|
+
</pre>
|
491
|
+
<p>
|
492
|
+
Error codes that identify various errors that can occur while
|
493
|
+
using the GTK+ printing support.
|
494
|
+
</p>
|
495
|
+
<div class="variablelist"><table border="0">
|
496
|
+
<col align="left" valign="top">
|
497
|
+
<tbody>
|
498
|
+
<tr>
|
499
|
+
<td><p><a name="GTK-PRINT-ERROR-GENERAL:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_ERROR_GENERAL</code></span></p></td>
|
500
|
+
<td>An unspecified error occurred.
|
501
|
+
</td>
|
502
|
+
</tr>
|
503
|
+
<tr>
|
504
|
+
<td><p><a name="GTK-PRINT-ERROR-INTERNAL-ERROR:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_ERROR_INTERNAL_ERROR</code></span></p></td>
|
505
|
+
<td>An internal error occurred.
|
506
|
+
</td>
|
507
|
+
</tr>
|
508
|
+
<tr>
|
509
|
+
<td><p><a name="GTK-PRINT-ERROR-NOMEM:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_ERROR_NOMEM</code></span></p></td>
|
510
|
+
<td>A memory allocation failed.
|
511
|
+
</td>
|
512
|
+
</tr>
|
513
|
+
<tr>
|
514
|
+
<td><p><a name="GTK-PRINT-ERROR-INVALID-FILE:CAPS"></a><span class="term"><code class="literal">GTK_PRINT_ERROR_INVALID_FILE</code></span></p></td>
|
515
|
+
<td>An error occurred while loading a page setup
|
516
|
+
or paper size from a key file.
|
517
|
+
</td>
|
518
|
+
</tr>
|
519
|
+
</tbody>
|
520
|
+
</table></div>
|
521
|
+
</div>
|
522
|
+
<hr>
|
523
|
+
<div class="refsect2">
|
524
|
+
<a name="GTK-PRINT-ERROR:CAPS"></a><h3>GTK_PRINT_ERROR</h3>
|
525
|
+
<pre class="programlisting">#define GTK_PRINT_ERROR gtk_print_error_quark ()
|
526
|
+
</pre>
|
527
|
+
<p>
|
528
|
+
The <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> used for <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintError" title="enum GtkPrintError"><span class="type">GtkPrintError</span></a> errors.
|
529
|
+
</p>
|
530
|
+
</div>
|
531
|
+
<hr>
|
532
|
+
<div class="refsect2">
|
533
|
+
<a name="gtk-print-operation-new"></a><h3>gtk_print_operation_new ()</h3>
|
534
|
+
<pre class="programlisting"><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="returnvalue">GtkPrintOperation</span></a> * gtk_print_operation_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
535
|
+
<p>
|
536
|
+
Creates a new <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>.
|
537
|
+
</p>
|
538
|
+
<div class="variablelist"><table border="0">
|
539
|
+
<col align="left" valign="top">
|
540
|
+
<tbody><tr>
|
541
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
542
|
+
<td>a new <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
543
|
+
</td>
|
544
|
+
</tr></tbody>
|
545
|
+
</table></div>
|
546
|
+
<p class="since">Since 2.10</p>
|
547
|
+
</div>
|
548
|
+
<hr>
|
549
|
+
<div class="refsect2">
|
550
|
+
<a name="gtk-print-operation-set-allow-async"></a><h3>gtk_print_operation_set_allow_async ()</h3>
|
551
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_allow_async (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
552
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allow_async</code></em>);</pre>
|
553
|
+
<p>
|
554
|
+
Sets whether the <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a> may return
|
555
|
+
before the print operation is completed. Note that
|
556
|
+
some platforms may not allow asynchronous operation.
|
557
|
+
</p>
|
558
|
+
<div class="variablelist"><table border="0">
|
559
|
+
<col align="left" valign="top">
|
560
|
+
<tbody>
|
561
|
+
<tr>
|
562
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
563
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
564
|
+
</td>
|
565
|
+
</tr>
|
566
|
+
<tr>
|
567
|
+
<td><p><span class="term"><em class="parameter"><code>allow_async</code></em> :</span></p></td>
|
568
|
+
<td>
|
569
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to allow asynchronous operation</td>
|
570
|
+
</tr>
|
571
|
+
</tbody>
|
572
|
+
</table></div>
|
573
|
+
<p class="since">Since 2.10</p>
|
574
|
+
</div>
|
575
|
+
<hr>
|
576
|
+
<div class="refsect2">
|
577
|
+
<a name="gtk-print-operation-get-error"></a><h3>gtk_print_operation_get_error ()</h3>
|
578
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_get_error (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
579
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
580
|
+
<p>
|
581
|
+
Call this when the result of a print operation is
|
582
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-ERROR:CAPS"><code class="literal">GTK_PRINT_OPERATION_RESULT_ERROR</code></a>, either as returned by
|
583
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>, or in the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-done" title='The "done" signal'><span class="type">"done"</span></a> signal
|
584
|
+
handler. The returned <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> will contain more details on what went wrong.
|
585
|
+
</p>
|
586
|
+
<div class="variablelist"><table border="0">
|
587
|
+
<col align="left" valign="top">
|
588
|
+
<tbody>
|
589
|
+
<tr>
|
590
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
591
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
592
|
+
</td>
|
593
|
+
</tr>
|
594
|
+
<tr>
|
595
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
596
|
+
<td>return location for the error</td>
|
597
|
+
</tr>
|
598
|
+
</tbody>
|
599
|
+
</table></div>
|
600
|
+
<p class="since">Since 2.10</p>
|
601
|
+
</div>
|
602
|
+
<hr>
|
603
|
+
<div class="refsect2">
|
604
|
+
<a name="gtk-print-operation-set-default-page-setup"></a><h3>gtk_print_operation_set_default_page_setup ()</h3>
|
605
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_default_page_setup
|
606
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
607
|
+
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *default_page_setup</code></em>);</pre>
|
608
|
+
<p>
|
609
|
+
Makes <em class="parameter"><code>default_page_setup</code></em> the default page setup for <em class="parameter"><code>op</code></em>.
|
610
|
+
</p>
|
611
|
+
<p>
|
612
|
+
This page setup will be used by <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>,
|
613
|
+
but it can be overridden on a per-page basis by connecting
|
614
|
+
to the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-request-page-setup" title='The "request-page-setup" signal'><span class="type">"request-page-setup"</span></a> signal.
|
615
|
+
</p>
|
616
|
+
<div class="variablelist"><table border="0">
|
617
|
+
<col align="left" valign="top">
|
618
|
+
<tbody>
|
619
|
+
<tr>
|
620
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
621
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
622
|
+
</td>
|
623
|
+
</tr>
|
624
|
+
<tr>
|
625
|
+
<td><p><span class="term"><em class="parameter"><code>default_page_setup</code></em> :</span></p></td>
|
626
|
+
<td>a <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
627
|
+
</td>
|
628
|
+
</tr>
|
629
|
+
</tbody>
|
630
|
+
</table></div>
|
631
|
+
<p class="since">Since 2.10</p>
|
632
|
+
</div>
|
633
|
+
<hr>
|
634
|
+
<div class="refsect2">
|
635
|
+
<a name="gtk-print-operation-get-default-page-setup"></a><h3>gtk_print_operation_get_default_page_setup ()</h3>
|
636
|
+
<pre class="programlisting"><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * gtk_print_operation_get_default_page_setup
|
637
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
638
|
+
<p>
|
639
|
+
Returns the default page setup, see
|
640
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-default-page-setup" title="gtk_print_operation_set_default_page_setup ()"><code class="function">gtk_print_operation_set_default_page_setup()</code></a>.
|
641
|
+
</p>
|
642
|
+
<div class="variablelist"><table border="0">
|
643
|
+
<col align="left" valign="top">
|
644
|
+
<tbody>
|
645
|
+
<tr>
|
646
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
647
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
648
|
+
</td>
|
649
|
+
</tr>
|
650
|
+
<tr>
|
651
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
652
|
+
<td>the default page setup. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
653
|
+
</td>
|
654
|
+
</tr>
|
655
|
+
</tbody>
|
656
|
+
</table></div>
|
657
|
+
<p class="since">Since 2.10</p>
|
658
|
+
</div>
|
659
|
+
<hr>
|
660
|
+
<div class="refsect2">
|
661
|
+
<a name="gtk-print-operation-set-print-settings"></a><h3>gtk_print_operation_set_print_settings ()</h3>
|
662
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_print_settings
|
663
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
664
|
+
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *print_settings</code></em>);</pre>
|
665
|
+
<p>
|
666
|
+
Sets the print settings for <em class="parameter"><code>op</code></em>. This is typically used to
|
667
|
+
re-establish print settings from a previous print operation,
|
668
|
+
see <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>.
|
669
|
+
</p>
|
670
|
+
<div class="variablelist"><table border="0">
|
671
|
+
<col align="left" valign="top">
|
672
|
+
<tbody>
|
673
|
+
<tr>
|
674
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
675
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
676
|
+
</td>
|
677
|
+
</tr>
|
678
|
+
<tr>
|
679
|
+
<td><p><span class="term"><em class="parameter"><code>print_settings</code></em> :</span></p></td>
|
680
|
+
<td>
|
681
|
+
<a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
682
|
+
</td>
|
683
|
+
</tr>
|
684
|
+
</tbody>
|
685
|
+
</table></div>
|
686
|
+
<p class="since">Since 2.10</p>
|
687
|
+
</div>
|
688
|
+
<hr>
|
689
|
+
<div class="refsect2">
|
690
|
+
<a name="gtk-print-operation-get-print-settings"></a><h3>gtk_print_operation_get_print_settings ()</h3>
|
691
|
+
<pre class="programlisting"><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="returnvalue">GtkPrintSettings</span></a> * gtk_print_operation_get_print_settings
|
692
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
693
|
+
<p>
|
694
|
+
Returns the current print settings.
|
695
|
+
</p>
|
696
|
+
<p>
|
697
|
+
Note that the return value is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> until either
|
698
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-print-settings" title="gtk_print_operation_set_print_settings ()"><code class="function">gtk_print_operation_set_print_settings()</code></a> or
|
699
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a> have been called.
|
700
|
+
</p>
|
701
|
+
<div class="variablelist"><table border="0">
|
702
|
+
<col align="left" valign="top">
|
703
|
+
<tbody>
|
704
|
+
<tr>
|
705
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
706
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
707
|
+
</td>
|
708
|
+
</tr>
|
709
|
+
<tr>
|
710
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
711
|
+
<td>the current print settings of <em class="parameter"><code>op</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
712
|
+
</td>
|
713
|
+
</tr>
|
714
|
+
</tbody>
|
715
|
+
</table></div>
|
716
|
+
<p class="since">Since 2.10</p>
|
717
|
+
</div>
|
718
|
+
<hr>
|
719
|
+
<div class="refsect2">
|
720
|
+
<a name="gtk-print-operation-set-job-name"></a><h3>gtk_print_operation_set_job_name ()</h3>
|
721
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_job_name (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
722
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *job_name</code></em>);</pre>
|
723
|
+
<p>
|
724
|
+
Sets the name of the print job. The name is used to identify
|
725
|
+
the job (e.g. in monitoring applications like eggcups).
|
726
|
+
</p>
|
727
|
+
<p>
|
728
|
+
If you don't set a job name, GTK+ picks a default one by
|
729
|
+
numbering successive print jobs.
|
730
|
+
</p>
|
731
|
+
<div class="variablelist"><table border="0">
|
732
|
+
<col align="left" valign="top">
|
733
|
+
<tbody>
|
734
|
+
<tr>
|
735
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
736
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
737
|
+
</td>
|
738
|
+
</tr>
|
739
|
+
<tr>
|
740
|
+
<td><p><span class="term"><em class="parameter"><code>job_name</code></em> :</span></p></td>
|
741
|
+
<td>a string that identifies the print job</td>
|
742
|
+
</tr>
|
743
|
+
</tbody>
|
744
|
+
</table></div>
|
745
|
+
<p class="since">Since 2.10</p>
|
746
|
+
</div>
|
747
|
+
<hr>
|
748
|
+
<div class="refsect2">
|
749
|
+
<a name="gtk-print-operation-set-n-pages"></a><h3>gtk_print_operation_set_n_pages ()</h3>
|
750
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_n_pages (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
751
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_pages</code></em>);</pre>
|
752
|
+
<p>
|
753
|
+
Sets the number of pages in the document.
|
754
|
+
</p>
|
755
|
+
<p>
|
756
|
+
This <span class="emphasis"><em>must</em></span> be set to a positive number
|
757
|
+
before the rendering starts. It may be set in a
|
758
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-begin-print" title='The "begin-print" signal'><span class="type">"begin-print"</span></a> signal hander.
|
759
|
+
</p>
|
760
|
+
<p>
|
761
|
+
Note that the page numbers passed to the
|
762
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-request-page-setup" title='The "request-page-setup" signal'><span class="type">"request-page-setup"</span></a>
|
763
|
+
and <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-draw-page" title='The "draw-page" signal'><span class="type">"draw-page"</span></a> signals are 0-based, i.e. if
|
764
|
+
the user chooses to print all pages, the last ::draw-page signal
|
765
|
+
will be for page <em class="parameter"><code>n_pages</code></em> - 1.
|
766
|
+
</p>
|
767
|
+
<div class="variablelist"><table border="0">
|
768
|
+
<col align="left" valign="top">
|
769
|
+
<tbody>
|
770
|
+
<tr>
|
771
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
772
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
773
|
+
</td>
|
774
|
+
</tr>
|
775
|
+
<tr>
|
776
|
+
<td><p><span class="term"><em class="parameter"><code>n_pages</code></em> :</span></p></td>
|
777
|
+
<td>the number of pages</td>
|
778
|
+
</tr>
|
779
|
+
</tbody>
|
780
|
+
</table></div>
|
781
|
+
<p class="since">Since 2.10</p>
|
782
|
+
</div>
|
783
|
+
<hr>
|
784
|
+
<div class="refsect2">
|
785
|
+
<a name="gtk-print-operation-get-n-pages-to-print"></a><h3>gtk_print_operation_get_n_pages_to_print ()</h3>
|
786
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_print_operation_get_n_pages_to_print
|
787
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
788
|
+
<p>
|
789
|
+
Returns the number of pages that will be printed.
|
790
|
+
</p>
|
791
|
+
<p>
|
792
|
+
Note that this value is set during print preparation phase
|
793
|
+
(<a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-STATUS-PREPARING:CAPS"><code class="literal">GTK_PRINT_STATUS_PREPARING</code></a>), so this function should never be
|
794
|
+
called before the data generation phase (<a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-STATUS-GENERATING-DATA:CAPS"><code class="literal">GTK_PRINT_STATUS_GENERATING_DATA</code></a>).
|
795
|
+
You can connect to the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-status-changed" title='The "status-changed" signal'><span class="type">"status-changed"</span></a> signal
|
796
|
+
and call <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-n-pages-to-print" title="gtk_print_operation_get_n_pages_to_print ()"><code class="function">gtk_print_operation_get_n_pages_to_print()</code></a> when
|
797
|
+
print status is <a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-STATUS-GENERATING-DATA:CAPS"><code class="literal">GTK_PRINT_STATUS_GENERATING_DATA</code></a>.
|
798
|
+
This is typically used to track the progress of print operation.
|
799
|
+
</p>
|
800
|
+
<div class="variablelist"><table border="0">
|
801
|
+
<col align="left" valign="top">
|
802
|
+
<tbody>
|
803
|
+
<tr>
|
804
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
805
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
806
|
+
</td>
|
807
|
+
</tr>
|
808
|
+
<tr>
|
809
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
810
|
+
<td>the number of pages that will be printed</td>
|
811
|
+
</tr>
|
812
|
+
</tbody>
|
813
|
+
</table></div>
|
814
|
+
<p class="since">Since 2.18</p>
|
815
|
+
</div>
|
816
|
+
<hr>
|
817
|
+
<div class="refsect2">
|
818
|
+
<a name="gtk-print-operation-set-current-page"></a><h3>gtk_print_operation_set_current_page ()</h3>
|
819
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_current_page
|
820
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
821
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> current_page</code></em>);</pre>
|
822
|
+
<p>
|
823
|
+
Sets the current page.
|
824
|
+
</p>
|
825
|
+
<p>
|
826
|
+
If this is called before <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>,
|
827
|
+
the user will be able to select to print only the current page.
|
828
|
+
</p>
|
829
|
+
<p>
|
830
|
+
Note that this only makes sense for pre-paginated documents.
|
831
|
+
</p>
|
832
|
+
<div class="variablelist"><table border="0">
|
833
|
+
<col align="left" valign="top">
|
834
|
+
<tbody>
|
835
|
+
<tr>
|
836
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
837
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
838
|
+
</td>
|
839
|
+
</tr>
|
840
|
+
<tr>
|
841
|
+
<td><p><span class="term"><em class="parameter"><code>current_page</code></em> :</span></p></td>
|
842
|
+
<td>the current page, 0-based</td>
|
843
|
+
</tr>
|
844
|
+
</tbody>
|
845
|
+
</table></div>
|
846
|
+
<p class="since">Since 2.10</p>
|
847
|
+
</div>
|
848
|
+
<hr>
|
849
|
+
<div class="refsect2">
|
850
|
+
<a name="gtk-print-operation-set-use-full-page"></a><h3>gtk_print_operation_set_use_full_page ()</h3>
|
851
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_use_full_page
|
852
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
853
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> full_page</code></em>);</pre>
|
854
|
+
<p>
|
855
|
+
If <em class="parameter"><code>full_page</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the transformation for the cairo context
|
856
|
+
obtained from <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> puts the origin at the top left
|
857
|
+
corner of the page (which may not be the top left corner of the
|
858
|
+
sheet, depending on page orientation and the number of pages per
|
859
|
+
sheet). Otherwise, the origin is at the top left corner of the
|
860
|
+
imageable area (i.e. inside the margins).
|
861
|
+
</p>
|
862
|
+
<div class="variablelist"><table border="0">
|
863
|
+
<col align="left" valign="top">
|
864
|
+
<tbody>
|
865
|
+
<tr>
|
866
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
867
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
868
|
+
</td>
|
869
|
+
</tr>
|
870
|
+
<tr>
|
871
|
+
<td><p><span class="term"><em class="parameter"><code>full_page</code></em> :</span></p></td>
|
872
|
+
<td>
|
873
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to set up the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> for the full page</td>
|
874
|
+
</tr>
|
875
|
+
</tbody>
|
876
|
+
</table></div>
|
877
|
+
<p class="since">Since 2.10</p>
|
878
|
+
</div>
|
879
|
+
<hr>
|
880
|
+
<div class="refsect2">
|
881
|
+
<a name="gtk-print-operation-set-unit"></a><h3>gtk_print_operation_set_unit ()</h3>
|
882
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_unit (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
883
|
+
<em class="parameter"><code><a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> unit</code></em>);</pre>
|
884
|
+
<p>
|
885
|
+
Sets up the transformation for the cairo context obtained from
|
886
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> in such a way that distances are measured in
|
887
|
+
units of <em class="parameter"><code>unit</code></em>.
|
888
|
+
</p>
|
889
|
+
<div class="variablelist"><table border="0">
|
890
|
+
<col align="left" valign="top">
|
891
|
+
<tbody>
|
892
|
+
<tr>
|
893
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
894
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
895
|
+
</td>
|
896
|
+
</tr>
|
897
|
+
<tr>
|
898
|
+
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
|
899
|
+
<td>the unit to use</td>
|
900
|
+
</tr>
|
901
|
+
</tbody>
|
902
|
+
</table></div>
|
903
|
+
<p class="since">Since 2.10</p>
|
904
|
+
</div>
|
905
|
+
<hr>
|
906
|
+
<div class="refsect2">
|
907
|
+
<a name="gtk-print-operation-set-export-filename"></a><h3>gtk_print_operation_set_export_filename ()</h3>
|
908
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_export_filename
|
909
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
910
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
|
911
|
+
<p>
|
912
|
+
Sets up the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> to generate a file instead
|
913
|
+
of showing the print dialog. The indended use of this function
|
914
|
+
is for implementing "Export to PDF" actions. Currently, PDF
|
915
|
+
is the only supported format.
|
916
|
+
</p>
|
917
|
+
<p>
|
918
|
+
"Print to PDF" support is independent of this and is done
|
919
|
+
by letting the user pick the "Print to PDF" item from the list
|
920
|
+
of printers in the print dialog.
|
921
|
+
</p>
|
922
|
+
<div class="variablelist"><table border="0">
|
923
|
+
<col align="left" valign="top">
|
924
|
+
<tbody>
|
925
|
+
<tr>
|
926
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
927
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
928
|
+
</td>
|
929
|
+
</tr>
|
930
|
+
<tr>
|
931
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
932
|
+
<td>the filename for the exported file</td>
|
933
|
+
</tr>
|
934
|
+
</tbody>
|
935
|
+
</table></div>
|
936
|
+
<p class="since">Since 2.10</p>
|
937
|
+
</div>
|
938
|
+
<hr>
|
939
|
+
<div class="refsect2">
|
940
|
+
<a name="gtk-print-operation-set-show-progress"></a><h3>gtk_print_operation_set_show_progress ()</h3>
|
941
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_show_progress
|
942
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
943
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_progress</code></em>);</pre>
|
944
|
+
<p>
|
945
|
+
If <em class="parameter"><code>show_progress</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will show a
|
946
|
+
progress dialog during the print operation.
|
947
|
+
</p>
|
948
|
+
<div class="variablelist"><table border="0">
|
949
|
+
<col align="left" valign="top">
|
950
|
+
<tbody>
|
951
|
+
<tr>
|
952
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
953
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
954
|
+
</td>
|
955
|
+
</tr>
|
956
|
+
<tr>
|
957
|
+
<td><p><span class="term"><em class="parameter"><code>show_progress</code></em> :</span></p></td>
|
958
|
+
<td>
|
959
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to show a progress dialog</td>
|
960
|
+
</tr>
|
961
|
+
</tbody>
|
962
|
+
</table></div>
|
963
|
+
<p class="since">Since 2.10</p>
|
964
|
+
</div>
|
965
|
+
<hr>
|
966
|
+
<div class="refsect2">
|
967
|
+
<a name="gtk-print-operation-set-track-print-status"></a><h3>gtk_print_operation_set_track_print_status ()</h3>
|
968
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_track_print_status
|
969
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
970
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> track_status</code></em>);</pre>
|
971
|
+
<p>
|
972
|
+
If track_status is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will try to continue report
|
973
|
+
on the status of the print job in the printer queues and printer. This
|
974
|
+
can allow your application to show things like "out of paper" issues,
|
975
|
+
and when the print job actually reaches the printer.
|
976
|
+
</p>
|
977
|
+
<p>
|
978
|
+
This function is often implemented using some form of polling, so it should
|
979
|
+
not be enabled unless needed.
|
980
|
+
</p>
|
981
|
+
<div class="variablelist"><table border="0">
|
982
|
+
<col align="left" valign="top">
|
983
|
+
<tbody>
|
984
|
+
<tr>
|
985
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
986
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
987
|
+
</td>
|
988
|
+
</tr>
|
989
|
+
<tr>
|
990
|
+
<td><p><span class="term"><em class="parameter"><code>track_status</code></em> :</span></p></td>
|
991
|
+
<td>
|
992
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to track status after printing</td>
|
993
|
+
</tr>
|
994
|
+
</tbody>
|
995
|
+
</table></div>
|
996
|
+
<p class="since">Since 2.10</p>
|
997
|
+
</div>
|
998
|
+
<hr>
|
999
|
+
<div class="refsect2">
|
1000
|
+
<a name="gtk-print-operation-set-custom-tab-label"></a><h3>gtk_print_operation_set_custom_tab_label ()</h3>
|
1001
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_custom_tab_label
|
1002
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1003
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
|
1004
|
+
<p>
|
1005
|
+
Sets the label for the tab holding custom widgets.
|
1006
|
+
</p>
|
1007
|
+
<div class="variablelist"><table border="0">
|
1008
|
+
<col align="left" valign="top">
|
1009
|
+
<tbody>
|
1010
|
+
<tr>
|
1011
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1012
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1013
|
+
</td>
|
1014
|
+
</tr>
|
1015
|
+
<tr>
|
1016
|
+
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
|
1017
|
+
<td>the label to use, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1018
|
+
</td>
|
1019
|
+
</tr>
|
1020
|
+
</tbody>
|
1021
|
+
</table></div>
|
1022
|
+
<p class="since">Since 2.10</p>
|
1023
|
+
</div>
|
1024
|
+
<hr>
|
1025
|
+
<div class="refsect2">
|
1026
|
+
<a name="gtk-print-operation-run"></a><h3>gtk_print_operation_run ()</h3>
|
1027
|
+
<pre class="programlisting"><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationResult" title="enum GtkPrintOperationResult"><span class="returnvalue">GtkPrintOperationResult</span></a> gtk_print_operation_run (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1028
|
+
<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationAction" title="enum GtkPrintOperationAction"><span class="type">GtkPrintOperationAction</span></a> action</code></em>,
|
1029
|
+
<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
1030
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1031
|
+
<p>
|
1032
|
+
Runs the print operation, by first letting the user modify
|
1033
|
+
print settings in the print dialog, and then print the document.
|
1034
|
+
</p>
|
1035
|
+
<p>
|
1036
|
+
Normally that this function does not return until the rendering of all
|
1037
|
+
pages is complete. You can connect to the
|
1038
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-status-changed" title='The "status-changed" signal'><span class="type">"status-changed"</span></a> signal on <em class="parameter"><code>op</code></em> to obtain some
|
1039
|
+
information about the progress of the print operation.
|
1040
|
+
Furthermore, it may use a recursive mainloop to show the print dialog.
|
1041
|
+
</p>
|
1042
|
+
<p>
|
1043
|
+
If you call <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-allow-async" title="gtk_print_operation_set_allow_async ()"><code class="function">gtk_print_operation_set_allow_async()</code></a> or set the
|
1044
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--allow-async" title='The "allow-async" property'><span class="type">"allow-async"</span></a> property the operation will run
|
1045
|
+
asynchronously if this is supported on the platform. The
|
1046
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-done" title='The "done" signal'><span class="type">"done"</span></a> signal will be emitted with the result of the
|
1047
|
+
operation when the it is done (i.e. when the dialog is canceled, or when
|
1048
|
+
the print succeeds or fails).
|
1049
|
+
</p>
|
1050
|
+
<div class="informalexample">
|
1051
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1052
|
+
<tbody>
|
1053
|
+
<tr>
|
1054
|
+
<td class="listing_lines" align="right"><pre>1
|
1055
|
+
2
|
1056
|
+
3
|
1057
|
+
4
|
1058
|
+
5
|
1059
|
+
6
|
1060
|
+
7
|
1061
|
+
8
|
1062
|
+
9
|
1063
|
+
10
|
1064
|
+
11
|
1065
|
+
12
|
1066
|
+
13
|
1067
|
+
14
|
1068
|
+
15
|
1069
|
+
16
|
1070
|
+
17
|
1071
|
+
18
|
1072
|
+
19
|
1073
|
+
20
|
1074
|
+
21
|
1075
|
+
22
|
1076
|
+
23
|
1077
|
+
24
|
1078
|
+
25
|
1079
|
+
26
|
1080
|
+
27
|
1081
|
+
28
|
1082
|
+
29
|
1083
|
+
30
|
1084
|
+
31
|
1085
|
+
32
|
1086
|
+
33
|
1087
|
+
34
|
1088
|
+
35</pre></td>
|
1089
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
1090
|
+
<span class="normal"> </span><span class="function"><a href="gtk-High-level-Printing-API.html#gtk-print-operation-set-print-settings">gtk_print_operation_set_print_settings</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> settings</span><span class="symbol">);</span>
|
1091
|
+
<span class="normal"> </span>
|
1092
|
+
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">page_setup </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
1093
|
+
<span class="normal"> </span><span class="function"><a href="gtk-High-level-Printing-API.html#gtk-print-operation-set-default-page-setup">gtk_print_operation_set_default_page_setup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> page_setup</span><span class="symbol">);</span>
|
1094
|
+
<span class="normal"> </span>
|
1095
|
+
<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"begin-print"</span><span class="symbol">,</span><span class="normal"> </span>
|
1096
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">begin_print</span><span class="symbol">),</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">data</span><span class="symbol">);</span>
|
1097
|
+
<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"draw-page"</span><span class="symbol">,</span><span class="normal"> </span>
|
1098
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">draw_page</span><span class="symbol">),</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">data</span><span class="symbol">);</span>
|
1099
|
+
<span class="normal"> </span>
|
1100
|
+
<span class="normal">res </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk-High-level-Printing-API.html#gtk-print-operation-run">gtk_print_operation_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">,</span><span class="normal"> </span>
|
1101
|
+
<span class="normal"> GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG</span><span class="symbol">,</span><span class="normal"> </span>
|
1102
|
+
<span class="normal"> parent</span><span class="symbol">,</span><span class="normal"> </span>
|
1103
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
1104
|
+
<span class="normal"> </span>
|
1105
|
+
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">res </span><span class="symbol">==</span><span class="normal"> <a href="gtk-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-ERROR:CAPS">GTK_PRINT_OPERATION_RESULT_ERROR</a></span><span class="symbol">)</span>
|
1106
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1107
|
+
<span class="normal"> error_dialog </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkMessageDialog.html#gtk-message-dialog-new">gtk_message_dialog_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parent</span><span class="symbol">),</span>
|
1108
|
+
<span class="normal"> <a href="GtkDialog.html#GTK-DIALOG-DESTROY-WITH-PARENT:CAPS">GTK_DIALOG_DESTROY_WITH_PARENT</a></span><span class="symbol">,</span>
|
1109
|
+
<span class="normal"> <a href="GtkMessageDialog.html#GTK-MESSAGE-ERROR:CAPS">GTK_MESSAGE_ERROR</a></span><span class="symbol">,</span>
|
1110
|
+
<span class="normal"> <a href="GtkMessageDialog.html#GTK-BUTTONS-CLOSE:CAPS">GTK_BUTTONS_CLOSE</a></span><span class="symbol">,</span>
|
1111
|
+
<span class="normal"> </span><span class="string">"Error printing file:</span><span class="specialchar">\n</span><span class="string">%s"</span><span class="symbol">,</span>
|
1112
|
+
<span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
1113
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error_dialog</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"response"</span><span class="symbol">,</span><span class="normal"> </span>
|
1114
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
1115
|
+
<span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error_dialog</span><span class="symbol">);</span>
|
1116
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/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>
|
1117
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1118
|
+
<span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">res </span><span class="symbol">==</span><span class="normal"> <a href="gtk-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-APPLY:CAPS">GTK_PRINT_OPERATION_RESULT_APPLY</a></span><span class="symbol">)</span>
|
1119
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1120
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">settings </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
1121
|
+
<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/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">settings</span><span class="symbol">);</span>
|
1122
|
+
<span class="normal"> settings </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gtk-High-level-Printing-API.html#gtk-print-operation-get-print-settings">gtk_print_operation_get_print_settings</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">print</span><span class="symbol">));</span>
|
1123
|
+
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
1124
|
+
</tr>
|
1125
|
+
</tbody>
|
1126
|
+
</table>
|
1127
|
+
</div>
|
1128
|
+
|
1129
|
+
<p>
|
1130
|
+
</p>
|
1131
|
+
<p>
|
1132
|
+
Note that <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a> can only be called once on a
|
1133
|
+
given <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>.
|
1134
|
+
</p>
|
1135
|
+
<div class="variablelist"><table border="0">
|
1136
|
+
<col align="left" valign="top">
|
1137
|
+
<tbody>
|
1138
|
+
<tr>
|
1139
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1140
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1141
|
+
</td>
|
1142
|
+
</tr>
|
1143
|
+
<tr>
|
1144
|
+
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
|
1145
|
+
<td>the action to start</td>
|
1146
|
+
</tr>
|
1147
|
+
<tr>
|
1148
|
+
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
1149
|
+
<td>Transient parent of the dialog. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1150
|
+
</td>
|
1151
|
+
</tr>
|
1152
|
+
<tr>
|
1153
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1154
|
+
<td>Return location for errors, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1155
|
+
</td>
|
1156
|
+
</tr>
|
1157
|
+
<tr>
|
1158
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1159
|
+
<td>the result of the print operation. A return value of
|
1160
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-APPLY:CAPS"><code class="literal">GTK_PRINT_OPERATION_RESULT_APPLY</code></a> indicates that the printing was
|
1161
|
+
completed successfully. In this case, it is a good idea to obtain
|
1162
|
+
the used print settings with <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-print-settings" title="gtk_print_operation_get_print_settings ()"><code class="function">gtk_print_operation_get_print_settings()</code></a>
|
1163
|
+
and store them for reuse with the next print operation. A value of
|
1164
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-IN-PROGRESS:CAPS"><code class="literal">GTK_PRINT_OPERATION_RESULT_IN_PROGRESS</code></a> means the operation is running
|
1165
|
+
asynchronously, and will emit the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-done" title='The "done" signal'><span class="type">"done"</span></a> signal when
|
1166
|
+
done.</td>
|
1167
|
+
</tr>
|
1168
|
+
</tbody>
|
1169
|
+
</table></div>
|
1170
|
+
<p class="since">Since 2.10</p>
|
1171
|
+
</div>
|
1172
|
+
<hr>
|
1173
|
+
<div class="refsect2">
|
1174
|
+
<a name="gtk-print-operation-cancel"></a><h3>gtk_print_operation_cancel ()</h3>
|
1175
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_cancel (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1176
|
+
<p>
|
1177
|
+
Cancels a running print operation. This function may
|
1178
|
+
be called from a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-begin-print" title='The "begin-print" signal'><span class="type">"begin-print"</span></a>,
|
1179
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-paginate" title='The "paginate" signal'><span class="type">"paginate"</span></a> or <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-draw-page" title='The "draw-page" signal'><span class="type">"draw-page"</span></a>
|
1180
|
+
signal handler to stop the currently running print
|
1181
|
+
operation.
|
1182
|
+
</p>
|
1183
|
+
<div class="variablelist"><table border="0">
|
1184
|
+
<col align="left" valign="top">
|
1185
|
+
<tbody><tr>
|
1186
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1187
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1188
|
+
</td>
|
1189
|
+
</tr></tbody>
|
1190
|
+
</table></div>
|
1191
|
+
<p class="since">Since 2.10</p>
|
1192
|
+
</div>
|
1193
|
+
<hr>
|
1194
|
+
<div class="refsect2">
|
1195
|
+
<a name="gtk-print-operation-draw-page-finish"></a><h3>gtk_print_operation_draw_page_finish ()</h3>
|
1196
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_draw_page_finish
|
1197
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1198
|
+
<p>
|
1199
|
+
Signalize that drawing of particular page is complete.
|
1200
|
+
</p>
|
1201
|
+
<p>
|
1202
|
+
It is called after completion of page drawing (e.g. drawing in another
|
1203
|
+
thread).
|
1204
|
+
If <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-defer-drawing" title="gtk_print_operation_set_defer_drawing ()"><code class="function">gtk_print_operation_set_defer_drawing()</code></a> was called before, then this function
|
1205
|
+
has to be called by application. In another case it is called by the library
|
1206
|
+
itself.
|
1207
|
+
</p>
|
1208
|
+
<div class="variablelist"><table border="0">
|
1209
|
+
<col align="left" valign="top">
|
1210
|
+
<tbody><tr>
|
1211
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1212
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1213
|
+
</td>
|
1214
|
+
</tr></tbody>
|
1215
|
+
</table></div>
|
1216
|
+
<p class="since">Since 2.16</p>
|
1217
|
+
</div>
|
1218
|
+
<hr>
|
1219
|
+
<div class="refsect2">
|
1220
|
+
<a name="gtk-print-operation-set-defer-drawing"></a><h3>gtk_print_operation_set_defer_drawing ()</h3>
|
1221
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_defer_drawing
|
1222
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1223
|
+
<p>
|
1224
|
+
Sets up the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> to wait for calling of
|
1225
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-draw-page-finish" title="gtk_print_operation_draw_page_finish ()"><code class="function">gtk_print_operation_draw_page_finish()</code></a> from application. It can
|
1226
|
+
be used for drawing page in another thread.
|
1227
|
+
</p>
|
1228
|
+
<p>
|
1229
|
+
This function must be called in the callback of "draw-page" signal.
|
1230
|
+
</p>
|
1231
|
+
<div class="variablelist"><table border="0">
|
1232
|
+
<col align="left" valign="top">
|
1233
|
+
<tbody><tr>
|
1234
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1235
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1236
|
+
</td>
|
1237
|
+
</tr></tbody>
|
1238
|
+
</table></div>
|
1239
|
+
<p class="since">Since 2.16</p>
|
1240
|
+
</div>
|
1241
|
+
<hr>
|
1242
|
+
<div class="refsect2">
|
1243
|
+
<a name="gtk-print-operation-get-status"></a><h3>gtk_print_operation_get_status ()</h3>
|
1244
|
+
<pre class="programlisting"><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintStatus" title="enum GtkPrintStatus"><span class="returnvalue">GtkPrintStatus</span></a> gtk_print_operation_get_status (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1245
|
+
<p>
|
1246
|
+
Returns the status of the print operation.
|
1247
|
+
Also see <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-status-string" title="gtk_print_operation_get_status_string ()"><code class="function">gtk_print_operation_get_status_string()</code></a>.
|
1248
|
+
</p>
|
1249
|
+
<div class="variablelist"><table border="0">
|
1250
|
+
<col align="left" valign="top">
|
1251
|
+
<tbody>
|
1252
|
+
<tr>
|
1253
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1254
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1255
|
+
</td>
|
1256
|
+
</tr>
|
1257
|
+
<tr>
|
1258
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1259
|
+
<td>the status of the print operation</td>
|
1260
|
+
</tr>
|
1261
|
+
</tbody>
|
1262
|
+
</table></div>
|
1263
|
+
<p class="since">Since 2.10</p>
|
1264
|
+
</div>
|
1265
|
+
<hr>
|
1266
|
+
<div class="refsect2">
|
1267
|
+
<a name="gtk-print-operation-get-status-string"></a><h3>gtk_print_operation_get_status_string ()</h3>
|
1268
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_print_operation_get_status_string
|
1269
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1270
|
+
<p>
|
1271
|
+
Returns a string representation of the status of the
|
1272
|
+
print operation. The string is translated and suitable
|
1273
|
+
for displaying the print status e.g. in a <a class="link" href="GtkStatusbar.html" title="GtkStatusbar"><span class="type">GtkStatusbar</span></a>.
|
1274
|
+
</p>
|
1275
|
+
<p>
|
1276
|
+
Use <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-status" title="gtk_print_operation_get_status ()"><code class="function">gtk_print_operation_get_status()</code></a> to obtain a status
|
1277
|
+
value that is suitable for programmatic use.
|
1278
|
+
</p>
|
1279
|
+
<div class="variablelist"><table border="0">
|
1280
|
+
<col align="left" valign="top">
|
1281
|
+
<tbody>
|
1282
|
+
<tr>
|
1283
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1284
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1285
|
+
</td>
|
1286
|
+
</tr>
|
1287
|
+
<tr>
|
1288
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1289
|
+
<td>a string representation of the status
|
1290
|
+
of the print operation</td>
|
1291
|
+
</tr>
|
1292
|
+
</tbody>
|
1293
|
+
</table></div>
|
1294
|
+
<p class="since">Since 2.10</p>
|
1295
|
+
</div>
|
1296
|
+
<hr>
|
1297
|
+
<div class="refsect2">
|
1298
|
+
<a name="gtk-print-operation-is-finished"></a><h3>gtk_print_operation_is_finished ()</h3>
|
1299
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_print_operation_is_finished (<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1300
|
+
<p>
|
1301
|
+
A convenience function to find out if the print operation
|
1302
|
+
is finished, either successfully (<a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-STATUS-FINISHED:CAPS"><code class="literal">GTK_PRINT_STATUS_FINISHED</code></a>)
|
1303
|
+
or unsuccessfully (<a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-STATUS-FINISHED-ABORTED:CAPS"><code class="literal">GTK_PRINT_STATUS_FINISHED_ABORTED</code></a>).
|
1304
|
+
</p>
|
1305
|
+
<p>
|
1306
|
+
Note: when you enable print status tracking the print operation
|
1307
|
+
can be in a non-finished state even after done has been called, as
|
1308
|
+
the operation status then tracks the print job status on the printer.
|
1309
|
+
</p>
|
1310
|
+
<div class="variablelist"><table border="0">
|
1311
|
+
<col align="left" valign="top">
|
1312
|
+
<tbody>
|
1313
|
+
<tr>
|
1314
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1315
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1316
|
+
</td>
|
1317
|
+
</tr>
|
1318
|
+
<tr>
|
1319
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1320
|
+
<td>
|
1321
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the print operation is finished.</td>
|
1322
|
+
</tr>
|
1323
|
+
</tbody>
|
1324
|
+
</table></div>
|
1325
|
+
<p class="since">Since 2.10</p>
|
1326
|
+
</div>
|
1327
|
+
<hr>
|
1328
|
+
<div class="refsect2">
|
1329
|
+
<a name="gtk-print-operation-set-support-selection"></a><h3>gtk_print_operation_set_support_selection ()</h3>
|
1330
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_support_selection
|
1331
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1332
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> support_selection</code></em>);</pre>
|
1333
|
+
<p>
|
1334
|
+
Sets whether selection is supported by <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>.
|
1335
|
+
</p>
|
1336
|
+
<div class="variablelist"><table border="0">
|
1337
|
+
<col align="left" valign="top">
|
1338
|
+
<tbody>
|
1339
|
+
<tr>
|
1340
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1341
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1342
|
+
</td>
|
1343
|
+
</tr>
|
1344
|
+
<tr>
|
1345
|
+
<td><p><span class="term"><em class="parameter"><code>support_selection</code></em> :</span></p></td>
|
1346
|
+
<td>
|
1347
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to support selection</td>
|
1348
|
+
</tr>
|
1349
|
+
</tbody>
|
1350
|
+
</table></div>
|
1351
|
+
<p class="since">Since 2.18</p>
|
1352
|
+
</div>
|
1353
|
+
<hr>
|
1354
|
+
<div class="refsect2">
|
1355
|
+
<a name="gtk-print-operation-get-support-selection"></a><h3>gtk_print_operation_get_support_selection ()</h3>
|
1356
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_print_operation_get_support_selection
|
1357
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1358
|
+
<p>
|
1359
|
+
Gets the value of <span class="type">"support-selection"</span> property.
|
1360
|
+
</p>
|
1361
|
+
<div class="variablelist"><table border="0">
|
1362
|
+
<col align="left" valign="top">
|
1363
|
+
<tbody>
|
1364
|
+
<tr>
|
1365
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1366
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1367
|
+
</td>
|
1368
|
+
</tr>
|
1369
|
+
<tr>
|
1370
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1371
|
+
<td>whether the application supports print of selection</td>
|
1372
|
+
</tr>
|
1373
|
+
</tbody>
|
1374
|
+
</table></div>
|
1375
|
+
<p class="since">Since 2.18</p>
|
1376
|
+
</div>
|
1377
|
+
<hr>
|
1378
|
+
<div class="refsect2">
|
1379
|
+
<a name="gtk-print-operation-set-has-selection"></a><h3>gtk_print_operation_set_has_selection ()</h3>
|
1380
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_has_selection
|
1381
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1382
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> has_selection</code></em>);</pre>
|
1383
|
+
<p>
|
1384
|
+
Sets whether there is a selection to print.
|
1385
|
+
</p>
|
1386
|
+
<p>
|
1387
|
+
Application has to set number of pages to which the selection
|
1388
|
+
will draw by <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-n-pages" title="gtk_print_operation_set_n_pages ()"><code class="function">gtk_print_operation_set_n_pages()</code></a> in a callback of
|
1389
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-begin-print" title='The "begin-print" signal'><span class="type">"begin-print"</span></a>.
|
1390
|
+
</p>
|
1391
|
+
<div class="variablelist"><table border="0">
|
1392
|
+
<col align="left" valign="top">
|
1393
|
+
<tbody>
|
1394
|
+
<tr>
|
1395
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1396
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1397
|
+
</td>
|
1398
|
+
</tr>
|
1399
|
+
<tr>
|
1400
|
+
<td><p><span class="term"><em class="parameter"><code>has_selection</code></em> :</span></p></td>
|
1401
|
+
<td>
|
1402
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> indicates that a selection exists</td>
|
1403
|
+
</tr>
|
1404
|
+
</tbody>
|
1405
|
+
</table></div>
|
1406
|
+
<p class="since">Since 2.18</p>
|
1407
|
+
</div>
|
1408
|
+
<hr>
|
1409
|
+
<div class="refsect2">
|
1410
|
+
<a name="gtk-print-operation-get-has-selection"></a><h3>gtk_print_operation_get_has_selection ()</h3>
|
1411
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_print_operation_get_has_selection
|
1412
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1413
|
+
<p>
|
1414
|
+
Gets the value of <span class="type">"has-selection"</span> property.
|
1415
|
+
</p>
|
1416
|
+
<div class="variablelist"><table border="0">
|
1417
|
+
<col align="left" valign="top">
|
1418
|
+
<tbody>
|
1419
|
+
<tr>
|
1420
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1421
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1422
|
+
</td>
|
1423
|
+
</tr>
|
1424
|
+
<tr>
|
1425
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1426
|
+
<td>whether there is a selection</td>
|
1427
|
+
</tr>
|
1428
|
+
</tbody>
|
1429
|
+
</table></div>
|
1430
|
+
<p class="since">Since 2.18</p>
|
1431
|
+
</div>
|
1432
|
+
<hr>
|
1433
|
+
<div class="refsect2">
|
1434
|
+
<a name="gtk-print-operation-set-embed-page-setup"></a><h3>gtk_print_operation_set_embed_page_setup ()</h3>
|
1435
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_set_embed_page_setup
|
1436
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>,
|
1437
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> embed</code></em>);</pre>
|
1438
|
+
<p>
|
1439
|
+
Embed page size combo box and orientation combo box into page setup page.
|
1440
|
+
Selected page setup is stored as default page setup in <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>.
|
1441
|
+
</p>
|
1442
|
+
<div class="variablelist"><table border="0">
|
1443
|
+
<col align="left" valign="top">
|
1444
|
+
<tbody>
|
1445
|
+
<tr>
|
1446
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1447
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1448
|
+
</td>
|
1449
|
+
</tr>
|
1450
|
+
<tr>
|
1451
|
+
<td><p><span class="term"><em class="parameter"><code>embed</code></em> :</span></p></td>
|
1452
|
+
<td>
|
1453
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to embed page setup selection in the <span class="type">GtkPrintDialog</span>
|
1454
|
+
</td>
|
1455
|
+
</tr>
|
1456
|
+
</tbody>
|
1457
|
+
</table></div>
|
1458
|
+
<p class="since">Since 2.18</p>
|
1459
|
+
</div>
|
1460
|
+
<hr>
|
1461
|
+
<div class="refsect2">
|
1462
|
+
<a name="gtk-print-operation-get-embed-page-setup"></a><h3>gtk_print_operation_get_embed_page_setup ()</h3>
|
1463
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_print_operation_get_embed_page_setup
|
1464
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *op</code></em>);</pre>
|
1465
|
+
<p>
|
1466
|
+
Gets the value of <span class="type">"embed-page-setup"</span> property.
|
1467
|
+
</p>
|
1468
|
+
<div class="variablelist"><table border="0">
|
1469
|
+
<col align="left" valign="top">
|
1470
|
+
<tbody>
|
1471
|
+
<tr>
|
1472
|
+
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
|
1473
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a>
|
1474
|
+
</td>
|
1475
|
+
</tr>
|
1476
|
+
<tr>
|
1477
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1478
|
+
<td>whether page setup selection combos are embedded</td>
|
1479
|
+
</tr>
|
1480
|
+
</tbody>
|
1481
|
+
</table></div>
|
1482
|
+
<p class="since">Since 2.18</p>
|
1483
|
+
</div>
|
1484
|
+
<hr>
|
1485
|
+
<div class="refsect2">
|
1486
|
+
<a name="gtk-print-run-page-setup-dialog"></a><h3>gtk_print_run_page_setup_dialog ()</h3>
|
1487
|
+
<pre class="programlisting"><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="returnvalue">GtkPageSetup</span></a> * gtk_print_run_page_setup_dialog (<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
1488
|
+
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
1489
|
+
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings</code></em>);</pre>
|
1490
|
+
<p>
|
1491
|
+
Runs a page setup dialog, letting the user modify the values from
|
1492
|
+
<em class="parameter"><code>page_setup</code></em>. If the user cancels the dialog, the returned <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
|
1493
|
+
is identical to the passed in <em class="parameter"><code>page_setup</code></em>, otherwise it contains the
|
1494
|
+
modifications done in the dialog.
|
1495
|
+
</p>
|
1496
|
+
<p>
|
1497
|
+
Note that this function may use a recursive mainloop to show the page
|
1498
|
+
setup dialog. See <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-run-page-setup-dialog-async" title="gtk_print_run_page_setup_dialog_async ()"><code class="function">gtk_print_run_page_setup_dialog_async()</code></a> if this is
|
1499
|
+
a problem.
|
1500
|
+
</p>
|
1501
|
+
<div class="variablelist"><table border="0">
|
1502
|
+
<col align="left" valign="top">
|
1503
|
+
<tbody>
|
1504
|
+
<tr>
|
1505
|
+
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
1506
|
+
<td>transient parent. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1507
|
+
</td>
|
1508
|
+
</tr>
|
1509
|
+
<tr>
|
1510
|
+
<td><p><span class="term"><em class="parameter"><code>page_setup</code></em> :</span></p></td>
|
1511
|
+
<td>an existing <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1512
|
+
</td>
|
1513
|
+
</tr>
|
1514
|
+
<tr>
|
1515
|
+
<td><p><span class="term"><em class="parameter"><code>settings</code></em> :</span></p></td>
|
1516
|
+
<td>a <a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a>
|
1517
|
+
</td>
|
1518
|
+
</tr>
|
1519
|
+
<tr>
|
1520
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1521
|
+
<td>a new <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1522
|
+
</td>
|
1523
|
+
</tr>
|
1524
|
+
</tbody>
|
1525
|
+
</table></div>
|
1526
|
+
<p class="since">Since 2.10</p>
|
1527
|
+
</div>
|
1528
|
+
<hr>
|
1529
|
+
<div class="refsect2">
|
1530
|
+
<a name="GtkPageSetupDoneFunc"></a><h3>GtkPageSetupDoneFunc ()</h3>
|
1531
|
+
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkPageSetupDoneFunc) (<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
1532
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1533
|
+
<p>
|
1534
|
+
The type of function that is passed to <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-run-page-setup-dialog-async" title="gtk_print_run_page_setup_dialog_async ()"><code class="function">gtk_print_run_page_setup_dialog_async()</code></a>.
|
1535
|
+
This function will be called when the page setup dialog is dismissed, and
|
1536
|
+
also serves as destroy notify for <em class="parameter"><code>data</code></em>.
|
1537
|
+
</p>
|
1538
|
+
<div class="variablelist"><table border="0">
|
1539
|
+
<col align="left" valign="top">
|
1540
|
+
<tbody>
|
1541
|
+
<tr>
|
1542
|
+
<td><p><span class="term"><em class="parameter"><code>page_setup</code></em> :</span></p></td>
|
1543
|
+
<td>the <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> that has been</td>
|
1544
|
+
</tr>
|
1545
|
+
<tr>
|
1546
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1547
|
+
<td>user data that has been passed to
|
1548
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-run-page-setup-dialog-async" title="gtk_print_run_page_setup_dialog_async ()"><code class="function">gtk_print_run_page_setup_dialog_async()</code></a>.</td>
|
1549
|
+
</tr>
|
1550
|
+
</tbody>
|
1551
|
+
</table></div>
|
1552
|
+
</div>
|
1553
|
+
<hr>
|
1554
|
+
<div class="refsect2">
|
1555
|
+
<a name="gtk-print-run-page-setup-dialog-async"></a><h3>gtk_print_run_page_setup_dialog_async ()</h3>
|
1556
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_run_page_setup_dialog_async
|
1557
|
+
(<em class="parameter"><code><a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent</code></em>,
|
1558
|
+
<em class="parameter"><code><a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup</code></em>,
|
1559
|
+
<em class="parameter"><code><a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings</code></em>,
|
1560
|
+
<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPageSetupDoneFunc" title="GtkPageSetupDoneFunc ()"><span class="type">GtkPageSetupDoneFunc</span></a> done_cb</code></em>,
|
1561
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1562
|
+
<p>
|
1563
|
+
Runs a page setup dialog, letting the user modify the values from <em class="parameter"><code>page_setup</code></em>.
|
1564
|
+
</p>
|
1565
|
+
<p>
|
1566
|
+
In contrast to <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-run-page-setup-dialog" title="gtk_print_run_page_setup_dialog ()"><code class="function">gtk_print_run_page_setup_dialog()</code></a>, this function returns after
|
1567
|
+
showing the page setup dialog on platforms that support this, and calls <em class="parameter"><code>done_cb</code></em>
|
1568
|
+
from a signal handler for the ::response signal of the dialog.
|
1569
|
+
</p>
|
1570
|
+
<div class="variablelist"><table border="0">
|
1571
|
+
<col align="left" valign="top">
|
1572
|
+
<tbody>
|
1573
|
+
<tr>
|
1574
|
+
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
1575
|
+
<td>transient parent, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1576
|
+
</td>
|
1577
|
+
</tr>
|
1578
|
+
<tr>
|
1579
|
+
<td><p><span class="term"><em class="parameter"><code>page_setup</code></em> :</span></p></td>
|
1580
|
+
<td>an existing <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
1581
|
+
</td>
|
1582
|
+
</tr>
|
1583
|
+
<tr>
|
1584
|
+
<td><p><span class="term"><em class="parameter"><code>settings</code></em> :</span></p></td>
|
1585
|
+
<td>a <a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a>
|
1586
|
+
</td>
|
1587
|
+
</tr>
|
1588
|
+
<tr>
|
1589
|
+
<td><p><span class="term"><em class="parameter"><code>done_cb</code></em> :</span></p></td>
|
1590
|
+
<td>a function to call when the user saves the modified page setup</td>
|
1591
|
+
</tr>
|
1592
|
+
<tr>
|
1593
|
+
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1594
|
+
<td>user data to pass to <em class="parameter"><code>done_cb</code></em>
|
1595
|
+
</td>
|
1596
|
+
</tr>
|
1597
|
+
</tbody>
|
1598
|
+
</table></div>
|
1599
|
+
<p class="since">Since 2.10</p>
|
1600
|
+
</div>
|
1601
|
+
<hr>
|
1602
|
+
<div class="refsect2">
|
1603
|
+
<a name="GtkPrintOperationPreview-struct"></a><h3>GtkPrintOperationPreview</h3>
|
1604
|
+
<pre class="programlisting">typedef struct _GtkPrintOperationPreview GtkPrintOperationPreview;</pre>
|
1605
|
+
<p>
|
1606
|
+
</p>
|
1607
|
+
</div>
|
1608
|
+
<hr>
|
1609
|
+
<div class="refsect2">
|
1610
|
+
<a name="gtk-print-operation-preview-end-preview"></a><h3>gtk_print_operation_preview_end_preview ()</h3>
|
1611
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_preview_end_preview
|
1612
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>);</pre>
|
1613
|
+
<p>
|
1614
|
+
Ends a preview.
|
1615
|
+
</p>
|
1616
|
+
<p>
|
1617
|
+
This function must be called to finish a custom print preview.
|
1618
|
+
</p>
|
1619
|
+
<div class="variablelist"><table border="0">
|
1620
|
+
<col align="left" valign="top">
|
1621
|
+
<tbody><tr>
|
1622
|
+
<td><p><span class="term"><em class="parameter"><code>preview</code></em> :</span></p></td>
|
1623
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a>
|
1624
|
+
</td>
|
1625
|
+
</tr></tbody>
|
1626
|
+
</table></div>
|
1627
|
+
<p class="since">Since 2.10</p>
|
1628
|
+
</div>
|
1629
|
+
<hr>
|
1630
|
+
<div class="refsect2">
|
1631
|
+
<a name="gtk-print-operation-preview-is-selected"></a><h3>gtk_print_operation_preview_is_selected ()</h3>
|
1632
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_print_operation_preview_is_selected
|
1633
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>,
|
1634
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);</pre>
|
1635
|
+
<p>
|
1636
|
+
Returns whether the given page is included in the set of pages that
|
1637
|
+
have been selected for printing.
|
1638
|
+
</p>
|
1639
|
+
<div class="variablelist"><table border="0">
|
1640
|
+
<col align="left" valign="top">
|
1641
|
+
<tbody>
|
1642
|
+
<tr>
|
1643
|
+
<td><p><span class="term"><em class="parameter"><code>preview</code></em> :</span></p></td>
|
1644
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a>
|
1645
|
+
</td>
|
1646
|
+
</tr>
|
1647
|
+
<tr>
|
1648
|
+
<td><p><span class="term"><em class="parameter"><code>page_nr</code></em> :</span></p></td>
|
1649
|
+
<td>a page number</td>
|
1650
|
+
</tr>
|
1651
|
+
<tr>
|
1652
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1653
|
+
<td>
|
1654
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the page has been selected for printing</td>
|
1655
|
+
</tr>
|
1656
|
+
</tbody>
|
1657
|
+
</table></div>
|
1658
|
+
<p class="since">Since 2.10</p>
|
1659
|
+
</div>
|
1660
|
+
<hr>
|
1661
|
+
<div class="refsect2">
|
1662
|
+
<a name="gtk-print-operation-preview-render-page"></a><h3>gtk_print_operation_preview_render_page ()</h3>
|
1663
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_print_operation_preview_render_page
|
1664
|
+
(<em class="parameter"><code><a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview</code></em>,
|
1665
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr</code></em>);</pre>
|
1666
|
+
<p>
|
1667
|
+
Renders a page to the preview, using the print context that
|
1668
|
+
was passed to the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-preview" title='The "preview" signal'><span class="type">"preview"</span></a> handler together
|
1669
|
+
with <em class="parameter"><code>preview</code></em>.
|
1670
|
+
</p>
|
1671
|
+
<p>
|
1672
|
+
A custom iprint preview should use this function in its ::expose
|
1673
|
+
handler to render the currently selected page.
|
1674
|
+
</p>
|
1675
|
+
<p>
|
1676
|
+
Note that this function requires a suitable cairo context to
|
1677
|
+
be associated with the print context.
|
1678
|
+
</p>
|
1679
|
+
<div class="variablelist"><table border="0">
|
1680
|
+
<col align="left" valign="top">
|
1681
|
+
<tbody>
|
1682
|
+
<tr>
|
1683
|
+
<td><p><span class="term"><em class="parameter"><code>preview</code></em> :</span></p></td>
|
1684
|
+
<td>a <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a>
|
1685
|
+
</td>
|
1686
|
+
</tr>
|
1687
|
+
<tr>
|
1688
|
+
<td><p><span class="term"><em class="parameter"><code>page_nr</code></em> :</span></p></td>
|
1689
|
+
<td>the page to render</td>
|
1690
|
+
</tr>
|
1691
|
+
</tbody>
|
1692
|
+
</table></div>
|
1693
|
+
<p class="since">Since 2.10</p>
|
1694
|
+
</div>
|
1695
|
+
</div>
|
1696
|
+
<div class="refsect1">
|
1697
|
+
<a name="gtk-High-level-Printing-API.property-details"></a><h2>Property Details</h2>
|
1698
|
+
<div class="refsect2">
|
1699
|
+
<a name="GtkPrintOperation--allow-async"></a><h3>The <code class="literal">"allow-async"</code> property</h3>
|
1700
|
+
<pre class="programlisting"> "allow-async" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1701
|
+
<p>
|
1702
|
+
Determines whether the print operation may run asynchronously or not.
|
1703
|
+
</p>
|
1704
|
+
<p>
|
1705
|
+
Some systems don't support asynchronous printing, but those that do
|
1706
|
+
will return <a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-IN-PROGRESS:CAPS"><code class="literal">GTK_PRINT_OPERATION_RESULT_IN_PROGRESS</code></a> as the status, and
|
1707
|
+
emit the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-done" title='The "done" signal'><span class="type">"done"</span></a> signal when the operation is actually
|
1708
|
+
done.
|
1709
|
+
</p>
|
1710
|
+
<p>
|
1711
|
+
The Windows port does not support asynchronous operation at all (this
|
1712
|
+
is unlikely to change). On other platforms, all actions except for
|
1713
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-OPERATION-ACTION-EXPORT:CAPS"><code class="literal">GTK_PRINT_OPERATION_ACTION_EXPORT</code></a> support asynchronous operation.
|
1714
|
+
</p>
|
1715
|
+
<p>Default value: FALSE</p>
|
1716
|
+
<p class="since">Since 2.10</p>
|
1717
|
+
</div>
|
1718
|
+
<hr>
|
1719
|
+
<div class="refsect2">
|
1720
|
+
<a name="GtkPrintOperation--current-page"></a><h3>The <code class="literal">"current-page"</code> property</h3>
|
1721
|
+
<pre class="programlisting"> "current-page" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1722
|
+
<p>
|
1723
|
+
The current page in the document.
|
1724
|
+
</p>
|
1725
|
+
<p>
|
1726
|
+
If this is set before <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>,
|
1727
|
+
the user will be able to select to print only the current page.
|
1728
|
+
</p>
|
1729
|
+
<p>
|
1730
|
+
Note that this only makes sense for pre-paginated documents.
|
1731
|
+
</p>
|
1732
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
1733
|
+
<p>Default value: -1</p>
|
1734
|
+
<p class="since">Since 2.10</p>
|
1735
|
+
</div>
|
1736
|
+
<hr>
|
1737
|
+
<div class="refsect2">
|
1738
|
+
<a name="GtkPrintOperation--custom-tab-label"></a><h3>The <code class="literal">"custom-tab-label"</code> property</h3>
|
1739
|
+
<pre class="programlisting"> "custom-tab-label" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
1740
|
+
<p>
|
1741
|
+
Used as the label of the tab containing custom widgets.
|
1742
|
+
Note that this property may be ignored on some platforms.
|
1743
|
+
</p>
|
1744
|
+
<p>
|
1745
|
+
If this is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, GTK+ uses a default label.
|
1746
|
+
</p>
|
1747
|
+
<p>Default value: NULL</p>
|
1748
|
+
<p class="since">Since 2.10</p>
|
1749
|
+
</div>
|
1750
|
+
<hr>
|
1751
|
+
<div class="refsect2">
|
1752
|
+
<a name="GtkPrintOperation--default-page-setup"></a><h3>The <code class="literal">"default-page-setup"</code> property</h3>
|
1753
|
+
<pre class="programlisting"> "default-page-setup" <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>* : Read / Write</pre>
|
1754
|
+
<p>
|
1755
|
+
The <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> used by default.
|
1756
|
+
</p>
|
1757
|
+
<p>
|
1758
|
+
This page setup will be used by <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>,
|
1759
|
+
but it can be overridden on a per-page basis by connecting
|
1760
|
+
to the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-request-page-setup" title='The "request-page-setup" signal'><span class="type">"request-page-setup"</span></a> signal.
|
1761
|
+
</p>
|
1762
|
+
<p class="since">Since 2.10</p>
|
1763
|
+
</div>
|
1764
|
+
<hr>
|
1765
|
+
<div class="refsect2">
|
1766
|
+
<a name="GtkPrintOperation--embed-page-setup"></a><h3>The <code class="literal">"embed-page-setup"</code> property</h3>
|
1767
|
+
<pre class="programlisting"> "embed-page-setup" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1768
|
+
<p>
|
1769
|
+
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, page size combo box and orientation combo box are embedded into page setup page.
|
1770
|
+
</p>
|
1771
|
+
<p>Default value: FALSE</p>
|
1772
|
+
<p class="since">Since 2.18</p>
|
1773
|
+
</div>
|
1774
|
+
<hr>
|
1775
|
+
<div class="refsect2">
|
1776
|
+
<a name="GtkPrintOperation--export-filename"></a><h3>The <code class="literal">"export-filename"</code> property</h3>
|
1777
|
+
<pre class="programlisting"> "export-filename" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
1778
|
+
<p>
|
1779
|
+
The name of a file to generate instead of showing the print dialog.
|
1780
|
+
Currently, PDF is the only supported format.
|
1781
|
+
</p>
|
1782
|
+
<p>
|
1783
|
+
The intended use of this property is for implementing
|
1784
|
+
"Export to PDF" actions.
|
1785
|
+
</p>
|
1786
|
+
<p>
|
1787
|
+
"Print to PDF" support is independent of this and is done
|
1788
|
+
by letting the user pick the "Print to PDF" item from the
|
1789
|
+
list of printers in the print dialog.
|
1790
|
+
</p>
|
1791
|
+
<p>Default value: NULL</p>
|
1792
|
+
<p class="since">Since 2.10</p>
|
1793
|
+
</div>
|
1794
|
+
<hr>
|
1795
|
+
<div class="refsect2">
|
1796
|
+
<a name="GtkPrintOperation--has-selection"></a><h3>The <code class="literal">"has-selection"</code> property</h3>
|
1797
|
+
<pre class="programlisting"> "has-selection" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1798
|
+
<p>
|
1799
|
+
Determines whether there is a selection in your application.
|
1800
|
+
This can allow your application to print the selection.
|
1801
|
+
This is typically used to make a "Selection" button sensitive.
|
1802
|
+
</p>
|
1803
|
+
<p>Default value: FALSE</p>
|
1804
|
+
<p class="since">Since 2.18</p>
|
1805
|
+
</div>
|
1806
|
+
<hr>
|
1807
|
+
<div class="refsect2">
|
1808
|
+
<a name="GtkPrintOperation--job-name"></a><h3>The <code class="literal">"job-name"</code> property</h3>
|
1809
|
+
<pre class="programlisting"> "job-name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
1810
|
+
<p>
|
1811
|
+
A string used to identify the job (e.g. in monitoring
|
1812
|
+
applications like eggcups).
|
1813
|
+
</p>
|
1814
|
+
<p>
|
1815
|
+
If you don't set a job name, GTK+ picks a default one
|
1816
|
+
by numbering successive print jobs.
|
1817
|
+
</p>
|
1818
|
+
<p>Default value: ""</p>
|
1819
|
+
<p class="since">Since 2.10</p>
|
1820
|
+
</div>
|
1821
|
+
<hr>
|
1822
|
+
<div class="refsect2">
|
1823
|
+
<a name="GtkPrintOperation--n-pages"></a><h3>The <code class="literal">"n-pages"</code> property</h3>
|
1824
|
+
<pre class="programlisting"> "n-pages" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
|
1825
|
+
<p>
|
1826
|
+
The number of pages in the document.
|
1827
|
+
</p>
|
1828
|
+
<p>
|
1829
|
+
This <span class="emphasis"><em>must</em></span> be set to a positive number
|
1830
|
+
before the rendering starts. It may be set in a
|
1831
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-begin-print" title='The "begin-print" signal'><span class="type">"begin-print"</span></a> signal hander.
|
1832
|
+
</p>
|
1833
|
+
<p>
|
1834
|
+
Note that the page numbers passed to the
|
1835
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-request-page-setup" title='The "request-page-setup" signal'><span class="type">"request-page-setup"</span></a> and
|
1836
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-draw-page" title='The "draw-page" signal'><span class="type">"draw-page"</span></a> signals are 0-based, i.e. if
|
1837
|
+
the user chooses to print all pages, the last ::draw-page signal
|
1838
|
+
will be for page <em class="parameter"><code>n_pages</code></em> - 1.
|
1839
|
+
</p>
|
1840
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
1841
|
+
<p>Default value: -1</p>
|
1842
|
+
<p class="since">Since 2.10</p>
|
1843
|
+
</div>
|
1844
|
+
<hr>
|
1845
|
+
<div class="refsect2">
|
1846
|
+
<a name="GtkPrintOperation--n-pages-to-print"></a><h3>The <code class="literal">"n-pages-to-print"</code> property</h3>
|
1847
|
+
<pre class="programlisting"> "n-pages-to-print" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
|
1848
|
+
<p>
|
1849
|
+
The number of pages that will be printed.
|
1850
|
+
</p>
|
1851
|
+
<p>
|
1852
|
+
Note that this value is set during print preparation phase
|
1853
|
+
(<a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-STATUS-PREPARING:CAPS"><code class="literal">GTK_PRINT_STATUS_PREPARING</code></a>), so this value should never be
|
1854
|
+
get before the data generation phase (<a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-STATUS-GENERATING-DATA:CAPS"><code class="literal">GTK_PRINT_STATUS_GENERATING_DATA</code></a>).
|
1855
|
+
You can connect to the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-status-changed" title='The "status-changed" signal'><span class="type">"status-changed"</span></a> signal
|
1856
|
+
and call <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-n-pages-to-print" title="gtk_print_operation_get_n_pages_to_print ()"><code class="function">gtk_print_operation_get_n_pages_to_print()</code></a> when
|
1857
|
+
print status is <a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-STATUS-GENERATING-DATA:CAPS"><code class="literal">GTK_PRINT_STATUS_GENERATING_DATA</code></a>.
|
1858
|
+
This is typically used to track the progress of print operation.
|
1859
|
+
</p>
|
1860
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
1861
|
+
<p>Default value: -1</p>
|
1862
|
+
<p class="since">Since 2.18</p>
|
1863
|
+
</div>
|
1864
|
+
<hr>
|
1865
|
+
<div class="refsect2">
|
1866
|
+
<a name="GtkPrintOperation--print-settings"></a><h3>The <code class="literal">"print-settings"</code> property</h3>
|
1867
|
+
<pre class="programlisting"> "print-settings" <a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a>* : Read / Write</pre>
|
1868
|
+
<p>
|
1869
|
+
The <a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> used for initializing the dialog.
|
1870
|
+
</p>
|
1871
|
+
<p>
|
1872
|
+
Setting this property is typically used to re-establish
|
1873
|
+
print settings from a previous print operation, see
|
1874
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-run" title="gtk_print_operation_run ()"><code class="function">gtk_print_operation_run()</code></a>.
|
1875
|
+
</p>
|
1876
|
+
<p class="since">Since 2.10</p>
|
1877
|
+
</div>
|
1878
|
+
<hr>
|
1879
|
+
<div class="refsect2">
|
1880
|
+
<a name="GtkPrintOperation--show-progress"></a><h3>The <code class="literal">"show-progress"</code> property</h3>
|
1881
|
+
<pre class="programlisting"> "show-progress" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1882
|
+
<p>
|
1883
|
+
Determines whether to show a progress dialog during the
|
1884
|
+
print operation.
|
1885
|
+
</p>
|
1886
|
+
<p>Default value: FALSE</p>
|
1887
|
+
<p class="since">Since 2.10</p>
|
1888
|
+
</div>
|
1889
|
+
<hr>
|
1890
|
+
<div class="refsect2">
|
1891
|
+
<a name="GtkPrintOperation--status"></a><h3>The <code class="literal">"status"</code> property</h3>
|
1892
|
+
<pre class="programlisting"> "status" <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintStatus" title="enum GtkPrintStatus"><span class="type">GtkPrintStatus</span></a> : Read</pre>
|
1893
|
+
<p>
|
1894
|
+
The status of the print operation.
|
1895
|
+
</p>
|
1896
|
+
<p>Default value: GTK_PRINT_STATUS_INITIAL</p>
|
1897
|
+
<p class="since">Since 2.10</p>
|
1898
|
+
</div>
|
1899
|
+
<hr>
|
1900
|
+
<div class="refsect2">
|
1901
|
+
<a name="GtkPrintOperation--status-string"></a><h3>The <code class="literal">"status-string"</code> property</h3>
|
1902
|
+
<pre class="programlisting"> "status-string" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
|
1903
|
+
<p>
|
1904
|
+
A string representation of the status of the print operation.
|
1905
|
+
The string is translated and suitable for displaying the print
|
1906
|
+
status e.g. in a <a class="link" href="GtkStatusbar.html" title="GtkStatusbar"><span class="type">GtkStatusbar</span></a>.
|
1907
|
+
</p>
|
1908
|
+
<p>
|
1909
|
+
See the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation--status" title='The "status" property'><span class="type">"status"</span></a> property for a status value that
|
1910
|
+
is suitable for programmatic use.
|
1911
|
+
</p>
|
1912
|
+
<p>Default value: ""</p>
|
1913
|
+
<p class="since">Since 2.10</p>
|
1914
|
+
</div>
|
1915
|
+
<hr>
|
1916
|
+
<div class="refsect2">
|
1917
|
+
<a name="GtkPrintOperation--support-selection"></a><h3>The <code class="literal">"support-selection"</code> property</h3>
|
1918
|
+
<pre class="programlisting"> "support-selection" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1919
|
+
<p>
|
1920
|
+
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will support print of selection.
|
1921
|
+
This allows the print dialog to show a "Selection" button.
|
1922
|
+
</p>
|
1923
|
+
<p>Default value: FALSE</p>
|
1924
|
+
<p class="since">Since 2.18</p>
|
1925
|
+
</div>
|
1926
|
+
<hr>
|
1927
|
+
<div class="refsect2">
|
1928
|
+
<a name="GtkPrintOperation--track-print-status"></a><h3>The <code class="literal">"track-print-status"</code> property</h3>
|
1929
|
+
<pre class="programlisting"> "track-print-status" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1930
|
+
<p>
|
1931
|
+
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the print operation will try to continue report on
|
1932
|
+
the status of the print job in the printer queues and printer.
|
1933
|
+
This can allow your application to show things like "out of paper"
|
1934
|
+
issues, and when the print job actually reaches the printer.
|
1935
|
+
However, this is often implemented using polling, and should
|
1936
|
+
not be enabled unless needed.
|
1937
|
+
</p>
|
1938
|
+
<p>Default value: FALSE</p>
|
1939
|
+
<p class="since">Since 2.10</p>
|
1940
|
+
</div>
|
1941
|
+
<hr>
|
1942
|
+
<div class="refsect2">
|
1943
|
+
<a name="GtkPrintOperation--unit"></a><h3>The <code class="literal">"unit"</code> property</h3>
|
1944
|
+
<pre class="programlisting"> "unit" <a class="link" href="GtkPaperSize.html#GtkUnit" title="enum GtkUnit"><span class="type">GtkUnit</span></a> : Read / Write</pre>
|
1945
|
+
<p>
|
1946
|
+
The transformation for the cairo context obtained from
|
1947
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> is set up in such a way that distances
|
1948
|
+
are measured in units of <em class="parameter"><code>unit</code></em>.
|
1949
|
+
</p>
|
1950
|
+
<p>Default value: GTK_UNIT_PIXEL</p>
|
1951
|
+
<p class="since">Since 2.10</p>
|
1952
|
+
</div>
|
1953
|
+
<hr>
|
1954
|
+
<div class="refsect2">
|
1955
|
+
<a name="GtkPrintOperation--use-full-page"></a><h3>The <code class="literal">"use-full-page"</code> property</h3>
|
1956
|
+
<pre class="programlisting"> "use-full-page" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
1957
|
+
<p>
|
1958
|
+
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the transformation for the cairo context obtained
|
1959
|
+
from <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> puts the origin at the top left corner
|
1960
|
+
of the page (which may not be the top left corner of the sheet,
|
1961
|
+
depending on page orientation and the number of pages per sheet).
|
1962
|
+
Otherwise, the origin is at the top left corner of the imageable
|
1963
|
+
area (i.e. inside the margins).
|
1964
|
+
</p>
|
1965
|
+
<p>Default value: FALSE</p>
|
1966
|
+
<p class="since">Since 2.10</p>
|
1967
|
+
</div>
|
1968
|
+
</div>
|
1969
|
+
<div class="refsect1">
|
1970
|
+
<a name="gtk-High-level-Printing-API.signal-details"></a><h2>Signal Details</h2>
|
1971
|
+
<div class="refsect2">
|
1972
|
+
<a name="GtkPrintOperation-begin-print"></a><h3>The <code class="literal">"begin-print"</code> signal</h3>
|
1973
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
1974
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
1975
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
1976
|
+
<p>
|
1977
|
+
Emitted after the user has finished changing print settings
|
1978
|
+
in the dialog, before the actual rendering starts.
|
1979
|
+
</p>
|
1980
|
+
<p>
|
1981
|
+
A typical use for ::begin-print is to use the parameters from the
|
1982
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> and paginate the document accordingly, and then
|
1983
|
+
set the number of pages with <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-n-pages" title="gtk_print_operation_set_n_pages ()"><code class="function">gtk_print_operation_set_n_pages()</code></a>.
|
1984
|
+
</p>
|
1985
|
+
<div class="variablelist"><table border="0">
|
1986
|
+
<col align="left" valign="top">
|
1987
|
+
<tbody>
|
1988
|
+
<tr>
|
1989
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
1990
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
1991
|
+
</tr>
|
1992
|
+
<tr>
|
1993
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
1994
|
+
<td>the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> for the current operation</td>
|
1995
|
+
</tr>
|
1996
|
+
<tr>
|
1997
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1998
|
+
<td>user data set when the signal handler was connected.</td>
|
1999
|
+
</tr>
|
2000
|
+
</tbody>
|
2001
|
+
</table></div>
|
2002
|
+
<p class="since">Since 2.10</p>
|
2003
|
+
</div>
|
2004
|
+
<hr>
|
2005
|
+
<div class="refsect2">
|
2006
|
+
<a name="GtkPrintOperation-create-custom-widget"></a><h3>The <code class="literal">"create-custom-widget"</code> signal</h3>
|
2007
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a>* user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2008
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2009
|
+
<p>
|
2010
|
+
Emitted when displaying the print dialog. If you return a
|
2011
|
+
widget in a handler for this signal it will be added to a custom
|
2012
|
+
tab in the print dialog. You typically return a container widget
|
2013
|
+
with multiple widgets in it.
|
2014
|
+
</p>
|
2015
|
+
<p>
|
2016
|
+
The print dialog owns the returned widget, and its lifetime is not
|
2017
|
+
controlled by the application. However, the widget is guaranteed
|
2018
|
+
to stay around until the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-custom-widget-apply" title='The "custom-widget-apply" signal'><span class="type">"custom-widget-apply"</span></a>
|
2019
|
+
signal is emitted on the operation. Then you can read out any
|
2020
|
+
information you need from the widgets.
|
2021
|
+
</p>
|
2022
|
+
<div class="variablelist"><table border="0">
|
2023
|
+
<col align="left" valign="top">
|
2024
|
+
<tbody>
|
2025
|
+
<tr>
|
2026
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
2027
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
2028
|
+
</tr>
|
2029
|
+
<tr>
|
2030
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2031
|
+
<td>user data set when the signal handler was connected.</td>
|
2032
|
+
</tr>
|
2033
|
+
<tr>
|
2034
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2035
|
+
<td>A custom widget that gets embedded in
|
2036
|
+
the print dialog, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2037
|
+
</td>
|
2038
|
+
</tr>
|
2039
|
+
</tbody>
|
2040
|
+
</table></div>
|
2041
|
+
<p class="since">Since 2.10</p>
|
2042
|
+
</div>
|
2043
|
+
<hr>
|
2044
|
+
<div class="refsect2">
|
2045
|
+
<a name="GtkPrintOperation-custom-widget-apply"></a><h3>The <code class="literal">"custom-widget-apply"</code> signal</h3>
|
2046
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2047
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
2048
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2049
|
+
<p>
|
2050
|
+
Emitted right before <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-begin-print" title='The "begin-print" signal'><span class="type">"begin-print"</span></a> if you added
|
2051
|
+
a custom widget in the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-create-custom-widget" title='The "create-custom-widget" signal'><span class="type">"create-custom-widget"</span></a> handler.
|
2052
|
+
When you get this signal you should read the information from the
|
2053
|
+
custom widgets, as the widgets are not guaraneed to be around at a
|
2054
|
+
later time.
|
2055
|
+
</p>
|
2056
|
+
<div class="variablelist"><table border="0">
|
2057
|
+
<col align="left" valign="top">
|
2058
|
+
<tbody>
|
2059
|
+
<tr>
|
2060
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
2061
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
2062
|
+
</tr>
|
2063
|
+
<tr>
|
2064
|
+
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
2065
|
+
<td>the custom widget added in create-custom-widget</td>
|
2066
|
+
</tr>
|
2067
|
+
<tr>
|
2068
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2069
|
+
<td>user data set when the signal handler was connected.</td>
|
2070
|
+
</tr>
|
2071
|
+
</tbody>
|
2072
|
+
</table></div>
|
2073
|
+
<p class="since">Since 2.10</p>
|
2074
|
+
</div>
|
2075
|
+
<hr>
|
2076
|
+
<div class="refsect2">
|
2077
|
+
<a name="GtkPrintOperation-done"></a><h3>The <code class="literal">"done"</code> signal</h3>
|
2078
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2079
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationResult" title="enum GtkPrintOperationResult"><span class="type">GtkPrintOperationResult</span></a> result,
|
2080
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2081
|
+
<p>
|
2082
|
+
Emitted when the print operation run has finished doing
|
2083
|
+
everything required for printing.
|
2084
|
+
</p>
|
2085
|
+
<p>
|
2086
|
+
<em class="parameter"><code>result</code></em> gives you information about what happened during the run.
|
2087
|
+
If <em class="parameter"><code>result</code></em> is <a class="link" href="gtk-High-level-Printing-API.html#GTK-PRINT-OPERATION-RESULT-ERROR:CAPS"><code class="literal">GTK_PRINT_OPERATION_RESULT_ERROR</code></a> then you can call
|
2088
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-error" title="gtk_print_operation_get_error ()"><code class="function">gtk_print_operation_get_error()</code></a> for more information.
|
2089
|
+
</p>
|
2090
|
+
<p>
|
2091
|
+
If you enabled print status tracking then
|
2092
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-is-finished" title="gtk_print_operation_is_finished ()"><code class="function">gtk_print_operation_is_finished()</code></a> may still return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2093
|
+
after <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-done" title='The "done" signal'><span class="type">"done"</span></a> was emitted.
|
2094
|
+
</p>
|
2095
|
+
<div class="variablelist"><table border="0">
|
2096
|
+
<col align="left" valign="top">
|
2097
|
+
<tbody>
|
2098
|
+
<tr>
|
2099
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
2100
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
2101
|
+
</tr>
|
2102
|
+
<tr>
|
2103
|
+
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
2104
|
+
<td>the result of the print operation</td>
|
2105
|
+
</tr>
|
2106
|
+
<tr>
|
2107
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2108
|
+
<td>user data set when the signal handler was connected.</td>
|
2109
|
+
</tr>
|
2110
|
+
</tbody>
|
2111
|
+
</table></div>
|
2112
|
+
<p class="since">Since 2.10</p>
|
2113
|
+
</div>
|
2114
|
+
<hr>
|
2115
|
+
<div class="refsect2">
|
2116
|
+
<a name="GtkPrintOperation-draw-page"></a><h3>The <code class="literal">"draw-page"</code> signal</h3>
|
2117
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2118
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2119
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr,
|
2120
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2121
|
+
<p>
|
2122
|
+
Emitted for every page that is printed. The signal handler
|
2123
|
+
must render the <em class="parameter"><code>page_nr</code></em>'s page onto the cairo context obtained
|
2124
|
+
from <em class="parameter"><code>context</code></em> using <a class="link" href="GtkPrintContext.html#gtk-print-context-get-cairo-context" title="gtk_print_context_get_cairo_context ()"><code class="function">gtk_print_context_get_cairo_context()</code></a>.
|
2125
|
+
</p>
|
2126
|
+
<div class="informalexample">
|
2127
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2128
|
+
<tbody>
|
2129
|
+
<tr>
|
2130
|
+
<td class="listing_lines" align="right"><pre>1
|
2131
|
+
2
|
2132
|
+
3
|
2133
|
+
4
|
2134
|
+
5
|
2135
|
+
6
|
2136
|
+
7
|
2137
|
+
8
|
2138
|
+
9
|
2139
|
+
10
|
2140
|
+
11
|
2141
|
+
12
|
2142
|
+
13
|
2143
|
+
14
|
2144
|
+
15
|
2145
|
+
16
|
2146
|
+
17
|
2147
|
+
18
|
2148
|
+
19
|
2149
|
+
20
|
2150
|
+
21
|
2151
|
+
22
|
2152
|
+
23
|
2153
|
+
24
|
2154
|
+
25
|
2155
|
+
26
|
2156
|
+
27
|
2157
|
+
28
|
2158
|
+
29
|
2159
|
+
30
|
2160
|
+
31
|
2161
|
+
32
|
2162
|
+
33
|
2163
|
+
34
|
2164
|
+
35
|
2165
|
+
36
|
2166
|
+
37
|
2167
|
+
38</pre></td>
|
2168
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
2169
|
+
<span class="function">draw_page</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkPrintOperation</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">operation</span><span class="symbol">,</span>
|
2170
|
+
<span class="normal"> </span><span class="usertype">GtkPrintContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
|
2171
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> page_nr</span><span class="symbol">,</span>
|
2172
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
2173
|
+
<span class="cbracket">{</span>
|
2174
|
+
<span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">;</span>
|
2175
|
+
<span class="normal"> </span><span class="usertype">PangoLayout</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">layout</span><span class="symbol">;</span>
|
2176
|
+
<span class="normal"> </span><span class="usertype">gdouble</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> text_height</span><span class="symbol">;</span>
|
2177
|
+
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> layout_height</span><span class="symbol">;</span>
|
2178
|
+
<span class="normal"> </span><span class="usertype">PangoFontDescription</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">desc</span><span class="symbol">;</span>
|
2179
|
+
<span class="normal"> </span>
|
2180
|
+
<span class="normal"> cr </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkPrintContext.html#gtk-print-context-get-cairo-context">gtk_print_context_get_cairo_context</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span>
|
2181
|
+
<span class="normal"> width </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkPrintContext.html#gtk-print-context-get-width">gtk_print_context_get_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span>
|
2182
|
+
<span class="normal"> </span>
|
2183
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-rectangle">cairo_rectangle</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> HEADER_HEIGHT</span><span class="symbol">);</span>
|
2184
|
+
<span class="normal"> </span>
|
2185
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source-rgb">cairo_set_source_rgb</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.8</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.8</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.8</span><span class="symbol">);</span>
|
2186
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill">cairo_fill</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
2187
|
+
<span class="normal"> </span>
|
2188
|
+
<span class="normal"> layout </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkPrintContext.html#gtk-print-context-create-pango-layout">gtk_print_context_create_pango_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span>
|
2189
|
+
<span class="normal"> </span>
|
2190
|
+
<span class="normal"> desc </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string">pango_font_description_from_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"sans 14"</span><span class="symbol">);</span>
|
2191
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-font-description">pango_layout_set_font_description</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> desc</span><span class="symbol">);</span>
|
2192
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-free">pango_font_description_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">desc</span><span class="symbol">);</span>
|
2193
|
+
<span class="normal"> </span>
|
2194
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-text">pango_layout_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"some text"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
|
2195
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-width">pango_layout_set_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> width </span><span class="symbol">*</span><span class="normal"> <a href="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PANGO-SCALE:CAPS">PANGO_SCALE</a></span><span class="symbol">);</span>
|
2196
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-alignment">pango_layout_set_alignment</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PANGO-ALIGN-CENTER:CAPS">PANGO_ALIGN_CENTER</a></span><span class="symbol">);</span>
|
2197
|
+
<span class="normal"> </span>
|
2198
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-get-size">pango_layout_get_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">layout_height</span><span class="symbol">);</span>
|
2199
|
+
<span class="normal"> text_height </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble">gdouble</a></span><span class="symbol">)</span><span class="normal">layout_height </span><span class="symbol">/</span><span class="normal"> <a href="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PANGO-SCALE:CAPS">PANGO_SCALE</a></span><span class="symbol">;</span>
|
2200
|
+
<span class="normal"> </span>
|
2201
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-move-to">cairo_move_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">HEADER_HEIGHT </span><span class="symbol">-</span><span class="normal"> text_height</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">/</span><span class="normal"> </span><span class="number">2</span><span class="symbol">);</span>
|
2202
|
+
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/pango/pango-Cairo-Rendering.html#pango-cairo-show-layout">pango_cairo_show_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> layout</span><span class="symbol">);</span>
|
2203
|
+
<span class="normal"> </span>
|
2204
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/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>
|
2205
|
+
<span class="cbracket">}</span></pre></td>
|
2206
|
+
</tr>
|
2207
|
+
</tbody>
|
2208
|
+
</table>
|
2209
|
+
</div>
|
2210
|
+
|
2211
|
+
<p>
|
2212
|
+
</p>
|
2213
|
+
<p>
|
2214
|
+
Use <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-use-full-page" title="gtk_print_operation_set_use_full_page ()"><code class="function">gtk_print_operation_set_use_full_page()</code></a> and
|
2215
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-unit" title="gtk_print_operation_set_unit ()"><code class="function">gtk_print_operation_set_unit()</code></a> before starting the print operation
|
2216
|
+
to set up the transformation of the cairo context according to your
|
2217
|
+
needs.
|
2218
|
+
</p>
|
2219
|
+
<div class="variablelist"><table border="0">
|
2220
|
+
<col align="left" valign="top">
|
2221
|
+
<tbody>
|
2222
|
+
<tr>
|
2223
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
2224
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
2225
|
+
</tr>
|
2226
|
+
<tr>
|
2227
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2228
|
+
<td>the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> for the current operation</td>
|
2229
|
+
</tr>
|
2230
|
+
<tr>
|
2231
|
+
<td><p><span class="term"><em class="parameter"><code>page_nr</code></em> :</span></p></td>
|
2232
|
+
<td>the number of the currently printed page (0-based)</td>
|
2233
|
+
</tr>
|
2234
|
+
<tr>
|
2235
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2236
|
+
<td>user data set when the signal handler was connected.</td>
|
2237
|
+
</tr>
|
2238
|
+
</tbody>
|
2239
|
+
</table></div>
|
2240
|
+
<p class="since">Since 2.10</p>
|
2241
|
+
</div>
|
2242
|
+
<hr>
|
2243
|
+
<div class="refsect2">
|
2244
|
+
<a name="GtkPrintOperation-end-print"></a><h3>The <code class="literal">"end-print"</code> signal</h3>
|
2245
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2246
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2247
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2248
|
+
<p>
|
2249
|
+
Emitted after all pages have been rendered.
|
2250
|
+
A handler for this signal can clean up any resources that have
|
2251
|
+
been allocated in the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-begin-print" title='The "begin-print" signal'><span class="type">"begin-print"</span></a> handler.
|
2252
|
+
</p>
|
2253
|
+
<div class="variablelist"><table border="0">
|
2254
|
+
<col align="left" valign="top">
|
2255
|
+
<tbody>
|
2256
|
+
<tr>
|
2257
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
2258
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
2259
|
+
</tr>
|
2260
|
+
<tr>
|
2261
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2262
|
+
<td>the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> for the current operation</td>
|
2263
|
+
</tr>
|
2264
|
+
<tr>
|
2265
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2266
|
+
<td>user data set when the signal handler was connected.</td>
|
2267
|
+
</tr>
|
2268
|
+
</tbody>
|
2269
|
+
</table></div>
|
2270
|
+
<p class="since">Since 2.10</p>
|
2271
|
+
</div>
|
2272
|
+
<hr>
|
2273
|
+
<div class="refsect2">
|
2274
|
+
<a name="GtkPrintOperation-paginate"></a><h3>The <code class="literal">"paginate"</code> signal</h3>
|
2275
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2276
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2277
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2278
|
+
<p>
|
2279
|
+
Emitted after the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation-begin-print" title='The "begin-print" signal'><span class="type">"begin-print"</span></a> signal, but before
|
2280
|
+
the actual rendering starts. It keeps getting emitted until a connected
|
2281
|
+
signal handler returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
2282
|
+
</p>
|
2283
|
+
<p>
|
2284
|
+
The ::paginate signal is intended to be used for paginating a document
|
2285
|
+
in small chunks, to avoid blocking the user interface for a long
|
2286
|
+
time. The signal handler should update the number of pages using
|
2287
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-set-n-pages" title="gtk_print_operation_set_n_pages ()"><code class="function">gtk_print_operation_set_n_pages()</code></a>, and return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the document
|
2288
|
+
has been completely paginated.
|
2289
|
+
</p>
|
2290
|
+
<p>
|
2291
|
+
If you don't need to do pagination in chunks, you can simply do
|
2292
|
+
it all in the ::begin-print handler, and set the number of pages
|
2293
|
+
from there.
|
2294
|
+
</p>
|
2295
|
+
<div class="variablelist"><table border="0">
|
2296
|
+
<col align="left" valign="top">
|
2297
|
+
<tbody>
|
2298
|
+
<tr>
|
2299
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
2300
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
2301
|
+
</tr>
|
2302
|
+
<tr>
|
2303
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2304
|
+
<td>the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> for the current operation</td>
|
2305
|
+
</tr>
|
2306
|
+
<tr>
|
2307
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2308
|
+
<td>user data set when the signal handler was connected.</td>
|
2309
|
+
</tr>
|
2310
|
+
<tr>
|
2311
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2312
|
+
<td>
|
2313
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if pagination is complete</td>
|
2314
|
+
</tr>
|
2315
|
+
</tbody>
|
2316
|
+
</table></div>
|
2317
|
+
<p class="since">Since 2.10</p>
|
2318
|
+
</div>
|
2319
|
+
<hr>
|
2320
|
+
<div class="refsect2">
|
2321
|
+
<a name="GtkPrintOperation-preview"></a><h3>The <code class="literal">"preview"</code> signal</h3>
|
2322
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2323
|
+
<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview,
|
2324
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2325
|
+
<a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> *parent,
|
2326
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2327
|
+
<p>
|
2328
|
+
Gets emitted when a preview is requested from the native dialog.
|
2329
|
+
</p>
|
2330
|
+
<p>
|
2331
|
+
The default handler for this signal uses an external viewer
|
2332
|
+
application to preview.
|
2333
|
+
</p>
|
2334
|
+
<p>
|
2335
|
+
To implement a custom print preview, an application must return
|
2336
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> from its handler for this signal. In order to use the
|
2337
|
+
provided <em class="parameter"><code>context</code></em> for the preview implementation, it must be
|
2338
|
+
given a suitable cairo context with <a class="link" href="GtkPrintContext.html#gtk-print-context-set-cairo-context" title="gtk_print_context_set_cairo_context ()"><code class="function">gtk_print_context_set_cairo_context()</code></a>.
|
2339
|
+
</p>
|
2340
|
+
<p>
|
2341
|
+
The custom preview implementation can use
|
2342
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-preview-is-selected" title="gtk_print_operation_preview_is_selected ()"><code class="function">gtk_print_operation_preview_is_selected()</code></a> and
|
2343
|
+
<a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-preview-render-page" title="gtk_print_operation_preview_render_page ()"><code class="function">gtk_print_operation_preview_render_page()</code></a> to find pages which
|
2344
|
+
are selected for print and render them. The preview must be
|
2345
|
+
finished by calling <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-preview-end-preview" title="gtk_print_operation_preview_end_preview ()"><code class="function">gtk_print_operation_preview_end_preview()</code></a>
|
2346
|
+
(typically in response to the user clicking a close button).
|
2347
|
+
</p>
|
2348
|
+
<div class="variablelist"><table border="0">
|
2349
|
+
<col align="left" valign="top">
|
2350
|
+
<tbody>
|
2351
|
+
<tr>
|
2352
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
2353
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
2354
|
+
</tr>
|
2355
|
+
<tr>
|
2356
|
+
<td><p><span class="term"><em class="parameter"><code>preview</code></em> :</span></p></td>
|
2357
|
+
<td>the <span class="type">GtkPrintPreviewOperation</span> for the current operation</td>
|
2358
|
+
</tr>
|
2359
|
+
<tr>
|
2360
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2361
|
+
<td>the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> that will be used</td>
|
2362
|
+
</tr>
|
2363
|
+
<tr>
|
2364
|
+
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
2365
|
+
<td>the <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> to use as window parent, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2366
|
+
</td>
|
2367
|
+
</tr>
|
2368
|
+
<tr>
|
2369
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2370
|
+
<td>user data set when the signal handler was connected.</td>
|
2371
|
+
</tr>
|
2372
|
+
<tr>
|
2373
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2374
|
+
<td>
|
2375
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the listener wants to take over control of the preview</td>
|
2376
|
+
</tr>
|
2377
|
+
</tbody>
|
2378
|
+
</table></div>
|
2379
|
+
<p class="since">Since 2.10</p>
|
2380
|
+
</div>
|
2381
|
+
<hr>
|
2382
|
+
<div class="refsect2">
|
2383
|
+
<a name="GtkPrintOperation-request-page-setup"></a><h3>The <code class="literal">"request-page-setup"</code> signal</h3>
|
2384
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2385
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2386
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> page_nr,
|
2387
|
+
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup,
|
2388
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2389
|
+
<p>
|
2390
|
+
Emitted once for every page that is printed, to give
|
2391
|
+
the application a chance to modify the page setup. Any changes
|
2392
|
+
done to <em class="parameter"><code>setup</code></em> will be in force only for printing this page.
|
2393
|
+
</p>
|
2394
|
+
<div class="variablelist"><table border="0">
|
2395
|
+
<col align="left" valign="top">
|
2396
|
+
<tbody>
|
2397
|
+
<tr>
|
2398
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
2399
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
2400
|
+
</tr>
|
2401
|
+
<tr>
|
2402
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2403
|
+
<td>the <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> for the current operation</td>
|
2404
|
+
</tr>
|
2405
|
+
<tr>
|
2406
|
+
<td><p><span class="term"><em class="parameter"><code>page_nr</code></em> :</span></p></td>
|
2407
|
+
<td>the number of the currently printed page (0-based)</td>
|
2408
|
+
</tr>
|
2409
|
+
<tr>
|
2410
|
+
<td><p><span class="term"><em class="parameter"><code>setup</code></em> :</span></p></td>
|
2411
|
+
<td>the <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a>
|
2412
|
+
</td>
|
2413
|
+
</tr>
|
2414
|
+
<tr>
|
2415
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2416
|
+
<td>user data set when the signal handler was connected.</td>
|
2417
|
+
</tr>
|
2418
|
+
</tbody>
|
2419
|
+
</table></div>
|
2420
|
+
<p class="since">Since 2.10</p>
|
2421
|
+
</div>
|
2422
|
+
<hr>
|
2423
|
+
<div class="refsect2">
|
2424
|
+
<a name="GtkPrintOperation-status-changed"></a><h3>The <code class="literal">"status-changed"</code> signal</h3>
|
2425
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2426
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2427
|
+
<p>
|
2428
|
+
Emitted at between the various phases of the print operation.
|
2429
|
+
See <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintStatus" title="enum GtkPrintStatus"><span class="type">GtkPrintStatus</span></a> for the phases that are being discriminated.
|
2430
|
+
Use <a class="link" href="gtk-High-level-Printing-API.html#gtk-print-operation-get-status" title="gtk_print_operation_get_status ()"><code class="function">gtk_print_operation_get_status()</code></a> to find out the current
|
2431
|
+
status.
|
2432
|
+
</p>
|
2433
|
+
<div class="variablelist"><table border="0">
|
2434
|
+
<col align="left" valign="top">
|
2435
|
+
<tbody>
|
2436
|
+
<tr>
|
2437
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
2438
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
2439
|
+
</tr>
|
2440
|
+
<tr>
|
2441
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2442
|
+
<td>user data set when the signal handler was connected.</td>
|
2443
|
+
</tr>
|
2444
|
+
</tbody>
|
2445
|
+
</table></div>
|
2446
|
+
<p class="since">Since 2.10</p>
|
2447
|
+
</div>
|
2448
|
+
<hr>
|
2449
|
+
<div class="refsect2">
|
2450
|
+
<a name="GtkPrintOperation-update-custom-widget"></a><h3>The <code class="literal">"update-custom-widget"</code> signal</h3>
|
2451
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> *operation,
|
2452
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
2453
|
+
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *setup,
|
2454
|
+
<a class="link" href="GtkPrintSettings.html" title="GtkPrintSettings"><span class="type">GtkPrintSettings</span></a> *settings,
|
2455
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2456
|
+
<p>
|
2457
|
+
Emitted after change of selected printer. The actual page setup and
|
2458
|
+
print settings are passed to the custom widget, which can actualize
|
2459
|
+
itself according to this change.
|
2460
|
+
</p>
|
2461
|
+
<div class="variablelist"><table border="0">
|
2462
|
+
<col align="left" valign="top">
|
2463
|
+
<tbody>
|
2464
|
+
<tr>
|
2465
|
+
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
|
2466
|
+
<td>the <a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperation"><span class="type">GtkPrintOperation</span></a> on which the signal was emitted</td>
|
2467
|
+
</tr>
|
2468
|
+
<tr>
|
2469
|
+
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
2470
|
+
<td>the custom widget added in create-custom-widget</td>
|
2471
|
+
</tr>
|
2472
|
+
<tr>
|
2473
|
+
<td><p><span class="term"><em class="parameter"><code>setup</code></em> :</span></p></td>
|
2474
|
+
<td>actual page setup</td>
|
2475
|
+
</tr>
|
2476
|
+
<tr>
|
2477
|
+
<td><p><span class="term"><em class="parameter"><code>settings</code></em> :</span></p></td>
|
2478
|
+
<td>actual print settings</td>
|
2479
|
+
</tr>
|
2480
|
+
<tr>
|
2481
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2482
|
+
<td>user data set when the signal handler was connected.</td>
|
2483
|
+
</tr>
|
2484
|
+
</tbody>
|
2485
|
+
</table></div>
|
2486
|
+
<p class="since">Since 2.18</p>
|
2487
|
+
</div>
|
2488
|
+
<hr>
|
2489
|
+
<div class="refsect2">
|
2490
|
+
<a name="GtkPrintOperationPreview-got-page-size"></a><h3>The <code class="literal">"got-page-size"</code> signal</h3>
|
2491
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview,
|
2492
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2493
|
+
<a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> *page_setup,
|
2494
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2495
|
+
<p>
|
2496
|
+
The ::got-page-size signal is emitted once for each page
|
2497
|
+
that gets rendered to the preview.
|
2498
|
+
</p>
|
2499
|
+
<p>
|
2500
|
+
A handler for this signal should update the <em class="parameter"><code>context</code></em>
|
2501
|
+
according to <em class="parameter"><code>page_setup</code></em> and set up a suitable cairo
|
2502
|
+
context, using <a class="link" href="GtkPrintContext.html#gtk-print-context-set-cairo-context" title="gtk_print_context_set_cairo_context ()"><code class="function">gtk_print_context_set_cairo_context()</code></a>.
|
2503
|
+
</p>
|
2504
|
+
<div class="variablelist"><table border="0">
|
2505
|
+
<col align="left" valign="top">
|
2506
|
+
<tbody>
|
2507
|
+
<tr>
|
2508
|
+
<td><p><span class="term"><em class="parameter"><code>preview</code></em> :</span></p></td>
|
2509
|
+
<td>the object on which the signal is emitted</td>
|
2510
|
+
</tr>
|
2511
|
+
<tr>
|
2512
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2513
|
+
<td>the current <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a>
|
2514
|
+
</td>
|
2515
|
+
</tr>
|
2516
|
+
<tr>
|
2517
|
+
<td><p><span class="term"><em class="parameter"><code>page_setup</code></em> :</span></p></td>
|
2518
|
+
<td>the <a class="link" href="GtkPageSetup.html" title="GtkPageSetup"><span class="type">GtkPageSetup</span></a> for the current page</td>
|
2519
|
+
</tr>
|
2520
|
+
<tr>
|
2521
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2522
|
+
<td>user data set when the signal handler was connected.</td>
|
2523
|
+
</tr>
|
2524
|
+
</tbody>
|
2525
|
+
</table></div>
|
2526
|
+
</div>
|
2527
|
+
<hr>
|
2528
|
+
<div class="refsect2">
|
2529
|
+
<a name="GtkPrintOperationPreview-ready"></a><h3>The <code class="literal">"ready"</code> signal</h3>
|
2530
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gtk-High-level-Printing-API.html#GtkPrintOperationPreview"><span class="type">GtkPrintOperationPreview</span></a> *preview,
|
2531
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a> *context,
|
2532
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2533
|
+
<p>
|
2534
|
+
The ::ready signal gets emitted once per preview operation,
|
2535
|
+
before the first page is rendered.
|
2536
|
+
</p>
|
2537
|
+
<p>
|
2538
|
+
A handler for this signal can be used for setup tasks.
|
2539
|
+
</p>
|
2540
|
+
<div class="variablelist"><table border="0">
|
2541
|
+
<col align="left" valign="top">
|
2542
|
+
<tbody>
|
2543
|
+
<tr>
|
2544
|
+
<td><p><span class="term"><em class="parameter"><code>preview</code></em> :</span></p></td>
|
2545
|
+
<td>the object on which the signal is emitted</td>
|
2546
|
+
</tr>
|
2547
|
+
<tr>
|
2548
|
+
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
|
2549
|
+
<td>the current <a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a>
|
2550
|
+
</td>
|
2551
|
+
</tr>
|
2552
|
+
<tr>
|
2553
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2554
|
+
<td>user data set when the signal handler was connected.</td>
|
2555
|
+
</tr>
|
2556
|
+
</tbody>
|
2557
|
+
</table></div>
|
2558
|
+
</div>
|
2559
|
+
</div>
|
2560
|
+
<div class="refsect1">
|
2561
|
+
<a name="gtk-High-level-Printing-API.see-also"></a><h2>See Also</h2>
|
2562
|
+
<p>
|
2563
|
+
<a class="link" href="GtkPrintContext.html" title="GtkPrintContext"><span class="type">GtkPrintContext</span></a>, <a class="link" href="GtkPrintUnixDialog.html" title="GtkPrintUnixDialog"><span class="type">GtkPrintUnixDialog</span></a>
|
2564
|
+
</p>
|
2565
|
+
</div>
|
2566
|
+
</div>
|
2567
|
+
<div class="footer">
|
2568
|
+
<hr>
|
2569
|
+
Generated by GTK-Doc V1.18</div>
|
2570
|
+
</body>
|
2571
|
+
</html>
|