gtksource.c.types

C types for gtksource4 library

struct GtkSourceBuffer GtkSourceBufferClass GtkSourceBufferPrivate GtkSourceCompletion GtkSourceCompletionClass GtkSourceCompletionContext GtkSourceCompletionContextClass GtkSourceCompletionContextPrivate GtkSourceCompletionInfo GtkSourceCompletionInfoClass GtkSourceCompletionInfoPrivate GtkSourceCompletionItem GtkSourceCompletionItemClass GtkSourceCompletionItemPrivate GtkSourceCompletionPrivate GtkSourceCompletionProposal GtkSourceCompletionProposalIface GtkSourceCompletionProvider GtkSourceCompletionProviderIface GtkSourceCompletionWords GtkSourceCompletionWordsClass GtkSourceCompletionWordsPrivate GtkSourceEncoding GtkSourceFile GtkSourceFileClass GtkSourceFileLoader GtkSourceFileLoaderClass GtkSourceFileLoaderPrivate GtkSourceFilePrivate GtkSourceFileSaver GtkSourceFileSaverClass GtkSourceFileSaverPrivate GtkSourceGutter GtkSourceGutterClass GtkSourceGutterPrivate GtkSourceGutterRenderer GtkSourceGutterRendererClass GtkSourceGutterRendererPixbuf GtkSourceGutterRendererPixbufClass GtkSourceGutterRendererPixbufPrivate GtkSourceGutterRendererPrivate GtkSourceGutterRendererText GtkSourceGutterRendererTextClass GtkSourceGutterRendererTextPrivate GtkSourceLanguage GtkSourceLanguageClass GtkSourceLanguageManager GtkSourceLanguageManagerClass GtkSourceLanguageManagerPrivate GtkSourceLanguagePrivate GtkSourceMap GtkSourceMapClass GtkSourceMark GtkSourceMarkAttributes GtkSourceMarkAttributesClass GtkSourceMarkAttributesPrivate GtkSourceMarkClass GtkSourceMarkPrivate GtkSourcePrintCompositor GtkSourcePrintCompositorClass GtkSourcePrintCompositorPrivate GtkSourceRegion GtkSourceRegionClass GtkSourceRegionIter GtkSourceSearchContext GtkSourceSearchContextClass GtkSourceSearchContextPrivate GtkSourceSearchSettings GtkSourceSearchSettingsClass GtkSourceSearchSettingsPrivate GtkSourceSpaceDrawer GtkSourceSpaceDrawerClass GtkSourceSpaceDrawerPrivate GtkSourceStyle GtkSourceStyleClass GtkSourceStyleScheme GtkSourceStyleSchemeChooser GtkSourceStyleSchemeChooserButton GtkSourceStyleSchemeChooserButtonClass GtkSourceStyleSchemeChooserInterface GtkSourceStyleSchemeChooserWidget GtkSourceStyleSchemeChooserWidgetClass GtkSourceStyleSchemeClass GtkSourceStyleSchemeManager GtkSourceStyleSchemeManagerClass GtkSourceStyleSchemeManagerPrivate GtkSourceStyleSchemePrivate GtkSourceTag GtkSourceTagClass GtkSourceUndoManager GtkSourceUndoManagerIface GtkSourceView GtkSourceViewClass GtkSourceViewPrivate

Types 112

None = 0no pattern
Grid = 1grid pattern
None = 0there is no bracket to match.
OutOfRange = 1matching a bracket failed because the maximum range was reached.
NotFound = 2a matching bracket was not found.
Found = 3a matching bracket was found.
Lower = 0change case to lowercase.
Upper = 1change case to uppercase.
Toggle = 2toggle case of each character.
Title = 3capitalize each word.
None = 0None.
Interactive = 1Interactive activation. By default, it occurs on each insertion in the #GtkTextBuffer. This can be blocked temporarily with [gtksource.completion.Completion.blockInteractive].
UserRequested = 2User requested activation. By default, it occurs when the user presses <keycombo><keycap>Control</keycap><keycap>space</keycap></keycombo>.

An error code used with GTK_SOURCE_COMPLETION_ERROR in a #GError returned from a completion-related function.

AlreadyBound = 0The #GtkSourceCompletionProvider is already bound to the #GtkSourceCompletion object.
NotBound = 1The #GtkSourceCompletionProvider is not bound to the #GtkSourceCompletion object.
None = 0plain text.
Gzip = 1gzip compression.

An error code used with the GTK_SOURCE_FILE_LOADER_ERROR domain.

TooBig = 0The file is too big.
EncodingAutoDetectionFailed = 1It is not possible to detect the encoding automatically.
ConversionFallback = 2There was an encoding conversion error and it was needed to use a fallback character.

An error code used with the GTK_SOURCE_FILE_SAVER_ERROR domain.

InvalidChars = 0The buffer contains invalid characters.
ExternallyModified = 1The file is externally modified.

Flags to define the behavior of a #GtkSourceFileSaver.

None = 0No flags.
IgnoreInvalidChars = 1Ignore invalid characters.
IgnoreModificationTime = 2Save file despite external modifications.
CreateBackup = 4Create a backup before saving the file.

The alignment mode of the renderer, when a cell spans multiple lines (due to text wrapping).

Cell = 0The full cell.
First = 1The first line.
Last = 2The last line.
Normal = 0normal state
Cursor = 1area in the renderer represents the line on which the insert cursor is currently positioned
Prelit = 2the mouse pointer is currently over the activatable area of the renderer
Selected = 4area in the renderer represents a line in the buffer which contains part of the selection
Lf = 0line feed, used on UNIX.
Cr = 1carriage return, used on Mac.
CrLf = 2carriage return followed by a line feed, used on Windows.
Disabled = 0smart-home-end disabled.
Before = 1move to the first/last non-whitespace character on the first press of the HOME/END keys and to the beginning/end of the line on the second press.
After = 2move to the beginning/end of the line on the first press of the HOME/END keys and to the first/last non-whitespace character on the second press.
Always = 3always move to the first/last non-whitespace character when the HOME/END keys are pressed.
None = 0no flags specified
CaseSensitive = 1case sensitive sort
ReverseOrder = 2sort in reverse order
RemoveDuplicates = 4remove duplicates

#GtkSourceSpaceLocationFlags contains flags for white space locations.

If a line contains only white spaces (no text), the white spaces match both [gtksource.types.SpaceLocationFlags.Leading] and [gtksource.types.SpaceLocationFlags.Trailing].

None = 0No flags.
Leading = 1Leading white spaces on a line, i.e. the indentation.
InsideText = 2White spaces inside a line of text.
Trailing = 4Trailing white spaces on a line.
All = 7White spaces anywhere.

#GtkSourceSpaceTypeFlags contains flags for white space types.

None = 0No flags.
Space = 1Space character.
Tab = 2Tab character.
Newline = 4Line break character. If the #GtkSourceBuffer:implicit-trailing-newline property is true, #GtkSourceSpaceDrawer also draws a line break at the end of the buffer.
Nbsp = 8Non-breaking space character.
All = 15All white spaces.
Lines = - 30the gutter position of the lines renderer
Marks = - 20the gutter position of the marks renderer
Fields
GtkTextBuffer parentInstance
Fields
GtkTextBufferClass parentClass
void function(GtkSourceBuffer * buffer) undo
void function(GtkSourceBuffer * buffer) redo
void function(GtkSourceBuffer * buffer, GtkTextIter * iter, GtkSourceBracketMatchType state) bracketMatched
void *[20] padding
Fields
GObjectClass parentClass
gboolean function(GtkSourceCompletion * completion, GtkSourceCompletionProvider * provider, GtkSourceCompletionProposal * proposal) proposalActivated
void function(GtkSourceCompletion * completion) show
void function(GtkSourceCompletion * completion) hide
void function(GtkSourceCompletion * completion, GtkSourceCompletionContext * context) populateContext
void function(GtkSourceCompletion * completion, GtkScrollStep step, int num) moveCursor
void function(GtkSourceCompletion * completion, GtkScrollStep step, int num) movePage
void function(GtkSourceCompletion * completion) activateProposal
void *[20] padding
Fields
void function(GtkSourceCompletionContext * context) cancelled
void *[10] padding
Fields
GtkWindowClass parentClass
void *[10] padding
Fields
GObjectClass parentClass
void *[10] padding

The virtual function table for #GtkSourceCompletionProposal.

Fields
GTypeInterface parentThe parent interface.
char * function(GtkSourceCompletionProposal * proposal) getLabel
char * function(GtkSourceCompletionProposal * proposal) getMarkup
char * function(GtkSourceCompletionProposal * proposal) getText
GdkPixbuf * function(GtkSourceCompletionProposal * proposal) getIcon
const(char) * function(GtkSourceCompletionProposal * proposal) getIconName
GIcon * function(GtkSourceCompletionProposal * proposal) getGicon
char * function(GtkSourceCompletionProposal * proposal) getInfo
uint function(GtkSourceCompletionProposal * proposal) hash
gboolean function(GtkSourceCompletionProposal * proposal, GtkSourceCompletionProposal * other) equal
void function(GtkSourceCompletionProposal * proposal) changed

The virtual function table for #GtkSourceCompletionProvider.

Fields
GTypeInterface gIfaceThe parent interface.
char * function(GtkSourceCompletionProvider * provider) getName
GdkPixbuf * function(GtkSourceCompletionProvider * provider) getIcon
const(char) * function(GtkSourceCompletionProvider * provider) getIconName
GIcon * function(GtkSourceCompletionProvider * provider) getGicon
void function(GtkSourceCompletionProvider * provider, GtkSourceCompletionContext * context) populate
gboolean function(GtkSourceCompletionProvider * provider, GtkSourceCompletionContext * context) match
GtkWidget * function(GtkSourceCompletionProvider * provider, GtkSourceCompletionProposal * proposal) getInfoWidget
void function(GtkSourceCompletionProvider * provider, GtkSourceCompletionProposal * proposal, GtkSourceCompletionInfo * info) updateInfo
gboolean function(GtkSourceCompletionProvider * provider, GtkSourceCompletionContext * context, GtkSourceCompletionProposal * proposal, GtkTextIter * iter) getStartIter
gboolean function(GtkSourceCompletionProvider * provider, GtkSourceCompletionProposal * proposal, GtkTextIter * iter) activateProposal
int function(GtkSourceCompletionProvider * provider) getInteractiveDelay
int function(GtkSourceCompletionProvider * provider) getPriority
Fields
GObjectClass parentClass
void *[10] padding
Fields
GObjectClass parentClass
void *[10] padding
Fields
GObjectClass parentClass
void *[10] padding
Fields
GObjectClass parentClass
void *[10] padding
Fields
void function(GtkSourceGutterRenderer * renderer, cairo_t * cr, GdkRectangle * backgroundArea, GdkRectangle * cellArea, GtkTextIter * start, GtkTextIter * end) begin
void function(GtkSourceGutterRenderer * renderer, cairo_t * cr, GdkRectangle * backgroundArea, GdkRectangle * cellArea, GtkTextIter * start, GtkTextIter * end, GtkSourceGutterRendererState state) draw
void function(GtkSourceGutterRenderer * renderer) end
void function(GtkSourceGutterRenderer * renderer, GtkTextView * oldView) changeView
void function(GtkSourceGutterRenderer * renderer, GtkTextBuffer * oldBuffer) changeBuffer
gboolean function(GtkSourceGutterRenderer * renderer, GtkTextIter * iter, GdkRectangle * area, GdkEvent * event) queryActivatable
void function(GtkSourceGutterRenderer * renderer, GtkTextIter * iter, GdkRectangle * area, GdkEvent * event) activate
void function(GtkSourceGutterRenderer * renderer) queueDraw
gboolean function(GtkSourceGutterRenderer * renderer, GtkTextIter * iter, GdkRectangle * area, int x, int y, GtkTooltip * tooltip) queryTooltip
void function(GtkSourceGutterRenderer * renderer, GtkTextIter * start, GtkTextIter * end, GtkSourceGutterRendererState state) queryData
void *[20] padding
Fields
void *[10] padding
Fields
void *[10] padding
Fields
GObject parentInstance
Fields
GObjectClass parentClass
void *[10] padding
Fields
GObjectClass parentClass
void *[10] padding
Fields
GtkSourceView parentInstance
Fields
GtkSourceViewClass parentClass
void *[10] padding
Fields
GtkTextMark parentInstance
Fields
GObjectClass parentClass
void *[10] padding
Fields
GtkTextMarkClass parentClass
void *[10] padding
Fields
GObjectClass parentClass
void *[10] padding
Fields
GObject parentInstance
Fields
GObjectClass parentClass
void *[10] padding

#GtkSourceRegionIter is an opaque datatype; ignore all its fields. Initialize the iter with [gtksource.region.Region.getStartRegionIter].

Fields
void * dummy1
uint dummy2
void * dummy3
Fields
GObjectClass parentClass
void *[10] padding
Fields
GObjectClass parentClass
void *[10] padding
Fields
GObjectClass parentClass
void *[20] padding
Fields
void *[10] padding
Fields
GTypeInterface baseInterface
GtkSourceStyleScheme * function(GtkSourceStyleSchemeChooser * chooser) getStyleScheme
void function(GtkSourceStyleSchemeChooser * chooser, GtkSourceStyleScheme * scheme) setStyleScheme
void *[12] padding
Fields
void *[10] padding
Fields
GObjectClass baseClass
void *[10] padding
Fields
GObjectClass parentClass
void *[10] padding
Fields
GtkTextTag parentInstance
Fields
GtkTextTagClass parentClass
void *[10] padding
Fields
gboolean function(GtkSourceUndoManager * manager) canUndo
gboolean function(GtkSourceUndoManager * manager) canRedo
void function(GtkSourceUndoManager * manager) undo
void function(GtkSourceUndoManager * manager) redo
void function(GtkSourceUndoManager * manager) beginNotUndoableAction
void function(GtkSourceUndoManager * manager) endNotUndoableAction
void function(GtkSourceUndoManager * manager) canUndoChanged
void function(GtkSourceUndoManager * manager) canRedoChanged
Fields
GtkTextViewClass parentClass
void function(GtkSourceView * view) undo
void function(GtkSourceView * view) redo
void function(GtkSourceView * view, GtkTextIter * iter, GdkEvent * event) lineMarkActivated
void function(GtkSourceView * view) showCompletion
void function(GtkSourceView * view, gboolean down) moveLines
void function(GtkSourceView * view, int step) moveWords
void *[20] padding
aliasGtkSourceMountOperationFactory = GMountOperation * function(GtkSourceFile * file, void * userdata)