Liking cljdoc? Tell your friends :D

strigui.core


buttonclj

(button name text args)

name - name of the element text - text displayed inside the button args - map of: 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

name - name of the element
text - text displayed inside the button
args - map of:
   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
sourceraw docstring

close-windowclj

(close-window)
source

createclj

(create widget)
source

find-by-nameclj

(find-by-name name)
source

infoclj

(info text)
source

inputclj

(input name text args)

name - name of the element text - text displayed inside the button args - map of: 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

name - name of the element
text - text displayed inside the button
args - map of:
  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
sourceraw docstring

labelclj

(label name text args)

name - name of the element text - text displayed inside the button args - map of: x - x coordinate of top left corner y - y coordinate of top left corner color - vector consisting of [font-color] font-style - vector consisting of either :bold :italic :italic-bold font-size - number

name - name of the element
text - text displayed inside the button
args - map of:
  x - x coordinate of top left corner
  y - y coordinate of top left corner
  color - vector consisting of [font-color]
  font-style - vector consisting of either :bold :italic :italic-bold
  font-size - number
sourceraw docstring

remove!clj

(remove! name)
source

update!clj

(update! name key value)

name - name of the widget key - either single key or vector of keys value - the new property value

name - name of the widget
key - either single key or vector of keys
value - the new property value
sourceraw docstring

window!clj

(window! wind)
(window! width height title)
(window! width height title fps quality)

Initializes a new window or reuses an existing one wind - an already existing windows instance (experimental) width height fps - frames per second quality - rendering quality :low :mid :high :highest

Initializes a new window or reuses an existing one
wind - an already existing windows instance (experimental)
width
height
fps -  frames per second
quality - rendering quality :low :mid :high :highest
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close