[Zope3-Users] How to get the icon for a content item.

Fred Drake fdrake at gmail.com
Wed Dec 1 13:27:59 EST 2004


On Wed, 1 Dec 2004 11:07:59 -0700 (MST), Shane Hathaway wrote:
> I suspect ZCML will need to change a bit to support UIs other than web
> browsers.  Icons are one good example of something that isn't specific to
> web browsers, but the ZCML throughout Zope 3 currently assumes they are.
> It seems like the "zope" namespace ought to have an "icon" directive and
> the new zope:icon directive should have an optional "type" attribute.  If
> the "type" attribute is not provided, the icon should be registered for
> any request type.

+1

Icons are views; many view types can share the same icons.  As long as
specific view types can have specialized icons (which your suggestion
accomodates), then the bases seem well-covered.

> I also noticed there is currently no support for multiple icon sizes.
> That's important for GUIs and pretty browser UIs.

Yes, indeed.  I know I've discussed this with someone already (Stephan
Richter, as I recall).  16x16 has gotten really small on modern
monitors.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation


More information about the Zope3-users mailing list