File.this

Creates a GFile with the given argument from the command line. The value of arg can be either a URI, an absolute path or a relative path resolved relative to the current working directory. This operation never fails, but the returned object might not support any I/O operation if arg points to a malformed path.

  1. this(GFile* gFile)
  2. this(string arg)
    class File
    this
    (
    string arg
    )

Parameters

arg string

a command line string.

Throws

ConstructionException GTK+ fails to create the object.

Meta