Tk Library Source Code

Documentation
Login
Bounty program for improvements to Tcl and certain Tcl packages.


[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

NAME

getstring - A string dialog

Table Of Contents

SYNOPSIS

package require Tcl 8.4
package require getstring ?0.1?

::getstring::tk_getString pathName variable text ?options?

DESCRIPTION

This package provides a dialog which consists of an Entry, OK, and Cancel buttons.

EXAMPLE

package require getstring
namespace import getstring::*

if {[tk_getString .gs text "Feed me a string please:"]} {
    puts "user entered: $text"
}

Bugs, Ideas, Feedback

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. Please also report any ideas for enhancements you may have for either package and/or documentation.

KEYWORDS

dialog, entry, string