Kaydet (Commit) cbe6b53e authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst db46c0e4
...@@ -27,6 +27,7 @@ class AbstractParent(): ...@@ -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(): ...@@ -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()
......
...@@ -27,6 +27,7 @@ class AbstractParent(): ...@@ -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(): ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment