The FiletypeGroup object represents a file type group (as configured in the File Type Groups section of the file type editor). You can find out which groups a file belongs to by querying the Item.groups property, or by using the FiletypeGroups object.
Note: If you're looking for information on how the file display is grouping an item based on one of the displayed columns, rather than which file type group a file is part of, see the FileGroup object instead.
This object can be enumerated to retrieve the file extensions it represents.
Property Name | Return Type | Description |
---|---|---|
<default value> |
string |
Returns the internal name of this group. |
display_name |
string |
Returns the display name of this group. |
tiles |
string |
Returns the tiles mode definition string for this group. |
tooltip |
string |
Returns the tooltip definition string for this group. |
Method Name | Arguments | Return Type | Description |
---|---|---|---|
MatchExt |
<string:filename> |
bool |
Tests the filename (or extension) for membership of this group. Returns True if the file is a member of the group, or False if it is not. |