SourceGutter.insert

Insert renderer into the gutter. If renderer is yet unowned then gutter claims its ownership. Otherwise just increases renderer's reference count. renderer cannot be already inserted to another gutter.

class SourceGutter
bool
insert

Parameters

renderer SourceGutterRenderer

a gutter renderer (must inherit from gsv.SourceGutterRenderer).

position int

the renderer position.

Return Value

Type: bool

TRUE if operation succeeded. Otherwise FALSE.

Meta