#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Thu, 12 Dec 2019 14:16:38 +0100
changeset 8919 6358b8ed504a
parent 8918 fc1e63310a48
child 8920 142ed1f3e61e
#FEATURE by cg class: TopView added: #processOutsideButtonEventWhileModal:
TopView.st
--- a/TopView.st	Wed Dec 11 19:44:23 2019 +0100
+++ b/TopView.st	Thu Dec 12 14:16:38 2019 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1995 by Claus Gittinger
 	      All Rights Reserved
@@ -624,6 +626,16 @@
     "Modified: / 31-10-2007 / 01:48:50 / cg"
 !
 
+processOutsideButtonEventWhileModal:anEvent
+    "a button event (press/release) arrived for another view,
+     while I (a topView) am open as modal view.
+     Can be redefined to react on clicks outside (eg. CriticsWindow);
+     if handled, the redefining method should return true.
+     If not handled, it should return false."
+
+    ^ false
+!
+
 showActivity:someMessage
     "some activityNotification shalt be communicated to the user.
      The default here is to ignore it,