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

motif_primitive(motif) Motif motif_primitive(motif)

NAME

motif_primitive - abstract superclass for other widgets.

DESCRIPTION

Primitive is a supporting superclass for other widget classes. It handles border drawing and highlighting, travesal activation, and various callbacks needed by Primitive widgets.

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

SUPERCLASS

motif

INSTANCE VARIABLES

help_action is an action that is executed when the help key sequence is pressed.

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.

EXAMPLES

For examples, consult the man page for any motif primitive subclass.

SEE ALSO

motif, motif_label, motif_cascade_button, motif_drawn_button, motif_push_button, motif_toggle_button, motif_arrow_button, motif_list, motif_scroll_bar, motif_separator, motif_text


Please send comments and suggestions to
consult@rpi.edu