vtk + gtk - out of border bug

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown vtk + gtk - out of border bug

by z.pekar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
2 attached c++ files show implementation of vtk binding to gtk (based
on gtkglext) - I was told that there vtk simply draws into a gtk
widget.
On windows (linux works fine) I get problems with resizing app's
window containing this vtkGtk widget (see attached image - red arrow)
- vtk stuff gets out of its borders. The question is: how does vtk
determines the dimensions of the widget it has to draw to? what can be
done about it?
thank you in advance
Zeev Pekar

http://home.in.tum.de/~pekar/vtkGtkRenderWindowInteractor.h
http://home.in.tum.de/~pekar/vtkGtkRenderWindowInteractor.cpp
http://home.in.tum.de/~pekar/outOfBorderBug.jpg
_______________________________________________
gtk-list mailing list
gtk-list@...
http://mail.gnome.org/mailman/listinfo/gtk-list
LightInTheBox - Buy quality products at wholesale price