Calling the tk_dialog without the button names doesn't work as it gives syntax error. But that's fine as it's not my major requirement to hide button.
I have another issue:
After I display the tk_dialog, I want it to be destroyed after some time but this time interval is not defined.
I want...
I created a message box with command:
tk_messageBox -type ok -icon warning -message "Error occured" -title "Configuration file error" -parent .
Is there a way to destroy this message box after a certain time interval without user intervention?
I used the following code to add icon image to tk window:
set iconimage [image create photo -file [pwd]/logo.GIF]
wm iconphoto . -default $iconimage
On some of the machines the icon image is displayed fine. However on other machines, blank space is displayed in place of the icon image.
Is it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.