Struct
GtkTextAttributes
Description [src]
struct GtkTextAttributes {
  GtkTextAppearance appearance;
  GtkJustification justification;
  GtkTextDirection direction;
  PangoFontDescription* font;
  gdouble font_scale;
  gint left_margin;
  gint right_margin;
  gint indent;
  gint pixels_above_lines;
  gint pixels_below_lines;
  gint pixels_inside_wrap;
  PangoTabArray* tabs;
  GtkWrapMode wrap_mode;
  PangoLanguage* language;
  guint invisible : 1;
  guint bg_full_height : 1;
  guint editable : 1;
  guint no_fallback : 1;
  gint letter_spacing;
}
Using GtkTextAttributes directly should rarely be necessary.
It’s primarily useful with gtk_text_iter_get_attributes().
As with most GTK+ structs, the fields in this struct should only
be read, never modified directly.
Structure members
- appearance:- GtkTextAppearance
- GtkTextAppearancefor text.
- justification:- GtkJustification
- GtkJustificationfor text.
- direction:- GtkTextDirection
- GtkTextDirectionfor text.
- font:- PangoFontDescription
- PangoFontDescriptionfor text.
- font_scale:- gdouble
- Font scale factor. 
- left_margin:- gint
- Width of the left margin in pixels. 
- right_margin:- gint
- Width of the right margin in pixels. 
- indent:- gint
- Amount to indent the paragraph, in pixels. 
- pixels_above_lines:- gint
- Pixels of blank space above paragraphs. 
- pixels_below_lines:- gint
- Pixels of blank space below paragraphs. 
- pixels_inside_wrap:- gint
- Pixels of blank space between wrapped lines in a paragraph. 
- tabs:- PangoTabArray
- Custom - PangoTabArrayfor this text.
- wrap_mode:- GtkWrapMode
- GtkWrapModefor text.
- language:- PangoLanguage
- PangoLanguagefor text.
- invisible:- guint
- Hide the text. 
- bg_full_height:- guint
- Background is fit to full line height rather than baseline +/- ascent/descent (font height). 
- editable:- guint
- Can edit this text. 
- no_fallback:- guint
- Whether to disable font fallback. 
- letter_spacing:- gint
- Extra space to insert between graphemes, in Pango units. 
Constructors
gtk_text_attributes_new
Creates a GtkTextAttributes, which describes
a set of properties on some text.
Instance methods
gtk_text_attributes_copy_values
Copies the values from src to dest so that dest has
the same values as src. Frees existing values in dest.
gtk_text_attributes_unref
Decrements the reference count on values, freeing the structure
if the reference count reaches 0.