TextBuffer.getSelectionContent
gdk.content_provider.ContentProvider getSelectionContent()Get a content provider for this buffer.
It can be used to make the content of buffer available in a [gdk.clipboard.Clipboard], see [gdk.clipboard.Clipboard.setContent].
Returns
a new [gdk.content_provider.ContentProvider].