Hi Marcus, Eric,<br><br>If the CMakeLists.txt is changed to set the WRAP_SPECIAL attribute for this class, then Python will wrap it and its constants.<br><br>  David<br><br><div class="gmail_quote">On Tue, Nov 23, 2010 at 8:59 AM, Marcus D. Hanwell <span dir="ltr"><<a href="mailto:marcus.hanwell@kitware.com">marcus.hanwell@kitware.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Tue, Nov 23, 2010 at 10:54 AM, Eric E. Monson <<a href="mailto:emonson@cs.duke.edu">emonson@cs.duke.edu</a>> wrote:<br>


> Hello,<br>
><br>
> I was just trying to use the enum from vtkContextMouseEvent.h (LEFT_BUTTON, etc) in a Python script, but it doesn't seem to be wrapped.<br>
><br>
> Is this to be expected with the way the wrapping system works?<br>
><br>
</div>They are currently in WRAP_EXCLUDE, and so not considered by the<br>
wrapping. Do you have a Python class you are attempting to paint<br>
in/respond to mouse events? David Gobbi added some support for<br>
wrapping enums, but not their type (need to remain anonymous). If<br>
there is a use case we might be able to look at wrapping them, but<br>
right now it is to be expected.<br>
<font color="#888888"><br>
Marcus<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br>