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. Since 2.36

class ApplicationCommandLine
createFileForArg
(
string arg
)

Parameters

arg string

an argument from cmdline

Return Value

Type: File

a new GFile. [transfer full]

Meta