(self)
| 88 | return () |
| 89 | |
| 90 | def update_position(self): |
| 91 | self.style['position']='absolute' |
| 92 | self.style['left']=gui.to_pix(gui.from_pix(self.refWidget.style['left']) + gui.from_pix(self.refWidget.style['width']) - gui.from_pix(self.style['width'])/2) |
| 93 | self.style['top']=gui.to_pix(gui.from_pix(self.refWidget.style['top']) + gui.from_pix(self.refWidget.style['height']) - gui.from_pix(self.style['height'])/2) |
| 94 | |
| 95 | |
| 96 |