build
demos
docs
examples
gdk
gtk
a11y
deprecated
glade
inspector
native
resources
Makefile.am
compose-parse.py
encodesymbolic.c
fallback-c89.c
fnmatch.c
gen-paper-names.c
gtk-a11y.h
gtk-compose-lookaside.txt
gtk-keys.css.default
gtk-keys.css.emacs
gtk-keys.css.mac
gtk-launch.c
gtk-win32.rc.in
gtk.h
gtkaboutdialog.c
gtkaboutdialog.h
gtkaccelgroup.c
gtkaccelgroup.h
gtkaccelgroupprivate.h
gtkaccellabel.c
gtkaccellabel.h
gtkaccelmap.c
gtkaccelmap.h
gtkaccelmapprivate.h
gtkaccessible.c
gtkaccessible.h
gtkactionable.c
gtkactionable.h
gtkactionbar.c
gtkactionbar.h
gtkactionhelper.c
gtkactionhelper.h
gtkactionmuxer.c
gtkactionmuxer.h
gtkactionobservable.c
gtkactionobservable.h
gtkactionobserver.c
gtkactionobserver.h
gtkadjustment.c
gtkadjustment.h
gtkadjustmentprivate.h
gtkallocatedbitmask.c
gtkallocatedbitmaskprivate.h
gtkappchooser.c
gtkappchooser.h
gtkappchooserbutton.c
gtkappchooserbutton.h
gtkappchooserdialog.c
gtkappchooserdialog.h
gtkappchooserprivate.h
gtkappchooserwidget.c
gtkappchooserwidget.h
gtkapplication-dbus.c
gtkapplication-quartz-menu.c
gtkapplication-quartz.c
gtkapplication-wayland.c
gtkapplication-x11.c
gtkapplication.c
gtkapplication.h
gtkapplicationimpl.c
gtkapplicationprivate.h
gtkapplicationwindow.c
gtkapplicationwindow.h
gtkaspectframe.c
gtkaspectframe.h
gtkassistant.c
gtkassistant.h
gtkbbox.c
gtkbbox.h
gtkbin.c
gtkbin.h
gtkbindings.c
gtkbindings.h
gtkbindingsprivate.h
gtkbitmaskprivate.h
gtkbitmaskprivateimpl.h
gtkbookmarksmanager.c
gtkbookmarksmanager.h
gtkborder.c
gtkborder.h
gtkborderimage.c
gtkborderimageprivate.h
gtkbox.c
gtkbox.h
gtkboxprivate.h
gtkbuildable.c
gtkbuildable.h
gtkbuilder-menus.c
gtkbuilder.c
gtkbuilder.h
gtkbuilder.rnc
gtkbuilder.rng
gtkbuilderparser.c
gtkbuilderprivate.h
gtkbutton.c
gtkbutton.h
gtkbuttonprivate.h
gtkcairoblur.c
gtkcairoblurprivate.h
gtkcalendar.c
gtkcalendar.h
gtkcellarea.c
gtkcellarea.h
gtkcellareabox.c
gtkcellareabox.h
gtkcellareaboxcontext.c
gtkcellareaboxcontextprivate.h
gtkcellareacontext.c
gtkcellareacontext.h
gtkcelleditable.c
gtkcelleditable.h
gtkcelllayout.c
gtkcelllayout.h
gtkcellrenderer.c
gtkcellrenderer.h
gtkcellrendereraccel.c
gtkcellrendereraccel.h
gtkcellrenderercombo.c
gtkcellrenderercombo.h
gtkcellrendererpixbuf.c
gtkcellrendererpixbuf.h
gtkcellrendererprogress.c
gtkcellrendererprogress.h
gtkcellrendererspin.c
gtkcellrendererspin.h
gtkcellrendererspinner.c
gtkcellrendererspinner.h
gtkcellrenderertext.c
gtkcellrenderertext.h
gtkcellrenderertoggle.c
gtkcellrenderertoggle.h
gtkcellview.c
gtkcellview.h
gtkcheckbutton.c
gtkcheckbutton.h
gtkcheckmenuitem.c
gtkcheckmenuitem.h
gtkclipboard-quartz.c
gtkclipboard.c
gtkclipboard.h
gtkclipboardprivate.h
gtkcolorbutton.c
gtkcolorbutton.h
gtkcolorchooser.c
gtkcolorchooser.h
gtkcolorchooserdialog.c
gtkcolorchooserdialog.h
gtkcolorchooserprivate.h
gtkcolorchooserwidget.c
gtkcolorchooserwidget.h
gtkcoloreditor.c
gtkcoloreditorprivate.h
gtkcolorplane.c
gtkcolorplaneprivate.h
gtkcolorscale.c
gtkcolorscaleprivate.h
gtkcolorswatch.c
gtkcolorswatchprivate.h
gtkcolorutils.c
gtkcolorutils.h
gtkcombobox.c
gtkcombobox.h
gtkcomboboxprivate.h
gtkcomboboxtext.c
gtkcomboboxtext.h
gtkcontainer.c
gtkcontainer.h
gtkcontainerprivate.h
gtkcssanimation.c
gtkcssanimationprivate.h
gtkcssarrayvalue.c
gtkcssarrayvalueprivate.h
gtkcssbgsizevalue.c
gtkcssbgsizevalueprivate.h
gtkcssbordervalue.c
gtkcssbordervalueprivate.h
gtkcsscolorvalue.c
gtkcsscolorvalueprivate.h
gtkcsscomputedvalues.c
gtkcsscomputedvaluesprivate.h
gtkcsscornervalue.c
gtkcsscornervalueprivate.h
gtkcsscustomproperty.c
gtkcsscustompropertyprivate.h
gtkcsseasevalue.c
gtkcsseasevalueprivate.h
gtkcssenginevalue.c
gtkcssenginevalueprivate.h
gtkcssenumvalue.c
gtkcssenumvalueprivate.h
gtkcssimage.c
gtkcssimagebuiltin.c
gtkcssimagebuiltinprivate.h
gtkcssimagecrossfade.c
gtkcssimagecrossfadeprivate.h
gtkcssimagegradient.c
gtkcssimagegradientprivate.h
gtkcssimageicontheme.c
gtkcssimageiconthemeprivate.h
gtkcssimagelinear.c
gtkcssimagelinearprivate.h
gtkcssimageprivate.h
gtkcssimagescaled.c
gtkcssimagescaledprivate.h
gtkcssimagesurface.c
gtkcssimagesurfaceprivate.h
gtkcssimageurl.c
gtkcssimageurlprivate.h
gtkcssimagevalue.c
gtkcssimagevalueprivate.h
gtkcssimagewin32.c
gtkcssimagewin32private.h
gtkcssinheritvalue.c
gtkcssinheritvalueprivate.h
gtkcssinitialvalue.c
gtkcssinitialvalueprivate.h
gtkcsskeyframes.c
gtkcsskeyframesprivate.h
gtkcsslookup.c
gtkcsslookupprivate.h
gtkcssmatcher.c
gtkcssmatcherprivate.h
gtkcssnodedeclaration.c
gtkcssnodedeclarationprivate.h
gtkcssnumbervalue.c
gtkcssnumbervalueprivate.h
gtkcssparser.c
gtkcssparserprivate.h
gtkcsspositionvalue.c
gtkcsspositionvalueprivate.h
gtkcssprovider.c
gtkcssprovider.h
gtkcssproviderprivate.h
gtkcssrepeatvalue.c
gtkcssrepeatvalueprivate.h
gtkcssrgbavalue.c
gtkcssrgbavalueprivate.h
gtkcsssection.c
gtkcsssection.h
gtkcsssectionprivate.h
gtkcssselector.c
gtkcssselectorprivate.h
gtkcssshadowsvalue.c
gtkcssshadowsvalueprivate.h
gtkcssshadowvalue.c
gtkcssshadowvalueprivate.h
gtkcssshorthandproperty.c
gtkcssshorthandpropertyimpl.c
gtkcssshorthandpropertyprivate.h
gtkcssstringvalue.c
gtkcssstringvalueprivate.h
gtkcssstylefuncs.c
gtkcssstylefuncsprivate.h
gtkcssstyleproperty.c
gtkcssstylepropertyimpl.c
gtkcssstylepropertyprivate.h
gtkcsstransformvalue.c
gtkcsstransformvalueprivate.h
gtkcsstransition.c
gtkcsstransitionprivate.h
gtkcsstypedvalue.c
gtkcsstypedvalueprivate.h
gtkcsstypes.c
gtkcsstypesprivate.h
gtkcssunsetvalue.c
gtkcssunsetvalueprivate.h
gtkcssvalue.c
gtkcssvalueprivate.h
gtkcustompaperunixdialog.c
gtkcustompaperunixdialog.h
gtkdbusinterfaces.xml
gtkdebug.h
gtkdialog.c
gtkdialog.h
gtkdialogprivate.h
gtkdnd-quartz.c
gtkdnd.c
gtkdnd.h
gtkdrawingarea.c
gtkdrawingarea.h
gtkeditable.c
gtkeditable.h
gtkentry.c
gtkentry.h
gtkentrybuffer.c
gtkentrybuffer.h
gtkentrycompletion.c
gtkentrycompletion.h
gtkentryprivate.h
gtkenums.h
gtkeventbox.c
gtkeventbox.h
gtkeventcontroller.c
gtkeventcontroller.h
gtkeventcontrollerprivate.h
gtkexpander.c
gtkexpander.h
gtkfilechooser.c
gtkfilechooser.h
gtkfilechooserbutton.c
gtkfilechooserbutton.h
gtkfilechooserdialog.c
gtkfilechooserdialog.h
gtkfilechooserembed.c
gtkfilechooserembed.h
gtkfilechooserentry.c
gtkfilechooserentry.h
gtkfilechooserprivate.h
gtkfilechooserutils.c
gtkfilechooserutils.h
gtkfilechooserwidget.c
gtkfilechooserwidget.h
gtkfilefilter.c
gtkfilefilter.h
gtkfilesystem.c
gtkfilesystem.h
gtkfilesystemmodel.c
gtkfilesystemmodel.h
gtkfixed.c
gtkfixed.h
gtkflowbox.c
gtkflowbox.h
gtkfontbutton.c
gtkfontbutton.h
gtkfontchooser.c
gtkfontchooser.h
gtkfontchooserdialog.c
gtkfontchooserdialog.h
gtkfontchooserprivate.h
gtkfontchooserutils.c
gtkfontchooserutils.h
gtkfontchooserwidget.c
gtkfontchooserwidget.h
gtkframe.c
gtkframe.h
gtkgesture.c
gtkgesture.h
gtkgesturedrag.c
gtkgesturedrag.h
gtkgesturedragprivate.h
gtkgesturelongpress.c
gtkgesturelongpress.h
gtkgesturelongpressprivate.h
gtkgesturemultipress.c
gtkgesturemultipress.h
gtkgesturemultipressprivate.h
gtkgesturepan.c
gtkgesturepan.h
gtkgesturepanprivate.h
gtkgestureprivate.h
gtkgesturerotate.c
gtkgesturerotate.h
gtkgesturerotateprivate.h
gtkgesturesingle.c
gtkgesturesingle.h
gtkgesturesingleprivate.h
gtkgestureswipe.c
gtkgestureswipe.h
gtkgestureswipeprivate.h
gtkgesturezoom.c
gtkgesturezoom.h
gtkgesturezoomprivate.h
gtkgladecatalog.c
gtkglarea.c
gtkglarea.h
gtkgrid.c
gtkgrid.h
gtkheaderbar.c
gtkheaderbar.h
gtkheaderbarprivate.h
gtkhsla.c
gtkhslaprivate.h
gtkiconcache.c
gtkiconcache.h
gtkiconcachevalidator.c
gtkiconcachevalidator.h
gtkiconhelper.c
gtkiconhelperprivate.h
gtkicontheme.c
gtkicontheme.h
gtkiconview.c
gtkiconview.h
gtkiconviewprivate.h
gtkimage.c
gtkimage.h
gtkimageprivate.h
gtkimcontext.c
gtkimcontext.h
gtkimcontextinfo.h
gtkimcontextsimple.c
gtkimcontextsimple.h
gtkimcontextsimpleseqs.h
gtkimmodule.c
gtkimmodule.h
gtkimmoduleprivate.h
gtkimmulticontext.c
gtkimmulticontext.h
gtkinfobar.c
gtkinfobar.h
gtkintl.h
gtkinvisible.c
gtkinvisible.h
gtkkeyhash.c
gtkkeyhash.h
gtkkineticscrolling.c
gtkkineticscrolling.h
gtklabel.c
gtklabel.h
gtklabelprivate.h
gtklayout.c
gtklayout.h
gtklevelbar.c
gtklevelbar.h
gtklinkbutton.c
gtklinkbutton.h
gtklistbox.c
gtklistbox.h
gtkliststore.c
gtkliststore.h
gtklockbutton.c
gtklockbutton.h
gtklockbuttonprivate.h
gtkmagnifier.c
gtkmagnifierprivate.h
gtkmain.c
gtkmain.h
gtkmarshalers.list
gtkmenu.c
gtkmenu.h
gtkmenubar.c
gtkmenubar.h
gtkmenubutton.c
gtkmenubutton.h
gtkmenubuttonprivate.h
gtkmenuitem.c
gtkmenuitem.h
gtkmenuitemprivate.h
gtkmenuprivate.h
gtkmenusectionbox.c
gtkmenusectionbox.h
gtkmenushell.c
gtkmenushell.h
gtkmenushellprivate.h
gtkmenutoolbutton.c
gtkmenutoolbutton.h
gtkmenutracker.c
gtkmenutracker.h
gtkmenutrackeritem.c
gtkmenutrackeritem.h
gtkmessagedialog.c
gtkmessagedialog.h
gtkmnemonichash.c
gtkmnemonichash.h
gtkmodelbutton.c
gtkmodelbutton.h
gtkmodelmenuitem.c
gtkmodelmenuitem.h
gtkmodifierstyle.c
gtkmodifierstyle.h
gtkmodules.c
gtkmodules.h
gtkmodulesprivate.h
gtkmountoperation-stub.c
gtkmountoperation-x11.c
gtkmountoperation.c
gtkmountoperation.h
gtkmountoperationprivate.h
gtknotebook.c
gtknotebook.h
gtkoffscreenwindow.c
gtkoffscreenwindow.h
gtkorientable.c
gtkorientable.h
gtkorientableprivate.h
gtkoverlay.c
gtkoverlay.h
gtkpagesetup.c
gtkpagesetup.h
gtkpagesetupunixdialog.c
gtkpagesetupunixdialog.h
gtkpaned.c
gtkpaned.h
gtkpango.c
gtkpango.h
gtkpapersize.c
gtkpapersize.h
gtkpathbar.c
gtkpathbar.h
gtkpixelcache.c
gtkpixelcacheprivate.h
gtkplacessidebar.c
gtkplacessidebar.h
gtkplug.c
gtkplug.h
gtkpopover.c
gtkpopover.h
gtkpopoverprivate.h
gtkprint-win32.c
gtkprint-win32.h
gtkprintbackend.c
gtkprintbackend.h
gtkprintcontext.c
gtkprintcontext.h
gtkprinter-private.h
gtkprinter.c
gtkprinter.h
gtkprinteroption.c
gtkprinteroption.h
gtkprinteroptionset.c
gtkprinteroptionset.h
gtkprinteroptionwidget.c
gtkprinteroptionwidget.h
gtkprintjob.c
gtkprintjob.h
gtkprintoperation-private.h
gtkprintoperation-unix.c
gtkprintoperation-win32.c
gtkprintoperation.c
gtkprintoperation.h
gtkprintoperationpreview.c
gtkprintoperationpreview.h
gtkprintsettings.c
gtkprintsettings.h
gtkprintunixdialog.c
gtkprintunixdialog.h
gtkprintutils.c
gtkprintutils.h
gtkprivate.c
gtkprivate.h
gtkprivatetypebuiltins.c.template
gtkprivatetypebuiltins.h.template
gtkprogressbar.c
gtkprogressbar.h
gtkquartz.c
gtkquartz.h
gtkquery.c
gtkquery.h
gtkradiobutton.c
gtkradiobutton.h
gtkradiomenuitem.c
gtkradiomenuitem.h
gtkradiotoolbutton.c
gtkradiotoolbutton.h
gtkrange.c
gtkrange.h
gtkrangeprivate.h
gtkrbtree.c
gtkrbtree.h
gtkrecentchooser.c
gtkrecentchooser.h
gtkrecentchooserdefault.c
gtkrecentchooserdefault.h
gtkrecentchooserdialog.c
gtkrecentchooserdialog.h
gtkrecentchoosermenu.c
gtkrecentchoosermenu.h
gtkrecentchooserprivate.h
gtkrecentchooserutils.c
gtkrecentchooserutils.h
gtkrecentchooserwidget.c
gtkrecentchooserwidget.h
gtkrecentfilter.c
gtkrecentfilter.h
gtkrecentmanager.c
gtkrecentmanager.h
gtkrender.c
gtkrender.h
gtkrenderprivate.h
gtkrevealer.c
gtkrevealer.h
gtkroundedbox.c
gtkroundedboxprivate.h
gtkscale.c
gtkscale.h
gtkscalebutton.c
gtkscalebutton.h
gtkscaleprivate.h
gtkscrollable.c
gtkscrollable.h
gtkscrollbar.c
gtkscrollbar.h
gtkscrolledwindow.c
gtkscrolledwindow.h
gtksearchbar.c
gtksearchbar.h
gtksearchengine.c
gtksearchengine.h
gtksearchenginequartz.c
gtksearchenginequartz.h
gtksearchenginesimple.c
gtksearchenginesimple.h
gtksearchenginetracker.c
gtksearchenginetracker.h
gtksearchentry.c
gtksearchentry.h
gtkselection.c
gtkselection.h
gtkselectionprivate.h
gtkseparator.c
gtkseparator.h
gtkseparatormenuitem.c
gtkseparatormenuitem.h
gtkseparatortoolitem.c
gtkseparatortoolitem.h
gtksettings.c
gtksettings.h
gtksettingsprivate.h
gtkshow.c
gtkshow.h
gtksidebar.c
gtksidebar.h
gtksizegroup-private.h
gtksizegroup.c
gtksizegroup.h
gtksizerequest.c
gtksizerequest.h
gtksizerequestcache.c
gtksizerequestcacheprivate.h
gtksocket.c
gtksocket.h
gtksocketprivate.h
gtkspinbutton.c
gtkspinbutton.h
gtkspinner.c
gtkspinner.h
gtkstack.c
gtkstack.h
gtkstackswitcher.c
gtkstackswitcher.h
gtkstatusbar.c
gtkstatusbar.h
gtkstyleanimation.c
gtkstyleanimationprivate.h
gtkstylecascade.c
gtkstylecascadeprivate.h
gtkstylecontext.c
gtkstylecontext.h
gtkstylecontextprivate.h
gtkstyleproperty.c
gtkstylepropertyprivate.h
gtkstyleprovider.c
gtkstyleprovider.h
gtkstyleproviderprivate.c
gtkstyleproviderprivate.h
gtkswitch.c
gtkswitch.h
gtktestutils.c
gtktestutils.h
gtktextattributes.c
gtktextattributes.h
gtktextbtree.c
gtktextbtree.h
gtktextbuffer.c
gtktextbuffer.h
gtktextbufferrichtext.c
gtktextbufferrichtext.h
gtktextbufferserialize.c
gtktextbufferserialize.h
gtktextchild.c
gtktextchild.h
gtktextchildprivate.h
gtktextdisplay.c
gtktextdisplay.h
gtktexthandle.c
gtktexthandleprivate.h
gtktextiter.c
gtktextiter.h
gtktextiterprivate.h
gtktextlayout.c
gtktextlayout.h
gtktextmark.c
gtktextmark.h
gtktextmarkprivate.h
gtktextsegment.c
gtktextsegment.h
gtktexttag.c
gtktexttag.h
gtktexttagprivate.h
gtktexttagtable.c
gtktexttagtable.h
gtktexttypes.c
gtktexttypes.h
gtktextutil.c
gtktextutil.h
gtktextview.c
gtktextview.h
gtkthemingbackground.c
gtkthemingbackgroundprivate.h
gtktogglebutton.c
gtktogglebutton.h
gtktogglebuttonprivate.h
gtktoggletoolbutton.c
gtktoggletoolbutton.h
gtktoolbar.c
gtktoolbar.h
gtktoolbarprivate.h
gtktoolbutton.c
gtktoolbutton.h
gtktoolitem.c
gtktoolitem.h
gtktoolitemgroup.c
gtktoolitemgroup.h
gtktoolpalette.c
gtktoolpalette.h
gtktoolpaletteprivate.h
gtktoolshell.c
gtktoolshell.h
gtktooltip.c
gtktooltip.h
gtktooltipprivate.h
gtktrashmonitor.c
gtktrashmonitor.h
gtktreedatalist.c
gtktreedatalist.h
gtktreednd.c
gtktreednd.h
gtktreemenu.c
gtktreemenu.h
gtktreemodel.c
gtktreemodel.h
gtktreemodelfilter.c
gtktreemodelfilter.h
gtktreemodelsort.c
gtktreemodelsort.h
gtktreeprivate.h
gtktreeselection.c
gtktreeselection.h
gtktreesortable.c
gtktreesortable.h
gtktreestore.c
gtktreestore.h
gtktreeview.c
gtktreeview.h
gtktreeviewcolumn.c
gtktreeviewcolumn.h
gtktypebuiltins.c.template
gtktypebuiltins.h.template
gtktypes.h
gtkunixprint.h
gtkversion.h.in
gtkviewport.c
gtkviewport.h
gtkvolumebutton.c
gtkvolumebutton.h
gtkwidget.c
gtkwidget.h
gtkwidgetpath.c
gtkwidgetpath.h
gtkwidgetprivate.h
gtkwin32.c
gtkwin32embed.c
gtkwin32embed.h
gtkwin32embedwidget.c
gtkwin32embedwidget.h
gtkwin32theme.c
gtkwin32themeprivate.h
gtkwindow.c
gtkwindow.h
gtkwindowgroup.c
gtkwindowgroup.h
gtkwindowprivate.h
gtkx.h
gtkxembed.c
gtkxembed.h
libgtk3.manifest.in
makefile.msc.in
org.gtk.Settings.ColorChooser.gschema.xml
org.gtk.Settings.Debug.gschema.xml
org.gtk.Settings.FileChooser.gschema.xml
paper_names.c
paper_names_offsets.c
queryimmodules.c
updateiconcache.c
xembed.h
libgail-util
m4
m4macros
modules
po
po-properties
tests
testsuite
util
AUTHORS
COPYING
HACKING
INSTALL.in
MAINTAINERS
Makefile.am
Makefile.decl
NEWS
NEWS.pre-1-0
README.commits
README.in
README.win32
acinclude.m4
autogen.sh
config.h.win32.in
configure.ac
gail-3.0.pc.in
gdk-3.0.pc.in
git.mk
gtk+-3.0.pc.in
gtk+-unix-print-3.0.pc.in
gtk+.doap
gtk-zip.sh.in
makefile.msc
sanitize-la.sh
151 lines
5.6 KiB
C
151 lines
5.6 KiB
C
/* GTK - The GIMP Toolkit
|
|
* gtkprintoperation.h: Print Operation
|
|
* Copyright (C) 2006, Red Hat, Inc.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __GTK_PRINT_OPERATION_PRIVATE_H__
|
|
#define __GTK_PRINT_OPERATION_PRIVATE_H__
|
|
|
|
#include "gtkprintoperation.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* Page drawing states */
|
|
typedef enum
|
|
{
|
|
GTK_PAGE_DRAWING_STATE_READY,
|
|
GTK_PAGE_DRAWING_STATE_DRAWING,
|
|
GTK_PAGE_DRAWING_STATE_DEFERRED_DRAWING
|
|
} GtkPageDrawingState;
|
|
|
|
struct _GtkPrintOperationPrivate
|
|
{
|
|
GtkPrintOperationAction action;
|
|
GtkPrintStatus status;
|
|
GError *error;
|
|
gchar *status_string;
|
|
GtkPageSetup *default_page_setup;
|
|
GtkPrintSettings *print_settings;
|
|
gchar *job_name;
|
|
gint nr_of_pages;
|
|
gint nr_of_pages_to_print;
|
|
gint page_position;
|
|
gint current_page;
|
|
GtkUnit unit;
|
|
gchar *export_filename;
|
|
guint use_full_page : 1;
|
|
guint track_print_status : 1;
|
|
guint show_progress : 1;
|
|
guint cancelled : 1;
|
|
guint allow_async : 1;
|
|
guint is_sync : 1;
|
|
guint support_selection : 1;
|
|
guint has_selection : 1;
|
|
guint embed_page_setup : 1;
|
|
|
|
GtkPageDrawingState page_drawing_state;
|
|
|
|
guint print_pages_idle_id;
|
|
guint show_progress_timeout_id;
|
|
|
|
GtkPrintContext *print_context;
|
|
|
|
GtkPrintPages print_pages;
|
|
GtkPageRange *page_ranges;
|
|
gint num_page_ranges;
|
|
|
|
gint manual_num_copies;
|
|
guint manual_collation : 1;
|
|
guint manual_reverse : 1;
|
|
guint manual_orientation : 1;
|
|
double manual_scale;
|
|
GtkPageSet manual_page_set;
|
|
guint manual_number_up;
|
|
GtkNumberUpLayout manual_number_up_layout;
|
|
|
|
GtkWidget *custom_widget;
|
|
gchar *custom_tab_label;
|
|
|
|
gpointer platform_data;
|
|
GDestroyNotify free_platform_data;
|
|
|
|
GMainLoop *rloop; /* recursive mainloop */
|
|
|
|
void (*start_page) (GtkPrintOperation *operation,
|
|
GtkPrintContext *print_context,
|
|
GtkPageSetup *page_setup);
|
|
void (*end_page) (GtkPrintOperation *operation,
|
|
GtkPrintContext *print_context);
|
|
void (*end_run) (GtkPrintOperation *operation,
|
|
gboolean wait,
|
|
gboolean cancelled);
|
|
};
|
|
|
|
|
|
typedef void (* GtkPrintOperationPrintFunc) (GtkPrintOperation *op,
|
|
GtkWindow *parent,
|
|
gboolean do_print,
|
|
GtkPrintOperationResult result);
|
|
|
|
GtkPrintOperationResult _gtk_print_operation_platform_backend_run_dialog (GtkPrintOperation *operation,
|
|
gboolean show_dialog,
|
|
GtkWindow *parent,
|
|
gboolean *do_print);
|
|
void _gtk_print_operation_platform_backend_run_dialog_async (GtkPrintOperation *op,
|
|
gboolean show_dialog,
|
|
GtkWindow *parent,
|
|
GtkPrintOperationPrintFunc print_cb);
|
|
void _gtk_print_operation_platform_backend_launch_preview (GtkPrintOperation *op,
|
|
cairo_surface_t *surface,
|
|
GtkWindow *parent,
|
|
const char *filename);
|
|
cairo_surface_t * _gtk_print_operation_platform_backend_create_preview_surface (GtkPrintOperation *op,
|
|
GtkPageSetup *page_setup,
|
|
gdouble *dpi_x,
|
|
gdouble *dpi_y,
|
|
gchar **target);
|
|
void _gtk_print_operation_platform_backend_resize_preview_surface (GtkPrintOperation *op,
|
|
GtkPageSetup *page_setup,
|
|
cairo_surface_t *surface);
|
|
void _gtk_print_operation_platform_backend_preview_start_page (GtkPrintOperation *op,
|
|
cairo_surface_t *surface,
|
|
cairo_t *cr);
|
|
void _gtk_print_operation_platform_backend_preview_end_page (GtkPrintOperation *op,
|
|
cairo_surface_t *surface,
|
|
cairo_t *cr);
|
|
|
|
void _gtk_print_operation_set_status (GtkPrintOperation *op,
|
|
GtkPrintStatus status,
|
|
const gchar *string);
|
|
|
|
/* GtkPrintContext private functions: */
|
|
|
|
GtkPrintContext *_gtk_print_context_new (GtkPrintOperation *op);
|
|
void _gtk_print_context_set_page_setup (GtkPrintContext *context,
|
|
GtkPageSetup *page_setup);
|
|
void _gtk_print_context_translate_into_margin (GtkPrintContext *context);
|
|
void _gtk_print_context_rotate_according_to_orientation (GtkPrintContext *context);
|
|
void _gtk_print_context_reverse_according_to_orientation (GtkPrintContext *context);
|
|
void _gtk_print_context_set_hard_margins (GtkPrintContext *context,
|
|
gdouble top,
|
|
gdouble bottom,
|
|
gdouble left,
|
|
gdouble right);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GTK_PRINT_OPERATION_PRIVATE_H__ */
|