Help for config dialog?
Posted: Thu Oct 01, 2009 9:18 pm
Is there a standard way to implement a help button on a config dialog for plugins or actions?
Code: Select all
description = item.GetDescription().strip()
text = GetFirstParagraph(description)
...
hasAdditionalHelp = (description != text)
...
if hasAdditionalHelp:
text += ' <a href="ShowMoreHelp">%s</a>' % eg.text.General.moreTag
self.text = '<html><body bgcolor="%s" text="%s">%s</body></html>' % (
self.GetBackgroundColour().GetAsString(wx.C2S_HTML_SYNTAX),
self.GetForegroundColour().GetAsString(wx.C2S_HTML_SYNTAX),
text
)