Liking cljdoc? Tell your friends :D
Clojure only.

seesaw.keystroke


keystrokeclj

(keystroke arg)

Convert an argument to a KeyStroke. When the argument is a string, follows the keystroke descriptor syntax for KeyStroke/getKeyStroke (see link below).

For example,

(keystroke "ctrl S")

Note that there is one additional modifier supported, "menu" which will replace the modifier with the appropriate platform-specific modifier key for menus. For example, on Windows it will be "ctrl", while on OSX, it will be the "command" key. Yay!

arg can also be an i18n resource keyword.

See http://download.oracle.com/javase/6/docs/api/javax/swing/KeyStroke.html#getKeyStroke(java.lang.String)

Convert an argument to a KeyStroke. When the argument is a string, follows 
the keystroke descriptor syntax for KeyStroke/getKeyStroke (see link below).

For example,

  (keystroke "ctrl S")

Note that there is one additional modifier supported, "menu" which will
replace the modifier with the appropriate platform-specific modifier key for
menus. For example, on Windows it will be "ctrl", while on OSX, it will be
the "command" key. Yay!

arg can also be an i18n resource keyword.

See http://download.oracle.com/javase/6/docs/api/javax/swing/KeyStroke.html#getKeyStroke(java.lang.String)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close