Interface SignalListItemFactory.OnTeardown

Enclosing class:
SignalListItemFactory
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 SignalListItemFactory.OnTeardown
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when an object is about to be destroyed.
  • Method Details

    • onTeardown

      void onTeardown(@Nonnull Object object)
      Emitted when an object is about to be destroyed.

      It is the last signal ever emitted for this @object.

      This signal is the opposite of the [signal@Gtk.SignalListItemFactory::setup]
      signal and should be used to undo everything done in that signal.
      Parameters:
      object - The `GObject` to tear down