How to use the interact method to make basic widgets