wx.PySimpleApp

Inheritance diagram for wx.PySimpleApp:



Description

A simple application class. You can just create one of these and then then make your top level windows later, and not have to worry about OnInit.

For example:

app = wx.PySimpleApp()

frame = wx.Frame(None, title='Hello World')
frame.Show()

app.MainLoop()

See also

wx.App

Methods Summary

Class API

Methods

__init__(redirect=False, filename=None, useBestVisual=False, clearSigInt=True)

Constructor. See wx.App.__init__.

Parameters:

  • redirect (bool)
  • filename (string)
  • useBestVisual (bool)
  • clearSigInt (bool)

Returns:

wx.PySimpleApp


OnInit()
No docstrings available for this method.