<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.UI.GLUT.Begin</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[ window.onload = function () {pageLoad();}; //]]> </script></head><body id="mini"><div id="module-header"><p class="caption">Graphics.UI.GLUT.Begin</p></div><div id="interface"><h1>Handling events </h1><div class="top"><p class="src"><a href="Graphics-UI-GLUT-Begin.html#v:mainLoopEvent" target="main">mainLoopEvent</a></p></div><div class="top"><p class="src"><a href="Graphics-UI-GLUT-Begin.html#v:leaveMainLoop" target="main">leaveMainLoop</a></p></div><h1>Controlling the behaviour when windows are closed </h1><div class="top"><p class="src"><span class="keyword">data</span> <a href="Graphics-UI-GLUT-Begin.html#t:ActionOnWindowClose" target="main">ActionOnWindowClose</a> </p></div><div class="top"><p class="src"><a href="Graphics-UI-GLUT-Begin.html#v:actionOnWindowClose" target="main">actionOnWindowClose</a></p></div></div></body></html>