MCPcopy Create free account
hub / github.com/FlightGear/flightgear / __init__

Method __init__

scripts/python/FGFSDemo.py:46–55  ·  view source on GitHub ↗
(self,fgfs,root=None)

Source from the content-addressed store, hash-verified

44
45class FGFSDemo(Tix.Frame):
46 def __init__(self,fgfs,root=None):
47 Tix.Frame.__init__(self,root)
48 z = root.winfo_toplevel()
49 z.wm_protocol("WM_DELETE_WINDOW", lambda self=self: self.quitcmd())
50 self.fgfs = fgfs
51 self.pack()
52 self.pages = {}
53 self.after_id = None
54 self.createWidgets()
55 self.update()
56
57 def createWidgets(self):
58 self.nb = Tix.NoteBook(self)

Callers 1

__init__Method · 0.45

Calls 3

quitcmdMethod · 0.95
createWidgetsMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected