0.1.0-SNAPSHOT Arrow_down_16x16

scroll-panel

clj-swing.panel

  • (scroll-panel obj & {: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/panel.clj:104 top

(defmacro scroll-panel [obj & { :as opts}]
  `(doto (new JScrollPane ~obj)
     ~@(auto-setters JScrollPane [:preferred-size] opts)
     ~@(when-let [[w h] (:preferred-size opts)]
	 [`(.setPreferredSize (Dimension. ~w ~h))])))
Vars in clj-swing.panel/scroll-panel: defmacro when-let concat doto list seq
Used in 0 other vars

Comments top

No comments for scroll-panel. Log in to add a comment.