def __init__(self, path): BaseTextElement.__init__(self, 'dosboxpath', path)
def __init__(self, site, url): BaseTextElement.__init__(self, 'weblink', url, site=site)
def __init__(self, fullname): BaseTextElement.__init__(self, 'fullname', fullname)
def __init__(self, launchcmd): BaseTextElement.__init__(self, 'launchcmd', launchcmd)
def __init__(self, text): BaseTextElement.__init__(self, 'description', text)
def set(self, binary): string = base64.b64encode(binary) BaseTextElement.set(self, string)
def get(self): string = BaseTextElement.get(self) return base64.b64decode(string)
def __init__(self, tagname, text='', **atts): BaseTextElement.__init__(self, tagname, text, **atts)
def __init__(self, text): BaseTextElement.__init__(self, 'title', text)