moo.SaveInfo - information for saving a file
Prev | Chapter 1. medit Lua API | Next

## moo.SaveInfo - information for saving a file

Object which contains a filename and character encoding to use in `moo.Editor.save()` and `moo.Editor.save_as()`.

    gtk.GObject
      |
      +-- moo.SaveInfo

### new()

    SaveInfo.new(path, encoding=nil)

`path` : | `string`
`encoding` : | `string` or `nil`

`Returns:` `moo.SaveInfo`

### new_file()

    SaveInfo.new_file(file, encoding=nil)

`file` : | `gtk.GFile`
`encoding` : | `string` or `nil`

`Returns:` `moo.SaveInfo`

### new_uri()

    SaveInfo.new_uri(uri, encoding=nil)

`uri` : | `string`
`encoding` : | `string` or `nil`

`Returns:` `moo.SaveInfo`

### dup()

    save_info.dup()

`Returns:` `moo.SaveInfo`

Prev | Up | Next
moo.ReloadInfo - information for reloading a file | Home | moo.TextView - text view object