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
int
insert

Parameters

renderer SourceGutterRenderer

a gutter renderer (must inherit from GtkSourceGutterRenderer).

position int

the renderer position.

Return Value

Type: int

TRUE if operation succeeded. Otherwise FALSE. Since 3.0

Meta