Next Previous Up Top Contents Index

9.4 DUIM-Frames Module

exit-frame

Generic function

Summary

Unmaps the specified frame destroying it required.

Signature

exit-frame frame #key destroy? => ()

Arguments

frame
An instance of type <frame>.

destroy?
An instance of type <boolean>. Default value: #t.

Values

None

Library

duim-frames

Module

duim-frames

Description

Unmaps frame, removing the associated sheet and its children from the screen. If destroy? is true, then the frame is destroyed completely, via a call to destroy-frame.

If destroy? is #t, then dialog is destroyed.

Example

The following example creates a simple frame, then displays it and exits it. You should run this code in the interactor, pressing the RETURN key at the points indicated.

define variable *frame* = 
   make(<simple-frame>, title: "A frame", 
        layout: make(<button>));RETURN
start-frame(*frame*);RETURN
exit-frame(*frame*);RETURN

See also

destroy-frame, page 744

frame-can-exit?, page 793

<frame-exited-event>, page 798

<frame-exit-event>, page 799

frame-mapped?-setter, page 807

start-frame, page 850


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index