Ejemplo n.º 1
0
 def __init__(self):
     Server.__init__(self, self.REQUEST_PORT, self.ANSWER_PORT)
     import gtk
     import pygtk
     import sys
     self.textview = gtk.TextView()
     #self.textview.set_editable(False)
     self.buffer = self.textview.get_buffer()
     self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
     self.viewport = gtk.Viewport()
     self.viewport.add(self.textview)
     self.sw = gtk.ScrolledWindow()
     self.window.connect("destroy", gtk.main_quit)
     self.window.set_title("stdout and stderr")
     self.sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
     self.sw.add(self.viewport)
     self.window.add(self.sw)
     self.window.show_all()
     self.window.maximize()
Ejemplo n.º 2
0
 def __init__(self, port, name):
     import gtk
     import pygtk
     import sys
     Server.__init__(self, port, None)
     self.textview = gtk.TextView()
     self.port = port
     gtkstatuswindow.port = port
     #self.textview.set_editable(False)
     self.buffer = self.textview.get_buffer()
     self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
     self.buffer.set_text("Status Window")
     self.viewport = gtk.Viewport()
     self.viewport.add(self.textview)
     self.sw = gtk.ScrolledWindow()
     self.window.connect("destroy", gtk.main_quit)
     self.window.set_title(name)
     self.sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
     self.sw.add(self.viewport)
     self.window.add(self.sw)
     self.window.show_all()
Ejemplo n.º 3
0
 def __init__(self):
     Server.__init__(self, self.REQUEST_PORT, self.ANSWER_PORT)
     self.archive = MasterArchive()
Ejemplo n.º 4
0
 def __init__(self):
     Server.__init__(self, self.REQUEST_PORT, self.ANSWER_PORT)
     self.bib = Bibliography()
     self.lock = threading.RLock()
     buildthread = CiteBibBuild(self.lock, self.bib)
     buildthread.start()
Ejemplo n.º 5
0
 def __init__(self):
     Server.__init__(self, self.REQUEST_PORT, self.ANSWER_PORT)
     self.selenium = selenium("localhost", 4444, "*chrome", "http://www.ccc.uga.edu")
     self.selenium.start()
Ejemplo n.º 6
0
 def __init__(self):
     Server.__init__(self, self.REQUEST_PORT, self.ANSWER_PORT)
     #start selenium running
     import os
     import time
     self.selenium = selenium("localhost", 4444, "*chrome", "http://apps.isiknowledge.com/")