I am buiding a GUI where I have a wxribbon with few pages and on each page, I have few panels with buttons on them. What I want is to allow users to be able to drag panels on a page to reorder them according to their need. I am a newbie to wxpython and I have no idea how to do it. I just need some as guidance as to how to do this. Any help would be great. Thanks. I have attached a simple ribbon code with panels.
self._ribbon = RB.RibbonBar(self, wx.ID_ANY, size = (1368,350), style = RB.RIBBON_BAR_DEFAULT_STYLE | RB.RIBBON_BAR_ALWAYS_SHOW_TABS)
workpiece = RB.RibbonPage(self._ribbon, WORKPIECE, "Workpiece", Bitmap("eye.xpm"))
panel1 = RB.RibbonPanel(workpiece,wx.ID_ANY,"New Block",Bitmap("selection_panel.xpm"))
panel2 = RB.RibbonPanel(workpiece,wx.ID_ANY,"New Block",Bitmap("selection_panel.xpm"))
panel3 = RB.RibbonPanel(workpiece,wx.ID_ANY,"New Block",Bitmap("selection_panel.xpm"))