Next Previous Up Top Contents Index

9.4 DUIM-Frames Module

make

G.f. method

Summary

Creates an instance of a <frame>.

Signature

make (class == <frame>) 
#key top-level command-queue layout icon
pointer-documentation command-table menu-bar tool-bar
status-bar title calling-frame top-level-sheet state
geometry resizable? properties thread event-queue
foreground background text-style palette save-under?
drop-shadow? dialog-for
=> simple-frame

Arguments

class
The class <frame>.

top-level
An instance of type false-or(<sheet>). Default value: #f.

command-queue
An instance of type false-or(<event-queue>). Default value: #f.

layout
An instance of type false-or(<sheet>). Default value: #f.

icon
An instance of type false-or(<image>). Default value: #f.

pointer-documentation

An instance of type false-or(<string>). Default value: #f.

command-table
An instance of type false-or(<command-table>). Default value: #f.

menu-bar
An instance of type false-or(<menu-bar>). Default value: #f.

tool-bar
An instance of type false-or(<tool-bar>). Default value: #f.

status-bar
An instance of type false-or(<status-bar>). Default value: #f.

title
An instance of type false-or(<string>). Default value: #f.

calling-frame
An instance of type false-or(<frame>). Default value: #f.

state
An instance of type one-of(#"detached", #"unmapped", #"mapped", #"iconified"). Default value: #"detached".

geometry
An instance of type <vector>. Default value: vector(#f, #f, #f, #f).

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

properties
An instance of type <stretchy-object-vector>. Default value: make(<stretchy-vector>).

thread
An instance of type false-or(<thread>). Default value: #f.

event-queue
An instance of type false-or(<event-queue>). Default value: #f.

foreground
An instance of type false-or(<ink>). Default value: #f.

background
An instance of type false-or(<ink>). Default value: #f.

text-style
An instance of type false-or(<text-style>). Default value: #f.

palette
An instance of type false-or(<palette>). Default value: #f.

save-under?
An instance of type <boolean>. Default value: #f.

drop-shadow?
An instance of type <boolean>. Default value: #f.

dialog-for
An instance of type <dialog-frame>.

Values

simple-frame
An instance of type <frame>.

Library

duim-frames

Module

duim-frames

Description

Creates and returns an instance of <frame> or one of its subclasses.

The top-level argument specifies the top-level command-loop in which the frame runs.

The command-queue argument specifies a command-queue for the frame.

The layout argument specifies a layout for the frame.

The icon argument specifies an icon that will be used when the frame is iconized. In all current versions of Windows, this icon is also visible in the left hand corner of the title bar of the frame when it is not iconized.

The pointer-documentation argument specifies pointer-documentation for the frame.

The command-table argument specifies a command table for the frame.

The menu-bar argument specifies a menu bar for the frame.

The tool-bar argument specifies a tool bar for the frame.

The status-bar argument specifies a status bar for the frame.

The title argument specifies a title for the frame.

The calling-frame argument specifies a calling frame for the frame.

The state argument specifies a frame-state. The frame can be mapped or unmapped (that is, visible on the screen, or not), iconified, or detached.

The geometry argument specifies a for the frame. The four components of this keyword represent the x and y position of the frame, and the width and height of the frame, respectively.

The resizable? argument specifies whether or not the frame is resizable.

The properties argument specifies properties for the frame.

The thread argument specifies the thread in which the frame will run. See the Library Reference: Core Features manual for full details about how threads are handled.

The event-queue specifies an event-queue for the frame.

The arguments foreground and background specify a foreground color for the frame. In addition, text-style specifies a text style for the frame, and palette specifies a color palette for the frame.

See also

<frame>, page 787


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index