"Pavlik, Brian (B.S.)" <bpavl...@ford.com> writes:

> Hi Dan,
>
> I have several X-Windows/Motif programs written in C that run on
> OpenVMS, Tru64 and Solaris that use MWM and I'm porting to Suse Linux
> that uses FVWM.
>
> When each of these programs first begins execution, their menus and
> decorations are changed using calls into XmNmwmMenu and

I found documentation that says:

XmNmwmMenu
    Specifies the menu items that the Motif window manager should add to
    the end of the window menu. The string contains a list of items
    separated by \n with the following format: ...

I don't think fvwm does that and I don't remember anyone asking for it.

If you can change some code, Fvwm does have ways to add to menus.

> XmAddProtocolCallback.

XmAddProtocolCallback - A VendorShell function that adds client
callbacks for a protocol

Not sure how fvwm would be involved with that.

> This works on MWM, but not on FVWM.
>
> How do I get FVWM to change the menu and add a menu with a callback 
> programmatically from within my X-windows/Motif C-program?

>From the command line:

  FvwmCommand AddAToMenu ...

so, do a system call.

-- 
Dan Espen

Reply via email to