awalter1 wrote: > Hello, > > In my application python/gtk, I want to inhibate the item "close" from the > standard menu available in all windows (bottom up of the window) and that > allows actions as : minimize, maximise, ... close. > If it is not possible to do that, which signal may I connect to be wake up ? > > I've found the signal "delete-event" to catch the "close" action, but it is > required to connect it for each windows that is a little bit heavy for my > Application. > Thanks for your help > Try the gtk.gdk.Window.set_functions() method to see if that works with your window manager. Not all window managers will honor the request.
John. John _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
