wxruby3 0.9.5-x64-mingw-ucrt → 0.9.7-x64-mingw-ucrt

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. checksums.yaml +4 -4
  2. data/.wxconfig +9 -8
  3. data/INSTALL.md +315 -78
  4. data/README.md +31 -20
  5. data/ext/wxbase32u_gcc_custom.dll +0 -0
  6. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  7. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  20. data/lib/wx/core/ext.rb +22 -3
  21. data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
  22. data/lib/wx/doc/gen/accelerator.rb +1 -1
  23. data/lib/wx/doc/gen/accessible.rb +1 -1
  24. data/lib/wx/doc/gen/activity_indicator.rb +1 -1
  25. data/lib/wx/doc/gen/animation.rb +1 -1
  26. data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
  27. data/lib/wx/doc/gen/any_button.rb +1 -1
  28. data/lib/wx/doc/gen/app.rb +1 -1
  29. data/lib/wx/doc/gen/app_traits.rb +1 -1
  30. data/lib/wx/doc/gen/art_provider.rb +1 -1
  31. data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
  32. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
  33. data/lib/wx/doc/gen/aui/aui_manager.rb +352 -348
  34. data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
  35. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
  36. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -38
  37. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
  38. data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
  39. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
  40. data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
  41. data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
  42. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
  43. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
  44. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
  45. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
  46. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
  47. data/lib/wx/doc/gen/banner_window.rb +1 -1
  48. data/lib/wx/doc/gen/bitmap.rb +1 -1
  49. data/lib/wx/doc/gen/bitmap_button.rb +1 -1
  50. data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
  51. data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
  52. data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
  53. data/lib/wx/doc/gen/box_sizer.rb +1 -1
  54. data/lib/wx/doc/gen/brush.rb +1 -1
  55. data/lib/wx/doc/gen/busy_info.rb +1 -1
  56. data/lib/wx/doc/gen/button.rb +1 -1
  57. data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
  58. data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
  59. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  60. data/lib/wx/doc/gen/calendar_event.rb +1 -1
  61. data/lib/wx/doc/gen/caret.rb +1 -1
  62. data/lib/wx/doc/gen/check_box.rb +1 -1
  63. data/lib/wx/doc/gen/check_list_box.rb +1 -1
  64. data/lib/wx/doc/gen/choice.rb +1 -1
  65. data/lib/wx/doc/gen/choicebook.rb +1 -1
  66. data/lib/wx/doc/gen/client_dc.rb +1 -1
  67. data/lib/wx/doc/gen/clipboard.rb +1 -1
  68. data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
  69. data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
  70. data/lib/wx/doc/gen/colour.rb +1 -1
  71. data/lib/wx/doc/gen/colour_dialog.rb +1 -1
  72. data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
  73. data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
  74. data/lib/wx/doc/gen/combo_box.rb +1 -1
  75. data/lib/wx/doc/gen/combo_ctrl.rb +1 -1
  76. data/lib/wx/doc/gen/command_link_button.rb +1 -1
  77. data/lib/wx/doc/gen/config_base.rb +1 -1
  78. data/lib/wx/doc/gen/context_help_button.rb +1 -1
  79. data/lib/wx/doc/gen/control.rb +1 -1
  80. data/lib/wx/doc/gen/control_with_items.rb +1 -1
  81. data/lib/wx/doc/gen/core.rb +5 -5
  82. data/lib/wx/doc/gen/cursor.rb +1 -1
  83. data/lib/wx/doc/gen/data_format.rb +1 -1
  84. data/lib/wx/doc/gen/data_object.rb +1 -1
  85. data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
  86. data/lib/wx/doc/gen/date_event.rb +1 -1
  87. data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
  88. data/lib/wx/doc/gen/dc.rb +1 -1
  89. data/lib/wx/doc/gen/defs.rb +1 -1
  90. data/lib/wx/doc/gen/dial_up_event.rb +1 -1
  91. data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
  92. data/lib/wx/doc/gen/dialog.rb +1 -1
  93. data/lib/wx/doc/gen/dir_dialog.rb +1 -1
  94. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
  95. data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
  96. data/lib/wx/doc/gen/drag_drop.rb +1 -1
  97. data/lib/wx/doc/gen/drag_image.rb +1 -1
  98. data/lib/wx/doc/gen/editable_list_box.rb +1 -1
  99. data/lib/wx/doc/gen/event.rb +1 -1
  100. data/lib/wx/doc/gen/event_blocker.rb +1 -1
  101. data/lib/wx/doc/gen/event_filter.rb +1 -1
  102. data/lib/wx/doc/gen/events.rb +1 -1
  103. data/lib/wx/doc/gen/evt_handler.rb +1 -1
  104. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  105. data/lib/wx/doc/gen/file_ctrl.rb +1 -1
  106. data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
  107. data/lib/wx/doc/gen/file_dialog.rb +1 -1
  108. data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
  109. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +1 -1
  110. data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
  111. data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
  112. data/lib/wx/doc/gen/file_system.rb +1 -1
  113. data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
  114. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  115. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  116. data/lib/wx/doc/gen/flex_grid_sizer.rb +1 -1
  117. data/lib/wx/doc/gen/font.rb +1 -1
  118. data/lib/wx/doc/gen/font_data.rb +1 -1
  119. data/lib/wx/doc/gen/font_dialog.rb +1 -1
  120. data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
  121. data/lib/wx/doc/gen/font_picker_event.rb +1 -1
  122. data/lib/wx/doc/gen/frame.rb +1 -1
  123. data/lib/wx/doc/gen/fs_file.rb +1 -1
  124. data/lib/wx/doc/gen/functions.rb +1 -1
  125. data/lib/wx/doc/gen/gauge.rb +1 -1
  126. data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
  127. data/lib/wx/doc/gen/gcdc.rb +1 -1
  128. data/lib/wx/doc/gen/gdi_common.rb +3 -3
  129. data/lib/wx/doc/gen/gdi_object.rb +1 -1
  130. data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
  131. data/lib/wx/doc/gen/graphics_context.rb +1 -1
  132. data/lib/wx/doc/gen/graphics_object.rb +1 -1
  133. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
  134. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
  135. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
  136. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
  137. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
  138. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
  139. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
  140. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
  141. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
  142. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
  143. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
  144. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
  145. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
  146. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
  147. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
  148. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
  149. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
  150. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
  151. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
  152. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
  153. data/lib/wx/doc/gen/grid/grid_ctrl.rb +2722 -2718
  154. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
  155. data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
  156. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
  157. data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
  158. data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
  159. data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
  160. data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
  161. data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
  162. data/lib/wx/doc/gen/grid_sizer.rb +1 -1
  163. data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
  164. data/lib/wx/doc/gen/header_ctrl.rb +1 -1
  165. data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
  166. data/lib/wx/doc/gen/help_controller.rb +1 -1
  167. data/lib/wx/doc/gen/help_provider.rb +1 -1
  168. data/lib/wx/doc/gen/html/html_cell.rb +515 -511
  169. data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
  170. data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
  171. data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
  172. data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
  173. data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
  174. data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
  175. data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
  176. data/lib/wx/doc/gen/html/html_printout.rb +94 -90
  177. data/lib/wx/doc/gen/html/html_window.rb +406 -402
  178. data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
  179. data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
  180. data/lib/wx/doc/gen/icon.rb +1 -1
  181. data/lib/wx/doc/gen/icon_location.rb +1 -1
  182. data/lib/wx/doc/gen/image.rb +1 -1
  183. data/lib/wx/doc/gen/image_list.rb +1 -1
  184. data/lib/wx/doc/gen/info_bar.rb +1 -1
  185. data/lib/wx/doc/gen/keyboard_state.rb +1 -1
  186. data/lib/wx/doc/gen/list_box.rb +1 -1
  187. data/lib/wx/doc/gen/list_ctrl.rb +1 -1
  188. data/lib/wx/doc/gen/list_event.rb +1 -1
  189. data/lib/wx/doc/gen/listbook.rb +1 -1
  190. data/lib/wx/doc/gen/locale.rb +1 -1
  191. data/lib/wx/doc/gen/log.rb +1 -1
  192. data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
  193. data/lib/wx/doc/gen/mdi_frame.rb +1 -1
  194. data/lib/wx/doc/gen/media_ctrl.rb +1 -1
  195. data/lib/wx/doc/gen/media_event.rb +1 -1
  196. data/lib/wx/doc/gen/memory_dc.rb +1 -1
  197. data/lib/wx/doc/gen/menu.rb +1 -1
  198. data/lib/wx/doc/gen/menu_bar.rb +1 -1
  199. data/lib/wx/doc/gen/menu_item.rb +1 -1
  200. data/lib/wx/doc/gen/message_dialog.rb +1 -1
  201. data/lib/wx/doc/gen/mini_frame.rb +1 -1
  202. data/lib/wx/doc/gen/mirror_dc.rb +1 -1
  203. data/lib/wx/doc/gen/mouse_state.rb +1 -1
  204. data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
  205. data/lib/wx/doc/gen/non_owned_window.rb +1 -1
  206. data/lib/wx/doc/gen/notebook.rb +1 -1
  207. data/lib/wx/doc/gen/num_validator.rb +1 -1
  208. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  209. data/lib/wx/doc/gen/object.rb +1 -1
  210. data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
  211. data/lib/wx/doc/gen/paint_dc.rb +1 -1
  212. data/lib/wx/doc/gen/palette.rb +1 -1
  213. data/lib/wx/doc/gen/panel.rb +1 -1
  214. data/lib/wx/doc/gen/pen.rb +1 -1
  215. data/lib/wx/doc/gen/persistence_manager.rb +1 -1
  216. data/lib/wx/doc/gen/persistent_object.rb +1 -1
  217. data/lib/wx/doc/gen/persistent_window.rb +1 -1
  218. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
  219. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
  220. data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
  221. data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
  222. data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
  223. data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
  224. data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1925
  225. data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -271
  226. data/lib/wx/doc/gen/pg/property_grid.rb +708 -704
  227. data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
  228. data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
  229. data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -382
  230. data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -263
  231. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -143
  232. data/lib/wx/doc/gen/picker_base.rb +1 -1
  233. data/lib/wx/doc/gen/platform_info.rb +1 -1
  234. data/lib/wx/doc/gen/popup_window.rb +1 -1
  235. data/lib/wx/doc/gen/progress_dialog.rb +1 -1
  236. data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
  237. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
  238. data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -17
  239. data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
  240. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
  241. data/lib/wx/doc/gen/prt/print_data.rb +637 -633
  242. data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
  243. data/lib/wx/doc/gen/prt/printer.rb +484 -480
  244. data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
  245. data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
  246. data/lib/wx/doc/gen/radio_box.rb +1 -1
  247. data/lib/wx/doc/gen/radio_button.rb +1 -1
  248. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
  249. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
  250. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
  251. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
  252. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
  253. data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
  254. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
  255. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
  256. data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
  257. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
  258. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
  259. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
  260. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
  261. data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
  262. data/lib/wx/doc/gen/rearrange_list.rb +1 -1
  263. data/lib/wx/doc/gen/region.rb +1 -1
  264. data/lib/wx/doc/gen/region_iterator.rb +1 -1
  265. data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
  266. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
  267. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
  268. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
  269. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
  270. data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
  271. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
  272. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
  273. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
  274. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -84
  275. data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
  276. data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
  277. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
  278. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
  279. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -282
  280. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
  281. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -43
  282. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
  283. data/lib/wx/doc/gen/sash_event.rb +1 -1
  284. data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
  285. data/lib/wx/doc/gen/sash_window.rb +1 -1
  286. data/lib/wx/doc/gen/scaled_dc.rb +1 -1
  287. data/lib/wx/doc/gen/screen_dc.rb +1 -1
  288. data/lib/wx/doc/gen/scroll_bar.rb +1 -1
  289. data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
  290. data/lib/wx/doc/gen/scrolled_control.rb +1 -1
  291. data/lib/wx/doc/gen/scrolled_window.rb +1 -1
  292. data/lib/wx/doc/gen/search_ctrl.rb +1 -1
  293. data/lib/wx/doc/gen/simplebook.rb +1 -1
  294. data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
  295. data/lib/wx/doc/gen/sizer.rb +1 -1
  296. data/lib/wx/doc/gen/sizer_item.rb +1 -1
  297. data/lib/wx/doc/gen/slider.rb +1 -1
  298. data/lib/wx/doc/gen/spin_button.rb +1 -1
  299. data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
  300. data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
  301. data/lib/wx/doc/gen/spin_double_event.rb +1 -1
  302. data/lib/wx/doc/gen/spin_event.rb +1 -1
  303. data/lib/wx/doc/gen/splash_screen.rb +1 -1
  304. data/lib/wx/doc/gen/splitter_event.rb +1 -1
  305. data/lib/wx/doc/gen/splitter_window.rb +1 -1
  306. data/lib/wx/doc/gen/static_bitmap.rb +1 -1
  307. data/lib/wx/doc/gen/static_box.rb +1 -1
  308. data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
  309. data/lib/wx/doc/gen/static_line.rb +1 -1
  310. data/lib/wx/doc/gen/static_text.rb +1 -1
  311. data/lib/wx/doc/gen/status_bar.rb +1 -1
  312. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4198
  313. data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7507
  314. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
  315. data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
  316. data/lib/wx/doc/gen/system_options.rb +1 -1
  317. data/lib/wx/doc/gen/system_settings.rb +1 -1
  318. data/lib/wx/doc/gen/task_bar_button.rb +1 -1
  319. data/lib/wx/doc/gen/task_bar_icon.rb +1 -1
  320. data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
  321. data/lib/wx/doc/gen/text_attr.rb +1 -1
  322. data/lib/wx/doc/gen/text_ctrl.rb +1 -1
  323. data/lib/wx/doc/gen/text_entry.rb +1 -1
  324. data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
  325. data/lib/wx/doc/gen/text_validator.rb +1 -1
  326. data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
  327. data/lib/wx/doc/gen/timer.rb +1 -1
  328. data/lib/wx/doc/gen/timer_event.rb +1 -1
  329. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  330. data/lib/wx/doc/gen/toggle_button.rb +1 -1
  331. data/lib/wx/doc/gen/tool_bar.rb +1 -1
  332. data/lib/wx/doc/gen/tool_tip.rb +1 -1
  333. data/lib/wx/doc/gen/toolbook.rb +1 -1
  334. data/lib/wx/doc/gen/top_level_window.rb +1 -1
  335. data/lib/wx/doc/gen/tree_ctrl.rb +1 -1
  336. data/lib/wx/doc/gen/tree_event.rb +1 -1
  337. data/lib/wx/doc/gen/treebook.rb +1 -1
  338. data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
  339. data/lib/wx/doc/gen/utils.rb +1 -1
  340. data/lib/wx/doc/gen/v_list_box.rb +1 -1
  341. data/lib/wx/doc/gen/v_scrolled_window.rb +1 -1
  342. data/lib/wx/doc/gen/validator.rb +1 -1
  343. data/lib/wx/doc/gen/variant.rb +1 -1
  344. data/lib/wx/doc/gen/window.rb +1 -1
  345. data/lib/wx/doc/gen/window_dc.rb +1 -1
  346. data/lib/wx/doc/gen/window_disabler.rb +1 -1
  347. data/lib/wx/doc/gen/with_images.rb +1 -1
  348. data/lib/wx/doc/gen/wizard.rb +1 -1
  349. data/lib/wx/doc/gen/wizard_event.rb +1 -1
  350. data/lib/wx/doc/gen/wizard_page.rb +1 -1
  351. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  352. data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
  353. data/lib/wx/doc/gen/xml_node.rb +1 -1
  354. data/lib/wx/doc/gen/xml_resource.rb +1 -1
  355. data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
  356. data/lib/wx/version.rb +1 -1
  357. data/lib/wx/wxruby/base.rb +6 -4
  358. data/lib/wx/wxruby/cmd/sampler.rb +39 -29
  359. data/lib/wx/wxruby/cmd/setup.rb +122 -0
  360. data/lib/wx/wxruby/cmd/test.rb +56 -6
  361. data/lib/wxruby_aui.so +0 -0
  362. data/lib/wxruby_core.so +0 -0
  363. data/lib/wxruby_grid.so +0 -0
  364. data/lib/wxruby_html.so +0 -0
  365. data/lib/wxruby_pg.so +0 -0
  366. data/lib/wxruby_prt.so +0 -0
  367. data/lib/wxruby_rbn.so +0 -0
  368. data/lib/wxruby_rtc.so +0 -0
  369. data/lib/wxruby_stc.so +0 -0
  370. data/rakelib/install.rb +2 -0
  371. data/rakelib/lib/config/linux.rb +24 -2
  372. data/rakelib/lib/config/macosx.rb +16 -0
  373. data/rakelib/lib/config/mingw.rb +133 -9
  374. data/rakelib/lib/config/pkgman/arch.rb +53 -0
  375. data/rakelib/lib/config/pkgman/base.rb +169 -0
  376. data/rakelib/lib/config/pkgman/debian.rb +66 -0
  377. data/rakelib/lib/config/pkgman/macosx.rb +183 -0
  378. data/rakelib/lib/config/pkgman/rhel.rb +54 -0
  379. data/rakelib/lib/config/pkgman/suse.rb +54 -0
  380. data/rakelib/lib/config/unixish.rb +36 -19
  381. data/rakelib/lib/config.rb +254 -61
  382. data/rakelib/prepost.rake +9 -4
  383. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
  384. data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
  385. data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
  386. metadata +23 -4
@@ -6,529 +6,533 @@
6
6
 
7
7
  module Wx::RTC
8
8
 
9
- # Objects of this class can contain other objects.
10
- #
11
- # Category: Rich Text
12
- # @see Wx::RTC::RichTextObject
13
- # @see Wx::RTC::RichTextBuffer
14
- # @see Wx::RTC::RichTextCtrl
15
- #
16
- #
17
- #
18
- # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
19
- # @wxrb_require USE_RICHTEXT
20
- class RichTextCompositeObject < RichTextObject
21
-
22
- # @param parent [Wx::RTC::RichTextObject]
23
- # @return [Wx::RTC::RichTextCompositeObject]
24
- def initialize(parent=nil) end
25
-
26
- # Hit-testing: returns a flag indicating hit test details, plus information about position.
9
+ module Wx::RTC
10
+
11
+ # Objects of this class can contain other objects.
27
12
  #
28
- # contextObj is returned to specify what object position is relevant to, since otherwise there's an ambiguity. @ obj might not be a child of contextObj, since we may be referring to the container itself if we have no hit on a child - for example if we click outside an object.
29
- # The function puts the position in textPosition if one is found. pt is in logical units (a zero y position is at the beginning of the buffer).
30
- # One of the {Wx::RTC::RichTextHitTestFlags} values.
31
- # @param dc [Wx::DC]
32
- # @param context [Wx::RTC::RichTextDrawingContext]
33
- # @param pt [Array(Integer, Integer), Wx::Point]
34
- # @param textPosition [Integer]
35
- # @param flags [Integer]
36
- # @return [Array(Integer,Integer,Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
37
- def hit_test(dc, context, pt, textPosition, flags=0) end
38
-
39
- # Finds the absolute position and row height for the given character position.
40
- # @param dc [Wx::DC]
41
- # @param context [Wx::RTC::RichTextDrawingContext]
42
- # @param index [Integer]
43
- # @param pt [Array(Integer, Integer), Wx::Point]
44
- # @param height [int]
45
- # @param forceLineStart [Boolean]
46
- # @return [Boolean]
47
- def find_position(dc, context, index, pt, height, forceLineStart) end
48
-
49
- # Calculates the range of the object.
13
+ # Category: Rich Text
14
+ # @see Wx::RTC::RichTextObject
15
+ # @see Wx::RTC::RichTextBuffer
16
+ # @see Wx::RTC::RichTextCtrl
50
17
  #
51
- # By default, guess that the object is 1 unit long.
52
- # @param start [Integer]
53
- # @param end_ [Integer]
54
- # @return [Integer]
55
- def calculate_range(start, end_) end
56
-
57
- # Deletes the given range.
58
- # @param range [Range]
59
- # @return [Boolean]
60
- def delete_range(range) end
61
-
62
- # Returns any text in this object for the given range.
63
- # @param range [Range]
64
- # @return [String]
65
- def get_text_for_range(range) end
66
- alias_method :text_for_range, :get_text_for_range
67
-
68
- # Returns the object size for the given range.
69
18
  #
70
- # Returns false if the range is invalid for this object.
71
- # @param range [Range]
72
- # @param size [Array(Integer, Integer), Wx::Size]
73
- # @param descent [int]
74
- # @param dc [Wx::DC]
75
- # @param context [Wx::RTC::RichTextDrawingContext]
76
- # @param flags [Integer]
77
- # @param position [Array(Integer, Integer), Wx::Point]
78
- # @param parentSize [Array(Integer, Integer), Wx::Size]
79
- # @param partialExtents [Array,nil]
80
- # @return [Boolean]
81
- def get_range_size(range, size, descent, dc, context, flags, position=(Wx::Point.new(0, 0)), parentSize=Wx::DEFAULT_SIZE, partialExtents=nil) end
82
- alias_method :range_size, :get_range_size
83
-
84
- # Dump object data to the given output stream for debugging.
85
- # @param stream [Wx::TextOutputStream]
86
- # @return [void]
87
- def dump(stream) end
88
-
89
- # Invalidates the object at the given range.
90
19
  #
91
- # With no argument, invalidates the whole object.
92
- # @param invalidRange [Range]
93
- # @return [void]
94
- def invalidate(invalidRange=Wx::RICHTEXT_ALL) end
95
-
96
- # Returns the children.
97
- # @return [Array<Wx::RTC::RichTextObject>]
98
- def get_children; end
99
- alias_method :children, :get_children
100
-
101
- # Returns the number of children.
102
- # @return [Integer]
103
- def get_child_count; end
104
- alias_method :child_count, :get_child_count
105
-
106
- # Returns the nth child.
107
- # @param n [Integer]
108
- # @return [Wx::RTC::RichTextObject]
109
- def get_child(n) end
110
- alias_method :child, :get_child
111
-
112
- # Returns true if this object is composite.
113
- # @return [Boolean]
114
- def is_composite; end
115
- alias_method :composite?, :is_composite
116
-
117
- # Returns true if no user editing can be done inside the object.
20
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
21
+ # @wxrb_require USE_RICHTEXT
22
+ class RichTextCompositeObject < RichTextObject
23
+
24
+ # @param parent [Wx::RTC::RichTextObject]
25
+ # @return [Wx::RTC::RichTextCompositeObject]
26
+ def initialize(parent=nil) end
27
+
28
+ # Hit-testing: returns a flag indicating hit test details, plus information about position.
29
+ #
30
+ # contextObj is returned to specify what object position is relevant to, since otherwise there's an ambiguity. @ obj might not be a child of contextObj, since we may be referring to the container itself if we have no hit on a child - for example if we click outside an object.
31
+ # The function puts the position in textPosition if one is found. pt is in logical units (a zero y position is at the beginning of the buffer).
32
+ # One of the {Wx::RTC::RichTextHitTestFlags} values.
33
+ # @param dc [Wx::DC]
34
+ # @param context [Wx::RTC::RichTextDrawingContext]
35
+ # @param pt [Array(Integer, Integer), Wx::Point]
36
+ # @param textPosition [Integer]
37
+ # @param flags [Integer]
38
+ # @return [Array(Integer,Integer,Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
39
+ def hit_test(dc, context, pt, textPosition, flags=0) end
40
+
41
+ # Finds the absolute position and row height for the given character position.
42
+ # @param dc [Wx::DC]
43
+ # @param context [Wx::RTC::RichTextDrawingContext]
44
+ # @param index [Integer]
45
+ # @param pt [Array(Integer, Integer), Wx::Point]
46
+ # @param height [int]
47
+ # @param forceLineStart [Boolean]
48
+ # @return [Boolean]
49
+ def find_position(dc, context, index, pt, height, forceLineStart) end
50
+
51
+ # Calculates the range of the object.
52
+ #
53
+ # By default, guess that the object is 1 unit long.
54
+ # @param start [Integer]
55
+ # @param end_ [Integer]
56
+ # @return [Integer]
57
+ def calculate_range(start, end_) end
58
+
59
+ # Deletes the given range.
60
+ # @param range [Range]
61
+ # @return [Boolean]
62
+ def delete_range(range) end
63
+
64
+ # Returns any text in this object for the given range.
65
+ # @param range [Range]
66
+ # @return [String]
67
+ def get_text_for_range(range) end
68
+ alias_method :text_for_range, :get_text_for_range
69
+
70
+ # Returns the object size for the given range.
71
+ #
72
+ # Returns false if the range is invalid for this object.
73
+ # @param range [Range]
74
+ # @param size [Array(Integer, Integer), Wx::Size]
75
+ # @param descent [int]
76
+ # @param dc [Wx::DC]
77
+ # @param context [Wx::RTC::RichTextDrawingContext]
78
+ # @param flags [Integer]
79
+ # @param position [Array(Integer, Integer), Wx::Point]
80
+ # @param parentSize [Array(Integer, Integer), Wx::Size]
81
+ # @param partialExtents [Array,nil]
82
+ # @return [Boolean]
83
+ def get_range_size(range, size, descent, dc, context, flags, position=(Wx::Point.new(0, 0)), parentSize=Wx::DEFAULT_SIZE, partialExtents=nil) end
84
+ alias_method :range_size, :get_range_size
85
+
86
+ # Dump object data to the given output stream for debugging.
87
+ # @param stream [Wx::TextOutputStream]
88
+ # @return [void]
89
+ def dump(stream) end
90
+
91
+ # Invalidates the object at the given range.
92
+ #
93
+ # With no argument, invalidates the whole object.
94
+ # @param invalidRange [Range]
95
+ # @return [void]
96
+ def invalidate(invalidRange=Wx::RICHTEXT_ALL) end
97
+
98
+ # Returns the children.
99
+ # @return [Array<Wx::RTC::RichTextObject>]
100
+ def get_children; end
101
+ alias_method :children, :get_children
102
+
103
+ # Returns the number of children.
104
+ # @return [Integer]
105
+ def get_child_count; end
106
+ alias_method :child_count, :get_child_count
107
+
108
+ # Returns the nth child.
109
+ # @param n [Integer]
110
+ # @return [Wx::RTC::RichTextObject]
111
+ def get_child(n) end
112
+ alias_method :child, :get_child
113
+
114
+ # Returns true if this object is composite.
115
+ # @return [Boolean]
116
+ def is_composite; end
117
+ alias_method :composite?, :is_composite
118
+
119
+ # Returns true if no user editing can be done inside the object.
120
+ #
121
+ # This returns true for simple objects, false for most composite objects, but true for fields, which if composite, should not be user-edited.
122
+ # @return [Boolean]
123
+ def is_atomic; end
124
+ alias_method :atomic?, :is_atomic
125
+
126
+ # Returns true if the buffer is empty.
127
+ # @return [Boolean]
128
+ def is_empty; end
129
+ alias_method :empty?, :is_empty
130
+
131
+ # Returns the child object at the given character position.
132
+ # @param pos [Integer]
133
+ # @return [Wx::RTC::RichTextObject]
134
+ def get_child_at_position(pos) end
135
+ alias_method :child_at_position, :get_child_at_position
136
+
137
+ # @param obj [Wx::RTC::RichTextCompositeObject]
138
+ # @return [void]
139
+ def copy(obj) end
140
+
141
+ # Appends a child, returning the position.
142
+ # @param child [Wx::RTC::RichTextObject]
143
+ # @return [Integer]
144
+ def append_child(child) end
145
+
146
+ # Inserts the child in front of the given object, or at the beginning.
147
+ # @param child [Wx::RTC::RichTextObject]
148
+ # @param inFrontOf [Wx::RTC::RichTextObject]
149
+ # @return [Boolean]
150
+ def insert_child(child, inFrontOf) end
151
+
152
+ # Removes and optionally deletes the specified child.
153
+ # @param child [Wx::RTC::RichTextObject]
154
+ # @param deleteChild [Boolean]
155
+ # @return [Boolean]
156
+ def remove_child(child, deleteChild=false) end
157
+
158
+ # Deletes all the children.
159
+ # @return [Boolean]
160
+ def delete_children; end
161
+
162
+ # Recursively merges all pieces that can be merged.
163
+ # @param context [Wx::RTC::RichTextDrawingContext]
164
+ # @param range [Range]
165
+ # @return [Boolean]
166
+ def defragment(context, range=Wx::RICHTEXT_ALL) end
167
+
168
+ # Moves the object recursively, by adding the offset from old to new.
169
+ # @param pt [Array(Integer, Integer), Wx::Point]
170
+ # @return [void]
171
+ def move(pt) end
172
+
173
+ end # RichTextCompositeObject
174
+
175
+ # This object represents a single paragraph containing various objects such as text content, images, and further paragraph layout objects.
118
176
  #
119
- # This returns true for simple objects, false for most composite objects, but true for fields, which if composite, should not be user-edited.
120
- # @return [Boolean]
121
- def is_atomic; end
122
- alias_method :atomic?, :is_atomic
123
-
124
- # Returns true if the buffer is empty.
125
- # @return [Boolean]
126
- def is_empty; end
127
- alias_method :empty?, :is_empty
128
-
129
- # Returns the child object at the given character position.
130
- # @param pos [Integer]
131
- # @return [Wx::RTC::RichTextObject]
132
- def get_child_at_position(pos) end
133
- alias_method :child_at_position, :get_child_at_position
134
-
135
- # @param obj [Wx::RTC::RichTextCompositeObject]
136
- # @return [void]
137
- def copy(obj) end
138
-
139
- # Appends a child, returning the position.
140
- # @param child [Wx::RTC::RichTextObject]
141
- # @return [Integer]
142
- def append_child(child) end
143
-
144
- # Inserts the child in front of the given object, or at the beginning.
145
- # @param child [Wx::RTC::RichTextObject]
146
- # @param inFrontOf [Wx::RTC::RichTextObject]
147
- # @return [Boolean]
148
- def insert_child(child, inFrontOf) end
149
-
150
- # Removes and optionally deletes the specified child.
151
- # @param child [Wx::RTC::RichTextObject]
152
- # @param deleteChild [Boolean]
153
- # @return [Boolean]
154
- def remove_child(child, deleteChild=false) end
155
-
156
- # Deletes all the children.
157
- # @return [Boolean]
158
- def delete_children; end
159
-
160
- # Recursively merges all pieces that can be merged.
161
- # @param context [Wx::RTC::RichTextDrawingContext]
162
- # @param range [Range]
163
- # @return [Boolean]
164
- def defragment(context, range=Wx::RICHTEXT_ALL) end
165
-
166
- # Moves the object recursively, by adding the offset from old to new.
167
- # @param pt [Array(Integer, Integer), Wx::Point]
168
- # @return [void]
169
- def move(pt) end
170
-
171
- end # RichTextCompositeObject
172
-
173
- # This object represents a single paragraph containing various objects such as text content, images, and further paragraph layout objects.
174
- #
175
- # Category: Rich Text
176
- # @see Wx::RTC::RichTextBuffer
177
- # @see Wx::RTC::RichTextCtrl
178
- #
179
- #
180
- #
181
- # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
182
- # @wxrb_require USE_RICHTEXT
183
- class RichTextParagraph < RichTextCompositeObject
184
-
185
- # @overload initialize(parent=nil, style=nil)
186
- # Constructor taking a parent and style.
187
- # @param parent [Wx::RTC::RichTextObject]
188
- # @param style [Wx::RTC::RichTextAttr]
189
- # @return [Wx::RTC::RichTextParagraph]
190
- # @overload initialize(text, parent=nil, paraStyle=nil, charStyle=nil)
191
- # Constructor taking a text string, a parent and paragraph and character attributes.
192
- # @param text [String]
193
- # @param parent [Wx::RTC::RichTextObject]
194
- # @param paraStyle [Wx::RTC::RichTextAttr]
195
- # @param charStyle [Wx::RTC::RichTextAttr]
196
- # @return [Wx::RTC::RichTextParagraph]
197
- # @overload initialize(obj)
198
- # @param obj [Wx::RTC::RichTextParagraph]
199
- # @return [Wx::RTC::RichTextParagraph]
200
- def initialize(*args) end
201
-
202
- # @return [void]
203
- def init; end
204
-
205
- # Draw the item, within the given range.
177
+ # Category: Rich Text
178
+ # @see Wx::RTC::RichTextBuffer
179
+ # @see Wx::RTC::RichTextCtrl
206
180
  #
207
- # Some objects may ignore the range (for example paragraphs) while others must obey it (lines, to implement wrapping)
208
- # @param dc [Wx::DC]
209
- # @param context [Wx::RTC::RichTextDrawingContext]
210
- # @param range [Range]
211
- # @param selection [Wx::RTC::RichTextSelection]
212
- # @param rect [Wx::Rect]
213
- # @param descent [Integer]
214
- # @param style [Integer]
215
- # @return [Boolean]
216
- def draw(dc, context, range, selection, rect, descent, style) end
217
-
218
- # Lay the item out at the specified position with the given size constraint.
219
181
  #
220
- # Layout must set the cached size. rect is the available space for the object, and parentRect is the container that is used to determine a relative size or position (for example if a text box must be 50% of the parent text box).
221
- # @param dc [Wx::DC]
222
- # @param context [Wx::RTC::RichTextDrawingContext]
223
- # @param rect [Wx::Rect]
224
- # @param parentRect [Wx::Rect]
225
- # @param style [Integer]
226
- # @return [Boolean]
227
- def layout(dc, context, rect, parentRect, style) end
228
-
229
- # Returns the object size for the given range.
230
182
  #
231
- # Returns false if the range is invalid for this object.
232
- # @param range [Range]
233
- # @param size [Array(Integer, Integer), Wx::Size]
234
- # @param descent [int]
235
- # @param dc [Wx::DC]
236
- # @param context [Wx::RTC::RichTextDrawingContext]
237
- # @param flags [Integer]
238
- # @param position [Array(Integer, Integer), Wx::Point]
239
- # @param parentSize [Array(Integer, Integer), Wx::Size]
240
- # @param partialExtents [Array,nil]
241
- # @return [Boolean]
242
- def get_range_size(range, size, descent, dc, context, flags, position=(Wx::Point.new(0, 0)), parentSize=Wx::DEFAULT_SIZE, partialExtents=nil) end
243
- alias_method :range_size, :get_range_size
244
-
245
- # Finds the absolute position and row height for the given character position.
246
- # @param dc [Wx::DC]
247
- # @param context [Wx::RTC::RichTextDrawingContext]
248
- # @param index [Integer]
249
- # @param pt [Array(Integer, Integer), Wx::Point]
250
- # @param height [int]
251
- # @param forceLineStart [Boolean]
252
- # @return [Boolean]
253
- def find_position(dc, context, index, pt, height, forceLineStart) end
254
-
255
- # Hit-testing: returns a flag indicating hit test details, plus information about position.
183
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
184
+ # @wxrb_require USE_RICHTEXT
185
+ class RichTextParagraph < RichTextCompositeObject
186
+
187
+ # @overload initialize(parent=nil, style=nil)
188
+ # Constructor taking a parent and style.
189
+ # @param parent [Wx::RTC::RichTextObject]
190
+ # @param style [Wx::RTC::RichTextAttr]
191
+ # @return [Wx::RTC::RichTextParagraph]
192
+ # @overload initialize(text, parent=nil, paraStyle=nil, charStyle=nil)
193
+ # Constructor taking a text string, a parent and paragraph and character attributes.
194
+ # @param text [String]
195
+ # @param parent [Wx::RTC::RichTextObject]
196
+ # @param paraStyle [Wx::RTC::RichTextAttr]
197
+ # @param charStyle [Wx::RTC::RichTextAttr]
198
+ # @return [Wx::RTC::RichTextParagraph]
199
+ # @overload initialize(obj)
200
+ # @param obj [Wx::RTC::RichTextParagraph]
201
+ # @return [Wx::RTC::RichTextParagraph]
202
+ def initialize(*args) end
203
+
204
+ # @return [void]
205
+ def init; end
206
+
207
+ # Draw the item, within the given range.
208
+ #
209
+ # Some objects may ignore the range (for example paragraphs) while others must obey it (lines, to implement wrapping)
210
+ # @param dc [Wx::DC]
211
+ # @param context [Wx::RTC::RichTextDrawingContext]
212
+ # @param range [Range]
213
+ # @param selection [Wx::RTC::RichTextSelection]
214
+ # @param rect [Wx::Rect]
215
+ # @param descent [Integer]
216
+ # @param style [Integer]
217
+ # @return [Boolean]
218
+ def draw(dc, context, range, selection, rect, descent, style) end
219
+
220
+ # Lay the item out at the specified position with the given size constraint.
221
+ #
222
+ # Layout must set the cached size. rect is the available space for the object, and parentRect is the container that is used to determine a relative size or position (for example if a text box must be 50% of the parent text box).
223
+ # @param dc [Wx::DC]
224
+ # @param context [Wx::RTC::RichTextDrawingContext]
225
+ # @param rect [Wx::Rect]
226
+ # @param parentRect [Wx::Rect]
227
+ # @param style [Integer]
228
+ # @return [Boolean]
229
+ def layout(dc, context, rect, parentRect, style) end
230
+
231
+ # Returns the object size for the given range.
232
+ #
233
+ # Returns false if the range is invalid for this object.
234
+ # @param range [Range]
235
+ # @param size [Array(Integer, Integer), Wx::Size]
236
+ # @param descent [int]
237
+ # @param dc [Wx::DC]
238
+ # @param context [Wx::RTC::RichTextDrawingContext]
239
+ # @param flags [Integer]
240
+ # @param position [Array(Integer, Integer), Wx::Point]
241
+ # @param parentSize [Array(Integer, Integer), Wx::Size]
242
+ # @param partialExtents [Array,nil]
243
+ # @return [Boolean]
244
+ def get_range_size(range, size, descent, dc, context, flags, position=(Wx::Point.new(0, 0)), parentSize=Wx::DEFAULT_SIZE, partialExtents=nil) end
245
+ alias_method :range_size, :get_range_size
246
+
247
+ # Finds the absolute position and row height for the given character position.
248
+ # @param dc [Wx::DC]
249
+ # @param context [Wx::RTC::RichTextDrawingContext]
250
+ # @param index [Integer]
251
+ # @param pt [Array(Integer, Integer), Wx::Point]
252
+ # @param height [int]
253
+ # @param forceLineStart [Boolean]
254
+ # @return [Boolean]
255
+ def find_position(dc, context, index, pt, height, forceLineStart) end
256
+
257
+ # Hit-testing: returns a flag indicating hit test details, plus information about position.
258
+ #
259
+ # contextObj is returned to specify what object position is relevant to, since otherwise there's an ambiguity. @ obj might not be a child of contextObj, since we may be referring to the container itself if we have no hit on a child - for example if we click outside an object.
260
+ # The function puts the position in textPosition if one is found. pt is in logical units (a zero y position is at the beginning of the buffer).
261
+ # One of the {Wx::RTC::RichTextHitTestFlags} values.
262
+ # @param dc [Wx::DC]
263
+ # @param context [Wx::RTC::RichTextDrawingContext]
264
+ # @param pt [Array(Integer, Integer), Wx::Point]
265
+ # @param textPosition [Integer]
266
+ # @param flags [Integer]
267
+ # @return [Array(Integer,Integer,Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
268
+ def hit_test(dc, context, pt, textPosition, flags=0) end
269
+
270
+ # Calculates the range of the object.
271
+ #
272
+ # By default, guess that the object is 1 unit long.
273
+ # @param start [Integer]
274
+ # @param end_ [Integer]
275
+ # @return [Integer]
276
+ def calculate_range(start, end_) end
277
+
278
+ # Returns the XML node name of this object.
279
+ #
280
+ # This must be overridden for {Wx::XmlNode}-base XML export to work.
281
+ # @return [String]
282
+ def get_xml_node_name; end
283
+ alias_method :xml_node_name, :get_xml_node_name
284
+
285
+ # Returns the cached lines.
286
+ # @return [Array<Wx::RTC::RichTextLine]
287
+ def get_lines; end
288
+ alias_method :lines, :get_lines
289
+
290
+ # Copies the object.
291
+ # @param obj [Wx::RTC::RichTextParagraph]
292
+ # @return [void]
293
+ def copy(obj) end
294
+
295
+ # Clones the object.
296
+ # @return [Wx::RTC::RichTextObject]
297
+ def clone; end
298
+
299
+ # Clears the cached lines.
300
+ # @return [void]
301
+ def clear_lines; end
302
+
303
+ # Applies paragraph styles such as centering to the wrapped lines.
304
+ # @param line [Wx::RTC::RichTextLine]
305
+ # @param attr [Wx::RTC::RichTextAttr]
306
+ # @param rect [Wx::Rect]
307
+ # @param dc [Wx::DC]
308
+ # @return [void]
309
+ def apply_paragraph_style(line, attr, rect, dc) end
310
+
311
+ # Inserts text at the given position.
312
+ # @param pos [Integer]
313
+ # @param text [String]
314
+ # @return [Boolean]
315
+ def insert_text(pos, text) end
316
+
317
+ # Splits an object at this position if necessary, and returns the previous object, or NULL if inserting at the beginning.
318
+ # @param pos [Integer]
319
+ # @return [Array(Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
320
+ def split_at(pos) end
321
+
322
+ # Moves content to a list from this point.
323
+ # @param obj [Wx::RTC::RichTextObject]
324
+ # @param list [Array<Wx::RTC::RichTextObject>]
325
+ # @return [void]
326
+ def move_to_list(obj, list) end
327
+
328
+ # Adds content back from a list.
329
+ # @param list [Array<Wx::RTC::RichTextObject>]
330
+ # @return [void]
331
+ def move_from_list(list) end
332
+
333
+ # Returns the plain text searching from the start or end of the range.
334
+ #
335
+ # The resulting string may be shorter than the range given.
336
+ # @param text [String]
337
+ # @param range [Range]
338
+ # @param fromStart [Boolean]
339
+ # @return [Boolean]
340
+ def get_contiguous_plain_text(text, range, fromStart=true) end
341
+ alias_method :contiguous_plain_text, :get_contiguous_plain_text
342
+
343
+ # Finds a suitable wrap position.
344
+ #
345
+ # wrapPosition is the last position in the line to the left of the split.
346
+ # @param range [Range]
347
+ # @param dc [Wx::DC]
348
+ # @param context [Wx::RTC::RichTextDrawingContext]
349
+ # @param availableSpace [Integer]
350
+ # @param wrapPosition [Integer]
351
+ # @param partialExtents [Array,nil]
352
+ # @return [Array(Boolean,Integer)]
353
+ def find_wrap_position(range, dc, context, availableSpace, wrapPosition, partialExtents) end
354
+
355
+ # Finds the object at the given position.
356
+ # @param position [Integer]
357
+ # @return [Wx::RTC::RichTextObject]
358
+ def find_object_at_position(position) end
359
+
360
+ # Returns the bullet text for this paragraph.
361
+ # @return [String]
362
+ def get_bullet_text; end
363
+ alias_method :bullet_text, :get_bullet_text
364
+
365
+ # Allocates or reuses a line object.
366
+ # @param pos [Integer]
367
+ # @return [Wx::RTC::RichTextLine]
368
+ def allocate_line(pos) end
369
+
370
+ # Clears remaining unused line objects, if any.
371
+ # @param lineCount [Integer]
372
+ # @return [Boolean]
373
+ def clear_unused_lines(lineCount) end
374
+
375
+ # @overload get_combined_attributes(contentStyle, includingBoxAttr=false)
376
+ # Returns combined attributes of the base style, paragraph style and character style.
377
+ #
378
+ # We use this to dynamically retrieve the actual style.
379
+ # @param contentStyle [Wx::RTC::RichTextAttr]
380
+ # @param includingBoxAttr [Boolean]
381
+ # @return [Wx::RTC::RichTextAttr]
382
+ # @overload get_combined_attributes(includingBoxAttr=false)
383
+ # Returns the combined attributes of the base style and paragraph style.
384
+ # @param includingBoxAttr [Boolean]
385
+ # @return [Wx::RTC::RichTextAttr]
386
+ def get_combined_attributes(*args) end
387
+ alias_method :combined_attributes, :get_combined_attributes
388
+
389
+ # Returns the first position from pos that has a line break character.
390
+ # @param pos [Integer]
391
+ # @return [Integer]
392
+ def get_first_line_break_position(pos) end
393
+ alias_method :first_line_break_position, :get_first_line_break_position
394
+
395
+ # Lays out the floating objects.
396
+ # @param dc [Wx::DC]
397
+ # @param context [Wx::RTC::RichTextDrawingContext]
398
+ # @param rect [Wx::Rect]
399
+ # @param parentRect [Wx::Rect]
400
+ # @param style [Integer]
401
+ # @param floatCollector [Wx::RTC::RichTextFloatCollector]
402
+ # @return [void]
403
+ def layout_float(dc, context, rect, parentRect, style, floatCollector) end
404
+
405
+ # Whether the paragraph is impacted by floating objects from above.
406
+ # @return [Integer]
407
+ def get_impacted_by_floating_objects; end
408
+ alias_method :impacted_by_floating_objects, :get_impacted_by_floating_objects
409
+
410
+ # Sets whether the paragraph is impacted by floating objects from above.
411
+ # @param i [Integer]
412
+ # @return [void]
413
+ def set_impacted_by_floating_objects(i) end
414
+ alias_method :impacted_by_floating_objects=, :set_impacted_by_floating_objects
415
+
416
+ # Creates a default tabstop array.
417
+ # @return [void]
418
+ def self.init_default_tabs; end
419
+
420
+ # Clears the default tabstop array.
421
+ # @return [void]
422
+ def self.clear_default_tabs; end
423
+
424
+ # Returns the default tabstop array.
425
+ # @return [Wx::ArrayInt]
426
+ def self.get_default_tabs; end
427
+
428
+ end # RichTextParagraph
429
+
430
+ # This object represents a line in a paragraph, and stores offsets from the start of the paragraph representing the start and end positions of the line.
256
431
  #
257
- # contextObj is returned to specify what object position is relevant to, since otherwise there's an ambiguity. @ obj might not be a child of contextObj, since we may be referring to the container itself if we have no hit on a child - for example if we click outside an object.
258
- # The function puts the position in textPosition if one is found. pt is in logical units (a zero y position is at the beginning of the buffer).
259
- # One of the {Wx::RTC::RichTextHitTestFlags} values.
260
- # @param dc [Wx::DC]
261
- # @param context [Wx::RTC::RichTextDrawingContext]
262
- # @param pt [Array(Integer, Integer), Wx::Point]
263
- # @param textPosition [Integer]
264
- # @param flags [Integer]
265
- # @return [Array(Integer,Integer,Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
266
- def hit_test(dc, context, pt, textPosition, flags=0) end
267
-
268
- # Calculates the range of the object.
432
+ # Category: Rich Text
433
+ # @see Wx::RTC::RichTextBuffer
434
+ # @see Wx::RTC::RichTextCtrl
269
435
  #
270
- # By default, guess that the object is 1 unit long.
271
- # @param start [Integer]
272
- # @param end_ [Integer]
273
- # @return [Integer]
274
- def calculate_range(start, end_) end
275
-
276
- # Returns the XML node name of this object.
277
436
  #
278
- # This must be overridden for {Wx::XmlNode}-base XML export to work.
279
- # @return [String]
280
- def get_xml_node_name; end
281
- alias_method :xml_node_name, :get_xml_node_name
282
-
283
- # Returns the cached lines.
284
- # @return [Array<Wx::RTC::RichTextLine]
285
- def get_lines; end
286
- alias_method :lines, :get_lines
287
-
288
- # Copies the object.
289
- # @param obj [Wx::RTC::RichTextParagraph]
290
- # @return [void]
291
- def copy(obj) end
292
-
293
- # Clones the object.
294
- # @return [Wx::RTC::RichTextObject]
295
- def clone; end
296
-
297
- # Clears the cached lines.
298
- # @return [void]
299
- def clear_lines; end
300
-
301
- # Applies paragraph styles such as centering to the wrapped lines.
302
- # @param line [Wx::RTC::RichTextLine]
303
- # @param attr [Wx::RTC::RichTextAttr]
304
- # @param rect [Wx::Rect]
305
- # @param dc [Wx::DC]
306
- # @return [void]
307
- def apply_paragraph_style(line, attr, rect, dc) end
308
-
309
- # Inserts text at the given position.
310
- # @param pos [Integer]
311
- # @param text [String]
312
- # @return [Boolean]
313
- def insert_text(pos, text) end
314
-
315
- # Splits an object at this position if necessary, and returns the previous object, or NULL if inserting at the beginning.
316
- # @param pos [Integer]
317
- # @return [Array(Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
318
- def split_at(pos) end
319
-
320
- # Moves content to a list from this point.
321
- # @param obj [Wx::RTC::RichTextObject]
322
- # @param list [Array<Wx::RTC::RichTextObject>]
323
- # @return [void]
324
- def move_to_list(obj, list) end
325
-
326
- # Adds content back from a list.
327
- # @param list [Array<Wx::RTC::RichTextObject>]
328
- # @return [void]
329
- def move_from_list(list) end
330
-
331
- # Returns the plain text searching from the start or end of the range.
332
437
  #
333
- # The resulting string may be shorter than the range given.
334
- # @param text [String]
335
- # @param range [Range]
336
- # @param fromStart [Boolean]
337
- # @return [Boolean]
338
- def get_contiguous_plain_text(text, range, fromStart=true) end
339
- alias_method :contiguous_plain_text, :get_contiguous_plain_text
340
-
341
- # Finds a suitable wrap position.
342
- #
343
- # wrapPosition is the last position in the line to the left of the split.
344
- # @param range [Range]
345
- # @param dc [Wx::DC]
346
- # @param context [Wx::RTC::RichTextDrawingContext]
347
- # @param availableSpace [Integer]
348
- # @param wrapPosition [Integer]
349
- # @param partialExtents [Array,nil]
350
- # @return [Array(Boolean,Integer)]
351
- def find_wrap_position(range, dc, context, availableSpace, wrapPosition, partialExtents) end
352
-
353
- # Finds the object at the given position.
354
- # @param position [Integer]
355
- # @return [Wx::RTC::RichTextObject]
356
- def find_object_at_position(position) end
357
-
358
- # Returns the bullet text for this paragraph.
359
- # @return [String]
360
- def get_bullet_text; end
361
- alias_method :bullet_text, :get_bullet_text
362
-
363
- # Allocates or reuses a line object.
364
- # @param pos [Integer]
365
- # @return [Wx::RTC::RichTextLine]
366
- def allocate_line(pos) end
367
-
368
- # Clears remaining unused line objects, if any.
369
- # @param lineCount [Integer]
370
- # @return [Boolean]
371
- def clear_unused_lines(lineCount) end
372
-
373
- # @overload get_combined_attributes(contentStyle, includingBoxAttr=false)
374
- # Returns combined attributes of the base style, paragraph style and character style.
375
- #
376
- # We use this to dynamically retrieve the actual style.
377
- # @param contentStyle [Wx::RTC::RichTextAttr]
378
- # @param includingBoxAttr [Boolean]
379
- # @return [Wx::RTC::RichTextAttr]
380
- # @overload get_combined_attributes(includingBoxAttr=false)
381
- # Returns the combined attributes of the base style and paragraph style.
382
- # @param includingBoxAttr [Boolean]
383
- # @return [Wx::RTC::RichTextAttr]
384
- def get_combined_attributes(*args) end
385
- alias_method :combined_attributes, :get_combined_attributes
386
-
387
- # Returns the first position from pos that has a line break character.
388
- # @param pos [Integer]
389
- # @return [Integer]
390
- def get_first_line_break_position(pos) end
391
- alias_method :first_line_break_position, :get_first_line_break_position
392
-
393
- # Lays out the floating objects.
394
- # @param dc [Wx::DC]
395
- # @param context [Wx::RTC::RichTextDrawingContext]
396
- # @param rect [Wx::Rect]
397
- # @param parentRect [Wx::Rect]
398
- # @param style [Integer]
399
- # @param floatCollector [Wx::RTC::RichTextFloatCollector]
400
- # @return [void]
401
- def layout_float(dc, context, rect, parentRect, style, floatCollector) end
402
-
403
- # Whether the paragraph is impacted by floating objects from above.
404
- # @return [Integer]
405
- def get_impacted_by_floating_objects; end
406
- alias_method :impacted_by_floating_objects, :get_impacted_by_floating_objects
407
-
408
- # Sets whether the paragraph is impacted by floating objects from above.
409
- # @param i [Integer]
410
- # @return [void]
411
- def set_impacted_by_floating_objects(i) end
412
- alias_method :impacted_by_floating_objects=, :set_impacted_by_floating_objects
413
-
414
- # Creates a default tabstop array.
415
- # @return [void]
416
- def self.init_default_tabs; end
417
-
418
- # Clears the default tabstop array.
419
- # @return [void]
420
- def self.clear_default_tabs; end
438
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
439
+ # @wxrb_require USE_RICHTEXT
440
+ class RichTextLine < ::Object
441
+
442
+ # @overload initialize(parent)
443
+ # @param parent [Wx::RTC::RichTextParagraph]
444
+ # @return [Wx::RTC::RichTextLine]
445
+ # @overload initialize(obj)
446
+ # @param obj [Wx::RTC::RichTextLine]
447
+ # @return [Wx::RTC::RichTextLine]
448
+ def initialize(*args) end
449
+
450
+ # @overload set_range(range)
451
+ # Sets the range associated with this line.
452
+ # @param range [Range]
453
+ # @return [void]
454
+ # @overload set_range(from, to)
455
+ # Sets the range associated with this line.
456
+ # @param from [Integer]
457
+ # @param to [Integer]
458
+ # @return [void]
459
+ def set_range(*args) end
460
+ alias_method :range=, :set_range
461
+
462
+ # Returns the parent paragraph.
463
+ # @return [Wx::RTC::RichTextParagraph]
464
+ def get_parent; end
465
+ alias_method :parent, :get_parent
466
+
467
+ # Returns the range.
468
+ # @return [Wx::RichTextRange]
469
+ def get_range; end
470
+ alias_method :range, :get_range
471
+
472
+ # Returns the absolute range.
473
+ # @return [Range]
474
+ def get_absolute_range; end
475
+ alias_method :absolute_range, :get_absolute_range
476
+
477
+ # Returns the line size as calculated by Layout.
478
+ # @return [Wx::Size]
479
+ def get_size; end
480
+ alias_method :size, :get_size
481
+
482
+ # Sets the line size as calculated by Layout.
483
+ # @param sz [Array(Integer, Integer), Wx::Size]
484
+ # @return [void]
485
+ def set_size(sz) end
486
+ alias_method :size=, :set_size
487
+
488
+ # Returns the object position relative to the parent.
489
+ # @return [Wx::Point]
490
+ def get_position; end
491
+ alias_method :position, :get_position
492
+
493
+ # Sets the object position relative to the parent.
494
+ # @param pos [Array(Integer, Integer), Wx::Point]
495
+ # @return [void]
496
+ def set_position(pos) end
497
+ alias_method :position=, :set_position
498
+
499
+ # Returns the absolute object position.
500
+ # @return [Wx::Point]
501
+ def get_absolute_position; end
502
+ alias_method :absolute_position, :get_absolute_position
503
+
504
+ # Returns the rectangle enclosing the line.
505
+ # @return [Wx::Rect]
506
+ def get_rect; end
507
+ alias_method :rect, :get_rect
508
+
509
+ # Sets the stored descent.
510
+ # @param descent [Integer]
511
+ # @return [void]
512
+ def set_descent(descent) end
513
+ alias_method :descent=, :set_descent
514
+
515
+ # Returns the stored descent.
516
+ # @return [Integer]
517
+ def get_descent; end
518
+ alias_method :descent, :get_descent
519
+
520
+ # Initialises the object.
521
+ # @param parent [Wx::RTC::RichTextParagraph]
522
+ # @return [void]
523
+ def init(parent) end
524
+
525
+ # Copies from obj.
526
+ # @param obj [Wx::RTC::RichTextLine]
527
+ # @return [void]
528
+ def copy(obj) end
529
+
530
+ # @return [Wx::RTC::RichTextLine]
531
+ def clone; end
532
+
533
+ end # RichTextLine
421
534
 
422
- # Returns the default tabstop array.
423
- # @return [Wx::ArrayInt]
424
- def self.get_default_tabs; end
425
-
426
- end # RichTextParagraph
427
-
428
- # This object represents a line in a paragraph, and stores offsets from the start of the paragraph representing the start and end positions of the line.
429
- #
430
- # Category: Rich Text
431
- # @see Wx::RTC::RichTextBuffer
432
- # @see Wx::RTC::RichTextCtrl
433
- #
434
- #
435
- #
436
- # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
437
- # @wxrb_require USE_RICHTEXT
438
- class RichTextLine < ::Object
439
-
440
- # @overload initialize(parent)
441
- # @param parent [Wx::RTC::RichTextParagraph]
442
- # @return [Wx::RTC::RichTextLine]
443
- # @overload initialize(obj)
444
- # @param obj [Wx::RTC::RichTextLine]
445
- # @return [Wx::RTC::RichTextLine]
446
- def initialize(*args) end
447
-
448
- # @overload set_range(range)
449
- # Sets the range associated with this line.
450
- # @param range [Range]
451
- # @return [void]
452
- # @overload set_range(from, to)
453
- # Sets the range associated with this line.
454
- # @param from [Integer]
455
- # @param to [Integer]
456
- # @return [void]
457
- def set_range(*args) end
458
- alias_method :range=, :set_range
459
-
460
- # Returns the parent paragraph.
461
- # @return [Wx::RTC::RichTextParagraph]
462
- def get_parent; end
463
- alias_method :parent, :get_parent
464
-
465
- # Returns the range.
466
- # @return [Wx::RichTextRange]
467
- def get_range; end
468
- alias_method :range, :get_range
469
-
470
- # Returns the absolute range.
471
- # @return [Range]
472
- def get_absolute_range; end
473
- alias_method :absolute_range, :get_absolute_range
474
-
475
- # Returns the line size as calculated by Layout.
476
- # @return [Wx::Size]
477
- def get_size; end
478
- alias_method :size, :get_size
479
-
480
- # Sets the line size as calculated by Layout.
481
- # @param sz [Array(Integer, Integer), Wx::Size]
482
- # @return [void]
483
- def set_size(sz) end
484
- alias_method :size=, :set_size
485
-
486
- # Returns the object position relative to the parent.
487
- # @return [Wx::Point]
488
- def get_position; end
489
- alias_method :position, :get_position
490
-
491
- # Sets the object position relative to the parent.
492
- # @param pos [Array(Integer, Integer), Wx::Point]
493
- # @return [void]
494
- def set_position(pos) end
495
- alias_method :position=, :set_position
496
-
497
- # Returns the absolute object position.
498
- # @return [Wx::Point]
499
- def get_absolute_position; end
500
- alias_method :absolute_position, :get_absolute_position
501
-
502
- # Returns the rectangle enclosing the line.
503
- # @return [Wx::Rect]
504
- def get_rect; end
505
- alias_method :rect, :get_rect
506
-
507
- # Sets the stored descent.
508
- # @param descent [Integer]
509
- # @return [void]
510
- def set_descent(descent) end
511
- alias_method :descent=, :set_descent
512
-
513
- # Returns the stored descent.
514
- # @return [Integer]
515
- def get_descent; end
516
- alias_method :descent, :get_descent
517
-
518
- # Initialises the object.
519
- # @param parent [Wx::RTC::RichTextParagraph]
520
- # @return [void]
521
- def init(parent) end
522
-
523
- # Copies from obj.
524
- # @param obj [Wx::RTC::RichTextLine]
525
- # @return [void]
526
- def copy(obj) end
527
-
528
- # @return [Wx::RTC::RichTextLine]
529
- def clone; end
530
-
531
- end # RichTextLine
532
-
533
535
 
534
- end
536
+ end
537
+
538
+ end