get custom data from a widget

This commit is contained in:
mutlusun 2017-02-23 22:48:39 +01:00
parent f2aa096f83
commit b00e7c6cd0
1 changed files with 7 additions and 0 deletions

View File

@ -260,6 +260,13 @@ function vicious.activate(widget)
end
-- }}}
-- {{{ Get custom widget format data
function vicious.getdata(myw, format, warg)
return helpers.format(format, myw(format, warg))
end
-- }}}
return vicious
-- }}}