wx.ContextHelpButton

Inheritance diagram for wx.ContextHelpButton:



Description

Instances of this class may be used to add a question mark button that when pressed, puts the application into context-help mode. It does this by creating a wx.ContextHelp object which itself generates a wx.EVT_HELP event when the user clicks on a window.

On Windows, you may add a question-mark icon to a dialog by use of the wx.DIALOG_EX_CONTEXTHELP extra style, but on other platforms you will have to add a button explicitly, usually next to OK, Cancel or similar buttons.

Methods Summary

Class API

Methods

__init__(parent, id=wx.ID_CONTEXT_HELP, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.BU_AUTODRAW)

Constructor, creating and showing a context help button.

Parameters:


Returns:

wx.ContextHelpButton