hughes@packrat.csee.usf.edu (Ken Hughes) (10/25/90)
I'm trying to write an application which scrolls a pixmap. The X Toolkit reference says that I need to create a widget of class viewportWidgetClass and then create child widget of the viewport. The scrollbars are supposed to handle scrolling without any callback. First, when a window resize event is called, the widget is the viewport widget, not the pixmap widget. What am I supposed to resize with? If I ignore what's being passed back and use the bitmap widget, the display is updated correctly. Second, when I move the scrollbars the pixmap scrolls, but the parts being uncovered aren't there. I assume this is related to what's happening above. What am I doing wrong? --------------------------------------------------------------------------- Ken Hughes (hughes@sol.csee.usf.edu) | "Which button do I press to turn FT-Ph D student, PT-ex-sysadm | it off?" "Try the red one, Dept of Comp Sci and Eng | allright?" "Which red button?" University of South Florida | from _Heathers_ ---------------------------------------------------------------------------