New: getwindow() parent method and realize() child method.

This commit is contained in:
Guido van Rossum 1991-04-07 13:31:53 +00:00
parent db46c0e4f8
commit cbe6b53e1b
2 changed files with 4 additions and 0 deletions

View file

@ -27,6 +27,7 @@ class AbstractParent():
# #
def begindrawing(self): return unimpl() def begindrawing(self): return unimpl()
def beginmeasuring(self): return unimpl() def beginmeasuring(self): return unimpl()
def getwindow(self): return unimpl() # Only for very special cases
# #
def change(self, area): unimpl() def change(self, area): unimpl()
def scroll(self, (area, (dh, dv))): unimpl() def scroll(self, (area, (dh, dv))): unimpl()
@ -38,6 +39,7 @@ class AbstractChild():
# #
def destroy(self): unimpl() def destroy(self): unimpl()
# #
def realize(self): return unimpl()
def minsize(self, m): return unimpl() def minsize(self, m): return unimpl()
def getbounds(self): return unimpl() def getbounds(self): return unimpl()
def setbounds(self, bounds): unimpl() def setbounds(self, bounds): unimpl()

View file

@ -27,6 +27,7 @@ class AbstractParent():
# #
def begindrawing(self): return unimpl() def begindrawing(self): return unimpl()
def beginmeasuring(self): return unimpl() def beginmeasuring(self): return unimpl()
def getwindow(self): return unimpl() # Only for very special cases
# #
def change(self, area): unimpl() def change(self, area): unimpl()
def scroll(self, (area, (dh, dv))): unimpl() def scroll(self, (area, (dh, dv))): unimpl()
@ -38,6 +39,7 @@ class AbstractChild():
# #
def destroy(self): unimpl() def destroy(self): unimpl()
# #
def realize(self): return unimpl()
def minsize(self, m): return unimpl() def minsize(self, m): return unimpl()
def getbounds(self): return unimpl() def getbounds(self): return unimpl()
def setbounds(self, bounds): unimpl() def setbounds(self, bounds): unimpl()