added #fullyRealized
authorClaus Gittinger <cg@exept.de>
Thu, 07 Oct 1999 13:19:18 +0200
changeset 2954 0182e5ac0247
parent 2953 f9c1d464cb29
child 2955 8b8000553767
added #fullyRealized
GraphicsMedium.st
--- a/GraphicsMedium.st	Thu Oct 07 12:46:17 1999 +0200
+++ b/GraphicsMedium.st	Thu Oct 07 13:19:18 1999 +0200
@@ -114,6 +114,14 @@
     height := extent y
 !
 
+fullyRealized
+    "return true, if the receiver is realized and all containers
+     are realized."
+
+    ^ self realized
+
+!
+
 height
     "return the height of the receiver"
 
@@ -145,7 +153,9 @@
 !
 
 realized
-    "return true, if the receiver is realized"
+    "return true, if the receiver is realized.
+     The receiver may still be unmapped, if the container is unrealized.
+     Use fullyRealized to make certain that I am really mapped."
 
     ^ realized
 !
@@ -313,5 +323,5 @@
 !GraphicsMedium class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/GraphicsMedium.st,v 1.9 1999-10-06 22:31:55 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/GraphicsMedium.st,v 1.10 1999-10-07 11:19:18 cg Exp $'
 ! !