We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35e0b42 commit 5de3ceeCopy full SHA for 5de3cee
gtk/tests_backend/probe.py
@@ -9,7 +9,11 @@ class BaseProbe:
9
10
async def redraw(self, message=None, delay=0):
11
"""Request a redraw of the app, waiting until that redraw has completed."""
12
- if hasattr(self, "native") and self.native:
+ if (
13
+ hasattr(self, "native")
14
+ and self.native
15
+ and hasattr(self.native, "queue_draw")
16
+ ):
17
self.native.queue_draw()
18
19
if frame_clock := self.native.get_frame_clock():
0 commit comments