Package: gtk
Function gtk:print-dialog-setup
Lambda Listgtk:print-dialog-setup (dialog parent cancellable func) ArgumentsDetails The gtk:print-dialog-setup function presents a print dialog to let
the user select a printer, and set up print settings and page setup.
The callback will be called when the dialog is dismissed. The obtained gtk:print-setup instance can then be passed to the gtk:print-dialog-print-file function. One possible use for this method is to have the user select a printer, then show a page setup UI in the application, for example, to arrange images on a page, then call the gtk:print-dialog-print-file function on dialog to do the printing without further user interaction. This method completes asynchronously. Use the gtk:print-dialog-setup-finish function inside the g:async-ready-callback callback function to obtain the result of the operation. Since 4.14 | See also |
#2024-11-10