equal
deleted
inserted
replaced
9 |
9 |
10 def _init_Editor(self, prnt): |
10 def _init_Editor(self, prnt): |
11 self.Editor = wx.ScrolledWindow(prnt, -1, size=wx.Size(-1, -1), |
11 self.Editor = wx.ScrolledWindow(prnt, -1, size=wx.Size(-1, -1), |
12 style=wx.TAB_TRAVERSAL|wx.SUNKEN_BORDER|wx.HSCROLL|wx.VSCROLL) |
12 style=wx.TAB_TRAVERSAL|wx.SUNKEN_BORDER|wx.HSCROLL|wx.VSCROLL) |
13 self.Editor.SetBackgroundColour(WINDOW_COLOUR) |
13 self.Editor.SetBackgroundColour(WINDOW_COLOUR) |
|
14 self.Editor.Bind(wx.EVT_SIZE, self.OnWindowResize) |
|
15 self.Editor.Bind(wx.EVT_MOUSEWHEEL, self.OnMouseWheel) |
14 self.ParamsEditor = self.Editor |
16 self.ParamsEditor = self.Editor |
15 |
17 |
16 # Variable allowing disabling of Editor scroll when Popup shown |
18 # Variable allowing disabling of Editor scroll when Popup shown |
17 self.ScrollingEnabled = True |
19 self.ScrollingEnabled = True |
18 |
20 |
38 if configuration is not None: |
40 if configuration is not None: |
39 tagname = controler.ComputeConfigurationName(configuration) |
41 tagname = controler.ComputeConfigurationName(configuration) |
40 else: |
42 else: |
41 tagname = "" |
43 tagname = "" |
42 |
44 |
43 ConfTreeNodeEditor.__init__(self, parent, tagname, controler, window) |
45 ConfTreeNodeEditor.__init__(self, parent, controler, window, tagname) |
44 |
46 |
45 def GetTagName(self): |
47 def GetTagName(self): |
46 return self.Controler.CTNName() |
48 return self.Controler.CTNName() |
47 |
49 |
48 def GetTitle(self): |
50 def GetTitle(self): |