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.

CREATE_BACKUP = 1

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.