Just make them intercept mouseclicks, and obviously assign a OnClick function to them. Something like...
OnClick = function(self, button)
if button == "LeftButton" then
Skada:ToggleWindow()
end
end,
|
The code in red. This is my Skada panel toggle.
Edited: Just edited to the needed stuffs.