def __init__(self): self.my_locals={'lb': lb} completion.__init__(self, self.my_locals) self.cue_proxies={} self.attribute_widgets={} self.live_updates=0 self.cue = None self.initialized = 0 self.child_windows=[] self.cue_menu_handler_id = None
def __init__(self): self.my_locals = {'lb': lb} completion.__init__(self, self.my_locals) self.cue_proxies = {} self.attribute_widgets = {} self.live_updates = 0 self.cue = None self.initialized = 0 self.child_windows = [] self.cue_menu_handler_id = None
def __init__(self, myname): completion.__init__(self, {'lb':self}) self.show='unnamed' self.name=myname self.datafile=None __builtins__['lb']=self self.orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) self.poa = self.orb.resolve_initial_references("RootPOA") nsi=self.orb.resolve_initial_references("NameService") ns = nsi._narrow(CosNaming.NamingContext) self.root_naming = ns self.do_bindings() self.poa._get_the_POAManager().activate() t=Thread (target=self.orb.run) t.start() self.check_cores() self.create_window()
def __init__(self, myname): completion.__init__(self, {"lb": self}) self.show = "unnamed" self.name = myname self.datafile = None __builtins__["lb"] = self self.orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) self.poa = self.orb.resolve_initial_references("RootPOA") nsi = self.orb.resolve_initial_references("NameService") ns = nsi._narrow(CosNaming.NamingContext) self.root_naming = ns self.do_bindings() self.poa._get_the_POAManager().activate() t = Thread(target=self.orb.run) t.start() self.check_cores() self.create_window()