ck_dialog(n)		     Ck Built-In Commands		  ck_dialog(n)



______________________________________________________________________________

NAME
       ck_dialog - Create dialog and wait for response

SYNOPSIS
       ck_dialog window title text string string ...
_________________________________________________________________


DESCRIPTION
       This  procedure	is  part  of  the  Ck  script  library.	 Its arguments
       describe a dialog box:

       window Name of top-level window to use for dialog.  Any existing window
	      by this name is destroyed.

       title  Text to appear in the window's top line as title for the dialog.

       text   Message to appear in the top portion of the dialog box.

       string There  will  be  one  button  for each of these arguments.  Each
	      string specifies text to display in a button, in order from left
	      to right.

       After creating a dialog box, ck_dialog waits for the user to select one
       of the buttons either by clicking on the button with the	 mouse	or  by
       typing  return  or  space to invoke the focus button (if any).  Then it
       returns the index of the selected button:  0 for the leftmost button, 1
       for the button next to it, and so on.


KEYWORDS
       bitmap, dialog



Ck				      8.0			  ck_dialog(n)
