Interface Widget.OnUnrealize

Enclosing class:
Widget
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 Widget.OnUnrealize
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when the `GdkSurface` associated with @widget is destroyed.
  • Method Details

    • onUnrealize

      void onUnrealize()
      Emitted when the `GdkSurface` associated with @widget is destroyed.

      This means that [method@Gtk.Widget.unrealize] has been called
      or the widget has been unmapped (that is, it is going to be hidden).