What would be the best way to have a (popup/window) on button click ? #536
Unanswered
tom-avilius
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Not sure what AGS can do since this is likely a GTK limitation? You can look at my implementation here that uses margins to spoof positioning: https://github.com/Jas-SinghFSU/HyprPanel/blob/master/modules/menus/shared/dropdown/locationHandler/index.ts It's a function that takes the name of a window and [x, y] coordinates of the click, then creates margins for that dropdown to place the window at that location. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Suppose I have a button showing network status. When I click on it I want a window where I could connect to a different network sort of thing. I want maximum control in placement of the window/widget. Wayland would not allow me to place the window to an (x, y) co-ordinate I think.
Beta Was this translation helpful? Give feedback.
All reactions