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

motif_message_box(motif) Motif motif_message_box(motif)

NAME

motif_message_box - a widget for reporting messages

DESCRIPTION

An MessageBox is a widget used to create simple message dialogs.

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

SUPERCLASS

motif_bulletin_board

INSTANCE VARIABLES

MESSAGES

If the widget underlying the object has not yet been created when a message that returns a widget id is sent, a create! message is sent to the object. Be aware that all actions and some resources must be set before widget creation.

cancel_id? returns the id of the cancel button widget.

default_id? returns the id of the default button widget.

help_id? returns the id of the help button widget.

message_label_id? returns the id of the message label widget.

ok_id? returns the id of the ok button widget.

separator_id? returns the id of the separator button widget.

symbol_label_id? returns the id of the symbol label widget.

@ 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

SEE ALSO

motif, motif_bulletin_board


Please send comments and suggestions to
consult@rpi.edu