TextBuffer.pasteClipboard

Pastes the contents of a clipboard at the insertion point, or at override_location. (Note: pasting is asynchronous, that is, we'll ask for the paste data and return, and at some point later after the main loop runs, the paste data will be inserted.)

class TextBuffer
void
pasteClipboard

Parameters

clipboard Clipboard

the GtkClipboard to paste from

overrideLocation TextIter

location to insert pasted text, or NULL for at the cursor. [allow-none]

defaultEditable int

whether the buffer is editable by default

Meta