gtk.GFile
Prev | Chapter 2. Gtk API for Lua scripts | Next

## gtk.GFile

    gtk.GObject
      |
      +-- gtk.GFile

### new_for_path()

    GFile.new_for_path(path)

`path` : | `string`

`Returns:` `gtk.GFile`

### new_for_uri()

    GFile.new_for_uri(uri)

`uri` : | `string`

`Returns:` `gtk.GFile`

### parse_name()

    GFile.parse_name(parse_name)

`parse_name` : | `string`

`Returns:` `gtk.GFile`

### dup()

    file.dup()

`Returns:` `gtk.GFile`

### equal()

    file.equal(file2)

`file2` : | `gtk.GFile`

`Returns:` `bool`

### get_basename()

    file.get_basename()

`Returns:` `string`

### get_child()

    file.get_child(name)

`name` : | `string`

`Returns:` `gtk.GFile`

### get_child_for_display_name()

    file.get_child_for_display_name(display_name)

`display_name` : | `string`

`Returns:` `gtk.GFile`

### get_parent()

    file.get_parent()

`Returns:` `gtk.GFile`

### get_parse_name()

    file.get_parse_name()

`Returns:` `string`

### get_path()

    file.get_path()

`Returns:` `string`

### get_relative_path()

    file.get_relative_path(descendant)

`descendant` : | `gtk.GFile`

`Returns:` `string`

### get_uri()

    file.get_uri()

`Returns:` `string`

### get_uri_scheme()

    file.get_uri_scheme()

`Returns:` `string`

### has_parent()

    file.has_parent(parent=nil)

`parent` : | `gtk.GFile` or `nil`

`Returns:` `bool`

### has_prefix()

    file.has_prefix(prefix)

`prefix` : | `gtk.GFile`

`Returns:` `bool`

### has_uri_scheme()

    file.has_uri_scheme(uri_scheme)

`uri_scheme` : | `string`

`Returns:` `bool`

### hash()

    file.hash()

`Returns:` `integer`

### is_native()

    file.is_native()

`Returns:` `bool`

### resolve_relative_path()

    file.resolve_relative_path(relative_path)

`relative_path` : | `string`

`Returns:` `gtk.GFile`

Prev | Up | Next
gtk.Container | Home | gtk.GObject