Re: [wxVTK] GTK2 issue
Brought to you by:
malat
From: Wesley B. <wes...@gm...> - 2007-02-03 21:29:32
|
Dear Users, Is this the same problem I'm having? I guess I'm running the latest version of GTK as I keep the machine updated frequently using the package updater on KDE. I've just found this forum after posting the messgage bellow on the vtk users forum: Dear Users, I'm trying to use wxVTKRenderWindow but not having much luck; >>>python wxVTKRenderWindow.py (python:5168): Gtk-CRITICAL **: gtk_widget_set_colormap: assertion `!GTK_WIDGET_REALIZED (widget)' failed I tried to run the file and I got the above warning, the application runs, but the picker doesn't work. I've also tried to include a wxVTK window in a wxPython application. The window veiws the part, and I can get most interaction with the window, but the picker doesn't work. When I print out the co-ordinates caught by the pick event I get a very wrong coordinate such as (11777728 , 0). The picker mothod does get the right size of window though, in this instance (703 304). I've just downloaded the latest version of the script from: http://public.kitware.com/cgi-bin/cvsweb.cgi/VTK/Wrapping/Python/vtk/wx/ I'm running linux FC5, Python 2.4.3 (#1, Oct 23 2006, 14:19:45) [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2 with VTK 5.0.2 and wxPython-2.6.3.2. Thanks for any help you can offer. Yours Faithfully, Wesley Brooks Since this messgage I checked it on a collegues windows machine and the picker seemed to work fine. Yours Faithfully, Wesley Brooks. On 03/02/07, Mathieu Malaterre <mat...@gm...> wrote: > <notetomyself> > Do not touch wxVTK while having the flu, I am doing stupid change. > </notetomyself> > > Hi David, > > Yeah I did not fully test my changes. So for now just assume wxVTK > is not compatible with wxGTK 2.8.0. > > I'll try to find out a way to fix this mess: > 1. Either go back to using a wxGLCanvas > 2. Try to figure out what is the issue with focus and enter/leave > event when using a wxWindow > > Sorry for troubles > Mathieu > > > On 2/1/07, David Jany <dav...@go...> wrote: > > Since using wxVTK 1.2 the widget is often not repainted correctly, e.g. > > after moving any window in front of the widget and setting the focus to the > > wxApp. This happens not only with complex applications, but also with your > > samples. > > > > Any suggestions how to get things done? > > > > Dave > > -------- > > Ubuntu 6.10 > > GTK 2.10.6 > > wxVTK 1.2 > > wxWidgets 2.8 > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier. > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > Wxvtk-users mailing list > > Wxv...@li... > > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > > > > > > > > -- > Mathieu > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > |