nautilus.FileInfo — nautilus.FileInfo Reference
class nautilus.FileInfo(gobject.GInterface): |
def get_file_type()Returns : | the gio.FileType associated with the file |
def get_activation_uri()Returns : | the activation uri of the file |
def get_parent_info()Returns : | the nautilus.FileInfo object associated with the file's parent |
def get_parent_location()Returns : | the gio.File associated with the file's parent location |
def get_mount()Returns : | the gio.GMount associated with the file, if it exists |
def is_mime_type(mimetype)
| a mimetype string (i.e. "text/plain") |
Returns : | whether the file's mimetype string matches the provided mimetype string |
def get_string_attribute(attribute_name)
| a string attribute name |
Returns : | the value associated with the file attribute |
def add_string_attribute(attribute_name, value)
| a string attribute name |
| an attribute value |
def invalidate_extension_info()Invalidates the information Nautilus has about this file, which causes it to request new information
from its nautilus.InfoProvider providers.