GutterRendererText#
Superclasses: GutterRenderer
, Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
Renders text in the gutter.
A GtkSourceGutterRendererText
can be used to render text in a cell of
Gutter
.
Constructors#
- class GutterRendererText
- classmethod new() GutterRenderer #
Create a new
GutterRendererText
.
Methods#
- class GutterRendererText
- measure(text: str) Tuple[int, int] #
Measures the text provided using the pango layout used by the
GutterRendererText
.- Parameters:
text – the text to measure.
Properties#
Fields#
- class GutterRendererText
- parent_instance#