18 lines
254 B
Python
Executable File
18 lines
254 B
Python
Executable File
#!/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
|