Declaration [src]

gtk_text_iter_get_attributes (
  const GtkTextIter* iter,
  GtkTextAttributes* values

Description [src]

Computes the effect of any tags applied to this spot in the text. The values parameter should be initialized to the default settings you wish to use if no tags are in effect. You’d typically obtain the defaults from gtk_text_view_get_default_attributes().

gtk_text_iter_get_attributes() will modify values, applying the effects of any tags present at iter. If any tags affected values, the function returns TRUE.



Type: GtkTextAttributes

A GtkTextAttributes to be filled in.

The argument will be set by the function.
The returned data is owned by the instance.

Return value

Type: gboolean

TRUE if values was modified.