show terminal output in a gui window using python gtk,gtk.main()