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] : gdk.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.
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
callback | signal callback delegate or function to connect void callback(gdk.clipboard.Clipboard clipboard, gtk.text_buffer.TextBuffer textBuffer) clipboard the [gdk.clipboard.Clipboard] pasted from (optional) textBuffer the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID