Gtksource

object Gtksource

Skipped during bindings generation

  • record BufferClass: glib type struct are ignored

  • record CompletionCellClass: glib type struct are ignored

  • record CompletionClass: glib type struct are ignored

  • record CompletionContextClass: glib type struct are ignored

  • record CompletionProposalInterface: glib type struct are ignored

  • record CompletionProviderInterface: glib type struct are ignored

  • record CompletionSnippetsClass: glib type struct are ignored

  • record CompletionWordsClass: glib type struct are ignored

  • record FileClass: glib type struct are ignored

  • record FileLoaderClass: glib type struct are ignored

  • record FileSaverClass: glib type struct are ignored

  • record GutterClass: glib type struct are ignored

  • record GutterLinesClass: glib type struct are ignored

  • record GutterRendererClass: glib type struct are ignored

  • record GutterRendererPixbufClass: glib type struct are ignored

  • record GutterRendererTextClass: glib type struct are ignored

  • record HoverClass: glib type struct are ignored

  • record HoverContextClass: glib type struct are ignored

  • record HoverDisplayClass: glib type struct are ignored

  • record HoverProviderInterface: glib type struct are ignored

  • record IndenterInterface: glib type struct are ignored

  • record LanguageClass: glib type struct are ignored

  • record LanguageManagerClass: glib type struct are ignored

  • record MapClass: glib type struct are ignored

  • record MarkAttributesClass: glib type struct are ignored

  • record MarkClass: glib type struct are ignored

  • record PrintCompositorClass: glib type struct are ignored

  • record RegionClass: glib type struct are ignored

  • record SearchContextClass: glib type struct are ignored

  • record SearchSettingsClass: glib type struct are ignored

  • record SnippetChunkClass: glib type struct are ignored

  • record SnippetClass: glib type struct are ignored

  • record SnippetContextClass: glib type struct are ignored

  • record SnippetManagerClass: glib type struct are ignored

  • record SpaceDrawerClass: glib type struct are ignored

  • record StyleClass: glib type struct are ignored

  • record StyleSchemeChooserButtonClass: glib type struct are ignored

  • record StyleSchemeChooserInterface: glib type struct are ignored

  • record StyleSchemeChooserWidgetClass: glib type struct are ignored

  • record StyleSchemeClass: glib type struct are ignored

  • record StyleSchemeManagerClass: glib type struct are ignored

  • record StyleSchemePreviewClass: glib type struct are ignored

  • record TagClass: glib type struct are ignored

  • record ViewClass: glib type struct are ignored

  • record VimIMContextClass: glib type struct are ignored

Properties

Link copied to clipboard
const val MAJOR_VERSION: Int = 5

Like gtk_source_get_major_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Link copied to clipboard
const val MICRO_VERSION: Int = 1

Like gtk_source_get_micro_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Link copied to clipboard
const val MINOR_VERSION: Int = 14

Like gtk_source_get_minor_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Functions

Link copied to clipboard
fun checkVersion(major: <Error class: unknown class>, minor: <Error class: unknown class>, micro: <Error class: unknown class>): Boolean

Like GTK_SOURCE_CHECK_VERSION, but the check for gtk_source_check_version is at runtime instead of compile time. This is useful for compiling against older versions of GtkSourceView, but using features from newer versions.

Link copied to clipboard
fun encodingGetAll(): <Error class: unknown class>

Gets all encodings.

Link copied to clipboard

Gets the #GtkSourceEncoding for the current locale.

Link copied to clipboard
fun encodingGetDefaultCandidates(): <Error class: unknown class>

Gets the list of default candidate encodings to try when loading a file.

Link copied to clipboard

Gets a #GtkSourceEncoding from a character set such as "UTF-8" or "ISO-8859-1".

Link copied to clipboard
Link copied to clipboard
fun fileLoaderErrorQuark(): <Error class: unknown class>
Link copied to clipboard
fun fileSaverErrorQuark(): <Error class: unknown class>
Link copied to clipboard
fun finalize()

Free the resources allocated by GtkSourceView. For example it unrefs the singleton objects.

Link copied to clipboard
fun getMajorVersion(): <Error class: unknown class>

Returns the major version number of the GtkSourceView library. (e.g. in GtkSourceView version 3.20.0 this is 3.)

Link copied to clipboard
fun getMicroVersion(): <Error class: unknown class>

Returns the micro version number of the GtkSourceView library. (e.g. in GtkSourceView version 3.20.0 this is 0.)

Link copied to clipboard
fun getMinorVersion(): <Error class: unknown class>

Returns the minor version number of the GtkSourceView library. (e.g. in GtkSourceView version 3.20.0 this is 20.)

Link copied to clipboard
fun init()

Initializes the GtkSourceView library (e.g. for the internationalization).

Link copied to clipboard
fun resolveException(error: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
fun schedulerAdd(callback: SchedulerCallback): <Error class: unknown class>

Simplified version of func@scheduler_add_full.

Link copied to clipboard
fun schedulerAddFull(callback: SchedulerCallback): <Error class: unknown class>

Adds a new callback that will be executed as time permits on the main thread.

Link copied to clipboard
fun schedulerRemove(handlerId: <Error class: unknown class>)

Removes a scheduler callback previously registered with func@scheduler_add or func@scheduler_add_full.

Link copied to clipboard

Use this function to escape the following characters: \n, \r, \t and \.

Link copied to clipboard

Use this function before method@SearchSettings.set_search_text, to unescape the following sequences of characters: \n, \r, \t and \\. The purpose is to easily write those characters in a search entry.