various documentation update for _index()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-07-28 16:03:38 +02:00
parent e52cd0017c
commit 80b79717ba
11 changed files with 15 additions and 12 deletions

View File

@ -1194,7 +1194,7 @@ luaA_client_newindex(lua_State *L)
return 0; return 0;
} }
/** Client index. /** Client object.
* \param L The Lua VM state. * \param L The Lua VM state.
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.
* \luastack * \luastack

View File

@ -1065,7 +1065,7 @@ luaA_mouse_new(lua_State *L)
return luaA_mouse_userdata_new(L, button); return luaA_mouse_userdata_new(L, button);
} }
/** Index for mouse. /** Mouse object.
* \param L The Lua VM state. * \param L The Lua VM state.
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.
* \luastack * \luastack

View File

@ -424,7 +424,7 @@ luaA_statusbar_widget_get(lua_State *L)
return 1; return 1;
} }
/** Statusbar index. /** Statusbar object.
* \param L The Lua VM state. * \param L The Lua VM state.
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.
* \luastack * \luastack

2
tag.c
View File

@ -307,7 +307,7 @@ luaA_tag_new(lua_State *L)
return luaA_tag_userdata_new(L, tag); return luaA_tag_userdata_new(L, tag);
} }
/** Tag index. /** Tag object.
* \param L The Lua VM state. * \param L The Lua VM state.
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.
* \luastack * \luastack

View File

@ -504,7 +504,7 @@ luaA_titlebar_newindex(lua_State *L)
return 0; return 0;
} }
/** Titlebar index. /** Titlebar object.
* \param L The Lua VM state. * \param L The Lua VM state.
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.
* \luastack * \luastack

View File

@ -341,7 +341,7 @@ luaA_widget_tostring(lua_State *L)
return 1; return 1;
} }
/** Generic widget index. /** Generic widget.
* \param L The Lua VM state. * \param L The Lua VM state.
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.
* \luastack * \luastack

View File

@ -412,7 +412,7 @@ luaA_graph_plot_data_add(lua_State *L)
return 0; return 0;
} }
/** Index function for graph widget. /** Graph widget.
* \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.

View File

@ -505,7 +505,7 @@ luaA_progressbar_bar_data_add(lua_State *L)
return 0; return 0;
} }
/** Index function for progressbar. /** Progressbar widget.
* \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 the stack. * \return The number of elements pushed on the stack.

View File

@ -181,10 +181,13 @@ taglist_button_press(widget_node_t *w,
} }
} }
/** Index function for taglist. /** Taglist widget.
* \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 label Function used to get the string to display as the tag title.
* It gets the tag as argument, and must return a string.
*/ */
static int static int
luaA_taglist_index(lua_State *L, awesome_token_t token) luaA_taglist_index(lua_State *L, awesome_token_t token)

View File

@ -283,14 +283,14 @@ tasklist_button_press(widget_node_t *w,
} }
} }
/** Index function for tasklist widget. /** Tasklist widget.
* \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 * \luastack
* \lfield show_icons Show icons near client title. * \lfield show_icons Show icons near client title.
* \lfield label Function used to get the string to display as the window title. * \lfield label Function used to get the string to display as the window title.
* It gets the client as argument, and must return a string. * It gets the client and a screen number as argument, and must return a string.
*/ */
static int static int
luaA_tasklist_index(lua_State *L, awesome_token_t token) luaA_tasklist_index(lua_State *L, awesome_token_t token)

View File

@ -98,7 +98,7 @@ textbox_destructor(widget_t *w)
p_delete(&d); p_delete(&d);
} }
/** Textbox attributes. /** Textbox widget.
* \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.