ApplicationCommandLine.createFileForArg

Creates a #GFile corresponding to a filename that was given as part of the invocation of @cmdline.

This differs from g_file_new_for_commandline_arg() in that it resolves relative pathnames using the current working directory of the invoking process rather than the local process.

class ApplicationCommandLine
createFileForArg
(
string arg
)

Parameters

arg string

an argument from @cmdline

Return Value

Type: FileIF

a new #GFile

Meta

Since

2.36