DynamicFisheyeWidget

by Gabriel Pendl last modified Feb 16, 2011 02:13 AM

The DynamicFisheye Widget is the implementation of the dojo fisheye () ! Icons are getting bigger and smaller when you move the mouse curser over them (like you know it form your apple computerix). you can assign values (in the archetypes schema) to the icons that can be chosen by the user.

Project Description

see the demo dojo demo

 

we take a look at some code:

 


    TextField(
        name='Actor',
        widget=DynamicFisheyeWidget(
            label='Choose your Entertainer',
            label_msgid='Text2Speech_label_Text',
            i18n_domain='Text2Speech',
        ),
       
vocabulary=DisplayList((
('monza', 'image.gif'),
('louis', 't2simages/louis.png'),
)),
,
        required=True,
    ),

 

 

vaocabulary is a displaylist with the value the icon that represents that value. (value, path_to_image)

 

Current Release

No stable release available yet.

All Releases

Version Released Description Compatibility Status
0.1 basic working implementation More about this release… alpha

Comments (0)