Next Previous Up Top Contents Index

9.4 DUIM-Frames Module

set-frame-size

Generic function

Summary

Sets the size of the specified frame.

Signature

set-frame-size frame width height => ()

Arguments

frame
An instance of type <frame>.

width
An instance of type <integer>.

height
An instance of type <integer>.

Values

None

Library

duim-frames

Module

duim-frames

Description

Sets the size of frame.

Example

The following example creates and displays a simple frame, then resizes 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>, label: "Button"));RETURN
set-frame-size(*frame*, 100, 500);RETURN

See also

frame-size, page 814

set-frame-position, page 845


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index