New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WxWgpuWindow object has no attribute 'add_event_handler' #485
Comments
Are you experienced with Wx? We're looking for maintainers for the wx backend. |
It seems that the issue is related to the wgpu-py package. I am not even sure why this has been added (7dcd6ae), it seems to it has been added to wx and qt as well. Do you have more information about that line? If this line is removed, there is another issue inside the timer start. At the moment def _request_draw(self):
# Despite the FPS limiting the delayed call to refresh solves
# that drawing only happens when the mouse is down, see pygfx/pygfx#209.
if not self._request_draw_timer.IsRunning():
self._request_draw_timer.Start(
max(1, int(self._get_draw_wait_time() * 1000)), wx.TIMER_ONE_SHOT
) @Korijn I wouldn't call myself experienced, however, I would like to have pygfx support in wx. |
Indeed the gui backends are implemented in wgpu-py. You'd have to fix this there. I'll transfer the issue for you. |
@Korijn I have created a PR to fix this in wgpu and another one which updates the wx example in pygfx. Would be great if you could have a look. |
At least on MacOS, it seems that the
WxWgpuWindow
integration seems not to work. The example found here can not be run because of the following issue:Versions:
0.1.18
0.15.0
4.2.1
3.9.18
The text was updated successfully, but these errors were encountered: