[Zope3-dev] Re: [AdaptersForMenuItems] Disabling and menu item icons
Jim Fulton
jim at zope.com
Mon Jan 12 08:58:58 EST 2004
Caseman wrote:
> ++added:
>
>>From Caseman Mon Jan 12 09:28:00 US/Eastern 2004 From: Caseman Date:
> 2004/01/12 09:28 EST Subject: Disabling and menu item icons
> Message-ID: <20040112092846EST at dev.zope.org>
>
> I noticed that menu items lack an ability to be marked disabled (i.e.,
> still visible but dimmed and not selectable). From the doc string it
> seems that 'available()' means that the item should not be displayed
> at all.
Right.
So, would you suggest another filter to control whether an item is enabled?
> I'm assuming that menus could also be used to define toolbars, which
> would require icons. There is also a convention in modern GUIs for
> many menus to include icons.
Good point.
> Perhaps both of these should be configured with the view rather than
> with the menu itself. Either way I think both are pretty important to
> support.
I think it makes the most sense to configure these are part of the menu
item definition. This can be an additional feature of the browser menu item
type.
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list