bobtl@tekecs.TEK.COM (Bob Toole) (10/13/88)
I give up. Maybe somebody out there has solved this. I have a complex interface which is composed of a complex widget which manages other composite widgets, each of which manage 6-25 simple widgets. My topmost widget is the only child of a shell widget. As you can probably tell from the description, resizing the window involves a lot of moving and resizing of widgets. I would like to try to minimize the flashing of the widgets while this is happening. I thought the easiest way to accomplish this is to set the subwindow gravity of the top widget to Unmap. Then in my resize routine first resize the widget hierarchy, then map all of the subwidgets. I believe I need only deal with the middle level of composite widgets; their children should no longer be visible when they are unmapped, not true? This does not work. The symptoms I observe: All sub-widgets remain visible in the configuration before the resize. All of the resize routines are called. But no sub-widget gets any events, to include expose. Is this a reasonable approach to take? If not, what would be a better way? Is this a possible bug in the server? I am running on a Tektronix 4317, release 2. BTW, I am working on making this interface simpler. But I would like to understand this problem.