GetTriggerWidget

comment

Returns the target widget (that caused the trigger-event) inside a trigger action. Otherwise returns null.

note

Only works in triggers that operate on actual widget type, like TriggerRegisterDeathEvent.

patch

1.00

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
widget
Source code
constant native GetTriggerWidget takes nothing returns widget