SourceLanguage.getMimeTypes

Returns the mime types associated to this language. This is just an utility wrapper around gtk_source_language_get_metadata() to retrieve the "mimetypes" metadata property and split it into an array.

class SourceLanguage
string[]
getMimeTypes
()

Return Value

Type: string[]

a newly-allocated %NULL terminated array containing the mime types or %NULL if no mime types are found. The returned array must be freed with g_strfreev().

Meta