Mercurial > cgi-bin > hgweb.cgi > ClipMan
view src/name/blackcap/clipman/Osdep.kt.mac.osdep @ 43:339e2da5bf83
Simplified the settings. Compiles, not tested.
author | David Barts <n5jrn@me.com> |
---|---|
date | Sun, 09 Feb 2020 19:23:16 -0700 |
parents | 33fbe3a78d84 |
children | 19d9da731c43 |
line wrap: on
line source
/* * OS-dependent code, Mac version. */ package name.blackcap.clipman import com.apple.eawt.AboutHandler import com.apple.eawt.Application import com.apple.eawt.PreferencesHandler fun setMacMenus() { Application.getApplication().run { setAboutHandler(AboutHandler({ showAboutDialog() })) setPreferencesHandler( PreferencesHandler({ settingsDialog.setVisible(true) })) } }