Revision Difference
dragndrop.HandleDroppedInGame#561179
<function name="HandleDroppedInGame" parent="dragndrop" type="libraryfunc">
<description>If returns true, calls <page>dragndrop.StopDragging</page> in <page>dragndrop.Drop</page>. Seems to be broken and does nothing. Is it for override?</description>
<description>Allows you to capture the panel that was dropped into the game (dropped onto the root panel). This function is meant to be overridden.</description>
<realm>Client and Menu</realm>
<file line="29-L35">lua/includes/extensions/client/panel/dragdrop.lua</file>
</function>
⤶
⤶
<example>⤶
<code>⤶
dragndrop.HandleDroppedInGame = function()⤶
print("This panel was dropped inside the game:", dragndrop.m_DraggingMain)⤶
end⤶
</code>⤶
</example>