tk_winDialog {GCDkit}R Documentation

tk_winDialog

Description

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

Usage

tk_winDialog(type="ok",message="")

Arguments

type

Character; the type of the dialogue box.

message

Character. The information field of the dialogue box.

Details

This is a platform-independent implementation of the MS Windows-specific function 'winDialog', written using the Tcl/Tk. Possible types of the dialogue box are: ok, okcancel, yesno and yesnocancel.

Value

A character string giving the name of the button pressed (in capitals).

Author(s)

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

See Also

winDialog tkmessageBox tk_winDialogString tcltk-package

Examples

    ## Not run: 
        tk_winDialog(type="yesnocancel",message="Are you sure?")
    
## End(Not run)

[Package GCDkit version 6.1 Index]