MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

remi/gui.py:1331–1338  ·  view source on GitHub ↗
(self, title, *args, **kwargs)

Source from the content-addressed store, hash-verified

1329
1330class HEAD(Tag):
1331 def __init__(self, title, *args, **kwargs):
1332 super(HEAD, self).__init__(*args, _type='head', **kwargs)
1333 self.add_child('meta',
1334 """<meta content='text/html;charset=utf-8' http-equiv='Content-Type'>
1335 <meta content='utf-8' http-equiv='encoding'>
1336 <meta name="viewport" content="width=device-width, initial-scale=1.0">""")
1337
1338 self.set_title(title)
1339
1340 def set_icon_file(self, filename, rel="icon"):
1341 """ Allows to define an icon for the App

Callers

nothing calls this directly

Calls 3

set_titleMethod · 0.95
add_childMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected