2D GUI in blender tool

Hi, I want to develop a 2D GUI in blender tool. I have a requirement like, my UI will be having a push button & a text edit. I will be writing something in text edit & on pressing the push button the text in the text edit should be printed on console. can i do this using blender tool? can anyone suggest?. in simple words can i create a GUI using blender tool?