Panel.parent readonly property
Get the parent widget that owns the Panel.
Example
local ui = require "ui"
-- create a fixed Panel
local win = ui.Window("Panel.constructor() sample", "fixed", 320, 200)
-- create a Panel at position at the top left corner, sized 100x100 pixels
local panel = ui.Panel(win, 0, 0, 100, 100)
panel.border = true
panel:center()
win:status("Panel's parent is "..tostring(panel.parent))
ui.run(win):wait()