Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionssyncok(3XCURSES)


NAME

 syncok, wcursyncup, wsyncdown, wsyncup - synchronize window with its parents or children

SYNOPSIS

 
#include <curses.h>
int syncok(WINDOW *win, bool bf);
 void wcursyncup(WINDOW *win);
 void wsyncdown(WINDOW *win);
 void wsyncup(WINDOW *win);

PARAMETERS

 
win
Is a pointer to a window.
bf
Is a Boolean expression.

DESCRIPTION

 

The syncok() function uses the value of bf to determine whether or not the window win's ancestors are implicitly touched whenever there is a change to win. If bf is TRUE, this touching occurs. If bf is FALSE, it does not occur. The initial value for bf is FALSE.

The wcursyncup() function moves the cursor in win's ancestors to match its position in win.

The wsyncdown() function touches win if any of its ancestors have been touched.

The wsyncup() function touches all ancestors of win.

RETURN VALUES

 

On success, the syncok() function returns OK. Otherwise, it returns ERR.

The other functions do not return a value.

ERRORS

 

None.

SEE ALSO

 

derwin(3XCURSES), doupdate(3XCURSES), is_linetouched(3XCURSES)


SunOS 5.9Go To TopLast Changed 1 Jun 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.