Thread View: usf.windows.x
1 messages
1 total messages
Started by Ken Hughes
Wed, 24 Oct 1990 23:59
Using Viewport Widget in Xt
Author: Ken Hughes
Date: Wed, 24 Oct 1990 23:59
Date: Wed, 24 Oct 1990 23:59
22 lines
1783 bytes
1783 bytes
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_ ---------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads