From 64e390e2a3be546596045be9430f0c4992e0a4ed Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 2 Jul 2008 17:59:06 +0200 Subject: [PATCH] textbox: documente index Signed-off-by: Julien Danjou --- widgets/textbox.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widgets/textbox.c b/widgets/textbox.c index 801f19c6..7a0ca7bf 100644 --- a/widgets/textbox.c +++ b/widgets/textbox.c @@ -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)