St.Clipboard.get_text

### Method

# St Clipboardget_text

#### Declaration [src]

    void
    st_clipboard_get_text (
      StClipboard* clipboard,
      StClipboardType type,
      StClipboardCallbackFunc callback,
      gpointer user_data
    )

#### Description [src]

Request the data from the clipboard in text form. `callback` is executed when the data is retrieved.

#### Parameters

`type`

  Type: `StClipboardType`

  The type of clipboard data you want.

`callback`

  Type: `StClipboardCallbackFunc`

  Function to be called when the text is retrieved.

`user_data`

  Type: `gpointer`

  Data to be passed to the callback.

  The argument can be `NULL`.
  The data is owned by the caller of the method.