tk_winDialogString {GCDkit}R Documentation

tk_winDialogString

Description

Tcl/Tk replacement for the MS Windows-specific function 'winDialogString'.

Usage

tk_winDialogString(message="Enter variable",default="",returnValOnCancel=NULL)

Arguments

message

Character. The information field of the dialog box.

default

Character; the default string.

returnValOnCancel

Character; a value to be returned when the dialogue is canceled.

Details

This is a platform-independent implementation of the MS Windows-specific function 'winDialogString', written using the Tcl/Tk.

Value

A character string giving the contents of the text box when Ok was pressed, or value specified by 'returnValOnCancel' if Cancel was pressed.

Author(s)

Vojtěch Janoušek, vojtech.janousek@geology.cz

See Also

winDialogString tkentry tk_winDialog tcltk-package

Examples

    ## Not run: 
        tk_winDialogString(message="Enter x value",default="15.7")
    
## End(Not run)

[Package GCDkit version 6.1 Index]