clojure.gdx.ui
add-rows!
(add-rows! table rows)
rows is a seq of seqs of columns. Elements are actors or nil (for just adding empty cells ) or a map of {:actor :expand? :bottom? :colspan int :pad :pad-bottom}. Only :actor is required.
add-tooltip!
(add-tooltip! actor tooltip-text)
tooltip-text is a (fn context) or a string. If it is a function will be-recalculated every show. Returns the actor.
check-box
(check-box text on-clicked checked?)
on-clicked is a fn of one arg, taking the current isChecked state
image-button
(image-button texture-region on-clicked)
(image-button texture-region on-clicked {:keys [scale]})
image-widget
(image-widget object {:keys [scaling align fill-parent?], :as opts})
Takes either a texture-region or drawable. Opts are :scaling, :align and actor opts.
window-title-bar?
(window-title-bar? actor)
Returns true if the actor is a window title bar.