add(w.w.template) constructor `buttons` param
This commit is contained in:
parent
086eb146f6
commit
33d5de52c6
|
@ -117,6 +117,10 @@ function template.new(args)
|
|||
ret:set_update_callback(args.update_callback)
|
||||
ret:set_update_now(args.update_now)
|
||||
|
||||
if args.buttons then
|
||||
ret:set_buttons(args.buttons)
|
||||
end
|
||||
|
||||
return ret
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue