TblMaker/fltk/src/Fl_Tree.cxx
/// Sets the vertical scroll offset to position \p 'pos'.
/// The position is how many pixels of the tree are scrolled off the top edge
/// of the screen. 
/// \param[in] pos The vertical position (in pixels) to scroll the tree to.
/// \see vposition(), hposition(), hposition(int)
///
Sets the vertical scroll offset to position \p 'pos'.
The position is how many pixels of the tree are scrolled off the top edge
of the screen.
\param[in] pos The vertical position (in pixels) to scroll the tree to.
Sets the vertical scroll offset to position \ p ' pos ' . The position is how many pixels of the tree are scrolled off the top edge of the screen . \ param [ in ] pos The vertical position ( in pixels ) to scroll the tree to .
void Fl_Tree::vposition(int pos) {
  if (pos < 0) pos = 0;
  if (pos > _vscroll->maximum()) pos = (int)_vscroll->maximum();
  if (pos == _vscroll->value()) return;
  _vscroll->value(pos);
  redraw();
}
void Fl_Tree :: vposition ( int pos ) { if ( pos < 0 ) pos = 0 ; if ( pos > _vscroll -> maximum ( ) ) pos = ( int ) _vscroll -> maximum ( ) ; if ( pos == _vscroll -> value ( ) ) return ; _vscroll -> value ( pos ) ; redraw ( ) ; }
Sets the vertical scroll offset to position \p 'pos'.
Sets the vertical scroll offset to position \ p ' pos ' .