]>
git.sthu.org Git - pygdb.git/blob - ClientIOTerminal.py
12 class ClientIOWindow (gtk
.Window
):
15 def __init__(self
, parent
, pty_master
):
18 gtk
.Window
.__init
__(self
)
19 self
.set_screen(parent
.get_screen())
22 #Set title and add terminal
23 self
.set_title("Client I/O")
24 self
.terminal
= ClientIOTerminal(pty_master
)
25 self
.add(self
.terminal
)
33 class ClientIOTerminal(vte
.Terminal
):
35 def __init__(self
, pty_master
):
36 vte
.Terminal
.__init
__(self
)
37 self
.set_pty(pty_master
)
39 fontdesc
= pango
.FontDescription("monospace 9")
40 self
.set_font(fontdesc
)