Interface Widget.OnMap

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.OnMap
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when @widget is going to be mapped.
  • Method Details

    • onMap

      void onMap()
      Emitted when @widget is going to be mapped.

      A widget is mapped when the widget is visible (which is controlled with
      [property@Gtk.Widget:visible]) and all its parents up to the toplevel widget
      are also visible.

      The ::map signal can be used to determine whether a widget will be drawn,
      for instance it can resume an animation that was stopped during the
      emission of [signal@Gtk.Widget::unmap].