Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkPrintSettingsNewFromKeyFile

gtkPrintSettingsNewFromKeyFile


Description

Reads the print settings from the group group.name in key.file. Returns a new GtkPrintSettings 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 GFileError or GKeyFileError.

Usage

gtkPrintSettingsNewFromKeyFile(key.file, group.name, .errwarn = TRUE)

Arguments

key.file

the GKeyFile to retrieve the settings from

group.name

the name of the group to use, or NULL to use the default "Print Settings". [ allow-none ]

.errwarn

Whether to issue a warning on error or fail silently

Details

Since 2.12

Value

A list containing the following elements:

retval

[GtkPrintSettings] the restored GtkPrintSettings

error

return location for errors, or NULL. [ allow-none ]

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.