wxpython ogl package drag event

微笑、不失礼 提交于 2019-12-22 14:59:30

问题


I'm testing the ogl package in wxpython.

I want to drag a shape. And when I do drag it, I want a second shape to move at the same time. The problem is that I have not found a move/drag event. Only pre and post move events.

The only solution I can think of is to hide the second shape, and redraw it at the new position when the dragging is done.

And is the ogl package no longer maintained?

Oerjan Pettersen


回答1:


OGL was part of the contrib directory in wxWidgets up until version 2.8; contrib has been removed in trunk and is no longer part of wxWidgets proper. You can find OGL at wxCode now, but its status is shown there as unmaintained as well.

If you have not started yet using OGL, it's probably better not to do so.



来源:https://stackoverflow.com/questions/824628/wxpython-ogl-package-drag-event

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!