Compilation Units
Tagged Types
An auxiliary object for printing that allows decoupling the setup from the printing.
A print setup is obtained by calling [methodGtk.PrintDialog.setup], and can later be passed to print functions such as [methodGtk.PrintDialog.print].
Print setups can be reused for multiple print calls.
Applications may wish to store the page_setup and print_settings from the print setup and copy them to the PrintDialog if they want to keep using them.
function From_Object (Object : System.Address) return Gtk_Print_Setup
function From_Object_Free (B : access Gtk_Print_Setup'Class) return Gtk_Print_Setup
function Get_Page_Setup
(Self : Gtk_Print_Setup) return Gtk.Page_Setup.Gtk_Page_Setup
Returns the page setup of Setup. It may be different from the GtkPrintDialog's page setup if the user changed it during the setup process. Since: gtk+ 4.14
the page setup, or NULL. Has transfer-ownership='none'.
function Get_Print_Settings
(Self : Gtk_Print_Setup) return Gtk.Print_Settings.Gtk_Print_Settings
Returns the print settings of Setup. They may be different from the GtkPrintDialog's settings if the user changed them during the setup process. Since: gtk+ 4.14
the print settings, or NULL. Has transfer-ownership='none'.
function Get_Type return Glib.GType
type Gtk_Print_Setup is new Glib.C_Boxed with null record;
Null_Gtk_Print_Setup : constant Gtk_Print_Setup;
function Ref (Self : Gtk_Print_Setup) return Gtk_Print_Setup
Increase the reference count of Setup. Since: gtk+ 4.14
the print setup. Has transfer-ownership='full'.
procedure Unref (Self : Gtk_Print_Setup)
Decrease the reference count of Setup. If the reference count reaches zero, the object is freed. Since: gtk+ 4.14