Gtk.TextIter.get_visible_slice

### Method

# Gtk TextIterget_visible_slice

#### Declaration [src]

    char*
    gtk_text_iter_get_visible_slice (
      const GtkTextIter* start,
      const GtkTextIter* end
    )

#### Description [src]

Returns visible text in the given range.

Like `gtk_text_iter_get_slice()`, but invisible text is not included. Invisible text is usually invisible because a `GtkTextTag` with the “invisible” attribute turned on has been applied to it.

#### Parameters

`end` | `GtkTextIter`
| Iterator at end of range.
| The data is owned by the caller of the function.

#### Return value

Returns: | `utf8`
| Slice of text from the buffer.
| The caller of the method takes ownership of the data, and is responsible for freeing it.
| The string is a NUL terminated UTF-8 string.