Method

GtkTextBufferadd_selection_clipboard

Declaration [src]

void
gtk_text_buffer_add_selection_clipboard (
  GtkTextBuffer* buffer,
  GtkClipboard* clipboard
)

Description [src]

Adds clipboard to the list of clipboards in which the selection contents of buffer are available. In most cases, clipboard will be the GtkClipboard of type GDK_SELECTION_PRIMARY for a view of buffer.

Parameters

clipboard

Type: GtkClipboard

A GtkClipboard.

The data is owned by the caller of the method.