PapersView.View.get_selected_text

### Method

# PapersView Viewget_selected_text

#### Declaration [src]

    char*
    pps_view_get_selected_text (
      PpsView* view
    )

#### Description [src]

Returns a pointer to a constant string containing the selected text in the view.

The value returned may be NULL if there is no selected text.

#### Return value

Type: `char*`

The string representing selected text.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.