Beremiz.py
changeset 314 ad4db7099355
parent 308 d7b0b2d8854c
child 317 5378fe2fb4bc
equal deleted inserted replaced
313:ef0b303d9535 314:ad4db7099355
   666 #            addbutton.SetToolTipString("Add a \"%s\" plugin to this one"%name)
   666 #            addbutton.SetToolTipString("Add a \"%s\" plugin to this one"%name)
   667 #            addbutton.Bind(wx.EVT_BUTTON, self._GetAddPluginFunction(name, plugin), id=addbutton_id)
   667 #            addbutton.Bind(wx.EVT_BUTTON, self._GetAddPluginFunction(name, plugin), id=addbutton_id)
   668 #            addsizer.AddWindow(addbutton, 0, border=0, flag=0)
   668 #            addsizer.AddWindow(addbutton, 0, border=0, flag=0)
   669 #        return addsizer
   669 #        return addsizer
   670 
   670 
   671     normal_bt_font=wx.Font(faces["size"] / 3, wx.DEFAULT, wx.NORMAL, 0, faceName = faces["helv"])
   671     normal_bt_font=wx.Font(faces["size"] / 3, wx.DEFAULT, wx.NORMAL, wx.NORMAL, faceName = faces["helv"])
   672     mouseover_bt_font=wx.Font(faces["size"] / 3, wx.DEFAULT, wx.NORMAL, 0, underline=True, faceName = faces["helv"])
   672     mouseover_bt_font=wx.Font(faces["size"] / 3, wx.DEFAULT, wx.NORMAL, wx.NORMAL, underline=True, faceName = faces["helv"])
   673     def GenerateMethodButtonSizer(self, plugin, parent, horizontal = True):
   673     def GenerateMethodButtonSizer(self, plugin, parent, horizontal = True):
   674         if horizontal:
   674         if horizontal:
   675             msizer = wx.FlexGridSizer(cols=len(plugin.PluginMethods))
   675             msizer = wx.FlexGridSizer(cols=len(plugin.PluginMethods))
   676         else:
   676         else:
   677             msizer = wx.FlexGridSizer(cols=1)
   677             msizer = wx.FlexGridSizer(cols=1)