Gambas Documentation
Documents

DesktopMime (gb.desktop)

This class handles the file MIME database as defined by the freedesktop standard.

This class is creatable.

This class acts like a read-only static array.

This class is statically enumerable with the FOR EACH keyword.

Static properties
PreciseSearch  

Static methods
Exist  
FromFile   Creates a DesktopMime object from the given file Path
Refresh  

Properties
GenericIcon  
IsSuffix  
Magic  
Pattern  
Type  
Weight  

Methods
GetApplications   Returns an array of applications associated with the current mime type as DesktopFile objects.
GetComment  
GetIcon