Terminal.Gui.Button.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729
  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 Button
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Button
  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.Button">
  63. <h1 id="Terminal_Gui_Button" data-uid="Terminal.Gui.Button">Class Button
  64. </h1>
  65. <div class="markdown level0 summary"><p>Button is a view that provides an item that invokes a callback when activated.</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"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  72. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  73. <div class="level3"><span class="xref">Button</span></div>
  74. </div>
  75. <div class="inheritedMembers">
  76. <h5>Inherited Members</h5>
  77. <div>
  78. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_CanFocus">Responder.CanFocus</a>
  79. </div>
  80. <div>
  81. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  82. </div>
  83. <div>
  84. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  85. </div>
  86. <div>
  87. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddCh_System_Int32_System_Int32_System_Int32_">View.AddCh(Int32, Int32, Int32)</a>
  88. </div>
  89. <div>
  90. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  91. </div>
  92. <div>
  93. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ChildNeedsDisplay">View.ChildNeedsDisplay()</a>
  94. </div>
  95. <div>
  96. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  97. </div>
  98. <div>
  99. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  100. </div>
  101. <div>
  102. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  103. </div>
  104. <div>
  105. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Boolean_">View.DrawFrame(Rect, Boolean)</a>
  106. </div>
  107. <div>
  108. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_System_String_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(String, Boolean, ColorScheme)</a>
  109. </div>
  110. <div>
  111. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_System_String_Terminal_Gui_Attribute_Terminal_Gui_Attribute_">View.DrawHotString(String, Attribute, Attribute)</a>
  112. </div>
  113. <div>
  114. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  115. </div>
  116. <div>
  117. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  118. </div>
  119. <div>
  120. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  121. </div>
  122. <div>
  123. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  124. </div>
  125. <div>
  126. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  127. </div>
  128. <div>
  129. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  130. </div>
  131. <div>
  132. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  133. </div>
  134. <div>
  135. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  136. </div>
  137. <div>
  138. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetEnumerator">View.GetEnumerator()</a>
  139. </div>
  140. <div>
  141. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  142. </div>
  143. <div>
  144. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  145. </div>
  146. <div>
  147. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  148. </div>
  149. <div>
  150. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  151. </div>
  152. <div>
  153. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_">View.Move(Int32, Int32)</a>
  154. </div>
  155. <div>
  156. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  157. </div>
  158. <div>
  159. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  160. </div>
  161. <div>
  162. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  163. </div>
  164. <div>
  165. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus_Terminal_Gui_View_">View.SetFocus(View)</a>
  166. </div>
  167. <div>
  168. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  169. </div>
  170. <div>
  171. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  172. </div>
  173. <div>
  174. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  175. </div>
  176. <div>
  177. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  178. </div>
  179. <div>
  180. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  181. </div>
  182. <div>
  183. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  184. </div>
  185. </div>
  186. <h6><strong>Namespace</strong>: <a class="xref" href="../Terminal.Gui.html">Terminal.Gui</a></h6>
  187. <h6><strong>Assembly</strong>: Terminal.dll</h6>
  188. <h5 id="Terminal_Gui_Button_syntax">Syntax</h5>
  189. <div class="codewrapper">
  190. <pre><code class="lang-csharp hljs">public class Button : Terminal.Gui.View</code></pre>
  191. </div>
  192. <h5 id="Terminal_Gui_Button_remarks"><strong>Remarks</strong></h5>
  193. <div class="markdown level0 remarks"><p>
  194. Provides a button that can be clicked, or pressed with
  195. the enter key and processes hotkeys (the first uppercase
  196. letter in the button becomes the hotkey).
  197. </p>
  198. <p>
  199. If the button is configured as the default (IsDefault) the button
  200. will respond to the return key is no other view processes it, and
  201. turns this into a clicked event.
  202. </p></div>
  203. <h3 id="constructors">Constructors
  204. </h3>
  205. <a id="Terminal_Gui_Button__ctor_" data-uid="Terminal.Gui.Button.#ctor*"></a>
  206. <h4 id="Terminal_Gui_Button__ctor_System_String_" data-uid="Terminal.Gui.Button.#ctor(System.String)">Button(String)</h4>
  207. <div class="markdown level1 summary"><p>Public constructor, creates a button based on
  208. the given text at position 0,0</p>
  209. </div>
  210. <div class="markdown level1 conceptual"></div>
  211. <h5 class="decalaration">Declaration</h5>
  212. <div class="codewrapper">
  213. <pre><code class="lang-csharp hljs">public Button (string s);</code></pre>
  214. </div>
  215. <h5 class="parameters">Parameters</h5>
  216. <table class="table table-bordered table-striped table-condensed">
  217. <thead>
  218. <tr>
  219. <th>Type</th>
  220. <th>Name</th>
  221. <th>Description</th>
  222. </tr>
  223. </thead>
  224. <tbody>
  225. <tr>
  226. <td><span class="xref">System.String</span></td>
  227. <td><span class="parametername">s</span></td>
  228. <td><p>To be added.</p>
  229. </td>
  230. </tr>
  231. </tbody>
  232. </table>
  233. <h5 id="Terminal_Gui_Button__ctor_System_String__remarks">Remarks</h5>
  234. <div class="markdown level1 remarks"><p>The size of the button is computed based on the
  235. text length. This button is not a default button.</p>
  236. </div>
  237. <a id="Terminal_Gui_Button__ctor_" data-uid="Terminal.Gui.Button.#ctor*"></a>
  238. <h4 id="Terminal_Gui_Button__ctor_System_String_System_Boolean_" data-uid="Terminal.Gui.Button.#ctor(System.String,System.Boolean)">Button(String, Boolean)</h4>
  239. <div class="markdown level1 summary"><p>Public constructor, creates a button based on
  240. the given text.</p>
  241. </div>
  242. <div class="markdown level1 conceptual"></div>
  243. <h5 class="decalaration">Declaration</h5>
  244. <div class="codewrapper">
  245. <pre><code class="lang-csharp hljs">public Button (string s, bool is_default);</code></pre>
  246. </div>
  247. <h5 class="parameters">Parameters</h5>
  248. <table class="table table-bordered table-striped table-condensed">
  249. <thead>
  250. <tr>
  251. <th>Type</th>
  252. <th>Name</th>
  253. <th>Description</th>
  254. </tr>
  255. </thead>
  256. <tbody>
  257. <tr>
  258. <td><span class="xref">System.String</span></td>
  259. <td><span class="parametername">s</span></td>
  260. <td><p>To be added.</p>
  261. </td>
  262. </tr>
  263. <tr>
  264. <td><span class="xref">System.Boolean</span></td>
  265. <td><span class="parametername">is_default</span></td>
  266. <td><p>To be added.</p>
  267. </td>
  268. </tr>
  269. </tbody>
  270. </table>
  271. <h5 id="Terminal_Gui_Button__ctor_System_String_System_Boolean__remarks">Remarks</h5>
  272. <div class="markdown level1 remarks"><p>If the value for is_default is true, a special
  273. decoration is used, and the enter key on a
  274. dialog would implicitly activate this button.</p>
  275. </div>
  276. <a id="Terminal_Gui_Button__ctor_" data-uid="Terminal.Gui.Button.#ctor*"></a>
  277. <h4 id="Terminal_Gui_Button__ctor_System_Int32_System_Int32_System_String_" data-uid="Terminal.Gui.Button.#ctor(System.Int32,System.Int32,System.String)">Button(Int32, Int32, String)</h4>
  278. <div class="markdown level1 summary"><p>Public constructor, creates a button based on
  279. the given text at the given position.</p>
  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">public Button (int x, int y, string s);</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.Int32</span></td>
  298. <td><span class="parametername">x</span></td>
  299. <td><p>To be added.</p>
  300. </td>
  301. </tr>
  302. <tr>
  303. <td><span class="xref">System.Int32</span></td>
  304. <td><span class="parametername">y</span></td>
  305. <td><p>To be added.</p>
  306. </td>
  307. </tr>
  308. <tr>
  309. <td><span class="xref">System.String</span></td>
  310. <td><span class="parametername">s</span></td>
  311. <td><p>To be added.</p>
  312. </td>
  313. </tr>
  314. </tbody>
  315. </table>
  316. <h5 id="Terminal_Gui_Button__ctor_System_Int32_System_Int32_System_String__remarks">Remarks</h5>
  317. <div class="markdown level1 remarks"><p>The size of the button is computed based on the
  318. text length. This button is not a default button.</p>
  319. </div>
  320. <a id="Terminal_Gui_Button__ctor_" data-uid="Terminal.Gui.Button.#ctor*"></a>
  321. <h4 id="Terminal_Gui_Button__ctor_System_Int32_System_Int32_System_String_System_Boolean_" data-uid="Terminal.Gui.Button.#ctor(System.Int32,System.Int32,System.String,System.Boolean)">Button(Int32, Int32, String, Boolean)</h4>
  322. <div class="markdown level1 summary"><p>Public constructor, creates a button based on
  323. the given text at the given position.</p>
  324. </div>
  325. <div class="markdown level1 conceptual"></div>
  326. <h5 class="decalaration">Declaration</h5>
  327. <div class="codewrapper">
  328. <pre><code class="lang-csharp hljs">public Button (int x, int y, string s, bool is_default);</code></pre>
  329. </div>
  330. <h5 class="parameters">Parameters</h5>
  331. <table class="table table-bordered table-striped table-condensed">
  332. <thead>
  333. <tr>
  334. <th>Type</th>
  335. <th>Name</th>
  336. <th>Description</th>
  337. </tr>
  338. </thead>
  339. <tbody>
  340. <tr>
  341. <td><span class="xref">System.Int32</span></td>
  342. <td><span class="parametername">x</span></td>
  343. <td><p>To be added.</p>
  344. </td>
  345. </tr>
  346. <tr>
  347. <td><span class="xref">System.Int32</span></td>
  348. <td><span class="parametername">y</span></td>
  349. <td><p>To be added.</p>
  350. </td>
  351. </tr>
  352. <tr>
  353. <td><span class="xref">System.String</span></td>
  354. <td><span class="parametername">s</span></td>
  355. <td><p>To be added.</p>
  356. </td>
  357. </tr>
  358. <tr>
  359. <td><span class="xref">System.Boolean</span></td>
  360. <td><span class="parametername">is_default</span></td>
  361. <td><p>To be added.</p>
  362. </td>
  363. </tr>
  364. </tbody>
  365. </table>
  366. <h5 id="Terminal_Gui_Button__ctor_System_Int32_System_Int32_System_String_System_Boolean__remarks">Remarks</h5>
  367. <div class="markdown level1 remarks"><p>If the value for is_default is true, a special
  368. decoration is used, and the enter key on a
  369. dialog would implicitly activate this button.</p>
  370. </div>
  371. <h3 id="fields">Fields
  372. </h3>
  373. <h4 id="Terminal_Gui_Button_Clicked" data-uid="Terminal.Gui.Button.Clicked">Clicked</h4>
  374. <div class="markdown level1 summary"><p>Clicked event, raised when the button is clicked.</p>
  375. </div>
  376. <div class="markdown level1 conceptual"></div>
  377. <h5 class="decalaration">Declaration</h5>
  378. <div class="codewrapper">
  379. <pre><code class="lang-csharp hljs">public Action Clicked;</code></pre>
  380. </div>
  381. <h5 class="fieldValue">Field Value</h5>
  382. <table class="table table-bordered table-striped table-condensed">
  383. <thead>
  384. <tr>
  385. <th>Type</th>
  386. <th>Description</th>
  387. </tr>
  388. </thead>
  389. <tbody>
  390. <tr>
  391. <td><span class="xref">System.Action</span></td>
  392. <td><p>To be added.</p>
  393. </td>
  394. </tr>
  395. </tbody>
  396. </table>
  397. <h5 id="Terminal_Gui_Button_Clicked_remarks">Remarks</h5>
  398. <div class="markdown level1 remarks"><p>Client code can hook up to this event, it is
  399. raised when the button is activated either with
  400. the mouse or the keyboard.</p>
  401. </div>
  402. <h3 id="properties">Properties
  403. </h3>
  404. <a id="Terminal_Gui_Button_IsDefault_" data-uid="Terminal.Gui.Button.IsDefault*"></a>
  405. <h4 id="Terminal_Gui_Button_IsDefault" data-uid="Terminal.Gui.Button.IsDefault">IsDefault</h4>
  406. <div class="markdown level1 summary"><p>Gets or sets a value indicating whether this <a class="xref" href="../Terminal/Terminal.Button.html">Button</a> is the default action to activate on return on a dialog.</p>
  407. </div>
  408. <div class="markdown level1 conceptual"></div>
  409. <h5 class="decalaration">Declaration</h5>
  410. <div class="codewrapper">
  411. <pre><code class="lang-csharp hljs">public bool IsDefault { get; set; }</code></pre>
  412. </div>
  413. <h5 class="propertyValue">Property Value</h5>
  414. <table class="table table-bordered table-striped table-condensed">
  415. <thead>
  416. <tr>
  417. <th>Type</th>
  418. <th>Description</th>
  419. </tr>
  420. </thead>
  421. <tbody>
  422. <tr>
  423. <td><span class="xref">System.Boolean</span></td>
  424. <td><p><code>true</code> if is default; otherwise, <code>false</code>.</p>
  425. </td>
  426. </tr>
  427. </tbody>
  428. </table>
  429. <a id="Terminal_Gui_Button_Text_" data-uid="Terminal.Gui.Button.Text*"></a>
  430. <h4 id="Terminal_Gui_Button_Text" data-uid="Terminal.Gui.Button.Text">Text</h4>
  431. <div class="markdown level1 summary"><p>The text displayed by this widget.</p>
  432. </div>
  433. <div class="markdown level1 conceptual"></div>
  434. <h5 class="decalaration">Declaration</h5>
  435. <div class="codewrapper">
  436. <pre><code class="lang-csharp hljs">public string Text { get; set; }</code></pre>
  437. </div>
  438. <h5 class="propertyValue">Property Value</h5>
  439. <table class="table table-bordered table-striped table-condensed">
  440. <thead>
  441. <tr>
  442. <th>Type</th>
  443. <th>Description</th>
  444. </tr>
  445. </thead>
  446. <tbody>
  447. <tr>
  448. <td><span class="xref">System.String</span></td>
  449. <td><p>To be added.</p>
  450. </td>
  451. </tr>
  452. </tbody>
  453. </table>
  454. <h3 id="methods">Methods
  455. </h3>
  456. <a id="Terminal_Gui_Button_MouseEvent_" data-uid="Terminal.Gui.Button.MouseEvent*"></a>
  457. <h4 id="Terminal_Gui_Button_MouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.Button.MouseEvent(Terminal.Gui.MouseEvent)">MouseEvent(MouseEvent)</h4>
  458. <div class="markdown level1 summary"></div>
  459. <div class="markdown level1 conceptual"></div>
  460. <h5 class="decalaration">Declaration</h5>
  461. <div class="codewrapper">
  462. <pre><code class="lang-csharp hljs">public override bool MouseEvent (Terminal.Gui.MouseEvent me);</code></pre>
  463. </div>
  464. <h5 class="parameters">Parameters</h5>
  465. <table class="table table-bordered table-striped table-condensed">
  466. <thead>
  467. <tr>
  468. <th>Type</th>
  469. <th>Name</th>
  470. <th>Description</th>
  471. </tr>
  472. </thead>
  473. <tbody>
  474. <tr>
  475. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  476. <td><span class="parametername">me</span></td>
  477. <td><p>To be added.</p>
  478. </td>
  479. </tr>
  480. </tbody>
  481. </table>
  482. <h5 class="returns">Returns</h5>
  483. <table class="table table-bordered table-striped table-condensed">
  484. <thead>
  485. <tr>
  486. <th>Type</th>
  487. <th>Description</th>
  488. </tr>
  489. </thead>
  490. <tbody>
  491. <tr>
  492. <td><span class="xref">System.Boolean</span></td>
  493. <td><p>To be added.</p>
  494. </td>
  495. </tr>
  496. </tbody>
  497. </table>
  498. <a id="Terminal_Gui_Button_PositionCursor_" data-uid="Terminal.Gui.Button.PositionCursor*"></a>
  499. <h4 id="Terminal_Gui_Button_PositionCursor" data-uid="Terminal.Gui.Button.PositionCursor">PositionCursor()</h4>
  500. <div class="markdown level1 summary"></div>
  501. <div class="markdown level1 conceptual"></div>
  502. <h5 class="decalaration">Declaration</h5>
  503. <div class="codewrapper">
  504. <pre><code class="lang-csharp hljs">public override void PositionCursor ();</code></pre>
  505. </div>
  506. <a id="Terminal_Gui_Button_ProcessColdKey_" data-uid="Terminal.Gui.Button.ProcessColdKey*"></a>
  507. <h4 id="Terminal_Gui_Button_ProcessColdKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Button.ProcessColdKey(Terminal.Gui.KeyEvent)">ProcessColdKey(KeyEvent)</h4>
  508. <div class="markdown level1 summary"></div>
  509. <div class="markdown level1 conceptual"></div>
  510. <h5 class="decalaration">Declaration</h5>
  511. <div class="codewrapper">
  512. <pre><code class="lang-csharp hljs">public override bool ProcessColdKey (Terminal.Gui.KeyEvent kb);</code></pre>
  513. </div>
  514. <h5 class="parameters">Parameters</h5>
  515. <table class="table table-bordered table-striped table-condensed">
  516. <thead>
  517. <tr>
  518. <th>Type</th>
  519. <th>Name</th>
  520. <th>Description</th>
  521. </tr>
  522. </thead>
  523. <tbody>
  524. <tr>
  525. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  526. <td><span class="parametername">kb</span></td>
  527. <td><p>To be added.</p>
  528. </td>
  529. </tr>
  530. </tbody>
  531. </table>
  532. <h5 class="returns">Returns</h5>
  533. <table class="table table-bordered table-striped table-condensed">
  534. <thead>
  535. <tr>
  536. <th>Type</th>
  537. <th>Description</th>
  538. </tr>
  539. </thead>
  540. <tbody>
  541. <tr>
  542. <td><span class="xref">System.Boolean</span></td>
  543. <td><p>To be added.</p>
  544. </td>
  545. </tr>
  546. </tbody>
  547. </table>
  548. <a id="Terminal_Gui_Button_ProcessHotKey_" data-uid="Terminal.Gui.Button.ProcessHotKey*"></a>
  549. <h4 id="Terminal_Gui_Button_ProcessHotKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Button.ProcessHotKey(Terminal.Gui.KeyEvent)">ProcessHotKey(KeyEvent)</h4>
  550. <div class="markdown level1 summary"></div>
  551. <div class="markdown level1 conceptual"></div>
  552. <h5 class="decalaration">Declaration</h5>
  553. <div class="codewrapper">
  554. <pre><code class="lang-csharp hljs">public override bool ProcessHotKey (Terminal.Gui.KeyEvent kb);</code></pre>
  555. </div>
  556. <h5 class="parameters">Parameters</h5>
  557. <table class="table table-bordered table-striped table-condensed">
  558. <thead>
  559. <tr>
  560. <th>Type</th>
  561. <th>Name</th>
  562. <th>Description</th>
  563. </tr>
  564. </thead>
  565. <tbody>
  566. <tr>
  567. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  568. <td><span class="parametername">kb</span></td>
  569. <td><p>To be added.</p>
  570. </td>
  571. </tr>
  572. </tbody>
  573. </table>
  574. <h5 class="returns">Returns</h5>
  575. <table class="table table-bordered table-striped table-condensed">
  576. <thead>
  577. <tr>
  578. <th>Type</th>
  579. <th>Description</th>
  580. </tr>
  581. </thead>
  582. <tbody>
  583. <tr>
  584. <td><span class="xref">System.Boolean</span></td>
  585. <td><p>To be added.</p>
  586. </td>
  587. </tr>
  588. </tbody>
  589. </table>
  590. <a id="Terminal_Gui_Button_ProcessKey_" data-uid="Terminal.Gui.Button.ProcessKey*"></a>
  591. <h4 id="Terminal_Gui_Button_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.Button.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  592. <div class="markdown level1 summary"></div>
  593. <div class="markdown level1 conceptual"></div>
  594. <h5 class="decalaration">Declaration</h5>
  595. <div class="codewrapper">
  596. <pre><code class="lang-csharp hljs">public override bool ProcessKey (Terminal.Gui.KeyEvent kb);</code></pre>
  597. </div>
  598. <h5 class="parameters">Parameters</h5>
  599. <table class="table table-bordered table-striped table-condensed">
  600. <thead>
  601. <tr>
  602. <th>Type</th>
  603. <th>Name</th>
  604. <th>Description</th>
  605. </tr>
  606. </thead>
  607. <tbody>
  608. <tr>
  609. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  610. <td><span class="parametername">kb</span></td>
  611. <td><p>To be added.</p>
  612. </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><p>To be added.</p>
  628. </td>
  629. </tr>
  630. </tbody>
  631. </table>
  632. <a id="Terminal_Gui_Button_Redraw_" data-uid="Terminal.Gui.Button.Redraw*"></a>
  633. <h4 id="Terminal_Gui_Button_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.Button.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  634. <div class="markdown level1 summary"></div>
  635. <div class="markdown level1 conceptual"></div>
  636. <h5 class="decalaration">Declaration</h5>
  637. <div class="codewrapper">
  638. <pre><code class="lang-csharp hljs">public override void Redraw (Terminal.Gui.Rect region);</code></pre>
  639. </div>
  640. <h5 class="parameters">Parameters</h5>
  641. <table class="table table-bordered table-striped table-condensed">
  642. <thead>
  643. <tr>
  644. <th>Type</th>
  645. <th>Name</th>
  646. <th>Description</th>
  647. </tr>
  648. </thead>
  649. <tbody>
  650. <tr>
  651. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  652. <td><span class="parametername">region</span></td>
  653. <td><p>To be added.</p>
  654. </td>
  655. </tr>
  656. </tbody>
  657. </table>
  658. </article>
  659. </div>
  660. <div class="hidden-sm col-md-2" role="complementary">
  661. <div class="sideaffix">
  662. <div class="contribution">
  663. <ul class="nav">
  664. </ul>
  665. </div>
  666. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  667. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  668. </nav>
  669. </div>
  670. </div>
  671. </div>
  672. </div>
  673. <footer>
  674. <div class="grad-bottom"></div>
  675. <div class="footer">
  676. <div class="container">
  677. <span class="pull-right">
  678. <a href="#top">Back to top</a>
  679. </span>
  680. <span>Copyright © 2015-2017 Microsoft<br>Generated by <strong>DocFX</strong></span>
  681. </div>
  682. </div>
  683. </footer>
  684. </div>
  685. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  686. <script type="text/javascript" src="../../styles/docfx.js"></script>
  687. <script type="text/javascript" src="../../styles/main.js"></script>
  688. </body>
  689. </html>