gFileGetChildForDisplayName: gFileGetChildForDisplayName

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

Description

Gets the child of file for a given display.name (i.e. a UTF8 version of the name). If this function fails, it returns NULL and error will be set. This is very useful when constructing a GFile for a new file and the user entered the filename in the user interface, for instance when you select a directory and type a filename in the file selector.

Usage

1
gFileGetChildForDisplayName(object, display.name, .errwarn = TRUE)

Arguments

object

input GFile.

display.name

string to a possible child.

.errwarn

Whether to issue a warning on error or fail silently

Details

This call does no blocking i/o.

Value

A list containing the following elements:

retval

[GFile] a GFile to the specified child, or NULL if the display name couldn't be converted.

error

GError.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.