![]() |
| ||
| Handle minimize button in Tk Is there any method to handle minimize event in Tk when minimize button is being pressed, like we handle close with onDestroy(). Regards, Joe. |
| ||
| Re: Handle minimize button in Tk I found a method by myself and would like to share this with you. There is a variable 'state' associated with MainWindow in Tk. When Tk window is minimized this variable becomes 'iconic'. By verifying this in a repeat() loop of mainwindow, we can come to know the state of the window. |
| All times are GMT -4. The time now is 2:14 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC