Schnittstelle Completion.OnCompletionFunc

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

@FunctionalInterface public static interface Completion.OnCompletionFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Specifies the type of the function passed to g_completion_new().
  • Methodendetails

    • onCompletionFunc

      Str onCompletionFunc(CallbackHandler __self, @Nullable Pointer item)
      Specifies the type of the function passed to g_completion_new(). It
      should return the string corresponding to the given target item.
      This is used when you use data structures as #GCompletion items.
      Parameter:
      item - the completion item.
      Gibt zurück:
      the string corresponding to the item.