Update select-box docstring

This commit is contained in:
oakes
2014-04-20 19:02:57 -04:00
parent 515ed8d3f7
commit c90b607cf2

View File

@@ -384,9 +384,9 @@ based on the file at `path`.
"Returns an entity based on [SelectBox](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/SelectBox.html).
(select-box (style :select-box font color back scroll-style list-style)
:set-items [\"Item 1\" \"Item 2\" \"Item 3\"])
:set-items (into-array [\"Item 1\" \"Item 2\" \"Item 3\"]))
(select-box (skin \"uiskin.json\")
:set-items [\"Item 1\" \"Item 2\" \"Item 3\"])"
:set-items (into-array [\"Item 1\" \"Item 2\" \"Item 3\"]))"
[arg & options]
`(let [entity# (select-box* ~arg)]
(u/calls! ^SelectBox (u/get-obj entity# :object) ~@options)