Hoogle Search
Within LTS Haskell 24.70 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
numerableIconSetCount :: (HasCallStack, MonadIO m, IsNumerableIcon a) => a -> Int32 -> m ()gi-gtk3 GI.Gtk.Objects.NumerableIcon Deprecated: (Since version 3.14)
numerableIconSetLabel :: (HasCallStack, MonadIO m, IsNumerableIcon a) => a -> Maybe Text -> m ()gi-gtk3 GI.Gtk.Objects.NumerableIcon Deprecated: (Since version 3.14)
-
gi-gtk3 GI.Gtk.Objects.NumerableIcon Deprecated: (Since version 3.14)
-
gi-gtk3 GI.Gtk.Objects.Overlay Convenience function to set the value of the Overlay:pass-through child property for widget. Since: 3.18
-
gi-gtk3 GI.Gtk.Objects.PadController Adds an individual action to controller. This action will only be activated if the given button/ring/strip number in index is interacted while the current mode is mode. -1 may be used for simple cases, so the action is triggered on all modes. The given label should be considered user-visible, so internationalization rules apply. Some windowing systems may be able to use those for user feedback. Since: 3.22
-
gi-gtk3 GI.Gtk.Objects.PadController This is a convenience function to add a group of action entries on controller. See PadActionEntry and padControllerSetAction. Since: 3.22
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 PrintOperation when printing. The benefit of splitting this out of the PrintSettings is that these affect the actual layout of the page, and thus need to be set long before user prints. ## Margins ## {print-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 PageSetup 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; }Printing support was added in GTK+ 2.10.class (GObject o, IsDescendantOf PageSetup o) =>
IsPageSetup ogi-gtk3 GI.Gtk.Objects.PageSetup Type class for types which can be safely cast to PageSetup, for instance with toPageSetup.
-
gi-gtk3 GI.Gtk.Objects.PageSetup Memory-managed wrapper type.
PageSetup :: ManagedPtr PageSetup -> PageSetupgi-gtk3 GI.Gtk.Objects.PageSetup No documentation available.