Class
GtkSourceLanguage
Description [src]
final class GtkSource.Language : GObject.Object
{
/* No available fields */
}
Represents a syntax highlighted language.
A GtkSourceLanguage
represents a programming or markup language, affecting
syntax highlighting and context classes.
Use GtkSourceLanguageManager
to obtain a GtkSourceLanguage
instance, and
gtk_source_buffer_set_language()
to apply it to a GtkSourceBuffer
.
Instance methods
gtk_source_language_get_style_fallback
Returns the ID of the style to use if the specified style_id
is not present in the current style scheme.
gtk_source_language_get_style_name
Returns the name of the style with ID style_id
defined by this language
.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.