Clutter.Text.get_selection

### Method

# Clutter Textget_selection

#### Declaration [src]

    gchar*
    clutter_text_get_selection (
      ClutterText* self
    )

#### Description [src]

Retrieves the currently selected text.

Available since: | 1.0

#### Return value

Returns: | `gchar*`
| A newly allocated string containing the currently selected text, or `NULL`. Use `g_free()` to free the returned string.
| The caller of the method takes ownership of the data, and is responsible for freeing it.
| The value is a NUL terminated UTF-8 string.