Commit 27f746fb authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Merge the gtk-printing branch. For more detailed ChangeLog entries, see

2006-04-21  Alexander Larsson  <alexl@redhat.com>

        Merge the gtk-printing branch.
	For more detailed ChangeLog entries, see the branch.

	* .cvsignore:
	* Makefile.am:
	* configure.in:
	* docs/tools/widgets.c:
	* gtk+-unix-print-2.0.pc.in:
	* gtk/Makefile.am:
	* gtk/gen-paper-names.c:
	* gtk/gtk.h:
	* gtk/gtk.symbols:
	* gtk/gtkenums.h:
	* gtk/gtkiconfactory.c:
	* gtk/gtkmarshalers.list:
	* gtk/gtkpagesetup.[ch]:
	* gtk/gtkpagesetupunixdialog.[ch]:
	* gtk/gtkpapersize.[ch]:
	* gtk/gtkprint-win32.[ch]:
	* gtk/gtkprintbackend.[ch]:
	* gtk/gtkprintcontext.[ch]:
	* gtk/gtkprinter-private.h:
	* gtk/gtkprinter.[ch]:
	* gtk/gtkprinteroption.[ch]:
	* gtk/gtkprinteroptionset.[ch]:
	* gtk/gtkprinteroptionwidget.[ch]:
	* gtk/gtkprintjob.[ch]:
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation-win32.c:
	* gtk/gtkprintoperation.[ch]:
	* gtk/gtkprintsettings.[ch]:
	* gtk/gtkprintunixdialog.[ch]:
	* gtk/paper_names.c:
	* gtk/paper_names_offsets.c:
	Platform independent printing API and implementations
	for unix and windows.

	* gtk/gtkstock.h:
	* gtk/stock-icons/24/gtk-orientation-landscape.png:
	* gtk/stock-icons/24/gtk-orientation-portrait.png:
	* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
	Add stock icons for page orientation.

	* modules/Makefile.am:
	* modules/printbackends/Makefile.am:
	* modules/printbackends/cups/Makefile.am:
	* modules/printbackends/cups/gtkcupsutils.[ch]:
	* modules/printbackends/cups/gtkprintbackendcups.[ch]:
	* modules/printbackends/cups/gtkprintercups.[ch]:

	Cups printing backend for unix.

	* modules/printbackends/lpr/Makefile.am:
	* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
	lpr printing backend for unix.

	* modules/printbackends/pdf/Makefile.am:
	* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
	print-to-pdf printing backend for unix.

	* tests/.cvsignore:
	* tests/Makefile.am:
	* tests/print-editor.c:
	Test application for printing.

	* gdk/gdk.symbols:
	* gdk/win32/gdkevents-win32.c:
	* gdk/win32/gdkwin32.h:
	Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
	mainloop while displaying a win32 common dialog.

	* gdk/directfb/Makefile.am:
	Whitespace cleanup.
parent ea32742b
......@@ -19,6 +19,7 @@ stamp-h.in
gtk+.spec
gtk+-2.0.pc
gtk+-2.0-uninstalled.pc
gtk+-unix-print-2.0.pc
gtk+-linux-fb-2.0.pc
gtk+-nanox-2.0.pc
gtk+-x11-2.0.pc
......
2006-04-21 Alexander Larsson <alexl@redhat.com>
Merge the gtk-printing branch.
For more detailed ChangeLog entries, see the branch.
* .cvsignore:
* Makefile.am:
* configure.in:
* docs/tools/widgets.c:
* gtk+-unix-print-2.0.pc.in:
* gtk/Makefile.am:
* gtk/gen-paper-names.c:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkenums.h:
* gtk/gtkiconfactory.c:
* gtk/gtkmarshalers.list:
* gtk/gtkpagesetup.[ch]:
* gtk/gtkpagesetupunixdialog.[ch]:
* gtk/gtkpapersize.[ch]:
* gtk/gtkprint-win32.[ch]:
* gtk/gtkprintbackend.[ch]:
* gtk/gtkprintcontext.[ch]:
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.[ch]:
* gtk/gtkprinteroption.[ch]:
* gtk/gtkprinteroptionset.[ch]:
* gtk/gtkprinteroptionwidget.[ch]:
* gtk/gtkprintjob.[ch]:
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation-win32.c:
* gtk/gtkprintoperation.[ch]:
* gtk/gtkprintsettings.[ch]:
* gtk/gtkprintunixdialog.[ch]:
* gtk/paper_names.c:
* gtk/paper_names_offsets.c:
Platform independent printing API and implementations
for unix and windows.
* gtk/gtkstock.h:
* gtk/stock-icons/24/gtk-orientation-landscape.png:
* gtk/stock-icons/24/gtk-orientation-portrait.png:
* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
Add stock icons for page orientation.
* modules/Makefile.am:
* modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am:
* modules/printbackends/cups/gtkcupsutils.[ch]:
* modules/printbackends/cups/gtkprintbackendcups.[ch]:
* modules/printbackends/cups/gtkprintercups.[ch]:
Cups printing backend for unix.
* modules/printbackends/lpr/Makefile.am:
* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
lpr printing backend for unix.
* modules/printbackends/pdf/Makefile.am:
* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
print-to-pdf printing backend for unix.
* tests/.cvsignore:
* tests/Makefile.am:
* tests/print-editor.c:
Test application for printing.
* gdk/gdk.symbols:
* gdk/win32/gdkevents-win32.c:
* gdk/win32/gdkwin32.h:
Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
mainloop while displaying a win32 common dialog.
* gdk/directfb/Makefile.am:
Whitespace cleanup.
2006-04-20 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkcombobox.c: plug small leak (#339132)
......
2006-04-21 Alexander Larsson <alexl@redhat.com>
Merge the gtk-printing branch.
For more detailed ChangeLog entries, see the branch.
* .cvsignore:
* Makefile.am:
* configure.in:
* docs/tools/widgets.c:
* gtk+-unix-print-2.0.pc.in:
* gtk/Makefile.am:
* gtk/gen-paper-names.c:
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/gtkenums.h:
* gtk/gtkiconfactory.c:
* gtk/gtkmarshalers.list:
* gtk/gtkpagesetup.[ch]:
* gtk/gtkpagesetupunixdialog.[ch]:
* gtk/gtkpapersize.[ch]:
* gtk/gtkprint-win32.[ch]:
* gtk/gtkprintbackend.[ch]:
* gtk/gtkprintcontext.[ch]:
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.[ch]:
* gtk/gtkprinteroption.[ch]:
* gtk/gtkprinteroptionset.[ch]:
* gtk/gtkprinteroptionwidget.[ch]:
* gtk/gtkprintjob.[ch]:
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation-win32.c:
* gtk/gtkprintoperation.[ch]:
* gtk/gtkprintsettings.[ch]:
* gtk/gtkprintunixdialog.[ch]:
* gtk/paper_names.c:
* gtk/paper_names_offsets.c:
Platform independent printing API and implementations
for unix and windows.
* gtk/gtkstock.h:
* gtk/stock-icons/24/gtk-orientation-landscape.png:
* gtk/stock-icons/24/gtk-orientation-portrait.png:
* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
Add stock icons for page orientation.
* modules/Makefile.am:
* modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am:
* modules/printbackends/cups/gtkcupsutils.[ch]:
* modules/printbackends/cups/gtkprintbackendcups.[ch]:
* modules/printbackends/cups/gtkprintercups.[ch]:
Cups printing backend for unix.
* modules/printbackends/lpr/Makefile.am:
* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
lpr printing backend for unix.
* modules/printbackends/pdf/Makefile.am:
* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
print-to-pdf printing backend for unix.
* tests/.cvsignore:
* tests/Makefile.am:
* tests/print-editor.c:
Test application for printing.
* gdk/gdk.symbols:
* gdk/win32/gdkevents-win32.c:
* gdk/win32/gdkwin32.h:
Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
mainloop while displaying a win32 common dialog.
* gdk/directfb/Makefile.am:
Whitespace cleanup.
2006-04-20 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkcombobox.c: plug small leak (#339132)
......
......@@ -132,9 +132,10 @@ gdk-$(GDKTARGET)-2.0-uninstalled.pc: gdk-2.0-uninstalled.pc
cp gdk-2.0-uninstalled.pc gdk-$(GDKTARGET)-2.0-uninstalled.pc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA= gdk-pixbuf-2.0.pc gdk-$(GDKTARGET)-2.0.pc gtk+-$(GDKTARGET)-2.0.pc
pkgconfig_DATA= gdk-pixbuf-2.0.pc gdk-$(GDKTARGET)-2.0.pc gtk+-$(GDKTARGET)-2.0.pc gtk+-unix-print-2.0.pc
DISTCLEANFILES = \
gtk+-unix-print-2.0.pc \
gtk+-$(GDKTARGET)-2.0.pc \
gdk-$(GDKTARGET)-2.0.pc \
gtk+-$(GDKTARGET)-2.0-uninstalled.pc \
......
......@@ -416,6 +416,42 @@ if test "$gtk_ok" = "yes"; then
[Define if _NL_TIME_FIRST_WEEKDAY is available])
fi
# _NL_MEASUREMENT_MEASUREMENT is an enum and not a define
AC_MSG_CHECKING([for _NL_MEASUREMENT_MEASUREMENT])
AC_TRY_LINK([#include <langinfo.h>], [
char c;
c = *((unsigned char *) nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
], gtk_ok=yes, gtk_ok=no)
AC_MSG_RESULT($gtk_ok)
if test "$gtk_ok" = "yes"; then
AC_DEFINE([HAVE__NL_MEASUREMENT_MEASUREMENT], [1],
[Define if _NL_MEASUREMENT_MEASUREMENT is available])
fi
# _NL_PAPER_HEIGHT is an enum and not a define
AC_MSG_CHECKING([for _NL_PAPER_HEIGHT])
AC_TRY_LINK([#include <langinfo.h>], [
char c;
c = *((unsigned char *) nl_langinfo(_NL_PAPER_HEIGHT));
], gtk_ok=yes, gtk_ok=no)
AC_MSG_RESULT($gtk_ok)
if test "$gtk_ok" = "yes"; then
AC_DEFINE([HAVE__NL_PAPER_HEIGHT], [1],
[Define if _NL_PAPER_HEIGHT is available])
fi
# _NL_PAPER_WIDTH is an enum and not a define
AC_MSG_CHECKING([for _NL_PAPER_WIDTH])
AC_TRY_LINK([#include <langinfo.h>], [
char c;
c = *((unsigned char *) nl_langinfo(_NL_PAPER_WIDTH));
], gtk_ok=yes, gtk_ok=no)
AC_MSG_RESULT($gtk_ok)
if test "$gtk_ok" = "yes"; then
AC_DEFINE([HAVE__NL_PAPER_WIDTH], [1],
[Define if _NL_PAPER_WIDTH is available])
fi
# sigsetjmp is a macro on some platforms, so AC_CHECK_FUNCS is not reliable
AC_MSG_CHECKING(for sigsetjmp)
AC_TRY_LINK([#include <setjmp.h>], [
......@@ -1499,6 +1535,21 @@ AC_SUBST(GTK_DEP_CFLAGS)
AC_SUBST(GTK_DEBUG_FLAGS)
AC_SUBST(GTK_XIM_FLAGS)
################################################################
# Printing system checks
################################################################
AC_PATH_PROG(CUPS_CONFIG, cups-config, no)
if test "x$CUPS_CONFIG" != "xno"; then
CUPS_CFLAGS=`cups-config --cflags | sed 's/-O[0-9]*//' | sed 's/-m[^\t]*//g'`
CUPS_LIBS=`cups-config --libs`
AC_SUBST(CUPS_CFLAGS)
AC_SUBST(CUPS_LIBS)
fi
AM_CONDITIONAL(HAVE_CUPS, test "x$CUPS_CONFIG" != "xno")
################################################################
# Strip -export-dynamic from the link lines of various libraries
################################################################
......@@ -1638,6 +1689,7 @@ Makefile
gdk-pixbuf-2.0.pc
gdk-2.0.pc
gtk+-2.0.pc
gtk+-unix-print-2.0.pc
gdk-pixbuf-2.0-uninstalled.pc
gdk-2.0-uninstalled.pc
gtk+-2.0-uninstalled.pc
......@@ -1684,6 +1736,10 @@ modules/engines/pixbuf/Makefile
modules/engines/ms-windows/Makefile
modules/engines/ms-windows/Theme/Makefile
modules/engines/ms-windows/Theme/gtk-2.0/Makefile
modules/printbackends/Makefile
modules/printbackends/cups/Makefile
modules/printbackends/lpr/Makefile
modules/printbackends/pdf/Makefile
perf/Makefile
contrib/Makefile
contrib/gdk-pixbuf-xlib/Makefile
......
2006-04-21 Alexander Larsson <alexl@redhat.com>
* gtk/Makefile.am:
* gtk/gtk-docs.sgml:
* gtk/gtk-sections.txt:
* gtk/gtk.types:
* gtk/images/pagesetupdialog.png:
* gtk/images/printdialog.png:
* gtk/tmpl/gtkpagesetup.sgml:
* gtk/tmpl/gtkpagesetupunixdialog.sgml:
* gtk/tmpl/gtkpapersize.sgml:
* gtk/tmpl/gtkprintcontext.sgml:
* gtk/tmpl/gtkprinter.sgml:
* gtk/tmpl/gtkprintjob.sgml:
* gtk/tmpl/gtkprintoperation.sgml:
* gtk/tmpl/gtkprintsettings.sgml:
* gtk/tmpl/gtkprintunixdialog.sgml:
* gtk/visual_index.xml:
Add docs for the printing support
2006-04-17 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/tmp/gtkicontheme.sgml: Fix the code of the look up example.
......
......@@ -48,6 +48,10 @@ IGNORE_HFILES= \
gtkmnemonichash.h \
gtkpathbar.h \
gtkplugprivate.h \
gtkprintbackend.h \
gtkprinteroptionwidget.h \
gtkprinter-private.h \
gtkprintoperation-private.h \
gtkprivate.h \
gtkrbtree.h \
gtkrecentchooserdefault.h \
......@@ -277,6 +281,8 @@ HTML_IMAGES = \
$(srcdir)/images/multiline-text.png \
$(srcdir)/images/notebook.png \
$(srcdir)/images/panes.png \
$(srcdir)/images/pagesetupdialog.png \
$(srcdir)/images/printdialog.png \
$(srcdir)/images/progressbar.png \
$(srcdir)/images/radio-group.png \
$(srcdir)/images/recentchooserdialog.png \
......
......@@ -84,6 +84,15 @@
<!ENTITY GtkPixmap SYSTEM "xml/gtkpixmap.xml">
<!ENTITY GtkPlug SYSTEM "xml/gtkplug.xml">
<!ENTITY GtkPreview SYSTEM "xml/gtkpreview.xml">
<!ENTITY GtkPrintOperation SYSTEM "xml/gtkprintoperation.xml">
<!ENTITY GtkPrintContext SYSTEM "xml/gtkprintcontext.xml">
<!ENTITY GtkPrintSettings SYSTEM "xml/gtkprintsettings.xml">
<!ENTITY GtkPageSetup SYSTEM "xml/gtkpagesetup.xml">
<!ENTITY GtkPaperSize SYSTEM "xml/gtkpapersize.xml">
<!ENTITY GtkPrinter SYSTEM "xml/gtkprinter.xml">
<!ENTITY GtkPrintJob SYSTEM "xml/gtkprintjob.xml">
<!ENTITY GtkPrintUnixDialog SYSTEM "xml/gtkprintunixdialog.xml">
<!ENTITY GtkPageSetupUnixDialog SYSTEM "xml/gtkpagesetupunixdialog.xml">
<!ENTITY GtkProgress SYSTEM "xml/gtkprogress.xml">
<!ENTITY GtkProgressBar SYSTEM "xml/gtkprogressbar.xml">
<!ENTITY GtkRadioAction SYSTEM "xml/gtkradioaction.xml">
......@@ -513,6 +522,19 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
&GtkScrolledWindow;
</chapter>
<chapter id="Printing">
<title>Printing</title>
&GtkPrintOperation;
&GtkPrintContext;
&GtkPrintSettings;
&GtkPageSetup;
&GtkPaperSize;
&GtkPrintUnixDialog;
&GtkPrinter;
&GtkPrintJob;
&GtkPageSetupUnixDialog;
</chapter>
<chapter id="MiscObjects">
<title>Miscellaneous</title>
&GtkAdjustment;
......
......@@ -6057,3 +6057,333 @@ gtk_icon_factory_get_type
gtk_icon_set_get_type
gtk_icon_source_get_type
</SECTION>
<SECTION>
<FILE>gtkprintoperation</FILE>
<TITLE>High-level Printing API</TITLE>
GtkPrintOperation
GtkPrintStatus
GtkPrintOperationResult
GtkPrintError
GTK_PRINT_ERROR
gtk_print_error_quark
gtk_print_operation_new
gtk_print_operation_set_default_page_setup
gtk_print_operation_get_default_page_setup
gtk_print_operation_set_print_settings
gtk_print_operation_get_print_settings
gtk_print_operation_set_job_name
gtk_print_operation_set_nr_of_pages
gtk_print_operation_set_current_page
gtk_print_operation_set_use_full_page
gtk_print_operation_set_unit
gtk_print_operation_set_show_dialog
gtk_print_operation_set_pdf_target
gtk_print_operation_run
gtk_print_operation_get_status
gtk_print_operation_is_finished
gtk_print_run_page_setup_dialog
<SUBSECTION Standard>
GTK_TYPE_PRINT_OPERATION
GTK_PRINT_OPERATION
GTK_IS_PRINT_OPERATION
<SUBSECTION Private>
gtk_print_operation_get_type
GtkPrintOperationPrivate
</SECTION>
<SECTION>
<INCLUDE>gtk/gtkprintunixdialog.h</INCLUDE>
<FILE>gtkprintunixdialog</FILE>
<TITLE>GtkPrintUnixDialog</TITLE>
GtkPrintUnixDialog
gtk_print_unix_dialog_set_page_setup
gtk_print_unix_dialog_get_page_setup
gtk_print_unix_dialog_set_current_page
gtk_print_unix_dialog_get_current_page
gtk_print_unix_dialog_set_settings
gtk_print_unix_dialog_get_settings
gtk_print_unix_dialog_get_selected_printer
<SUBSECTION Standard>
GTK_TYPE_PRINT_UNIX_DIALOG
GTK_PRINT_UNIX_DIALOG
GTK_PRINT_UNIX_DIALOG_CLASS
GTK_IS_PRINT_UNIX_DIALOG
GTK_IS_PRINT_UNIX_DIALOG_CLASS
GTK_PRINT_UNIX_DIALOG_GET_CLASS
<SUBSECTION Private>
GtkPrintUnixDialogPrivate
gtk_print_unix_dialog_get_type
</SECTION>
<SECTION>
<FILE>gtkprinter</FILE>
<TITLE>GtkPrinter</TITLE>
GtkPrinter
GtkPrintBackend
gtk_printer_new
gtk_printer_get_backend
gtk_printer_get_name
gtk_printer_get_state_message
gtk_printer_get_description
gtk_printer_get_location
gtk_printer_get_icon_name
gtk_printer_get_job_count
gtk_printer_is_active
gtk_printer_is_virtual
gtk_printer_is_default
<SUBSECTION Standard>
GTK_TYPE_PRINTER
GTK_PRINTER
GTK_PRINTER_CLASS
GTK_IS_PRINTER
GTK_IS_PRINTER_CLASS
GTK_PRINTER_GET_CLASS
<SUBSECTION Private>
GtkPrinterPrivate
gtk_printer_get_type
</SECTION>
<SECTION>
<FILE>gtkprintsettings</FILE>
<TITLE>GtkPrintSettings</TITLE>
GtkPrintSettings
GtkPrintSettingsFunc
gtk_print_settings_new
gtk_print_settings_copy
gtk_print_settings_has_key
gtk_print_settings_get
gtk_print_settings_set
gtk_print_settings_unset
gtk_print_settings_foreach
gtk_print_settings_get_bool
gtk_print_settings_set_bool
gtk_print_settings_get_double
gtk_print_settings_get_double_with_default
gtk_print_settings_set_double
gtk_print_settings_get_length
gtk_print_settings_set_length
gtk_print_settings_get_int
gtk_print_settings_get_int_with_default
gtk_print_settings_set_int
gtk_print_settings_get_printer
gtk_print_settings_set_printer
GtkPageOrientation
gtk_print_settings_get_orientation
gtk_print_settings_set_orientation
gtk_print_settings_get_paper_size
gtk_print_settings_set_paper_size
gtk_print_settings_get_paper_width
gtk_print_settings_set_paper_width
gtk_print_settings_get_paper_height
gtk_print_settings_set_paper_height
gtk_print_settings_get_use_color
gtk_print_settings_set_use_color
gtk_print_settings_get_collate
gtk_print_settings_set_collate
gtk_print_settings_get_reverse
gtk_print_settings_set_reverse
GtkPrintDuplex
gtk_print_settings_get_duplex
gtk_print_settings_set_duplex
GtkPrintQuality
gtk_print_settings_get_quality
gtk_print_settings_set_quality
gtk_print_settings_get_num_copies
gtk_print_settings_set_num_copies
gtk_print_settings_get_number_up
gtk_print_settings_set_number_up
gtk_print_settings_get_resolution
gtk_print_settings_set_resolution
gtk_print_settings_get_scale
gtk_print_settings_set_scale
gtk_print_settings_get_print_to_file
gtk_print_settings_set_print_to_file
GtkPrintPages
gtk_print_settings_get_print_pages
gtk_print_settings_set_print_pages
GtkPageRange
gtk_print_settings_get_page_ranges
gtk_print_settings_set_page_ranges
GtkPageSet
gtk_print_settings_get_page_set
gtk_print_settings_set_page_set
gtk_print_settings_get_default_source
gtk_print_settings_set_default_source
gtk_print_settings_get_media_type
gtk_print_settings_set_media_type
gtk_print_settings_get_dither
gtk_print_settings_set_dither
gtk_print_settings_get_finishings
gtk_print_settings_set_finishings
gtk_print_settings_get_output_bin
gtk_print_settings_set_output_bin
<SUBSECTION Standard>
GTK_TYPE_PRINT_SETTINGS
GTK_PRINT_SETTINGS
GTK_IS_PRINT_SETTINGS
<SUBSECTION Private>
gtk_print_settings_get_type
</SECTION>
<SECTION>
<FILE>gtkpapersize</FILE>
<TITLE>GtkPaperSize</TITLE>
GtkPaperSize
GtkUnit
GTK_PAPER_NAME_A3
GTK_PAPER_NAME_A4
GTK_PAPER_NAME_A5
GTK_PAPER_NAME_B5
GTK_PAPER_NAME_LETTER
GTK_PAPER_NAME_EXECUTIVE
GTK_PAPER_NAME_LEGAL
gtk_paper_size_new
gtk_paper_size_new_from_ppd
gtk_paper_size_new_custom
gtk_paper_size_copy
gtk_paper_size_free
gtk_paper_size_is_equal
gtk_paper_size_get_name
gtk_paper_size_get_display_name
gtk_paper_size_get_ppd_name
gtk_paper_size_get_width
gtk_paper_size_get_height
gtk_paper_size_is_custom
gtk_paper_size_set_size
gtk_paper_size_get_default_top_margin
gtk_paper_size_get_default_bottom_margin
gtk_paper_size_get_default_left_margin
gtk_paper_size_get_default_right_margin
gtk_paper_size_get_default
<SUBSECTION Standard>
GTK_TYPE_PAPER_SIZE
<SUBSECTION Private>
gtk_paper_size_get_type
</SECTION>
<SECTION>
<FILE>gtkpagesetup</FILE>
<TITLE>GtkPageSetup</TITLE>
GtkPageSetup
gtk_page_setup_new
gtk_page_setup_copy
gtk_page_setup_get_orientation
gtk_page_setup_set_orientation
gtk_page_setup_get_paper_size
gtk_page_setup_set_paper_size
gtk_page_setup_get_top_margin
gtk_page_setup_set_top_margin
gtk_page_setup_get_bottom_margin
gtk_page_setup_set_bottom_margin
gtk_page_setup_get_left_margin
gtk_page_setup_set_left_margin
gtk_page_setup_get_right_margin
gtk_page_setup_set_right_margin
gtk_page_setup_set_paper_size_and_default_margins
gtk_page_setup_get_paper_width
gtk_page_setup_get_paper_height
gtk_page_setup_get_page_width
gtk_page_setup_get_page_height
<SUBSECTION Standard>
GTK_TYPE_PAGE_SETUP
GTK_PAGE_SETUP
GTK_IS_PAGE_SETUP
<SUBSECTION Private>
gtk_page_setup_get_type
</SECTION>
<SECTION>
<FILE>gtkprintcontext</FILE>
<TITLE>GtkPrintContext</TITLE>
GtkPrintContext
gtk_print_context_get_cairo
gtk_print_context_get_page_setup
gtk_print_context_get_width
gtk_print_context_get_height
gtk_print_context_get_dpi_x
gtk_print_context_get_dpi_y
gtk_print_context_get_fontmap
gtk_print_context_create_context
gtk_print_context_create_layout
<SUBSECTION Standard>
GTK_TYPE_PRINT_CONTEXT
GTK_PRINT_CONTEXT
GTK_IS_PRINT_CONTEXT
<SUBSECTION Private>
gtk_print_context_get_type
</SECTION>
<SECTION>
<FILE>gtkprintjob</FILE>
<TITLE>GtkPrintJob</TITLE>
GtkPrintJob
GtkPrintJobCompleteFunc
gtk_print_job_new
gtk_print_job_get_settings
gtk_print_job_get_printer
gtk_print_job_get_title
gtk_print_job_get_status
gtk_print_job_set_source_file
gtk_print_job_get_surface
gtk_print_job_send
<SUBSECTION Standard>
GTK_TYPE_PRINT_JOB
GTK_PRINT_JOB
GTK_PRINT_JOB_CLASS
GTK_IS_PRINT_JOB
GTK_IS_PRINT_JOB_CLASS
GTK_PRINT_JOB_GET_CLASS
<SUBSECTION Private>
GtkPrintJobPrivate
gtk_print_job_get_type
</SECTION>
<SECTION>
<INCLUDE>gtk/gtkpagesetupunixdialog.h</INCLUDE>
<FILE>gtkpagesetupunixdialog</FILE>
<TITLE>GtkPageSetupUnixDialog</TITLE>
GtkPageSetupUnixDialog
gtk_page_setup_unix_dialog_new
gtk_page_setup_unix_dialog_set_page_setup
gtk_page_setup_unix_dialog_get_page_setup
gtk_page_setup_unix_dialog_set_print_settings
gtk_page_setup_unix_dialog_get_print_settings
<SUBSECTION Standard>
GtkPageSetupUnixDialogClass
GTK_TYPE_PAGE_SETUP_UNIX_DIALOG
GTK_PAGE_SETUP_UNIX_DIALOG
GTK_PAGE_SETUP_UNIX_DIALOG_CLASS
GTK_IS_PAGE_SETUP_UNIX_DIALOG
GTK_IS_PAGE_SETUP_UNIX_DIALOG_CLASS
GTK_PAGE_SETUP_UNIX_DIALOG_GET_CLASS
<SUBSECTION Private>
GtkPageSetupUnixDialogPrivate
gtk_page_setup_unix_dialog_get_type
</SECTION>
......@@ -96,10 +96,19 @@ gtk_notebook_get_type
gtk_object_get_type
gtk_old_editable_get_type
gtk_option_menu_get_type
gtk_page_setup_get_type
gtk_page_setup_unix_dialog_get_type
gtk_paned_get_type
gtk_paper_size_get_type
gtk_pixmap_get_type
gtk_plug_get_type
gtk_preview_get_type
gtk_printer_get_type
gtk_print_context_get_type
gtk_print_job_get_type
gtk_print_operation_get_type
gtk_print_settings_get_type
gtk_print_unix_dialog_get_type
gtk_progress_bar_get_type
gtk_progress_get_type
gtk_radio_action_get_type
......
<!-- ##### SECTION Title ##### -->
GtkPageSetup
<!-- ##### SECTION Short_Description ##### -->
Stores page setup information
<!-- ##### SECTION Long_Description ##### -->
<para>
A GtkPageSetup object stores the page size, orientation and margins.
The idea is that you can get one of these from the page setup dialog
and then pass it to the #GtkPrittntOperation when printing.
The benefit of splitting this out of the #GtkPrintSettings is that
these affect the actual layout of the page, and thus need to be set
long before user prints.
</para>
<para id="print-margins">
The margins specified in this object are the "print margins", i.e. the
parts of the page that the printer cannot print on. These are different
from the layout margins that a word processor uses; they are typically
used to determine the <emphasis>minimal</emphasis> size for the layout
margins.
</para>
<para>
To obtain a #GtkPageSetup use gtk_page_setup_new()
to get the defaults, or use gtk_print_run_page_setup_dialog() to show
the page setup dialog and receive the resulting page setup.