Custom events in Tkinter

前端 未结 2 472
说谎
说谎 2021-01-15 15:00

I am new in Tkinter.
And I want to know is there any way to catch some custom events for widgets,
for example catch on_packed event after widget.pack()

2条回答
  •  感情败类
    2021-01-15 15:41

    The list of possible event types is far more extensive than the few you typically see used in example, such as Key, Button, Motion, and Mousewheel. Here is a partial list. It appears that packing should generate a Map event.

提交回复
热议问题