Function Window.popupMenu

Wraps SDL_GetWindowFlags to check whether the window is treated as a popup menu (from SDL 2.0.5)

bool popupMenu() @property @trusted const;

Returns

true if window is treated as a popup menu, otherwise false