I know how to add template variables to widgets by subclassing the
widget, but I'm wondering if there is a more light weight approach if I
only want to add one.
So I'd like to do the following type thingy:
template = "<usual widget template stuff> ${foo} "
my_widget = TableForm( foo='bar', template=my_template, etc )
Do I need to go the whole widget subclass route to achieve the above?
Thanks
Iain
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---