Créer  Editer  FrontPage  Index  Chercher  Changements  History  RSS  Login

Gtk::SourceLanguagesManager

class Gtk::SourceLanguagesManager

A class to manage source languages.

Class Methods

Gtk::SourceLanguagesManager.new
This method returns a newly created Gtk::SourceLanguagesManager object.

Instance Methods

available_languages
This method returns a list of available languages for the given language manager, as an array of Gtk::SourceLanguage objects.
  • Returns: a list of available languages for the given language manager, as an array of Gtk::SourceLanguage objects.
get_language(mime_type)
Gets the Gtk::SourceLanguage which is associated with the given mime_type in the language manager.
  • mime_type: a mime type (as a string).
  • Returns: a Gtk::SourceLanguage, or nil if there is no language associated with the given mime_type.
lang_files_dirs
This method returns a list of language files directories (strings) for the given language manager.
  • Returns: a list of language files directories (strings) for the given language manager.
Dernière modification:2011/06/07 05:42:40
Mots clef:
Références:[Gtk::SourceLanguagesManager]