def __init__(self, user): self.user = user self.parent = Tk() self.parent.title('StaffCredentials - Modelled') self.parent.geometry("250x250") gui.MainConstructor(self) gui.StaffLogin_AddStuff(self)
def BuildConstruct(self, parent): self.parent = parent self.parent.title('Log In - Modelled') self.parent.geometry("330x230") gui.MainConstructor(self) gui.AddFrames(self) gui.AddLabel(self) gui.AddEntrys(self) gui.AddButtons(self)
def __init__(self): self.parent = Tk() self.parent.title('Modelling Protocols') self.parent.geometry("250x320") gui.MainConstructor(self) gui.AddFrames(self) gui.MainMenu_AddLstBox(self) gui.MainMenu_AddButton(self) gui.PopProtocols(self, PROTOCOLS)
def __init__(self): self.parent = Tk() self.parent.title('View Source Code (Staff Only)') self.parent.geometry("250x320") gui.MainConstructor(self) gui.AddFrames(self) gui.MainMenu_AddLstBox(self) gui.MainMenu_AddButton(self) gui.AddSources(self, SOURCEFILES, STAFFPM)
def __init__(self): self.parent = Tk() self.parent.title('Help') self.parent.geometry("250x320") gui.MainConstructor(self) gui.AddFrames(self) gui.MainMenu_AddLstBox(self) gui.MainMenu_AddButton(self) gui.PopMenu(self, STAFFPM, MAINMENU)
def __init__(self): self.parent = Tk() self.parent.title('Load Previous') self.parent.geometry("250x320") gui.MainConstructor(self) gui.AddFrames(self) gui.MainMenu_AddLstBox(self) gui.MainMenu_AddButton(self) self.DirLst = os.listdir('SavedSessions') gui.AddSources(self, self.DirLst, STAFFPM)
def __init__(self, OwnAcc, CMD): self.CMD = CMD if OwnAcc: self.parent = Tk() self.parent.title('Input Gmail Details') self.parent.geometry("330x230") gui.MainConstructor(self) gui.AddFrames(self) gui.AddLabel(self) gui.AddEntrys(self) gui.MainMenu_AddButton(self) else:pass