Interface TextBuffer.OnPasteDone

Enclosing class:
TextBuffer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TextBuffer.OnPasteDone
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted after paste operation has been completed.
  • Method Details

    • onPasteDone

      void onPasteDone(@Nonnull Clipboard clipboard)
      Emitted after paste operation has been completed.

      This is useful to properly scroll the view to the end
      of the pasted text. See [method@Gtk.TextBuffer.paste_clipboard]
      for more details.
      Parameters:
      clipboard - the `GdkClipboard` pasted from