gtkPrintSettingsToFile {RGtk2} | R Documentation

## gtkPrintSettingsToFile

### Description

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 `GFileError` or `GKeyFileError`.

### Usage

    gtkPrintSettingsToFile(object, file.name, .errwarn = TRUE)

### Arguments

``object`` | a `GtkPrintSettings`
``file.name`` | the file to save to
`.errwarn` | Whether to issue a warning on error or fail silently

### Details

Since 2.12

### Value

A list containing the following elements:

`retval` | [logical] `TRUE` on success
``error`` | return location for errors, or `NULL`. [ allow-none ]

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]