Mercurial > cgi-bin > hgweb.cgi > JpegWasher
view src/name/blackcap/exifwasher/Osdep.kt.mac.osdep @ 19:39b977021ea1
Tool tips in case key and type cols truncate.
author | David Barts <n5jrn@me.com> |
---|---|
date | Sat, 11 Apr 2020 16:12:59 -0700 |
parents | 0a106e9b91b4 |
children |
line wrap: on
line source
/* * OS-dependent code, Mac version. */ package name.blackcap.exifwasher 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() }) setPreferencesHandler( PreferencesHandler { Application.settingsDialog.setVisible(true) }) setQuitStrategy(QuitStrategy.CLOSE_ALL_WINDOWS) } }