MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / add_menu

Method add_menu

wrappers/Python/CoolProp/GUI/CoolPropGUI.py:47–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 self.add_menu()
46
47 def add_menu(self):
48 # Menu Bar
49 self.MenuBar = wx.MenuBar()
50 self.File = wx.Menu()
51
52 mnuItem = wx.MenuItem(self.File, -1, "Edit...", "", wx.ITEM_NORMAL)
53
54 self.File.AppendItem(mnuItem)
55 self.MenuBar.Append(self.File, "File")
56
57 self.SetMenuBar(self.MenuBar)
58
59
60class PsychOptions(wx.Dialog):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected