MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

gui/utils/anim.py:93–101  ·  view source on GitHub ↗
(self, parent, title="Processing")

Source from the content-addressed store, hash-verified

91class WaitDialog(wx.Dialog):
92
93 def __init__(self, parent, title="Processing"):
94 super().__init__(parent, id=wx.ID_ANY, title=title, size=(300, 30), style=wx.NO_BORDER)
95 mainSizer = wx.BoxSizer(wx.HORIZONTAL)
96
97 self.progress = LoadAnimation(self, label=title, size=(300, 30))
98 mainSizer.Add(self.progress, 1, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 0)
99 self.SetSizer(mainSizer)
100 self.Layout()
101 self.CenterOnParent()

Callers 1

__init__Method · 0.45

Calls 1

LoadAnimationClass · 0.85

Tested by

no test coverage detected