[vtkusers] wxVTKRenderWindowInteractor and wxPython 2.5.2.8
Sander Niemeijer
niemeijer at science-and-technology.nl
Wed Sep 29 10:19:46 EDT 2004
>> On a side note: Has anybody ever tried to get the
>> wxVTKRenderWindowInteractor working for Mac? I saw that Mathieu has
>> some C++ version of wxVTK on his website, that looks like it supports
>> Mac (both Cocoa and Carbon) but only using a top-level window handle.
>> Any reasons why sub-windows can't be supported (in our application
>> the VTK window is inside a splitter window)? Or has this just not
>> been tried yet?
>
> On a side note, wxVTK doesn't work on Cocoa yet(*). I am still
> struggling with those guys a wxWidget.
I was also wondering about that, because wxWidgets doesn't support
Cocoa at all, only Carbon (and Classic, although I don't know how well
supported that still is).
I also don't see a point in trying to create a version of wxVTK that
supports Cocoa anyway. People who use wxVTK are using wxWidgets, so
they shouldn't care about the kind of OSX GUI framework that is used
underneath (that's the whole reason of wxWidgets existence). If Carbon
works fine, that should be enough, right?
However, that still leaves my questions about the top-level vs.
lower-level windows. Do you know why for Carbon only the top-level
window handle can be retrieved via GetHandle()? Isn't it possible to
have a VTK widget in some subpanel of a Carbon wxWidgets window? Does
this maybe already work or is it otherwise theoretically possible to
implement such a thing? Anybody ever investigated this?
Best regards,
Sander
More information about the vtkusers
mailing list