I'm looking for a predefined tk window like tk_messageBox where a user can input a string in a white line. I couldn't find one in the Tcl / Tk man page (https://www.tcl.tk/man/tcl/TkCmd/contents.htm)...
I'm looking for a predefined tk window like tk_messageBox where a user can input a string in a white line. I couldn't find one in the Tcl / Tk man page (https://www.tcl.tk/man/tcl/TkCmd/contents.htm)...
There's no predefined popup text-entry window. You'll need to make one yourself with a
toplevel
, anentry
and (probably) at least onebutton
. Maybe alabel
too.Here's the simplest thing that could work at all:
You will probably need to customise it further…