Darren Burns

Results 182 comments of Darren Burns

Good idea 👍 With the approach you suggested, I'm unsure what happens after the context manager exits - does it immediately put everything within into its own batch, or does...

@willmcgugan I'm wondering this myself. Could you confirm so we can put it in the docs?

With this change, how would we override what a watcher does in a widget subclass? If I have a `count` reactive declared in a widget which has a watcher defined,...

I think this is probably beyond the scope of what we'd want to offer out of the box, but we should definitely think about how it could be achieved by...

I wonder if `__await__` should return `Iterator[Any]` instead of `Iterator[None]`. I have no idea how to actually type this protocol...

I think this would be incredibly difficult to implement within the TextArea itself unless we opted for a diffing approach, and if we're doing that, it'd probably be better to...

Could you let me know your thoughts @willmcgugan?

Hi @TomJGooding, could you try adding a boolean `@property` called `is_mounted` to `Widget` which checks that `self.mounted_event.is_set()`, and then inside your watchers, only do things relating to the DOM (querying,...

No problem! I think separate PR would be great for that.

@willmcgugan there are a few outstanding API questions here - could you have a look?