I want to have a dropdown window like this one

and I found a way you can do is on a Linux here using `wm_type()` but it does not work on Macintosh. How would I make a similar window on a mac? I assume I would need to use a top-level?

and I found a way you can do is on a Linux here using `wm_type()` but it does not work on Macintosh. How would I make a similar window on a mac? I assume I would need to use a top-level?