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 | |
---|
3 | import pygtk |
---|
4 | pygtk.require('2.0') |
---|
5 | import gtk, vte |
---|
6 | |
---|
7 | window = gtk.Window() |
---|
8 | window.resize(600,700) |
---|
9 | window.show() |
---|
10 | |
---|
11 | term = vte.Terminal() |
---|
12 | pid = term.fork_command('icp') |
---|
13 | term.set_emulation('xterm') |
---|
14 | term.show() |
---|
15 | |
---|
16 | window.add(term) |
---|
17 | window.show_all() |
---|
18 | window.connect("destroy", lambda w: gtk.main_quit()) |
---|
19 | gtk.main() |
---|
20 | |
---|
21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.