[vtkusers] Grabbing focus from custom interactor style in Python

Elvis Stansvik elvis.stansvik at orexplore.com
Mon Jun 20 08:05:39 EDT 2016


2016-06-20 13:45 GMT+02:00 David Gobbi <david.gobbi at gmail.com>:

> On Mon, Jun 20, 2016 at 5:32 AM, Elvis Stansvik <
> elvis.stansvik at orexplore.com> wrote:
>
>>
>> It would still have been nice if there were protected getters for some of
>> the protected variables in vtkInteractorObserver such as
>> EventCallbackCommand, to make them accessible from Python subclasses.
>>
>
> It wouldn't help.  Python subclasses can only access the public methods of
> their VTK superclasses. Python does not rigorously support the idea of
> "protected" access.
>

Aha. Yes, then it's futile.

Elvis


>
>  - David
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160620/568a119f/attachment.html>


More information about the vtkusers mailing list