Interface Paintable.OnInvalidateSize

Enclosing class:
Paintable
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 Paintable.OnInvalidateSize
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when the intrinsic size of the @paintable changes.
  • Method Details

    • onInvalidateSize

      void onInvalidateSize()
      Emitted when the intrinsic size of the @paintable changes.

      This means the values reported by at least one of
      [method@Gdk.Paintable.get_intrinsic_width],
      [method@Gdk.Paintable.get_intrinsic_height] or
      [method@Gdk.Paintable.get_intrinsic_aspect_ratio]
      has changed.

      Examples for such an event would be a paintable displaying
      the contents of a toplevel surface being resized.