get_selection_content


Description:

public ContentProvider get_selection_content ()

Get a content provider for this buffer.

It can be used to make the content of this available in a `GdkClipboard`, see [ method@Gdk.Clipboard.set_content].

Parameters:

this

a `GtkTextBuffer`

Returns:

a new `GdkContentProvider`.