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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 17:07:45 GMT