Trying to receive MOTIF_WM_MESSAGES using GTK

2007-02-12 Thread JM
I'm creating an app using GTK+2.0 but running within the Motif Window Manager. I have an .Xdefaults file where I have added a "f.send_msg" entry to add my own menu option. However, I do not know how to register and listen for _MOTIF_WM_MESSAGES. I've seen examples but they are written in X.

XtVaSetValues equivalent for Gtk/Gdk/Glib

2007-05-26 Thread JM
I'm using the Motif Window Manager and am constructing my GUI windows using Gtk-2.0. I need to add some custom menu items to the windows and can do this by modifying the ".mwmrc" file. However, I need to add a custom protocol and was wondering how to connect the protocol to the menu item. If I w