//--------------------------------------------------------------------------- Wt::WApplication * createApplication(const Wt::WEnvironment& env) { ConnectThreeResources(); const ConnectThreeFilenames filenames( "K3OpEenRijBackground.png", "K3OpEenRijComputer1.png", "K3OpEenRijComputer2.png", "K3OpEenRijComputer3.png", "K3OpEenRijComputerGrey.png", "K3OpEenRij.css", "K3OpEenRijEmpty.png", "K3OpEenRijPlayer1.png", "K3OpEenRijPlayer1Grey.png", "K3OpEenRijPlayer2.png", "K3OpEenRijPlayer2Grey.png", "K3OpEenRijPlayer3.png", "K3OpEenRijPlayer3Grey.png"); return new K3OpEenRijApplication(env,CreateAbout(),filenames); }
void CGTKBase::Run() { CreateAbout(); // Create after everything is initialized: only then GetAboutFName() returns a valid filename gtk_widget_show(m_pMainWindow); gtk_main(); }