Namespace
GtkSource – 5
A GNOME library that extends GtkTextView
Dependencies
| GLib—2.0 | The base type system library | 
| Browse documentation | |
| GObject—2.0 | The base type system library | 
| Browse documentation | |
| Gio—2.0 | GObject Interfaces and Objects, Networking, IPC, and I/O | 
| Browse documentation | |
| GdkPixbuf—2.0 | Image loading library | 
| Browse documentation | |
| Pango—1.0 | Text shaping and rendering | 
| Browse documentation | |
| Gdk—4.0 | The GTK windowing system abstraction | 
| Browse documentation | |
| Gtk—4.0 | The GTK toolkit | 
| Browse documentation | 
Classes
| Buffer | Subclass of  | 
| Completion | Main Completion Object. | 
| CompletionCell | Widget for single cell of completion proposal. | 
| CompletionContext | The context of a completion. | 
| CompletionSnippets | A  | 
| CompletionWords | A  | 
| File | On-disk representation of a  | 
| FileLoader | Load a file into a GtkSourceBuffer. | 
| FileSaver | Save a  | 
| Gutter | Gutter object for  | 
| GutterLines | Collected information about visible lines. | 
| GutterRenderer | Gutter cell renderer. | 
| GutterRendererPixbuf | Renders a pixbuf in the gutter. | 
| GutterRendererText | Renders text in the gutter. | 
| Hover | Interactive tooltips. | 
| HoverContext | Context for populating  | 
| HoverDisplay | Display for interactive tooltips. | 
| Language | Represents a syntax highlighted language. | 
| LanguageManager | Provides access to  | 
| Map | Widget that displays a map for a specific  | 
| Mark | Mark object for  | 
| MarkAttributes | The source mark attributes object. | 
| PrintCompositor | Compose a  | 
| Region | Region utility. | 
| SearchContext | Search context. | 
| SearchSettings | Search settings. | 
| Snippet | Quick insertion code snippets. | 
| SnippetChunk | A chunk of text within the source snippet. | 
| SnippetContext | Context for expanding  | 
| SnippetManager | Provides access to  | 
| SpaceDrawer | Represent white space characters with symbols. | 
| Style | Represents a style. | 
| StyleScheme | Controls the appearance of  | 
| StyleSchemeChooserButton | A button to launch a style scheme selection dialog. | 
| StyleSchemeChooserWidget | A widget for choosing style schemes. | 
| StyleSchemeManager | Provides access to  | 
| StyleSchemePreview | A preview widget for  since: 5.4 | 
| Tag | A tag that can be applied to text in a  | 
| View | Subclass of  | 
| VimIMContext | Vim emulation. since: 5.4 | 
Interfaces
| CompletionProposal | Interface for completion proposals. | 
| CompletionProvider | Completion provider interface. | 
| HoverProvider | Interface to populate interactive tooltips. | 
| Indenter | Auto-indentation interface. | 
| StyleSchemeChooser | Interface implemented by widgets for choosing style schemes. | 
Structs
| Encoding | Character encoding. | 
| RegionIter | An opaque datatype. | 
Enumerations
| BackgroundPatternType | |
| BracketMatchType | |
| ChangeCaseType | |
| CompletionActivation | |
| CompletionColumn | |
| CompressionType | |
| GutterRendererAlignmentMode | The alignment mode of the renderer, when a cell spans multiple lines (due to text wrapping). | 
| NewlineType | |
| SmartHomeEndType | |
| ViewGutterPosition | 
Bitfields
| FileSaverFlags | Flags to define the behavior of a  | 
| SortFlags | |
| SpaceLocationFlags | 
 | 
| SpaceTypeFlags | 
 | 
Error Domains
| FileLoaderError | An error code used with the  | 
| FileSaverError | An error code used with the  | 
Callbacks
| MountOperationFactory | Type definition for a function that will be called to create a
 | 
| SchedulerCallback | This function is called incrementally to process additional background work.
A deadline is provided which can be checked using  since: 5.2 | 
Functions
| check_version | 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. | 
| finalize | Free the resources allocated by GtkSourceView. For example it unrefs the singleton objects. | 
| get_major_version | Returns the major version number of the GtkSourceView library. (e.g. in GtkSourceView version 3.20.0 this is 3.). | 
| get_micro_version | Returns the micro version number of the GtkSourceView library. (e.g. in GtkSourceView version 3.20.0 this is 0.). | 
| get_minor_version | Returns the minor version number of the GtkSourceView library. (e.g. in GtkSourceView version 3.20.0 this is 20.). | 
| init | Initializes the GtkSourceView library (e.g. for the internationalization). | 
| scheduler_add | Simplified version of  since: 5.2 | 
| scheduler_add_full | Adds a new callback that will be executed as time permits on the main thread. since: 5.2 | 
| scheduler_remove | Removes a scheduler callback previously registered with
 since: 5.2 | 
| utils_escape_search_text | Use this function to escape the following characters:  | 
| utils_unescape_search_text | Use this function before  | 
Function Macros
| CHECK_VERSION | Macro to test the version of GtkSourceView being compiled against. | 
Constants
| MAJOR_VERSION | 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. | 
| MICRO_VERSION | 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. | 
| MINOR_VERSION | 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. |