[vtkusers] Cocoa, Python, VTK and wx embedded window problems
Mathieu Malaterre
mathieu.malaterre at gmail.com
Thu Oct 16 06:46:51 EDT 2008
What link ? Where is the error message ?
On Thu, Oct 16, 2008 at 12:32 PM, John Donker <j.h.donker at home.nl> wrote:
> Well I have switched to carbon. The problem of the two windows still
> happens. That's the second screenshot on the provided link.
>
>
> On Oct 16, 2008, at 12:04 PM, Mathieu Malaterre wrote:
>
>> On Thu, Oct 16, 2008 at 11:43 AM, John Donker <j.h.donker at home.nl> wrote:
>>>
>>> The problem is quite annoying and it would be nice if there was fix for
>>> it.
>>> Since we are aiming at a cross platform application. (The whole reason we
>>> chose VTK+WX+python)
>>
>> Suggestions:
>> 1. Switch to Carbon (as it seems to be the default for wx people)
>> 2. Write your own C extension that cast the Handle from a Cocoa window
>> and call it from python layer (untrivial), or simply hack your way in
>> wxPython source to modify the culprit function + recompile (you'll not
>> be able to distribute your python app only, you'll have to ship your
>> custom wx libs, at least on Mac).
>> 3. Get the wxVTK src from http://wxvtk.sf.net and wrap it to python
>> (non-trivial either IMHO, because of multiple inheritance)
>>
>> Use Qt :)
>>
>> --
>> Mathieu
>
> John Donker
> j.h.donker at home.nl (thuis)
> j.h.donker at wortelschijf.nl (werk)
> j.h.donker at student.utwente.nl (studie)
>
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Mathieu
More information about the vtkusers
mailing list