|
| Language (Language&& src) noexcept |
|
Language& | operator= (Language&& src) noexcept |
|
| ~Language () noexceptoverride |
|
GtkSourceLanguage* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GtkSourceLanguage* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GtkSourceLanguage* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
Glib::ustring | get_id () const |
| Returns the ID of a language. More...
|
|
Glib::ustring | get_name () const |
| Returns the localized name of the language. More...
|
|
Glib::ustring | get_section () const |
| Returns the localized section of the language. More...
|
|
bool | get_hidden () const |
| Returns whether the language should be hidden from the user. More...
|
|
std::vector< Glib::ustring > | get_mime_types () const |
| Returns the mime types associated to this language. More...
|
|
std::vector< Glib::ustring > | get_globs () const |
| Returns the globs associated to this language. More...
|
|
std::vector< Glib::ustring > | get_style_ids () const |
| Returns the ids of the styles defined by this language. More...
|
|
Glib::ustring | get_style_name (const Glib::ustring& style_id) const |
| Returns the name of the style with ID style_id defined by this language. More...
|
|
Glib::ustring | get_style_fallback (const Glib::ustring& style_id) const |
| Returns the ID of the style to use if the specified style_id is not present in the current style scheme. More...
|
|
Glib::ustring | get_metadata (const Glib::ustring& name) const |
| Returns metadata of a language. More...
|
|
Glib::PropertyProxy_ReadOnly< std::string > | property_id () const |
| Language id. More...
|
|
Glib::PropertyProxy_ReadOnly< std::string > | property_name () const |
| Language name. More...
|
|
Glib::PropertyProxy_ReadOnly< std::string > | property_section () const |
| Language section. More...
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_hidden () const |
| Whether the language should be hidden from the user. More...
|
|
| Object (const Object &)=delete |
|
Object & | operator= (const Object &)=delete |
|
| Object (Object &&src) noexcept |
|
Object & | operator= (Object &&src) noexcept |
|
void * | get_data (const QueryQuark &key) |
|
void | set_data (const Quark &key, void *data) |
|
void | set_data (const Quark &key, void *data, DestroyNotify notify) |
|
void | remove_data (const QueryQuark &quark) |
|
void * | steal_data (const QueryQuark &quark) |
|
Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false) |
|
| ObjectBase (const ObjectBase &)=delete |
|
ObjectBase & | operator= (const ObjectBase &)=delete |
|
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
|
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
|
void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
|
void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
|
void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
|
void | connect_property_changed (const Glib::ustring &property_name, sigc::slot< void > &&slot) |
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, sigc::slot< void > &&slot) |
|
void | freeze_notify () |
|
void | thaw_notify () |
|
virtual void | reference () const |
|
virtual void | unreference () const |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
GObject * | gobj_copy () const |
|
| trackable () noexcept |
|
| trackable (const trackable &src) noexcept |
|
| trackable (trackable &&src) |
|
| ~trackable () |
|
void | add_destroy_notify_callback (void *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) |
|
void | remove_destroy_notify_callback (void *data) const |
|
Object representing a syntax highlighted language.
Language encapsulates syntax and highlighting styles for a particular language. Use LanguageManager to obtain a Language instance, and Buffer::set_language() to apply it to a Buffer.