Package wx :: Class ContextHelp
[frames | no frames]

Type ContextHelp

object --+    
         |    
    Object --+
             |
            ContextHelp


This class changes the cursor to a query and puts the application into a 'context-sensitive help mode'. When the user left-clicks on a window within the specified window, a EVT_HELP event is sent to that control, and the application may respond to it by popping up some help.

There are a couple of ways to invoke this behaviour implicitly:


See Also:

wx.ContextHelpButton

Method Summary
ContextHelp __init__(self, window, doNow)
Constructs a context help object, calling BeginContextHelp if doNow is true (the default).
  __del__(self)
  __repr__(self)
bool BeginContextHelp(self, window)
Puts the application into context-sensitive help mode.
bool EndContextHelp(self)
Ends context-sensitive help mode.
    Inherited from Object
  Destroy(self)
Deletes the C++ object this Python object is a proxy for.
String GetClassName(self)
Returns the class name of the C++ class using wxRTTI.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Method Details

__init__(self, window=None, doNow=True)
(Constructor)

Constructs a context help object, calling BeginContextHelp if doNow is true (the default).

If window is None, the top window is used.

Parameters:
window
           (type=Window)

doNow
           (type=bool)

Returns:
ContextHelp
Overrides:
wx.Object.__init__

BeginContextHelp(self, window=None)

Puts the application into context-sensitive help mode. window is the window which will be used to catch events; if NULL, the top window will be used.

Returns true if the application was successfully put into context-sensitive help mode. This function only returns when the event loop has finished.

Parameters:
window
           (type=Window)

Returns:
bool

EndContextHelp(self)

Ends context-sensitive help mode. Not normally called by the application.

Returns:
bool

Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:55:44 2007 http://epydoc.sf.net