From what I can see Id say pay more attention to these wxwidgets pages.
as wx.wx starts everything function-able.
http://docs.wxwidgets.org/trunk/putting this in a button script, a message box pops up
Your passing the function information into a string that gets displayed in a message box
local dir = wx.wxGetHomeDir();
wx.wxMessageBox("Your Home Directory is == " .. tostring(dir) )
Just as a good habit, remember to hit the disable button before you edit a screen set.
I'm just getting started on a new Tab, Having fun