def __init__(self): # gladeXml.__init__(self) rawWindow.__init__(self) MyXML.__init__(self) messages.__init__(self) self.Search = False # xmlrpc.__init__(self) self.ModulNumber = 1 self.MN = {} self.MN["Mainwindow"] = 10 self.MN["Client"] = 1000 self.MN["Address"] = 2000 self.MN["Address_info"] = 2001 self.MN["Partner"] = 2100 self.MN["Partner_info"] = 2101 self.MN["Partner_Schedul_info"] = 2102 self.MN["Articles"] = 3000 self.MN["Order"] = 4000 self.MN["Stock"] = 5000 self.MN["Staff"] = 6000 self.MN["StaffFee"] = 6100 self.MN["Project"] = 14000 self.MN["DMS"] = 11000 self.MN["Biblio"] = 12000 self.MN["AI"] = 13000 self.doEdit = -1 self.noEdit = -1 self.sWhereStandard = "" self.sWhereSearch = None self.sepInfo = {} self.checkClient() self.testV = "Hallo" self.rpc = cuon.XMLRPC.xmlrpc.myXmlRpc() # x = self.rpc.callRP('src.XML.py_readDocument','cuon_addresses') self.DataEntries = {} self.tabOption = 0 # self.setLogLevel(0) self.actualEntries = None self.win1 = None self.editAction = "closeMenuItemsForEdit" self.editEntries = False self.dicKeys = {} self.dicKeys["CTRL"] = gtk.gdk.CONTROL_MASK self.dicKeys["SHIFT"] = gtk.gdk.SHIFT_MASK self.dicKeys["ALT"] = gtk.gdk.MOD1_MASK self.dicKeys["NONE"] = 0
def __init__(self, servermod=False): # gladeXml.__init__(self) constants.__init__(self) rawWindow.__init__(self, servermod) self.Find = False self.lastTab = -1 self.servermod = servermod MyXML.__init__(self) messages.__init__(self) self.Search = False self.cursor = None # xmlrpc.__init__(self) self.FirstInit = True self.ModulNumber = 1 self.AutoInsert = False self.OrderStatus = {} self.OrderStatus["ProposalStart"] = 300 self.OrderStatus["ProposalEnd"] = 399 self.doEdit = -1 self.noEdit = -1 self.oldTab = -1 self.sWhereStandard = "" self.sWhereSearch = None self.sepInfo = {} self.checkClient() self.testV = "Hallo" self.rpc = cuon.XMLRPC.xmlrpc.myXmlRpc() # x = self.rpc.callRP('src.XML.py_readDocument','cuon_addresses') self.DataEntries = {} self.tabOption = 0 # self.setLogLevel(0) self.actualEntries = None self.editAction = "closeMenuItemsForEdit" self.editEntries = False self.dicKeys = {} self.dicKeys["CTRL"] = gtk.gdk.CONTROL_MASK self.dicKeys["SHIFT"] = gtk.gdk.SHIFT_MASK self.dicKeys["ALT"] = gtk.gdk.MOD1_MASK self.dicKeys["NONE"] = 0 # as an example, make ctrl+e focus the widget "entry": # entry.add_accelerator("grab_focus", accel_group, 'e', # gtk.GDK.CONTROL_MASK, 0) self.NameOfTree = "tree1" self.sb_id = None
def __init__(self): #gladeXml.__init__(self) rawWindow.__init__(self) MyXML.__init__(self) messages.__init__(self) self.Search = False #xmlrpc.__init__(self) self.ModulNumber = 1 self.MN = {} self.MN['Mainwindow'] = 10 self.MN['Client'] = 1000 self.MN['Address'] = 2000 self.MN['Partner'] = 2100 self.MN['Articles'] = 3000 self.MN['Order'] = 4000 self.MN['Stock'] = 5000 self.MN['Staff'] = 6000 self.MN['StaffFee'] = 6100 self.MN['Project'] = 14000 self.MN['DMS'] = 11000 self.MN['Biblio'] = 12000 self.MN['AI'] = 13000 self.doEdit = -1 self.noEdit = -1 self.sWhereStandard = '' self.sWhereSearch = None self.sepInfo = {} self.checkClient() self.testV = "Hallo" self.rpc = cuon.XMLRPC.xmlrpc.myXmlRpc() # x = self.rpc.callRP('src.XML.py_readDocument','cuon_addresses') self.DataEntries = { } self.tabOption = 0 # self.setLogLevel(0) self.actualEntries = None self.win1 = None self.editAction = 'closeMenuItemsForEdit' self.editEntries = False self.dicKeys = {} self.dicKeys['CTRL'] = gtk.gdk.CONTROL_MASK self.dicKeys['SHIFT'] = gtk.gdk.SHIFT_MASK self.dicKeys['ALT'] = gtk.gdk.MOD1_MASK self.dicKeys['NONE'] = 0