Mercurial > cgi-bin > hgweb.cgi > ImagePrep
view src/name/blackcap/imageprep/Osdep.kt.mac.osdep @ 2:a6f9b51d5e8d
Got jar building.
author | David Barts <n5jrn@me.com> |
---|---|
date | Fri, 17 Jul 2020 10:34:48 -0700 |
parents | 0bded24f746e |
children | 5fa5d15b4a7b |
line wrap: on
line source
/* * OS-dependent code, Mac version. */ package name.blackcap.imageprep import com.apple.eawt.AboutHandler import com.apple.eawt.PreferencesHandler import com.apple.eawt.QuitStrategy fun setMacMenus() { com.apple.eawt.Application.getApplication().run { setAboutHandler(AboutHandler { showAboutDialog() }) setQuitStrategy(QuitStrategy.CLOSE_ALL_WINDOWS) } }