insert


Description:

[ Version ( since = "3.0" ) ]
public bool insert (SourceGutterRenderer renderer, int position)

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.

Parameters:

this

a SourceGutter.

renderer

a gutter renderer (must inherit from SourceGutterRenderer).

position

the renderer position.

Returns:

true if operation succeeded. Otherwise false.




2022 vala-language.org