GObject.Object
GtkSource.LanguageManager
Import line: | GtkSource = imports.gi.GtkSource; |
GIR File: | GtkSource-2.0.gir |
C documentation: | GtkSourceLanguageManager |
Class : | LanguageManager |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
language_ids : none
read only
|
GtkSource.LanguageManager | |
parent_instance : GObject.Object
read only
|
GtkSource.LanguageManager | |
priv : GtkSource.LanguageManagerPrivate
read only
|
GtkSource.LanguageManager | |
search_path : none
|
GtkSource.LanguageManager |
Method / Constructor | Defined By | |
---|---|---|
new GtkSource.LanguageManager
(Object properties)
Create a new GtkSource.LanguageManager
Create a new GtkSource.LanguageManager
|
||
GtkSource.LanguageManager.get_default
()
:
GtkSource.LanguageManager
Returns the default GtkSourceLanguageManager instance.
Returns the default GtkSourceLanguageManager instance. by GtkSourceView library and must not be unref'ed.
|
GtkSource.LanguageManager | |
get_language
(String id)
:
GtkSource.Language
Gets the GtkSourceLanguage identified by the given id in the language manager.
Gets the GtkSourceLanguage identified by the given id in the language manager. identified by the given id. Return value is owned by lm and should not be freed.
|
GtkSource.LanguageManager | |
get_language_ids
()
:
Array
Returns the ids of the available languages.
Returns the ids of the available languages. available languages or NULL if no language is available. The array is owned by lm and must not be modified.
|
GtkSource.LanguageManager | |
get_search_path
()
:
Array
Gets the list directories where lm looks for language files.
Gets the list directories where lm looks for language files. containg a list of language files directories. The array is owned by lm and must not be modified.
|
GtkSource.LanguageManager | |
Picks a GtkSourceLanguage for given file name and content type, according to the information in lang files.
Picks a GtkSourceLanguage for given file name and content type, according to the information in lang files. Either filename or
|
GtkSource.LanguageManager | |
set_search_path
(Array dirs)
:
none
Sets the list of directories where the lm looks for language files.
Sets the list of directories where the lm looks for language files. If dirs is NULL, the search path is reset to default.
|
GtkSource.LanguageManager |
None |