class MainControlWindow (gtk.Window):
- #Callbacks for new positions
- newPosCbs = []
-
- def __init__(self, dbgterm, quitonclose=True):
+ def __init__(self, dbgterm):
#Set up GTK stuff
gtk.Window.__init__(self)
- if quitonclose:
- self.connect("destroy", lambda *w: gtk.main_quit() )
+ self.connect("destroy", lambda *w: gtk.main_quit() )
+
+ #Callbacks for new positions
+ self.newPosCbs = []
#Set terminals
self.dbgterm = dbgterm
self.add(vbox)
#Button box
- hbtnbox = gtk.HButtonBox()
- hbtnbox.set_layout(gtk.BUTTONBOX_START)
+ hbtnbox = gtk.HBox(False, spacing=5)
+ #hbtnbox.set_layout(gtk.BUTTONBOX_START)
vbox.pack_start(hbtnbox)
self.runBtn = gtk.Button("Run")