gtksourceview2.Language — Source language object for gtksourceview2.View
| class gtksourceview2.Language(gobject.GObject): | 
    def get_globs()| Returns : | a list containing the globs or Noneif no globs are found. | 
      The get_globs() method returns the globs associated to this language.
      This is just an utility wrapper around
      gtksourceview2.Language.get_metadata()
      to retrieve the "globs" metadata property and split it into an array.
    
    def get_hidden()| Returns : | Trueif the language should be hidden,Falseotherwise. | 
      The get_hidden() method
      returns whether the language should be hidden from the user.
    
    def get_id()| Returns : | the ID of language. | 
      The get_id() method
      returns the ID of the language. The ID is not locale-dependent.
    
    def get_metadata(name)| 
 | metadata property name. | 
| Returns : | value of property name stored in the metadata of language
        or Noneif language doesn't contain that metadata property. | 
      The get_metadata() method
      returns the value of property name stored in the metadata of language.
    
    def get_mime_types()| Returns : | a list of mime types (strings). | 
      The get_mime_types() method returns a list of mime types for the given language. 
      This is just an utility wrapper around get_metadata
      to retrieve the "mimetypes" metadata property and split it into a list.
    
    def get_name()| Returns : | the name of language. | 
      The get_name() method returns the localized name of the language.
    
    def get_section()| Returns : | the section of language. | 
      The get_section() method returns the localized section of the language. 
      Each language belong to a section (ex. HTML belogs to the Markup section)
    
    def get_style_ids()| Returns : | a list containing ids of the styles defined by this
        language or Noneif no style is defined. | 
      The get_style_ids() method
      returns the ids of the styles defined by this language.
    
    def get_style_name(style_id)| 
 | a style ID. | 
| Returns : | the name of the style with ID style_id defined by this
        language or Noneif the style has no name or there is
        no style with ID  defined by this language | 
      The get_style_name() method
      returns the name of the style with ID style_id defined by this language.