Terminal.Application.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  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.Application">
  63. <h1 id="Terminal_Application" data-uid="Terminal.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.html">Terminal</a></h6>
  74. <h6><strong>Assembly</strong>: Terminal.dll</h6>
  75. <h5 id="Terminal_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_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_Application__ctor_" data-uid="Terminal.Application.#ctor*"></a>
  95. <h4 id="Terminal_Application__ctor" data-uid="Terminal.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_Application_DebugDrawBounds" data-uid="Terminal.Application.DebugDrawBounds">DebugDrawBounds</h4>
  105. <div class="markdown level1 summary"></div>
  106. <div class="markdown level1 conceptual"></div>
  107. <h5 class="decalaration">Declaration</h5>
  108. <div class="codewrapper">
  109. <pre><code class="lang-csharp hljs">public static bool DebugDrawBounds;</code></pre>
  110. </div>
  111. <h5 class="fieldValue">Field Value</h5>
  112. <table class="table table-bordered table-striped table-condensed">
  113. <thead>
  114. <tr>
  115. <th>Type</th>
  116. <th>Description</th>
  117. </tr>
  118. </thead>
  119. <tbody>
  120. <tr>
  121. <td><span class="xref">System.Boolean</span></td>
  122. <td><p>To be added.</p>
  123. </td>
  124. </tr>
  125. </tbody>
  126. </table>
  127. <h4 id="Terminal_Application_Driver" data-uid="Terminal.Application.Driver">Driver</h4>
  128. <div class="markdown level1 summary"><p>The current Console Driver in use.</p>
  129. </div>
  130. <div class="markdown level1 conceptual"></div>
  131. <h5 class="decalaration">Declaration</h5>
  132. <div class="codewrapper">
  133. <pre><code class="lang-csharp hljs">public static Terminal.ConsoleDriver Driver;</code></pre>
  134. </div>
  135. <h5 class="fieldValue">Field Value</h5>
  136. <table class="table table-bordered table-striped table-condensed">
  137. <thead>
  138. <tr>
  139. <th>Type</th>
  140. <th>Description</th>
  141. </tr>
  142. </thead>
  143. <tbody>
  144. <tr>
  145. <td><a class="xref" href="Terminal.ConsoleDriver.html">ConsoleDriver</a></td>
  146. <td><p>To be added.</p>
  147. </td>
  148. </tr>
  149. </tbody>
  150. </table>
  151. <h4 id="Terminal_Application_RootMouseEvent" data-uid="Terminal.Application.RootMouseEvent">RootMouseEvent</h4>
  152. <div class="markdown level1 summary"><p>Merely a debugging aid to see the raw mouse events</p>
  153. </div>
  154. <div class="markdown level1 conceptual"></div>
  155. <h5 class="decalaration">Declaration</h5>
  156. <div class="codewrapper">
  157. <pre><code class="lang-csharp hljs">public static Action&lt;Terminal.MouseEvent&gt; RootMouseEvent;</code></pre>
  158. </div>
  159. <h5 class="fieldValue">Field Value</h5>
  160. <table class="table table-bordered table-striped table-condensed">
  161. <thead>
  162. <tr>
  163. <th>Type</th>
  164. <th>Description</th>
  165. </tr>
  166. </thead>
  167. <tbody>
  168. <tr>
  169. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.MouseEvent.html">MouseEvent</a>&gt;</td>
  170. <td><p>To be added.</p>
  171. </td>
  172. </tr>
  173. </tbody>
  174. </table>
  175. <h3 id="properties">Properties
  176. </h3>
  177. <a id="Terminal_Application_Current_" data-uid="Terminal.Application.Current*"></a>
  178. <h4 id="Terminal_Application_Current" data-uid="Terminal.Application.Current">Current</h4>
  179. <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>
  180. </div>
  181. <div class="markdown level1 conceptual"></div>
  182. <h5 class="decalaration">Declaration</h5>
  183. <div class="codewrapper">
  184. <pre><code class="lang-csharp hljs">public static Terminal.Toplevel Current { get; }</code></pre>
  185. </div>
  186. <h5 class="propertyValue">Property Value</h5>
  187. <table class="table table-bordered table-striped table-condensed">
  188. <thead>
  189. <tr>
  190. <th>Type</th>
  191. <th>Description</th>
  192. </tr>
  193. </thead>
  194. <tbody>
  195. <tr>
  196. <td><a class="xref" href="Terminal.Toplevel.html">Toplevel</a></td>
  197. <td><p>The current.</p>
  198. </td>
  199. </tr>
  200. </tbody>
  201. </table>
  202. <a id="Terminal_Application_MainLoop_" data-uid="Terminal.Application.MainLoop*"></a>
  203. <h4 id="Terminal_Application_MainLoop" data-uid="Terminal.Application.MainLoop">MainLoop</h4>
  204. <div class="markdown level1 summary"><p>The mainloop driver for the applicaiton</p>
  205. </div>
  206. <div class="markdown level1 conceptual"></div>
  207. <h5 class="decalaration">Declaration</h5>
  208. <div class="codewrapper">
  209. <pre><code class="lang-csharp hljs">public static Mono.Terminal.MainLoop MainLoop { get; }</code></pre>
  210. </div>
  211. <h5 class="propertyValue">Property Value</h5>
  212. <table class="table table-bordered table-striped table-condensed">
  213. <thead>
  214. <tr>
  215. <th>Type</th>
  216. <th>Description</th>
  217. </tr>
  218. </thead>
  219. <tbody>
  220. <tr>
  221. <td><span class="xref">Mono.Terminal.MainLoop</span></td>
  222. <td><p>The main loop.</p>
  223. </td>
  224. </tr>
  225. </tbody>
  226. </table>
  227. <a id="Terminal_Application_Top_" data-uid="Terminal.Application.Top*"></a>
  228. <h4 id="Terminal_Application_Top" data-uid="Terminal.Application.Top">Top</h4>
  229. <div class="markdown level1 summary"><p>The Toplevel object used for the application on startup.</p>
  230. </div>
  231. <div class="markdown level1 conceptual"></div>
  232. <h5 class="decalaration">Declaration</h5>
  233. <div class="codewrapper">
  234. <pre><code class="lang-csharp hljs">public static Terminal.Toplevel Top { get; }</code></pre>
  235. </div>
  236. <h5 class="propertyValue">Property Value</h5>
  237. <table class="table table-bordered table-striped table-condensed">
  238. <thead>
  239. <tr>
  240. <th>Type</th>
  241. <th>Description</th>
  242. </tr>
  243. </thead>
  244. <tbody>
  245. <tr>
  246. <td><a class="xref" href="Terminal.Toplevel.html">Toplevel</a></td>
  247. <td><p>The top.</p>
  248. </td>
  249. </tr>
  250. </tbody>
  251. </table>
  252. <h3 id="methods">Methods
  253. </h3>
  254. <a id="Terminal_Application_Begin_" data-uid="Terminal.Application.Begin*"></a>
  255. <h4 id="Terminal_Application_Begin_Terminal_Toplevel_" data-uid="Terminal.Application.Begin(Terminal.Toplevel)">Begin(Toplevel)</h4>
  256. <div class="markdown level1 summary"></div>
  257. <div class="markdown level1 conceptual"></div>
  258. <h5 class="decalaration">Declaration</h5>
  259. <div class="codewrapper">
  260. <pre><code class="lang-csharp hljs">public static Terminal.Application.RunState Begin (Terminal.Toplevel toplevel);</code></pre>
  261. </div>
  262. <h5 class="parameters">Parameters</h5>
  263. <table class="table table-bordered table-striped table-condensed">
  264. <thead>
  265. <tr>
  266. <th>Type</th>
  267. <th>Name</th>
  268. <th>Description</th>
  269. </tr>
  270. </thead>
  271. <tbody>
  272. <tr>
  273. <td><a class="xref" href="Terminal.Toplevel.html">Toplevel</a></td>
  274. <td><span class="parametername">toplevel</span></td>
  275. <td><p>To be added.</p>
  276. </td>
  277. </tr>
  278. </tbody>
  279. </table>
  280. <h5 class="returns">Returns</h5>
  281. <table class="table table-bordered table-striped table-condensed">
  282. <thead>
  283. <tr>
  284. <th>Type</th>
  285. <th>Description</th>
  286. </tr>
  287. </thead>
  288. <tbody>
  289. <tr>
  290. <td></td>
  291. <td><p>To be added.</p>
  292. </td>
  293. </tr>
  294. </tbody>
  295. </table>
  296. <a id="Terminal_Application_End_" data-uid="Terminal.Application.End*"></a>
  297. <h4 id="Terminal_Application_End_Terminal_Application_RunState_" data-uid="Terminal.Application.End(Terminal.Application.RunState)">End(Application+RunState)</h4>
  298. <div class="markdown level1 summary"></div>
  299. <div class="markdown level1 conceptual"></div>
  300. <h5 class="decalaration">Declaration</h5>
  301. <div class="codewrapper">
  302. <pre><code class="lang-csharp hljs">public static void End (Terminal.Application.RunState rs);</code></pre>
  303. </div>
  304. <h5 class="parameters">Parameters</h5>
  305. <table class="table table-bordered table-striped table-condensed">
  306. <thead>
  307. <tr>
  308. <th>Type</th>
  309. <th>Name</th>
  310. <th>Description</th>
  311. </tr>
  312. </thead>
  313. <tbody>
  314. <tr>
  315. <td></td>
  316. <td><span class="parametername">rs</span></td>
  317. <td><p>To be added.</p>
  318. </td>
  319. </tr>
  320. </tbody>
  321. </table>
  322. <a id="Terminal_Application_GrabMouse_" data-uid="Terminal.Application.GrabMouse*"></a>
  323. <h4 id="Terminal_Application_GrabMouse_Terminal_View_" data-uid="Terminal.Application.GrabMouse(Terminal.View)">GrabMouse(View)</h4>
  324. <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>
  325. </div>
  326. <div class="markdown level1 conceptual"></div>
  327. <h5 class="decalaration">Declaration</h5>
  328. <div class="codewrapper">
  329. <pre><code class="lang-csharp hljs">public static void GrabMouse (Terminal.View view);</code></pre>
  330. </div>
  331. <h5 class="parameters">Parameters</h5>
  332. <table class="table table-bordered table-striped table-condensed">
  333. <thead>
  334. <tr>
  335. <th>Type</th>
  336. <th>Name</th>
  337. <th>Description</th>
  338. </tr>
  339. </thead>
  340. <tbody>
  341. <tr>
  342. <td><a class="xref" href="Terminal.View.html">View</a></td>
  343. <td><span class="parametername">view</span></td>
  344. <td><p>View that will receive all mouse events until UngrabMouse is invoked.</p>
  345. </td>
  346. </tr>
  347. </tbody>
  348. </table>
  349. <a id="Terminal_Application_Init_" data-uid="Terminal.Application.Init*"></a>
  350. <h4 id="Terminal_Application_Init" data-uid="Terminal.Application.Init">Init()</h4>
  351. <div class="markdown level1 summary"><p>Initializes the Application</p>
  352. </div>
  353. <div class="markdown level1 conceptual"></div>
  354. <h5 class="decalaration">Declaration</h5>
  355. <div class="codewrapper">
  356. <pre><code class="lang-csharp hljs">public static void Init ();</code></pre>
  357. </div>
  358. <a id="Terminal_Application_MakeCenteredRect_" data-uid="Terminal.Application.MakeCenteredRect*"></a>
  359. <h4 id="Terminal_Application_MakeCenteredRect_Terminal_Size_" data-uid="Terminal.Application.MakeCenteredRect(Terminal.Size)">MakeCenteredRect(Size)</h4>
  360. <div class="markdown level1 summary"><p>Returns a rectangle that is centered in the screen for the provided size.</p>
  361. </div>
  362. <div class="markdown level1 conceptual"></div>
  363. <h5 class="decalaration">Declaration</h5>
  364. <div class="codewrapper">
  365. <pre><code class="lang-csharp hljs">public static Terminal.Rect MakeCenteredRect (Terminal.Size size);</code></pre>
  366. </div>
  367. <h5 class="parameters">Parameters</h5>
  368. <table class="table table-bordered table-striped table-condensed">
  369. <thead>
  370. <tr>
  371. <th>Type</th>
  372. <th>Name</th>
  373. <th>Description</th>
  374. </tr>
  375. </thead>
  376. <tbody>
  377. <tr>
  378. <td><a class="xref" href="Terminal.Size.html">Size</a></td>
  379. <td><span class="parametername">size</span></td>
  380. <td><p>Size for the rectangle.</p>
  381. </td>
  382. </tr>
  383. </tbody>
  384. </table>
  385. <h5 class="returns">Returns</h5>
  386. <table class="table table-bordered table-striped table-condensed">
  387. <thead>
  388. <tr>
  389. <th>Type</th>
  390. <th>Description</th>
  391. </tr>
  392. </thead>
  393. <tbody>
  394. <tr>
  395. <td><a class="xref" href="Terminal.Rect.html">Rect</a></td>
  396. <td><p>The centered rect.</p>
  397. </td>
  398. </tr>
  399. </tbody>
  400. </table>
  401. <a id="Terminal_Application_Refresh_" data-uid="Terminal.Application.Refresh*"></a>
  402. <h4 id="Terminal_Application_Refresh" data-uid="Terminal.Application.Refresh">Refresh()</h4>
  403. <div class="markdown level1 summary"><p>Triggers a refresh of the entire display.</p>
  404. </div>
  405. <div class="markdown level1 conceptual"></div>
  406. <h5 class="decalaration">Declaration</h5>
  407. <div class="codewrapper">
  408. <pre><code class="lang-csharp hljs">public static void Refresh ();</code></pre>
  409. </div>
  410. <a id="Terminal_Application_RequestStop_" data-uid="Terminal.Application.RequestStop*"></a>
  411. <h4 id="Terminal_Application_RequestStop" data-uid="Terminal.Application.RequestStop">RequestStop()</h4>
  412. <div class="markdown level1 summary"><p>Stops running the most recent toplevel</p>
  413. </div>
  414. <div class="markdown level1 conceptual"></div>
  415. <h5 class="decalaration">Declaration</h5>
  416. <div class="codewrapper">
  417. <pre><code class="lang-csharp hljs">public static void RequestStop ();</code></pre>
  418. </div>
  419. <a id="Terminal_Application_Run_" data-uid="Terminal.Application.Run*"></a>
  420. <h4 id="Terminal_Application_Run" data-uid="Terminal.Application.Run">Run()</h4>
  421. <div class="markdown level1 summary"><p>Runs the application with the built-in toplevel view</p>
  422. </div>
  423. <div class="markdown level1 conceptual"></div>
  424. <h5 class="decalaration">Declaration</h5>
  425. <div class="codewrapper">
  426. <pre><code class="lang-csharp hljs">public static void Run ();</code></pre>
  427. </div>
  428. <a id="Terminal_Application_Run_" data-uid="Terminal.Application.Run*"></a>
  429. <h4 id="Terminal_Application_Run_Terminal_Toplevel_" data-uid="Terminal.Application.Run(Terminal.Toplevel)">Run(Toplevel)</h4>
  430. <div class="markdown level1 summary"><p>Runs the main loop on the given container.</p>
  431. </div>
  432. <div class="markdown level1 conceptual"></div>
  433. <h5 class="decalaration">Declaration</h5>
  434. <div class="codewrapper">
  435. <pre><code class="lang-csharp hljs">public static void Run (Terminal.Toplevel view);</code></pre>
  436. </div>
  437. <h5 class="parameters">Parameters</h5>
  438. <table class="table table-bordered table-striped table-condensed">
  439. <thead>
  440. <tr>
  441. <th>Type</th>
  442. <th>Name</th>
  443. <th>Description</th>
  444. </tr>
  445. </thead>
  446. <tbody>
  447. <tr>
  448. <td><a class="xref" href="Terminal.Toplevel.html">Toplevel</a></td>
  449. <td><span class="parametername">view</span></td>
  450. <td><p>To be added.</p>
  451. </td>
  452. </tr>
  453. </tbody>
  454. </table>
  455. <h5 id="Terminal_Application_Run_Terminal_Toplevel__remarks">Remarks</h5>
  456. <div class="markdown level1 remarks"><p>
  457. This method is used to start processing events
  458. for the main application, but it is also used to
  459. run modal dialog boxes.
  460. </p>
  461. <p>
  462. To make a toplevel stop execution, set the &quot;Running&quot;
  463. property to false.
  464. </p></div>
  465. <a id="Terminal_Application_RunLoop_" data-uid="Terminal.Application.RunLoop*"></a>
  466. <h4 id="Terminal_Application_RunLoop_Terminal_Application_RunState_System_Boolean_" data-uid="Terminal.Application.RunLoop(Terminal.Application.RunState,System.Boolean)">RunLoop(Application+RunState, Boolean)</h4>
  467. <div class="markdown level1 summary"><p>Runs the main loop for the created dialog</p>
  468. </div>
  469. <div class="markdown level1 conceptual"></div>
  470. <h5 class="decalaration">Declaration</h5>
  471. <div class="codewrapper">
  472. <pre><code class="lang-csharp hljs">public static void RunLoop (Terminal.Application.RunState state, bool wait = true);</code></pre>
  473. </div>
  474. <h5 class="parameters">Parameters</h5>
  475. <table class="table table-bordered table-striped table-condensed">
  476. <thead>
  477. <tr>
  478. <th>Type</th>
  479. <th>Name</th>
  480. <th>Description</th>
  481. </tr>
  482. </thead>
  483. <tbody>
  484. <tr>
  485. <td></td>
  486. <td><span class="parametername">state</span></td>
  487. <td><p>To be added.</p>
  488. </td>
  489. </tr>
  490. <tr>
  491. <td><span class="xref">System.Boolean</span></td>
  492. <td><span class="parametername">wait</span></td>
  493. <td><p>To be added.</p>
  494. </td>
  495. </tr>
  496. </tbody>
  497. </table>
  498. <h5 id="Terminal_Application_RunLoop_Terminal_Application_RunState_System_Boolean__remarks">Remarks</h5>
  499. <div class="markdown level1 remarks"><p>Use the wait parameter to control whether this is a
  500. blocking or non-blocking call.</p>
  501. </div>
  502. <a id="Terminal_Application_UngrabMouse_" data-uid="Terminal.Application.UngrabMouse*"></a>
  503. <h4 id="Terminal_Application_UngrabMouse" data-uid="Terminal.Application.UngrabMouse">UngrabMouse()</h4>
  504. <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>
  505. </div>
  506. <div class="markdown level1 conceptual"></div>
  507. <h5 class="decalaration">Declaration</h5>
  508. <div class="codewrapper">
  509. <pre><code class="lang-csharp hljs">public static void UngrabMouse ();</code></pre>
  510. </div>
  511. <h3 id="events">Events
  512. </h3>
  513. <h4 id="Terminal_Application_Iteration" data-uid="Terminal.Application.Iteration">Iteration</h4>
  514. <div class="markdown level1 summary"><p>This event is raised on each iteration of the
  515. main loop.</p>
  516. </div>
  517. <div class="markdown level1 conceptual"></div>
  518. <h5 class="decalaration">Declaration</h5>
  519. <div class="codewrapper">
  520. <pre><code class="lang-csharp hljs">public static event EventHandler Iteration;</code></pre>
  521. </div>
  522. <h5 class="eventType">Event Type</h5>
  523. <table class="table table-bordered table-striped table-condensed">
  524. <thead>
  525. <tr>
  526. <th>Type</th>
  527. <th>Description</th>
  528. </tr>
  529. </thead>
  530. <tbody>
  531. <tr>
  532. <td><span class="xref">System.EventHandler</span></td>
  533. <td><p>To be added.</p>
  534. </td>
  535. </tr>
  536. </tbody>
  537. </table>
  538. <h5 id="Terminal_Application_Iteration_remarks">Remarks</h5>
  539. <div class="markdown level1 remarks"><p>See also <span class="xref">System.Threading.Timeout</span></p>
  540. </div>
  541. </article>
  542. </div>
  543. <div class="hidden-sm col-md-2" role="complementary">
  544. <div class="sideaffix">
  545. <div class="contribution">
  546. <ul class="nav">
  547. </ul>
  548. </div>
  549. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  550. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  551. </nav>
  552. </div>
  553. </div>
  554. </div>
  555. </div>
  556. <footer>
  557. <div class="grad-bottom"></div>
  558. <div class="footer">
  559. <div class="container">
  560. <span class="pull-right">
  561. <a href="#top">Back to top</a>
  562. </span>
  563. <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
  564. </div>
  565. </div>
  566. </footer>
  567. </div>
  568. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  569. <script type="text/javascript" src="../../styles/docfx.js"></script>
  570. <script type="text/javascript" src="../../styles/main.js"></script>
  571. </body>
  572. </html>