コード例 #1
0
 def __init__(self, path):
     BaseTextElement.__init__(self, 'dosboxpath', path)
コード例 #2
0
 def __init__(self, site, url):
     BaseTextElement.__init__(self, 'weblink', url, site=site)
コード例 #3
0
 def __init__(self, fullname):
     BaseTextElement.__init__(self, 'fullname', fullname)
コード例 #4
0
 def __init__(self, launchcmd):
     BaseTextElement.__init__(self, 'launchcmd', launchcmd)
コード例 #5
0
 def __init__(self, text):
     BaseTextElement.__init__(self, 'description', text)
コード例 #6
0
 def set(self, binary):
     string = base64.b64encode(binary)
     BaseTextElement.set(self, string)
コード例 #7
0
 def get(self):
     string = BaseTextElement.get(self)
     return base64.b64decode(string)
コード例 #8
0
 def __init__(self, tagname, text='', **atts):
     BaseTextElement.__init__(self, tagname, text, **atts)
コード例 #9
0
 def __init__(self, text):
     BaseTextElement.__init__(self, 'title', text)