StatusIcon.connectSizeChanged

Connect to SizeChanged signal.

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

class StatusIcon
gulong
connectSizeChanged
(
T
)
(,
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
)

Parameters

callback T

signal 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.

after Flag!"After"

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

Return Value

Type: gulong

Signal ID