From 9d869d73c1ca8f6c884f528a3ad4f623f25dffb1 Mon Sep 17 00:00:00 2001
From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
Date: Thu, 10 Mar 2022 15:05:26 +0100
Subject: Begin documenting the Wayland platform, new in FLTK version 1.4
---
FL/Fl_Printer.H | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
(limited to 'FL/Fl_Printer.H')
diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H
index e2b406ac4..a8e4fdce4 100644
--- a/FL/Fl_Printer.H
+++ b/FL/Fl_Printer.H
@@ -59,13 +59,16 @@
\endcode
Platform specifics
- - X11 platforms:
+
- X11 and Wayland platforms:
- FLTK expresses all graphics data using (Level 2) PostScript and sends that to the selected printer.
See class Fl_PostScript_File_Device for a description of how text and transparent images appear in print.
-
- If the GTK library is available at run-time, class Fl_Print runs GTK's printer dialog which allows to set
+
- If the GTK library is available at run-time, class Fl_Printer runs GTK's printer dialog which allows to set
printer, paper size and orientation.
-
- If that library is not avaialble, or if Fl::option(Fl::OPTION_PRINTER_USES_GTK) has been turned off,
- class Fl_Print runs FLTK's print dialog.
+
- Under the KDE desktop, Fl_Printer runs the kdialog command to create KDE-styled file dialogs if
+ that command is available at run-time, unless FLTK was built with CMake and option OPTION_USE_KDIALOG turned off.
+ In that case, Fl_Printer attempts to run the GTK dialog.
+
- If the GTK library is not available, or if Fl::option(Fl::OPTION_PRINTER_USES_GTK) has been turned off,
+ class Fl_Printer runs FLTK's print dialog.
- Unless it has been previously changed, the default paper size is A4.
To change that, press the "Properties" button of the "Print" dialog window
--
cgit v1.2.3