durusmail: quixote-users: Generalizing form/widget API a bit
Generalizing form/widget API a bit
2003-11-25
2003-11-25
2003-11-25
2003-11-25
2003-11-25
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-26
2003-11-29
2003-11-30
2003-11-26
2003-11-26
2003-11-26
Patch: add html_attrs keyword arg to widget classes
2003-11-30
Patch: add html_attrs keyword arg to widget classes
2003-12-01
Patch: add html_attrs keyword arg to widget classes
2003-12-01
Patch: add html_attrs keyword arg to widget classes
2003-12-01
2003-12-02
2003-12-03
2003-12-02
Patch: add html_attrs keyword arg to widget classes
2003-12-01
Patch: add html_attrs keyword arg to widget classes
2003-12-01
Generalizing form/widget API a bit
Jim Dukarm
2003-11-26
---------- Greg Ward: ---------------
> Note 'class_' instead of 'css_class' -- this is the convention used by
> PyGTK to avoid collisions with keywords (builtins too? can't remember),
> and it's as good as any.

I have seen this gimmick in a few places, so there should be no
problem with Quixote doing it, too.  Easier to spell than "css_class".

> Also note that 'attrs' could just be an alias for 'dict', since the dict()
> builtin in Python 2.2 works as expected:

Please make that "will be". There is no need to invent more stuff
to maintain. I would be even happier without the alias.

Jim Dukarm
DELTA-X RESEARCH
Victoria BC Canada


reply