def help(self, parent): return HelpLabel(parent, '\n'.join(textwrap.wrap(self._help, 60)))
def _add_info_text(self, panel, text=""): infopanel = self._horizontal_sizer() infopanel.Add(HelpLabel(panel, "Info. " + text)) return infopanel
def _create_help(self): help = HelpLabel(self, label=_CONFIG_HELP) help.Wrap(700) self.Sizer.Add(help, border=5, flag=wx.TOP)
def _create_help(self): self._sizer.Add(HelpLabel(self, label=get_help(self._title)), flag=wx.ALL, border=2)
def _create_editor(self, setting): sizer = HorizontalSizer() sizer.add_with_padding(self._label_for(setting)) sizer.add(self._editor_for(setting), proportion=1) self.Sizer.Add(sizer, flag=wx.EXPAND) self.Sizer.add_with_padding(HelpLabel(self, setting.help))