Re: Contacting the window manager by gtk apps
- From: Owen Taylor <otaylor redhat com>
- To: Joachim Backes <backes rhrk uni-kl de>
- Cc: Gtk <gtk-list redhat com>
- Subject: Re: Contacting the window manager by gtk apps
- Date: 18 Nov 1999 09:20:04 -0500
Joachim Backes <backes@rhrk.uni-kl.de> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]