DESIGN (xvutils) functions


LIBRARY ROUTINE

xvu_prompt_wait - pop up prompting object (2 choices); wait for response

LIBRARY CALL

int xvu_prompt_wait(
   char *prompting,
   char *label,
   char *yes_label,
   char *no_label)

INPUT

OUTPUT

none

RETURN VALUE

1 (TRUE) if user selected button with yes_label (Yes) 0 (FALSE) if user selected button with no_label (No)

DESCRIPTION

Creates and maps a pop-up prompting object which has two buttons representing two choices. The user must click on one of the buttons; a status representing which of the two buttons was chosen will be returned to the application. The user must click on one of the two buttons before control will be returned to the application program.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

Converted from Khoros 1.0 (DA)

FILES

$DESIGN/objects/library/xvutils/src/prompt.c

SEE ALSO

xvutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.