Terminal.Gui.Responder.html 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907
  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 Responder
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Responder
  11. ">
  12. <meta name="generator" content="docfx 2.59.4.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. <link href="https://fonts.googleapis.com/css?family=Source Sans Pro" rel="stylesheet">
  18. <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../../">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../../index.html">
  35. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list">Search Results for <span></span></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Responder">
  74. <h1 id="Terminal_Gui_Responder" data-uid="Terminal.Gui.Responder" class="text-break">Class Responder
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Responder base class implemented by objects that want to participate on keyboard and mouse input.
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><span class="xref">Responder</span></div>
  84. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  85. </div>
  86. <div class="implements">
  87. <h5>Implements</h5>
  88. <div><span class="xref">System.IDisposable</span></div>
  89. </div>
  90. <div class="inheritedMembers">
  91. <h5>Inherited Members</h5>
  92. <div>
  93. <span class="xref">System.Object.Equals(System.Object)</span>
  94. </div>
  95. <div>
  96. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  97. </div>
  98. <div>
  99. <span class="xref">System.Object.GetHashCode()</span>
  100. </div>
  101. <div>
  102. <span class="xref">System.Object.GetType()</span>
  103. </div>
  104. <div>
  105. <span class="xref">System.Object.MemberwiseClone()</span>
  106. </div>
  107. <div>
  108. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  109. </div>
  110. <div>
  111. <span class="xref">System.Object.ToString()</span>
  112. </div>
  113. </div>
  114. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  115. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  116. <h5 id="Terminal_Gui_Responder_syntax">Syntax</h5>
  117. <div class="codewrapper">
  118. <pre><code class="lang-csharp hljs">public class Responder : IDisposable</code></pre>
  119. </div>
  120. <h3 id="properties">Properties
  121. </h3>
  122. <span class="small pull-right mobile-hide">
  123. <span class="divider">|</span>
  124. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_CanFocus.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.CanFocus%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  125. </span>
  126. <span class="small pull-right mobile-hide">
  127. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L53">View Source</a>
  128. </span>
  129. <a id="Terminal_Gui_Responder_CanFocus_" data-uid="Terminal.Gui.Responder.CanFocus*"></a>
  130. <h4 id="Terminal_Gui_Responder_CanFocus" data-uid="Terminal.Gui.Responder.CanFocus">CanFocus</h4>
  131. <div class="markdown level1 summary">
  132. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.Responder.html">Responder</a> can focus.
  133. </div>
  134. <div class="markdown level1 conceptual"></div>
  135. <h5 class="decalaration">Declaration</h5>
  136. <div class="codewrapper">
  137. <pre><code class="lang-csharp hljs">public virtual bool CanFocus { get; set; }</code></pre>
  138. </div>
  139. <h5 class="propertyValue">Property Value</h5>
  140. <table class="table table-bordered table-striped table-condensed">
  141. <thead>
  142. <tr>
  143. <th>Type</th>
  144. <th>Description</th>
  145. </tr>
  146. </thead>
  147. <tbody>
  148. <tr>
  149. <td><span class="xref">System.Boolean</span></td>
  150. <td><code>true</code> if can focus; otherwise, <code>false</code>.</td>
  151. </tr>
  152. </tbody>
  153. </table>
  154. <span class="small pull-right mobile-hide">
  155. <span class="divider">|</span>
  156. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_Enabled.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.Enabled%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  157. </span>
  158. <span class="small pull-right mobile-hide">
  159. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L64">View Source</a>
  160. </span>
  161. <a id="Terminal_Gui_Responder_Enabled_" data-uid="Terminal.Gui.Responder.Enabled*"></a>
  162. <h4 id="Terminal_Gui_Responder_Enabled" data-uid="Terminal.Gui.Responder.Enabled">Enabled</h4>
  163. <div class="markdown level1 summary">
  164. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.Responder.html">Responder</a> can respond to user interaction.
  165. </div>
  166. <div class="markdown level1 conceptual"></div>
  167. <h5 class="decalaration">Declaration</h5>
  168. <div class="codewrapper">
  169. <pre><code class="lang-csharp hljs">public virtual bool Enabled { get; set; }</code></pre>
  170. </div>
  171. <h5 class="propertyValue">Property Value</h5>
  172. <table class="table table-bordered table-striped table-condensed">
  173. <thead>
  174. <tr>
  175. <th>Type</th>
  176. <th>Description</th>
  177. </tr>
  178. </thead>
  179. <tbody>
  180. <tr>
  181. <td><span class="xref">System.Boolean</span></td>
  182. <td></td>
  183. </tr>
  184. </tbody>
  185. </table>
  186. <span class="small pull-right mobile-hide">
  187. <span class="divider">|</span>
  188. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_HasFocus.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.HasFocus%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  189. </span>
  190. <span class="small pull-right mobile-hide">
  191. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L59">View Source</a>
  192. </span>
  193. <a id="Terminal_Gui_Responder_HasFocus_" data-uid="Terminal.Gui.Responder.HasFocus*"></a>
  194. <h4 id="Terminal_Gui_Responder_HasFocus" data-uid="Terminal.Gui.Responder.HasFocus">HasFocus</h4>
  195. <div class="markdown level1 summary">
  196. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.Responder.html">Responder</a> has focus.
  197. </div>
  198. <div class="markdown level1 conceptual"></div>
  199. <h5 class="decalaration">Declaration</h5>
  200. <div class="codewrapper">
  201. <pre><code class="lang-csharp hljs">public virtual bool HasFocus { get; }</code></pre>
  202. </div>
  203. <h5 class="propertyValue">Property Value</h5>
  204. <table class="table table-bordered table-striped table-condensed">
  205. <thead>
  206. <tr>
  207. <th>Type</th>
  208. <th>Description</th>
  209. </tr>
  210. </thead>
  211. <tbody>
  212. <tr>
  213. <td><span class="xref">System.Boolean</span></td>
  214. <td><code>true</code> if has focus; otherwise, <code>false</code>.</td>
  215. </tr>
  216. </tbody>
  217. </table>
  218. <span class="small pull-right mobile-hide">
  219. <span class="divider">|</span>
  220. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_Visible.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.Visible%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  221. </span>
  222. <span class="small pull-right mobile-hide">
  223. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L69">View Source</a>
  224. </span>
  225. <a id="Terminal_Gui_Responder_Visible_" data-uid="Terminal.Gui.Responder.Visible*"></a>
  226. <h4 id="Terminal_Gui_Responder_Visible" data-uid="Terminal.Gui.Responder.Visible">Visible</h4>
  227. <div class="markdown level1 summary">
  228. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.Responder.html">Responder</a> and all its child controls are displayed.
  229. </div>
  230. <div class="markdown level1 conceptual"></div>
  231. <h5 class="decalaration">Declaration</h5>
  232. <div class="codewrapper">
  233. <pre><code class="lang-csharp hljs">public virtual bool Visible { get; set; }</code></pre>
  234. </div>
  235. <h5 class="propertyValue">Property Value</h5>
  236. <table class="table table-bordered table-striped table-condensed">
  237. <thead>
  238. <tr>
  239. <th>Type</th>
  240. <th>Description</th>
  241. </tr>
  242. </thead>
  243. <tbody>
  244. <tr>
  245. <td><span class="xref">System.Boolean</span></td>
  246. <td></td>
  247. </tr>
  248. </tbody>
  249. </table>
  250. <h3 id="methods">Methods
  251. </h3>
  252. <span class="small pull-right mobile-hide">
  253. <span class="divider">|</span>
  254. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_Dispose.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.Dispose%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  255. </span>
  256. <span class="small pull-right mobile-hide">
  257. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L267">View Source</a>
  258. </span>
  259. <a id="Terminal_Gui_Responder_Dispose_" data-uid="Terminal.Gui.Responder.Dispose*"></a>
  260. <h4 id="Terminal_Gui_Responder_Dispose" data-uid="Terminal.Gui.Responder.Dispose">Dispose()</h4>
  261. <div class="markdown level1 summary">
  262. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resource.
  263. </div>
  264. <div class="markdown level1 conceptual"></div>
  265. <h5 class="decalaration">Declaration</h5>
  266. <div class="codewrapper">
  267. <pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
  268. </div>
  269. <span class="small pull-right mobile-hide">
  270. <span class="divider">|</span>
  271. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_Dispose_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.Dispose(System.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  272. </span>
  273. <span class="small pull-right mobile-hide">
  274. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L251">View Source</a>
  275. </span>
  276. <a id="Terminal_Gui_Responder_Dispose_" data-uid="Terminal.Gui.Responder.Dispose*"></a>
  277. <h4 id="Terminal_Gui_Responder_Dispose_System_Boolean_" data-uid="Terminal.Gui.Responder.Dispose(System.Boolean)">Dispose(Boolean)</h4>
  278. <div class="markdown level1 summary">
  279. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
  280. </div>
  281. <div class="markdown level1 conceptual"></div>
  282. <h5 class="decalaration">Declaration</h5>
  283. <div class="codewrapper">
  284. <pre><code class="lang-csharp hljs">protected virtual void Dispose(bool disposing)</code></pre>
  285. </div>
  286. <h5 class="parameters">Parameters</h5>
  287. <table class="table table-bordered table-striped table-condensed">
  288. <thead>
  289. <tr>
  290. <th>Type</th>
  291. <th>Name</th>
  292. <th>Description</th>
  293. </tr>
  294. </thead>
  295. <tbody>
  296. <tr>
  297. <td><span class="xref">System.Boolean</span></td>
  298. <td><span class="parametername">disposing</span></td>
  299. <td></td>
  300. </tr>
  301. </tbody>
  302. </table>
  303. <span class="small pull-right mobile-hide">
  304. <span class="divider">|</span>
  305. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.MouseEvent(Terminal.Gui.MouseEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  306. </span>
  307. <span class="small pull-right mobile-hide">
  308. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L179">View Source</a>
  309. </span>
  310. <a id="Terminal_Gui_Responder_MouseEvent_" data-uid="Terminal.Gui.Responder.MouseEvent*"></a>
  311. <h4 id="Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.Responder.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  312. <div class="markdown level1 summary">
  313. Method invoked when a mouse event is generated
  314. </div>
  315. <div class="markdown level1 conceptual"></div>
  316. <h5 class="decalaration">Declaration</h5>
  317. <div class="codewrapper">
  318. <pre><code class="lang-csharp hljs">public virtual bool MouseEvent(MouseEvent mouseEvent)</code></pre>
  319. </div>
  320. <h5 class="parameters">Parameters</h5>
  321. <table class="table table-bordered table-striped table-condensed">
  322. <thead>
  323. <tr>
  324. <th>Type</th>
  325. <th>Name</th>
  326. <th>Description</th>
  327. </tr>
  328. </thead>
  329. <tbody>
  330. <tr>
  331. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  332. <td><span class="parametername">mouseEvent</span></td>
  333. <td>Contains the details about the mouse event.</td>
  334. </tr>
  335. </tbody>
  336. </table>
  337. <h5 class="returns">Returns</h5>
  338. <table class="table table-bordered table-striped table-condensed">
  339. <thead>
  340. <tr>
  341. <th>Type</th>
  342. <th>Description</th>
  343. </tr>
  344. </thead>
  345. <tbody>
  346. <tr>
  347. <td><span class="xref">System.Boolean</span></td>
  348. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  349. </tr>
  350. </tbody>
  351. </table>
  352. <span class="small pull-right mobile-hide">
  353. <span class="divider">|</span>
  354. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_OnCanFocusChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.OnCanFocusChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  355. </span>
  356. <span class="small pull-right mobile-hide">
  357. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L227">View Source</a>
  358. </span>
  359. <a id="Terminal_Gui_Responder_OnCanFocusChanged_" data-uid="Terminal.Gui.Responder.OnCanFocusChanged*"></a>
  360. <h4 id="Terminal_Gui_Responder_OnCanFocusChanged" data-uid="Terminal.Gui.Responder.OnCanFocusChanged">OnCanFocusChanged()</h4>
  361. <div class="markdown level1 summary">
  362. Method invoked when the <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_CanFocus">CanFocus</a> property from a view is changed.
  363. </div>
  364. <div class="markdown level1 conceptual"></div>
  365. <h5 class="decalaration">Declaration</h5>
  366. <div class="codewrapper">
  367. <pre><code class="lang-csharp hljs">public virtual void OnCanFocusChanged()</code></pre>
  368. </div>
  369. <span class="small pull-right mobile-hide">
  370. <span class="divider">|</span>
  371. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_OnEnabledChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.OnEnabledChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  372. </span>
  373. <span class="small pull-right mobile-hide">
  374. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L232">View Source</a>
  375. </span>
  376. <a id="Terminal_Gui_Responder_OnEnabledChanged_" data-uid="Terminal.Gui.Responder.OnEnabledChanged*"></a>
  377. <h4 id="Terminal_Gui_Responder_OnEnabledChanged" data-uid="Terminal.Gui.Responder.OnEnabledChanged">OnEnabledChanged()</h4>
  378. <div class="markdown level1 summary">
  379. Method invoked when the <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Enabled">Enabled</a> property from a view is changed.
  380. </div>
  381. <div class="markdown level1 conceptual"></div>
  382. <h5 class="decalaration">Declaration</h5>
  383. <div class="codewrapper">
  384. <pre><code class="lang-csharp hljs">public virtual void OnEnabledChanged()</code></pre>
  385. </div>
  386. <span class="small pull-right mobile-hide">
  387. <span class="divider">|</span>
  388. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_OnEnter_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.OnEnter(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  389. </span>
  390. <span class="small pull-right mobile-hide">
  391. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L209">View Source</a>
  392. </span>
  393. <a id="Terminal_Gui_Responder_OnEnter_" data-uid="Terminal.Gui.Responder.OnEnter*"></a>
  394. <h4 id="Terminal_Gui_Responder_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.Responder.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  395. <div class="markdown level1 summary">
  396. Method invoked when a view gets focus.
  397. </div>
  398. <div class="markdown level1 conceptual"></div>
  399. <h5 class="decalaration">Declaration</h5>
  400. <div class="codewrapper">
  401. <pre><code class="lang-csharp hljs">public virtual bool OnEnter(View view)</code></pre>
  402. </div>
  403. <h5 class="parameters">Parameters</h5>
  404. <table class="table table-bordered table-striped table-condensed">
  405. <thead>
  406. <tr>
  407. <th>Type</th>
  408. <th>Name</th>
  409. <th>Description</th>
  410. </tr>
  411. </thead>
  412. <tbody>
  413. <tr>
  414. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  415. <td><span class="parametername">view</span></td>
  416. <td>The view that is losing focus.</td>
  417. </tr>
  418. </tbody>
  419. </table>
  420. <h5 class="returns">Returns</h5>
  421. <table class="table table-bordered table-striped table-condensed">
  422. <thead>
  423. <tr>
  424. <th>Type</th>
  425. <th>Description</th>
  426. </tr>
  427. </thead>
  428. <tbody>
  429. <tr>
  430. <td><span class="xref">System.Boolean</span></td>
  431. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  432. </tr>
  433. </tbody>
  434. </table>
  435. <span class="small pull-right mobile-hide">
  436. <span class="divider">|</span>
  437. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_OnKeyDown_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.OnKeyDown(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  438. </span>
  439. <span class="small pull-right mobile-hide">
  440. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L159">View Source</a>
  441. </span>
  442. <a id="Terminal_Gui_Responder_OnKeyDown_" data-uid="Terminal.Gui.Responder.OnKeyDown*"></a>
  443. <h4 id="Terminal_Gui_Responder_OnKeyDown_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Responder.OnKeyDown(Terminal.Gui.KeyEvent)">OnKeyDown(KeyEvent)</h4>
  444. <div class="markdown level1 summary">
  445. Method invoked when a key is pressed.
  446. </div>
  447. <div class="markdown level1 conceptual"></div>
  448. <h5 class="decalaration">Declaration</h5>
  449. <div class="codewrapper">
  450. <pre><code class="lang-csharp hljs">public virtual bool OnKeyDown(KeyEvent keyEvent)</code></pre>
  451. </div>
  452. <h5 class="parameters">Parameters</h5>
  453. <table class="table table-bordered table-striped table-condensed">
  454. <thead>
  455. <tr>
  456. <th>Type</th>
  457. <th>Name</th>
  458. <th>Description</th>
  459. </tr>
  460. </thead>
  461. <tbody>
  462. <tr>
  463. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  464. <td><span class="parametername">keyEvent</span></td>
  465. <td>Contains the details about the key that produced the event.</td>
  466. </tr>
  467. </tbody>
  468. </table>
  469. <h5 class="returns">Returns</h5>
  470. <table class="table table-bordered table-striped table-condensed">
  471. <thead>
  472. <tr>
  473. <th>Type</th>
  474. <th>Description</th>
  475. </tr>
  476. </thead>
  477. <tbody>
  478. <tr>
  479. <td><span class="xref">System.Boolean</span></td>
  480. <td>true if the event was handled</td>
  481. </tr>
  482. </tbody>
  483. </table>
  484. <span class="small pull-right mobile-hide">
  485. <span class="divider">|</span>
  486. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_OnKeyUp_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.OnKeyUp(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  487. </span>
  488. <span class="small pull-right mobile-hide">
  489. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L169">View Source</a>
  490. </span>
  491. <a id="Terminal_Gui_Responder_OnKeyUp_" data-uid="Terminal.Gui.Responder.OnKeyUp*"></a>
  492. <h4 id="Terminal_Gui_Responder_OnKeyUp_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Responder.OnKeyUp(Terminal.Gui.KeyEvent)">OnKeyUp(KeyEvent)</h4>
  493. <div class="markdown level1 summary">
  494. Method invoked when a key is released.
  495. </div>
  496. <div class="markdown level1 conceptual"></div>
  497. <h5 class="decalaration">Declaration</h5>
  498. <div class="codewrapper">
  499. <pre><code class="lang-csharp hljs">public virtual bool OnKeyUp(KeyEvent keyEvent)</code></pre>
  500. </div>
  501. <h5 class="parameters">Parameters</h5>
  502. <table class="table table-bordered table-striped table-condensed">
  503. <thead>
  504. <tr>
  505. <th>Type</th>
  506. <th>Name</th>
  507. <th>Description</th>
  508. </tr>
  509. </thead>
  510. <tbody>
  511. <tr>
  512. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  513. <td><span class="parametername">keyEvent</span></td>
  514. <td>Contains the details about the key that produced the event.</td>
  515. </tr>
  516. </tbody>
  517. </table>
  518. <h5 class="returns">Returns</h5>
  519. <table class="table table-bordered table-striped table-condensed">
  520. <thead>
  521. <tr>
  522. <th>Type</th>
  523. <th>Description</th>
  524. </tr>
  525. </thead>
  526. <tbody>
  527. <tr>
  528. <td><span class="xref">System.Boolean</span></td>
  529. <td>true if the event was handled</td>
  530. </tr>
  531. </tbody>
  532. </table>
  533. <span class="small pull-right mobile-hide">
  534. <span class="divider">|</span>
  535. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_OnLeave_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.OnLeave(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  536. </span>
  537. <span class="small pull-right mobile-hide">
  538. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L219">View Source</a>
  539. </span>
  540. <a id="Terminal_Gui_Responder_OnLeave_" data-uid="Terminal.Gui.Responder.OnLeave*"></a>
  541. <h4 id="Terminal_Gui_Responder_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.Responder.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  542. <div class="markdown level1 summary">
  543. Method invoked when a view loses focus.
  544. </div>
  545. <div class="markdown level1 conceptual"></div>
  546. <h5 class="decalaration">Declaration</h5>
  547. <div class="codewrapper">
  548. <pre><code class="lang-csharp hljs">public virtual bool OnLeave(View view)</code></pre>
  549. </div>
  550. <h5 class="parameters">Parameters</h5>
  551. <table class="table table-bordered table-striped table-condensed">
  552. <thead>
  553. <tr>
  554. <th>Type</th>
  555. <th>Name</th>
  556. <th>Description</th>
  557. </tr>
  558. </thead>
  559. <tbody>
  560. <tr>
  561. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  562. <td><span class="parametername">view</span></td>
  563. <td>The view that is getting focus.</td>
  564. </tr>
  565. </tbody>
  566. </table>
  567. <h5 class="returns">Returns</h5>
  568. <table class="table table-bordered table-striped table-condensed">
  569. <thead>
  570. <tr>
  571. <th>Type</th>
  572. <th>Description</th>
  573. </tr>
  574. </thead>
  575. <tbody>
  576. <tr>
  577. <td><span class="xref">System.Boolean</span></td>
  578. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  579. </tr>
  580. </tbody>
  581. </table>
  582. <span class="small pull-right mobile-hide">
  583. <span class="divider">|</span>
  584. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_OnMouseEnter_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.OnMouseEnter(Terminal.Gui.MouseEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  585. </span>
  586. <span class="small pull-right mobile-hide">
  587. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L189">View Source</a>
  588. </span>
  589. <a id="Terminal_Gui_Responder_OnMouseEnter_" data-uid="Terminal.Gui.Responder.OnMouseEnter*"></a>
  590. <h4 id="Terminal_Gui_Responder_OnMouseEnter_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.Responder.OnMouseEnter(Terminal.Gui.MouseEvent)">OnMouseEnter(MouseEvent)</h4>
  591. <div class="markdown level1 summary">
  592. Method invoked when a mouse event is generated for the first time.
  593. </div>
  594. <div class="markdown level1 conceptual"></div>
  595. <h5 class="decalaration">Declaration</h5>
  596. <div class="codewrapper">
  597. <pre><code class="lang-csharp hljs">public virtual bool OnMouseEnter(MouseEvent mouseEvent)</code></pre>
  598. </div>
  599. <h5 class="parameters">Parameters</h5>
  600. <table class="table table-bordered table-striped table-condensed">
  601. <thead>
  602. <tr>
  603. <th>Type</th>
  604. <th>Name</th>
  605. <th>Description</th>
  606. </tr>
  607. </thead>
  608. <tbody>
  609. <tr>
  610. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  611. <td><span class="parametername">mouseEvent</span></td>
  612. <td></td>
  613. </tr>
  614. </tbody>
  615. </table>
  616. <h5 class="returns">Returns</h5>
  617. <table class="table table-bordered table-striped table-condensed">
  618. <thead>
  619. <tr>
  620. <th>Type</th>
  621. <th>Description</th>
  622. </tr>
  623. </thead>
  624. <tbody>
  625. <tr>
  626. <td><span class="xref">System.Boolean</span></td>
  627. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  628. </tr>
  629. </tbody>
  630. </table>
  631. <span class="small pull-right mobile-hide">
  632. <span class="divider">|</span>
  633. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_OnMouseLeave_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.OnMouseLeave(Terminal.Gui.MouseEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  634. </span>
  635. <span class="small pull-right mobile-hide">
  636. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L199">View Source</a>
  637. </span>
  638. <a id="Terminal_Gui_Responder_OnMouseLeave_" data-uid="Terminal.Gui.Responder.OnMouseLeave*"></a>
  639. <h4 id="Terminal_Gui_Responder_OnMouseLeave_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.Responder.OnMouseLeave(Terminal.Gui.MouseEvent)">OnMouseLeave(MouseEvent)</h4>
  640. <div class="markdown level1 summary">
  641. Method invoked when a mouse event is generated for the last time.
  642. </div>
  643. <div class="markdown level1 conceptual"></div>
  644. <h5 class="decalaration">Declaration</h5>
  645. <div class="codewrapper">
  646. <pre><code class="lang-csharp hljs">public virtual bool OnMouseLeave(MouseEvent mouseEvent)</code></pre>
  647. </div>
  648. <h5 class="parameters">Parameters</h5>
  649. <table class="table table-bordered table-striped table-condensed">
  650. <thead>
  651. <tr>
  652. <th>Type</th>
  653. <th>Name</th>
  654. <th>Description</th>
  655. </tr>
  656. </thead>
  657. <tbody>
  658. <tr>
  659. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  660. <td><span class="parametername">mouseEvent</span></td>
  661. <td></td>
  662. </tr>
  663. </tbody>
  664. </table>
  665. <h5 class="returns">Returns</h5>
  666. <table class="table table-bordered table-striped table-condensed">
  667. <thead>
  668. <tr>
  669. <th>Type</th>
  670. <th>Description</th>
  671. </tr>
  672. </thead>
  673. <tbody>
  674. <tr>
  675. <td><span class="xref">System.Boolean</span></td>
  676. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  677. </tr>
  678. </tbody>
  679. </table>
  680. <span class="small pull-right mobile-hide">
  681. <span class="divider">|</span>
  682. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_OnVisibleChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.OnVisibleChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  683. </span>
  684. <span class="small pull-right mobile-hide">
  685. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L237">View Source</a>
  686. </span>
  687. <a id="Terminal_Gui_Responder_OnVisibleChanged_" data-uid="Terminal.Gui.Responder.OnVisibleChanged*"></a>
  688. <h4 id="Terminal_Gui_Responder_OnVisibleChanged" data-uid="Terminal.Gui.Responder.OnVisibleChanged">OnVisibleChanged()</h4>
  689. <div class="markdown level1 summary">
  690. Method invoked when the <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Visible">Visible</a> property from a view is changed.
  691. </div>
  692. <div class="markdown level1 conceptual"></div>
  693. <h5 class="decalaration">Declaration</h5>
  694. <div class="codewrapper">
  695. <pre><code class="lang-csharp hljs">public virtual void OnVisibleChanged()</code></pre>
  696. </div>
  697. <span class="small pull-right mobile-hide">
  698. <span class="divider">|</span>
  699. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_ProcessColdKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.ProcessColdKey(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  700. </span>
  701. <span class="small pull-right mobile-hide">
  702. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L149">View Source</a>
  703. </span>
  704. <a id="Terminal_Gui_Responder_ProcessColdKey_" data-uid="Terminal.Gui.Responder.ProcessColdKey*"></a>
  705. <h4 id="Terminal_Gui_Responder_ProcessColdKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Responder.ProcessColdKey(Terminal.Gui.KeyEvent)">ProcessColdKey(KeyEvent)</h4>
  706. <div class="markdown level1 summary">
  707. This method can be overwritten by views that
  708. want to provide accelerator functionality
  709. (Alt-key for example), but without
  710. interefering with normal ProcessKey behavior.
  711. </div>
  712. <div class="markdown level1 conceptual"></div>
  713. <h5 class="decalaration">Declaration</h5>
  714. <div class="codewrapper">
  715. <pre><code class="lang-csharp hljs">public virtual bool ProcessColdKey(KeyEvent keyEvent)</code></pre>
  716. </div>
  717. <h5 class="parameters">Parameters</h5>
  718. <table class="table table-bordered table-striped table-condensed">
  719. <thead>
  720. <tr>
  721. <th>Type</th>
  722. <th>Name</th>
  723. <th>Description</th>
  724. </tr>
  725. </thead>
  726. <tbody>
  727. <tr>
  728. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  729. <td><span class="parametername">keyEvent</span></td>
  730. <td>Contains the details about the key that produced the event.</td>
  731. </tr>
  732. </tbody>
  733. </table>
  734. <h5 class="returns">Returns</h5>
  735. <table class="table table-bordered table-striped table-condensed">
  736. <thead>
  737. <tr>
  738. <th>Type</th>
  739. <th>Description</th>
  740. </tr>
  741. </thead>
  742. <tbody>
  743. <tr>
  744. <td><span class="xref">System.Boolean</span></td>
  745. <td></td>
  746. </tr>
  747. </tbody>
  748. </table>
  749. <span class="small pull-right mobile-hide">
  750. <span class="divider">|</span>
  751. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_ProcessHotKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.ProcessHotKey(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  752. </span>
  753. <span class="small pull-right mobile-hide">
  754. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L94">View Source</a>
  755. </span>
  756. <a id="Terminal_Gui_Responder_ProcessHotKey_" data-uid="Terminal.Gui.Responder.ProcessHotKey*"></a>
  757. <h4 id="Terminal_Gui_Responder_ProcessHotKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Responder.ProcessHotKey(Terminal.Gui.KeyEvent)">ProcessHotKey(KeyEvent)</h4>
  758. <div class="markdown level1 summary">
  759. This method can be overwritten by view that
  760. want to provide accelerator functionality
  761. (Alt-key for example).
  762. </div>
  763. <div class="markdown level1 conceptual"></div>
  764. <h5 class="decalaration">Declaration</h5>
  765. <div class="codewrapper">
  766. <pre><code class="lang-csharp hljs">public virtual bool ProcessHotKey(KeyEvent kb)</code></pre>
  767. </div>
  768. <h5 class="parameters">Parameters</h5>
  769. <table class="table table-bordered table-striped table-condensed">
  770. <thead>
  771. <tr>
  772. <th>Type</th>
  773. <th>Name</th>
  774. <th>Description</th>
  775. </tr>
  776. </thead>
  777. <tbody>
  778. <tr>
  779. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  780. <td><span class="parametername">kb</span></td>
  781. <td></td>
  782. </tr>
  783. </tbody>
  784. </table>
  785. <h5 class="returns">Returns</h5>
  786. <table class="table table-bordered table-striped table-condensed">
  787. <thead>
  788. <tr>
  789. <th>Type</th>
  790. <th>Description</th>
  791. </tr>
  792. </thead>
  793. <tbody>
  794. <tr>
  795. <td><span class="xref">System.Boolean</span></td>
  796. <td></td>
  797. </tr>
  798. </tbody>
  799. </table>
  800. <span class="small pull-right mobile-hide">
  801. <span class="divider">|</span>
  802. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder_ProcessKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder.ProcessKey(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  803. </span>
  804. <span class="small pull-right mobile-hide">
  805. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L122">View Source</a>
  806. </span>
  807. <a id="Terminal_Gui_Responder_ProcessKey_" data-uid="Terminal.Gui.Responder.ProcessKey*"></a>
  808. <h4 id="Terminal_Gui_Responder_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Responder.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  809. <div class="markdown level1 summary">
  810. If the view is focused, gives the view a
  811. chance to process the keystroke.
  812. </div>
  813. <div class="markdown level1 conceptual"></div>
  814. <h5 class="decalaration">Declaration</h5>
  815. <div class="codewrapper">
  816. <pre><code class="lang-csharp hljs">public virtual bool ProcessKey(KeyEvent keyEvent)</code></pre>
  817. </div>
  818. <h5 class="parameters">Parameters</h5>
  819. <table class="table table-bordered table-striped table-condensed">
  820. <thead>
  821. <tr>
  822. <th>Type</th>
  823. <th>Name</th>
  824. <th>Description</th>
  825. </tr>
  826. </thead>
  827. <tbody>
  828. <tr>
  829. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  830. <td><span class="parametername">keyEvent</span></td>
  831. <td>Contains the details about the key that produced the event.</td>
  832. </tr>
  833. </tbody>
  834. </table>
  835. <h5 class="returns">Returns</h5>
  836. <table class="table table-bordered table-striped table-condensed">
  837. <thead>
  838. <tr>
  839. <th>Type</th>
  840. <th>Description</th>
  841. </tr>
  842. </thead>
  843. <tbody>
  844. <tr>
  845. <td><span class="xref">System.Boolean</span></td>
  846. <td></td>
  847. </tr>
  848. </tbody>
  849. </table>
  850. <h3 id="implements">Implements</h3>
  851. <div>
  852. <span class="xref">System.IDisposable</span>
  853. </div>
  854. </article>
  855. </div>
  856. <div class="hidden-sm col-md-2" role="complementary">
  857. <div class="sideaffix">
  858. <div class="contribution">
  859. <ul class="nav">
  860. <li>
  861. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Responder.md&amp;value=---%0Auid%3A%20Terminal.Gui.Responder%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  862. </li>
  863. <li>
  864. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Responder.cs/#L24" class="contribution-link">View Source</a>
  865. </li>
  866. </ul>
  867. </div>
  868. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  869. <h5>In This Article</h5>
  870. <div></div>
  871. </nav>
  872. </div>
  873. </div>
  874. </div>
  875. </div>
  876. <footer>
  877. <div class="grad-bottom"></div>
  878. <div class="footer">
  879. <div class="container">
  880. <span class="pull-right">
  881. <a href="#top">Back to top</a>
  882. </span>
  883. <span>Generated by <strong>DocFX</strong></span>
  884. </div>
  885. </div>
  886. </footer>
  887. </div>
  888. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  889. <script type="text/javascript" src="../../styles/docfx.js"></script>
  890. <script type="text/javascript" src="../../styles/main.js"></script>
  891. </body>
  892. </html>