[Top][All Lists]

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

Re: menu-bar: disable items when no frame visible

From: Jan D.
Subject: Re: menu-bar: disable items when no frame visible
Date: Mon, 12 Dec 2005 09:23:51 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Richard M. Stallman wrote:

   > Does this mean you can have several detached GTK menus,
   > each detached from a different frame?


So I guess it is necessary to make operations on each detached menu
work on its associated frame, and to make the enabling and disabling
of items in that menu depend on its associated frame.

Jan, could you DTRT?

It should be so already. Code-wise there is no difference between a menu bar menu and a detached menu, so if enabling/disabling works for the menu bar, it should work for detached menus also. Are there cases where this doesn't work?

When a frame is iconified, the detached menus are (or should be) iconified as well. This is done by the GTK toolkit.

   Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]