textbox: documente index

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-07-02 17:59:06 +02:00
parent b3a16bc6ad
commit 64e390e2a3
1 changed files with 4 additions and 1 deletions

View File

@ -94,10 +94,13 @@ textbox_destructor(widget_t *w)
p_delete(&d);
}
/** The __index method for a textbox object.
/** Textbox attributes.
* \param L The Lua VM state.
* \param token The key token.
* \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
luaA_textbox_index(lua_State *L, awesome_token_t token)