A GtkPrintSettings object represents the settings of a print dialog in a system-independent way. The main use for this object is that once you've printed you can get a settings object that represents the settings the user chose, and the next time you print you can pass that object in so that the user doesn't have to re-set all his settings.
Its also possible to enumerate the settings so that you can easily save the settings for the next time your app runs, or even store them in a document. The predefined keys try to use shared values as much as possible so that moving such a document between systems still works.
Printing support was added in GTK+ 2.10.
function Copy
(Self : not null access Gtk_Print_Settings_Record)
return Gtk_Print_Settings
Copies a Gtk.Print_Settings.Gtk_Print_Settings object. Since: gtk+ 2.10
a newly allocated copy of Other
procedure Foreach
(Self : not null access Gtk_Print_Settings_Record;
Func : Gtk_Print_Settings_Func)
Calls Func for each key-value pair of Settings. Since: gtk+ 2.10
the function to call
function Get
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String) return UTF8_String
Looks up the string value associated with Key. Since: gtk+ 2.10
a key
the string value for Key
function Get_Bool
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String) return Boolean
Returns the boolean represented by the value that is associated with Key. The string "true" represents True, any other string False. Since: gtk+ 2.10
a key
True, if Key maps to a true value.
function Get_Collate
(Self : not null access Gtk_Print_Settings_Record) return Boolean
Gets the value of GTK_PRINT_SETTINGS_COLLATE. Since: gtk+ 2.10
whether to collate the printed pages
function Get_Default_Source
(Self : not null access Gtk_Print_Settings_Record) return UTF8_String
Gets the value of GTK_PRINT_SETTINGS_DEFAULT_SOURCE. Since: gtk+ 2.10
the default source
function Get_Dither
(Self : not null access Gtk_Print_Settings_Record) return UTF8_String
Gets the value of GTK_PRINT_SETTINGS_DITHER. Since: gtk+ 2.10
the dithering that is used
function Get_Double
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String) return Gdouble
Returns the double value associated with Key, or 0. Since: gtk+ 2.10
a key
the double value of Key
function Get_Double_With_Default
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String;
Def : Gdouble) return Gdouble
Returns the floating point number represented by the value that is associated with Key, or Default_Val if the value does not represent a floating point number. Floating point numbers are parsed with g_ascii_strtod. Since: gtk+ 2.10
a key
the default value
the floating point number associated with Key
function Get_Duplex
(Self : not null access Gtk_Print_Settings_Record)
return Gtk.Enums.Gtk_Print_Duplex
Gets the value of GTK_PRINT_SETTINGS_DUPLEX. Since: gtk+ 2.10
whether to print the output in duplex.
function Get_Finishings
(Self : not null access Gtk_Print_Settings_Record) return UTF8_String
Gets the value of GTK_PRINT_SETTINGS_FINISHINGS. Since: gtk+ 2.10
the finishings
function Get_Int
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String) return Glib.Gint
Returns the integer value of Key, or 0. Since: gtk+ 2.10
a key
the integer value of Key
function Get_Int_With_Default
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String;
Def : Glib.Gint) return Glib.Gint
Returns the value of Key, interpreted as an integer, or the default value. Since: gtk+ 2.10
a key
the default value
the integer value of Key
function Get_Length
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String;
Unit : Gtk.Enums.Gtk_Unit) return Gdouble
Returns the value associated with Key, interpreted as a length. The returned value is converted to Units. Since: gtk+ 2.10
a key
the unit of the return value
the length value of Key, converted to Unit
function Get_Media_Type
(Self : not null access Gtk_Print_Settings_Record) return UTF8_String
Gets the value of GTK_PRINT_SETTINGS_MEDIA_TYPE. The set of media types is defined in PWG 5101.1-2002 PWG. Since: gtk+ 2.10
the media type
function Get_N_Copies
(Self : not null access Gtk_Print_Settings_Record) return Glib.Gint
Gets the value of GTK_PRINT_SETTINGS_N_COPIES. Since: gtk+ 2.10
the number of copies to print
function Get_Number_Up
(Self : not null access Gtk_Print_Settings_Record) return Glib.Gint
Gets the value of GTK_PRINT_SETTINGS_NUMBER_UP. Since: gtk+ 2.10
the number of pages per sheet
function Get_Number_Up_Layout
(Self : not null access Gtk_Print_Settings_Record)
return Gtk.Enums.Gtk_Number_Up_Layout
Gets the value of GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT. Since: gtk+ 2.14
layout of page in number-up mode
function Get_Orientation
(Self : not null access Gtk_Print_Settings_Record)
return Gtk.Enums.Gtk_Page_Orientation
Get the value of GTK_PRINT_SETTINGS_ORIENTATION, converted to a Gtk.Enums.Gtk_Page_Orientation. Since: gtk+ 2.10
the orientation
function Get_Output_Bin
(Self : not null access Gtk_Print_Settings_Record) return UTF8_String
Gets the value of GTK_PRINT_SETTINGS_OUTPUT_BIN. Since: gtk+ 2.10
the output bin
function Get_Page_Ranges
(Self : not null access Gtk_Print_Settings_Record)
return Gtk_Page_Range_Array
Gets the value of GTK_PRINT_SETTINGS_PAGE_RANGES. Since: gtk+ 2.10
function Get_Page_Set
(Self : not null access Gtk_Print_Settings_Record)
return Gtk.Enums.Gtk_Page_Set
Gets the value of GTK_PRINT_SETTINGS_PAGE_SET. Since: gtk+ 2.10
the set of pages to print
function Get_Paper_Height
(Self : not null access Gtk_Print_Settings_Record;
Unit : Gtk.Enums.Gtk_Unit) return Gdouble
Gets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT, converted to Unit. Since: gtk+ 2.10
the unit for the return value
the paper height, in units of Unit
function Get_Paper_Size
(Self : not null access Gtk_Print_Settings_Record)
return Gtk.Paper_Size.Gtk_Paper_Size
Gets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT, converted to a Gtk.Paper_Size.Gtk_Paper_Size. Since: gtk+ 2.10
the paper size
function Get_Paper_Width
(Self : not null access Gtk_Print_Settings_Record;
Unit : Gtk.Enums.Gtk_Unit) return Gdouble
Gets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH, converted to Unit. Since: gtk+ 2.10
the unit for the return value
the paper width, in units of Unit
function Get_Print_Pages
(Self : not null access Gtk_Print_Settings_Record)
return Gtk.Enums.Gtk_Print_Pages
Gets the value of GTK_PRINT_SETTINGS_PRINT_PAGES. Since: gtk+ 2.10
which pages to print
function Get_Printer
(Self : not null access Gtk_Print_Settings_Record) return UTF8_String
Convenience function to obtain the value of GTK_PRINT_SETTINGS_PRINTER. Since: gtk+ 2.10
the printer name
function Get_Printer_Lpi
(Self : not null access Gtk_Print_Settings_Record) return Gdouble
Gets the value of GTK_PRINT_SETTINGS_PRINTER_LPI. Since: gtk+ 2.16
the resolution in lpi (lines per inch)
function Get_Quality
(Self : not null access Gtk_Print_Settings_Record)
return Gtk.Enums.Gtk_Print_Quality
Gets the value of GTK_PRINT_SETTINGS_QUALITY. Since: gtk+ 2.10
the print quality
function Get_Resolution
(Self : not null access Gtk_Print_Settings_Record) return Glib.Gint
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION. Since: gtk+ 2.10
the resolution in dpi
function Get_Resolution_X
(Self : not null access Gtk_Print_Settings_Record) return Glib.Gint
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION_X. Since: gtk+ 2.16
the horizontal resolution in dpi
function Get_Resolution_Y
(Self : not null access Gtk_Print_Settings_Record) return Glib.Gint
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION_Y. Since: gtk+ 2.16
the vertical resolution in dpi
function Get_Reverse
(Self : not null access Gtk_Print_Settings_Record) return Boolean
Gets the value of GTK_PRINT_SETTINGS_REVERSE. Since: gtk+ 2.10
whether to reverse the order of the printed pages
function Get_Scale
(Self : not null access Gtk_Print_Settings_Record) return Gdouble
Gets the value of GTK_PRINT_SETTINGS_SCALE. Since: gtk+ 2.10
the scale in percent
function Get_Type return Glib.GType
function Get_Use_Color
(Self : not null access Gtk_Print_Settings_Record) return Boolean
Gets the value of GTK_PRINT_SETTINGS_USE_COLOR. Since: gtk+ 2.10
whether to use color
procedure Gtk_New (Self : out Gtk_Print_Settings)
Creates a new Gtk.Print_Settings.Gtk_Print_Settings object. Since: gtk+ 2.10 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Gtk_New_From_File
(Self : out Gtk_Print_Settings;
File_Name : UTF8_String)
Reads the print settings from File_Name. Returns a new Gtk.Print_Settings.Gtk_Print_Settings object with the restored settings, or null if an error occurred. If the file could not be loaded then error is set to either a GFile_Error or GKey_File_Error. See Gtk.Print_Settings.To_File. Since: gtk+ 2.12 Initialize_From_File does nothing if the object was already created with another call to Initialize* or G_New.
the filename to read the settings from
procedure Gtk_New_From_Gvariant
(Self : out Gtk_Print_Settings;
Variant : Glib.Variant.Gvariant)
Deserialize print settings from an a{sv} variant in the format produced by Gtk.Print_Settings.To_Gvariant. Since: gtk+ 3.22 Initialize_From_Gvariant does nothing if the object was already created with another call to Initialize* or G_New.
an a{sv} Glib.Variant.Gvariant
procedure Gtk_New_From_Key_File
(Self : out Gtk_Print_Settings;
Key_File : Glib.Key_File.G_Key_File;
Group_Name : UTF8_String := "")
Reads the print settings from the group Group_Name in Key_File. Returns a new Gtk.Print_Settings.Gtk_Print_Settings object with the restored settings, or null if an error occurred. If the file could not be loaded then error is set to either a GFile_Error or GKey_File_Error. Since: gtk+ 2.12 Initialize_From_Key_File does nothing if the object was already created with another call to Initialize* or G_New.
the Gkey.File.Gkey_File to retrieve the settings from
the name of the group to use, or null to use the default "Print Settings"
type Gtk_Page_Range_Array is array (Integer range <>) of Gtk_Page_Range_Record;
Page range specification(s).
type Gtk_Page_Range_Record is record
Range_Start : Gint;
Range_End : Gint;
end record;
Page range specification(s).
type Gtk_Print_Settings is access all Gtk_Print_Settings_Record'Class;
type Gtk_Print_Settings_Func is access procedure (Key : UTF8_String; Value : UTF8_String);
function Gtk_Print_Settings_New return Gtk_Print_Settings
Creates a new Gtk.Print_Settings.Gtk_Print_Settings object. Since: gtk+ 2.10
function Gtk_Print_Settings_New_From_File
(File_Name : UTF8_String) return Gtk_Print_Settings
Reads the print settings from File_Name. Returns a new Gtk.Print_Settings.Gtk_Print_Settings object with the restored settings, or null if an error occurred. If the file could not be loaded then error is set to either a GFile_Error or GKey_File_Error. See Gtk.Print_Settings.To_File. Since: gtk+ 2.12
the filename to read the settings from
function Gtk_Print_Settings_New_From_Gvariant
(Variant : Glib.Variant.Gvariant) return Gtk_Print_Settings
Deserialize print settings from an a{sv} variant in the format produced by Gtk.Print_Settings.To_Gvariant. Since: gtk+ 3.22
an a{sv} Glib.Variant.Gvariant
function Gtk_Print_Settings_New_From_Key_File
(Key_File : Glib.Key_File.G_Key_File;
Group_Name : UTF8_String := "") return Gtk_Print_Settings
Reads the print settings from the group Group_Name in Key_File. Returns a new Gtk.Print_Settings.Gtk_Print_Settings object with the restored settings, or null if an error occurred. If the file could not be loaded then error is set to either a GFile_Error or GKey_File_Error. Since: gtk+ 2.12
the Gkey.File.Gkey_File to retrieve the settings from
the name of the group to use, or null to use the default "Print Settings"
type Gtk_Print_Settings_Record is new GObject_Record with null record;
function Has_Key
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String) return Boolean
Returns True, if a value is associated with Key. Since: gtk+ 2.10
a key
True, if Key has a value
procedure Initialize
(Self : not null access Gtk_Print_Settings_Record'Class)
Creates a new Gtk.Print_Settings.Gtk_Print_Settings object. Since: gtk+ 2.10 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Initialize_From_File
(Self : not null access Gtk_Print_Settings_Record'Class;
File_Name : UTF8_String)
Reads the print settings from File_Name. Returns a new Gtk.Print_Settings.Gtk_Print_Settings object with the restored settings, or null if an error occurred. If the file could not be loaded then error is set to either a GFile_Error or GKey_File_Error. See Gtk.Print_Settings.To_File. Since: gtk+ 2.12 Initialize_From_File does nothing if the object was already created with another call to Initialize* or G_New.
the filename to read the settings from
procedure Initialize_From_Gvariant
(Self : not null access Gtk_Print_Settings_Record'Class;
Variant : Glib.Variant.Gvariant)
Deserialize print settings from an a{sv} variant in the format produced by Gtk.Print_Settings.To_Gvariant. Since: gtk+ 3.22 Initialize_From_Gvariant does nothing if the object was already created with another call to Initialize* or G_New.
an a{sv} Glib.Variant.Gvariant
procedure Initialize_From_Key_File
(Self : not null access Gtk_Print_Settings_Record'Class;
Key_File : Glib.Key_File.G_Key_File;
Group_Name : UTF8_String := "")
Reads the print settings from the group Group_Name in Key_File. Returns a new Gtk.Print_Settings.Gtk_Print_Settings object with the restored settings, or null if an error occurred. If the file could not be loaded then error is set to either a GFile_Error or GKey_File_Error. Since: gtk+ 2.12 Initialize_From_Key_File does nothing if the object was already created with another call to Initialize* or G_New.
the Gkey.File.Gkey_File to retrieve the settings from
the name of the group to use, or null to use the default "Print Settings"
function Load_File
(Self : not null access Gtk_Print_Settings_Record;
File_Name : UTF8_String) return Boolean
Reads the print settings from File_Name. If the file could not be loaded then error is set to either a GFile_Error or GKey_File_Error. See Gtk.Print_Settings.To_File. Since: gtk+ 2.14
the filename to read the settings from
True on success
function Load_Key_File
(Self : not null access Gtk_Print_Settings_Record;
Key_File : Glib.Key_File.G_Key_File;
Group_Name : UTF8_String := "") return Boolean
Reads the print settings from the group Group_Name in Key_File. If the file could not be loaded then error is set to either a GFile_Error or GKey_File_Error. Since: gtk+ 2.14
the Gkey.File.Gkey_File to retrieve the settings from
the name of the group to use, or null to use the default "Print Settings"
True on success
procedure Set
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String;
Value : UTF8_String := "")
Associates Value with Key. Since: gtk+ 2.10
a key
a string value, or null
procedure Set_Bool
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String;
Value : Boolean)
Sets Key to a boolean value. Since: gtk+ 2.10
a key
a boolean
procedure Set_Collate
(Self : not null access Gtk_Print_Settings_Record;
Collate : Boolean)
Sets the value of GTK_PRINT_SETTINGS_COLLATE. Since: gtk+ 2.10
whether to collate the output
procedure Set_Default_Source
(Self : not null access Gtk_Print_Settings_Record;
Default_Source : UTF8_String)
Sets the value of GTK_PRINT_SETTINGS_DEFAULT_SOURCE. Since: gtk+ 2.10
the default source
procedure Set_Dither
(Self : not null access Gtk_Print_Settings_Record;
Dither : UTF8_String)
Sets the value of GTK_PRINT_SETTINGS_DITHER. Since: gtk+ 2.10
the dithering that is used
procedure Set_Double
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String;
Value : Gdouble)
Sets Key to a double value. Since: gtk+ 2.10
a key
a double value
procedure Set_Duplex
(Self : not null access Gtk_Print_Settings_Record;
Duplex : Gtk.Enums.Gtk_Print_Duplex)
Sets the value of GTK_PRINT_SETTINGS_DUPLEX. Since: gtk+ 2.10
a Gtk.Enums.Gtk_Print_Duplex value
procedure Set_Finishings
(Self : not null access Gtk_Print_Settings_Record;
Finishings : UTF8_String)
Sets the value of GTK_PRINT_SETTINGS_FINISHINGS. Since: gtk+ 2.10
the finishings
procedure Set_Int
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String;
Value : Glib.Gint)
Sets Key to an integer value. Since: gtk+ 2.10
a key
an integer
procedure Set_Length
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String;
Value : Gdouble;
Unit : Gtk.Enums.Gtk_Unit)
Associates a length in units of Unit with Key. Since: gtk+ 2.10
a key
a length
the unit of Length
procedure Set_Media_Type
(Self : not null access Gtk_Print_Settings_Record;
Media_Type : UTF8_String)
Sets the value of GTK_PRINT_SETTINGS_MEDIA_TYPE. The set of media types is defined in PWG 5101.1-2002 PWG. Since: gtk+ 2.10
the media type
procedure Set_N_Copies
(Self : not null access Gtk_Print_Settings_Record;
Num_Copies : Glib.Gint)
Sets the value of GTK_PRINT_SETTINGS_N_COPIES. Since: gtk+ 2.10
the number of copies
procedure Set_Number_Up
(Self : not null access Gtk_Print_Settings_Record;
Number_Up : Glib.Gint)
Sets the value of GTK_PRINT_SETTINGS_NUMBER_UP. Since: gtk+ 2.10
the number of pages per sheet
procedure Set_Number_Up_Layout
(Self : not null access Gtk_Print_Settings_Record;
Number_Up_Layout : Gtk.Enums.Gtk_Number_Up_Layout)
Sets the value of GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT. Since: gtk+ 2.14
a Gtk.Enums.Gtk_Number_Up_Layout value
procedure Set_Orientation
(Self : not null access Gtk_Print_Settings_Record;
Orientation : Gtk.Enums.Gtk_Page_Orientation)
Sets the value of GTK_PRINT_SETTINGS_ORIENTATION. Since: gtk+ 2.10
a page orientation
procedure Set_Output_Bin
(Self : not null access Gtk_Print_Settings_Record;
Output_Bin : UTF8_String)
Sets the value of GTK_PRINT_SETTINGS_OUTPUT_BIN. Since: gtk+ 2.10
the output bin
procedure Set_Page_Ranges
(Self : not null access Gtk_Print_Settings_Record;
Page_Ranges : Gtk_Page_Range_Array)
Sets the value of GTK_PRINT_SETTINGS_PAGE_RANGES. Since: gtk+ 2.10
an array of Gtk_Page_Ranges
procedure Set_Page_Set
(Self : not null access Gtk_Print_Settings_Record;
Page_Set : Gtk.Enums.Gtk_Page_Set)
Sets the value of GTK_PRINT_SETTINGS_PAGE_SET. Since: gtk+ 2.10
a Gtk.Enums.Gtk_Page_Set value
procedure Set_Paper_Height
(Self : not null access Gtk_Print_Settings_Record;
Height : Gdouble;
Unit : Gtk.Enums.Gtk_Unit)
Sets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT. Since: gtk+ 2.10
the paper height
the units of Height
procedure Set_Paper_Size
(Self : not null access Gtk_Print_Settings_Record;
Paper_Size : Gtk.Paper_Size.Gtk_Paper_Size)
Sets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT, GTK_PRINT_SETTINGS_PAPER_WIDTH and GTK_PRINT_SETTINGS_PAPER_HEIGHT. Since: gtk+ 2.10
a paper size
procedure Set_Paper_Width
(Self : not null access Gtk_Print_Settings_Record;
Width : Gdouble;
Unit : Gtk.Enums.Gtk_Unit)
Sets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH. Since: gtk+ 2.10
the paper width
the units of Width
procedure Set_Print_Pages
(Self : not null access Gtk_Print_Settings_Record;
Pages : Gtk.Enums.Gtk_Print_Pages)
Sets the value of GTK_PRINT_SETTINGS_PRINT_PAGES. Since: gtk+ 2.10
a Gtk.Enums.Gtk_Print_Pages value
procedure Set_Printer
(Self : not null access Gtk_Print_Settings_Record;
Printer : UTF8_String)
Convenience function to set GTK_PRINT_SETTINGS_PRINTER to Printer. Since: gtk+ 2.10
the printer name
procedure Set_Printer_Lpi
(Self : not null access Gtk_Print_Settings_Record;
Lpi : Gdouble)
Sets the value of GTK_PRINT_SETTINGS_PRINTER_LPI. Since: gtk+ 2.16
the resolution in lpi (lines per inch)
procedure Set_Quality
(Self : not null access Gtk_Print_Settings_Record;
Quality : Gtk.Enums.Gtk_Print_Quality)
Sets the value of GTK_PRINT_SETTINGS_QUALITY. Since: gtk+ 2.10
a Gtk.Enums.Gtk_Print_Quality value
procedure Set_Resolution
(Self : not null access Gtk_Print_Settings_Record;
Resolution : Glib.Gint)
Sets the values of GTK_PRINT_SETTINGS_RESOLUTION, GTK_PRINT_SETTINGS_RESOLUTION_X and GTK_PRINT_SETTINGS_RESOLUTION_Y. Since: gtk+ 2.10
the resolution in dpi
procedure Set_Resolution_Xy
(Self : not null access Gtk_Print_Settings_Record;
Resolution_X : Glib.Gint;
Resolution_Y : Glib.Gint)
Sets the values of GTK_PRINT_SETTINGS_RESOLUTION, GTK_PRINT_SETTINGS_RESOLUTION_X and GTK_PRINT_SETTINGS_RESOLUTION_Y. Since: gtk+ 2.16
the horizontal resolution in dpi
the vertical resolution in dpi
procedure Set_Reverse
(Self : not null access Gtk_Print_Settings_Record;
Gtk_Reverse : Boolean)
Sets the value of GTK_PRINT_SETTINGS_REVERSE. Since: gtk+ 2.10
whether to reverse the output
procedure Set_Scale
(Self : not null access Gtk_Print_Settings_Record;
Scale : Gdouble)
Sets the value of GTK_PRINT_SETTINGS_SCALE. Since: gtk+ 2.10
the scale in percent
procedure Set_Use_Color
(Self : not null access Gtk_Print_Settings_Record;
Use_Color : Boolean)
Sets the value of GTK_PRINT_SETTINGS_USE_COLOR. Since: gtk+ 2.10
whether to use color
function To_File
(Self : not null access Gtk_Print_Settings_Record;
File_Name : UTF8_String) return Boolean
This function saves the print settings from Settings to File_Name. If the file could not be loaded then error is set to either a GFile_Error or GKey_File_Error. Since: gtk+ 2.12
the file to save to
True on success
function To_Gvariant
(Self : not null access Gtk_Print_Settings_Record)
return Glib.Variant.Gvariant
Serialize print settings to an a{sv} variant. Since: gtk+ 3.22
a new, floating, Glib.Variant.Gvariant
procedure To_Key_File
(Self : not null access Gtk_Print_Settings_Record;
Key_File : Glib.Key_File.G_Key_File;
Group_Name : UTF8_String := "")
This function adds the print settings from Settings to Key_File. Since: gtk+ 2.12
the Gkey.File.Gkey_File to save the print settings to
the group to add the settings to in Key_File, or null to use the default "Print Settings"
procedure Unset
(Self : not null access Gtk_Print_Settings_Record;
Key : UTF8_String)
Removes any value associated with Key. This has the same effect as setting the value to null. Since: gtk+ 2.10
a key