1: /*$Id: dsetpause.c,v 1.26 2001/03/23 23:20:08 balay Exp $*/
2: /*
3: Provides the calling sequences for all the basic PetscDraw routines.
4: */
5: #include src/sys/src/draw/drawimpl.h
7: /*@
8: PetscDrawSetPause - Sets the amount of time that program pauses after
9: a PetscDrawPause() is called.
11: Collective on PetscDraw
13: Input Parameters:
14: + draw - the drawing object
15: - lpause - number of seconds to pause, -1 implies until user input
17: Level: intermediate
19: Note:
20: By default the pause time is zero unless the -draw_pause option is given
21: during PetscDrawOpenX().
23: Concepts: drawing^waiting
25: .seealso: PetscDrawGetPause(), PetscDrawPause()
26: @*/
27: int PetscDrawSetPause(PetscDraw draw,int lpause)
28: {
31: draw->pause = lpause;
32: return(0);
33: }