Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-gtk4 GI.Gtk.Objects.PrintDialog This function prints content from a stream. If you pass NULL as setup, then this method will present a print dialog. Otherwise, it will attempt to print directly, without user interaction. The callback will be called when the printing is done. It should call printDialogPrintFinish to obtain the results. Since: 4.14
-
gi-gtk4 GI.Gtk.Objects.PrintDialog This function prints a file. If you pass NULL as setup, then this method will present a print dialog. Otherwise, it will attempt to print directly, without user interaction. The callback will be called when the printing is done. It should call printDialogPrintFileFinish to obtain the results. Since: 4.14
-
gi-gtk4 GI.Gtk.Objects.PrintDialog Finishes the printDialogPrintFile call and returns the results. Since: 4.14
-
gi-gtk4 GI.Gtk.Objects.PrintDialog Finishes the printDialogPrint call and returns the results. If the call was successful, the content to be printed should be written to the returned output stream. Otherwise, NULL is returned. The overall results of the print operation will be returned in the outputStreamClose call, so if you are interested in the results, you need to explicitly close the output stream (it will be closed automatically if you just unref it). Be aware that the close call may not be instant as it operation will for the printer to finish printing. Since: 4.14
printDialogSetAcceptLabel :: (HasCallStack, MonadIO m, IsPrintDialog a) => a -> Text -> m ()gi-gtk4 GI.Gtk.Objects.PrintDialog Sets the label that will be shown on the accept button of the print dialog shown for printDialogSetup. Since: 4.14
printDialogSetModal :: (HasCallStack, MonadIO m, IsPrintDialog a) => a -> Bool -> m ()gi-gtk4 GI.Gtk.Objects.PrintDialog Sets whether the print dialog blocks interaction with the parent window while it is presented. Since: 4.14
-
gi-gtk4 GI.Gtk.Objects.PrintDialog Set the page setup for the print dialog. Since: 4.14
-
gi-gtk4 GI.Gtk.Objects.PrintDialog Sets the print settings for the print dialog. Since: 4.14
printDialogSetTitle :: (HasCallStack, MonadIO m, IsPrintDialog a) => a -> Text -> m ()gi-gtk4 GI.Gtk.Objects.PrintDialog Sets the title that will be shown on the print dialog. Since: 4.14
-
gi-gtk4 GI.Gtk.Objects.PrintDialog This 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. It should call printDialogSetupFinish to obtain the results in the form of a PrintSetup, that can then be passed to printDialogPrint or printDialogPrintFile. One possible use for this method is to have the user select a printer, then show a page setup UI in the application (e.g. to arrange images on a page), then call printDialogPrint on self to do the printing without further user interaction. Since: 4.14