On 09/05/2006, at 11:35, Michele Cella wrote:

>
> Alberto Valverde wrote:
>> On 09/05/2006, at 10:15, Alberto Valverde wrote:
>>> FYI: I've just committed the 'params_doc' attribute for widgets we
>>> talked back a couple of days ago.
>>>
>>> Comments?
>>>
>>
>> Yep, CSS sucks! Can someone with a better CSS-fu than me give it
>> whirl? Many thanks :)
>>
>
> Great work, looks very useful... apart the css. :P

Patches welcomed ;)

> I still wonder how we can document member_widgets without  
> introducing a
> member_widgets_doc (I would rather prefer to avoid it), and how
> params_doct plays with PythonDoc in the end.

Doesn't play bad: a params_doc attribute is listed along with it's  
value.
Try out: help(widgets.TextField)

Regarding member_widgets.... without introducing member_widgets_doc  
the only thing I can think of is adding a __doc__ attribute to every  
member_widget attribute:

class W(Widget):
        member_widgets = ['a', 'b']
        a = Whatever()
        a.__doc__ = "This is a SuperWhatever widget"


Alberto

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to