moo.SaveInfo - information for saving a file
Prev | Chapter 3. medit Python 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()`.

    gobject.Object
      |
      +-- moo.SaveInfo

### SaveInfo()

    SaveInfo(path, encoding=None)

`path` : | `str`
`encoding` : | `str` or `None`

`Returns:` `moo.SaveInfo`

### new_file()

    SaveInfo.new_file(file, encoding=None)

`file` : | `gio.File`
`encoding` : | `str` or `None`

`Returns:` `moo.SaveInfo`

### new_uri()

    SaveInfo.new_uri(uri, encoding=None)

`uri` : | `str`
`encoding` : | `str` or `None`

`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