Garry's Mod Wiki

Revision Difference

Panel:OnCallback#552874

<function name="OnCallback" parent="DHTML" type="panelhook"> <ishook>yes</ishook>⤶ <description>Called by the engine when a callback function is called.</description> <realm>Client</realm> <file line="107-L121">lua/vgui/dhtml.lua</file> <args> <arg name="library" type="string">Library name of the JS function that was called.</arg> <arg name="name" type="string">Name of the JS function that was called.</arg> <arg name="arguments" type="table">Table containing all arguments passed to the JS function.</arg> </args> <rets> <ret name="" type="boolean">Return `true` to suppress default engine action.</ret> </rets> </function>