Terminal.Gui.Responder.yml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. ### YamlMime:ManagedReference
  2. items:
  3. - uid: Terminal.Gui.Responder
  4. id: Responder
  5. children:
  6. - Terminal.Gui.Responder.#ctor
  7. - Terminal.Gui.Responder.CanFocus
  8. - Terminal.Gui.Responder.HasFocus
  9. - Terminal.Gui.Responder.MouseEvent(Terminal.Gui.MouseEvent)
  10. - Terminal.Gui.Responder.ProcessColdKey(Terminal.Gui.KeyEvent)
  11. - Terminal.Gui.Responder.ProcessHotKey(Terminal.Gui.KeyEvent)
  12. - Terminal.Gui.Responder.ProcessKey(Terminal.Gui.KeyEvent)
  13. langs:
  14. - csharp
  15. name: Responder
  16. nameWithType: Responder
  17. fullName: Terminal.Gui.Responder
  18. type: Class
  19. assemblies:
  20. - Terminal.Gui
  21. namespace: Terminal.Gui
  22. summary: Responder base class implemented by objects that want to participate on keyboard and mouse input.
  23. syntax:
  24. content: public class Responder
  25. inheritance:
  26. - System.Object
  27. derivedClasses:
  28. - Terminal.Gui.View
  29. implements: []
  30. inheritedMembers: []
  31. - uid: Terminal.Gui.Responder.#ctor
  32. id: '#ctor'
  33. parent: Terminal.Gui.Responder
  34. langs:
  35. - csharp
  36. name: Responder()
  37. nameWithType: Responder.Responder()
  38. fullName: Responder.Responder()
  39. type: Constructor
  40. assemblies:
  41. - Terminal.Gui
  42. namespace: Terminal.Gui
  43. syntax:
  44. content: public Responder ();
  45. parameters: []
  46. overload: Terminal.Gui.Responder.#ctor*
  47. exceptions: []
  48. - uid: Terminal.Gui.Responder.CanFocus
  49. id: CanFocus
  50. parent: Terminal.Gui.Responder
  51. langs:
  52. - csharp
  53. name: CanFocus
  54. nameWithType: Responder.CanFocus
  55. fullName: Responder.CanFocus
  56. type: Property
  57. assemblies:
  58. - Terminal.Gui
  59. namespace: Terminal.Gui
  60. summary: Gets or sets a value indicating whether this <xref href="Terminal.Gui.Responder"></xref> can focus.
  61. syntax:
  62. content: public virtual bool CanFocus { get; set; }
  63. return:
  64. type: System.Boolean
  65. description: <code>true</code> if can focus; otherwise, <code>false</code>.
  66. overload: Terminal.Gui.Responder.CanFocus*
  67. exceptions: []
  68. - uid: Terminal.Gui.Responder.HasFocus
  69. id: HasFocus
  70. parent: Terminal.Gui.Responder
  71. langs:
  72. - csharp
  73. name: HasFocus
  74. nameWithType: Responder.HasFocus
  75. fullName: Responder.HasFocus
  76. type: Property
  77. assemblies:
  78. - Terminal.Gui
  79. namespace: Terminal.Gui
  80. summary: Gets or sets a value indicating whether this <xref href="Terminal.Gui.Responder"></xref> has focus.
  81. syntax:
  82. content: public virtual bool HasFocus { get; }
  83. return:
  84. type: System.Boolean
  85. description: <code>true</code> if has focus; otherwise, <code>false</code>.
  86. overload: Terminal.Gui.Responder.HasFocus*
  87. exceptions: []
  88. - uid: Terminal.Gui.Responder.MouseEvent(Terminal.Gui.MouseEvent)
  89. id: MouseEvent(Terminal.Gui.MouseEvent)
  90. parent: Terminal.Gui.Responder
  91. langs:
  92. - csharp
  93. name: MouseEvent(MouseEvent)
  94. nameWithType: Responder.MouseEvent(MouseEvent)
  95. fullName: Responder.MouseEvent(MouseEvent)
  96. type: Method
  97. assemblies:
  98. - Terminal.Gui
  99. namespace: Terminal.Gui
  100. summary: Method invoked when a mouse event is generated
  101. syntax:
  102. content: public virtual bool MouseEvent (Terminal.Gui.MouseEvent mouseEvent);
  103. parameters:
  104. - id: mouseEvent
  105. type: Terminal.Gui.MouseEvent
  106. description: Contains the details about the mouse event.
  107. return:
  108. type: System.Boolean
  109. description: <code>true</code>, if the event was handled, <code>false</code> otherwise.
  110. overload: Terminal.Gui.Responder.MouseEvent*
  111. exceptions: []
  112. - uid: Terminal.Gui.Responder.ProcessColdKey(Terminal.Gui.KeyEvent)
  113. id: ProcessColdKey(Terminal.Gui.KeyEvent)
  114. parent: Terminal.Gui.Responder
  115. langs:
  116. - csharp
  117. name: ProcessColdKey(KeyEvent)
  118. nameWithType: Responder.ProcessColdKey(KeyEvent)
  119. fullName: Responder.ProcessColdKey(KeyEvent)
  120. type: Method
  121. assemblies:
  122. - Terminal.Gui
  123. namespace: Terminal.Gui
  124. summary: >-
  125. This method can be overwritten by views that
  126. want to provide accelerator functionality
  127. (Alt-key for example), but without
  128. interefering with normal ProcessKey behavior.
  129. remarks: >-
  130. <p>
  131. After keys are sent to the subviews on the
  132. current view, all the view are
  133. processed and the key is passed to the views
  134. to allow some of them to process the keystroke
  135. as a cold-key. </p>
  136. <p>
  137. This functionality is used, for example, by
  138. default buttons to act on the enter key.
  139. Processing this as a hot-key would prevent
  140. non-default buttons from consuming the enter
  141. keypress when they have the focus.
  142. </p>
  143. syntax:
  144. content: public virtual bool ProcessColdKey (Terminal.Gui.KeyEvent keyEvent);
  145. parameters:
  146. - id: keyEvent
  147. type: Terminal.Gui.KeyEvent
  148. description: Contains the details about the key that produced the event.
  149. return:
  150. type: System.Boolean
  151. description: To be added.
  152. overload: Terminal.Gui.Responder.ProcessColdKey*
  153. exceptions: []
  154. - uid: Terminal.Gui.Responder.ProcessHotKey(Terminal.Gui.KeyEvent)
  155. id: ProcessHotKey(Terminal.Gui.KeyEvent)
  156. parent: Terminal.Gui.Responder
  157. langs:
  158. - csharp
  159. name: ProcessHotKey(KeyEvent)
  160. nameWithType: Responder.ProcessHotKey(KeyEvent)
  161. fullName: Responder.ProcessHotKey(KeyEvent)
  162. type: Method
  163. assemblies:
  164. - Terminal.Gui
  165. namespace: Terminal.Gui
  166. summary: >-
  167. This method can be overwritten by view that
  168. want to provide accelerator functionality
  169. (Alt-key for example).
  170. remarks: >-
  171. <p>
  172. Before keys are sent to the subview on the
  173. current view, all the views are
  174. processed and the key is passed to the widgets
  175. to allow some of them to process the keystroke
  176. as a hot-key. </p>
  177. <p>
  178. For example, if you implement a button that
  179. has a hotkey ok "o", you would catch the
  180. combination Alt-o here. If the event is
  181. caught, you must return true to stop the
  182. keystroke from being dispatched to other
  183. views.
  184. </p>
  185. syntax:
  186. content: public virtual bool ProcessHotKey (Terminal.Gui.KeyEvent kb);
  187. parameters:
  188. - id: kb
  189. type: Terminal.Gui.KeyEvent
  190. description: To be added.
  191. return:
  192. type: System.Boolean
  193. description: To be added.
  194. overload: Terminal.Gui.Responder.ProcessHotKey*
  195. exceptions: []
  196. - uid: Terminal.Gui.Responder.ProcessKey(Terminal.Gui.KeyEvent)
  197. id: ProcessKey(Terminal.Gui.KeyEvent)
  198. parent: Terminal.Gui.Responder
  199. langs:
  200. - csharp
  201. name: ProcessKey(KeyEvent)
  202. nameWithType: Responder.ProcessKey(KeyEvent)
  203. fullName: Responder.ProcessKey(KeyEvent)
  204. type: Method
  205. assemblies:
  206. - Terminal.Gui
  207. namespace: Terminal.Gui
  208. summary: >-
  209. If the view is focused, gives the view a
  210. chance to process the keystroke.
  211. remarks: "<p>\n Views can override this method if they are\n interested in processing the given keystroke.\n If they consume the keystroke, they must\n return true to stop the keystroke from being\n processed by other widgets or consumed by the\n widget engine. If they return false, the\n keystroke will be passed using the ProcessColdKey\n method to other views to process.\n </p>\n <p>\n The View implementation does nothing but return false,\n so it is not necessary to call base.ProcessKey if you \n derive directly from View, but you should if you derive\n other View subclasses.\n </p>"
  212. syntax:
  213. content: public virtual bool ProcessKey (Terminal.Gui.KeyEvent keyEvent);
  214. parameters:
  215. - id: keyEvent
  216. type: Terminal.Gui.KeyEvent
  217. description: Contains the details about the key that produced the event.
  218. return:
  219. type: System.Boolean
  220. description: To be added.
  221. overload: Terminal.Gui.Responder.ProcessKey*
  222. exceptions: []
  223. references:
  224. - uid: System.Object
  225. parent: System
  226. isExternal: true
  227. name: Object
  228. nameWithType: Object
  229. fullName: System.Object
  230. - uid: Terminal.Gui.Responder.#ctor
  231. parent: Terminal.Gui.Responder
  232. isExternal: false
  233. name: Responder()
  234. nameWithType: Responder.Responder()
  235. fullName: Responder.Responder()
  236. - uid: Terminal.Gui.Responder.CanFocus
  237. parent: Terminal.Gui.Responder
  238. isExternal: false
  239. name: CanFocus
  240. nameWithType: Responder.CanFocus
  241. fullName: Responder.CanFocus
  242. - uid: System.Boolean
  243. parent: System
  244. isExternal: true
  245. name: Boolean
  246. nameWithType: Boolean
  247. fullName: System.Boolean
  248. - uid: Terminal.Gui.Responder.HasFocus
  249. parent: Terminal.Gui.Responder
  250. isExternal: false
  251. name: HasFocus
  252. nameWithType: Responder.HasFocus
  253. fullName: Responder.HasFocus
  254. - uid: Terminal.Gui.Responder.MouseEvent(Terminal.Gui.MouseEvent)
  255. parent: Terminal.Gui.Responder
  256. isExternal: false
  257. name: MouseEvent(MouseEvent)
  258. nameWithType: Responder.MouseEvent(MouseEvent)
  259. fullName: Responder.MouseEvent(MouseEvent)
  260. - uid: Terminal.Gui.MouseEvent
  261. parent: Terminal.Gui
  262. isExternal: false
  263. name: MouseEvent
  264. nameWithType: MouseEvent
  265. fullName: Terminal.Gui.MouseEvent
  266. - uid: Terminal.Gui.Responder.ProcessColdKey(Terminal.Gui.KeyEvent)
  267. parent: Terminal.Gui.Responder
  268. isExternal: false
  269. name: ProcessColdKey(KeyEvent)
  270. nameWithType: Responder.ProcessColdKey(KeyEvent)
  271. fullName: Responder.ProcessColdKey(KeyEvent)
  272. - uid: Terminal.Gui.KeyEvent
  273. parent: Terminal.Gui
  274. isExternal: false
  275. name: KeyEvent
  276. nameWithType: KeyEvent
  277. fullName: Terminal.Gui.KeyEvent
  278. - uid: Terminal.Gui.Responder.ProcessHotKey(Terminal.Gui.KeyEvent)
  279. parent: Terminal.Gui.Responder
  280. isExternal: false
  281. name: ProcessHotKey(KeyEvent)
  282. nameWithType: Responder.ProcessHotKey(KeyEvent)
  283. fullName: Responder.ProcessHotKey(KeyEvent)
  284. - uid: Terminal.Gui.Responder.ProcessKey(Terminal.Gui.KeyEvent)
  285. parent: Terminal.Gui.Responder
  286. isExternal: false
  287. name: ProcessKey(KeyEvent)
  288. nameWithType: Responder.ProcessKey(KeyEvent)
  289. fullName: Responder.ProcessKey(KeyEvent)
  290. - uid: Terminal.Gui.Responder.#ctor*
  291. parent: Terminal.Gui.Responder
  292. isExternal: false
  293. name: Responder
  294. nameWithType: Responder.Responder
  295. fullName: Responder.Responder
  296. - uid: Terminal.Gui.Responder.CanFocus*
  297. parent: Terminal.Gui.Responder
  298. isExternal: false
  299. name: CanFocus
  300. nameWithType: Responder.CanFocus
  301. fullName: Responder.CanFocus
  302. - uid: Terminal.Gui.Responder.HasFocus*
  303. parent: Terminal.Gui.Responder
  304. isExternal: false
  305. name: HasFocus
  306. nameWithType: Responder.HasFocus
  307. fullName: Responder.HasFocus
  308. - uid: Terminal.Gui.Responder.MouseEvent*
  309. parent: Terminal.Gui.Responder
  310. isExternal: false
  311. name: MouseEvent
  312. nameWithType: Responder.MouseEvent
  313. fullName: Responder.MouseEvent
  314. - uid: Terminal.Gui.Responder.ProcessColdKey*
  315. parent: Terminal.Gui.Responder
  316. isExternal: false
  317. name: ProcessColdKey
  318. nameWithType: Responder.ProcessColdKey
  319. fullName: Responder.ProcessColdKey
  320. - uid: Terminal.Gui.Responder.ProcessHotKey*
  321. parent: Terminal.Gui.Responder
  322. isExternal: false
  323. name: ProcessHotKey
  324. nameWithType: Responder.ProcessHotKey
  325. fullName: Responder.ProcessHotKey
  326. - uid: Terminal.Gui.Responder.ProcessKey*
  327. parent: Terminal.Gui.Responder
  328. isExternal: false
  329. name: ProcessKey
  330. nameWithType: Responder.ProcessKey
  331. fullName: Responder.ProcessKey