Nicely done.
One thing which I dont like is that you have to register these drag functions inside buttons or in the on_click function. It would be more useful and dynamic if you would register the panels like that with different modes and or additional panels (groups of panels). So, even if you have to write all the button-drag stuff in the button/panel definition you could leave out the registering and vice versa.
Try to improve it!
Last edited by HeelX; 01/07/07 14:38.