Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. PageOrientationReversePortrait :: PageOrientation

    gi-gtk4 GI.Gtk.Enums

    Reverse portrait mode.

  2. data PageSet

    gi-gtk4 GI.Gtk.Enums

    See also printJobSetPageSet.

  3. PageSetAll :: PageSet

    gi-gtk4 GI.Gtk.Enums

    All pages.

  4. PageSetEven :: PageSet

    gi-gtk4 GI.Gtk.Enums

    Even pages.

  5. PageSetOdd :: PageSet

    gi-gtk4 GI.Gtk.Enums

    Odd pages.

  6. module GI.Gtk.Objects.PageSetup

    A GtkPageSetup object stores the page size, orientation and margins. The idea is that you can get one of these from the page setup dialog and then pass it to the GtkPrintOperation when printing. The benefit of splitting this out of the GtkPrintSettings is that these affect the actual layout of the page, and thus need to be set long before user prints.

    Margins

    The margins specified in this object are the “print margins”, i.e. the parts of the page that the printer cannot print on. These are different from the layout margins that a word processor uses; they are typically used to determine the minimal size for the layout margins. To obtain a GtkPageSetup use pageSetupNew to get the defaults, or use printRunPageSetupDialog to show the page setup dialog and receive the resulting page setup.

    A page setup dialog

    c code

    static GtkPrintSettings *settings = NULL;
    static GtkPageSetup *page_setup = NULL;
    
    static void
    do_page_setup (void)
    {
    GtkPageSetup *new_page_setup;
    
    if (settings == NULL)
    settings = gtk_print_settings_new ();
    
    new_page_setup = gtk_print_run_page_setup_dialog (GTK_WINDOW (main_window),
    page_setup, settings);
    
    if (page_setup)
    g_object_unref (page_setup);
    
    page_setup = new_page_setup;
    }
    

  7. newtype PageSetup

    gi-gtk4 GI.Gtk.Objects.PageSetup

    Memory-managed wrapper type.

  8. PageSetup :: ManagedPtr PageSetup -> PageSetup

    gi-gtk4 GI.Gtk.Objects.PageSetup

    No documentation available.

  9. module GI.Gtk.Objects.PageSetupUnixDialog

    GtkPageSetupUnixDialog implements a page setup dialog for platforms which don’t provide a native page setup dialog, like Unix. It can be used very much like any other GTK dialog, at the cost of the portability offered by the high-level printing API in PrintOperation.

    CSS nodes

    GtkPageSetupUnixDialog has a single CSS node with the name window and style class .pagesetup.

  10. newtype PageSetupUnixDialog

    gi-gtk4 GI.Gtk.Objects.PageSetupUnixDialog

    Memory-managed wrapper type.

Page 224 of many | Previous | Next