gdx.ui
add-actor!
(add-actor! group actor)
Adds an actor as a child of this group, removing it from its previous parent. If the actor is already a child of this group, no changes are made.
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! a tooltip-text)
tooltip-text is a (fn []) or a string. If it is a function will be-recalculated every show.
check-box
(check-box text on-clicked checked?)
on-clicked is a fn of one arg, taking the current isChecked state
clear-children!
(clear-children! group)
Removes all actors from this group and unfocuses them.
image-button
(image-button image on-clicked)
(image-button {:keys [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.
tinted-drawable
(tinted-drawable drawable color)
Creates a new drawable that renders the same as this drawable tinted the specified color.
window-title-bar?
(window-title-bar? actor)
Returns true if the actor is a window title bar.