MCPcopy Create free account
hub / github.com/audacity/audacity / OnIdle

Method OnIdle

src/AudacityApp.cpp:1844–1860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1842}
1843
1844void AudacityApp::OnIdle( wxIdleEvent &evt )
1845{
1846 evt.Skip();
1847 try {
1848 HandleAppIdle();
1849
1850 if ( Journal::Dispatch() )
1851 evt.RequestMore();
1852 }
1853 catch( ... ) {
1854 // Hmm, wxWidgets doesn't guard calls to the idle handler as for other
1855 // events. So replicate some of the try-catch logic here.
1856 OnExceptionInMainLoop();
1857 // Fall through and return, allowing delayed handler action of
1858 // AudacityException to clean up
1859 }
1860}
1861
1862void AudacityApp::InitCommandHandler()
1863{

Callers

nothing calls this directly

Calls 2

SkipMethod · 0.80
DispatchFunction · 0.50

Tested by

no test coverage detected