Geany  0.20
Data Fields
GeanyFiletype Struct Reference

Represents a filetype. More...

Data Fields

gchar * extension
 Default file extension for new files, or NULL.
filetype_id id
 Index in filetypes_array.
langType lang
 Represents the langType of tagmanager (see the table in tagmanager/parsers.h), -1 represents all, -2 none.
gchar * name
 Untranslated short name, such as "C", "None".
gchar ** pattern
 Array of filename-matching wildcard strings.
gchar * title
 Shown in the file open dialog, such as "C source file".

Detailed Description

Represents a filetype.


Field Documentation

Default file extension for new files, or NULL.

filetype_id GeanyFiletype::id

Index in filetypes_array.

Represents the langType of tagmanager (see the table in tagmanager/parsers.h), -1 represents all, -2 none.

Untranslated short name, such as "C", "None".

Must not be translated as it's used for hash table lookups - use filetypes_get_display_name() instead.

Array of filename-matching wildcard strings.

Shown in the file open dialog, such as "C source file".