XApp.FavoriteInfo

Fields

Name

Type

Access

Description

cached_mimetype

str

r/w

The mimetype calculated for the uri when it was added to favorites.

display_name

str

r/w

The name for use when displaying the item. This may not exactly match the filename if there are files with the same name but in different folders.

uri

str

r/w

The uri to the favorite file.

Methods

copy ()

free ()

Details

class XApp.FavoriteInfo

Information related to a single favorite file.

copy()
Returns:

a new XApp.FavoriteInfo. Free using XApp.FavoriteInfo.free.

Return type:

XApp.FavoriteInfo

Makes an exact copy of an existing XApp.FavoriteInfo.

free()

Destroys the XApp.FavoriteInfo.

New in version 2.0.