Garry's Mod Wiki

Revision Difference

PANEL:ActionSignal#552750

<function name="ActionSignal" parent="PANEL" type="hook"> <ishook>yes</ishook>⤶ <description> Called whenever a panel receives a command signal from one of its children. This hook is called when using <page>Panel:Command</page>, when clicking a <page>Button</page> with <page>Panel:SetCommand</page> set, and when clicking text within a <page>RichText</page> panel that is marked as click-able. </description> <realm>Client</realm> <args> <arg name="signalName" type="string">The name of the signal, usually the sender of the signal or the command name.</arg> <arg name="signalValue" type="string">The value of the signal, usually a command argument.</arg> </args> </function>