wxruby3 0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (837) hide show
  1. checksums.yaml +7 -0
  2. data/.wxconfig +17 -0
  3. data/.yardopts +13 -0
  4. data/CREDITS.md +52 -0
  5. data/LICENSE +21 -0
  6. data/README.md +139 -0
  7. data/bin/wxruby +9 -0
  8. data/bin/wxruby.bat +20 -0
  9. data/ext/mkrf_conf_bingem.rb +18 -0
  10. data/ext/wxbase32u_gcc_custom.dll +0 -0
  11. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  12. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  20. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  21. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  22. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  23. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  24. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  25. data/lib/wx/accessors.rb +63 -0
  26. data/lib/wx/aui/auimanager.rb +17 -0
  27. data/lib/wx/aui/auinotebook.rb +9 -0
  28. data/lib/wx/aui/events/evt_list.rb +143 -0
  29. data/lib/wx/aui/require.rb +9 -0
  30. data/lib/wx/aui.rb +14 -0
  31. data/lib/wx/core/acceleratortable.rb +28 -0
  32. data/lib/wx/core/animation.rb +18 -0
  33. data/lib/wx/core/app.rb +89 -0
  34. data/lib/wx/core/artprovider.rb +31 -0
  35. data/lib/wx/core/bitmap.rb +59 -0
  36. data/lib/wx/core/busycursor.rb +12 -0
  37. data/lib/wx/core/choice.rb +4 -0
  38. data/lib/wx/core/choicedlg.rb +54 -0
  39. data/lib/wx/core/clientdc.rb +13 -0
  40. data/lib/wx/core/clipboard.rb +56 -0
  41. data/lib/wx/core/collapsible_pane.rb +12 -0
  42. data/lib/wx/core/colour.rb +34 -0
  43. data/lib/wx/core/combobox.rb +4 -0
  44. data/lib/wx/core/controlwithitems.rb +10 -0
  45. data/lib/wx/core/data_object.rb +10 -0
  46. data/lib/wx/core/dataformat.rb +26 -0
  47. data/lib/wx/core/dc.rb +68 -0
  48. data/lib/wx/core/dialog.rb +50 -0
  49. data/lib/wx/core/event.rb +16 -0
  50. data/lib/wx/core/events/evt_list.rb +1378 -0
  51. data/lib/wx/core/evthandler.rb +240 -0
  52. data/lib/wx/core/ext.rb +58 -0
  53. data/lib/wx/core/font/encoding.rb +113 -0
  54. data/lib/wx/core/font.rb +22 -0
  55. data/lib/wx/core/functions.rb +44 -0
  56. data/lib/wx/core/gauge.rb +12 -0
  57. data/lib/wx/core/genericdirctrl.rb +36 -0
  58. data/lib/wx/core/hboxsizer.rb +6 -0
  59. data/lib/wx/core/helpcontroller.rb +5 -0
  60. data/lib/wx/core/helpcontrollerhelpprovider.rb +24 -0
  61. data/lib/wx/core/helpprovider.rb +15 -0
  62. data/lib/wx/core/icon.rb +40 -0
  63. data/lib/wx/core/image.rb +68 -0
  64. data/lib/wx/core/imagelist.rb +3 -0
  65. data/lib/wx/core/listbox.rb +4 -0
  66. data/lib/wx/core/listctrl.rb +33 -0
  67. data/lib/wx/core/locale.rb +73 -0
  68. data/lib/wx/core/log.rb +20 -0
  69. data/lib/wx/core/menu.rb +78 -0
  70. data/lib/wx/core/menu_bar.rb +20 -0
  71. data/lib/wx/core/menuitem.rb +7 -0
  72. data/lib/wx/core/notebook.rb +9 -0
  73. data/lib/wx/core/object.rb +14 -0
  74. data/lib/wx/core/pen_info.rb +11 -0
  75. data/lib/wx/core/platform_info.rb +13 -0
  76. data/lib/wx/core/point.rb +92 -0
  77. data/lib/wx/core/real_point.rb +92 -0
  78. data/lib/wx/core/rect.rb +57 -0
  79. data/lib/wx/core/simplehelpprovider.rb +38 -0
  80. data/lib/wx/core/size.rb +86 -0
  81. data/lib/wx/core/sizer.rb +43 -0
  82. data/lib/wx/core/splash_screen.rb +44 -0
  83. data/lib/wx/core/textctrl.rb +8 -0
  84. data/lib/wx/core/timer.rb +105 -0
  85. data/lib/wx/core/toolbar.rb +37 -0
  86. data/lib/wx/core/toolbartool.rb +4 -0
  87. data/lib/wx/core/treectrl.rb +46 -0
  88. data/lib/wx/core/validator.rb +8 -0
  89. data/lib/wx/core/variant.rb +62 -0
  90. data/lib/wx/core/vboxsizer.rb +6 -0
  91. data/lib/wx/core/window.rb +95 -0
  92. data/lib/wx/core/window_update_locker.rb +12 -0
  93. data/lib/wx/core/xmlresource.rb +56 -0
  94. data/lib/wx/core.rb +61 -0
  95. data/lib/wx/doc/aui/auimanager.rb +12 -0
  96. data/lib/wx/doc/aui/auinotebook.rb +9 -0
  97. data/lib/wx/doc/colour_dialog.rb +15 -0
  98. data/lib/wx/doc/dc.rb +49 -0
  99. data/lib/wx/doc/enum.rb +66 -0
  100. data/lib/wx/doc/evthandler.rb +84 -0
  101. data/lib/wx/doc/extra/00_starting.md +154 -0
  102. data/lib/wx/doc/extra/01_packages.md +179 -0
  103. data/lib/wx/doc/extra/02_lifecycles.md +116 -0
  104. data/lib/wx/doc/extra/03_dialogs.md +57 -0
  105. data/lib/wx/doc/extra/04_enums.md +143 -0
  106. data/lib/wx/doc/extra/05_event-handling.md +166 -0
  107. data/lib/wx/doc/extra/06_geometry.md +56 -0
  108. data/lib/wx/doc/extra/07_colour_and_font.md +52 -0
  109. data/lib/wx/doc/extra/08_extensions.md +144 -0
  110. data/lib/wx/doc/extra/09_exceptions.md +54 -0
  111. data/lib/wx/doc/functions.rb +221 -0
  112. data/lib/wx/doc/gdi_common.rb +181 -0
  113. data/lib/wx/doc/gen/about_dialog_info.rb +315 -0
  114. data/lib/wx/doc/gen/accelerator.rb +172 -0
  115. data/lib/wx/doc/gen/accessible.rb +817 -0
  116. data/lib/wx/doc/gen/animation.rb +253 -0
  117. data/lib/wx/doc/gen/animation_ctrl.rb +129 -0
  118. data/lib/wx/doc/gen/any_button.rb +170 -0
  119. data/lib/wx/doc/gen/app.rb +363 -0
  120. data/lib/wx/doc/gen/art_provider.rb +497 -0
  121. data/lib/wx/doc/gen/aui/aui_dock_art.rb +421 -0
  122. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +39 -0
  123. data/lib/wx/doc/gen/aui/aui_manager.rb +323 -0
  124. data/lib/wx/doc/gen/aui/aui_manager_event.rb +112 -0
  125. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +163 -0
  126. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +46 -0
  127. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -0
  128. data/lib/wx/doc/gen/aui/aui_notebook.rb +329 -0
  129. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +179 -0
  130. data/lib/wx/doc/gen/aui/aui_pane_info.rb +665 -0
  131. data/lib/wx/doc/gen/aui/aui_tab_art.rb +372 -0
  132. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +147 -0
  133. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +437 -0
  134. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +272 -0
  135. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +195 -0
  136. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +224 -0
  137. data/lib/wx/doc/gen/aui/event_list.rb +162 -0
  138. data/lib/wx/doc/gen/auto_buffered_paint_dc.rb +47 -0
  139. data/lib/wx/doc/gen/bitmap.rb +638 -0
  140. data/lib/wx/doc/gen/bitmap_button.rb +91 -0
  141. data/lib/wx/doc/gen/book_ctrl_base.rb +240 -0
  142. data/lib/wx/doc/gen/book_ctrl_event.rb +60 -0
  143. data/lib/wx/doc/gen/box_sizer.rb +66 -0
  144. data/lib/wx/doc/gen/brush.rb +219 -0
  145. data/lib/wx/doc/gen/buffered_dc.rb +95 -0
  146. data/lib/wx/doc/gen/buffered_paint_dc.rb +55 -0
  147. data/lib/wx/doc/gen/busy_info.rb +141 -0
  148. data/lib/wx/doc/gen/button.rb +133 -0
  149. data/lib/wx/doc/gen/calculate_layout_event.rb +59 -0
  150. data/lib/wx/doc/gen/calendar_ctrl.rb +236 -0
  151. data/lib/wx/doc/gen/calendar_date_attr.rb +137 -0
  152. data/lib/wx/doc/gen/calendar_event.rb +150 -0
  153. data/lib/wx/doc/gen/caret.rb +99 -0
  154. data/lib/wx/doc/gen/check_box.rb +145 -0
  155. data/lib/wx/doc/gen/check_list_box.rb +96 -0
  156. data/lib/wx/doc/gen/choice.rb +143 -0
  157. data/lib/wx/doc/gen/choicebook.rb +100 -0
  158. data/lib/wx/doc/gen/client_dc.rb +49 -0
  159. data/lib/wx/doc/gen/clipboard.rb +128 -0
  160. data/lib/wx/doc/gen/collapsible_pane.rb +120 -0
  161. data/lib/wx/doc/gen/collapsible_pane_event.rb +45 -0
  162. data/lib/wx/doc/gen/colour.rb +289 -0
  163. data/lib/wx/doc/gen/colour_data.rb +96 -0
  164. data/lib/wx/doc/gen/colour_dialog.rb +84 -0
  165. data/lib/wx/doc/gen/colour_picker_ctrl.rb +89 -0
  166. data/lib/wx/doc/gen/colour_picker_event.rb +74 -0
  167. data/lib/wx/doc/gen/combo_box.rb +228 -0
  168. data/lib/wx/doc/gen/context_help_button.rb +34 -0
  169. data/lib/wx/doc/gen/control.rb +245 -0
  170. data/lib/wx/doc/gen/control_with_items.rb +339 -0
  171. data/lib/wx/doc/gen/core.rb +42 -0
  172. data/lib/wx/doc/gen/cursor.rb +127 -0
  173. data/lib/wx/doc/gen/data_format.rb +94 -0
  174. data/lib/wx/doc/gen/data_object.rb +439 -0
  175. data/lib/wx/doc/gen/date_event.rb +48 -0
  176. data/lib/wx/doc/gen/date_picker_ctrl.rb +127 -0
  177. data/lib/wx/doc/gen/dc.rb +1278 -0
  178. data/lib/wx/doc/gen/defs.rb +2832 -0
  179. data/lib/wx/doc/gen/dialog.rb +426 -0
  180. data/lib/wx/doc/gen/dir_dialog.rb +134 -0
  181. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +80 -0
  182. data/lib/wx/doc/gen/dir_picker_ctrl.rb +103 -0
  183. data/lib/wx/doc/gen/drag_drop.rb +292 -0
  184. data/lib/wx/doc/gen/drag_image.rb +123 -0
  185. data/lib/wx/doc/gen/editable_list_box.rb +89 -0
  186. data/lib/wx/doc/gen/event.rb +911 -0
  187. data/lib/wx/doc/gen/event_list.rb +1512 -0
  188. data/lib/wx/doc/gen/events.rb +2499 -0
  189. data/lib/wx/doc/gen/evt_handler.rb +224 -0
  190. data/lib/wx/doc/gen/ext_help_controller.rb +100 -0
  191. data/lib/wx/doc/gen/file_dialog.rb +294 -0
  192. data/lib/wx/doc/gen/file_dir_picker_event.rb +98 -0
  193. data/lib/wx/doc/gen/file_picker_ctrl.rb +107 -0
  194. data/lib/wx/doc/gen/find_dialog_event.rb +119 -0
  195. data/lib/wx/doc/gen/find_replace_data.rb +59 -0
  196. data/lib/wx/doc/gen/find_replace_dialog.rb +44 -0
  197. data/lib/wx/doc/gen/flex_grid_sizer.rb +145 -0
  198. data/lib/wx/doc/gen/font.rb +1282 -0
  199. data/lib/wx/doc/gen/font_data.rb +132 -0
  200. data/lib/wx/doc/gen/font_dialog.rb +71 -0
  201. data/lib/wx/doc/gen/font_picker_ctrl.rb +120 -0
  202. data/lib/wx/doc/gen/font_picker_event.rb +64 -0
  203. data/lib/wx/doc/gen/frame.rb +276 -0
  204. data/lib/wx/doc/gen/fs_file.rb +269 -0
  205. data/lib/wx/doc/gen/functions.rb +10 -0
  206. data/lib/wx/doc/gen/gauge.rb +127 -0
  207. data/lib/wx/doc/gen/gb_sizer_item.rb +78 -0
  208. data/lib/wx/doc/gen/gcdc.rb +61 -0
  209. data/lib/wx/doc/gen/gdi_common.rb +1108 -0
  210. data/lib/wx/doc/gen/gdi_object.rb +29 -0
  211. data/lib/wx/doc/gen/generic_dir_ctrl.rb +198 -0
  212. data/lib/wx/doc/gen/graphics_context.rb +764 -0
  213. data/lib/wx/doc/gen/graphics_object.rb +494 -0
  214. data/lib/wx/doc/gen/grid/event_list.rb +173 -0
  215. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +33 -0
  216. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +279 -0
  217. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +31 -0
  218. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +32 -0
  219. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +44 -0
  220. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +31 -0
  221. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +48 -0
  222. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +33 -0
  223. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +40 -0
  224. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +35 -0
  225. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +181 -0
  226. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +34 -0
  227. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +39 -0
  228. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +41 -0
  229. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +74 -0
  230. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +41 -0
  231. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +31 -0
  232. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +98 -0
  233. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +31 -0
  234. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +45 -0
  235. data/lib/wx/doc/gen/grid/grid_ctrl.rb +2381 -0
  236. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +87 -0
  237. data/lib/wx/doc/gen/grid/grid_event.rb +96 -0
  238. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +96 -0
  239. data/lib/wx/doc/gen/grid/grid_size_event.rb +71 -0
  240. data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -0
  241. data/lib/wx/doc/gen/grid/grid_table_base.rb +288 -0
  242. data/lib/wx/doc/gen/grid/grid_table_message.rb +73 -0
  243. data/lib/wx/doc/gen/grid_bag_sizer.rb +298 -0
  244. data/lib/wx/doc/gen/grid_sizer.rb +135 -0
  245. data/lib/wx/doc/gen/help_controller.rb +136 -0
  246. data/lib/wx/doc/gen/help_provider.rb +80 -0
  247. data/lib/wx/doc/gen/html/event_list.rb +46 -0
  248. data/lib/wx/doc/gen/html/html_cell.rb +441 -0
  249. data/lib/wx/doc/gen/html/html_cell_event.rb +62 -0
  250. data/lib/wx/doc/gen/html/html_easy_printing.rb +169 -0
  251. data/lib/wx/doc/gen/html/html_help_controller.rb +256 -0
  252. data/lib/wx/doc/gen/html/html_help_data.rb +144 -0
  253. data/lib/wx/doc/gen/html/html_help_frame.rb +112 -0
  254. data/lib/wx/doc/gen/html/html_help_window.rb +230 -0
  255. data/lib/wx/doc/gen/html/html_link_event.rb +36 -0
  256. data/lib/wx/doc/gen/html/html_list_box.rb +150 -0
  257. data/lib/wx/doc/gen/html/html_printout.rb +87 -0
  258. data/lib/wx/doc/gen/html/html_window.rb +386 -0
  259. data/lib/wx/doc/gen/icon.rb +267 -0
  260. data/lib/wx/doc/gen/icon_location.rb +38 -0
  261. data/lib/wx/doc/gen/image.rb +1144 -0
  262. data/lib/wx/doc/gen/image_list.rb +181 -0
  263. data/lib/wx/doc/gen/keyboard_state.rb +124 -0
  264. data/lib/wx/doc/gen/list_box.rb +260 -0
  265. data/lib/wx/doc/gen/list_ctrl.rb +1542 -0
  266. data/lib/wx/doc/gen/list_event.rb +177 -0
  267. data/lib/wx/doc/gen/listbook.rb +100 -0
  268. data/lib/wx/doc/gen/locale.rb +4143 -0
  269. data/lib/wx/doc/gen/log.rb +505 -0
  270. data/lib/wx/doc/gen/mdi_client_window.rb +38 -0
  271. data/lib/wx/doc/gen/mdi_frame.rb +235 -0
  272. data/lib/wx/doc/gen/media_ctrl.rb +225 -0
  273. data/lib/wx/doc/gen/media_event.rb +109 -0
  274. data/lib/wx/doc/gen/memory_dc.rb +95 -0
  275. data/lib/wx/doc/gen/menu.rb +493 -0
  276. data/lib/wx/doc/gen/menu_bar.rb +247 -0
  277. data/lib/wx/doc/gen/menu_item.rb +333 -0
  278. data/lib/wx/doc/gen/message_dialog.rb +195 -0
  279. data/lib/wx/doc/gen/mini_frame.rb +72 -0
  280. data/lib/wx/doc/gen/mirror_dc.rb +29 -0
  281. data/lib/wx/doc/gen/mouse_state.rb +108 -0
  282. data/lib/wx/doc/gen/multi_choice_dialog.rb +58 -0
  283. data/lib/wx/doc/gen/non_owned_window.rb +46 -0
  284. data/lib/wx/doc/gen/notebook.rb +220 -0
  285. data/lib/wx/doc/gen/number_entry_dialog.rb +75 -0
  286. data/lib/wx/doc/gen/object.rb +69 -0
  287. data/lib/wx/doc/gen/paint_dc.rb +34 -0
  288. data/lib/wx/doc/gen/palette.rb +90 -0
  289. data/lib/wx/doc/gen/panel.rb +96 -0
  290. data/lib/wx/doc/gen/pen.rb +484 -0
  291. data/lib/wx/doc/gen/pg/event_list.rb +102 -0
  292. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +47 -0
  293. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +295 -0
  294. data/lib/wx/doc/gen/pg/pg_cell.rb +166 -0
  295. data/lib/wx/doc/gen/pg/pg_editor.rb +569 -0
  296. data/lib/wx/doc/gen/pg/pg_multi_button.rb +161 -0
  297. data/lib/wx/doc/gen/pg/pg_properties.rb +2193 -0
  298. data/lib/wx/doc/gen/pg/pg_property.rb +1852 -0
  299. data/lib/wx/doc/gen/pg/pg_validation_info.rb +327 -0
  300. data/lib/wx/doc/gen/pg/property_grid.rb +619 -0
  301. data/lib/wx/doc/gen/pg/property_grid_event.rb +135 -0
  302. data/lib/wx/doc/gen/pg/property_grid_interface.rb +847 -0
  303. data/lib/wx/doc/gen/pg/property_grid_manager.rb +349 -0
  304. data/lib/wx/doc/gen/pg/property_grid_page.rb +265 -0
  305. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +155 -0
  306. data/lib/wx/doc/gen/picker_base.rb +143 -0
  307. data/lib/wx/doc/gen/platform_info.rb +379 -0
  308. data/lib/wx/doc/gen/popup_window.rb +93 -0
  309. data/lib/wx/doc/gen/progress_dialog.rb +106 -0
  310. data/lib/wx/doc/gen/property_sheet_dialog.rb +185 -0
  311. data/lib/wx/doc/gen/prt/event_list.rb +13 -0
  312. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +38 -0
  313. data/lib/wx/doc/gen/prt/post_script_dc.rb +32 -0
  314. data/lib/wx/doc/gen/prt/preview_frame.rb +39 -0
  315. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +127 -0
  316. data/lib/wx/doc/gen/prt/print_data.rb +598 -0
  317. data/lib/wx/doc/gen/prt/print_dialog.rb +47 -0
  318. data/lib/wx/doc/gen/prt/printer.rb +428 -0
  319. data/lib/wx/doc/gen/prt/printer_dc.rb +35 -0
  320. data/lib/wx/doc/gen/query_layout_info_event.rb +98 -0
  321. data/lib/wx/doc/gen/radio_box.rb +258 -0
  322. data/lib/wx/doc/gen/radio_button.rb +128 -0
  323. data/lib/wx/doc/gen/rbn/event_list.rb +132 -0
  324. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1652 -0
  325. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +227 -0
  326. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +40 -0
  327. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +400 -0
  328. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +58 -0
  329. data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -0
  330. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +208 -0
  331. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +51 -0
  332. data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -0
  333. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +232 -0
  334. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +41 -0
  335. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +321 -0
  336. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +36 -0
  337. data/lib/wx/doc/gen/region.rb +299 -0
  338. data/lib/wx/doc/gen/rtc/event_list.rb +121 -0
  339. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +2052 -0
  340. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +2031 -0
  341. data/lib/wx/doc/gen/rtc/rich_text_event.rb +146 -0
  342. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +171 -0
  343. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +180 -0
  344. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +104 -0
  345. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +241 -0
  346. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +55 -0
  347. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +153 -0
  348. data/lib/wx/doc/gen/sash_event.rb +133 -0
  349. data/lib/wx/doc/gen/sash_layout_window.rb +203 -0
  350. data/lib/wx/doc/gen/sash_window.rb +154 -0
  351. data/lib/wx/doc/gen/screen_dc.rb +27 -0
  352. data/lib/wx/doc/gen/scrolled_canvas.rb +317 -0
  353. data/lib/wx/doc/gen/scrolled_control.rb +317 -0
  354. data/lib/wx/doc/gen/scrolled_window.rb +337 -0
  355. data/lib/wx/doc/gen/simplebook.rb +93 -0
  356. data/lib/wx/doc/gen/single_choice_dialog.rb +74 -0
  357. data/lib/wx/doc/gen/sizer.rb +847 -0
  358. data/lib/wx/doc/gen/sizer_item.rb +227 -0
  359. data/lib/wx/doc/gen/slider.rb +316 -0
  360. data/lib/wx/doc/gen/spin_button.rb +124 -0
  361. data/lib/wx/doc/gen/spin_ctrl.rb +170 -0
  362. data/lib/wx/doc/gen/spin_event.rb +47 -0
  363. data/lib/wx/doc/gen/splash_screen.rb +83 -0
  364. data/lib/wx/doc/gen/splitter_event.rb +87 -0
  365. data/lib/wx/doc/gen/splitter_window.rb +357 -0
  366. data/lib/wx/doc/gen/static_bitmap.rb +126 -0
  367. data/lib/wx/doc/gen/static_box.rb +123 -0
  368. data/lib/wx/doc/gen/static_box_sizer.rb +67 -0
  369. data/lib/wx/doc/gen/static_line.rb +66 -0
  370. data/lib/wx/doc/gen/static_text.rb +98 -0
  371. data/lib/wx/doc/gen/status_bar.rb +203 -0
  372. data/lib/wx/doc/gen/stc/event_list.rb +217 -0
  373. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4000 -0
  374. data/lib/wx/doc/gen/stc/styled_text_event.rb +7319 -0
  375. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +74 -0
  376. data/lib/wx/doc/gen/svg_file_dc.rb +153 -0
  377. data/lib/wx/doc/gen/system_options.rb +109 -0
  378. data/lib/wx/doc/gen/system_settings.rb +481 -0
  379. data/lib/wx/doc/gen/task_bar_icon.rb +94 -0
  380. data/lib/wx/doc/gen/task_bar_icon_event.rb +86 -0
  381. data/lib/wx/doc/gen/text_attr.rb +645 -0
  382. data/lib/wx/doc/gen/text_ctrl.rb +841 -0
  383. data/lib/wx/doc/gen/text_entry.rb +389 -0
  384. data/lib/wx/doc/gen/text_entry_dialog.rb +170 -0
  385. data/lib/wx/doc/gen/text_validator.rb +212 -0
  386. data/lib/wx/doc/gen/time_picker_ctrl.rb +103 -0
  387. data/lib/wx/doc/gen/timer.rb +103 -0
  388. data/lib/wx/doc/gen/timer_event.rb +73 -0
  389. data/lib/wx/doc/gen/tip_provider.rb +60 -0
  390. data/lib/wx/doc/gen/toggle_button.rb +84 -0
  391. data/lib/wx/doc/gen/tool_bar.rb +744 -0
  392. data/lib/wx/doc/gen/tool_tip.rb +73 -0
  393. data/lib/wx/doc/gen/toolbook.rb +103 -0
  394. data/lib/wx/doc/gen/top_level_window.rb +462 -0
  395. data/lib/wx/doc/gen/tree_ctrl.rb +863 -0
  396. data/lib/wx/doc/gen/tree_event.rb +101 -0
  397. data/lib/wx/doc/gen/treebook.rb +154 -0
  398. data/lib/wx/doc/gen/utils.rb +257 -0
  399. data/lib/wx/doc/gen/v_list_box.rb +224 -0
  400. data/lib/wx/doc/gen/v_scrolled_window.rb +224 -0
  401. data/lib/wx/doc/gen/validator.rb +73 -0
  402. data/lib/wx/doc/gen/variant.rb +340 -0
  403. data/lib/wx/doc/gen/window.rb +2414 -0
  404. data/lib/wx/doc/gen/window_dc.rb +35 -0
  405. data/lib/wx/doc/gen/window_disabler.rb +24 -0
  406. data/lib/wx/doc/gen/with_images.rb +73 -0
  407. data/lib/wx/doc/gen/wizard.rb +197 -0
  408. data/lib/wx/doc/gen/wizard_event.rb +105 -0
  409. data/lib/wx/doc/gen/wizard_page.rb +61 -0
  410. data/lib/wx/doc/gen/wizard_page_simple.rb +72 -0
  411. data/lib/wx/doc/gen/xml_node.rb +282 -0
  412. data/lib/wx/doc/gen/xml_resource.rb +304 -0
  413. data/lib/wx/doc/grid/grid.rb +20 -0
  414. data/lib/wx/doc/help_controller.rb +14 -0
  415. data/lib/wx/doc/html/html_help_controller.rb +8 -0
  416. data/lib/wx/doc/pg/events.rb +15 -0
  417. data/lib/wx/doc/pg/pg_property.rb +8 -0
  418. data/lib/wx/doc/pg/pgeditor.rb +21 -0
  419. data/lib/wx/doc/pg/property_grid.rb +48 -0
  420. data/lib/wx/doc/pg/property_grid_interface.rb +64 -0
  421. data/lib/wx/doc/prt/page_setup_dialog.rb +15 -0
  422. data/lib/wx/doc/prt/print_data.rb +9 -0
  423. data/lib/wx/doc/prt/print_dialog.rb +26 -0
  424. data/lib/wx/doc/prt/printer.rb +15 -0
  425. data/lib/wx/doc/rbn/ribbon_bar.rb +9 -0
  426. data/lib/wx/doc/rbn/ribbon_button_bar.rb +9 -0
  427. data/lib/wx/doc/rbn/ribbon_gallery.rb +9 -0
  428. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +9 -0
  429. data/lib/wx/doc/rtc/richtext_printing.rb +14 -0
  430. data/lib/wx/doc/screen_dc.rb +10 -0
  431. data/lib/wx/doc/stock_objects.rb +98 -0
  432. data/lib/wx/doc/stream.rb +38 -0
  433. data/lib/wx/doc/system_settings.rb +29 -0
  434. data/lib/wx/doc/treebook.rb +9 -0
  435. data/lib/wx/doc/variant.rb +163 -0
  436. data/lib/wx/doc/xml_resource.rb +19 -0
  437. data/lib/wx/global_const.rb +84 -0
  438. data/lib/wx/grid/events/evt_list.rb +156 -0
  439. data/lib/wx/grid/grid.rb +7 -0
  440. data/lib/wx/grid/keyword_defs.rb +10 -0
  441. data/lib/wx/grid/require.rb +9 -0
  442. data/lib/wx/grid.rb +14 -0
  443. data/lib/wx/helpers.rb +65 -0
  444. data/lib/wx/html/events/evt_list.rb +37 -0
  445. data/lib/wx/html/htmlhelpcontroller.rb +6 -0
  446. data/lib/wx/html/htmlwindow.rb +19 -0
  447. data/lib/wx/html/keyword_defs.rb +22 -0
  448. data/lib/wx/html/require.rb +10 -0
  449. data/lib/wx/html.rb +15 -0
  450. data/lib/wx/keyword_ctors.rb +226 -0
  451. data/lib/wx/keyword_defs.rb +487 -0
  452. data/lib/wx/pg/events/evt_list.rb +73 -0
  453. data/lib/wx/pg/events.rb +14 -0
  454. data/lib/wx/pg/keyword_defs.rb +15 -0
  455. data/lib/wx/pg/pg_editor.rb +13 -0
  456. data/lib/wx/pg/pg_properties.rb +24 -0
  457. data/lib/wx/pg/pg_property.rb +26 -0
  458. data/lib/wx/pg/property_grid.rb +56 -0
  459. data/lib/wx/pg/property_grid_interface.rb +33 -0
  460. data/lib/wx/pg/require.rb +12 -0
  461. data/lib/wx/pg.rb +14 -0
  462. data/lib/wx/prt/keyword_defs.rb +8 -0
  463. data/lib/wx/prt/page_setup_dialog.rb +15 -0
  464. data/lib/wx/prt/previewframe.rb +13 -0
  465. data/lib/wx/prt/require.rb +8 -0
  466. data/lib/wx/prt.rb +14 -0
  467. data/lib/wx/rbn/events/evt_list.rb +102 -0
  468. data/lib/wx/rbn/events.rb +4 -0
  469. data/lib/wx/rbn/keyword_defs.rb +43 -0
  470. data/lib/wx/rbn/require.rb +12 -0
  471. data/lib/wx/rbn/ribbon_art_provider.rb +10 -0
  472. data/lib/wx/rbn/ribbon_bar.rb +12 -0
  473. data/lib/wx/rbn/ribbon_button_bar.rb +26 -0
  474. data/lib/wx/rbn/ribbon_control.rb +25 -0
  475. data/lib/wx/rbn/ribbon_gallery.rb +26 -0
  476. data/lib/wx/rbn/ribbon_page.rb +15 -0
  477. data/lib/wx/rbn/ribbon_panel.rb +15 -0
  478. data/lib/wx/rbn/ribbon_tool_bar.rb +26 -0
  479. data/lib/wx/rbn.rb +14 -0
  480. data/lib/wx/rtc/events/evt_list.rb +98 -0
  481. data/lib/wx/rtc/ext/rich_text_ctrl.rb +24 -0
  482. data/lib/wx/rtc/ext.rb +15 -0
  483. data/lib/wx/rtc/keyword_defs.rb +17 -0
  484. data/lib/wx/rtc/require.rb +8 -0
  485. data/lib/wx/rtc.rb +15 -0
  486. data/lib/wx/stc/events/evt_list.rb +178 -0
  487. data/lib/wx/stc/keyword_defs.rb +8 -0
  488. data/lib/wx/stc/require.rb +7 -0
  489. data/lib/wx/stc.rb +14 -0
  490. data/lib/wx/version.rb +3 -0
  491. data/lib/wx/wxruby/base.rb +87 -0
  492. data/lib/wx/wxruby/cmd/sampler.rb +68 -0
  493. data/lib/wx/wxruby/cmd/test.rb +27 -0
  494. data/lib/wx.rb +14 -0
  495. data/lib/wxruby_aui.so +0 -0
  496. data/lib/wxruby_core.so +0 -0
  497. data/lib/wxruby_grid.so +0 -0
  498. data/lib/wxruby_html.so +0 -0
  499. data/lib/wxruby_pg.so +0 -0
  500. data/lib/wxruby_prt.so +0 -0
  501. data/lib/wxruby_rbn.so +0 -0
  502. data/lib/wxruby_rtc.so +0 -0
  503. data/lib/wxruby_stc.so +0 -0
  504. data/rakelib/install.rb +220 -0
  505. data/rakelib/lib/config/cygwin.rb +6 -0
  506. data/rakelib/lib/config/linux.rb +78 -0
  507. data/rakelib/lib/config/macosx.rb +6 -0
  508. data/rakelib/lib/config/mingw.rb +133 -0
  509. data/rakelib/lib/config/netbsd.rb +6 -0
  510. data/rakelib/lib/config/unixish.rb +187 -0
  511. data/rakelib/lib/config.rb +673 -0
  512. data/rakelib/lib/ext/enum_chain.rb +22 -0
  513. data/rakelib/prepost.rake +91 -0
  514. data/rakelib/prepost.rb +26 -0
  515. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +7 -0
  516. data/rakelib/yard/templates/default/layout/html/setup.rb +5 -0
  517. data/rakelib/yard/yard/relative_markdown_links/version.rb +8 -0
  518. data/rakelib/yard/yard/relative_markdown_links.rb +39 -0
  519. data/rakelib/yard/yard-custom-templates.rb +2 -0
  520. data/rakelib/yard/yard-relative_markdown_links.rb +4 -0
  521. data/samples/art/wxruby-128x128.png +0 -0
  522. data/samples/art/wxruby-256x256.png +0 -0
  523. data/samples/art/wxruby-64x64.png +0 -0
  524. data/samples/art/wxruby.ico +0 -0
  525. data/samples/art/wxruby.png +0 -0
  526. data/samples/aui/aui.rb +1321 -0
  527. data/samples/aui/tn_aui.png +0 -0
  528. data/samples/bigdemo/About.rbw +39 -0
  529. data/samples/bigdemo/ColorPanel.rbw +23 -0
  530. data/samples/bigdemo/GridSimple.rbw +78 -0
  531. data/samples/bigdemo/MDIDemo.rbw +57 -0
  532. data/samples/bigdemo/PopupMenu.rbw +146 -0
  533. data/samples/bigdemo/ShapedWindow.rbw +128 -0
  534. data/samples/bigdemo/Sizers.rbw +541 -0
  535. data/samples/bigdemo/bigdemo.rb +810 -0
  536. data/samples/bigdemo/demoTemplate.rbw +33 -0
  537. data/samples/bigdemo/helpfile.htb +0 -0
  538. data/samples/bigdemo/icons/Test 015.jpg +0 -0
  539. data/samples/bigdemo/icons/Test 015.png +0 -0
  540. data/samples/bigdemo/icons/choice.bmp +0 -0
  541. data/samples/bigdemo/icons/choice.xpm +27 -0
  542. data/samples/bigdemo/icons/combo.bmp +0 -0
  543. data/samples/bigdemo/icons/combo.xpm +27 -0
  544. data/samples/bigdemo/icons/copy.xpm +25 -0
  545. data/samples/bigdemo/icons/cut.xpm +24 -0
  546. data/samples/bigdemo/icons/gauge.bmp +0 -0
  547. data/samples/bigdemo/icons/gauge.xpm +27 -0
  548. data/samples/bigdemo/icons/help.xpm +25 -0
  549. data/samples/bigdemo/icons/list.bmp +0 -0
  550. data/samples/bigdemo/icons/list.xpm +27 -0
  551. data/samples/bigdemo/icons/mondrian.ico +0 -0
  552. data/samples/bigdemo/icons/mondrian.xpm +44 -0
  553. data/samples/bigdemo/icons/new.xpm +24 -0
  554. data/samples/bigdemo/icons/ogl.ico +0 -0
  555. data/samples/bigdemo/icons/ogl.xpm +45 -0
  556. data/samples/bigdemo/icons/open.xpm +26 -0
  557. data/samples/bigdemo/icons/paste.bmp +0 -0
  558. data/samples/bigdemo/icons/paste.xpm +38 -0
  559. data/samples/bigdemo/icons/pointy.png +0 -0
  560. data/samples/bigdemo/icons/preview.xpm +26 -0
  561. data/samples/bigdemo/icons/print.xpm +26 -0
  562. data/samples/bigdemo/icons/radio.bmp +0 -0
  563. data/samples/bigdemo/icons/radio.xpm +27 -0
  564. data/samples/bigdemo/icons/robert.xpm +415 -0
  565. data/samples/bigdemo/icons/sashtest.ico +0 -0
  566. data/samples/bigdemo/icons/save.xpm +25 -0
  567. data/samples/bigdemo/icons/smiles.bmp +0 -0
  568. data/samples/bigdemo/icons/smiles.xpm +39 -0
  569. data/samples/bigdemo/icons/smiley.ico +0 -0
  570. data/samples/bigdemo/icons/smiley.xpm +42 -0
  571. data/samples/bigdemo/icons/stattext.xpm +24 -0
  572. data/samples/bigdemo/icons/test2.bmp +0 -0
  573. data/samples/bigdemo/icons/test2.png +0 -0
  574. data/samples/bigdemo/icons/test2.xpm +79 -0
  575. data/samples/bigdemo/icons/text.bmp +0 -0
  576. data/samples/bigdemo/icons/text.xpm +27 -0
  577. data/samples/bigdemo/icons/tog1.bmp +0 -0
  578. data/samples/bigdemo/icons/tog1.xpm +38 -0
  579. data/samples/bigdemo/icons/tog2.bmp +0 -0
  580. data/samples/bigdemo/icons/tog2.xpm +38 -0
  581. data/samples/bigdemo/icons/wxruby-128x128.png +0 -0
  582. data/samples/bigdemo/icons/wxwin.ico +0 -0
  583. data/samples/bigdemo/icons/wxwin16x16.png +0 -0
  584. data/samples/bigdemo/icons/wxwin16x16.xpm +25 -0
  585. data/samples/bigdemo/icons/wxwin32x32.png +0 -0
  586. data/samples/bigdemo/icons/wxwin48x48.png +0 -0
  587. data/samples/bigdemo/run.rb +91 -0
  588. data/samples/bigdemo/tips.txt +7 -0
  589. data/samples/bigdemo/utils.rb +12 -0
  590. data/samples/bigdemo/wxArtProvider.rbw +281 -0
  591. data/samples/bigdemo/wxBitmapButton.rbw +65 -0
  592. data/samples/bigdemo/wxButton.rbw +64 -0
  593. data/samples/bigdemo/wxCalendarCtrl.rbw +59 -0
  594. data/samples/bigdemo/wxCheckBox.rbw +50 -0
  595. data/samples/bigdemo/wxCheckListBox.rbw +65 -0
  596. data/samples/bigdemo/wxChoice.rbw +47 -0
  597. data/samples/bigdemo/wxChoicebook.rbw +78 -0
  598. data/samples/bigdemo/wxColourDialog.rbw +33 -0
  599. data/samples/bigdemo/wxComboBox.rbw +77 -0
  600. data/samples/bigdemo/wxCursor.rbw +136 -0
  601. data/samples/bigdemo/wxDialog.rbw +74 -0
  602. data/samples/bigdemo/wxDirDialog.rbw +29 -0
  603. data/samples/bigdemo/wxDragImage.rbw +70 -0
  604. data/samples/bigdemo/wxFileDialog.rbw +37 -0
  605. data/samples/bigdemo/wxFileDialog_Save.rbw +35 -0
  606. data/samples/bigdemo/wxFindReplaceDialog.rbw +82 -0
  607. data/samples/bigdemo/wxFontDialog.rbw +200 -0
  608. data/samples/bigdemo/wxFrame.rbw +53 -0
  609. data/samples/bigdemo/wxGauge.rbw +65 -0
  610. data/samples/bigdemo/wxGenericDirCtrl.rbw +74 -0
  611. data/samples/bigdemo/wxGrid.rbw +66 -0
  612. data/samples/bigdemo/wxHtmlHelpController.rbw +52 -0
  613. data/samples/bigdemo/wxListBox.rbw +140 -0
  614. data/samples/bigdemo/wxListCtrl_virtual.rbw +112 -0
  615. data/samples/bigdemo/wxMDIWindows.rbw +50 -0
  616. data/samples/bigdemo/wxMenu.rbw +247 -0
  617. data/samples/bigdemo/wxMessageDialog.rbw +27 -0
  618. data/samples/bigdemo/wxMiniFrame.rbw +70 -0
  619. data/samples/bigdemo/wxMultipleChoiceDialog.rbw +29 -0
  620. data/samples/bigdemo/wxNotebook.rbw +136 -0
  621. data/samples/bigdemo/wxProgressDialog.rbw +43 -0
  622. data/samples/bigdemo/wxRadioBox.rbw +72 -0
  623. data/samples/bigdemo/wxRadioButton.rbw +125 -0
  624. data/samples/bigdemo/wxSashWindow.rbw +141 -0
  625. data/samples/bigdemo/wxScrolledMessageDialog.rbw +57 -0
  626. data/samples/bigdemo/wxScrolledWindow.rbw +199 -0
  627. data/samples/bigdemo/wxSingleChoiceDialog.rbw +33 -0
  628. data/samples/bigdemo/wxSlider.rbw +42 -0
  629. data/samples/bigdemo/wxSpinButton.rbw +50 -0
  630. data/samples/bigdemo/wxSpinCtrl.rbw +51 -0
  631. data/samples/bigdemo/wxSplitterWindow.rbw +63 -0
  632. data/samples/bigdemo/wxStaticBitmap.rbw +47 -0
  633. data/samples/bigdemo/wxStaticText.rbw +55 -0
  634. data/samples/bigdemo/wxStatusBar.rbw +126 -0
  635. data/samples/bigdemo/wxTextCtrl.rbw +149 -0
  636. data/samples/bigdemo/wxTextEntryDialog.rbw +31 -0
  637. data/samples/bigdemo/wxToggleButton.rbw +49 -0
  638. data/samples/bigdemo/wxToolBar.rbw +131 -0
  639. data/samples/bigdemo/wxTreeCtrl.rbw +191 -0
  640. data/samples/calendar/calendar.rb +363 -0
  641. data/samples/calendar/tn_calendar.png +0 -0
  642. data/samples/caret/caret.rb +293 -0
  643. data/samples/caret/mondrian.xpm +44 -0
  644. data/samples/caret/tn_caret.png +0 -0
  645. data/samples/controls/books.rb +183 -0
  646. data/samples/controls/controls.rb +1143 -0
  647. data/samples/controls/get_item_sample.rb +117 -0
  648. data/samples/controls/icons/choice.xpm +27 -0
  649. data/samples/controls/icons/combo.xpm +27 -0
  650. data/samples/controls/icons/gauge.xpm +27 -0
  651. data/samples/controls/icons/list.xpm +27 -0
  652. data/samples/controls/icons/radio.xpm +27 -0
  653. data/samples/controls/icons/stattext.xpm +24 -0
  654. data/samples/controls/icons/text.xpm +27 -0
  655. data/samples/controls/mondrian.ico +0 -0
  656. data/samples/controls/mondrian.xpm +44 -0
  657. data/samples/controls/test2.bmp +0 -0
  658. data/samples/controls/tn_books.png +0 -0
  659. data/samples/controls/tn_controls.png +0 -0
  660. data/samples/controls/tn_get_item_sample.png +0 -0
  661. data/samples/dialogs/dialogs.rb +879 -0
  662. data/samples/dialogs/tips.txt +18 -0
  663. data/samples/dialogs/tn_dialogs.png +0 -0
  664. data/samples/dialogs/tn_wizard.png +0 -0
  665. data/samples/dialogs/wizard.rb +89 -0
  666. data/samples/dragdrop/dragdrop.rb +200 -0
  667. data/samples/dragdrop/tn_dragdrop.png +0 -0
  668. data/samples/drawing/SVGlogo24.xpm +310 -0
  669. data/samples/drawing/bitmap.rb +76 -0
  670. data/samples/drawing/bitmap_image.rb +131 -0
  671. data/samples/drawing/graphics_drawing.rb +257 -0
  672. data/samples/drawing/maths_images.rb +327 -0
  673. data/samples/drawing/rmagic_bitmap_image.rb +139 -0
  674. data/samples/drawing/ruby-logo.jpg +0 -0
  675. data/samples/drawing/svgtest.rb +373 -0
  676. data/samples/drawing/tn_bitmap.png +0 -0
  677. data/samples/drawing/tn_bitmap_image.png +0 -0
  678. data/samples/drawing/tn_graphics_drawing.png +0 -0
  679. data/samples/drawing/tn_maths_images.png +0 -0
  680. data/samples/drawing/tn_rmagic_bitmap_image.png +0 -0
  681. data/samples/drawing/tn_svgtest.png +0 -0
  682. data/samples/etc/choice.rb +82 -0
  683. data/samples/etc/miniframe.rb +92 -0
  684. data/samples/etc/sash.rb +140 -0
  685. data/samples/etc/scrollwin.rb +120 -0
  686. data/samples/etc/system_settings.rb +263 -0
  687. data/samples/etc/tn_choice.png +0 -0
  688. data/samples/etc/tn_miniframe.png +0 -0
  689. data/samples/etc/tn_sash.png +0 -0
  690. data/samples/etc/tn_scrollwin.png +0 -0
  691. data/samples/etc/tn_system_settings.png +0 -0
  692. data/samples/event/activation.rb +129 -0
  693. data/samples/event/event.rb +220 -0
  694. data/samples/event/threaded.rb +141 -0
  695. data/samples/event/tn_activation.png +0 -0
  696. data/samples/event/tn_event.png +0 -0
  697. data/samples/event/tn_threaded.png +0 -0
  698. data/samples/event/tn_update_ui_event.png +0 -0
  699. data/samples/event/update_ui_event.rb +91 -0
  700. data/samples/grid/grid.rb +224 -0
  701. data/samples/grid/gridtablebase.rb +178 -0
  702. data/samples/grid/tn_grid.png +0 -0
  703. data/samples/grid/tn_gridtablebase.png +0 -0
  704. data/samples/html/8859_2.htm +14 -0
  705. data/samples/html/cp1250.htm +19 -0
  706. data/samples/html/foo.png +0 -0
  707. data/samples/html/html.rb +278 -0
  708. data/samples/html/i18n.gif +0 -0
  709. data/samples/html/imagemap.htm +20 -0
  710. data/samples/html/imagemap.png +0 -0
  711. data/samples/html/listtest.htm +28 -0
  712. data/samples/html/pic.png +0 -0
  713. data/samples/html/pic2.bmp +0 -0
  714. data/samples/html/regres.htm +20 -0
  715. data/samples/html/subsup.html +42 -0
  716. data/samples/html/tables.htm +255 -0
  717. data/samples/html/test.htm +375 -0
  718. data/samples/html/tn_html.png +0 -0
  719. data/samples/mdi/mdi.rb +118 -0
  720. data/samples/mdi/tn_mdi.png +0 -0
  721. data/samples/minimal/minimal.rb +95 -0
  722. data/samples/minimal/mondrian.ico +0 -0
  723. data/samples/minimal/mondrian.png +0 -0
  724. data/samples/minimal/nothing.rb +38 -0
  725. data/samples/minimal/tn_minimal.png +0 -0
  726. data/samples/minimal/tn_nothing.png +0 -0
  727. data/samples/printing/mondrian.ico +0 -0
  728. data/samples/printing/mondrian.xpm +44 -0
  729. data/samples/printing/printing.rb +499 -0
  730. data/samples/printing/printing2.rb +251 -0
  731. data/samples/printing/sample-text.txt +213 -0
  732. data/samples/printing/tn_printing.png +0 -0
  733. data/samples/printing/tn_printing2.png +0 -0
  734. data/samples/propgrid/propgrid.rb +2707 -0
  735. data/samples/propgrid/propgrid_minimal.rb +106 -0
  736. data/samples/propgrid/sample_props.rb +434 -0
  737. data/samples/propgrid/tn_propgrid.png +0 -0
  738. data/samples/propgrid/tn_propgrid_minimal.png +0 -0
  739. data/samples/ribbon/align_center.xpm +21 -0
  740. data/samples/ribbon/align_left.xpm +21 -0
  741. data/samples/ribbon/align_right.xpm +21 -0
  742. data/samples/ribbon/aui_style.xpm +53 -0
  743. data/samples/ribbon/auto_crop_selection.xpm +55 -0
  744. data/samples/ribbon/auto_crop_selection_small.xpm +33 -0
  745. data/samples/ribbon/circle.xpm +38 -0
  746. data/samples/ribbon/circle_small.xpm +22 -0
  747. data/samples/ribbon/colours.xpm +25 -0
  748. data/samples/ribbon/cross.xpm +38 -0
  749. data/samples/ribbon/empty.xpm +23 -0
  750. data/samples/ribbon/expand_selection_h.xpm +46 -0
  751. data/samples/ribbon/expand_selection_v.xpm +46 -0
  752. data/samples/ribbon/eye.xpm +26 -0
  753. data/samples/ribbon/hexagon.xpm +38 -0
  754. data/samples/ribbon/msw_style.xpm +65 -0
  755. data/samples/ribbon/position_left.xpm +22 -0
  756. data/samples/ribbon/position_top.xpm +22 -0
  757. data/samples/ribbon/ribbon.rb +900 -0
  758. data/samples/ribbon/ribbon.xpm +54 -0
  759. data/samples/ribbon/selection_panel.xpm +23 -0
  760. data/samples/ribbon/square.xpm +38 -0
  761. data/samples/ribbon/tn_ribbon.png +0 -0
  762. data/samples/ribbon/triangle.xpm +38 -0
  763. data/samples/sample.xpm +475 -0
  764. data/samples/sampler/back.xpm +21 -0
  765. data/samples/sampler/copy.xpm +44 -0
  766. data/samples/sampler/cut.xpm +46 -0
  767. data/samples/sampler/editor.rb +534 -0
  768. data/samples/sampler/ext.rb +51 -0
  769. data/samples/sampler/filesave.xpm +42 -0
  770. data/samples/sampler/find.xpm +62 -0
  771. data/samples/sampler/findrepl.xpm +63 -0
  772. data/samples/sampler/forward.xpm +21 -0
  773. data/samples/sampler/paste.xpm +46 -0
  774. data/samples/sampler/play.xpm +24 -0
  775. data/samples/sampler/redo.xpm +58 -0
  776. data/samples/sampler/sample.rb +337 -0
  777. data/samples/sampler/stc_editor.rb +326 -0
  778. data/samples/sampler/txt_editor.rb +135 -0
  779. data/samples/sampler/undo.xpm +58 -0
  780. data/samples/sampler.rb +401 -0
  781. data/samples/splash/mobile.xpm +1835 -0
  782. data/samples/splash/splash.png +0 -0
  783. data/samples/splash/splash.rb +164 -0
  784. data/samples/splash/tn_splash.png +0 -0
  785. data/samples/text/document-open.png +0 -0
  786. data/samples/text/document-save.png +0 -0
  787. data/samples/text/edit-copy.png +0 -0
  788. data/samples/text/edit-cut.png +0 -0
  789. data/samples/text/edit-paste.png +0 -0
  790. data/samples/text/edit-redo.png +0 -0
  791. data/samples/text/edit-undo.png +0 -0
  792. data/samples/text/format-text-bold.png +0 -0
  793. data/samples/text/format-text-italic.png +0 -0
  794. data/samples/text/format-text-underline.png +0 -0
  795. data/samples/text/mondrian.ico +0 -0
  796. data/samples/text/mondrian.xpm +44 -0
  797. data/samples/text/preferences-desktop-font.png +0 -0
  798. data/samples/text/rich_textctrl.rb +326 -0
  799. data/samples/text/scintilla.rb +179 -0
  800. data/samples/text/textctrl.rb +124 -0
  801. data/samples/text/tn_rich_textctrl.png +0 -0
  802. data/samples/text/tn_scintilla.png +0 -0
  803. data/samples/text/tn_textctrl.png +0 -0
  804. data/samples/text/tn_unicode.png +0 -0
  805. data/samples/text/unicode.rb +238 -0
  806. data/samples/text/utf8.txt +15 -0
  807. data/samples/treectrl/checked.xpm +54 -0
  808. data/samples/treectrl/icon1.xpm +79 -0
  809. data/samples/treectrl/icon2.xpm +53 -0
  810. data/samples/treectrl/icon3.xpm +79 -0
  811. data/samples/treectrl/icon4.xpm +43 -0
  812. data/samples/treectrl/icon5.xpm +79 -0
  813. data/samples/treectrl/state1.xpm +145 -0
  814. data/samples/treectrl/state2.xpm +144 -0
  815. data/samples/treectrl/state3.xpm +142 -0
  816. data/samples/treectrl/state4.xpm +145 -0
  817. data/samples/treectrl/state5.xpm +85 -0
  818. data/samples/treectrl/tn_treectrl.png +0 -0
  819. data/samples/treectrl/treectrl.rb +1720 -0
  820. data/samples/treectrl/unchecked.xpm +30 -0
  821. data/samples/xrc/custom_dialog.xrc +46 -0
  822. data/samples/xrc/custom_xrc_sample.rb +84 -0
  823. data/samples/xrc/samples.xrc +46 -0
  824. data/samples/xrc/tn_xrc_sample.png +0 -0
  825. data/samples/xrc/xrc_sample.rb +86 -0
  826. data/tests/test_basic.rb +20 -0
  827. data/tests/test_clipboard.rb +241 -0
  828. data/tests/test_dialog.rb +28 -0
  829. data/tests/test_event_handling.rb +103 -0
  830. data/tests/test_events.rb +45 -0
  831. data/tests/test_geometry.rb +141 -0
  832. data/tests/test_intl.rb +107 -0
  833. data/tests/test_item_data.rb +120 -0
  834. data/tests/test_variant.rb +151 -0
  835. data/tests/testapp.rb +40 -0
  836. data/tests/testapp_noframe.rb +28 -0
  837. metadata +928 -0
@@ -0,0 +1,2031 @@
1
+ # :stopdoc:
2
+ # This file is automatically generated by the WXRuby3 documentation
3
+ # generator. Do not alter this file.
4
+ # :startdoc:
5
+
6
+
7
+ module Wx::RTC
8
+
9
+ #
10
+ RE_READONLY = 16
11
+
12
+ #
13
+ RE_MULTILINE = 32
14
+
15
+ #
16
+ RE_CENTRE_CARET = 32768
17
+
18
+ #
19
+ RE_CENTER_CARET = 32768
20
+
21
+ #
22
+ RICHTEXT_SHIFT_DOWN = 1
23
+
24
+ #
25
+ RICHTEXT_CTRL_DOWN = 2
26
+
27
+ #
28
+ RICHTEXT_ALT_DOWN = 4
29
+
30
+ #
31
+ RICHTEXT_EX_NO_GUIDELINES = 256
32
+
33
+ #
34
+ RICHTEXT_DEFAULT_OVERALL_SIZE = nil
35
+
36
+ #
37
+ RICHTEXT_DEFAULT_IMAGE_SIZE = nil
38
+
39
+ #
40
+ RICHTEXT_DEFAULT_SPACING = 3
41
+
42
+ #
43
+ RICHTEXT_DEFAULT_MARGIN = 3
44
+
45
+ #
46
+ RICHTEXT_DEFAULT_UNFOCUSSED_BACKGROUND = nil
47
+
48
+ #
49
+ RICHTEXT_DEFAULT_FOCUSSED_BACKGROUND = nil
50
+
51
+ #
52
+ RICHTEXT_DEFAULT_UNSELECTED_BACKGROUND = nil
53
+
54
+ #
55
+ RICHTEXT_DEFAULT_TYPE_COLOUR = nil
56
+
57
+ #
58
+ RICHTEXT_DEFAULT_FOCUS_RECT_COLOUR = nil
59
+
60
+ #
61
+ RICHTEXT_DEFAULT_CARET_WIDTH = 2
62
+
63
+ #
64
+ RICHTEXT_DEFAULT_DELAYED_LAYOUT_THRESHOLD = 20000
65
+
66
+ #
67
+ RICHTEXT_DEFAULT_LAYOUT_INTERVAL = 50
68
+
69
+ #
70
+ RICHTEXT_DEFAULT_DELAYED_IMAGE_PROCESSING_INTERVAL = 200
71
+
72
+ #
73
+ ID_RICHTEXT_PROPERTIES1 = 6000
74
+
75
+ #
76
+ ID_RICHTEXT_PROPERTIES2 = 6001
77
+
78
+ #
79
+ ID_RICHTEXT_PROPERTIES3 = 6002
80
+
81
+ #
82
+ #
83
+ #
84
+ #
85
+ class RichTextCtrlSelectionState < Wx::Enum
86
+
87
+ #
88
+ #
89
+ RichTextCtrlSelectionState_Normal = Wx::RTC::RichTextCtrlSelectionState.new(0)
90
+
91
+ #
92
+ #
93
+ RichTextCtrlSelectionState_CommonAncestor = Wx::RTC::RichTextCtrlSelectionState.new(1)
94
+
95
+ end # RichTextCtrlSelectionState
96
+
97
+ #
98
+ #
99
+ EVT_RICHTEXT_LEFT_CLICK = 10351
100
+
101
+ #
102
+ #
103
+ EVT_RICHTEXT_RIGHT_CLICK = 10353
104
+
105
+ #
106
+ #
107
+ EVT_RICHTEXT_MIDDLE_CLICK = 10352
108
+
109
+ #
110
+ #
111
+ EVT_RICHTEXT_LEFT_DCLICK = 10354
112
+
113
+ #
114
+ #
115
+ EVT_RICHTEXT_RETURN = 10355
116
+
117
+ #
118
+ #
119
+ EVT_RICHTEXT_CHARACTER = 10356
120
+
121
+ #
122
+ #
123
+ EVT_RICHTEXT_CONSUMING_CHARACTER = 10357
124
+
125
+ #
126
+ #
127
+ EVT_RICHTEXT_DELETE = 10358
128
+
129
+ #
130
+ #
131
+ EVT_RICHTEXT_STYLESHEET_CHANGING = 10361
132
+
133
+ #
134
+ #
135
+ EVT_RICHTEXT_STYLESHEET_CHANGED = 10362
136
+
137
+ #
138
+ #
139
+ EVT_RICHTEXT_STYLESHEET_REPLACING = 10359
140
+
141
+ #
142
+ #
143
+ EVT_RICHTEXT_STYLESHEET_REPLACED = 10360
144
+
145
+ #
146
+ #
147
+ EVT_RICHTEXT_CONTENT_INSERTED = 10363
148
+
149
+ #
150
+ #
151
+ EVT_RICHTEXT_CONTENT_DELETED = 10364
152
+
153
+ #
154
+ #
155
+ EVT_RICHTEXT_STYLE_CHANGED = 10365
156
+
157
+ #
158
+ #
159
+ EVT_RICHTEXT_PROPERTIES_CHANGED = 10366
160
+
161
+ #
162
+ #
163
+ EVT_RICHTEXT_SELECTION_CHANGED = 10367
164
+
165
+ #
166
+ #
167
+ EVT_RICHTEXT_BUFFER_RESET = 10368
168
+
169
+ #
170
+ #
171
+ EVT_RICHTEXT_FOCUS_OBJECT_CHANGED = 10369
172
+
173
+ # {Wx::RTC::RichTextCtrl} provides a generic, ground-up implementation of a text control capable of showing multiple styles and images.
174
+ # {Wx::RTC::RichTextCtrl} sends notification events: see {Wx::RTC::RichTextEvent}.
175
+ # It also sends the standard {Wx::TextCtrl} events {Wx::EVT_TEXT_ENTER} and {Wx::EVT_TEXT}, and {Wx::TextUrlEvent} when URL content is clicked.
176
+ # For more information, see the wxRichTextCtrl Overview.
177
+ # === Styles
178
+ #
179
+ # This class supports the following styles:
180
+ #
181
+ # - {Wx::RTC::RE_CENTRE_CARET}: The control will try to keep the caret line centred vertically while editing. {Wx::RTC::RE_CENTER_CARET} is a synonym for this style.
182
+ # - {Wx::RTC::RE_MULTILINE}: The control will be multiline (mandatory).
183
+ # - {Wx::RTC::RE_READONLY}: The control will not be editable.
184
+ #
185
+ # ===
186
+ #
187
+ # Category: Rich Text <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
188
+ # </td><td> {Wx::GTK} Appearance
189
+ # </td><td> {Wx::OSX} Appearance
190
+ # </td></tr></table></div>
191
+ #
192
+ class RichTextCtrl < Control
193
+
194
+ # @overload initialize()
195
+ # Default constructor.
196
+ # @return [RichTextCtrl]
197
+ # @overload initialize(parent, id=-1, value=Wx::EMPTY_STRING, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TEXT_CTRL_NAME_STR)
198
+ # Constructor, creating and showing a rich text control.
199
+ #
200
+ # @see Wx::RTC::RichTextCtrl#create
201
+ # @see Wx::Validator
202
+ # @param parent [Wx::Window] Parent window. Must not be NULL.
203
+ # @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
204
+ # @param value [String] Default string.
205
+ # @param pos [Array(Integer, Integer), Wx::Point] Window position.
206
+ # @param size [Array(Integer, Integer), Wx::Size] Window size.
207
+ # @param style [Integer] Window style.
208
+ # @param validator [Wx::Validator] Window validator.
209
+ # @param name [String] Window name.
210
+ # @return [RichTextCtrl]
211
+ def initialize(*args) end
212
+
213
+ # Creates the underlying window.
214
+ # @param parent [Wx::Window]
215
+ # @param id [Integer]
216
+ # @param value [String]
217
+ # @param pos [Array(Integer, Integer), Wx::Point]
218
+ # @param size [Array(Integer, Integer), Wx::Size]
219
+ # @param style [Integer]
220
+ # @param validator [Wx::Validator]
221
+ # @param name [String]
222
+ # @return [true,false]
223
+ def create(parent, id=-1, value=Wx::EMPTY_STRING, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TEXT_CTRL_NAME_STR) end
224
+
225
+ # Initialises the members of the control.
226
+ # @return [void]
227
+ def init; end
228
+
229
+ # Gets the text for the given range.
230
+ # The end point of range is specified as the last character position of the span of text, plus one.
231
+ # @param from [Integer]
232
+ # @param to [Integer]
233
+ # @return [String]
234
+ def get_range(from, to) end
235
+ alias_method :range, :get_range
236
+
237
+ # Returns the length of the specified line in characters.
238
+ # @param lineNo [Integer]
239
+ # @return [Integer]
240
+ def get_line_length(lineNo) end
241
+ alias_method :line_length, :get_line_length
242
+
243
+ # Returns the text for the given line.
244
+ # @param lineNo [Integer]
245
+ # @return [String]
246
+ def get_line_text(lineNo) end
247
+ alias_method :line_text, :get_line_text
248
+
249
+ # Returns the number of lines in the buffer.
250
+ # @return [Integer]
251
+ def get_number_of_lines; end
252
+ alias_method :number_of_lines, :get_number_of_lines
253
+
254
+ # Returns true if the buffer has been modified.
255
+ # @return [true,false]
256
+ def is_modified; end
257
+ alias_method :modified?, :is_modified
258
+
259
+ # Returns true if the control is editable.
260
+ # @return [true,false]
261
+ def is_editable; end
262
+ alias_method :editable?, :is_editable
263
+
264
+ # Returns true if the control is single-line.
265
+ # Currently {Wx::RTC::RichTextCtrl} does not support single-line editing.
266
+ # @return [true,false]
267
+ def is_single_line; end
268
+ alias_method :single_line?, :is_single_line
269
+
270
+ # Returns true if the control is multiline.
271
+ # @return [true,false]
272
+ def is_multi_line; end
273
+ alias_method :multi_line?, :is_multi_line
274
+
275
+ # @return [Wx::RichTextSelection]
276
+ def get_selection; end
277
+ alias_method :selection, :get_selection
278
+
279
+ # Returns the text within the current selection range, if any.
280
+ # @return [String]
281
+ def get_string_selection; end
282
+ alias_method :string_selection, :get_string_selection
283
+
284
+ # Gets the current filename associated with the control.
285
+ # @return [String]
286
+ def get_filename; end
287
+ alias_method :filename, :get_filename
288
+
289
+ # Sets the current filename.
290
+ # @param filename [String]
291
+ # @return [void]
292
+ def set_filename(filename) end
293
+ alias_method :filename=, :set_filename
294
+
295
+ # Sets the size of the buffer beyond which layout is delayed during resizing.
296
+ # This optimizes sizing for large buffers. The default is 20000.
297
+ # @param threshold [Integer]
298
+ # @return [void]
299
+ def set_delayed_layout_threshold(threshold) end
300
+ alias_method :delayed_layout_threshold=, :set_delayed_layout_threshold
301
+
302
+ # Gets the size of the buffer beyond which layout is delayed during resizing.
303
+ # This optimizes sizing for large buffers. The default is 20000.
304
+ # @return [Integer]
305
+ def get_delayed_layout_threshold; end
306
+ alias_method :delayed_layout_threshold, :get_delayed_layout_threshold
307
+
308
+ # @return [true,false]
309
+ def get_full_layout_required; end
310
+ alias_method :full_layout_required, :get_full_layout_required
311
+
312
+ # @param b [true,false]
313
+ # @return [void]
314
+ def set_full_layout_required(b) end
315
+ alias_method :full_layout_required=, :set_full_layout_required
316
+
317
+ # @return [Wx::LongLong]
318
+ def get_full_layout_time; end
319
+ alias_method :full_layout_time, :get_full_layout_time
320
+
321
+ # @param t [Wx::LongLong]
322
+ # @return [void]
323
+ def set_full_layout_time(t) end
324
+ alias_method :full_layout_time=, :set_full_layout_time
325
+
326
+ # @return [Integer]
327
+ def get_full_layout_saved_position; end
328
+ alias_method :full_layout_saved_position, :get_full_layout_saved_position
329
+
330
+ # @param p [Integer]
331
+ # @return [void]
332
+ def set_full_layout_saved_position(p) end
333
+ alias_method :full_layout_saved_position=, :set_full_layout_saved_position
334
+
335
+ # @return [void]
336
+ def force_delayed_layout; end
337
+
338
+ # Sets the text (normal) cursor.
339
+ # @param cursor [Wx::Cursor]
340
+ # @return [void]
341
+ def set_text_cursor(cursor) end
342
+ alias_method :text_cursor=, :set_text_cursor
343
+
344
+ # Returns the text (normal) cursor.
345
+ # @return [Wx::Cursor]
346
+ def get_text_cursor; end
347
+ alias_method :text_cursor, :get_text_cursor
348
+
349
+ # Sets the cursor to be used over URLs.
350
+ # @param cursor [Wx::Cursor]
351
+ # @return [void]
352
+ def set_url_cursor(cursor) end
353
+ alias_method :url_cursor=, :set_url_cursor
354
+
355
+ # Returns the cursor to be used over URLs.
356
+ # @return [Wx::Cursor]
357
+ def get_url_cursor; end
358
+ alias_method :url_cursor, :get_url_cursor
359
+
360
+ # Returns true if we are showing the caret position at the start of a line instead of at the end of the previous one.
361
+ # @return [true,false]
362
+ def get_caret_at_line_start; end
363
+ alias_method :caret_at_line_start, :get_caret_at_line_start
364
+
365
+ # Sets a flag to remember that we are showing the caret position at the start of a line instead of at the end of the previous one.
366
+ # @param atStart [true,false]
367
+ # @return [void]
368
+ def set_caret_at_line_start(atStart) end
369
+ alias_method :caret_at_line_start=, :set_caret_at_line_start
370
+
371
+ # Returns true if we are extending a selection.
372
+ # @return [true,false]
373
+ def get_dragging; end
374
+ alias_method :dragging, :get_dragging
375
+
376
+ # Sets a flag to remember if we are extending a selection.
377
+ # @param dragging [true,false]
378
+ # @return [void]
379
+ def set_dragging(dragging) end
380
+ alias_method :dragging=, :set_dragging
381
+
382
+ # Are we trying to start Drag'n'Drop?
383
+ # @return [true,false]
384
+ def get_pre_drag; end
385
+ alias_method :pre_drag, :get_pre_drag
386
+
387
+ # Set if we're trying to start Drag'n'Drop.
388
+ # @param pd [true,false]
389
+ # @return [void]
390
+ def set_pre_drag(pd) end
391
+ alias_method :pre_drag=, :set_pre_drag
392
+
393
+ # Get the possible Drag'n'Drop start point.
394
+ # @return [Wx::Point]
395
+ def get_drag_start_point; end
396
+ alias_method :drag_start_point, :get_drag_start_point
397
+
398
+ # Set the possible Drag'n'Drop start point.
399
+ # @param sp [Wx::Point]
400
+ # @return [void]
401
+ def set_drag_start_point(sp) end
402
+ alias_method :drag_start_point=, :set_drag_start_point
403
+
404
+ # Get the possible Drag'n'Drop start time.
405
+ # @return [Wx::DateTime]
406
+ def get_drag_start_time; end
407
+ alias_method :drag_start_time, :get_drag_start_time
408
+
409
+ # Set the possible Drag'n'Drop start time.
410
+ # @param st [Wx::DateTime]
411
+ # @return [void]
412
+ def set_drag_start_time(st) end
413
+ alias_method :drag_start_time=, :set_drag_start_time
414
+
415
+ # Returns the current context menu.
416
+ # @return [Wx::Menu]
417
+ def get_context_menu; end
418
+ alias_method :context_menu, :get_context_menu
419
+
420
+ # Sets the current context menu.
421
+ # @param menu [Wx::Menu]
422
+ # @return [void]
423
+ def set_context_menu(menu) end
424
+ alias_method :context_menu=, :set_context_menu
425
+
426
+ # Returns an anchor so we know how to extend the selection.
427
+ # It's a caret position since it's between two characters.
428
+ # @return [Integer]
429
+ def get_selection_anchor; end
430
+ alias_method :selection_anchor, :get_selection_anchor
431
+
432
+ # Sets an anchor so we know how to extend the selection.
433
+ # It's a caret position since it's between two characters.
434
+ # @param anchor [Integer]
435
+ # @return [void]
436
+ def set_selection_anchor(anchor) end
437
+ alias_method :selection_anchor=, :set_selection_anchor
438
+
439
+ # Returns the anchor object if selecting multiple containers.
440
+ # @return [Wx::RichTextObject]
441
+ def get_selection_anchor_object; end
442
+ alias_method :selection_anchor_object, :get_selection_anchor_object
443
+
444
+ # Sets the anchor object if selecting multiple containers.
445
+ # @param anchor [Wx::RichTextObject]
446
+ # @return [void]
447
+ def set_selection_anchor_object(anchor) end
448
+ alias_method :selection_anchor_object=, :set_selection_anchor_object
449
+
450
+ # @overload get_context_menu_properties_info()
451
+ # Returns an object that stores information about context menu property item(s), in order to communicate between the context menu event handler and the code that responds to it.
452
+ # The {Wx::RichTextContextMenuPropertiesInfo} stores one item for each object that could respond to a property-editing event. If objects are nested, several might be editable.
453
+ # @return [Wx::RichTextContextMenuPropertiesInfo]
454
+ # @overload get_context_menu_properties_info()
455
+ # @return [Wx::RichTextContextMenuPropertiesInfo]
456
+ def get_context_menu_properties_info(*args) end
457
+ alias_method :context_menu_properties_info, :get_context_menu_properties_info
458
+
459
+ # Returns the {Wx::RichTextObject} object that currently has the editing focus.
460
+ # If there are no composite objects, this will be the top-level buffer.
461
+ # @return [Wx::RichTextParagraphLayoutBox]
462
+ def get_focus_object; end
463
+ alias_method :focus_object, :get_focus_object
464
+
465
+ # Setter for m_focusObject.
466
+ # @param obj [Wx::RichTextParagraphLayoutBox]
467
+ # @return [void]
468
+ def store_focus_object(obj) end
469
+
470
+ # Sets the {Wx::RichTextObject} object that currently has the editing focus.
471
+ # @param obj [Wx::RichTextParagraphLayoutBox] The {Wx::RichTextObject} to set focus on.
472
+ # @param setCaretPosition [true,false] Optionally set the caret position.
473
+ # @return [true,false]
474
+ def set_focus_object(obj, setCaretPosition=true) end
475
+ alias_method :focus_object=, :set_focus_object
476
+
477
+ # Invalidates the whole buffer to trigger painting later.
478
+ # @return [void]
479
+ def invalidate; end
480
+
481
+ # Clears the buffer content, leaving a single empty paragraph.
482
+ # Cannot be undone.
483
+ # @return [void]
484
+ def clear; end
485
+
486
+ # Replaces the content in the specified range with the string specified by value.
487
+ # @param from [Integer]
488
+ # @param to [Integer]
489
+ # @param value [String]
490
+ # @return [void]
491
+ def replace(from, to, value) end
492
+
493
+ # Removes the content in the specified range.
494
+ # @param from [Integer]
495
+ # @param to [Integer]
496
+ # @return [void]
497
+ def remove(from, to) end
498
+
499
+ # Loads content into the control's buffer using the given type.
500
+ # If the specified type is {Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY}, the type is deduced from the filename extension.
501
+ # This function looks for a suitable {Wx::RTC::RichTextFileHandler} object.
502
+ # @param file [String]
503
+ # @param type [Integer]
504
+ # @return [true,false]
505
+ def load_file(file, type=Wx::RICHTEXT_TYPE_ANY) end
506
+
507
+ # Helper function for {Wx::RTC::RichTextCtrl#load_file}.
508
+ # Loads content into the control's buffer using the given type.
509
+ # If the specified type is {Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY}, the type is deduced from the filename extension.
510
+ # This function looks for a suitable {Wx::RTC::RichTextFileHandler} object.
511
+ # @param file [String]
512
+ # @param fileType [Integer]
513
+ # @return [true,false]
514
+ def do_load_file(file, fileType) end
515
+
516
+ # Saves the buffer content using the given type.
517
+ # If the specified type is {Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY}, the type is deduced from the filename extension.
518
+ # This function looks for a suitable {Wx::RTC::RichTextFileHandler} object.
519
+ # @param file [String]
520
+ # @param type [Integer]
521
+ # @return [true,false]
522
+ def save_file(file=Wx::EMPTY_STRING, type=Wx::RICHTEXT_TYPE_ANY) end
523
+
524
+ # Helper function for {Wx::RTC::RichTextCtrl#save_file}.
525
+ # Saves the buffer content using the given type.
526
+ # If the specified type is {Wx::RTC::RichTextFileType::RICHTEXT_TYPE_ANY}, the type is deduced from the filename extension.
527
+ # This function looks for a suitable {Wx::RTC::RichTextFileHandler} object.
528
+ # @param file [String]
529
+ # @param fileType [Integer]
530
+ # @return [true,false]
531
+ def do_save_file(file=Wx::EMPTY_STRING, fileType=Wx::RICHTEXT_TYPE_ANY) end
532
+
533
+ # Sets flags that change the behaviour of loading or saving.
534
+ # See the documentation for each handler class to see what flags are relevant for each handler.
535
+ # @param flags [Integer]
536
+ # @return [void]
537
+ def set_handler_flags(flags) end
538
+ alias_method :handler_flags=, :set_handler_flags
539
+
540
+ # Returns flags that change the behaviour of loading or saving.
541
+ # See the documentation for each handler class to see what flags are relevant for each handler.
542
+ # @return [Integer]
543
+ def get_handler_flags; end
544
+ alias_method :handler_flags, :get_handler_flags
545
+
546
+ # Marks the buffer as modified.
547
+ # @return [void]
548
+ def mark_dirty; end
549
+
550
+ # Sets the buffer's modified status to false, and clears the buffer's command history.
551
+ # @return [void]
552
+ def discard_edits; end
553
+
554
+ # @param modified [true,false]
555
+ # @return [void]
556
+ def set_modified(modified) end
557
+ alias_method :modified=, :set_modified
558
+
559
+ # Sets the maximum number of characters that may be entered in a single line text control.
560
+ # For compatibility only; currently does nothing.
561
+ # @param len [Integer]
562
+ # @return [void]
563
+ def set_max_length(len) end
564
+ alias_method :max_length=, :set_max_length
565
+
566
+ # Writes text at the current position.
567
+ # @param text [String]
568
+ # @return [void]
569
+ def write_text(text) end
570
+
571
+ # Sets the insertion point to the end of the buffer and writes the text.
572
+ # @param text [String]
573
+ # @return [void]
574
+ def append_text(text) end
575
+
576
+ # @overload get_style(position, style)
577
+ # Gets the attributes at the given position.
578
+ # This function gets the combined style - that is, the style you see on the screen as a result of combining base style, paragraph style and character style attributes.
579
+ # To get the character or paragraph style alone, use {Wx::RTC::RichTextCtrl#get_uncombined_style}.
580
+ # <b>{Wx::Perl} Note:</b> In {Wx::Perl} this method is implemented as GetStyle(position) returning a 2-element list (ok, attr).
581
+ # @param position [Integer]
582
+ # @param style [Wx::TextAttr]
583
+ # @return [true,false]
584
+ # @overload get_style(position, style)
585
+ # @param position [Integer]
586
+ # @param style [Wx::RichTextAttr]
587
+ # @return [true,false]
588
+ # @overload get_style(position, style, container)
589
+ # @param position [Integer]
590
+ # @param style [Wx::RichTextAttr]
591
+ # @param container [Wx::RichTextParagraphLayoutBox]
592
+ # @return [true,false]
593
+ def get_style(*args) end
594
+ alias_method :style, :get_style
595
+
596
+ # @overload set_style(start, end_, style)
597
+ # @param start [Integer]
598
+ # @param end_ [Integer]
599
+ # @param style [Wx::RichTextAttr]
600
+ # @return [true,false]
601
+ # @overload set_style(range, style)
602
+ # @param range [Range]
603
+ # @param style [Wx::RichTextAttr]
604
+ # @return [true,false]
605
+ def set_style(*args) end
606
+
607
+ # @overload get_style_for_range(range, style)
608
+ # @param range [Range]
609
+ # @param style [Wx::RichTextAttr]
610
+ # @return [true,false]
611
+ # @overload get_style_for_range(range, style, container)
612
+ # @param range [Range]
613
+ # @param style [Wx::RichTextAttr]
614
+ # @param container [Wx::RichTextParagraphLayoutBox]
615
+ # @return [true,false]
616
+ def get_style_for_range(*args) end
617
+ alias_method :style_for_range, :get_style_for_range
618
+
619
+ # Sets the attributes for the given range, passing flags to determine how the attributes are set.
620
+ # The end point of range is specified as the last character position of the span of text, plus one. So, for example, to set the style for a character at position 5, use the range (5,6).
621
+ # flags may contain a bit list of the following values:
622
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_NONE}: no style flag.- {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this operation should be undoable.- {Wx::RTC::RICHTEXT_SETSTYLE_OPTIMIZE}: specifies that the style should not be applied if the combined style at this point is already the style in question.- {Wx::RTC::RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY}: specifies that the style should only be applied to paragraphs, and not the content. This allows content styling to be preserved independently from that of e.g. a named paragraph style.- {Wx::RTC::RICHTEXT_SETSTYLE_CHARACTERS_ONLY}: specifies that the style should only be applied to characters, and not the paragraph. This allows content styling to be preserved independently from that of e.g. a named paragraph style.- {Wx::RTC::RICHTEXT_SETSTYLE_RESET}: resets (clears) the existing style before applying the new style.- {Wx::RTC::RICHTEXT_SETSTYLE_REMOVE}: removes the specified style. Only the style flags are used in this operation.
623
+ # @param range [Range]
624
+ # @param style [Wx::RichTextAttr]
625
+ # @param flags [Integer]
626
+ # @return [true,false]
627
+ def set_style_ex(range, style, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO) end
628
+
629
+ # @overload get_uncombined_style(position, style)
630
+ # Gets the attributes at the given position.
631
+ # This function gets the uncombined style - that is, the attributes associated with the paragraph or character content, and not necessarily the combined attributes you see on the screen. To get the combined attributes, use {Wx::RTC::RichTextCtrl#get_style}.
632
+ # If you specify (any) paragraph attribute in style's flags, this function will fetch the paragraph attributes. Otherwise, it will return the character attributes.
633
+ # <b>{Wx::Perl} Note:</b> In {Wx::Perl} this method is implemented as GetUncombinedStyle(position) returning a 2-element list (ok, attr).
634
+ # @param position [Integer]
635
+ # @param style [Wx::RichTextAttr]
636
+ # @return [true,false]
637
+ # @overload get_uncombined_style(position, style, container)
638
+ # @param position [Integer]
639
+ # @param style [Wx::RichTextAttr]
640
+ # @param container [Wx::RichTextParagraphLayoutBox]
641
+ # @return [true,false]
642
+ def get_uncombined_style(*args) end
643
+ alias_method :uncombined_style, :get_uncombined_style
644
+
645
+ # @overload set_default_style(style)
646
+ # Sets the current default style, which can be used to change how subsequently inserted text is displayed.
647
+ # @param style [Wx::TextAttr]
648
+ # @return [true,false]
649
+ # @overload set_default_style(style)
650
+ # @param style [Wx::RichTextAttr]
651
+ # @return [true,false]
652
+ def set_default_style(*args) end
653
+ alias_method :default_style=, :set_default_style
654
+
655
+ # Returns the current default style, which can be used to change how subsequently inserted text is displayed.
656
+ # @return [Wx::RichTextAttr]
657
+ def get_default_style_ex; end
658
+ alias_method :default_style_ex, :get_default_style_ex
659
+
660
+ # @param range [Range]
661
+ # @param defName [String]
662
+ # @param flags [Integer]
663
+ # @param startFrom [Integer]
664
+ # @param specifiedLevel [Integer]
665
+ # @return [true,false]
666
+ def set_list_style(range, defName, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO, startFrom=1, specifiedLevel=-1) end
667
+
668
+ # Clears the list style from the given range, clearing list-related attributes and applying any named paragraph style associated with each paragraph.
669
+ # flags is a bit list of the following:
670
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this command will be undoable.
671
+ # @see Wx::RTC::RichTextCtrl#set_list_style
672
+ # @see Wx::RTC::RichTextCtrl#promote_list
673
+ # @see Wx::RTC::RichTextCtrl#number_list.
674
+ # @param range [Range]
675
+ # @param flags [Integer]
676
+ # @return [true,false]
677
+ def clear_list_style(range, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO) end
678
+
679
+ # @overload number_list(range, def_=nil, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO, startFrom=1, specifiedLevel=-1)
680
+ # Numbers the paragraphs in the given range.
681
+ # Pass flags to determine how the attributes are set.
682
+ # Either the style definition or the name of the style definition (in the current sheet) can be passed.
683
+ # flags is a bit list of the following:
684
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this command will be undoable.- {Wx::RTC::RICHTEXT_SETSTYLE_RENUMBER}: specifies that numbering should start from startFrom, otherwise existing attributes are used.- {Wx::RTC::RICHTEXT_SETSTYLE_SPECIFY_LEVEL}: specifies that listLevel should be used as the level for all paragraphs, otherwise the current indentation will be used.
685
+ # @see Wx::RTC::RichTextCtrl#set_list_style
686
+ # @see Wx::RTC::RichTextCtrl#promote_list
687
+ # @see Wx::RTC::RichTextCtrl#clear_list_style.
688
+ # @param range [Range]
689
+ # @param def_ [Wx::RichTextListStyleDefinition]
690
+ # @param flags [Integer]
691
+ # @param startFrom [Integer]
692
+ # @param specifiedLevel [Integer]
693
+ # @return [true,false]
694
+ # @overload number_list(range, defName, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO, startFrom=1, specifiedLevel=-1)
695
+ # @param range [Range]
696
+ # @param defName [String]
697
+ # @param flags [Integer]
698
+ # @param startFrom [Integer]
699
+ # @param specifiedLevel [Integer]
700
+ # @return [true,false]
701
+ def number_list(*args) end
702
+
703
+ # @overload promote_list(promoteBy, range, def_=nil, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO, specifiedLevel=-1)
704
+ # Promotes or demotes the paragraphs in the given range.
705
+ # A positive promoteBy produces a smaller indent, and a negative number produces a larger indent. Pass flags to determine how the attributes are set. Either the style definition or the name of the style definition (in the current sheet) can be passed.
706
+ # flags is a bit list of the following:
707
+ # - {Wx::RTC::RICHTEXT_SETSTYLE_WITH_UNDO}: specifies that this command will be undoable.- {Wx::RTC::RICHTEXT_SETSTYLE_RENUMBER}: specifies that numbering should start from startFrom, otherwise existing attributes are used.- {Wx::RTC::RICHTEXT_SETSTYLE_SPECIFY_LEVEL}: specifies that listLevel should be used as the level for all paragraphs, otherwise the current indentation will be used.
708
+ # @see Wx::RTC::RichTextCtrl#set_list_style
709
+ # @see
710
+ #
711
+ # @see Wx::RTC::RichTextCtrl#set_list_style
712
+ # @see Wx::RTC::RichTextCtrl#clear_list_style.
713
+ # @param promoteBy [Integer]
714
+ # @param range [Range]
715
+ # @param def_ [Wx::RichTextListStyleDefinition]
716
+ # @param flags [Integer]
717
+ # @param specifiedLevel [Integer]
718
+ # @return [true,false]
719
+ # @overload promote_list(promoteBy, range, defName, flags=Wx::RICHTEXT_SETSTYLE_WITH_UNDO, specifiedLevel=-1)
720
+ # @param promoteBy [Integer]
721
+ # @param range [Range]
722
+ # @param defName [String]
723
+ # @param flags [Integer]
724
+ # @param specifiedLevel [Integer]
725
+ # @return [true,false]
726
+ def promote_list(*args) end
727
+
728
+ # Sets the properties for the given range, passing flags to determine how the attributes are set.
729
+ # You can merge properties or replace them.
730
+ # The end point of range is specified as the last character position of the span of text, plus one. So, for example, to set the properties for a character at position 5, use the range (5,6).
731
+ # flags may contain a bit list of the following values:
732
+ # - {Wx::RICHTEXT_SETSPROPERTIES_NONE}: no flag.- {Wx::RTC::RICHTEXT_SETPROPERTIES_WITH_UNDO}: specifies that this operation should be undoable.- {Wx::RTC::RICHTEXT_SETPROPERTIES_PARAGRAPHS_ONLY}: specifies that the properties should only be applied to paragraphs, and not the content.- {Wx::RTC::RICHTEXT_SETPROPERTIES_CHARACTERS_ONLY}: specifies that the properties should only be applied to characters, and not the paragraph.- {Wx::RTC::RICHTEXT_SETPROPERTIES_RESET}: resets (clears) the existing properties before applying the new properties.- {Wx::RTC::RICHTEXT_SETPROPERTIES_REMOVE}: removes the specified properties.
733
+ # @param range [Range]
734
+ # @param properties [Wx::RichTextProperties]
735
+ # @param flags [Integer]
736
+ # @return [true,false]
737
+ def set_properties(range, properties, flags=Wx::RICHTEXT_SETPROPERTIES_WITH_UNDO) end
738
+
739
+ # Deletes the content within the given range.
740
+ # @param range [Range]
741
+ # @return [true,false]
742
+ def delete(range) end
743
+
744
+ # Translates from column and line number to position.
745
+ # @param x [Integer]
746
+ # @param y [Integer]
747
+ # @return [Integer]
748
+ def xy_to_position(x, y) end
749
+
750
+ # Converts a text position to zero-based column and line numbers.
751
+ # @param pos [Integer]
752
+ # @return [Array(true,false,Integer,Integer)]
753
+ def position_to_xy(pos) end
754
+
755
+ # Scrolls the buffer so that the given position is in view.
756
+ # @param pos [Integer]
757
+ # @return [void]
758
+ def show_position(pos) end
759
+
760
+ # @param pt [Array(Integer, Integer), Wx::Point]
761
+ # @return [Array(TextCtrlHitTestResult,Integer,Integer)]
762
+ def hit_test(pt) end
763
+
764
+ # Finds the container at the given point, which is assumed to be in client coordinates.
765
+ # @param pt [Wx::Point]
766
+ # @param position [long]
767
+ # @param hit [int]
768
+ # @param hitObj [Wx::RichTextObject]
769
+ # @param flags [Integer]
770
+ # @return [Wx::RichTextParagraphLayoutBox]
771
+ def find_container_at_point(pt, position, hit, hitObj, flags=0) end
772
+
773
+ # Copies the selected content (if any) to the clipboard.
774
+ # @return [void]
775
+ def copy; end
776
+
777
+ # Copies the selected content (if any) to the clipboard and deletes the selection.
778
+ # This is undoable.
779
+ # @return [void]
780
+ def cut; end
781
+
782
+ # Pastes content from the clipboard to the buffer.
783
+ # @return [void]
784
+ def paste; end
785
+
786
+ # Deletes the content in the selection, if any.
787
+ # This is undoable.
788
+ # @return [void]
789
+ def delete_selection; end
790
+
791
+ # Returns true if selected content can be copied to the clipboard.
792
+ # @return [true,false]
793
+ def can_copy; end
794
+ alias_method :can_copy?, :can_copy
795
+
796
+ # Returns true if selected content can be copied to the clipboard and deleted.
797
+ # @return [true,false]
798
+ def can_cut; end
799
+ alias_method :can_cut?, :can_cut
800
+
801
+ # Returns true if the clipboard content can be pasted to the buffer.
802
+ # @return [true,false]
803
+ def can_paste; end
804
+ alias_method :can_paste?, :can_paste
805
+
806
+ # Returns true if selected content can be deleted.
807
+ # @return [true,false]
808
+ def can_delete_selection; end
809
+ alias_method :can_delete_selection?, :can_delete_selection
810
+
811
+ # Undoes the command at the top of the command history, if there is one.
812
+ # @return [void]
813
+ def undo; end
814
+
815
+ # Redoes the current command.
816
+ # @return [void]
817
+ def redo_; end
818
+
819
+ # Returns true if there is a command in the command history that can be undone.
820
+ # @return [true,false]
821
+ def can_undo; end
822
+ alias_method :can_undo?, :can_undo
823
+
824
+ # Returns true if there is a command in the command history that can be redone.
825
+ # @return [true,false]
826
+ def can_redo; end
827
+ alias_method :can_redo?, :can_redo
828
+
829
+ # Sets the insertion point and causes the current editing style to be taken from the new position (unlike {Wx::RTC::RichTextCtrl#set_caret_position}).
830
+ # @param pos [Integer]
831
+ # @return [void]
832
+ def set_insertion_point(pos) end
833
+ alias_method :insertion_point=, :set_insertion_point
834
+
835
+ # Sets the insertion point to the end of the text control.
836
+ # @return [void]
837
+ def set_insertion_point_end; end
838
+
839
+ # Returns the current insertion point.
840
+ # @return [Integer]
841
+ def get_insertion_point; end
842
+ alias_method :insertion_point, :get_insertion_point
843
+
844
+ # Returns the last position in the buffer.
845
+ # @return [Wx::TextPos]
846
+ def get_last_position; end
847
+ alias_method :last_position, :get_last_position
848
+
849
+ # @overload set_selection(from, to)
850
+ # Sets the selection to the given range.
851
+ # The end point of range is specified as the last character position of the span of text, plus one.
852
+ # So, for example, to set the selection for a character at position 5, use the range (5,6).
853
+ # @param from [Integer]
854
+ # @param to [Integer]
855
+ # @return [void]
856
+ # @overload set_selection(sel)
857
+ # @param sel [Wx::RichTextSelection]
858
+ # @return [void]
859
+ def set_selection(*args) end
860
+ alias_method :selection=, :set_selection
861
+
862
+ # Selects all the text in the buffer.
863
+ # @return [void]
864
+ def select_all; end
865
+
866
+ # Makes the control editable, or not.
867
+ # @param editable [true,false]
868
+ # @return [void]
869
+ def set_editable(editable) end
870
+ alias_method :editable=, :set_editable
871
+
872
+ # Returns true if there is a selection and the object containing the selection was the same as the current focus object.
873
+ # @return [true,false]
874
+ def has_selection; end
875
+ alias_method :has_selection?, :has_selection
876
+
877
+ # Returns true if there was a selection, whether or not the current focus object is the same as the selection's container object.
878
+ # @return [true,false]
879
+ def has_unfocused_selection; end
880
+ alias_method :has_unfocused_selection?, :has_unfocused_selection
881
+
882
+ # @overload write_image(image, bitmapType=Wx::BITMAP_TYPE_PNG, textAttr=(Wx::RichTextAttr.new()))
883
+ # Write a bitmap or image at the current insertion point.
884
+ # Supply an optional type to use for internal and file storage of the raw data.
885
+ # @param image [Wx::Image]
886
+ # @param bitmapType [BitmapType]
887
+ # @param textAttr [Wx::RichTextAttr]
888
+ # @return [true,false]
889
+ # @overload write_image(bitmap, bitmapType=Wx::BITMAP_TYPE_PNG, textAttr=(Wx::RichTextAttr.new()))
890
+ # @param bitmap [Wx::Bitmap]
891
+ # @param bitmapType [BitmapType]
892
+ # @param textAttr [Wx::RichTextAttr]
893
+ # @return [true,false]
894
+ # @overload write_image(filename, bitmapType, textAttr=(Wx::RichTextAttr.new()))
895
+ # Loads an image from a file and writes it at the current insertion point.
896
+ # @param filename [String]
897
+ # @param bitmapType [BitmapType]
898
+ # @param textAttr [Wx::RichTextAttr]
899
+ # @return [true,false]
900
+ # @overload write_image(imageBlock, textAttr=(Wx::RichTextAttr.new()))
901
+ # Writes an image block at the current insertion point.
902
+ # @param imageBlock [Wx::RichTextImageBlock]
903
+ # @param textAttr [Wx::RichTextAttr]
904
+ # @return [true,false]
905
+ def write_image(*args) end
906
+
907
+ # Inserts a new paragraph at the current insertion point.
908
+ #
909
+ # @see Wx::RTC::RichTextCtrl#line_break.
910
+ # @return [true,false]
911
+ def newline; end
912
+
913
+ # Inserts a line break at the current insertion point.
914
+ # A line break forces wrapping within a paragraph, and can be introduced by using this function, by appending the {Wx::Char} value <b>{Wx::RICH_TEXT_LINE_BREAK_CHAR}</b> to text content, or by typing Shift-Return.
915
+ # @return [true,false]
916
+ def line_break; end
917
+
918
+ # Sets the basic (overall) style.
919
+ # This is the style of the whole buffer before further styles are applied, unlike the default style, which only affects the style currently being applied (for example, setting the default style to bold will cause subsequently inserted text to be bold).
920
+ # @param style [Wx::RichTextAttr]
921
+ # @return [void]
922
+ def set_basic_style(style) end
923
+ alias_method :basic_style=, :set_basic_style
924
+
925
+ # Gets the basic (overall) style.
926
+ # This is the style of the whole buffer before further styles are applied, unlike the default style, which only affects the style currently being applied (for example, setting the default style to bold will cause subsequently inserted text to be bold).
927
+ # @return [Wx::RichTextAttr]
928
+ def get_basic_style; end
929
+ alias_method :basic_style, :get_basic_style
930
+
931
+ # Begins applying a style.
932
+ # @param style [Wx::RichTextAttr]
933
+ # @return [true,false]
934
+ def begin_style(style) end
935
+
936
+ # Ends the current style.
937
+ # @return [true,false]
938
+ def end_style; end
939
+
940
+ # Ends application of all styles in the current style stack.
941
+ # @return [true,false]
942
+ def end_all_styles; end
943
+
944
+ # Begins using bold.
945
+ # @return [true,false]
946
+ def begin_bold; end
947
+
948
+ # Ends using bold.
949
+ # @return [true,false]
950
+ def end_bold; end
951
+
952
+ # Begins using italic.
953
+ # @return [true,false]
954
+ def begin_italic; end
955
+
956
+ # Ends using italic.
957
+ # @return [true,false]
958
+ def end_italic; end
959
+
960
+ # Begins using underlining.
961
+ # @return [true,false]
962
+ def begin_underline; end
963
+
964
+ # End applying underlining.
965
+ # @return [true,false]
966
+ def end_underline; end
967
+
968
+ # Begins using the given point size.
969
+ # @param pointSize [Integer]
970
+ # @return [true,false]
971
+ def begin_font_size(pointSize) end
972
+
973
+ # Ends using a point size.
974
+ # @return [true,false]
975
+ def end_font_size; end
976
+
977
+ # Begins using this font.
978
+ # @param font [Wx::Font,Wx::FontInfo]
979
+ # @return [true,false]
980
+ def begin_font(font) end
981
+
982
+ # Ends using a font.
983
+ # @return [true,false]
984
+ def end_font; end
985
+
986
+ # Begins using this colour.
987
+ # @param colour [Wx::Colour,String,Symbol]
988
+ # @return [true,false]
989
+ def begin_text_colour(colour) end
990
+
991
+ # Ends applying a text colour.
992
+ # @return [true,false]
993
+ def end_text_colour; end
994
+
995
+ # Begins using alignment.
996
+ # For alignment values, see {Wx::TextAttr}.
997
+ # @param alignment [TextAttrAlignment]
998
+ # @return [true,false]
999
+ def begin_alignment(alignment) end
1000
+
1001
+ # Ends alignment.
1002
+ # @return [true,false]
1003
+ def end_alignment; end
1004
+
1005
+ # Begins applying a left indent and subindent in tenths of a millimetre.
1006
+ # The subindent is an offset from the left edge of the paragraph, and is used for all but the first line in a paragraph. A positive value will cause the first line to appear to the left of the subsequent lines, and a negative value will cause the first line to be indented to the right of the subsequent lines.
1007
+ # {Wx::RTC::RichTextBuffer} uses indentation to render a bulleted item. The content of the paragraph, including the first line, starts at the leftIndent plus the leftSubIndent.
1008
+ # @param leftIndent [Integer] The distance between the margin and the bullet.
1009
+ # @param leftSubIndent [Integer] The distance between the left edge of the bullet and the left edge of the actual paragraph.
1010
+ # @return [true,false]
1011
+ def begin_left_indent(leftIndent, leftSubIndent=0) end
1012
+
1013
+ # Ends left indent.
1014
+ # @return [true,false]
1015
+ def end_left_indent; end
1016
+
1017
+ # Begins a right indent, specified in tenths of a millimetre.
1018
+ # @param rightIndent [Integer]
1019
+ # @return [true,false]
1020
+ def begin_right_indent(rightIndent) end
1021
+
1022
+ # Ends right indent.
1023
+ # @return [true,false]
1024
+ def end_right_indent; end
1025
+
1026
+ # Begins paragraph spacing; pass the before-paragraph and after-paragraph spacing in tenths of a millimetre.
1027
+ # @param before [Integer]
1028
+ # @param after [Integer]
1029
+ # @return [true,false]
1030
+ def begin_paragraph_spacing(before, after) end
1031
+
1032
+ # Ends paragraph spacing.
1033
+ # @return [true,false]
1034
+ def end_paragraph_spacing; end
1035
+
1036
+ # Begins applying line spacing.
1037
+ # spacing is a multiple, where 10 means single-spacing, 15 means 1.5 spacing, and 20 means double spacing.
1038
+ # The {Wx::TextAttrLineSpacing} constants are defined for convenience.
1039
+ # @param lineSpacing [Integer]
1040
+ # @return [true,false]
1041
+ def begin_line_spacing(lineSpacing) end
1042
+
1043
+ # Ends line spacing.
1044
+ # @return [true,false]
1045
+ def end_line_spacing; end
1046
+
1047
+ # Begins a numbered bullet.
1048
+ # This call will be needed for each item in the list, and the application should take care of incrementing the numbering.
1049
+ # bulletNumber is a number, usually starting with 1. leftIndent and leftSubIndent are values in tenths of a millimetre. bulletStyle is a bitlist of the {Wx::TextAttrBulletStyle} values.
1050
+ # {Wx::RTC::RichTextBuffer} uses indentation to render a bulleted item. The left indent is the distance between the margin and the bullet. The content of the paragraph, including the first line, starts at leftMargin + leftSubIndent. So the distance between the left edge of the bullet and the left of the actual paragraph is leftSubIndent.
1051
+ # @param bulletNumber [Integer]
1052
+ # @param leftIndent [Integer]
1053
+ # @param leftSubIndent [Integer]
1054
+ # @param bulletStyle [Integer]
1055
+ # @return [true,false]
1056
+ def begin_numbered_bullet(bulletNumber, leftIndent, leftSubIndent, bulletStyle=(Wx::TEXT_ATTR_BULLET_STYLE_ARABIC|Wx::TEXT_ATTR_BULLET_STYLE_PERIOD)) end
1057
+
1058
+ # Ends application of a numbered bullet.
1059
+ # @return [true,false]
1060
+ def end_numbered_bullet; end
1061
+
1062
+ # Begins applying a symbol bullet, using a character from the current font.
1063
+ # See {Wx::RTC::RichTextCtrl#begin_numbered_bullet} for an explanation of how indentation is used to render the bulleted paragraph.
1064
+ # @param symbol [String]
1065
+ # @param leftIndent [Integer]
1066
+ # @param leftSubIndent [Integer]
1067
+ # @param bulletStyle [Integer]
1068
+ # @return [true,false]
1069
+ def begin_symbol_bullet(symbol, leftIndent, leftSubIndent, bulletStyle=Wx::TEXT_ATTR_BULLET_STYLE_SYMBOL) end
1070
+
1071
+ # Ends applying a symbol bullet.
1072
+ # @return [true,false]
1073
+ def end_symbol_bullet; end
1074
+
1075
+ # Begins applying a symbol bullet.
1076
+ # @param bulletName [String]
1077
+ # @param leftIndent [Integer]
1078
+ # @param leftSubIndent [Integer]
1079
+ # @param bulletStyle [Integer]
1080
+ # @return [true,false]
1081
+ def begin_standard_bullet(bulletName, leftIndent, leftSubIndent, bulletStyle=Wx::TEXT_ATTR_BULLET_STYLE_STANDARD) end
1082
+
1083
+ # Begins applying a standard bullet.
1084
+ # @return [true,false]
1085
+ def end_standard_bullet; end
1086
+
1087
+ # Begins using the named character style.
1088
+ # @param characterStyle [String]
1089
+ # @return [true,false]
1090
+ def begin_character_style(characterStyle) end
1091
+
1092
+ # Ends application of a named character style.
1093
+ # @return [true,false]
1094
+ def end_character_style; end
1095
+
1096
+ # Begins applying the named paragraph style.
1097
+ # @param paragraphStyle [String]
1098
+ # @return [true,false]
1099
+ def begin_paragraph_style(paragraphStyle) end
1100
+
1101
+ # Ends application of a named paragraph style.
1102
+ # @return [true,false]
1103
+ def end_paragraph_style; end
1104
+
1105
+ # Begins using a specified list style.
1106
+ # Optionally, you can also pass a level and a number.
1107
+ # @param listStyle [String]
1108
+ # @param level [Integer]
1109
+ # @param number [Integer]
1110
+ # @return [true,false]
1111
+ def begin_list_style(listStyle, level=1, number=1) end
1112
+
1113
+ # Ends using a specified list style.
1114
+ # @return [true,false]
1115
+ def end_list_style; end
1116
+
1117
+ # Begins applying {Wx::TextAttrFlags::TEXT_ATTR_URL} to the content.
1118
+ # Pass a URL and optionally, a character style to apply, since it is common to mark a URL with a familiar style such as blue text with underlining.
1119
+ # @param url [String]
1120
+ # @param characterStyle [String]
1121
+ # @return [true,false]
1122
+ def begin_url(url, characterStyle=Wx::EMPTY_STRING) end
1123
+
1124
+ # Ends applying a URL.
1125
+ # @return [true,false]
1126
+ def end_url; end
1127
+
1128
+ # Sets the default style to the style under the cursor.
1129
+ # @return [true,false]
1130
+ def set_default_style_to_cursor_style; end
1131
+
1132
+ # Cancels any selection.
1133
+ # @return [void]
1134
+ def select_none; end
1135
+
1136
+ # Selects the word at the given character position.
1137
+ # @param position [Integer]
1138
+ # @return [true,false]
1139
+ def select_word(position) end
1140
+
1141
+ # Returns the selection range in character positions.
1142
+ # -1, -1 means no selection.
1143
+ # The range is in API convention, i.e. a single character selection is denoted by (n, n+1)
1144
+ # @return [Range]
1145
+ def get_selection_range; end
1146
+ alias_method :selection_range, :get_selection_range
1147
+
1148
+ # Sets the selection to the given range.
1149
+ # The end point of range is specified as the last character position of the span of text, plus one.
1150
+ # So, for example, to set the selection for a character at position 5, use the range (5,6).
1151
+ # @param range [Range]
1152
+ # @return [void]
1153
+ def set_selection_range(range) end
1154
+ alias_method :selection_range=, :set_selection_range
1155
+
1156
+ # Returns the selection range in character positions.
1157
+ # -2, -2 means no selection -1, -1 means select everything. The range is in internal format, i.e. a single character selection is denoted by (n, n)
1158
+ # @return [Range]
1159
+ def get_internal_selection_range; end
1160
+ alias_method :internal_selection_range, :get_internal_selection_range
1161
+
1162
+ # Sets the selection range in character positions.
1163
+ # -2, -2 means no selection -1, -1 means select everything. The range is in internal format, i.e. a single character selection is denoted by (n, n)
1164
+ # @param range [Range]
1165
+ # @return [void]
1166
+ def set_internal_selection_range(range) end
1167
+ alias_method :internal_selection_range=, :set_internal_selection_range
1168
+
1169
+ # Adds a new paragraph of text to the end of the buffer.
1170
+ # @param text [String]
1171
+ # @return [Range]
1172
+ def add_paragraph(text) end
1173
+
1174
+ # Adds an image to the control's buffer.
1175
+ # @param image [Wx::Image]
1176
+ # @return [Range]
1177
+ def add_image(image) end
1178
+
1179
+ # Lays out the buffer, which must be done before certain operations, such as setting the caret position.
1180
+ # This function should not normally be required by the application.
1181
+ # @param onlyVisibleRect [true,false]
1182
+ # @return [true,false]
1183
+ def layout_content(onlyVisibleRect=false) end
1184
+
1185
+ # Implements layout.
1186
+ # An application may override this to perform operations before or after layout.
1187
+ # @param buffer [Wx::RichTextBuffer]
1188
+ # @param dc [Wx::DC]
1189
+ # @param context [Wx::RichTextDrawingContext]
1190
+ # @param rect [Wx::Rect]
1191
+ # @param parentRect [Wx::Rect]
1192
+ # @param flags [Integer]
1193
+ # @return [void]
1194
+ def do_layout_buffer(buffer, dc, context, rect, parentRect, flags) end
1195
+
1196
+ # Move the caret to the given character position.
1197
+ # Please note that this does not update the current editing style from the new position; to do that, call {Wx::RTC::RichTextCtrl#set_insertion_point} instead.
1198
+ # @param pos [Integer]
1199
+ # @param showAtLineStart [true,false]
1200
+ # @param container [Wx::RichTextParagraphLayoutBox]
1201
+ # @return [true,false]
1202
+ def move_caret(pos, showAtLineStart=false, container=nil) end
1203
+
1204
+ # Moves right.
1205
+ # @param noPositions [Integer]
1206
+ # @param flags [Integer]
1207
+ # @return [true,false]
1208
+ def move_right(noPositions=1, flags=0) end
1209
+
1210
+ # Moves left.
1211
+ # @param noPositions [Integer]
1212
+ # @param flags [Integer]
1213
+ # @return [true,false]
1214
+ def move_left(noPositions=1, flags=0) end
1215
+
1216
+ # Moves to the start of the paragraph.
1217
+ # @param noLines [Integer]
1218
+ # @param flags [Integer]
1219
+ # @return [true,false]
1220
+ def move_up(noLines=1, flags=0) end
1221
+
1222
+ # Moves the caret down.
1223
+ # @param noLines [Integer]
1224
+ # @param flags [Integer]
1225
+ # @return [true,false]
1226
+ def move_down(noLines=1, flags=0) end
1227
+
1228
+ # Moves to the end of the line.
1229
+ # @param flags [Integer]
1230
+ # @return [true,false]
1231
+ def move_to_line_end(flags=0) end
1232
+
1233
+ # Moves to the start of the line.
1234
+ # @param flags [Integer]
1235
+ # @return [true,false]
1236
+ def move_to_line_start(flags=0) end
1237
+
1238
+ # Moves to the end of the paragraph.
1239
+ # @param flags [Integer]
1240
+ # @return [true,false]
1241
+ def move_to_paragraph_end(flags=0) end
1242
+
1243
+ # Moves to the start of the paragraph.
1244
+ # @param flags [Integer]
1245
+ # @return [true,false]
1246
+ def move_to_paragraph_start(flags=0) end
1247
+
1248
+ # Moves to the start of the buffer.
1249
+ # @param flags [Integer]
1250
+ # @return [true,false]
1251
+ def move_home(flags=0) end
1252
+
1253
+ # Moves to the end of the buffer.
1254
+ # @param flags [Integer]
1255
+ # @return [true,false]
1256
+ def move_end(flags=0) end
1257
+
1258
+ # Moves one or more pages up.
1259
+ # @param noPages [Integer]
1260
+ # @param flags [Integer]
1261
+ # @return [true,false]
1262
+ def page_up(noPages=1, flags=0) end
1263
+
1264
+ # Moves one or more pages down.
1265
+ # @param noPages [Integer]
1266
+ # @param flags [Integer]
1267
+ # @return [true,false]
1268
+ def page_down(noPages=1, flags=0) end
1269
+
1270
+ # Moves a number of words to the left.
1271
+ # @param noPages [Integer]
1272
+ # @param flags [Integer]
1273
+ # @return [true,false]
1274
+ def word_left(noPages=1, flags=0) end
1275
+
1276
+ # Move a number of words to the right.
1277
+ # @param noPages [Integer]
1278
+ # @param flags [Integer]
1279
+ # @return [true,false]
1280
+ def word_right(noPages=1, flags=0) end
1281
+
1282
+ # @overload get_buffer()
1283
+ # Returns the buffer associated with the control.
1284
+ # @return [Wx::RichTextBuffer]
1285
+ # @overload get_buffer()
1286
+ # @return [Wx::RichTextBuffer]
1287
+ def get_buffer(*args) end
1288
+ alias_method :buffer, :get_buffer
1289
+
1290
+ # Starts batching undo history for commands.
1291
+ # @param cmdName [String]
1292
+ # @return [true,false]
1293
+ def begin_batch_undo(cmdName) end
1294
+
1295
+ # Ends batching undo command history.
1296
+ # @return [true,false]
1297
+ def end_batch_undo; end
1298
+
1299
+ # Returns true if undo commands are being batched.
1300
+ # @return [true,false]
1301
+ def batching_undo; end
1302
+
1303
+ # Starts suppressing undo history for commands.
1304
+ # @return [true,false]
1305
+ def begin_suppress_undo; end
1306
+
1307
+ # Ends suppressing undo command history.
1308
+ # @return [true,false]
1309
+ def end_suppress_undo; end
1310
+
1311
+ # Returns true if undo history suppression is on.
1312
+ # @return [true,false]
1313
+ def suppressing_undo; end
1314
+
1315
+ # Test if this whole range has character attributes of the specified kind.
1316
+ # If any of the attributes are different within the range, the test fails.
1317
+ # You can use this to implement, for example, bold button updating. style must have flags indicating which attributes are of interest.
1318
+ # @param range [Range]
1319
+ # @param style [Wx::RichTextAttr]
1320
+ # @return [true,false]
1321
+ def has_character_attributes(range, style) end
1322
+ alias_method :has_character_attributes?, :has_character_attributes
1323
+
1324
+ # Test if this whole range has paragraph attributes of the specified kind.
1325
+ # If any of the attributes are different within the range, the test fails. You can use this to implement, for example, centering button updating. style must have flags indicating which attributes are of interest.
1326
+ # @param range [Range]
1327
+ # @param style [Wx::RichTextAttr]
1328
+ # @return [true,false]
1329
+ def has_paragraph_attributes(range, style) end
1330
+ alias_method :has_paragraph_attributes?, :has_paragraph_attributes
1331
+
1332
+ # Returns true if all of the selection, or the content at the caret position, is bold.
1333
+ # @return [true,false]
1334
+ def is_selection_bold; end
1335
+ alias_method :selection_bold?, :is_selection_bold
1336
+
1337
+ # Returns true if all of the selection, or the content at the caret position, is italic.
1338
+ # @return [true,false]
1339
+ def is_selection_italics; end
1340
+ alias_method :selection_italics?, :is_selection_italics
1341
+
1342
+ # Returns true if all of the selection, or the content at the caret position, is underlined.
1343
+ # @return [true,false]
1344
+ def is_selection_underlined; end
1345
+ alias_method :selection_underlined?, :is_selection_underlined
1346
+
1347
+ # Returns true if all of the selection, or the content at the current caret position, has the supplied {Wx::TextAttrEffects} flag(s).
1348
+ # @param flag [Integer]
1349
+ # @return [true,false]
1350
+ def does_selection_have_text_effect_flag(flag) end
1351
+
1352
+ # Returns true if all of the selection is aligned according to the specified flag.
1353
+ # @param alignment [TextAttrAlignment]
1354
+ # @return [true,false]
1355
+ def is_selection_aligned(alignment) end
1356
+ alias_method :selection_aligned?, :is_selection_aligned
1357
+
1358
+ # Apples bold to the selection or the default style (undoable).
1359
+ # @return [true,false]
1360
+ def apply_bold_to_selection; end
1361
+
1362
+ # Applies italic to the selection or the default style (undoable).
1363
+ # @return [true,false]
1364
+ def apply_italic_to_selection; end
1365
+
1366
+ # Applies underline to the selection or the default style (undoable).
1367
+ # @return [true,false]
1368
+ def apply_underline_to_selection; end
1369
+
1370
+ # Applies one or more {Wx::TextAttrEffects} flags to the selection (undoable).
1371
+ # If there is no selection, it is applied to the default style.
1372
+ # @param flags [Integer]
1373
+ # @return [true,false]
1374
+ def apply_text_effect_to_selection(flags) end
1375
+
1376
+ # Applies the given alignment to the selection or the default style (undoable).
1377
+ # For alignment values, see {Wx::TextAttr}.
1378
+ # @param alignment [TextAttrAlignment]
1379
+ # @return [true,false]
1380
+ def apply_alignment_to_selection(alignment) end
1381
+
1382
+ # Applies the style sheet to the buffer, matching paragraph styles in the sheet against named styles in the buffer.
1383
+ # This might be useful if the styles have changed. If sheet is NULL, the sheet set with {Wx::RTC::RichTextCtrl#set_style_sheet} is used. Currently this applies paragraph styles only.
1384
+ # @param def_ [Wx::RichTextStyleDefinition]
1385
+ # @return [true,false]
1386
+ def apply_style(def_) end
1387
+
1388
+ # Sets the style sheet associated with the control.
1389
+ # A style sheet allows named character and paragraph styles to be applied.
1390
+ # @param styleSheet [Wx::RichTextStyleSheet]
1391
+ # @return [void]
1392
+ def set_style_sheet(styleSheet) end
1393
+ alias_method :style_sheet=, :set_style_sheet
1394
+
1395
+ # Returns the style sheet associated with the control, if any.
1396
+ # A style sheet allows named character and paragraph styles to be applied.
1397
+ # @return [Wx::RichTextStyleSheet]
1398
+ def get_style_sheet; end
1399
+ alias_method :style_sheet, :get_style_sheet
1400
+
1401
+ # Push the style sheet to top of stack.
1402
+ # @param styleSheet [Wx::RichTextStyleSheet]
1403
+ # @return [true,false]
1404
+ def push_style_sheet(styleSheet) end
1405
+
1406
+ # Pops the style sheet from top of stack.
1407
+ # @return [Wx::RichTextStyleSheet]
1408
+ def pop_style_sheet; end
1409
+
1410
+ # Applies the style sheet to the buffer, for example if the styles have changed.
1411
+ # @param styleSheet [Wx::RichTextStyleSheet]
1412
+ # @return [true,false]
1413
+ def apply_style_sheet(styleSheet=nil) end
1414
+
1415
+ # Shows the given context menu, optionally adding appropriate property-editing commands for the current position in the object hierarchy.
1416
+ # @param menu [Wx::Menu]
1417
+ # @param pt [Array(Integer, Integer), Wx::Point]
1418
+ # @param addPropertyCommands [true,false]
1419
+ # @return [true,false]
1420
+ def show_context_menu(menu, pt, addPropertyCommands) end
1421
+
1422
+ # Prepares the context menu, optionally adding appropriate property-editing commands.
1423
+ # Returns the number of property commands added.
1424
+ # @param menu [Wx::Menu]
1425
+ # @param pt [Array(Integer, Integer), Wx::Point]
1426
+ # @param addPropertyCommands [true,false]
1427
+ # @return [Integer]
1428
+ def prepare_context_menu(menu, pt, addPropertyCommands) end
1429
+
1430
+ # Returns true if we can edit the object's properties via a GUI.
1431
+ # @param obj [Wx::RichTextObject]
1432
+ # @return [true,false]
1433
+ def can_edit_properties(obj) end
1434
+ alias_method :can_edit_properties?, :can_edit_properties
1435
+
1436
+ # Edits the object's properties via a GUI.
1437
+ # @param obj [Wx::RichTextObject]
1438
+ # @param parent [Wx::Window]
1439
+ # @return [true,false]
1440
+ def edit_properties(obj, parent) end
1441
+
1442
+ # Gets the object's properties menu label.
1443
+ # @param obj [Wx::RichTextObject]
1444
+ # @return [String]
1445
+ def get_properties_menu_label(obj) end
1446
+ alias_method :properties_menu_label, :get_properties_menu_label
1447
+
1448
+ # Prepares the content just before insertion (or after buffer reset).
1449
+ # Called by the same function in {Wx::RTC::RichTextBuffer}. Currently is only called if undo mode is on.
1450
+ # @param container [Wx::RichTextParagraphLayoutBox]
1451
+ # @return [void]
1452
+ def prepare_content(container) end
1453
+
1454
+ # Can we delete this range? Sends an event to the control.
1455
+ # @param container [Wx::RichTextParagraphLayoutBox]
1456
+ # @param range [Range]
1457
+ # @return [true,false]
1458
+ def can_delete_range(container, range) end
1459
+ alias_method :can_delete_range?, :can_delete_range
1460
+
1461
+ # Can we insert content at this position? Sends an event to the control.
1462
+ # @param container [Wx::RichTextParagraphLayoutBox]
1463
+ # @param pos [Integer]
1464
+ # @return [true,false]
1465
+ def can_insert_content(container, pos) end
1466
+ alias_method :can_insert_content?, :can_insert_content
1467
+
1468
+ # Enable or disable the vertical scrollbar.
1469
+ # @param enable [true,false]
1470
+ # @return [void]
1471
+ def enable_vertical_scrollbar(enable) end
1472
+
1473
+ # Returns true if the vertical scrollbar is enabled.
1474
+ # @return [true,false]
1475
+ def get_vertical_scrollbar_enabled; end
1476
+ alias_method :vertical_scrollbar_enabled, :get_vertical_scrollbar_enabled
1477
+
1478
+ # Sets the scale factor for displaying fonts, for example for more comfortable editing.
1479
+ # @param fontScale [Float]
1480
+ # @param refresh [true,false]
1481
+ # @return [void]
1482
+ def set_font_scale(fontScale, refresh=false) end
1483
+ alias_method :font_scale=, :set_font_scale
1484
+
1485
+ # Returns the scale factor for displaying fonts, for example for more comfortable editing.
1486
+ # @return [Float]
1487
+ def get_font_scale; end
1488
+ alias_method :font_scale, :get_font_scale
1489
+
1490
+ # Sets the scale factor for displaying certain dimensions such as indentation and inter-paragraph spacing.
1491
+ # This can be useful when editing in a small control where you still want legible text, but a minimum of wasted white space.
1492
+ # @param dimScale [Float]
1493
+ # @param refresh [true,false]
1494
+ # @return [void]
1495
+ def set_dimension_scale(dimScale, refresh=false) end
1496
+ alias_method :dimension_scale=, :set_dimension_scale
1497
+
1498
+ # Returns the scale factor for displaying certain dimensions such as indentation and inter-paragraph spacing.
1499
+ # @return [Float]
1500
+ def get_dimension_scale; end
1501
+ alias_method :dimension_scale, :get_dimension_scale
1502
+
1503
+ # Sets an overall scale factor for displaying and editing the content.
1504
+ # @param scale [Float]
1505
+ # @param refresh [true,false]
1506
+ # @return [void]
1507
+ def set_scale(scale, refresh=false) end
1508
+ alias_method :scale=, :set_scale
1509
+
1510
+ # Returns an overall scale factor for displaying and editing the content.
1511
+ # @return [Float]
1512
+ def get_scale; end
1513
+ alias_method :scale, :get_scale
1514
+
1515
+ # Returns an unscaled point.
1516
+ # @param pt [Array(Integer, Integer), Wx::Point]
1517
+ # @return [Wx::Point]
1518
+ def get_unscaled_point(pt) end
1519
+ alias_method :unscaled_point, :get_unscaled_point
1520
+
1521
+ # Returns a scaled point.
1522
+ # @param pt [Array(Integer, Integer), Wx::Point]
1523
+ # @return [Wx::Point]
1524
+ def get_scaled_point(pt) end
1525
+ alias_method :scaled_point, :get_scaled_point
1526
+
1527
+ # Returns an unscaled size.
1528
+ # @param sz [Array(Integer, Integer), Wx::Size]
1529
+ # @return [Wx::Size]
1530
+ def get_unscaled_size(sz) end
1531
+ alias_method :unscaled_size, :get_unscaled_size
1532
+
1533
+ # Returns a scaled size.
1534
+ # @param sz [Array(Integer, Integer), Wx::Size]
1535
+ # @return [Wx::Size]
1536
+ def get_scaled_size(sz) end
1537
+ alias_method :scaled_size, :get_scaled_size
1538
+
1539
+ # Returns an unscaled rectangle.
1540
+ # @param rect [Wx::Rect]
1541
+ # @return [Wx::Rect]
1542
+ def get_unscaled_rect(rect) end
1543
+ alias_method :unscaled_rect, :get_unscaled_rect
1544
+
1545
+ # Returns a scaled rectangle.
1546
+ # @param rect [Wx::Rect]
1547
+ # @return [Wx::Rect]
1548
+ def get_scaled_rect(rect) end
1549
+ alias_method :scaled_rect, :get_scaled_rect
1550
+
1551
+ # Returns true if this control can use virtual attributes and virtual text.
1552
+ # The default is false.
1553
+ # @return [true,false]
1554
+ def get_virtual_attributes_enabled; end
1555
+ alias_method :virtual_attributes_enabled, :get_virtual_attributes_enabled
1556
+
1557
+ # Pass true to let the control use virtual attributes.
1558
+ # The default is false.
1559
+ # @param b [true,false]
1560
+ # @return [void]
1561
+ def enable_virtual_attributes(b) end
1562
+
1563
+ # Sends the event to the control.
1564
+ # @param event [Wx::CommandEvent]
1565
+ # @return [void]
1566
+ def command(event) end
1567
+
1568
+ # Loads the first dropped file.
1569
+ # @param event [Wx::DropFilesEvent]
1570
+ # @return [void]
1571
+ def on_drop_files(event) end
1572
+
1573
+ # @param event [Wx::MouseCaptureLostEvent]
1574
+ # @return [void]
1575
+ def on_capture_lost(event) end
1576
+
1577
+ # @param event [Wx::SysColourChangedEvent]
1578
+ # @return [void]
1579
+ def on_sys_colour_changed(event) end
1580
+
1581
+ # Standard handler for the {Wx::StandardID::ID_CUT} command.
1582
+ # @param event [Wx::CommandEvent]
1583
+ # @return [void]
1584
+ def on_cut(event) end
1585
+
1586
+ # Standard handler for the {Wx::StandardID::ID_COPY} command.
1587
+ # @param event [Wx::CommandEvent]
1588
+ # @return [void]
1589
+ def on_copy(event) end
1590
+
1591
+ # Standard handler for the {Wx::StandardID::ID_PASTE} command.
1592
+ # @param event [Wx::CommandEvent]
1593
+ # @return [void]
1594
+ def on_paste(event) end
1595
+
1596
+ # Standard handler for the {Wx::StandardID::ID_UNDO} command.
1597
+ # @param event [Wx::CommandEvent]
1598
+ # @return [void]
1599
+ def on_undo(event) end
1600
+
1601
+ # Standard handler for the {Wx::StandardID::ID_REDO} command.
1602
+ # @param event [Wx::CommandEvent]
1603
+ # @return [void]
1604
+ def on_redo(event) end
1605
+
1606
+ # Standard handler for the {Wx::StandardID::ID_SELECTALL} command.
1607
+ # @param event [Wx::CommandEvent]
1608
+ # @return [void]
1609
+ def on_select_all(event) end
1610
+
1611
+ # Standard handler for property commands.
1612
+ # @param event [Wx::CommandEvent]
1613
+ # @return [void]
1614
+ def on_properties(event) end
1615
+
1616
+ # Standard handler for the {Wx::StandardID::ID_CLEAR} command.
1617
+ # @param event [Wx::CommandEvent]
1618
+ # @return [void]
1619
+ def on_clear(event) end
1620
+
1621
+ # Standard update handler for the {Wx::StandardID::ID_CUT} command.
1622
+ # @param event [Wx::UpdateUIEvent]
1623
+ # @return [void]
1624
+ def on_update_cut(event) end
1625
+
1626
+ # Standard update handler for the {Wx::StandardID::ID_COPY} command.
1627
+ # @param event [Wx::UpdateUIEvent]
1628
+ # @return [void]
1629
+ def on_update_copy(event) end
1630
+
1631
+ # Standard update handler for the {Wx::StandardID::ID_PASTE} command.
1632
+ # @param event [Wx::UpdateUIEvent]
1633
+ # @return [void]
1634
+ def on_update_paste(event) end
1635
+
1636
+ # Standard update handler for the {Wx::StandardID::ID_UNDO} command.
1637
+ # @param event [Wx::UpdateUIEvent]
1638
+ # @return [void]
1639
+ def on_update_undo(event) end
1640
+
1641
+ # Standard update handler for the {Wx::StandardID::ID_REDO} command.
1642
+ # @param event [Wx::UpdateUIEvent]
1643
+ # @return [void]
1644
+ def on_update_redo(event) end
1645
+
1646
+ # Standard update handler for the {Wx::StandardID::ID_SELECTALL} command.
1647
+ # @param event [Wx::UpdateUIEvent]
1648
+ # @return [void]
1649
+ def on_update_select_all(event) end
1650
+
1651
+ # Standard update handler for property commands.
1652
+ # @param event [Wx::UpdateUIEvent]
1653
+ # @return [void]
1654
+ def on_update_properties(event) end
1655
+
1656
+ # Standard update handler for the {Wx::StandardID::ID_CLEAR} command.
1657
+ # @param event [Wx::UpdateUIEvent]
1658
+ # @return [void]
1659
+ def on_update_clear(event) end
1660
+
1661
+ # Shows a standard context menu with undo, redo, cut, copy, paste, clear, and select all commands.
1662
+ # @param event [Wx::ContextMenuEvent]
1663
+ # @return [void]
1664
+ def on_context_menu(event) end
1665
+
1666
+ # @param event [Wx::PaintEvent]
1667
+ # @return [void]
1668
+ def on_paint(event) end
1669
+
1670
+ # @param event [Wx::EraseEvent]
1671
+ # @return [void]
1672
+ def on_erase_background(event) end
1673
+
1674
+ # @param event [Wx::MouseEvent]
1675
+ # @return [void]
1676
+ def on_left_click(event) end
1677
+
1678
+ # @param event [Wx::MouseEvent]
1679
+ # @return [void]
1680
+ def on_left_up(event) end
1681
+
1682
+ # @param event [Wx::MouseEvent]
1683
+ # @return [void]
1684
+ def on_move_mouse(event) end
1685
+
1686
+ # @param event [Wx::MouseEvent]
1687
+ # @return [void]
1688
+ def on_left_d_click(event) end
1689
+
1690
+ # @param event [Wx::MouseEvent]
1691
+ # @return [void]
1692
+ def on_middle_click(event) end
1693
+
1694
+ # @param event [Wx::MouseEvent]
1695
+ # @return [void]
1696
+ def on_right_click(event) end
1697
+
1698
+ # @param event [Wx::KeyEvent]
1699
+ # @return [void]
1700
+ def on_char(event) end
1701
+
1702
+ # @param event [Wx::SizeEvent]
1703
+ # @return [void]
1704
+ def on_size(event) end
1705
+
1706
+ # @param event [Wx::FocusEvent]
1707
+ # @return [void]
1708
+ def on_set_focus(event) end
1709
+
1710
+ # @param event [Wx::FocusEvent]
1711
+ # @return [void]
1712
+ def on_kill_focus(event) end
1713
+
1714
+ # @param event [Wx::IdleEvent]
1715
+ # @return [void]
1716
+ def on_idle(event) end
1717
+
1718
+ # @param event [Wx::ScrollWinEvent]
1719
+ # @return [void]
1720
+ def on_scroll(event) end
1721
+
1722
+ # Sets the font, and also the basic and default attributes (see {Wx::RTC::RichTextCtrl#set_default_style}).
1723
+ # @param font [Wx::Font,Wx::FontInfo]
1724
+ # @return [true,false]
1725
+ def set_font(font) end
1726
+ alias_method :font=, :set_font
1727
+
1728
+ # A helper function setting up scrollbars, for example after a resize.
1729
+ # @param atTop [true,false]
1730
+ # @return [void]
1731
+ def setup_scrollbars(atTop=false) end
1732
+
1733
+ # Helper function implementing keyboard navigation.
1734
+ # @param keyCode [Integer]
1735
+ # @param flags [Integer]
1736
+ # @return [true,false]
1737
+ def keyboard_navigate(keyCode, flags) end
1738
+
1739
+ # @param value [String]
1740
+ # @param flags [Integer]
1741
+ # @return [void]
1742
+ def do_write_text(value, flags=0) end
1743
+
1744
+ # Return true from here to allow the colours of this window to be changed by {Wx::RTC::RichTextCtrl#inherit_attributes}.
1745
+ # Returning false forbids inheriting them from the parent window.
1746
+ # The base class version returns false, but this method is overridden in {Wx::Control} where it returns true.
1747
+ # @return [true,false]
1748
+ def should_inherit_colours; end
1749
+
1750
+ # Internal function to position the visible caret according to the current caret position.
1751
+ # @param container [Wx::RichTextParagraphLayoutBox]
1752
+ # @return [void]
1753
+ def position_caret(container=nil) end
1754
+
1755
+ # Helper function for extending the selection, returning true if the selection was changed.
1756
+ # Selections are in caret positions.
1757
+ # @param oldPosition [Integer]
1758
+ # @param newPosition [Integer]
1759
+ # @param flags [Integer]
1760
+ # @return [true,false]
1761
+ def extend_selection(oldPosition, newPosition, flags) end
1762
+
1763
+ # Extends a table selection in the given direction.
1764
+ # @param table [Wx::RichTextTable]
1765
+ # @param noRowSteps [Integer]
1766
+ # @param noColSteps [Integer]
1767
+ # @return [true,false]
1768
+ def extend_cell_selection(table, noRowSteps, noColSteps) end
1769
+
1770
+ # Starts selecting table cells.
1771
+ # @param table [Wx::RichTextTable]
1772
+ # @param newCell [Wx::RichTextParagraphLayoutBox]
1773
+ # @return [true,false]
1774
+ def start_cell_selection(table, newCell) end
1775
+
1776
+ # Scrolls position into view.
1777
+ # This function takes a caret position.
1778
+ # @param position [Integer]
1779
+ # @param keyCode [Integer]
1780
+ # @return [true,false]
1781
+ def scroll_into_view(position, keyCode) end
1782
+
1783
+ # Refreshes the area affected by a selection change.
1784
+ # @param oldSelection [Wx::RichTextSelection]
1785
+ # @param newSelection [Wx::RichTextSelection]
1786
+ # @return [true,false]
1787
+ def refresh_for_selection_change(oldSelection, newSelection) end
1788
+
1789
+ # Sets the caret position.
1790
+ # The caret position is the character position just before the caret. A value of -1 means the caret is at the start of the buffer. Please note that this does not update the current editing style from the new position or cause the actual caret to be refreshed; to do that, call {Wx::RTC::RichTextCtrl#set_insertion_point} instead.
1791
+ # @param position [Integer]
1792
+ # @param showAtLineStart [true,false]
1793
+ # @return [void]
1794
+ def set_caret_position(position, showAtLineStart=false) end
1795
+ alias_method :caret_position=, :set_caret_position
1796
+
1797
+ # Returns the current caret position.
1798
+ # @return [Integer]
1799
+ def get_caret_position; end
1800
+ alias_method :caret_position, :get_caret_position
1801
+
1802
+ # The adjusted caret position is the character position adjusted to take into account whether we're at the start of a paragraph, in which case style information should be taken from the next position, not current one.
1803
+ # @param caretPos [Integer]
1804
+ # @return [Integer]
1805
+ def get_adjusted_caret_position(caretPos) end
1806
+ alias_method :adjusted_caret_position, :get_adjusted_caret_position
1807
+
1808
+ # Move the caret one visual step forward: this may mean setting a flag and keeping the same position if we're going from the end of one line to the start of the next, which may be the exact same caret position.
1809
+ # @param oldPosition [Integer]
1810
+ # @return [void]
1811
+ def move_caret_forward(oldPosition) end
1812
+
1813
+ # Move the caret one visual step forward: this may mean setting a flag and keeping the same position if we're going from the end of one line to the start of the next, which may be the exact same caret position.
1814
+ # @param oldPosition [Integer]
1815
+ # @return [void]
1816
+ def move_caret_back(oldPosition) end
1817
+
1818
+ # Returns the caret height and position for the given character position.
1819
+ # If container is null, the current focus object will be used.
1820
+ # <b>{Wx::Perl} Note:</b> In {Wx::Perl} this method is implemented as GetCaretPositionForIndex(position) returning a 2-element list (ok, rect).
1821
+ # @param position [Integer]
1822
+ # @param rect [Wx::Rect]
1823
+ # @param container [Wx::RichTextParagraphLayoutBox]
1824
+ # @return [true,false]
1825
+ def get_caret_position_for_index(position, rect, container=nil) end
1826
+ alias_method :caret_position_for_index, :get_caret_position_for_index
1827
+
1828
+ # Internal helper function returning the line for the visible caret position.
1829
+ # If the caret is shown at the very end of the line, it means the next character is actually on the following line. So this function gets the line we're expecting to find if this is the case.
1830
+ # @param caretPosition [Integer]
1831
+ # @return [Wx::RichTextLine]
1832
+ def get_visible_line_for_caret_position(caretPosition) end
1833
+ alias_method :visible_line_for_caret_position, :get_visible_line_for_caret_position
1834
+
1835
+ # Gets the command processor associated with the control's buffer.
1836
+ # @return [Wx::CommandProcessor]
1837
+ def get_command_processor; end
1838
+ alias_method :command_processor, :get_command_processor
1839
+
1840
+ # Deletes content if there is a selection, e.g.
1841
+ # when pressing a key. Returns the new caret position in newPos, or leaves it if there was no action. This is undoable.
1842
+ # <b>{Wx::Perl} Note:</b> In {Wx::Perl} this method takes no arguments and returns a 2-element list (ok, newPos).
1843
+ # @return [Array(true,false,Integer)]
1844
+ def delete_selected_content; end
1845
+
1846
+ # Transforms logical (unscrolled) position to physical window position.
1847
+ # @param ptLogical [Array(Integer, Integer), Wx::Point]
1848
+ # @return [Wx::Point]
1849
+ def get_physical_point(ptLogical) end
1850
+ alias_method :physical_point, :get_physical_point
1851
+
1852
+ # Transforms physical window position to logical (unscrolled) position.
1853
+ # @param ptPhysical [Array(Integer, Integer), Wx::Point]
1854
+ # @return [Wx::Point]
1855
+ def get_logical_point(ptPhysical) end
1856
+ alias_method :logical_point, :get_logical_point
1857
+
1858
+ # Helper function for finding the caret position for the next word.
1859
+ # Direction is 1 (forward) or -1 (backwards).
1860
+ # @param direction [Integer]
1861
+ # @return [Integer]
1862
+ def find_next_word_position(direction=1) end
1863
+
1864
+ # Returns true if the given position is visible on the screen.
1865
+ # @param pos [Integer]
1866
+ # @return [true,false]
1867
+ def is_position_visible(pos) end
1868
+ alias_method :position_visible?, :is_position_visible
1869
+
1870
+ # Returns the first visible position in the current view.
1871
+ # @return [Integer]
1872
+ def get_first_visible_position; end
1873
+ alias_method :first_visible_position, :get_first_visible_position
1874
+
1875
+ # Enable or disable images.
1876
+ # @param b [true,false]
1877
+ # @return [void]
1878
+ def enable_images(b) end
1879
+
1880
+ # Returns true if images are enabled.
1881
+ # @return [true,false]
1882
+ def get_images_enabled; end
1883
+ alias_method :images_enabled, :get_images_enabled
1884
+
1885
+ # Enable or disable delayed image loading.
1886
+ # @param b [true,false]
1887
+ # @return [void]
1888
+ def enable_delayed_image_loading(b) end
1889
+
1890
+ # Returns true if delayed image loading is enabled.
1891
+ # @return [true,false]
1892
+ def get_delayed_image_loading; end
1893
+ alias_method :delayed_image_loading, :get_delayed_image_loading
1894
+
1895
+ # Gets the flag indicating that delayed image processing is required.
1896
+ # @return [true,false]
1897
+ def get_delayed_image_processing_required; end
1898
+ alias_method :delayed_image_processing_required, :get_delayed_image_processing_required
1899
+
1900
+ # Sets the flag indicating that delayed image processing is required.
1901
+ # @param b [true,false]
1902
+ # @return [void]
1903
+ def set_delayed_image_processing_required(b) end
1904
+ alias_method :delayed_image_processing_required=, :set_delayed_image_processing_required
1905
+
1906
+ # Returns the last time delayed image processing was performed.
1907
+ # @return [Wx::LongLong]
1908
+ def get_delayed_image_processing_time; end
1909
+ alias_method :delayed_image_processing_time, :get_delayed_image_processing_time
1910
+
1911
+ # Sets the last time delayed image processing was performed.
1912
+ # @param t [Wx::LongLong]
1913
+ # @return [void]
1914
+ def set_delayed_image_processing_time(t) end
1915
+ alias_method :delayed_image_processing_time=, :set_delayed_image_processing_time
1916
+
1917
+ # Returns the caret position since the default formatting was changed.
1918
+ # As soon as this position changes, we no longer reflect the default style in the UI. A value of -2 means that we should only reflect the style of the content under the caret.
1919
+ # @return [Integer]
1920
+ def get_caret_position_for_default_style; end
1921
+ alias_method :caret_position_for_default_style, :get_caret_position_for_default_style
1922
+
1923
+ # Set the caret position for the default style that the user is selecting.
1924
+ # @param pos [Integer]
1925
+ # @return [void]
1926
+ def set_caret_position_for_default_style(pos) end
1927
+ alias_method :caret_position_for_default_style=, :set_caret_position_for_default_style
1928
+
1929
+ # Returns true if the user has recently set the default style without moving the caret, and therefore the UI needs to reflect the default style and not the style at the caret.
1930
+ # Below is an example of code that uses this function to determine whether the UI should show that the current style is bold.
1931
+ # @see Wx::RTC::RichTextCtrl#set_and_show_default_style.
1932
+ # @return [true,false]
1933
+ def is_default_style_showing; end
1934
+ alias_method :default_style_showing?, :is_default_style_showing
1935
+
1936
+ # Sets attr as the default style and tells the control that the UI should reflect this attribute until the user moves the caret.
1937
+ #
1938
+ # @see Wx::RTC::RichTextCtrl#is_default_style_showing.
1939
+ # @param attr [Wx::RichTextAttr]
1940
+ # @return [void]
1941
+ def set_and_show_default_style(attr) end
1942
+ alias_method :and_show_default_style=, :set_and_show_default_style
1943
+
1944
+ # Returns the first visible point in the window.
1945
+ # @return [Wx::Point]
1946
+ def get_first_visible_point; end
1947
+ alias_method :first_visible_point, :get_first_visible_point
1948
+
1949
+ # Returns the content of the entire control as a string.
1950
+ # @return [String]
1951
+ def get_value; end
1952
+ alias_method :value, :get_value
1953
+
1954
+ # Replaces existing content with the given text.
1955
+ # @param value [String]
1956
+ # @return [void]
1957
+ def set_value(value) end
1958
+ alias_method :value=, :set_value
1959
+
1960
+ # Processes the back key.
1961
+ # @param event [Wx::KeyEvent]
1962
+ # @param flags [Integer]
1963
+ # @return [true,false]
1964
+ def process_back_key(event, flags) end
1965
+
1966
+ # Given a character position at which there is a list style, find the range encompassing the same list style by looking backwards and forwards.
1967
+ # @param pos [Integer]
1968
+ # @param isNumberedList [bool]
1969
+ # @return [Range]
1970
+ def find_range_for_list(pos, isNumberedList) end
1971
+
1972
+ # Sets up the caret for the given position and container, after a mouse click.
1973
+ # @param container [Wx::RichTextParagraphLayoutBox]
1974
+ # @param position [Integer]
1975
+ # @param hitTestFlags [Integer]
1976
+ # @param extendSelection [true,false]
1977
+ # @return [true,false]
1978
+ def set_caret_position_after_click(container, position, hitTestFlags, extendSelection=false) end
1979
+
1980
+ # Find the caret position for the combination of hit-test flags and character position.
1981
+ # Returns the caret position and also an indication of where to place the caret (caretLineStart) since this is ambiguous (same position used for end of line and start of next).
1982
+ # @param position [Integer]
1983
+ # @param hitTestFlags [Integer]
1984
+ # @param container [Wx::RichTextParagraphLayoutBox]
1985
+ # @param caretLineStart [bool]
1986
+ # @return [Integer]
1987
+ def find_caret_position_for_character_position(position, hitTestFlags, container, caretLineStart) end
1988
+
1989
+ # Processes mouse movement in order to change the cursor.
1990
+ # @param container [Wx::RichTextParagraphLayoutBox]
1991
+ # @param obj [Wx::RichTextObject]
1992
+ # @param position [Integer]
1993
+ # @param pos [Array(Integer, Integer), Wx::Point]
1994
+ # @return [true,false]
1995
+ def process_mouse_movement(container, obj, position, pos) end
1996
+
1997
+ # @return [String]
1998
+ def do_get_value; end
1999
+
2000
+ # @overload process_delayed_image_loading(refresh)
2001
+ # Do delayed image loading and garbage-collect other images.
2002
+ # @param refresh [true,false]
2003
+ # @return [true,false]
2004
+ # @overload process_delayed_image_loading(screenRect, box, loadCount)
2005
+ # @param screenRect [Wx::Rect]
2006
+ # @param box [Wx::RichTextParagraphLayoutBox]
2007
+ # @param loadCount [int]
2008
+ # @return [true,false]
2009
+ def process_delayed_image_loading(*args) end
2010
+
2011
+ # Request delayed image processing.
2012
+ # @return [void]
2013
+ def request_delayed_image_processing; end
2014
+
2015
+ # Respond to timer events.
2016
+ # @param event [Wx::TimerEvent]
2017
+ # @return [void]
2018
+ def on_timer(event) end
2019
+
2020
+ # Font names take a long time to retrieve, so cache them (on demand).
2021
+ # @return [Wx::ArrayString]
2022
+ def self.get_available_font_names; end
2023
+
2024
+ # Clears the cache of available font names.
2025
+ # @return [void]
2026
+ def self.clear_available_font_names; end
2027
+
2028
+ end # RichTextCtrl
2029
+
2030
+
2031
+ end