In this case, allow me to make a suggestion:

On Tue, Jul 27, 2010 at 12:20 PM, NiL <[email protected]> wrote:

> we were thinking of a transverse tw.uitheme package that could be used
> by several components
> Or maybe join those 5 tw.xxxx packages in a bigger lib
>

The same choice came up for me when I was writing tgext.menu. Do I force the
user to use a specific css stylesheet? What about a specific javascript
library? What about when the user wants to have something quick that works,
but wants to customize it later?

My answer was pretty simple: I had the user set a variable in
project.app_cfg, and I then include CSS and JS when the variables say to do
so. The result is something that allows anybody to get something visible and
working quickly (if it takes more than 5 minutes to install tgext.menu,
you're doing something wrong), but still provides sufficient flexibility for
later.

Then again, you've come across that, and seen some of the limits I had put
in (however unintentionally).

You might want to consider the same. Include the default images *as* default
images. Then let the user override them via config variables. It'll make
both sides happier.
-- 
Michael J. Pedersen
My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171
          Yahoo/pedermj2002, MSN/[email protected]

-- 
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.

Reply via email to