>
> 4. The navigation widget code is arcane and should be simplified (I
> don't see why all functions have to deal with either strings, symbols,
> or pane-info structures, let's just unify all that and convert
> everything into pane-info structures in make-navigation).

That's redone,  I currently have two branches with the refactored
code:

http://www.bitbucket.org/yarek/weblocks-yarek-20081014/
http://www.bitbucket.org/yarek/weblocks-dev-modern-dispatching-yarek/
(most of the stuff is in the Leslie's modern-dispatching branch as
well)

There are 4 files involved: dispatcher, selector, selector-mixin and
navigation.

The basic idea is that menu is now composed of menu-item widgets.
Each menu item widget can render itself as a menu entry, and it also
contains a 'content-pane' which is the widget to be shown when that
item is selected.  That's integrated with both the old and new style
dispatching mechanism in each branch.

Basically, the change allowed me to render each menu item as I wanted,
and maintain state within an item.

Yarek

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to