Class

GtkSourceLanguage

since: 5

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.

Available since: 5

Hierarchy

hierarchy this GtkSourceLanguage ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

gtk_source_language_get_globs

Returns the globs associated to this language.

since: 5

gtk_source_language_get_hidden

Returns whether the language should be hidden from the user.

since: 5

gtk_source_language_get_id

Returns the ID of the language.

since: 5

gtk_source_language_get_metadata
No description available.

since: 5

gtk_source_language_get_mime_types

Returns the mime types associated to this language.

since: 5

gtk_source_language_get_name

Returns the localized name of the language.

since: 5

gtk_source_language_get_section

Returns the localized section of the language.

since: 5

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.

since: 5

gtk_source_language_get_style_ids

Returns the ids of the styles defined by this language.

since: 5

gtk_source_language_get_style_name

Returns the name of the style with ID style_id defined by this language.

since: 5

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

GtkSource.Language:hidden
No description available.

since: 5

GtkSource.Language:id
No description available.

since: 5

GtkSource.Language:name
No description available.

since: 5

GtkSource.Language:section
No description available.

since: 5

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.

since: 2.0

Class structure

struct GtkSourceLanguageClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.