Next: xmcheckbox, Previous: xmbottomshadowcolor, Up: Internal Routines [Contents][Index]
xmbutton(parent, label, callback [, font,
color])
[motif package]
Creates a button widget in the parent
and
returns its widget id. A button widget consists of a raised rectangle
with a label on it. When the button is pressed, its appearance changes
from raised to depressed and back again. label
is the
button’s label (a string), and callback
the callback string
to be executed when the button is pressed. A font
and
color
(both strings) can also be specified.