0.1.0-SNAPSHOT Arrow_down_16x16
  • (combo-box [& items] & {action :action, :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/combo_box.clj:90 top

(defmacro combo-box [[& items] & {action :action :as opts}]
  `(doto (JComboBox.)
     ~@(if action  
	 [`(add-action-listener ~action)])
     ~@(auto-setters JComboBox *cb-known-keys* opts)
     ~@(map #(list '.addItem %) items)))
Vars in clj-swing.combo-box/combo-box: defmacro list map concat doto seq
Used in 0 other vars

Comments top

No comments for combo-box. Log in to add a comment.