Move Widget from api to engine

Signed-off-by: Karang <arthur.hennequin@free.fr>