MCPcopy Create free account
hub / github.com/ipython/ipython / get_app_wx

Function get_app_wx

IPython/lib/guisupport.py:69–77  ·  view source on GitHub ↗

Create a new wx app or return an exiting one.

(*args, **kwargs)

Source from the content-addressed store, hash-verified

67#-----------------------------------------------------------------------------
68
69def get_app_wx(*args, **kwargs):
70 """Create a new wx app or return an exiting one."""
71 import wx
72 app = wx.GetApp()
73 if app is None:
74 if 'redirect' not in kwargs:
75 kwargs['redirect'] = False
76 app = wx.PySimpleApp(*args, **kwargs)
77 return app
78
79def is_event_loop_running_wx(app=None):
80 """Is the wx event loop running."""

Callers 2

is_event_loop_running_wxFunction · 0.85
start_event_loop_wxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected