ApplicationModel.st
changeset 4408 5a393a69f858
parent 4391 87ceb93d9ad1
child 4428 5111a837d71c
--- a/ApplicationModel.st	Tue Dec 10 12:50:09 2019 +0100
+++ b/ApplicationModel.st	Fri Dec 13 11:55:04 2019 +0100
@@ -3378,6 +3378,18 @@
 preOpenWith:aBuilder
     "this is sent before the applications main window is opened.
      Can be redefined in subclasses for actions right before opening the view."
+!
+
+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
+
+    "Created: / 13-12-2019 / 11:54:28 / Stefan Reise"
 ! !
 
 !ApplicationModel methodsFor:'initialization'!