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)

Vojtech Janousek, vojtech.janousek@geology.cz

See Also

winDialog tkmessageBox tk_winDialogString tcltk-package

Examples

     tk_winDialog(type="yesnocancel",message="Are you sure?")

[Package GCDkit version 4.1 Index]