Exemplo n.º 1
0
 def double_click(self, event: tk.Event):
     selected = self.get_selected(event)
     if selected is not None and selected in self.shapes:
         shape = self.shapes[selected]
         dialog = ShapeDialog(self.app, shape)
         dialog.show()
Exemplo n.º 2
0
 def shape_complete(self, x: float, y: float) -> None:
     self.canvas.organize()
     s = ShapeDialog(self.app, self)
     s.show()
Exemplo n.º 3
0
 def shape_complete(self, x, y):
     for component in tags.ABOVE_SHAPE:
         self.canvas.tag_raise(component)
     s = ShapeDialog(self.app, self.app, self)
     s.show()