2009-08-19 00:04:37 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
|
|
|
import gtk
|
2009-11-25 00:37:29 +00:00
|
|
|
from factory import Factory
|
2009-08-19 00:04:37 +00:00
|
|
|
|
2009-11-25 00:37:29 +00:00
|
|
|
maker = Factory()
|
2010-01-04 13:05:58 +00:00
|
|
|
window = maker.make('Window')
|
2009-11-25 00:37:29 +00:00
|
|
|
term = maker.make('Terminal')
|
2009-08-19 00:04:37 +00:00
|
|
|
|
|
|
|
window.add(term)
|
|
|
|
window.show()
|
2009-10-27 23:23:59 +00:00
|
|
|
term.spawn_child()
|
2009-08-19 00:04:37 +00:00
|
|
|
|
2009-12-23 16:40:54 +00:00
|
|
|
try:
|
|
|
|
gtk.main()
|
|
|
|
except KeyboardInterrupt:
|
|
|
|
pass
|