Paintable.connectInvalidateSize

gulong connectInvalidateSize(T)(T callback, Flag!"After" after = No.After)

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.

Parameters

callbacksignal callback delegate or function to connect void callback(gdk.paintable.Paintable paintable) paintable the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID