Detect if user has clicked the 'maximized' button
问题 I would like to detect if user has clicked the 'maximize' button: In tkInter of course, but I don't know how. I have tried searching through StackOverflow, The Web & tkInter documents(mostly effbot's tkinterbook), but have not found anything related to what I am trying to get. 回答1: There is a good way to does it using .bind() , so let's get started! As we know, we can maximize the window using the command .state('zoomed') . root.state('zoomed') And we can get whatever window event by .bind("