How can I make my seesaw program full screen when F11 is pressed? (not just maximized)
I currently have this:
(defn toggle-full-screen [e]
(-> (to-root e)
magic!)
(def full-screen-action (action :name "Full Screen" :tip "Full Screen"
:mnemonic \f :key (keystroke "F11")
:handler toggle-full-screen))
(def view-menu (menu :text "View"
:mnemonic \v
:items [full-screen-action]))
(def top-menubar (menubar :items [view-menu]))
[...]
toggle-full-screen
runs when F11 is pressed however I can't figure out how to make the frame fullscreen.