3 ms·
> It takes fifty lines to create a dialogue with a button. In Tk/Tcl it takes one line if you want a simple dialog with a button: tk_dialog .d1 "Dialog
by pwg 8y ago
> It takes fifty lines to create a dialogue with a button.
In Tk/Tcl it takes one line if you want a simple dialog with a button:
tk_dialog .d1 "Dialog Title" "Dialog Text" "" "" "Button Text"
Creating your own custom dialog takes a few more lines (obviously), but nothing close to fifty lines for just some text and a single button.