[jToolkit-cvs] jToolkit/widgets widgets.py,1.5,1.6
Brought to you by:
davidfraser,
friedelwolff
From: <dav...@us...> - 2004-02-09 12:31:52
|
Update of /cvsroot/jtoolkit/jToolkit/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21457 Modified Files: widgets.py Log Message: added some list widgets Index: widgets.py =================================================================== RCS file: /cvsroot/jtoolkit/jToolkit/widgets/widgets.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** widgets.py 9 Feb 2004 12:26:24 -0000 1.5 --- widgets.py 9 Feb 2004 12:28:40 -0000 1.6 *************** *** 141,144 **** --- 141,152 ---- self.overrideattribs(newattribs) + class Item(ContentWidget): + def __init__(self, contents, newattribs = {}): + ContentWidget.__init__(self, "li", contents, newattribs) + + class UList(ContentWidget): + def __init__(self, contents, newattribs = {}): + ContentWidget.__init__(self, "ul", contents, newattribs) + class Option(ContentWidget): def __init__(self, value, description, selected=0): |