| Description | I am writing a first program using KWWidgets, and naturally, started with a program from KWWidgets/Examples, in this case the MedicalImageViewer.
I carefully (or so I thought) removed the parts of the example that I didn't needed, and changed from one renderwidget to a collection of 6 render widgets in a 2x3 grid. I used the TK grid layout instead of pack, and added a third row to the grid to hold a vtkKWScale widget, which would control the current slice for that column's ImageViewers.
If I do not add the scale widgets, the program displays the image in all 6 render widgets. If I add the scale widgets to the grid, the main application window does not get displayed when I call vtkKWWindow::Display() on the main window.
The stack backtrace indicates that it the first call to the function vtkKWUtilities::ProcessIdletasks never returns. |