[comp.windows.open-look] Scrollable Panels?

ewe@gator.cacs.usl.edu (Edwin W. Elberson) (03/12/91)

   I'm writing a program which will display and allow manipulation of
heirarchical graphs, and I'm using Xview. I was reading in vol. 7 of
the O'Reilly books (the "Xview book!") that programmers are discouraged
from using scrollable panels, since they are not openlook compliant.
I'd like to be able to display only a part of a large graph and allow
the user to scroll about. Now, I get the feeling that the "right" way to
do this would be to use a canvas and use Xlib routines to draw the
graph (do I catch on fast or what?) But, it seems like it would be
SOOO easy to use a scrollable panel instead. So, heedlees of all warnings,
I tried to use one. It didn't work. 

  But, I've seen a program that actually uses scrollable panels, and it
appeared to work just fine. I'm running olwm on a sun4 using Open 
Windows 2.0, and the program I saw work was compiled on a sun3 where
Openwin does not reside. I suspect that the libraries I'm using and the
ones used when compiling/loading this other program are different...

 Has anyone used scrollable panels in an environment similar to mine? 
Or should I take Dan Heller's advice and stay away from them?  Please
respond via e-mail if convenient since I don't get to read news very
often...

Edwin Elberson
ewe@gator.cacs.usl.edu