Joachim Backes <[EMAIL PROTECTED]> writes:

> Hi,
> 
> is it possible to influence the window managers (mwm for example) by a running
> GTK+ application, so that the menus in the WM frames can be shortened or removed 
>(similar to
> Motif application resources like XmNmwmDecorations or XmNmwmFunctions).
> 
> Any help appreciated.

The MWM hints are supported by the following functions:

void          gdk_window_set_decorations (GdkWindow       *window,
                                          GdkWMDecoration  decorations);
void          gdk_window_set_functions   (GdkWindow       *window,
                                          GdkWMFunction    functions);

There is an example of using set_decorations() in gtk/testgtk.c

Regards,
                                        Owen

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to