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

gtkFileSelectionSetFilename

gtkFileSelectionSetFilename


Description

Sets a default path for the file requestor. If filename includes a directory path, then the requestor will open with that path as its current working directory. WARNING: gtk_file_selection_set_filename is deprecated and should not be used in newly-written code.

Usage

gtkFileSelectionSetFilename(object, filename)

Arguments

object

a GtkFileSelection.

filename

a string to set as the default file name.

Details

This has the consequence that in order to open the requestor with a working directory and an empty filename, filename must have a trailing directory separator.

The encoding of filename is preferred GLib file name encoding, which may not be UTF-8. See gFilenameFromUtf8().

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.