StatusIcon.connectSizeChanged

gulong connectSizeChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == int))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.status_icon.StatusIcon))) && Parameters!T.length < 3)

Connect to SizeChanged signal.

Gets emitted when the size available for the image changes, e.g. because the notification area got resized.

Parameters

callbacksignal callback delegate or function to connect bool callback(int size, gtk.status_icon.StatusIcon statusIcon) size the new size (optional) statusIcon the instance the signal is connected to (optional) Returns true if the icon was updated for the new size. Otherwise, GTK+ will scale the icon as necessary.
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID