Schnittstelle EntryBufferClass.OnInsertText

Umschließende Klasse:
EntryBufferClass
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface EntryBufferClass.OnInsertText
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    onInsertText(CallbackHandler __self, EntryBuffer buffer, int position, Str chars, int n_chars)
     
  • Methodendetails

    • onInsertText

      int onInsertText(CallbackHandler __self, @Nonnull EntryBuffer buffer, int position, @Nonnull Str chars, int n_chars)
      Parameter:
      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
      Gibt zurück:
      The number of characters actually inserted.