main view given widget