Repository navigation
v3.0.0
Notable API changes
- The
canvas.is_closed()method, which was already deprecated, is removed, useget_closed()instead. - Running a task with
loop.add_task()now always runs on rendercanvas' own micro-framework, never on a native framework like asyncio, so you can only usesleepandEventfromrendercanvas.utils.asyncs. Likewise, thesleepandEventfromrendercanvas.utils.asyncscan no longer be used in e.g. asyncio. loop.call_soon()andloop.call_later()now return an object that allows canceling the callback.
Merged PR's
- Fix two scheduling bugs by @almarklein in #246
- Refactor canvas and loop closing logic by @almarklein in #227
- Add comment for post-close polling by @almarklein in #248
- Support presenting to a native Wayland surface on Qt by @hmaarrfk in #233
- Tweak events example by @almarklein in #245
- Add text example by @almarklein in #251
- Feature request: Add callback submethod for data handling by @hmaarrfk in #252
- Ensure utf-8 encoding for anywidget by @Vipitis in #253
- enable stack switching with present method screen in pyodide by @Vipitis in #258
- Refactor async mechanics by @almarklein in #260
- Better readable stub.py by copying in the docstrings as comments by @almarklein in #261
- fix EventEmitter.remove_handler by @lkeegan in #264
- A variety of fixes by @almarklein in #262
- Fix flaky CI test (and allow overriding call_later impl for qt and wx) by @almarklein in #266
- Better performance for call_later_from_thread by @almarklein in #265
- Version 3.0 by @almarklein in #247
New Contributors
Full Changelog: v2.7.2...v3.0.0