Interface

Gdk-4.0GdkPaintableSignalSignatures

interface SignalSignatures {
    "invalidate-contents": () => void;
    "invalidate-size": () => void;
}

Hierarchy (View Summary)

Index
"invalidate-contents": () => void

Emitted when the contents of the paintable change.

Examples for such an event would be videos changing to the next frame or the icon theme for an icon changing.

"invalidate-size": () => void

Emitted when the intrinsic size of the paintable changes.

This means the values reported by at least one of Gdk.Paintable.get_intrinsic_width, Gdk.Paintable.get_intrinsic_height or 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.