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

Method __init__

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

Source from the content-addressed store, hash-verified

1648 EVENT_ONRESIZE = 'onresize'
1649
1650 def __init__(self, *args, **kwargs):
1651 super(BODY, self).__init__(*args, _type='body', **kwargs)
1652 loading_anim = Widget()
1653 loading_anim.css_margin = None
1654 loading_anim.identifier = "loading-animation"
1655 loading_container = Container(children=[loading_anim], style={'display':'none'})
1656 loading_container.css_margin = None
1657 loading_container.identifier = "loading"
1658
1659 self.append(loading_container)
1660
1661 @decorate_set_on_listener("(self, emitter)")
1662 @decorate_event_js("""remi.sendCallback('%(emitter_identifier)s','%(event_name)s');""")

Callers

nothing calls this directly

Calls 4

WidgetClass · 0.85
ContainerClass · 0.85
__init__Method · 0.45
appendMethod · 0.45

Tested by

no test coverage detected