[comp.windows.x.motif] Replace action routine.

edmark@ISI.COM (Ron O. Edmark) (04/12/91)

I want to replace the text widgets "beep" action routine with one of
my own that not only beeps but also displays a warning message.

I have tried using XtAppAddActions but my routine did not get called.
What should I be doing?

eg.

static XtActionsRec text_action[]= {{"beep", (XtActionProc) myBeep}};

XtAppAddAction(app, text_action, XtNumber(text_action));

Thanks in advance.

    +---------------------------------------------------------------------+
    | Ron Edmark                          User Interface Group            |
    | Tel:        (408) 980-1500 x282     Integrated Systems, Inc.        |
    | Internet:   edmark@isi.com          2500 Mission College Blvd.      |
    | Voice mail: (408) 980-1590 x282     Santa Clara, CA 94054           |
    +---------------------------------------------------------------------+