<<<<<<<<<<<<<<<<<

motif_paned_window(motif) Motif motif_paned_window(motif)

NAME

motif_paned_window - a tiled composite widget

DESCRIPTION

A PanedWindow is a composite widget that lays out children in a vertically tiled format.

For a more complete description of this Motif widget, consult "OSF/Motif Programmer's Reference."

SUPERCLASS

motif_manager

INSTANCE VARIABLES

MESSAGES

@ resource selects resource for a subsequent set or query.

: value sets the current resource to value. Since most resources have mixed case, you should enclose any resource name in quotes. Resource names are the Motif names with the XmN prefix removed. Some resources can only be set before the widget is created. For efficiency, set as many resources as you can before creation.

scalar_value? returns the value of the current resource whose type is integer.

string_value? returns the value of the current resource whose type is string.

pointer_value? returns the value of the current resource whose type is a pointer of any kind.

create! creates an instance of the widget. Any resources that have been specified prior to the create! will be set. An id? message also sends a create!.

on! realizes the widget. Realizing a widget creates its windows and displays it when it is managed.

EXAMPLE

/* Illustrate a paned window */ /* In: scripts/motif/panedwindow.scr */

<motifinit motif application="Paned Window Example" create! ; motif_paned_window new: aPanedWindow parent=motif create! ; motif_message_box new: box1 parent=aPanedWindow @ "messageString" : "This is a place for a message" create! ; motif_message_box new: box2 parent=aPanedWindow @ "messageString" : "This is a place for another message. It can even be on two or more lines." create! ; motif on! start!;

SEE ALSO

motif, motif_manager


Please send comments and suggestions to
consult@rpi.edu