textbox: documente index
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
b3a16bc6ad
commit
64e390e2a3
|
@ -94,10 +94,13 @@ textbox_destructor(widget_t *w)
|
||||||
p_delete(&d);
|
p_delete(&d);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The __index method for a textbox object.
|
/** Textbox attributes.
|
||||||
* \param L The Lua VM state.
|
* \param L The Lua VM state.
|
||||||
* \param token The key token.
|
* \param token The key token.
|
||||||
* \return The number of elements pushed on stack.
|
* \return The number of elements pushed on stack.
|
||||||
|
* \luastack
|
||||||
|
* \lfield text The text to display.
|
||||||
|
* \lfield width The width of the textbox. Set to 0 for auto.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
luaA_textbox_index(lua_State *L, awesome_token_t token)
|
luaA_textbox_index(lua_State *L, awesome_token_t token)
|
||||||
|
|
Loading…
Reference in New Issue