GtkTextAttributes

Using #GtkTextAttributes directly should rarely be necessary. It’s primarily useful with gtk.text_iter.TextIter.getAttributes. As with most GTK+ structs, the fields in this struct should only be read, never modified directly.

Members

Unions

__anonymous
union __anonymous

Variables

appearance
GtkTextAppearance appearance;

#GtkTextAppearance for text.

bgFullHeight
uint bgFullHeight;

Background is fit to full line height rather than baseline +/- ascent/descent (font height).

direction
GtkTextDirection direction;

#GtkTextDirection for text.

editable
uint editable;

Can edit this text.

font
PangoFontDescription* font;

#PangoFontDescription for text.

fontScale
double fontScale;

Font scale factor.

indent
int indent;

Amount to indent the paragraph, in pixels.

invisible
uint invisible;

Hide the text.

justification
GtkJustification justification;

#GtkJustification for text.

language
PangoLanguage* language;

#PangoLanguage for text.

leftMargin
int leftMargin;

Width of the left margin in pixels.

letterSpacing
int letterSpacing;

Extra space to insert between graphemes, in Pango units

noFallback
uint noFallback;

Whether to disable font fallback.

pgBgColor
GdkColor* pgBgColor;
pgBgRgba
GdkRGBA* pgBgRgba;
pixelsAboveLines
int pixelsAboveLines;

Pixels of blank space above paragraphs.

pixelsBelowLines
int pixelsBelowLines;

Pixels of blank space below paragraphs.

pixelsInsideWrap
int pixelsInsideWrap;

Pixels of blank space between wrapped lines in a paragraph.

refcount
uint refcount;
rightMargin
int rightMargin;

Width of the right margin in pixels.

tabs
PangoTabArray* tabs;

Custom #PangoTabArray for this text.

wrapMode
GtkWrapMode wrapMode;

#GtkWrapMode for text.