(button canvas name text args)
(button canvas name text args events)
canvas - clojure2d canvas name - name of the button text - text displayed inside the button args - map of properties: x - x coordinate of top left corner y - y coordinate of top left corner color - vector consisting of [background-color font-color] min-width - the minimum width events - map of event functions supported event atm :clicked
canvas - clojure2d canvas name - name of the button text - text displayed inside the button args - map of properties: x - x coordinate of top left corner y - y coordinate of top left corner color - vector consisting of [background-color font-color] min-width - the minimum width events - map of event functions supported event atm :clicked
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close