Gutter

class Gutter(**properties: Any)

Superclasses: Widget, InitiallyUnowned, Object

Implemented Interfaces: Accessible, Buildable, ConstraintTarget

Constructors:

Gutter(**properties)

Methods

class Gutter
get_view() View
insert(renderer: GutterRenderer, position: int) bool

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:
  • renderer – a gutter renderer (must inherit from GutterRenderer).

  • position – the renderer position.

remove(renderer: GutterRenderer) None
Parameters:

renderer

reorder(renderer: GutterRenderer, position: int) None

Reorders renderer in gutter to new position.

Parameters:
  • renderer – a CellRenderer.

  • position – the new renderer position.

Properties

class Gutter
props.view: View

The View of the gutter.

props.window_type: TextWindowType

The text window type on which the window is placed.