]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/doxygen/overviews/unixprinting.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / docs / doxygen / overviews / unixprinting.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: unixprinting.h
3// Purpose: topic overview
4// Author: wxWidgets team
5// Licence: wxWindows licence
6/////////////////////////////////////////////////////////////////////////////
7
8/**
9
10@page overview_unixprinting Printing Under Unix (GTK+)
11
12Printing under Unix has always been a cause of problems as Unix does not
13provide a standard way to display text and graphics on screen and print it to a
14printer using the same application programming interface - instead, displaying
15on screen is done via the X11 library while printing has to be done with using
16PostScript commands. This was particularly difficult to handle for the case of
17fonts with the result that only a selected number of application could offer
18WYSIWYG under Unix. Equally, wxWidgets offered its own printing implementation
19using PostScript which never really matched the screen display.
20
21Since GTK+ 2.10, support for printing has been added to GTK+ itself and
22beginning with wxWidgets 2.9, GTK+ printing is used by default (i.e. unless
23<tt>--without-gtkprint</tt> was explicitly used when configuring the library).
24Support for GTK+ print is detected dynamically, i.e. during the run-time: if it
25is found, printing will be done through GTK+, otherwise the application will
26fall back to the old PostScript printing code. This allows the applications
27built with wxWidgets to still work on the very old systems using GTK+ earlier
28than 2.10.
29
30*/