If you have a GdkWindow, you can tell the window manager to disable the minimize button with MWM hints using gdk_window_set_functions along with GDK_FUNC_MINIMIZE.
On Fri, Jun 21, 2013 at 3:52 PM, Mitchell Verter <mitchell.ver...@gmail.com>wrote: > Is there any way to remove the "Minimize" button by hacking the > gtk+-2.24.18 code, or at least to prevent it from minimizing? > > I have been fiddling around with gtkwindow.c and gtkwindow-decorate.c, > playing with gtk_window_iconify() and GtkWindow:decorated (Whether the > window should be decorated by the window manager) but nothing seems to be > working. > > I've read online that it's not, in fact, possible , and that this is > controlled by the window manager. But I wanted to ask here before I gave > up. > > The system we are working on is Ubuntu 11.04. I believe the window > manager is Metacity. > > Thanks > Mitchell > > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-list > > -- Jasper
_______________________________________________ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list