Interface Editable.OnDeleteText

Enclosing class:
Editable
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 Editable.OnDeleteText
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onDeleteText(int start_pos, int end_pos)
    Emitted when text is deleted from the widget by the user.
  • Method Details

    • onDeleteText

      void onDeleteText(int start_pos, int end_pos)
      Emitted when text is deleted from the widget by the user.

      The default handler for this signal will normally be responsible for
      deleting the text, so by connecting to this signal and then stopping
      the signal with g_signal_stop_emission(), it is possible to modify the
      range of deleted text, or prevent it from being deleted entirely.

      The @start_pos and @end_pos parameters are interpreted as for
      [method@Gtk.Editable.delete_text].
      Parameters:
      start_pos - the starting position
      end_pos - the end position