ok, so i've pretty much finished everything, but i'm having a little problem with creating a popup dialog box.
i've defined a new class called DialogBox which looks like this
however every time i try to call that function(self.d ialogbox=Dialog Box(None)) in another class i keep getting the error.
global name 'DialogBox' is not defined
i've defined a new class called DialogBox which looks like this
Code:
class DiaglogBox:
def __init__(self, master):
if self.entryframe.win==True:
self.win()
else:
self.lose()
global name 'DialogBox' is not defined
Comment