Luadoc for taglist.gettag.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Mike Kelly 2009-02-15 14:12:46 -05:00 committed by Julien Danjou
parent 851047f6f2
commit 0d834c325b
1 changed files with 3 additions and 0 deletions

View File

@ -109,6 +109,9 @@ local function taglist_update (screen, w, label, buttons, data, widgets)
list_update(w, buttons, label, data, widgets, tags)
end
--- Get the tag object the given widget appears on.
-- @param widget The widget the look for.
-- @return The tag object.
function taglist.gettag(widget)
return tagwidgets[widget]
end