eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SimpleView::BoxClosedNotificationSignal':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: BoxClosedNotificationSignal (private in SimpleView

This class is only visible from within SimpleView.

Inheritance:

   Object
   |
   +--GenericException
      |
      +--Notification
         |
         +--ProceedingNotification
            |
            +--SimpleView::BoxClosedNotificationSignal

Package:
stx:libview
Category:
Views-Basic
Owner:
SimpleView

Description:


this is a hook notification, raised right after a dialog box has been closed.
This allows for standard dialogs (such as confirmers, choosers or notifiers) to
be wrapped by other programs.

i.e. its typical use is like:
    DialogBox boxClosedNotificationSignal handle:[:ex |
        Transcript showCR:'box closed'
    ] do:[
        DialogBox aboutToOpenBoxNotificationSignal handle:[:ex |
            Transcript showCR:'box about to open'
        ] do:[
            Dialog information:'This is a standard information box.'.
        ].
    ].

    DialogBox boxClosedNotificationSignal handle:[:ex |
        Transcript showCR:'box closed'
    ] do:[
        DialogBox aboutToOpenBoxNotificationSignal handle:[:ex |
            Transcript showCR:'box about to open'
        ] do:[
            Dialog confirm:'Yes or No.'.
        ].
    ].


Instance protocol:

accessing
o  box



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sat, 27 Apr 2024 04:59:15 GMT