Liking cljdoc? Tell your friends :D

strigui.widget


handle-mouse-movedclj

(handle-mouse-moved)
source

hideclj

(hide widget canvas)
source

intersect?clj

(intersect? coord1 coord2)
source

registerclj

(register canvas widget)
source

trigger-custom-eventclj

(trigger-custom-event action widget & args)
source

unregisterclj

(unregister canvas widget)
source

Widgetcljprotocol

collection of functions around redrawing widgets, managing the border etc. ...

collection of functions around redrawing widgets, managing the border etc. ...

argsclj

(args this)

the current args of the widget

the current args of the widget

coordclj

(coord this canvas)

gets the coordinates of the widget

gets the coordinates of the widget

drawclj

(draw this canvas)

draw the widget, returns the widget on success

draw the widget, returns the widget on success

redrawclj

(redraw this canvas)

redraw the widget

redraw the widget

valueclj

(value this)

the current text of the widget

the current text of the widget

widget-nameclj

(widget-name this)

name of the widget

name of the widget
sourceraw docstring

widget-eventcljmultimethod

source

widget-global-eventcljmultimethod

source

widgetsclj

source

within?clj

(within? coord1 coord2)
(within? coord x y)

Checks wheter the point (x y) is within the given coord coord - vector [x-coord y-coord width height] x - x-coord of point to check y - y-coord of point to check

Checks wheter the point (x y) is within the given coord
coord - vector [x-coord y-coord width height]
x - x-coord of point to check
y - y-coord of point to check
sourceraw docstring

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

× close