0.1.0-SNAPSHOT Arrow_down_16x16
  • (text-field & {action :action, str-ref :str-ref, :as opts})

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clj_swing/text_field.clj:8 top

(defmacro text-field [& {action :action str-ref :str-ref :as opts}]
  `(doto (JTextField.)
     ~@(if action  
	 [`(add-action-listener ~action)])
     ~@(if str-ref  
	 [`(add-str-ref-doc-listener ~str-ref)])
     ~@(auto-setters JTextField *text-field-known-keys* opts)))
Vars in clj-swing.text-field/text-field: defmacro concat doto list seq
Used in 0 other vars

Comments top

No comments for text-field. Log in to add a comment.