Flags

Details

class Tepl.FileSaverFlags(value)

Bases: GObject.GFlags

Flags to define the behavior of a Tepl.FileSaver.

New in version 1.0.

NONE = 0

No flags.

IGNORE_INVALID_CHARS = 1

Ignore invalid characters.

IGNORE_MODIFICATION_TIME = 2

Save file despite external modifications.

CREATE_BACKUP = 4

Create a backup before saving the file.

class Tepl.GutterRendererFoldsState(value)

Bases: GObject.GFlags

The folding state at a certain line in the Gtk.TextBuffer.

Since Tepl.GutterRendererFolds has a flat view of the folding tree, some states can be combined; for example, Tepl.GutterRendererFoldsState.END and Tepl.GutterRendererFoldsState.CONTINUE.

New in version 1.0.

NONE = 0

No code folding here.

START_FOLDED = 1

Start of currently folded fold region.

START_OPENED = 2

Start of currently opened fold region.

CONTINUE = 4

Fold region continues.

END = 8

End of fold region.