~olivier-roulet/terminator/dbusextended

« back to all changes in this revision

Viewing changes to test.py

  • Committer: Chris Jones
  • Date: 2010-01-05 10:07:35 UTC
  • mto: (775.1.243 epicrefactor)
  • mto: This revision was merged to the branch mainline in revision 803.
  • Revision ID: cmsj@tenshu.net-20100105100735-hfi9e1ig2aecuxhc
Various tidying, version and packaging updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
 
 
3
 
import gtk
4
 
from terminatorlib.factory import Factory
5
 
 
6
 
maker = Factory()
7
 
window = maker.make('Window')
8
 
term = maker.make('Terminal')
9
 
 
10
 
window.add(term)
11
 
window.show()
12
 
term.spawn_child()
13
 
 
14
 
try:
15
 
  gtk.main()
16
 
except KeyboardInterrupt:
17
 
  pass