Method

Gtk.TextBuffer.get_selection_content

Declaration [src]

GdkContentProvider*
gtk_text_buffer_get_selection_content (
  GtkTextBuffer* buffer
)

Description [src]

Get a content provider for this buffer.

It can be used to make the content of buffer available in a GdkClipboard, see gdk_clipboard_set_content().

Return value

Returns: GdkContentProvider*

a new GdkContentProvider.

Ownership of the data is transferred to the caller