Interface EntryBufferClass.OnInsertText

Enclosing class:
EntryBufferClass
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 EntryBufferClass.OnInsertText
  • Method Details

    • onInsertText

      int onInsertText(CallbackHandler __self, @Nonnull EntryBuffer buffer, int position, @Nonnull Str chars, int n_chars)
      Parameters:
      buffer - a `GtkEntryBuffer`
      position - the position at which to insert text.
      chars - the text to insert into the buffer.
      n_chars - the length of the text in characters, or -1
      Returns:
      The number of characters actually inserted.