Terminal.Gui.Application.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class Application
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Application
  11. ">
  12. <meta name="generator" content="docfx 2.18.2.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <meta property="docfx:navrel" content="">
  18. <meta property="docfx:tocrel" content="../toc.html">
  19. </head>
  20. <body data-spy="scroll" data-target="#affix">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../../index.html">
  33. <img id="logo" class="svg" src="../../logo.svg" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div role="main" class="container body-content hide-when-search">
  54. <div class="sidenav hide-when-search">
  55. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  56. <div class="sidetoggle collapse" id="sidetoggle">
  57. <div id="sidetoc"></div>
  58. </div>
  59. </div>
  60. <div class="article row grid-right">
  61. <div class="col-md-10">
  62. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Application">
  63. <h1 id="Terminal_Gui_Application" data-uid="Terminal.Gui.Application">Class Application
  64. </h1>
  65. <div class="markdown level0 summary"><p>The application driver for gui.cs</p>
  66. </div>
  67. <div class="markdown level0 conceptual"></div>
  68. <div class="inheritance">
  69. <h5>Inheritance</h5>
  70. <div class="level0"><span class="xref">System.Object</span></div>
  71. <div class="level1"><span class="xref">Application</span></div>
  72. </div>
  73. <h6><strong>Namespace</strong>: <a class="xref" href="../Terminal.Gui.html">Terminal.Gui</a></h6>
  74. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  75. <h5 id="Terminal_Gui_Application_syntax">Syntax</h5>
  76. <div class="codewrapper">
  77. <pre><code class="lang-csharp hljs">public class Application</code></pre>
  78. </div>
  79. <h5 id="Terminal_Gui_Application_remarks"><strong>Remarks</strong></h5>
  80. <div class="markdown level0 remarks"><p>
  81. You can hook up to the Iteration event to have your method
  82. invoked on each iteration of the mainloop.
  83. </p>
  84. <p>
  85. Creates a mainloop to process input events, handle timers and
  86. other sources of data. It is accessible via the MainLoop property.
  87. </p>
  88. <p>
  89. When invoked sets the SynchronizationContext to one that is tied
  90. to the mainloop, allowing user code to use async/await.
  91. </p></div>
  92. <h3 id="constructors">Constructors
  93. </h3>
  94. <a id="Terminal_Gui_Application__ctor_" data-uid="Terminal.Gui.Application.#ctor*"></a>
  95. <h4 id="Terminal_Gui_Application__ctor" data-uid="Terminal.Gui.Application.#ctor">Application()</h4>
  96. <div class="markdown level1 summary"></div>
  97. <div class="markdown level1 conceptual"></div>
  98. <h5 class="decalaration">Declaration</h5>
  99. <div class="codewrapper">
  100. <pre><code class="lang-csharp hljs">public Application ();</code></pre>
  101. </div>
  102. <h3 id="fields">Fields
  103. </h3>
  104. <h4 id="Terminal_Gui_Application_Driver" data-uid="Terminal.Gui.Application.Driver">Driver</h4>
  105. <div class="markdown level1 summary"><p>The current Console Driver in use.</p>
  106. </div>
  107. <div class="markdown level1 conceptual"></div>
  108. <h5 class="decalaration">Declaration</h5>
  109. <div class="codewrapper">
  110. <pre><code class="lang-csharp hljs">public static Terminal.Gui.ConsoleDriver Driver;</code></pre>
  111. </div>
  112. <h5 class="fieldValue">Field Value</h5>
  113. <table class="table table-bordered table-striped table-condensed">
  114. <thead>
  115. <tr>
  116. <th>Type</th>
  117. <th>Description</th>
  118. </tr>
  119. </thead>
  120. <tbody>
  121. <tr>
  122. <td><a class="xref" href="Terminal.Gui.ConsoleDriver.html">ConsoleDriver</a></td>
  123. <td><p>To be added.</p>
  124. </td>
  125. </tr>
  126. </tbody>
  127. </table>
  128. <h4 id="Terminal_Gui_Application_RootMouseEvent" data-uid="Terminal.Gui.Application.RootMouseEvent">RootMouseEvent</h4>
  129. <div class="markdown level1 summary"><p>Merely a debugging aid to see the raw mouse events</p>
  130. </div>
  131. <div class="markdown level1 conceptual"></div>
  132. <h5 class="decalaration">Declaration</h5>
  133. <div class="codewrapper">
  134. <pre><code class="lang-csharp hljs">public static Action&lt;Terminal.Gui.MouseEvent&gt; RootMouseEvent;</code></pre>
  135. </div>
  136. <h5 class="fieldValue">Field Value</h5>
  137. <table class="table table-bordered table-striped table-condensed">
  138. <thead>
  139. <tr>
  140. <th>Type</th>
  141. <th>Description</th>
  142. </tr>
  143. </thead>
  144. <tbody>
  145. <tr>
  146. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a>&gt;</td>
  147. <td><p>To be added.</p>
  148. </td>
  149. </tr>
  150. </tbody>
  151. </table>
  152. <h3 id="properties">Properties
  153. </h3>
  154. <a id="Terminal_Gui_Application_Current_" data-uid="Terminal.Gui.Application.Current*"></a>
  155. <h4 id="Terminal_Gui_Application_Current" data-uid="Terminal.Gui.Application.Current">Current</h4>
  156. <div class="markdown level1 summary"><p>The current toplevel object. This is updated when Application.Run enters and leaves and points to the current toplevel.</p>
  157. </div>
  158. <div class="markdown level1 conceptual"></div>
  159. <h5 class="decalaration">Declaration</h5>
  160. <div class="codewrapper">
  161. <pre><code class="lang-csharp hljs">public static Terminal.Gui.Toplevel Current { get; }</code></pre>
  162. </div>
  163. <h5 class="propertyValue">Property Value</h5>
  164. <table class="table table-bordered table-striped table-condensed">
  165. <thead>
  166. <tr>
  167. <th>Type</th>
  168. <th>Description</th>
  169. </tr>
  170. </thead>
  171. <tbody>
  172. <tr>
  173. <td><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></td>
  174. <td><p>The current.</p>
  175. </td>
  176. </tr>
  177. </tbody>
  178. </table>
  179. <a id="Terminal_Gui_Application_MainLoop_" data-uid="Terminal.Gui.Application.MainLoop*"></a>
  180. <h4 id="Terminal_Gui_Application_MainLoop" data-uid="Terminal.Gui.Application.MainLoop">MainLoop</h4>
  181. <div class="markdown level1 summary"><p>The mainloop driver for the applicaiton</p>
  182. </div>
  183. <div class="markdown level1 conceptual"></div>
  184. <h5 class="decalaration">Declaration</h5>
  185. <div class="codewrapper">
  186. <pre><code class="lang-csharp hljs">public static Mono.Terminal.MainLoop MainLoop { get; }</code></pre>
  187. </div>
  188. <h5 class="propertyValue">Property Value</h5>
  189. <table class="table table-bordered table-striped table-condensed">
  190. <thead>
  191. <tr>
  192. <th>Type</th>
  193. <th>Description</th>
  194. </tr>
  195. </thead>
  196. <tbody>
  197. <tr>
  198. <td><a class="xref" href="../Mono.Terminal/Mono.Terminal.MainLoop.html">MainLoop</a></td>
  199. <td><p>The main loop.</p>
  200. </td>
  201. </tr>
  202. </tbody>
  203. </table>
  204. <a id="Terminal_Gui_Application_Top_" data-uid="Terminal.Gui.Application.Top*"></a>
  205. <h4 id="Terminal_Gui_Application_Top" data-uid="Terminal.Gui.Application.Top">Top</h4>
  206. <div class="markdown level1 summary"><p>The Toplevel object used for the application on startup.</p>
  207. </div>
  208. <div class="markdown level1 conceptual"></div>
  209. <h5 class="decalaration">Declaration</h5>
  210. <div class="codewrapper">
  211. <pre><code class="lang-csharp hljs">public static Terminal.Gui.Toplevel Top { get; }</code></pre>
  212. </div>
  213. <h5 class="propertyValue">Property Value</h5>
  214. <table class="table table-bordered table-striped table-condensed">
  215. <thead>
  216. <tr>
  217. <th>Type</th>
  218. <th>Description</th>
  219. </tr>
  220. </thead>
  221. <tbody>
  222. <tr>
  223. <td><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></td>
  224. <td><p>The top.</p>
  225. </td>
  226. </tr>
  227. </tbody>
  228. </table>
  229. <h3 id="methods">Methods
  230. </h3>
  231. <a id="Terminal_Gui_Application_Begin_" data-uid="Terminal.Gui.Application.Begin*"></a>
  232. <h4 id="Terminal_Gui_Application_Begin_Terminal_Gui_Toplevel_" data-uid="Terminal.Gui.Application.Begin(Terminal.Gui.Toplevel)">Begin(Toplevel)</h4>
  233. <div class="markdown level1 summary"></div>
  234. <div class="markdown level1 conceptual"></div>
  235. <h5 class="decalaration">Declaration</h5>
  236. <div class="codewrapper">
  237. <pre><code class="lang-csharp hljs">public static Terminal.Gui.Application.RunState Begin (Terminal.Gui.Toplevel toplevel);</code></pre>
  238. </div>
  239. <h5 class="parameters">Parameters</h5>
  240. <table class="table table-bordered table-striped table-condensed">
  241. <thead>
  242. <tr>
  243. <th>Type</th>
  244. <th>Name</th>
  245. <th>Description</th>
  246. </tr>
  247. </thead>
  248. <tbody>
  249. <tr>
  250. <td><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></td>
  251. <td><span class="parametername">toplevel</span></td>
  252. <td><p>To be added.</p>
  253. </td>
  254. </tr>
  255. </tbody>
  256. </table>
  257. <h5 class="returns">Returns</h5>
  258. <table class="table table-bordered table-striped table-condensed">
  259. <thead>
  260. <tr>
  261. <th>Type</th>
  262. <th>Description</th>
  263. </tr>
  264. </thead>
  265. <tbody>
  266. <tr>
  267. <td></td>
  268. <td><p>To be added.</p>
  269. </td>
  270. </tr>
  271. </tbody>
  272. </table>
  273. <a id="Terminal_Gui_Application_End_" data-uid="Terminal.Gui.Application.End*"></a>
  274. <h4 id="Terminal_Gui_Application_End_Terminal_Gui_Application_RunState_" data-uid="Terminal.Gui.Application.End(Terminal.Gui.Application.RunState)">End(Application+RunState)</h4>
  275. <div class="markdown level1 summary"></div>
  276. <div class="markdown level1 conceptual"></div>
  277. <h5 class="decalaration">Declaration</h5>
  278. <div class="codewrapper">
  279. <pre><code class="lang-csharp hljs">public static void End (Terminal.Gui.Application.RunState rs);</code></pre>
  280. </div>
  281. <h5 class="parameters">Parameters</h5>
  282. <table class="table table-bordered table-striped table-condensed">
  283. <thead>
  284. <tr>
  285. <th>Type</th>
  286. <th>Name</th>
  287. <th>Description</th>
  288. </tr>
  289. </thead>
  290. <tbody>
  291. <tr>
  292. <td></td>
  293. <td><span class="parametername">rs</span></td>
  294. <td><p>To be added.</p>
  295. </td>
  296. </tr>
  297. </tbody>
  298. </table>
  299. <a id="Terminal_Gui_Application_GrabMouse_" data-uid="Terminal.Gui.Application.GrabMouse*"></a>
  300. <h4 id="Terminal_Gui_Application_GrabMouse_Terminal_Gui_View_" data-uid="Terminal.Gui.Application.GrabMouse(Terminal.Gui.View)">GrabMouse(View)</h4>
  301. <div class="markdown level1 summary"><p>Grabs the mouse, forcing all mouse events to be routed to the specified view until UngrabMouse is called.</p>
  302. </div>
  303. <div class="markdown level1 conceptual"></div>
  304. <h5 class="decalaration">Declaration</h5>
  305. <div class="codewrapper">
  306. <pre><code class="lang-csharp hljs">public static void GrabMouse (Terminal.Gui.View view);</code></pre>
  307. </div>
  308. <h5 class="parameters">Parameters</h5>
  309. <table class="table table-bordered table-striped table-condensed">
  310. <thead>
  311. <tr>
  312. <th>Type</th>
  313. <th>Name</th>
  314. <th>Description</th>
  315. </tr>
  316. </thead>
  317. <tbody>
  318. <tr>
  319. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  320. <td><span class="parametername">view</span></td>
  321. <td><p>View that will receive all mouse events until UngrabMouse is invoked.</p>
  322. </td>
  323. </tr>
  324. </tbody>
  325. </table>
  326. <a id="Terminal_Gui_Application_Init_" data-uid="Terminal.Gui.Application.Init*"></a>
  327. <h4 id="Terminal_Gui_Application_Init" data-uid="Terminal.Gui.Application.Init">Init()</h4>
  328. <div class="markdown level1 summary"><p>Initializes the Application</p>
  329. </div>
  330. <div class="markdown level1 conceptual"></div>
  331. <h5 class="decalaration">Declaration</h5>
  332. <div class="codewrapper">
  333. <pre><code class="lang-csharp hljs">public static void Init ();</code></pre>
  334. </div>
  335. <a id="Terminal_Gui_Application_MakeCenteredRect_" data-uid="Terminal.Gui.Application.MakeCenteredRect*"></a>
  336. <h4 id="Terminal_Gui_Application_MakeCenteredRect_Terminal_Gui_Size_" data-uid="Terminal.Gui.Application.MakeCenteredRect(Terminal.Gui.Size)">MakeCenteredRect(Size)</h4>
  337. <div class="markdown level1 summary"><p>Returns a rectangle that is centered in the screen for the provided size.</p>
  338. </div>
  339. <div class="markdown level1 conceptual"></div>
  340. <h5 class="decalaration">Declaration</h5>
  341. <div class="codewrapper">
  342. <pre><code class="lang-csharp hljs">public static Terminal.Gui.Rect MakeCenteredRect (Terminal.Gui.Size size);</code></pre>
  343. </div>
  344. <h5 class="parameters">Parameters</h5>
  345. <table class="table table-bordered table-striped table-condensed">
  346. <thead>
  347. <tr>
  348. <th>Type</th>
  349. <th>Name</th>
  350. <th>Description</th>
  351. </tr>
  352. </thead>
  353. <tbody>
  354. <tr>
  355. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  356. <td><span class="parametername">size</span></td>
  357. <td><p>Size for the rectangle.</p>
  358. </td>
  359. </tr>
  360. </tbody>
  361. </table>
  362. <h5 class="returns">Returns</h5>
  363. <table class="table table-bordered table-striped table-condensed">
  364. <thead>
  365. <tr>
  366. <th>Type</th>
  367. <th>Description</th>
  368. </tr>
  369. </thead>
  370. <tbody>
  371. <tr>
  372. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  373. <td><p>The centered rect.</p>
  374. </td>
  375. </tr>
  376. </tbody>
  377. </table>
  378. <a id="Terminal_Gui_Application_Refresh_" data-uid="Terminal.Gui.Application.Refresh*"></a>
  379. <h4 id="Terminal_Gui_Application_Refresh" data-uid="Terminal.Gui.Application.Refresh">Refresh()</h4>
  380. <div class="markdown level1 summary"><p>Triggers a refresh of the entire display.</p>
  381. </div>
  382. <div class="markdown level1 conceptual"></div>
  383. <h5 class="decalaration">Declaration</h5>
  384. <div class="codewrapper">
  385. <pre><code class="lang-csharp hljs">public static void Refresh ();</code></pre>
  386. </div>
  387. <a id="Terminal_Gui_Application_RequestStop_" data-uid="Terminal.Gui.Application.RequestStop*"></a>
  388. <h4 id="Terminal_Gui_Application_RequestStop" data-uid="Terminal.Gui.Application.RequestStop">RequestStop()</h4>
  389. <div class="markdown level1 summary"><p>Stops running the most recent toplevel</p>
  390. </div>
  391. <div class="markdown level1 conceptual"></div>
  392. <h5 class="decalaration">Declaration</h5>
  393. <div class="codewrapper">
  394. <pre><code class="lang-csharp hljs">public static void RequestStop ();</code></pre>
  395. </div>
  396. <a id="Terminal_Gui_Application_Run_" data-uid="Terminal.Gui.Application.Run*"></a>
  397. <h4 id="Terminal_Gui_Application_Run" data-uid="Terminal.Gui.Application.Run">Run()</h4>
  398. <div class="markdown level1 summary"><p>Runs the application with the built-in toplevel view</p>
  399. </div>
  400. <div class="markdown level1 conceptual"></div>
  401. <h5 class="decalaration">Declaration</h5>
  402. <div class="codewrapper">
  403. <pre><code class="lang-csharp hljs">public static void Run ();</code></pre>
  404. </div>
  405. <a id="Terminal_Gui_Application_Run_" data-uid="Terminal.Gui.Application.Run*"></a>
  406. <h4 id="Terminal_Gui_Application_Run_Terminal_Gui_Toplevel_" data-uid="Terminal.Gui.Application.Run(Terminal.Gui.Toplevel)">Run(Toplevel)</h4>
  407. <div class="markdown level1 summary"><p>Runs the main loop on the given container.</p>
  408. </div>
  409. <div class="markdown level1 conceptual"></div>
  410. <h5 class="decalaration">Declaration</h5>
  411. <div class="codewrapper">
  412. <pre><code class="lang-csharp hljs">public static void Run (Terminal.Gui.Toplevel view);</code></pre>
  413. </div>
  414. <h5 class="parameters">Parameters</h5>
  415. <table class="table table-bordered table-striped table-condensed">
  416. <thead>
  417. <tr>
  418. <th>Type</th>
  419. <th>Name</th>
  420. <th>Description</th>
  421. </tr>
  422. </thead>
  423. <tbody>
  424. <tr>
  425. <td><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></td>
  426. <td><span class="parametername">view</span></td>
  427. <td><p>To be added.</p>
  428. </td>
  429. </tr>
  430. </tbody>
  431. </table>
  432. <h5 id="Terminal_Gui_Application_Run_Terminal_Gui_Toplevel__remarks">Remarks</h5>
  433. <div class="markdown level1 remarks"><p>
  434. This method is used to start processing events
  435. for the main application, but it is also used to
  436. run modal dialog boxes.
  437. </p>
  438. <p>
  439. To make a toplevel stop execution, set the &quot;Running&quot;
  440. property to false.
  441. </p></div>
  442. <a id="Terminal_Gui_Application_RunLoop_" data-uid="Terminal.Gui.Application.RunLoop*"></a>
  443. <h4 id="Terminal_Gui_Application_RunLoop_Terminal_Gui_Application_RunState_System_Boolean_" data-uid="Terminal.Gui.Application.RunLoop(Terminal.Gui.Application.RunState,System.Boolean)">RunLoop(Application+RunState, Boolean)</h4>
  444. <div class="markdown level1 summary"><p>Runs the main loop for the created dialog</p>
  445. </div>
  446. <div class="markdown level1 conceptual"></div>
  447. <h5 class="decalaration">Declaration</h5>
  448. <div class="codewrapper">
  449. <pre><code class="lang-csharp hljs">public static void RunLoop (Terminal.Gui.Application.RunState state, bool wait = true);</code></pre>
  450. </div>
  451. <h5 class="parameters">Parameters</h5>
  452. <table class="table table-bordered table-striped table-condensed">
  453. <thead>
  454. <tr>
  455. <th>Type</th>
  456. <th>Name</th>
  457. <th>Description</th>
  458. </tr>
  459. </thead>
  460. <tbody>
  461. <tr>
  462. <td></td>
  463. <td><span class="parametername">state</span></td>
  464. <td><p>To be added.</p>
  465. </td>
  466. </tr>
  467. <tr>
  468. <td><span class="xref">System.Boolean</span></td>
  469. <td><span class="parametername">wait</span></td>
  470. <td><p>To be added.</p>
  471. </td>
  472. </tr>
  473. </tbody>
  474. </table>
  475. <h5 id="Terminal_Gui_Application_RunLoop_Terminal_Gui_Application_RunState_System_Boolean__remarks">Remarks</h5>
  476. <div class="markdown level1 remarks"><p>Use the wait parameter to control whether this is a
  477. blocking or non-blocking call.</p>
  478. </div>
  479. <a id="Terminal_Gui_Application_UngrabMouse_" data-uid="Terminal.Gui.Application.UngrabMouse*"></a>
  480. <h4 id="Terminal_Gui_Application_UngrabMouse" data-uid="Terminal.Gui.Application.UngrabMouse">UngrabMouse()</h4>
  481. <div class="markdown level1 summary"><p>Releases the mouse grab, so mouse events will be routed to the view on which the mouse is.</p>
  482. </div>
  483. <div class="markdown level1 conceptual"></div>
  484. <h5 class="decalaration">Declaration</h5>
  485. <div class="codewrapper">
  486. <pre><code class="lang-csharp hljs">public static void UngrabMouse ();</code></pre>
  487. </div>
  488. <h3 id="events">Events
  489. </h3>
  490. <h4 id="Terminal_Gui_Application_Iteration" data-uid="Terminal.Gui.Application.Iteration">Iteration</h4>
  491. <div class="markdown level1 summary"><p>This event is raised on each iteration of the
  492. main loop.</p>
  493. </div>
  494. <div class="markdown level1 conceptual"></div>
  495. <h5 class="decalaration">Declaration</h5>
  496. <div class="codewrapper">
  497. <pre><code class="lang-csharp hljs">public static event EventHandler Iteration;</code></pre>
  498. </div>
  499. <h5 class="eventType">Event Type</h5>
  500. <table class="table table-bordered table-striped table-condensed">
  501. <thead>
  502. <tr>
  503. <th>Type</th>
  504. <th>Description</th>
  505. </tr>
  506. </thead>
  507. <tbody>
  508. <tr>
  509. <td><span class="xref">System.EventHandler</span></td>
  510. <td><p>To be added.</p>
  511. </td>
  512. </tr>
  513. </tbody>
  514. </table>
  515. <h5 id="Terminal_Gui_Application_Iteration_remarks">Remarks</h5>
  516. <div class="markdown level1 remarks"><p>See also <span class="xref">System.Threading.Timeout</span></p>
  517. </div>
  518. </article>
  519. </div>
  520. <div class="hidden-sm col-md-2" role="complementary">
  521. <div class="sideaffix">
  522. <div class="contribution">
  523. <ul class="nav">
  524. </ul>
  525. </div>
  526. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  527. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  528. </nav>
  529. </div>
  530. </div>
  531. </div>
  532. </div>
  533. <footer>
  534. <div class="grad-bottom"></div>
  535. <div class="footer">
  536. <div class="container">
  537. <span class="pull-right">
  538. <a href="#top">Back to top</a>
  539. </span>
  540. <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
  541. </div>
  542. </div>
  543. </footer>
  544. </div>
  545. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  546. <script type="text/javascript" src="../../styles/docfx.js"></script>
  547. <script type="text/javascript" src="../../styles/main.js"></script>
  548. </body>
  549. </html>