0.1.0-SNAPSHOT Arrow_down_16x16

set-constraint!

clj-swing.frame

  • (set-constraint! constraints field value)

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/frame.clj:8 top

(defmacro set-constraint! [constraints field value]
  `(set! (. ~constraints ~(symbol (name field)))
         ~(if (keyword? value)
	    `(java/wall-hack-field  (class ~constraints) '~(symbol (name value))  (class ~constraints))
            value)))
Vars in clj-swing.frame/set-constraint!: defmacro keyword? name symbol class concat list seq
Used in 0 other vars

Comments top

No comments for set-constraint!. Log in to add a comment.