[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12. Manipulating Windows

Function: void tuiWinScroll (tuiWindow win, int direction)
This function scrolls the buffer in a window in a direction specified by direction. The direction types are:

`TUIWINSCROLLUP'
scrolls up
`TUIWINSCROLLDOWN'
scrolls down
`TUIWINSCROLLLEFT'
scrolls left
`TUIWINSCROLLRIGHT'
scrolls right
`TUIWINSCROLLTOP'
scrolls to top of the window's buffer
`TUIWINSCROLLBOT'
scrolls to the bottom of the window's buffer. the bottom of the buffer is shown at the bottom of the window's visual area.

Function: void tuiWinScrollTo (tuiWindow win, int location)
This function scrolls a window's buffer to a specific location where location is a value greater than 0 and less than the buffer size. It will only scroll if location is not already in the view area.

Function: void tuiWinResize (tuiWindow win, int w, int h)
This function resizes the given tuiWindow to a new width and height.

Function: void tuiWinResizeV (tuiWindow win, int vw, int vh)
This function resizes the given tuiWindow's buffer to a new width and height.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by on May, 16 2001 using texi2html