Paintable.connectInvalidateSize

Connect to InvalidateSize signal.

Emitted when the intrinsic size of the paintable changes.

This means the values reported by at least one of gdk.paintable.Paintable.getIntrinsicWidth, gdk.paintable.Paintable.getIntrinsicHeight or gdk.paintable.Paintable.getIntrinsicAspectRatio

has changed.

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

interface Paintable
ulong
connectInvalidateSize
(
T
)
(,
Flag!"After" after = No.After
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gdk.paintable.Paintable paintable)

paintable the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID