MCPcopy Index your code
hub / github.com/python/cpython / add_visual

Function add_visual

PC/layout/support/appxmanifest.py:276–281  ·  view source on GitHub ↗
(xml, appid, data)

Source from the content-addressed store, hash-verified

274
275
276def add_visual(xml, appid, data):
277 app = _get_app(xml, appid)
278 e = find_or_add(app, "uap:VisualElements")
279 for i in data.items():
280 e.set(*i)
281 return e
282
283
284def add_alias(xml, appid, alias, subsystem="windows"):

Callers 1

add_applicationFunction · 0.85

Calls 4

_get_appFunction · 0.85
find_or_addFunction · 0.85
itemsMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…