Next Previous Up Top Contents Index

9.4 DUIM-Frames Module

frame-size

Generic function

Summary

Returns the size of the specified frame.

Signature

frame-size frame => width height

Arguments

frame
An instance of type <frame>.

Values

width
An instance of type <integer>.

height
An instance of type <integer>.

Library

duim-frames

Module

duim-frames

Description

Returns the size of frame, measured in pixels.

Example

The following example creates a simple frame, then displays it and tests its size. 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
frame-size(*frame*);RETURN

See also

frame-position, page 812

frame-state, page 814

set-frame-size, page 845


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index