Adding the widgetComponent constructor to the lua bindings