-
|
Is it possible to somehow detect when the user presses outside of a spell window to automatically close an popup? any ideas how to achieve this behavior |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
What you are saying is exactly what XdgPopup Menus are for in wayland. There is an active (incomplete) implementation of it going on in branch popup-impl with related issue of #31. Honestly, I haven't been able to figure out the desired architecture for integrating it to spell but I am working on it(and have few ideas to try out). |
Beta Was this translation helpful? Give feedback.
What you are saying is exactly what XdgPopup Menus are for in wayland. There is an active (incomplete) implementation of it going on in branch popup-impl with related issue of #31. Honestly, I haven't been able to figure out the desired architecture for integrating it to spell but I am working on it(and have few ideas to try out).
As for the alternative, you can use a regular widget's hide show spell feature combined with transparent background to generate a similar effect. Though, it would be like to kill a fly with a canon.