wx.LogWindow

Inheritance diagram for wx.LogWindow:



Description

This class represents a background log window: to be precise, it collects all log messages in the log frame which it manages but also passes them on to the log target which was active at the moment of its creation. This allows, for example, to show all the log messages in a frame but still continue to process them normally by showing the standard log dialog.

See also

wx.LogTextCtrl

Properties Summary

Class API

Methods

__init__(pParent, szTitle, bShow=True, bPassToOld=True)

Creates the log frame window and starts collecting the messages in it.

Parameters:

  • pParent (wx.Frame): The parent window for the log frame, may be None.
  • szTitle (string): The title for the log frame.
  • bShow (bool): True to show the frame initially (default), otherwise Show must be called later.
  • bPassToOld (bool): True to process the log messages normally in addition to logging them in the log frame (default), False to only log them in the log frame.

Returns:

wx.LogWindow


GetFrame()

Returns the associated log frame window. This may be used to position or resize it but use Show to show or hide it.


Returns:

wx.Frame


GetOldLog()
No docstrings available for this method.

IsPassingMessages()
No docstrings available for this method.

PassMessages(bDoPass)

Parameters:

  • bDoPass (bool)

Show(show=True)

Shows or hides the frame.

Parameters:

  • show (bool)

Properties

Frame
See GetFrame
OldLog
See GetOldLog