OPX//77
opx_infinitypanel

Events

Last updated on

The local event and page channels of the panel module.

opx:on:panel:action

Client, local. Raised after the owner's callback for every action. Reaches only code inside opx_infinity's client VM.

AddEventHandler('opx:on:panel:action', function(payload) end)

Page channels

All on the interactive surface; every payload carries the panel handle.

ChannelDirectionPayloadMeaning
panel:selectpage → Lua{ handle, item }Item clicked.
panel:hoverpage → Lua{ handle, item }Pointer on an item.
panel:leavepage → Lua{ handle }Pointer left the items.
panel:tabpage → Lua{ handle, tab }Tab clicked.
panel:slidepage → Lua{ handle, id, index, commit }Slider moved.
panel:tilespage → Lua{ handle, slot, from }Grid needs the next window.
panel:actionpage → Lua{ handle, id }Button clicked.
panel:answerpage → Lua{ handle, id, value }Confirm dialog answered.
panel:dismisspage → Lua{ handle }Escape on the page. Ignored while a dialog is up.
focus:setpage → Lua{ owner, focus }Shared; the panel answers for owners panel and panel.confirm.
panel:open, panel:update, panel:items, panel:confirm, panel:closeLua → pagethe parsed view, a patch, { handle, items, done }, a dialog, { handle }Drawing.

On this page