GtkSource.GutterRendererText¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
- Inherited:
 
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/c  | 
The markup  | 
||
r/w/c  | 
The text  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class GtkSource.GutterRendererText(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new()¶
 - Returns:
 - Return type:
 
Create a new
GtkSource.GutterRendererText.
- measure(text)¶
 - Parameters:
 text (
str) – the text to measure.- Returns:
 - Return type:
 
Measures the text provided using the pango layout used by the
GtkSource.GutterRendererText.
- measure_markup(markup)¶
 - Parameters:
 markup (
str) – the pango markup to measure.- Returns:
 - Return type:
 
Measures the pango markup provided using the pango layout used by the
GtkSource.GutterRendererText.
Property Details¶
- GtkSource.GutterRendererText.props.markup¶
 - 
The markup