Is there any way to achieve this?
I only test this code below on macOS I'm not sure if the issue is related to the OS:
Code: Select all
local dlg = nil
local function handle_hide()
dlg:hide()
end
function descriptor()
return {
title = "Test",
version = "0.1.0",
}
end
function meta_changed() return false end
function close()
vlc.deactivate()
end
function activate()
local row = 0
dlg = vlc.dialog("Show Tracker")
dlg:add_button("Hide", handle_hide)
end
function deactivate()
end