getstring(3tk) | A dialog which prompts for a string input | getstring(3tk) |
getstring - A string dialog
package require Tcl 8.4
package require getstring ?0.1?
::getstring::tk_getString pathName variable text ?options?
This package provides a dialog which consists of an Entry, OK, and Cancel buttons.
package require getstring namespace import getstring::* if {[tk_getString .gs text "Feed me a string please:"]} {
puts "user entered: $text" }
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category getstring of the Tklib Trackers [http://core.tcl.tk/tklib/reportlist]. Please also report any ideas for enhancements you may have for either package and/or documentation.
dialog, entry, string
0.1 | getstring |