Luadoc for taglist.gettag.
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
851047f6f2
commit
0d834c325b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue