Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. printDialogGetTitle :: (HasCallStack, MonadIO m, IsPrintDialog a) => a -> m Text

    gi-gtk4 GI.Gtk.Objects.PrintDialog

    Returns the title that will be shown on the print dialog. Since: 4.14

  2. printDialogNew :: (HasCallStack, MonadIO m) => m PrintDialog

    gi-gtk4 GI.Gtk.Objects.PrintDialog

    Creates a new GtkPrintDialog object. Since: 4.14

  3. printDialogPrint :: (HasCallStack, MonadIO m, IsPrintDialog a, IsWindow b, IsCancellable c) => a -> Maybe b -> Maybe PrintSetup -> Maybe c -> Maybe AsyncReadyCallback -> m ()

    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

  4. printDialogPrintFile :: (HasCallStack, MonadIO m, IsPrintDialog a, IsWindow b, IsFile c, IsCancellable d) => a -> Maybe b -> Maybe PrintSetup -> c -> Maybe d -> Maybe AsyncReadyCallback -> m ()

    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

  5. printDialogPrintFileFinish :: (HasCallStack, MonadIO m, IsPrintDialog a, IsAsyncResult b) => a -> b -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintDialog

    Finishes the printDialogPrintFile call and returns the results. Since: 4.14

  6. printDialogPrintFinish :: (HasCallStack, MonadIO m, IsPrintDialog a, IsAsyncResult b) => a -> b -> m (Maybe OutputStream)

    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

  7. 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

  8. 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

  9. printDialogSetPageSetup :: (HasCallStack, MonadIO m, IsPrintDialog a, IsPageSetup b) => a -> b -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintDialog

    Set the page setup for the print dialog. Since: 4.14

  10. printDialogSetPrintSettings :: (HasCallStack, MonadIO m, IsPrintDialog a, IsPrintSettings b) => a -> b -> m ()

    gi-gtk4 GI.Gtk.Objects.PrintDialog

    Sets the print settings for the print dialog. Since: 4.14

Page 41 of many | Previous | Next