📌  相关文章
📜  def move(event): position = (event.x, event.y) event.widget.coords(viewportlabel, position) viewportlabel.bind(&#39;<Button-1> &#39;, move) - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:36.459000             🧑  作者: Mango

代码示例1
def move(event):
    position = (event.x, event.y)
    event.widget.coords(viewportlabel, position)

viewportlabel.bind('', move)