(self, pane, x, y)
| 184 | self.append(self.dragHelper) |
| 185 | |
| 186 | def add_pane(self, pane, x, y): |
| 187 | pane.style['left'] = gui.to_pix(x) |
| 188 | pane.style['top'] = gui.to_pix(y) |
| 189 | pane.onclick.do(self.on_pane_selection) |
| 190 | pane.style['position'] = 'absolute' |
| 191 | self.append(pane) |
| 192 | self.on_pane_selection(pane) |
| 193 | |
| 194 | def on_pane_selection(self, emitter): |
| 195 | print('on pane selection') |
no test coverage detected