flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
11.15k stars 429 forks source link

Passthrough of mouse events from main window to other applications #1438

Open Kawue opened 1 year ago

Kawue commented 1 year ago

Is there something similar to setIgnoreMouseEvents() from window_manager available?

I would like to have my Flet window borderless and transparent on top of other applications and have my mouse events passed through to the underlying application. Flet should still be on focus and receive keyboard events. Is this possible? I did it with Pyside6 but would like to reimplement the GUI in Flet.

holvi-mikael commented 1 year ago

Nothing like this is currently implemented, as far as I know. Also, sounds horrible from security point of view.

ndonkoHenri commented 1 year ago

@FeodorFitsner, while looking at this window_manager flutter package, I noticed there are alot of stuffs it offers. For instance, everyone has been asking for a way to set the desktop icon while deving, and here is something interesting, though only for windows... The titlebar could also be styled.. link

So many interesting little stuffs.

FeodorFitsner commented 1 year ago

Yep, saw that too. There is a lot of wonders inside that package :)

ndonkoHenri commented 1 year ago

That nectar needs to be sucked out. 🙂