TextBuffer.connectPasteDone

gulong connectPasteDone(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.clipboard.Clipboard))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.text_buffer.TextBuffer))) && Parameters!T.length < 3)

Connect to PasteDone signal.

The paste-done signal is emitted after paste operation has been completed. This is useful to properly scroll the view to the end of the pasted text. See [gtk.text_buffer.TextBuffer.pasteClipboard] for more details.

Parameters

callbacksignal callback delegate or function to connect void callback(gtk.clipboard.Clipboard clipboard, gtk.text_buffer.TextBuffer textBuffer) clipboard the #GtkClipboard pasted from (optional) textBuffer the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID