Interface IMContext.OnRetrieveSurrounding

Enclosing class:
IMContext
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 IMContext.OnRetrieveSurrounding
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The ::retrieve-surrounding signal is emitted when the input method
    requires the context surrounding the cursor.
  • Method Details

    • onRetrieveSurrounding

      boolean onRetrieveSurrounding()
      The ::retrieve-surrounding signal is emitted when the input method
      requires the context surrounding the cursor.

      The callback should set the input method surrounding context by
      calling the [method@Gtk.IMContext.set_surrounding] method.
      Returns:
      %TRUE if the signal was handled.