/* AlertT -- test file for Alert widget */

#include <stdio.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <Xfwf/Alert.h>

main(argc, argv)
    Cardinal argc;
    String argv[];
{
    Widget toplevel;
    XtAppContext app_context;
    int b;

    toplevel = XtVaAppInitialize
	(&app_context, "AlertT", NULL, 0, &argc, argv, NULL, NULL);

    b = XfwfDialog
	(toplevel,
	 "QUESTION",
	 "Click on a button\n to choose a number:",
	 " Zero | One | Two | Three ");

    (void) printf("You chose button %d\n", b);

    exit(0);
}
