Reorganize custom widgets into a new 'widgets' package.

1. moving existing widget modules under src/widgets/


svn: r10694
This commit is contained in:
Zsolt Foldvari
2008-05-08 19:40:56 +00:00
parent 9fb61bec46
commit 05b39c5c15
38 changed files with 210 additions and 170 deletions

View File

@@ -48,7 +48,14 @@ class StyledTextTag():
"""
def __init__(self, name=None, value=None, ranges=None):
"""Setup initial instance variable values."""
"""Setup initial instance variable values.
@note: Since L{GrampsType} supports the instance initialization
with several different base types, please note that C{name} parameter
can be int, str, unicode, tuple, or even another L{StyledTextTagType}
instance.
"""
self.name = StyledTextTagType(name)
self.value = value
if ranges is None: