Module gui :: Class MainApp
[hide private]
[frames] | no frames]

Class MainApp

source code

     object --+                
              |                
wx._core.Object --+            
                  |            
wx._core.EvtHandler --+        
                      |        
         wx._core.PyApp --+    
                          |    
               wx._core.App --+
                              |
                             MainApp

Nested Classes [hide private]

Inherited from wx._core.App: outputWindowClass

Instance Methods [hide private]
PyApp
__init__(self, argv, config_filename=None)
Construct a ``wx.App`` object.
source code
 
lock_file(self, filename) source code
 
usingsamedb(self) source code
 
OnInit(self) source code
 
ApplySafeMode(self) source code
 
_setuphelp(self)
Does all the nonsense to get help working
source code
 
displayhelpid(self, id)
Display a specific Help Topic
source code
 
makemainwindow(self) source code
 
CheckUpdate(self) source code
 
CheckDetectPhone(self) source code
 
OnExit(self) source code
 
ExitMainLoop(self)
Exit the main GUI loop during the next iteration of the main loop, (i.e.
source code

Inherited from wx._core.App: Destroy, MainLoop, OnPreInit, RedirectStdio, RestoreStdio, SetOutputWindowAttributes, SetTopWindow, __del__

Inherited from wx._core.PyApp: Dispatch, Exit, GetAppName, GetAssertMode, GetClassName, GetExitOnFrameDelete, GetLayoutDirection, GetPrintMode, GetTopWindow, GetTraits, GetUseBestVisual, GetVendorName, IsActive, MacHideApp, MacRequestUserAttention, Pending, ProcessIdle, ProcessPendingEvents, SendIdleEvents, SetAppName, SetAssertMode, SetClassName, SetExitOnFrameDelete, SetPrintMode, SetUseBestVisual, SetVendorName, WakeUpIdle, Yield, __swig_destroy__

Inherited from wx._core.PyApp (private): _BootstrapApp, _setCallbackInfo

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, ProcessEvent, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind, __repr__

Inherited from wx._core.EvtHandler (private): _setOORInfo

Inherited from wx._core.Object: IsSameAs

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Static Methods [hide private]

Inherited from wx._core.PyApp: GetComCtl32Version, GetMacAboutMenuItemId, GetMacExitMenuItemId, GetMacHelpMenuTitleName, GetMacPreferencesMenuItemId, GetMacSupportPCMenuShortcuts, IsDisplayAvailable, IsMainLoopRunning, SetMacAboutMenuItemId, SetMacExitMenuItemId, SetMacHelpMenuTitleName, SetMacPreferencesMenuItemId, SetMacSupportPCMenuShortcuts

Class Variables [hide private]
  update_delta = {'Daily': 1, 'Monthly': 30, 'Weekly': 7}
Properties [hide private]

Inherited from wx._core.PyApp: Active, AppName, AssertMode, ClassName, ExitOnFrameDelete, LayoutDirection, PrintMode, TopWindow, Traits, UseBestVisual, VendorName, thisown

Inherited from wx._core.EvtHandler: EvtHandlerEnabled, NextHandler, PreviousHandler

Inherited from object: __class__

Method Details [hide private]

__init__(self, argv, config_filename=None)
(Constructor)

source code 

Construct a ``wx.App`` object.  

:param redirect: Should ``sys.stdout`` and ``sys.stderr`` be
    redirected?  Defaults to True on Windows and Mac, False
    otherwise.  If `filename` is None then output will be
    redirected to a window that pops up as needed.  (You can
    control what kind of window is created for the output by
    resetting the class variable ``outputWindowClass`` to a
    class of your choosing.)

:param filename: The name of a file to redirect output to, if
    redirect is True.

:param useBestVisual: Should the app try to use the best
    available visual provided by the system (only relevant on
    systems that have more than one visual.)  This parameter
    must be used instead of calling `SetUseBestVisual` later
    on because it must be set before the underlying GUI
    toolkit is initialized.

:param clearSigInt: Should SIGINT be cleared?  This allows the
    app to terminate upon a Ctrl-C in the console like other
    GUI apps will.

:note: You should override OnInit to do applicaition
    initialization to ensure that the system, toolkit and
    wxWidgets are fully initialized.

Returns: PyApp
Overrides: object.__init__
(inherited documentation)

ExitMainLoop(self)

source code 

Exit the main GUI loop during the next iteration of the main loop, (i.e. it does not stop the program immediately!)

Overrides: wx._core.PyApp.ExitMainLoop
(inherited documentation)