added DF to widget.__init__