Re: Iconifying windows



On Tue, 19 Mar 2002 18:21:37 +0100, Dr. Peter Rottengatter <peter arisia rottengatter de> wrote:

On 18 Mar 2002 17:27:50 -0500, Havoc Pennington <hp redhat com> wrote:

Just added some code that supplies a pixmap for iconifying my app. When testing it,
I noticed only the main window can be iconified in the first place; the other
windows do not get iconify buttons, and they do no react in any way if I use other
means to tell the WM to iconify it.

Some window managers don't allow iconifying dialog windows.
Often they will iconify the dialog along with the main window.

Fine, if it (window maker) did. But it doesn't. I might not have asked this in the 
first place if I hadn't observed many other apps providing an iconify to "secondary"
windows. Sylpheed is a GTK+ program doing it, the "Message View" (double-click on the 
message opens it), the "Compose" and "Reply" functions all open windows with an
iconify button. Then, on the other hand, you're talking dialogs, where this makes
sense. At least with Glade terminology, most of my windows aren't dialogs.

OK, here's the solution. Even though Glade uses the "Top-Level" icon to display the
window's data, it was really a dialog. Changed that flag explicitly and iconifying
works now. This could be called a bug in Glade I suppose.

Thanks to everyone trying to help.


Cheers  Peter
-- 
---------------------------------------------------------------------
      Dr. Peter Rottengatter       peter rottengatter de
                                   http://www.rottengatter.de
---------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]