terminator/test.py

18 lines
254 B
Python
Raw Normal View History

#!/usr/bin/python
import gtk
from terminatorlib.factory import Factory
maker = Factory()
window = maker.make('Window')
term = maker.make('Terminal')
window.add(term)
window.show()
term.spawn_child()
try:
gtk.main()
except KeyboardInterrupt:
pass