Enums¶
Details¶
- class GtkSource.BackgroundPatternType(value)¶
Bases:
GObject.GEnum
- NONE = 0¶
no pattern
- GRID = 1¶
grid pattern
- class GtkSource.BracketMatchType(value)¶
Bases:
GObject.GEnum
- NONE = 0¶
there is no bracket to match.
- OUT_OF_RANGE = 1¶
matching a bracket failed because the maximum range was reached.
- NOT_FOUND = 2¶
a matching bracket was not found.
- FOUND = 3¶
a matching bracket was found.
- class GtkSource.ChangeCaseType(value)¶
Bases:
GObject.GEnum
- LOWER = 0¶
change case to lowercase.
- UPPER = 1¶
change case to uppercase.
- TOGGLE = 2¶
toggle case of each character.
- TITLE = 3¶
capitalize each word.
- class GtkSource.CompletionActivation(value)¶
Bases:
GObject.GEnum
- NONE = 0¶
- INTERACTIVE = 1¶
- USER_REQUESTED = 2¶
- class GtkSource.CompletionColumn(value)¶
Bases:
GObject.GEnum
- ICON = 0¶
- BEFORE = 1¶
- TYPED_TEXT = 2¶
- AFTER = 3¶
- COMMENT = 4¶
- DETAILS = 5¶
- class GtkSource.CompressionType(value)¶
Bases:
GObject.GEnum
- NONE = 0¶
plain text.
- GZIP = 1¶
gzip compression.
- class GtkSource.FileLoaderError(value)¶
Bases:
GObject.GEnum
An error code used with the %GTK_SOURCE_FILE_LOADER_ERROR domain.
- TOO_BIG = 0¶
The file is too big.
- ENCODING_AUTO_DETECTION_FAILED = 1¶
It is not possible to detect the encoding automatically.
- CONVERSION_FALLBACK = 2¶
There was an encoding conversion error and it was needed to use a fallback character.
- class GtkSource.FileSaverError(value)¶
Bases:
GObject.GEnum
An error code used with the %GTK_SOURCE_FILE_SAVER_ERROR domain.
- INVALID_CHARS = 0¶
The buffer contains invalid characters.
- EXTERNALLY_MODIFIED = 1¶
The file is externally modified.
- class GtkSource.GutterRendererAlignmentMode(value)¶
Bases:
GObject.GEnum
The alignment mode of the renderer, when a cell spans multiple lines (due to text wrapping).
- CELL = 0¶
The full cell.
- FIRST = 1¶
The first line.
- LAST = 2¶
The last line.
- class GtkSource.NewlineType(value)¶
Bases:
GObject.GEnum
- LF = 0¶
line feed, used on UNIX.
- CR = 1¶
carriage return, used on Mac.
- CR_LF = 2¶
carriage return followed by a line feed, used on Windows.
- class GtkSource.SmartHomeEndType(value)¶
Bases:
GObject.GEnum
- DISABLED = 0¶
smart-home-end disabled.
- BEFORE = 1¶
move 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 = 2¶
move 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 = 3¶
always move to the first/last non-whitespace character when the HOME/END keys are pressed.
- class GtkSource.ViewGutterPosition(value)¶
Bases:
GObject.GEnum
- MARKS = -20¶
the gutter position of the marks renderer
- LINES = -30¶
the gutter position of the lines renderer