source: sans/utils/bt5/icpgui-test/test-terminal.py @ 349

Last change on this file since 349 was 150, checked in by ajj, 16 years ago

Moving icpgui to icpgui-test

  • Property svn:executable set to *
File size: 328 bytes
Line 
1#!/usr/bin/python
2
3import pygtk
4pygtk.require('2.0')
5import gtk, vte
6
7window = gtk.Window()
8window.resize(600,700)
9window.show()
10
11term  = vte.Terminal()
12pid   = term.fork_command('icp')
13term.set_emulation('xterm')
14term.show()
15
16window.add(term)
17window.show_all()
18window.connect("destroy", lambda w: gtk.main_quit())
19gtk.main()
20
21
Note: See TracBrowser for help on using the repository browser.