wxruby3 0.9.0.pre.rc.3-x64-mingw-ucrt → 0.9.0-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (673) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/ext/mkrf_conf_bingem.rb +4 -1
  4. data/ext/wxbase32u_gcc_custom.dll +0 -0
  5. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  6. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  7. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  19. data/lib/wx/accessors.rb +10 -2
  20. data/lib/wx/aui/auifloatframe.rb +20 -0
  21. data/lib/wx/aui/auimanager.rb +3 -0
  22. data/lib/wx/aui/auinotebook.rb +17 -0
  23. data/lib/wx/aui/events/evt_list.rb +7 -7
  24. data/lib/wx/aui/require.rb +5 -1
  25. data/lib/wx/aui.rb +4 -1
  26. data/lib/wx/core/acceleratortable.rb +8 -0
  27. data/lib/wx/core/animation.rb +8 -0
  28. data/lib/wx/core/app.rb +8 -0
  29. data/lib/wx/core/array_ext.rb +7 -0
  30. data/lib/wx/core/art_locator.rb +7 -0
  31. data/lib/wx/core/artprovider.rb +9 -0
  32. data/lib/wx/core/bitmap.rb +16 -4
  33. data/lib/wx/core/bitmap_combobox.rb +7 -0
  34. data/lib/wx/core/brush.rb +7 -0
  35. data/lib/wx/core/busycursor.rb +9 -0
  36. data/lib/wx/core/choice.rb +7 -0
  37. data/lib/wx/core/choicedlg.rb +7 -0
  38. data/lib/wx/core/clientdc.rb +9 -0
  39. data/lib/wx/core/clipboard.rb +8 -0
  40. data/lib/wx/core/collapsible_pane.rb +8 -1
  41. data/lib/wx/core/colour.rb +8 -0
  42. data/lib/wx/core/combo_ctrl.rb +110 -0
  43. data/lib/wx/core/combobox.rb +7 -0
  44. data/lib/wx/core/config.rb +303 -0
  45. data/lib/wx/core/controlwithitems.rb +12 -1
  46. data/lib/wx/core/cursor.rb +14 -4
  47. data/lib/wx/core/data_object.rb +7 -0
  48. data/lib/wx/core/dataformat.rb +9 -0
  49. data/lib/wx/core/datetime.rb +14 -0
  50. data/lib/wx/core/dc.rb +7 -0
  51. data/lib/wx/core/dialog.rb +18 -1
  52. data/lib/wx/core/enum.rb +7 -0
  53. data/lib/wx/core/event.rb +7 -0
  54. data/lib/wx/core/event_blocker.rb +7 -0
  55. data/lib/wx/core/event_loop.rb +7 -0
  56. data/lib/wx/core/events/evt_list.rb +76 -0
  57. data/lib/wx/core/evthandler.rb +8 -0
  58. data/lib/wx/core/ext.rb +7 -0
  59. data/lib/wx/core/file_dialog.rb +23 -0
  60. data/lib/wx/core/find_replace_dialog.rb +7 -0
  61. data/lib/wx/core/functions.rb +8 -0
  62. data/lib/wx/core/gauge.rb +10 -1
  63. data/lib/wx/core/genericdirctrl.rb +9 -0
  64. data/lib/wx/core/hboxsizer.rb +16 -0
  65. data/lib/wx/core/helpcontroller.rb +8 -0
  66. data/lib/wx/core/helpcontrollerhelpprovider.rb +9 -0
  67. data/lib/wx/core/helpprovider.rb +10 -1
  68. data/lib/wx/core/icon.rb +17 -6
  69. data/lib/wx/core/id_helper.rb +7 -0
  70. data/lib/wx/core/image.rb +16 -4
  71. data/lib/wx/core/imagelist.rb +8 -1
  72. data/lib/wx/core/listbox.rb +7 -0
  73. data/lib/wx/core/listctrl.rb +9 -0
  74. data/lib/wx/core/locale.rb +8 -0
  75. data/lib/wx/core/log.rb +24 -0
  76. data/lib/wx/core/menu.rb +9 -0
  77. data/lib/wx/core/menu_bar.rb +7 -0
  78. data/lib/wx/core/menuitem.rb +9 -0
  79. data/lib/wx/core/notebook.rb +9 -0
  80. data/lib/wx/core/object.rb +9 -0
  81. data/lib/wx/core/paintdc.rb +7 -0
  82. data/lib/wx/core/pen.rb +7 -0
  83. data/lib/wx/core/pen_info.rb +7 -0
  84. data/lib/wx/core/platform_info.rb +7 -0
  85. data/lib/wx/core/point.rb +8 -0
  86. data/lib/wx/core/real_point.rb +8 -0
  87. data/lib/wx/core/rect.rb +9 -0
  88. data/lib/wx/core/region_iterator.rb +7 -0
  89. data/lib/wx/core/simplehelpprovider.rb +9 -0
  90. data/lib/wx/core/size.rb +8 -0
  91. data/lib/wx/core/sizer.rb +9 -0
  92. data/lib/wx/core/splash_screen.rb +22 -2
  93. data/lib/wx/core/text_entry.rb +7 -0
  94. data/lib/wx/core/textctrl.rb +86 -5
  95. data/lib/wx/core/timer.rb +9 -0
  96. data/lib/wx/core/toolbar.rb +9 -0
  97. data/lib/wx/core/toolbartool.rb +8 -0
  98. data/lib/wx/core/treectrl.rb +9 -0
  99. data/lib/wx/core/v_list_box.rb +7 -0
  100. data/lib/wx/core/validator.rb +7 -0
  101. data/lib/wx/core/variant.rb +7 -0
  102. data/lib/wx/core/vboxsizer.rb +16 -0
  103. data/lib/wx/core/window.rb +8 -0
  104. data/lib/wx/core/window_update_locker.rb +9 -0
  105. data/lib/wx/core/xmlresource.rb +8 -0
  106. data/lib/wx/core.rb +4 -1
  107. data/lib/wx/doc/app.rb +7 -1
  108. data/lib/wx/doc/array_ext.rb +6 -0
  109. data/lib/wx/doc/art_locator.rb +7 -0
  110. data/lib/wx/doc/aui/auimanager.rb +6 -0
  111. data/lib/wx/doc/aui/auinotebook.rb +6 -0
  112. data/lib/wx/doc/bitmap.rb +12 -4
  113. data/lib/wx/doc/brush.rb +6 -0
  114. data/lib/wx/doc/busy_info.rb +6 -0
  115. data/lib/wx/doc/client_dc.rb +6 -0
  116. data/lib/wx/doc/clipboard.rb +6 -0
  117. data/lib/wx/doc/colour_dialog.rb +6 -0
  118. data/lib/wx/doc/config.rb +190 -0
  119. data/lib/wx/doc/const.rb +7 -0
  120. data/lib/wx/doc/controlwithitems.rb +6 -0
  121. data/lib/wx/doc/core.rb +6 -0
  122. data/lib/wx/doc/cursor.rb +13 -5
  123. data/lib/wx/doc/data_object.rb +6 -0
  124. data/lib/wx/doc/datetime.rb +16 -0
  125. data/lib/wx/doc/dc.rb +6 -0
  126. data/lib/wx/doc/enum.rb +8 -1
  127. data/lib/wx/doc/event.rb +12 -0
  128. data/lib/wx/doc/event_blocker.rb +6 -0
  129. data/lib/wx/doc/event_loop.rb +6 -0
  130. data/lib/wx/doc/events.rb +6 -0
  131. data/lib/wx/doc/evthandler.rb +8 -0
  132. data/lib/wx/doc/extra/01_packages.md +52 -51
  133. data/lib/wx/doc/extra/05_event-handling.md +37 -12
  134. data/lib/wx/doc/extra/06_geometry.md +5 -5
  135. data/lib/wx/doc/extra/07_colour_and_font.md +2 -2
  136. data/lib/wx/doc/extra/09_exceptions.md +1 -1
  137. data/lib/wx/doc/extra/10_art.md +18 -12
  138. data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
  139. data/lib/wx/doc/font.rb +6 -0
  140. data/lib/wx/doc/font_data.rb +16 -0
  141. data/lib/wx/doc/functions.rb +9 -1
  142. data/lib/wx/doc/gc_dc.rb +6 -0
  143. data/lib/wx/doc/gdi_common.rb +8 -1
  144. data/lib/wx/doc/gen/about_dialog_info.rb +9 -9
  145. data/lib/wx/doc/gen/accelerator.rb +4 -9
  146. data/lib/wx/doc/gen/accessible.rb +21 -21
  147. data/lib/wx/doc/gen/activity_indicator.rb +2 -2
  148. data/lib/wx/doc/gen/animation.rb +13 -13
  149. data/lib/wx/doc/gen/animation_ctrl.rb +7 -7
  150. data/lib/wx/doc/gen/any_button.rb +2 -2
  151. data/lib/wx/doc/gen/app.rb +16 -85
  152. data/lib/wx/doc/gen/app_traits.rb +381 -0
  153. data/lib/wx/doc/gen/art_provider.rb +3 -3
  154. data/lib/wx/doc/gen/aui/aui_manager.rb +12 -14
  155. data/lib/wx/doc/gen/aui/aui_manager_event.rb +5 -5
  156. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +13 -14
  157. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -1
  158. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +2 -2
  159. data/lib/wx/doc/gen/aui/aui_notebook.rb +102 -19
  160. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +1 -1
  161. data/lib/wx/doc/gen/aui/aui_pane_info.rb +44 -44
  162. data/lib/wx/doc/gen/aui/aui_tab_art.rb +11 -11
  163. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +28 -28
  164. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
  165. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +3 -3
  166. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +7 -7
  167. data/lib/wx/doc/gen/aui/event_list.rb +7 -0
  168. data/lib/wx/doc/gen/banner_window.rb +98 -0
  169. data/lib/wx/doc/gen/bitmap.rb +24 -55
  170. data/lib/wx/doc/gen/bitmap_button.rb +3 -3
  171. data/lib/wx/doc/gen/bitmap_combo_box.rb +2 -2
  172. data/lib/wx/doc/gen/book_ctrl_base.rb +13 -13
  173. data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
  174. data/lib/wx/doc/gen/brush.rb +8 -8
  175. data/lib/wx/doc/gen/button.rb +4 -4
  176. data/lib/wx/doc/gen/calendar_ctrl.rb +12 -12
  177. data/lib/wx/doc/gen/calendar_date_attr.rb +11 -11
  178. data/lib/wx/doc/gen/calendar_event.rb +2 -8
  179. data/lib/wx/doc/gen/caret.rb +4 -4
  180. data/lib/wx/doc/gen/check_box.rb +9 -9
  181. data/lib/wx/doc/gen/check_list_box.rb +4 -4
  182. data/lib/wx/doc/gen/choice.rb +3 -3
  183. data/lib/wx/doc/gen/choicebook.rb +1 -1
  184. data/lib/wx/doc/gen/clipboard.rb +9 -9
  185. data/lib/wx/doc/gen/collapsible_pane.rb +4 -4
  186. data/lib/wx/doc/gen/collapsible_pane_event.rb +3 -3
  187. data/lib/wx/doc/gen/colour.rb +26 -26
  188. data/lib/wx/doc/gen/colour_dialog.rb +6 -6
  189. data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
  190. data/lib/wx/doc/gen/combo_box.rb +7 -7
  191. data/lib/wx/doc/gen/combo_ctrl.rb +960 -0
  192. data/lib/wx/doc/gen/command_link_button.rb +110 -0
  193. data/lib/wx/doc/gen/config_base.rb +10 -0
  194. data/lib/wx/doc/gen/context_help_button.rb +3 -3
  195. data/lib/wx/doc/gen/control.rb +3 -3
  196. data/lib/wx/doc/gen/control_with_items.rb +5 -5
  197. data/lib/wx/doc/gen/core.rb +5 -5
  198. data/lib/wx/doc/gen/cursor.rb +3 -8
  199. data/lib/wx/doc/gen/data_format.rb +3 -3
  200. data/lib/wx/doc/gen/data_object.rb +13 -13
  201. data/lib/wx/doc/gen/date_event.rb +1 -1
  202. data/lib/wx/doc/gen/date_picker_ctrl.rb +5 -5
  203. data/lib/wx/doc/gen/dc.rb +125 -62
  204. data/lib/wx/doc/gen/dialog.rb +46 -17
  205. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
  206. data/lib/wx/doc/gen/dir_picker_ctrl.rb +3 -3
  207. data/lib/wx/doc/gen/drag_drop.rb +18 -44
  208. data/lib/wx/doc/gen/drag_image.rb +7 -32
  209. data/lib/wx/doc/gen/editable_list_box.rb +2 -2
  210. data/lib/wx/doc/gen/event.rb +15 -23
  211. data/lib/wx/doc/gen/event_blocker.rb +1 -1
  212. data/lib/wx/doc/gen/event_list.rb +103 -5
  213. data/lib/wx/doc/gen/events.rb +151 -151
  214. data/lib/wx/doc/gen/evt_handler.rb +7 -7
  215. data/lib/wx/doc/gen/ext_help_controller.rb +8 -8
  216. data/lib/wx/doc/gen/file_dialog.rb +4 -2
  217. data/lib/wx/doc/gen/file_dialog_custom_control.rb +146 -0
  218. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +159 -0
  219. data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
  220. data/lib/wx/doc/gen/file_picker_ctrl.rb +3 -3
  221. data/lib/wx/doc/gen/file_system.rb +250 -0
  222. data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
  223. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  224. data/lib/wx/doc/gen/flex_grid_sizer.rb +4 -4
  225. data/lib/wx/doc/gen/font.rb +60 -65
  226. data/lib/wx/doc/gen/font_data.rb +6 -6
  227. data/lib/wx/doc/gen/font_dialog.rb +2 -2
  228. data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
  229. data/lib/wx/doc/gen/frame.rb +6 -20
  230. data/lib/wx/doc/gen/fs_file.rb +61 -21
  231. data/lib/wx/doc/gen/gauge.rb +3 -3
  232. data/lib/wx/doc/gen/gb_sizer_item.rb +12 -26
  233. data/lib/wx/doc/gen/gdi_common.rb +8 -8
  234. data/lib/wx/doc/gen/generic_dir_ctrl.rb +6 -6
  235. data/lib/wx/doc/gen/graphics_context.rb +291 -60
  236. data/lib/wx/doc/gen/graphics_object.rb +47 -101
  237. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -0
  238. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +36 -51
  239. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +2 -0
  240. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +2 -0
  241. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +3 -1
  242. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +2 -0
  243. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +7 -12
  244. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +2 -0
  245. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +2 -0
  246. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +2 -0
  247. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +6 -4
  248. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +2 -0
  249. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +2 -0
  250. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +2 -0
  251. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +2 -0
  252. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +2 -0
  253. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +2 -0
  254. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +3 -1
  255. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +2 -0
  256. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +2 -0
  257. data/lib/wx/doc/gen/grid/grid_ctrl.rb +414 -171
  258. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +1 -1
  259. data/lib/wx/doc/gen/grid/grid_event.rb +7 -7
  260. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +9 -9
  261. data/lib/wx/doc/gen/grid/grid_size_event.rb +5 -5
  262. data/lib/wx/doc/gen/grid/grid_string_table.rb +6 -6
  263. data/lib/wx/doc/gen/grid/grid_table_base.rb +15 -15
  264. data/lib/wx/doc/gen/grid_bag_sizer.rb +10 -10
  265. data/lib/wx/doc/gen/gui_event_loop.rb +12 -12
  266. data/lib/wx/doc/gen/header_ctrl.rb +755 -0
  267. data/lib/wx/doc/gen/header_ctrl_event.rb +131 -0
  268. data/lib/wx/doc/gen/help_controller.rb +7 -7
  269. data/lib/wx/doc/gen/help_provider.rb +3 -3
  270. data/lib/wx/doc/gen/html/html_cell.rb +67 -44
  271. data/lib/wx/doc/gen/html/html_cell_event.rb +3 -3
  272. data/lib/wx/doc/gen/html/html_easy_printing.rb +5 -5
  273. data/lib/wx/doc/gen/html/html_help_controller.rb +40 -52
  274. data/lib/wx/doc/gen/html/html_help_data.rb +2 -2
  275. data/lib/wx/doc/gen/html/html_help_window.rb +21 -27
  276. data/lib/wx/doc/gen/html/html_list_box.rb +6 -6
  277. data/lib/wx/doc/gen/html/html_printout.rb +1 -1
  278. data/lib/wx/doc/gen/html/html_window.rb +35 -31
  279. data/lib/wx/doc/gen/hyperlink_ctrl.rb +3 -3
  280. data/lib/wx/doc/gen/icon.rb +10 -10
  281. data/lib/wx/doc/gen/icon_location.rb +1 -1
  282. data/lib/wx/doc/gen/image.rb +46 -51
  283. data/lib/wx/doc/gen/image_list.rb +14 -24
  284. data/lib/wx/doc/gen/info_bar.rb +152 -0
  285. data/lib/wx/doc/gen/keyboard_state.rb +17 -17
  286. data/lib/wx/doc/gen/list_box.rb +19 -19
  287. data/lib/wx/doc/gen/list_ctrl.rb +58 -93
  288. data/lib/wx/doc/gen/list_event.rb +2 -2
  289. data/lib/wx/doc/gen/listbook.rb +1 -1
  290. data/lib/wx/doc/gen/locale.rb +15 -39
  291. data/lib/wx/doc/gen/log.rb +17 -67
  292. data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
  293. data/lib/wx/doc/gen/mdi_frame.rb +8 -8
  294. data/lib/wx/doc/gen/media_ctrl.rb +15 -15
  295. data/lib/wx/doc/gen/media_event.rb +1 -1
  296. data/lib/wx/doc/gen/memory_dc.rb +3 -6
  297. data/lib/wx/doc/gen/menu.rb +15 -16
  298. data/lib/wx/doc/gen/menu_bar.rb +9 -26
  299. data/lib/wx/doc/gen/menu_item.rb +12 -12
  300. data/lib/wx/doc/gen/message_dialog.rb +6 -6
  301. data/lib/wx/doc/gen/mini_frame.rb +2 -2
  302. data/lib/wx/doc/gen/mouse_state.rb +50 -10
  303. data/lib/wx/doc/gen/non_owned_window.rb +2 -2
  304. data/lib/wx/doc/gen/notebook.rb +7 -7
  305. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  306. data/lib/wx/doc/gen/object.rb +1 -12
  307. data/lib/wx/doc/gen/palette.rb +12 -14
  308. data/lib/wx/doc/gen/panel.rb +4 -4
  309. data/lib/wx/doc/gen/pen.rb +25 -25
  310. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -2
  311. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +14 -14
  312. data/lib/wx/doc/gen/pg/pg_cell.rb +3 -6
  313. data/lib/wx/doc/gen/pg/pg_editor.rb +19 -19
  314. data/lib/wx/doc/gen/pg/pg_multi_button.rb +61 -86
  315. data/lib/wx/doc/gen/pg/pg_properties.rb +210 -263
  316. data/lib/wx/doc/gen/pg/pg_property.rb +161 -257
  317. data/lib/wx/doc/gen/pg/pg_validation_info.rb +2 -2
  318. data/lib/wx/doc/gen/pg/property_grid.rb +30 -30
  319. data/lib/wx/doc/gen/pg/property_grid_event.rb +7 -7
  320. data/lib/wx/doc/gen/pg/property_grid_interface.rb +45 -51
  321. data/lib/wx/doc/gen/pg/property_grid_manager.rb +39 -42
  322. data/lib/wx/doc/gen/pg/property_grid_page.rb +11 -20
  323. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +10 -19
  324. data/lib/wx/doc/gen/picker_base.rb +5 -5
  325. data/lib/wx/doc/gen/platform_info.rb +173 -13
  326. data/lib/wx/doc/gen/popup_window.rb +2 -2
  327. data/lib/wx/doc/gen/progress_dialog.rb +2 -2
  328. data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
  329. data/lib/wx/doc/gen/prt/preview_frame.rb +14 -1
  330. data/lib/wx/doc/gen/prt/print_data.rb +44 -44
  331. data/lib/wx/doc/gen/prt/printer.rb +22 -27
  332. data/lib/wx/doc/gen/query_layout_info_event.rb +4 -4
  333. data/lib/wx/doc/gen/radio_box.rb +9 -9
  334. data/lib/wx/doc/gen/radio_button.rb +5 -5
  335. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +28 -28
  336. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +13 -13
  337. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +1 -1
  338. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +13 -13
  339. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
  340. data/lib/wx/doc/gen/rbn/ribbon_control.rb +7 -7
  341. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +8 -14
  342. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +1 -1
  343. data/lib/wx/doc/gen/rbn/ribbon_page.rb +7 -7
  344. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -16
  345. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +1 -1
  346. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +13 -13
  347. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -2
  348. data/lib/wx/doc/gen/rearrange_ctrl.rb +60 -0
  349. data/lib/wx/doc/gen/rearrange_list.rb +99 -0
  350. data/lib/wx/doc/gen/region.rb +26 -35
  351. data/lib/wx/doc/gen/region_iterator.rb +1 -1
  352. data/lib/wx/doc/gen/rtc/rich_text_box.rb +423 -0
  353. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +608 -1520
  354. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +37 -0
  355. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +525 -0
  356. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +435 -472
  357. data/lib/wx/doc/gen/rtc/rich_text_event.rb +9 -9
  358. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +12 -12
  359. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +282 -0
  360. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +14 -14
  361. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +3 -16
  362. data/lib/wx/doc/gen/rtc/rich_text_image.rb +328 -0
  363. data/lib/wx/doc/gen/rtc/rich_text_object.rb +2849 -0
  364. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1174 -0
  365. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +17 -17
  366. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +305 -0
  367. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +183 -0
  368. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +2 -2
  369. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +32 -35
  370. data/lib/wx/doc/gen/sash_event.rb +5 -5
  371. data/lib/wx/doc/gen/sash_layout_window.rb +8 -8
  372. data/lib/wx/doc/gen/sash_window.rb +6 -6
  373. data/lib/wx/doc/gen/scroll_bar.rb +4 -4
  374. data/lib/wx/doc/gen/scrolled_canvas.rb +10 -16
  375. data/lib/wx/doc/gen/scrolled_control.rb +10 -16
  376. data/lib/wx/doc/gen/scrolled_window.rb +10 -16
  377. data/lib/wx/doc/gen/search_ctrl.rb +5 -5
  378. data/lib/wx/doc/gen/simplebook.rb +5 -5
  379. data/lib/wx/doc/gen/single_choice_dialog.rb +1 -2
  380. data/lib/wx/doc/gen/sizer.rb +40 -45
  381. data/lib/wx/doc/gen/sizer_item.rb +5 -5
  382. data/lib/wx/doc/gen/slider.rb +2 -2
  383. data/lib/wx/doc/gen/spin_button.rb +2 -2
  384. data/lib/wx/doc/gen/spin_ctrl.rb +3 -3
  385. data/lib/wx/doc/gen/spin_ctrl_double.rb +146 -0
  386. data/lib/wx/doc/gen/spin_double_event.rb +53 -0
  387. data/lib/wx/doc/gen/spin_event.rb +1 -1
  388. data/lib/wx/doc/gen/splitter_event.rb +1 -1
  389. data/lib/wx/doc/gen/splitter_window.rb +16 -12
  390. data/lib/wx/doc/gen/static_bitmap.rb +4 -4
  391. data/lib/wx/doc/gen/static_box.rb +5 -5
  392. data/lib/wx/doc/gen/static_line.rb +3 -3
  393. data/lib/wx/doc/gen/static_text.rb +3 -3
  394. data/lib/wx/doc/gen/status_bar.rb +39 -5
  395. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +145 -177
  396. data/lib/wx/doc/gen/stc/styled_text_event.rb +6 -6
  397. data/lib/wx/doc/gen/svg_file_dc.rb +5 -5
  398. data/lib/wx/doc/gen/system_options.rb +2 -2
  399. data/lib/wx/doc/gen/system_settings.rb +6 -6
  400. data/lib/wx/doc/gen/task_bar_icon.rb +7 -7
  401. data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
  402. data/lib/wx/doc/gen/text_attr.rb +56 -54
  403. data/lib/wx/doc/gen/text_ctrl.rb +13 -37
  404. data/lib/wx/doc/gen/text_entry.rb +16 -16
  405. data/lib/wx/doc/gen/text_entry_dialog.rb +4 -4
  406. data/lib/wx/doc/gen/text_validator.rb +3 -8
  407. data/lib/wx/doc/gen/time_picker_ctrl.rb +5 -5
  408. data/lib/wx/doc/gen/timer.rb +5 -5
  409. data/lib/wx/doc/gen/tip_provider.rb +2 -2
  410. data/lib/wx/doc/gen/toggle_button.rb +4 -4
  411. data/lib/wx/doc/gen/tool_bar.rb +30 -37
  412. data/lib/wx/doc/gen/tool_tip.rb +1 -9
  413. data/lib/wx/doc/gen/toolbook.rb +6 -6
  414. data/lib/wx/doc/gen/top_level_window.rb +25 -95
  415. data/lib/wx/doc/gen/tree_ctrl.rb +20 -20
  416. data/lib/wx/doc/gen/tree_event.rb +2 -2
  417. data/lib/wx/doc/gen/treebook.rb +14 -14
  418. data/lib/wx/doc/gen/ui_action_simulator.rb +19 -18
  419. data/lib/wx/doc/gen/utils.rb +11 -11
  420. data/lib/wx/doc/gen/v_list_box.rb +9 -9
  421. data/lib/wx/doc/gen/v_scrolled_window.rb +7 -7
  422. data/lib/wx/doc/gen/validator.rb +3 -3
  423. data/lib/wx/doc/gen/variant.rb +22 -22
  424. data/lib/wx/doc/gen/window.rb +157 -122
  425. data/lib/wx/doc/gen/with_images.rb +1 -1
  426. data/lib/wx/doc/gen/wizard.rb +4 -4
  427. data/lib/wx/doc/gen/wizard_event.rb +3 -3
  428. data/lib/wx/doc/gen/wizard_page.rb +2 -2
  429. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  430. data/lib/wx/doc/gen/wrap_sizer.rb +65 -0
  431. data/lib/wx/doc/gen/xml_node.rb +10 -10
  432. data/lib/wx/doc/gen/xml_resource.rb +12 -12
  433. data/lib/wx/doc/graphics_context.rb +59 -39
  434. data/lib/wx/doc/grid/grid.rb +16 -1
  435. data/lib/wx/doc/hboxsizer.rb +33 -0
  436. data/lib/wx/doc/help_controller.rb +6 -0
  437. data/lib/wx/doc/html/html_help_controller.rb +6 -0
  438. data/lib/wx/doc/icon.rb +13 -5
  439. data/lib/wx/doc/id_helper.rb +6 -0
  440. data/lib/wx/doc/image.rb +12 -4
  441. data/lib/wx/doc/list_ctrl.rb +6 -0
  442. data/lib/wx/doc/log.rb +17 -0
  443. data/lib/wx/doc/memory_dc.rb +6 -0
  444. data/lib/wx/doc/mirror_dc.rb +6 -0
  445. data/lib/wx/doc/pen.rb +6 -0
  446. data/lib/wx/doc/pg/events.rb +6 -0
  447. data/lib/wx/doc/pg/pg_property.rb +17 -0
  448. data/lib/wx/doc/pg/pgeditor.rb +6 -0
  449. data/lib/wx/doc/pg/property_grid.rb +6 -0
  450. data/lib/wx/doc/pg/property_grid_interface.rb +6 -0
  451. data/lib/wx/doc/progress_dialog.rb +6 -0
  452. data/lib/wx/doc/prt/page_setup_dialog.rb +6 -0
  453. data/lib/wx/doc/prt/print_data.rb +6 -0
  454. data/lib/wx/doc/prt/print_dialog.rb +6 -0
  455. data/lib/wx/doc/prt/printer.rb +6 -0
  456. data/lib/wx/doc/prt/printer_dc.rb +6 -0
  457. data/lib/wx/doc/radio_box.rb +6 -0
  458. data/lib/wx/doc/rbn/ribbon_bar.rb +6 -0
  459. data/lib/wx/doc/rbn/ribbon_button_bar.rb +6 -0
  460. data/lib/wx/doc/rbn/ribbon_gallery.rb +6 -0
  461. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +6 -0
  462. data/lib/wx/doc/region_iterator.rb +6 -0
  463. data/lib/wx/doc/rtc/richtext_buffer.rb +28 -0
  464. data/lib/wx/doc/rtc/richtext_formatting_dialog.rb +68 -0
  465. data/lib/wx/doc/rtc/richtext_printing.rb +6 -0
  466. data/lib/wx/doc/rtc/richtext_style_sheet.rb +20 -0
  467. data/lib/wx/doc/scaled_dc.rb +6 -0
  468. data/lib/wx/doc/screen_dc.rb +6 -0
  469. data/lib/wx/doc/stock_objects.rb +6 -0
  470. data/lib/wx/doc/stream.rb +6 -0
  471. data/lib/wx/doc/svg_file_dc.rb +6 -0
  472. data/lib/wx/doc/system_settings.rb +6 -0
  473. data/lib/wx/doc/text_validator.rb +6 -0
  474. data/lib/wx/doc/textctrl.rb +89 -0
  475. data/lib/wx/doc/tree_event.rb +20 -0
  476. data/lib/wx/doc/treebook.rb +6 -0
  477. data/lib/wx/doc/v_list_box.rb +6 -0
  478. data/lib/wx/doc/variant.rb +6 -0
  479. data/lib/wx/doc/vboxsizer.rb +33 -0
  480. data/lib/wx/doc/window.rb +6 -0
  481. data/lib/wx/doc/window_disabler.rb +6 -0
  482. data/lib/wx/doc/xml_resource.rb +8 -0
  483. data/lib/wx/global_const.rb +4 -1
  484. data/lib/wx/grid/grid.rb +23 -3
  485. data/lib/wx/grid/keyword_defs.rb +8 -1
  486. data/lib/wx/grid/require.rb +4 -1
  487. data/lib/wx/grid.rb +4 -1
  488. data/lib/wx/helpers.rb +8 -1
  489. data/lib/wx/html/htmlhelpcontroller.rb +29 -3
  490. data/lib/wx/html/htmlwindow.rb +23 -12
  491. data/lib/wx/html/keyword_defs.rb +8 -1
  492. data/lib/wx/html/require.rb +4 -1
  493. data/lib/wx/html/simple_html_listbox.rb +3 -0
  494. data/lib/wx/html.rb +4 -1
  495. data/lib/wx/keyword_ctors.rb +22 -3
  496. data/lib/wx/keyword_defs.rb +55 -3
  497. data/lib/wx/pg/events.rb +4 -1
  498. data/lib/wx/pg/keyword_defs.rb +8 -1
  499. data/lib/wx/pg/pg_editor.rb +3 -0
  500. data/lib/wx/pg/pg_properties.rb +4 -1
  501. data/lib/wx/pg/pg_property.rb +18 -5
  502. data/lib/wx/pg/property_grid.rb +4 -1
  503. data/lib/wx/pg/property_grid_interface.rb +3 -0
  504. data/lib/wx/pg/require.rb +4 -1
  505. data/lib/wx/pg.rb +4 -1
  506. data/lib/wx/prt/keyword_defs.rb +8 -1
  507. data/lib/wx/prt/page_setup_dialog.rb +3 -0
  508. data/lib/wx/prt/previewframe.rb +5 -0
  509. data/lib/wx/prt/require.rb +4 -1
  510. data/lib/wx/prt.rb +4 -1
  511. data/lib/wx/rbn/events.rb +4 -1
  512. data/lib/wx/rbn/keyword_defs.rb +8 -1
  513. data/lib/wx/rbn/require.rb +5 -1
  514. data/lib/wx/rbn/ribbon_art_provider.rb +3 -1
  515. data/lib/wx/rbn/ribbon_bar.rb +3 -0
  516. data/lib/wx/rbn/ribbon_button_bar.rb +3 -0
  517. data/lib/wx/rbn/ribbon_control.rb +3 -0
  518. data/lib/wx/rbn/ribbon_gallery.rb +10 -0
  519. data/lib/wx/rbn/ribbon_page.rb +3 -0
  520. data/lib/wx/rbn/ribbon_panel.rb +3 -0
  521. data/lib/wx/rbn/ribbon_tool_bar.rb +3 -0
  522. data/lib/wx/rbn.rb +4 -1
  523. data/lib/wx/rtc/ext.rb +4 -1
  524. data/lib/wx/rtc/keyword_defs.rb +18 -7
  525. data/lib/wx/rtc/require.rb +8 -1
  526. data/lib/wx/rtc/richtext_buffer.rb +36 -0
  527. data/lib/wx/rtc/richtext_formatting_dialog.rb +88 -0
  528. data/lib/wx/rtc/richtext_style_organiser_dialog.rb +46 -0
  529. data/lib/wx/rtc/symbol_picker_dialog.rb +47 -0
  530. data/lib/wx/rtc.rb +5 -1
  531. data/lib/wx/stc/keyword_defs.rb +8 -1
  532. data/lib/wx/stc/require.rb +4 -1
  533. data/lib/wx/stc.rb +4 -1
  534. data/lib/wx/version.rb +5 -1
  535. data/lib/wx/wxruby/base.rb +4 -1
  536. data/lib/wx/wxruby/cmd/sampler.rb +4 -1
  537. data/lib/wx/wxruby/cmd/test.rb +4 -1
  538. data/lib/wx.rb +4 -1
  539. data/lib/wxruby_aui.so +0 -0
  540. data/lib/wxruby_core.so +0 -0
  541. data/lib/wxruby_grid.so +0 -0
  542. data/lib/wxruby_html.so +0 -0
  543. data/lib/wxruby_pg.so +0 -0
  544. data/lib/wxruby_prt.so +0 -0
  545. data/lib/wxruby_rbn.so +0 -0
  546. data/lib/wxruby_rtc.so +0 -0
  547. data/lib/wxruby_stc.so +0 -0
  548. data/rakelib/install.rb +4 -1
  549. data/rakelib/lib/config/cygwin.rb +4 -1
  550. data/rakelib/lib/config/linux.rb +4 -1
  551. data/rakelib/lib/config/macosx.rb +5 -2
  552. data/rakelib/lib/config/mingw.rb +4 -1
  553. data/rakelib/lib/config/netbsd.rb +4 -1
  554. data/rakelib/lib/config/unixish.rb +10 -7
  555. data/rakelib/lib/config.rb +7 -2
  556. data/rakelib/lib/ext/enum_chain.rb +4 -1
  557. data/rakelib/prepost.rake +4 -1
  558. data/rakelib/prepost.rb +4 -1
  559. data/samples/aui/aui.rb +8 -3
  560. data/samples/bigdemo/bigdemo.rb +9 -2
  561. data/samples/bigdemo/run.rb +9 -2
  562. data/samples/bigdemo/utils.rb +9 -1
  563. data/samples/calendar/calendar.rb +9 -4
  564. data/samples/caret/caret.rb +8 -3
  565. data/samples/controls/books.rb +8 -2
  566. data/samples/controls/controls.rb +33 -77
  567. data/samples/controls/get_item_sample.rb +8 -2
  568. data/samples/controls/htlbox.rb +10 -3
  569. data/samples/dialogs/dialogs.rb +9 -4
  570. data/samples/dialogs/wizard.rb +8 -3
  571. data/samples/dragdrop/dragdrop.rb +8 -3
  572. data/samples/drawing/bitmap.rb +8 -3
  573. data/samples/drawing/bitmap_image.rb +8 -3
  574. data/samples/drawing/graphics_drawing.rb +44 -33
  575. data/samples/drawing/image_prt.rb +8 -2
  576. data/samples/drawing/maths_images.rb +8 -3
  577. data/samples/drawing/rmagic_bitmap_image.rb +8 -3
  578. data/samples/etc/choice.rb +8 -3
  579. data/samples/etc/miniframe.rb +8 -3
  580. data/samples/etc/sash.rb +8 -3
  581. data/samples/etc/scrollwin.rb +8 -3
  582. data/samples/etc/system_settings.rb +8 -3
  583. data/samples/event/activation.rb +8 -3
  584. data/samples/event/event.rb +8 -3
  585. data/samples/event/threaded.rb +8 -3
  586. data/samples/event/update_ui_event.rb +8 -3
  587. data/samples/grid/grid.rb +9 -3
  588. data/samples/grid/gridtablebase.rb +8 -3
  589. data/samples/html/html.rb +8 -3
  590. data/samples/mdi/mdi.rb +8 -3
  591. data/samples/minimal/minimal.rb +8 -3
  592. data/samples/minimal/nothing.rb +8 -3
  593. data/samples/printing/printing.rb +8 -3
  594. data/samples/printing/printing2.rb +8 -2
  595. data/samples/propgrid/propgrid.rb +4 -1
  596. data/samples/propgrid/propgrid_minimal.rb +4 -2
  597. data/samples/propgrid/sample_props.rb +4 -1
  598. data/samples/ribbon/ribbon.rb +4 -1
  599. data/samples/sampler/editor.rb +4 -1
  600. data/samples/sampler/ext.rb +4 -1
  601. data/samples/sampler/sample.rb +13 -4
  602. data/samples/sampler/stc_editor.rb +4 -1
  603. data/samples/sampler/txt_editor.rb +4 -1
  604. data/samples/sampler.rb +11 -3
  605. data/samples/splash/splash.rb +4 -2
  606. data/samples/text/art/richtext/alignleft.xpm +24 -0
  607. data/samples/text/art/richtext/alignright.xpm +24 -0
  608. data/samples/text/art/richtext/bold.xpm +24 -0
  609. data/samples/text/art/richtext/centre.xpm +24 -0
  610. data/samples/text/art/richtext/copy.xpm +45 -0
  611. data/samples/text/art/richtext/cut.xpm +47 -0
  612. data/samples/text/art/richtext/font.xpm +25 -0
  613. data/samples/text/art/richtext/idea.xpm +47 -0
  614. data/samples/text/art/richtext/indentless.xpm +25 -0
  615. data/samples/text/art/richtext/indentmore.xpm +25 -0
  616. data/samples/text/art/richtext/italic.xpm +25 -0
  617. data/samples/text/art/richtext/open.xpm +58 -0
  618. data/samples/text/art/richtext/paste.xpm +47 -0
  619. data/samples/text/art/richtext/redo.xpm +59 -0
  620. data/samples/text/art/richtext/save.xpm +43 -0
  621. data/samples/text/art/richtext/smiley.xpm +42 -0
  622. data/samples/text/art/richtext/underline.xpm +25 -0
  623. data/samples/text/art/richtext/undo.xpm +59 -0
  624. data/samples/text/art/richtext/zebra.xpm +409 -0
  625. data/samples/text/rich_textctrl.rb +8 -3
  626. data/samples/text/richtext.rb +1824 -0
  627. data/samples/text/scintilla.rb +8 -3
  628. data/samples/text/textctrl.rb +21 -4
  629. data/samples/text/tn_richtext.png +0 -0
  630. data/samples/text/unicode.rb +9 -4
  631. data/samples/treectrl/treectrl.rb +10 -5
  632. data/samples/xrc/custom_xrc_sample.rb +8 -3
  633. data/samples/xrc/xrc_sample.rb +8 -3
  634. data/tests/art/test_art/bitmap/wxruby-128x128.png +0 -0
  635. data/tests/art/test_art/bitmap/wxruby-256x256.png +0 -0
  636. data/tests/art/test_art/bitmap/wxruby-64x64.png +0 -0
  637. data/tests/lib/item_container_tests.rb +3 -0
  638. data/tests/lib/text_entry_tests.rb +3 -0
  639. data/tests/lib/wxapp_runner.rb +3 -0
  640. data/tests/lib/wxframe_runner.rb +81 -3
  641. data/tests/test_app_event_filter.rb +3 -0
  642. data/tests/test_app_traits.rb +33 -0
  643. data/tests/test_art.rb +22 -0
  644. data/tests/test_art_provider.rb +3 -0
  645. data/tests/test_aui.rb +65 -0
  646. data/tests/test_basic.rb +5 -1
  647. data/tests/test_box_sizer.rb +5 -2
  648. data/tests/test_clipboard.rb +3 -0
  649. data/tests/test_config.rb +150 -0
  650. data/tests/test_dc.rb +3 -0
  651. data/tests/test_dialog.rb +3 -0
  652. data/tests/test_event_handling.rb +3 -0
  653. data/tests/test_events.rb +3 -0
  654. data/tests/test_ext_controls.rb +286 -3
  655. data/tests/test_file_dialog.rb +55 -0
  656. data/tests/test_font.rb +8 -5
  657. data/tests/test_gdi_object.rb +3 -0
  658. data/tests/test_geometry.rb +4 -0
  659. data/tests/test_grid_sizer.rb +7 -4
  660. data/tests/test_intl.rb +3 -0
  661. data/tests/test_item_data.rb +3 -0
  662. data/tests/test_list_ctrl.rb +4 -1
  663. data/tests/test_log.rb +63 -0
  664. data/tests/test_proof_check.rb +52 -0
  665. data/tests/test_richtext.rb +204 -0
  666. data/tests/test_std_controls.rb +45 -35
  667. data/tests/test_timer.rb +3 -0
  668. data/tests/test_variant.rb +3 -0
  669. data/tests/test_window.rb +10 -8
  670. data/tests/testapp.rb +4 -0
  671. data/tests/testapp_noframe.rb +4 -0
  672. metadata +76 -3
  673. data/lib/wx/doc/gen/html/html_help_frame.rb +0 -112
@@ -328,7 +328,7 @@ module Wx::GRID
328
328
  # @param size [Array(Integer, Integer), Wx::Size]
329
329
  # @param style [Integer]
330
330
  # @param name [String]
331
- # @return [true,false]
331
+ # @return [Boolean]
332
332
  def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::WANTS_CHARS, name=Wx::GridNameStr) end
333
333
 
334
334
  # Creates a grid with the specified initial number of rows and columns.
@@ -336,25 +336,25 @@ module Wx::GRID
336
336
  # For applications with more complex data types or relationships, or for dealing with very large datasets, you should derive your own grid table class and pass a table object to the grid with {Wx::GRID::Grid#set_table} or {Wx::GRID::Grid#assign_table}.
337
337
  # @param numRows [Integer]
338
338
  # @param numCols [Integer]
339
- # @param selmode [GridSelectionModes]
340
- # @return [true,false]
339
+ # @param selmode [Wx::wxGrid::GridSelectionModes]
340
+ # @return [Boolean]
341
341
  def create_grid(numRows, numCols, selmode=Wx::GRID::Grid::GridSelectionModes::GridSelectCells) end
342
342
 
343
343
  # Assigns a pointer to a custom grid table to be used by the grid.
344
344
  # This function is identical to {Wx::GRID::Grid#set_table} with takeOwnership parameter set to true, i.e. it simply always takes the ownership of the passed in pointer. This makes it simpler to use than {Wx::GRID::Grid#set_table} in the common case when the table should be owned by the grid object.
345
345
  # Note that this function should be called at most once and can't be used to change the table used by the grid later on or reset it: if such extra flexibility is needed, use {Wx::GRID::Grid#set_table} directly.
346
346
  # @param table [Wx::GRID::GridTableBase] The heap-allocated pointer to the table.
347
- # @param selmode [GridSelectionModes] Selection mode to use.
347
+ # @param selmode [Wx::wxGrid::GridSelectionModes] Selection mode to use.
348
348
  # @return [void]
349
349
  def assign_table(table, selmode=Wx::GRID::Grid::GridSelectionModes::GridSelectCells) end
350
350
 
351
351
  # Receive and handle a message from the table.
352
352
  # @param msg [Wx::GRID::GridTableMessage]
353
- # @return [true,false]
353
+ # @return [Boolean]
354
354
  def process_table_message(msg) end
355
355
 
356
356
  # Turns the drawing of grid lines on or off.
357
- # @param enable [true,false]
357
+ # @param enable [Boolean]
358
358
  # @return [void]
359
359
  def enable_grid_lines(enable=true) end
360
360
 
@@ -384,16 +384,22 @@ module Wx::GRID
384
384
  # Returns the pen used for horizontal grid lines.
385
385
  # This virtual function may be overridden in derived classes in order to change the appearance of individual grid line for the given row.
386
386
  # Example:
387
- # ```
388
- # // in a grid displaying music notation, use a solid black pen between
389
- # // octaves (C0=row 127, C1=row 115 etc.)
390
- # wxPen MidiGrid::GetRowGridLinePen(int row)
391
- # {
392
- # if ( row % 12 == 7 )
393
- # return wxPen(*wxBLACK, 1, wxPENSTYLE_SOLID);
387
+ # ```ruby
388
+ # class MidiGrid < Wx::GRID::Grid
389
+ #
390
+ # # ...
391
+ #
392
+ # # in a grid displaying music notation, use a solid black pen between
393
+ # # octaves (C0=row 127, C1=row 115 etc.)
394
+ # def get_row_grid_line_pen(row)
395
+ # if row % 12 == 7
396
+ # Wx::Pen.new(Wx::BLACK, 1, Wx::PENSTYLE_SOLID)
394
397
  # else
395
- # return GetDefaultGridLinePen();
396
- # }
398
+ # get_default_grid_line_pen
399
+ # end
400
+ # end
401
+ #
402
+ # end
397
403
  # ```
398
404
  # @param row [Integer]
399
405
  # @return [Wx::Pen]
@@ -401,7 +407,7 @@ module Wx::GRID
401
407
  alias_method :row_grid_line_pen, :get_row_grid_line_pen
402
408
 
403
409
  # Returns true if drawing of grid lines is turned on, false otherwise.
404
- # @return [true,false]
410
+ # @return [Boolean]
405
411
  def grid_lines_enabled; end
406
412
 
407
413
  # Sets the colour used to draw grid lines.
@@ -563,7 +569,7 @@ module Wx::GRID
563
569
  # Call this in order to make the column labels use a native look by using Wx::RendererNative#draw_header_button internally.
564
570
  # There is no equivalent method for drawing row columns as there is not native look for that. This option is useful when using {Wx::GRID::Grid} for displaying tables and not as a spread-sheet.
565
571
  # @see Wx::GRID::Grid#use_native_col_header
566
- # @param native [true,false]
572
+ # @param native [Boolean]
567
573
  # @return [void]
568
574
  def set_use_native_col_labels(native=true) end
569
575
  alias_method :use_native_col_labels=, :set_use_native_col_labels
@@ -573,8 +579,8 @@ module Wx::GRID
573
579
  # Another difference between the default behaviour and the native header behaviour is that the latter provides the user with a context menu (which appears on right clicking the header) allowing to rearrange the grid columns if {Wx::GRID::Grid#can_drag_col_move} returns true. If you want to prevent this from happening for some reason, you need to define a handler for {Wx::GRID::EVT_GRID_LABEL_RIGHT_CLICK} event which simply does nothing (in particular doesn't skip the event) as this will prevent the default right click handling from working.
574
580
  # Also note that currently {Wx::GRID::EVT_GRID_LABEL_RIGHT_DCLICK} event is not generated for the column labels if the native columns header is used (but this limitation could possibly be lifted in the future).
575
581
  # Finally, please note that using the native control is currently incompatible with freezing columns in the grid (see {Wx::GRID::Grid#freeze_to}) and this function will return false, without doing anything, if it's called on a grid in which any columns are frozen.
576
- # @param native [true,false]
577
- # @return [true,false]
582
+ # @param native [Boolean]
583
+ # @return [Boolean]
578
584
  def use_native_col_header(native=true) end
579
585
 
580
586
  # Sets the arguments to the horizontal and vertical text alignment values for the grid cell at the specified location.
@@ -689,7 +695,7 @@ module Wx::GRID
689
695
 
690
696
  # Returns true if the in-place edit control for the current grid cell can be used and false otherwise.
691
697
  # This function always returns false for the read-only cells.
692
- # @return [true,false]
698
+ # @return [Boolean]
693
699
  def can_enable_cell_control; end
694
700
  alias_method :can_enable_cell_control?, :can_enable_cell_control
695
701
 
@@ -702,14 +708,14 @@ module Wx::GRID
702
708
  # Enabling in-place editing generates {Wx::GRID::EVT_GRID_EDITOR_SHOWN} and, if it isn't vetoed by the application, shows the in-place editor which allows the user to change the cell value.
703
709
  # Disabling in-place editing does nothing if the in-place editor isn't currently shown, otherwise the {Wx::GRID::EVT_GRID_EDITOR_HIDDEN} event is generated but, unlike the "shown" event, it can't be vetoed and the in-place editor is dismissed unconditionally.
704
710
  # Note that it is an error to call this function if the current cell is read-only, use {Wx::GRID::Grid#can_enable_cell_control} to check for this precondition.
705
- # @param enable [true,false]
711
+ # @param enable [Boolean]
706
712
  # @return [void]
707
713
  def enable_cell_edit_control(enable=true) end
708
714
 
709
715
  # Makes the grid globally editable or read-only.
710
716
  # If the edit argument is false this function sets the whole grid as read-only. If the argument is true the grid is set to the default state where cells may be editable. In the default state you can set single grid cells and whole rows and columns to be editable or read-only via {Wx::GRID::GridCellAttr#set_read_only}. For single cells you can also use the shortcut function {Wx::GRID::Grid#set_read_only}.
711
717
  # For more information about controlling grid cell attributes see the {Wx::GRID::GridCellAttr} class and the wxGrid Overview.
712
- # @param edit [true,false]
718
+ # @param edit [Boolean]
713
719
  # @return [void]
714
720
  def enable_editing(edit) end
715
721
 
@@ -793,14 +799,14 @@ module Wx::GRID
793
799
  def hide_cell_edit_control; end
794
800
 
795
801
  # Returns true if the in-place edit control is currently enabled.
796
- # @return [true,false]
802
+ # @return [Boolean]
797
803
  def is_cell_edit_control_enabled; end
798
804
  alias_method :cell_edit_control_enabled?, :is_cell_edit_control_enabled
799
805
 
800
806
  # Returns true if the in-place edit control is currently shown.
801
807
  #
802
808
  # @see Wx::GRID::Grid#hide_cell_edit_control
803
- # @return [true,false]
809
+ # @return [Boolean]
804
810
  def is_cell_edit_control_shown; end
805
811
  alias_method :cell_edit_control_shown?, :is_cell_edit_control_shown
806
812
 
@@ -808,13 +814,13 @@ module Wx::GRID
808
814
  #
809
815
  # @see Wx::GRID::Grid#set_read_only
810
816
  # @see Wx::GRID::Grid#is_read_only
811
- # @return [true,false]
817
+ # @return [Boolean]
812
818
  def is_current_cell_read_only; end
813
819
  alias_method :current_cell_read_only?, :is_current_cell_read_only
814
820
 
815
821
  # Returns false if the whole grid has been set as read-only or true otherwise.
816
822
  # See {Wx::GRID::Grid#enable_editing} for more information about controlling the editing status of grid cells.
817
- # @return [true,false]
823
+ # @return [Boolean]
818
824
  def is_editable; end
819
825
  alias_method :editable?, :is_editable
820
826
 
@@ -824,7 +830,7 @@ module Wx::GRID
824
830
  # @see Wx::GRID::Grid#is_current_cell_read_only
825
831
  # @param row [Integer]
826
832
  # @param col [Integer]
827
- # @return [true,false]
833
+ # @return [Boolean]
828
834
  def is_read_only(row, col) end
829
835
  alias_method :read_only?, :is_read_only
830
836
 
@@ -934,7 +940,7 @@ module Wx::GRID
934
940
  # @see Wx::GRID::Grid#is_read_only
935
941
  # @param row [Integer]
936
942
  # @param col [Integer]
937
- # @param isReadOnly [true,false]
943
+ # @param isReadOnly [Boolean]
938
944
  # @return [void]
939
945
  def set_read_only(row, col, isReadOnly=true) end
940
946
 
@@ -955,20 +961,20 @@ module Wx::GRID
955
961
  # Automatically sizes the column to fit its contents.
956
962
  # If setAsMin is true the calculated width will also be set as the minimal width for the column.
957
963
  # @param col [Integer]
958
- # @param setAsMin [true,false]
964
+ # @param setAsMin [Boolean]
959
965
  # @return [void]
960
966
  def auto_size_column(col, setAsMin=true) end
961
967
 
962
968
  # Automatically sizes all columns to fit their contents.
963
969
  # If setAsMin is true the calculated widths will also be set as the minimal widths for the columns.
964
- # @param setAsMin [true,false]
970
+ # @param setAsMin [Boolean]
965
971
  # @return [void]
966
972
  def auto_size_columns(setAsMin=true) end
967
973
 
968
974
  # Automatically sizes the row to fit its contents.
969
975
  # If setAsMin is true the calculated height will also be set as the minimal height for the row.
970
976
  # @param row [Integer]
971
- # @param setAsMin [true,false]
977
+ # @param setAsMin [Boolean]
972
978
  # @return [void]
973
979
  def auto_size_row(row, setAsMin=true) end
974
980
 
@@ -979,25 +985,25 @@ module Wx::GRID
979
985
 
980
986
  # Automatically sizes all rows to fit their contents.
981
987
  # If setAsMin is true the calculated heights will also be set as the minimal heights for the rows.
982
- # @param setAsMin [true,false]
988
+ # @param setAsMin [Boolean]
983
989
  # @return [void]
984
990
  def auto_size_rows(setAsMin=true) end
985
991
 
986
992
  # Returns the cell fitting mode.
987
993
  #
988
- # @see Wx::GridFitMode
994
+ # @see Wx::GRID::GridFitMode
989
995
  # @param row [Integer]
990
996
  # @param col [Integer]
991
- # @return [Wx::GridFitMode]
997
+ # @return [Wx::GRID::GridFitMode]
992
998
  def get_cell_fit_mode(row, col) end
993
999
  alias_method :cell_fit_mode, :get_cell_fit_mode
994
1000
 
995
1001
  # Returns true if the cell value can overflow.
996
- # This is identical to calling {Wx::GRID::Grid#get_cell_fit_mode} and using Wx::GridFitMode#is_overflow on the returned value.
1002
+ # This is identical to calling {Wx::GRID::Grid#get_cell_fit_mode} and using {Wx::GRID::GridFitMode#is_overflow} on the returned value.
997
1003
  # Prefer using {Wx::GRID::Grid#get_cell_fit_mode} directly in the new code.
998
1004
  # @param row [Integer]
999
1005
  # @param col [Integer]
1000
- # @return [true,false]
1006
+ # @return [Boolean]
1001
1007
  def get_cell_overflow(row, col) end
1002
1008
  alias_method :cell_overflow, :get_cell_overflow
1003
1009
 
@@ -1021,21 +1027,21 @@ module Wx::GRID
1021
1027
 
1022
1028
  # Returns true if the specified column is not currently hidden.
1023
1029
  # @param col [Integer]
1024
- # @return [true,false]
1030
+ # @return [Boolean]
1025
1031
  def is_col_shown(col) end
1026
1032
  alias_method :col_shown?, :is_col_shown
1027
1033
 
1028
1034
  # Returns the default cell fitting mode.
1029
1035
  # The default mode is "overflow", but can be modified using {Wx::GRID::Grid#set_default_cell_fit_mode}.
1030
- # @see Wx::GridFitMode
1031
- # @return [Wx::GridFitMode]
1036
+ # @see Wx::GRID::GridFitMode
1037
+ # @return [Wx::GRID::GridFitMode]
1032
1038
  def get_default_cell_fit_mode; end
1033
1039
  alias_method :default_cell_fit_mode, :get_default_cell_fit_mode
1034
1040
 
1035
1041
  # Returns true if the cells can overflow by default.
1036
- # This is identical to calling {Wx::GRID::Grid#get_default_cell_fit_mode} and using Wx::GridFitMode#is_overflow on the returned value.
1042
+ # This is identical to calling {Wx::GRID::Grid#get_default_cell_fit_mode} and using {Wx::GRID::GridFitMode#is_overflow} on the returned value.
1037
1043
  # Prefer using {Wx::GRID::Grid#get_default_cell_fit_mode} directly in the new code.
1038
- # @return [true,false]
1044
+ # @return [Boolean]
1039
1045
  def get_default_cell_overflow; end
1040
1046
  alias_method :default_cell_overflow, :get_default_cell_overflow
1041
1047
 
@@ -1079,16 +1085,16 @@ module Wx::GRID
1079
1085
 
1080
1086
  # Returns true if the specified row is not currently hidden.
1081
1087
  # @param row [Integer]
1082
- # @return [true,false]
1088
+ # @return [Boolean]
1083
1089
  def is_row_shown(row) end
1084
1090
  alias_method :row_shown?, :is_row_shown
1085
1091
 
1086
1092
  # Specifies the behaviour of the cell contents if it doesn't fit into the available space.
1087
1093
  #
1088
- # @see Wx::GridFitMode
1094
+ # @see Wx::GRID::GridFitMode
1089
1095
  # @param row [Integer]
1090
1096
  # @param col [Integer]
1091
- # @param fitMode [Wx::GridFitMode]
1097
+ # @param fitMode [Wx::GRID::GridFitMode]
1092
1098
  # @return [void]
1093
1099
  def set_cell_fit_mode(row, col, fitMode) end
1094
1100
 
@@ -1096,7 +1102,7 @@ module Wx::GRID
1096
1102
  # Prefer using {Wx::GRID::Grid#set_cell_fit_mode} in the new code.
1097
1103
  # @param row [Integer]
1098
1104
  # @param col [Integer]
1099
- # @param allow [true,false]
1105
+ # @param allow [Boolean]
1100
1106
  # @return [void]
1101
1107
  def set_cell_overflow(row, col, allow) end
1102
1108
 
@@ -1147,15 +1153,15 @@ module Wx::GRID
1147
1153
 
1148
1154
  # Specifies the default behaviour of the cell contents if it doesn't fit into the available space.
1149
1155
  #
1150
- # @see Wx::GridFitMode
1151
- # @param fitMode [Wx::GridFitMode]
1156
+ # @see Wx::GRID::GridFitMode
1157
+ # @param fitMode [Wx::GRID::GridFitMode]
1152
1158
  # @return [void]
1153
1159
  def set_default_cell_fit_mode(fitMode) end
1154
1160
  alias_method :default_cell_fit_mode=, :set_default_cell_fit_mode
1155
1161
 
1156
1162
  # Sets the default overflow permission of the cells.
1157
1163
  # Prefer using {Wx::GRID::Grid#set_default_cell_fit_mode} in the new code.
1158
- # @param allow [true,false]
1164
+ # @param allow [Boolean]
1159
1165
  # @return [void]
1160
1166
  def set_default_cell_overflow(allow) end
1161
1167
  alias_method :default_cell_overflow=, :set_default_cell_overflow
@@ -1164,7 +1170,7 @@ module Wx::GRID
1164
1170
  # This will only affect columns subsequently added to the grid unless resizeExistingCols is true.
1165
1171
  # If width is less than {Wx::GRID::Grid#get_col_minimal_acceptable_width}, then the minimal acceptable width is used instead of it.
1166
1172
  # @param width [Integer]
1167
- # @param resizeExistingCols [true,false]
1173
+ # @param resizeExistingCols [Boolean]
1168
1174
  # @return [void]
1169
1175
  def set_default_col_size(width, resizeExistingCols=false) end
1170
1176
  alias_method :default_col_size=, :set_default_col_size
@@ -1173,7 +1179,7 @@ module Wx::GRID
1173
1179
  # This will only affect rows subsequently added to the grid unless resizeExistingRows is true.
1174
1180
  # If height is less than {Wx::GRID::Grid#get_row_minimal_acceptable_height}, then the minimal acceptable height is used instead of it.
1175
1181
  # @param height [Integer]
1176
- # @param resizeExistingRows [true,false]
1182
+ # @param resizeExistingRows [Boolean]
1177
1183
  # @return [void]
1178
1184
  def set_default_row_size(height, resizeExistingRows=false) end
1179
1185
  alias_method :default_row_size=, :set_default_row_size
@@ -1224,24 +1230,24 @@ module Wx::GRID
1224
1230
 
1225
1231
  # Get size information for all columns at once.
1226
1232
  # This method is useful when the information about all column widths needs to be saved. The widths can be later restored using {Wx::GRID::Grid#set_col_sizes}.
1227
- # @see Wx::GridSizesInfo
1233
+ # @see Wx::GRID::GridSizesInfo
1228
1234
  # @see Wx::GRID::Grid#get_row_sizes
1229
- # @return [Wx::GridSizesInfo]
1235
+ # @return [Wx::GRID::GridSizesInfo]
1230
1236
  def get_col_sizes; end
1231
1237
  alias_method :col_sizes, :get_col_sizes
1232
1238
 
1233
1239
  # Get size information for all row at once.
1234
1240
  #
1235
- # @see Wx::GridSizesInfo
1241
+ # @see Wx::GRID::GridSizesInfo
1236
1242
  # @see Wx::GRID::Grid#get_col_sizes
1237
- # @return [Wx::GridSizesInfo]
1243
+ # @return [Wx::GRID::GridSizesInfo]
1238
1244
  def get_row_sizes; end
1239
1245
  alias_method :row_sizes, :get_row_sizes
1240
1246
 
1241
1247
  # Restore all columns sizes.
1242
- # This is usually called with {Wx::GridSizesInfo} object previously returned by {Wx::GRID::Grid#get_col_sizes}.
1248
+ # This is usually called with {Wx::GRID::GridSizesInfo} object previously returned by {Wx::GRID::Grid#get_col_sizes}.
1243
1249
  # @see Wx::GRID::Grid#set_row_sizes
1244
- # @param sizeInfo [Wx::GridSizesInfo]
1250
+ # @param sizeInfo [Wx::GRID::GridSizesInfo]
1245
1251
  # @return [void]
1246
1252
  def set_col_sizes(sizeInfo) end
1247
1253
  alias_method :col_sizes=, :set_col_sizes
@@ -1249,7 +1255,7 @@ module Wx::GRID
1249
1255
  # Restore all rows sizes.
1250
1256
  #
1251
1257
  # @see Wx::GRID::Grid#set_col_sizes
1252
- # @param sizeInfo [Wx::GridSizesInfo]
1258
+ # @param sizeInfo [Wx::GRID::GridSizesInfo]
1253
1259
  # @return [void]
1254
1260
  def set_row_sizes(sizeInfo) end
1255
1261
  alias_method :row_sizes=, :set_row_sizes
@@ -1283,30 +1289,30 @@ module Wx::GRID
1283
1289
  # The kind of this cell span (the return value is new in wxWidgets 2.9.1, this function was void in previous wxWidgets versions).
1284
1290
  # @param row [Integer] The row of the cell.
1285
1291
  # @param col [Integer] The column of the cell.
1286
- # @return [Array(CellSpan,Integer,Integer)]
1292
+ # @return [Array(Wx::wxGrid::CellSpan,Integer,Integer)]
1287
1293
  # @overload get_cell_size(coords)
1288
1294
  # Get the number of rows and columns allocated for this cell.
1289
1295
  # This overload doesn't return a CellSpan value but the values returned may still be negative, see GetCellSize(int, int, int *, int *) for details.
1290
- # @param coords [Wx::GridCellCoords]
1296
+ # @param coords [Array(Integer, Integer)]
1291
1297
  # @return [Wx::Size]
1292
1298
  def get_cell_size(*args) end
1293
1299
  alias_method :cell_size, :get_cell_size
1294
1300
 
1295
1301
  # Return true if the dragging of cells is enabled or false otherwise.
1296
- # @return [true,false]
1302
+ # @return [Boolean]
1297
1303
  def can_drag_cell; end
1298
1304
  alias_method :can_drag_cell?, :can_drag_cell
1299
1305
 
1300
1306
  # Returns true if columns can be moved by dragging with the mouse.
1301
1307
  # Columns can be moved by dragging on their labels.
1302
- # @return [true,false]
1308
+ # @return [Boolean]
1303
1309
  def can_drag_col_move; end
1304
1310
  alias_method :can_drag_col_move?, :can_drag_col_move
1305
1311
 
1306
1312
  # Returns true if the given column can be resized by dragging with the mouse.
1307
1313
  # This function returns true if resizing the columns interactively is globally enabled, i.e. if {Wx::GRID::Grid#disable_drag_col_size} hadn't been called, and if this column wasn't explicitly marked as non-resizable with {Wx::GRID::Grid#disable_col_resize}.
1308
1314
  # @param col [Integer]
1309
- # @return [true,false]
1315
+ # @return [Boolean]
1310
1316
  def can_drag_col_size(col) end
1311
1317
  alias_method :can_drag_col_size?, :can_drag_col_size
1312
1318
 
@@ -1314,7 +1320,7 @@ module Wx::GRID
1314
1320
  #
1315
1321
  # @see Wx::GRID::Grid#can_drag_grid_size
1316
1322
  # @see Wx::GRID::Grid#can_drag_col_size
1317
- # @return [true,false]
1323
+ # @return [Boolean]
1318
1324
  def can_drag_grid_col_edges; end
1319
1325
  alias_method :can_drag_grid_col_edges?, :can_drag_grid_col_edges
1320
1326
 
@@ -1322,30 +1328,30 @@ module Wx::GRID
1322
1328
  #
1323
1329
  # @see Wx::GRID::Grid#can_drag_grid_size
1324
1330
  # @see Wx::GRID::Grid#can_drag_row_size
1325
- # @return [true,false]
1331
+ # @return [Boolean]
1326
1332
  def can_drag_grid_row_edges; end
1327
1333
  alias_method :can_drag_grid_row_edges?, :can_drag_grid_row_edges
1328
1334
 
1329
1335
  # Return true if the dragging of grid lines to resize rows and columns is enabled or false otherwise.
1330
- # @return [true,false]
1336
+ # @return [Boolean]
1331
1337
  def can_drag_grid_size; end
1332
1338
  alias_method :can_drag_grid_size?, :can_drag_grid_size
1333
1339
 
1334
1340
  # Returns true if rows can be moved by dragging with the mouse.
1335
1341
  # Rows can be moved by dragging on their labels.
1336
- # @return [true,false]
1342
+ # @return [Boolean]
1337
1343
  def can_drag_row_move; end
1338
1344
  alias_method :can_drag_row_move?, :can_drag_row_move
1339
1345
 
1340
1346
  # Returns true if the given row can be resized by dragging with the mouse.
1341
1347
  # This is the same as {Wx::GRID::Grid#can_drag_col_size} but for rows.
1342
1348
  # @param row [Integer]
1343
- # @return [true,false]
1349
+ # @return [Boolean]
1344
1350
  def can_drag_row_size(row) end
1345
1351
  alias_method :can_drag_row_size?, :can_drag_row_size
1346
1352
 
1347
1353
  # Returns true if columns can be hidden from the popup menu of the native header.
1348
- # @return [true,false]
1354
+ # @return [Boolean]
1349
1355
  def can_hide_columns; end
1350
1356
  alias_method :can_hide_columns?, :can_hide_columns
1351
1357
 
@@ -1396,38 +1402,38 @@ module Wx::GRID
1396
1402
  def disable_hiding_columns; end
1397
1403
 
1398
1404
  # Enables or disables cell dragging with the mouse.
1399
- # @param enable [true,false]
1405
+ # @param enable [Boolean]
1400
1406
  # @return [void]
1401
1407
  def enable_drag_cell(enable=true) end
1402
1408
 
1403
1409
  # Enables or disables column moving by dragging with the mouse.
1404
1410
  # Note that reordering columns by dragging them is currently not supported when the grid has any frozen columns (see {Wx::GRID::Grid#freeze_to}) and if this method is called with enable equal to true in this situation, it returns false without doing anything. Otherwise it returns true to indicate that it was successful.
1405
- # @param enable [true,false]
1406
- # @return [true,false]
1411
+ # @param enable [Boolean]
1412
+ # @return [Boolean]
1407
1413
  def enable_drag_col_move(enable=true) end
1408
1414
 
1409
1415
  # Enables or disables row moving by dragging with the mouse.
1410
1416
  # Note that reordering rows by dragging them is currently not supported when the grid has any frozen columns (see {Wx::GRID::Grid#freeze_to}) and if this method is called with enable equal to true in this situation, it returns false without doing anything. Otherwise it returns true to indicate that it was successful.
1411
- # @param enable [true,false]
1412
- # @return [true,false]
1417
+ # @param enable [Boolean]
1418
+ # @return [Boolean]
1413
1419
  def enable_drag_row_move(enable=true) end
1414
1420
 
1415
1421
  # Enables or disables column sizing by dragging with the mouse.
1416
1422
  #
1417
1423
  # @see Wx::GRID::Grid#disable_col_resize
1418
- # @param enable [true,false]
1424
+ # @param enable [Boolean]
1419
1425
  # @return [void]
1420
1426
  def enable_drag_col_size(enable=true) end
1421
1427
 
1422
1428
  # Enables or disables row and column resizing by dragging gridlines with the mouse.
1423
- # @param enable [true,false]
1429
+ # @param enable [Boolean]
1424
1430
  # @return [void]
1425
1431
  def enable_drag_grid_size(enable=true) end
1426
1432
 
1427
1433
  # Enables or disables row sizing by dragging with the mouse.
1428
1434
  #
1429
1435
  # @see Wx::GRID::Grid#disable_row_resize
1430
- # @param enable [true,false]
1436
+ # @param enable [Boolean]
1431
1437
  # @return [void]
1432
1438
  def enable_drag_row_size(enable=true) end
1433
1439
 
@@ -1436,8 +1442,8 @@ module Wx::GRID
1436
1442
  # If the native header is not used, this method always simply returns false without doing anything, as hiding columns is not supported anyhow. If enable value is the same as {Wx::GRID::Grid#can_hide_columns}, it also returns false to indicate that nothing was done. Otherwise, it returns true to indicate that the value of this option was successfully changed.
1437
1443
  # The main use case for this method is to disallow hiding the columns interactively when using the native header.
1438
1444
  # @see Wx::GRID::Grid#disable_hiding_columns
1439
- # @param enable [true,false]
1440
- # @return [true,false]
1445
+ # @param enable [Boolean]
1446
+ # @return [Boolean]
1441
1447
  def enable_hiding_columns(enable=true) end
1442
1448
 
1443
1449
  # Returns the column ID of the specified column position.
@@ -1459,7 +1465,7 @@ module Wx::GRID
1459
1465
  def set_col_pos(colID, newPos) end
1460
1466
 
1461
1467
  # Sets the positions of all columns at once.
1462
- # This method takes an array containing the indices of the columns in their display order, i.e. uses the same convention as Wx::HeaderCtrl#set_columns_order.
1468
+ # This method takes an array containing the indices of the columns in their display order, i.e. uses the same convention as {Wx::HeaderCtrl#set_columns_order}.
1463
1469
  # @param order [Array<Integer>]
1464
1470
  # @return [void]
1465
1471
  def set_columns_order(order) end
@@ -1500,7 +1506,7 @@ module Wx::GRID
1500
1506
 
1501
1507
  # Returns the current grid cursor position.
1502
1508
  # If grid cursor doesn't have any valid position (e.g. if the grid is completely empty and doesn't have any rows or columns), returns {Wx::GridNoCellCoords} which has both row and columns set to <code>-1</code>.
1503
- # @return [Wx::GridCellCoords]
1509
+ # @return [Array(Integer, Integer)]
1504
1510
  def get_grid_cursor_coords; end
1505
1511
  alias_method :grid_cursor_coords, :get_grid_cursor_coords
1506
1512
 
@@ -1527,64 +1533,64 @@ module Wx::GRID
1527
1533
  # @overload go_to_cell(coords)
1528
1534
  # Make the given cell current and ensure it is visible.
1529
1535
  # This method is equivalent to calling {Wx::GRID::Grid#make_cell_visible} and {Wx::GRID::Grid#set_grid_cursor} and so, as with the latter, a {Wx::GRID::EVT_GRID_SELECT_CELL} event is generated by it and the selected cell doesn't change if the event is vetoed.
1530
- # @param coords [Wx::GridCellCoords]
1536
+ # @param coords [Array(Integer, Integer)]
1531
1537
  # @return [void]
1532
1538
  def go_to_cell(*args) end
1533
1539
 
1534
1540
  # Moves the grid cursor down by one row.
1535
1541
  # If a block of cells was previously selected it will expand if the argument is true or be cleared if the argument is false.
1536
- # @param expandSelection [true,false]
1537
- # @return [true,false]
1542
+ # @param expandSelection [Boolean]
1543
+ # @return [Boolean]
1538
1544
  def move_cursor_down(expandSelection) end
1539
1545
 
1540
1546
  # Moves the grid cursor down in the current column such that it skips to the beginning or end of a block of non-empty cells.
1541
1547
  # If a block of cells was previously selected it will expand if the argument is true or be cleared if the argument is false.
1542
- # @param expandSelection [true,false]
1543
- # @return [true,false]
1548
+ # @param expandSelection [Boolean]
1549
+ # @return [Boolean]
1544
1550
  def move_cursor_down_block(expandSelection) end
1545
1551
 
1546
1552
  # Moves the grid cursor left by one column.
1547
1553
  # If a block of cells was previously selected it will expand if the argument is true or be cleared if the argument is false.
1548
- # @param expandSelection [true,false]
1549
- # @return [true,false]
1554
+ # @param expandSelection [Boolean]
1555
+ # @return [Boolean]
1550
1556
  def move_cursor_left(expandSelection) end
1551
1557
 
1552
1558
  # Moves the grid cursor left in the current row such that it skips to the beginning or end of a block of non-empty cells.
1553
1559
  # If a block of cells was previously selected it will expand if the argument is true or be cleared if the argument is false.
1554
- # @param expandSelection [true,false]
1555
- # @return [true,false]
1560
+ # @param expandSelection [Boolean]
1561
+ # @return [Boolean]
1556
1562
  def move_cursor_left_block(expandSelection) end
1557
1563
 
1558
1564
  # Moves the grid cursor right by one column.
1559
1565
  # If a block of cells was previously selected it will expand if the argument is true or be cleared if the argument is false.
1560
- # @param expandSelection [true,false]
1561
- # @return [true,false]
1566
+ # @param expandSelection [Boolean]
1567
+ # @return [Boolean]
1562
1568
  def move_cursor_right(expandSelection) end
1563
1569
 
1564
1570
  # Moves the grid cursor right in the current row such that it skips to the beginning or end of a block of non-empty cells.
1565
1571
  # If a block of cells was previously selected it will expand if the argument is true or be cleared if the argument is false.
1566
- # @param expandSelection [true,false]
1567
- # @return [true,false]
1572
+ # @param expandSelection [Boolean]
1573
+ # @return [Boolean]
1568
1574
  def move_cursor_right_block(expandSelection) end
1569
1575
 
1570
1576
  # Moves the grid cursor up by one row.
1571
1577
  # If a block of cells was previously selected it will expand if the argument is true or be cleared if the argument is false.
1572
- # @param expandSelection [true,false]
1573
- # @return [true,false]
1578
+ # @param expandSelection [Boolean]
1579
+ # @return [Boolean]
1574
1580
  def move_cursor_up(expandSelection) end
1575
1581
 
1576
1582
  # Moves the grid cursor up in the current column such that it skips to the beginning or end of a block of non-empty cells.
1577
1583
  # If a block of cells was previously selected it will expand if the argument is true or be cleared if the argument is false.
1578
- # @param expandSelection [true,false]
1579
- # @return [true,false]
1584
+ # @param expandSelection [Boolean]
1585
+ # @return [Boolean]
1580
1586
  def move_cursor_up_block(expandSelection) end
1581
1587
 
1582
1588
  # Moves the grid cursor down by some number of rows so that the previous bottom visible row becomes the top visible row.
1583
- # @return [true,false]
1589
+ # @return [Boolean]
1584
1590
  def move_page_down; end
1585
1591
 
1586
1592
  # Moves the grid cursor up by some number of rows so that the previous top visible row becomes the bottom visible row.
1587
- # @return [true,false]
1593
+ # @return [Boolean]
1588
1594
  def move_page_up; end
1589
1595
 
1590
1596
  # @overload set_grid_cursor(row, col)
@@ -1600,7 +1606,7 @@ module Wx::GRID
1600
1606
  # The grid cursor indicates the current cell and can be moved by the user using the arrow keys or the mouse.
1601
1607
  # Calling this function generates a {Wx::GRID::EVT_GRID_SELECT_CELL} event and if the event handler vetoes this event, the cursor is not moved.
1602
1608
  # This function doesn't make the target call visible, use {Wx::GRID::Grid#go_to_cell} to do this.
1603
- # @param coords [Wx::GridCellCoords]
1609
+ # @param coords [Array(Integer, Integer)]
1604
1610
  # @return [void]
1605
1611
  def set_grid_cursor(*args) end
1606
1612
  alias_method :grid_cursor=, :set_grid_cursor
@@ -1609,7 +1615,7 @@ module Wx::GRID
1609
1615
  # Pressing the TAB key moves the grid cursor right in the current row, if there is a cell at the right and, similarly, Shift-TAB moves the cursor to the left in the current row if it's not in the first column.
1610
1616
  # What happens if the cursor can't be moved because it it's already at the beginning or end of the row can be configured using this function, see {Wx::GRID::Grid::TabBehaviour} documentation for the detailed description.
1611
1617
  # IF none of the standard behaviours is appropriate, you can always handle {Wx::GRID::EVT_GRID_TABBING} event directly to implement a custom TAB-handling logic.
1612
- # @param behaviour [TabBehaviour]
1618
+ # @param behaviour [Wx::wxGrid::TabBehaviour]
1613
1619
  # @return [void]
1614
1620
  def set_tab_behaviour(behaviour) end
1615
1621
  alias_method :tab_behaviour=, :set_tab_behaviour
@@ -1640,14 +1646,14 @@ module Wx::GRID
1640
1646
  # This method returns empty vector for the other selection modes.
1641
1647
  # @see Wx::GRID::Grid#get_selected_blocks
1642
1648
  # @see Wx::GRID::Grid#get_selected_col_blocks
1643
- # @return [Wx::GridBlockCoordsVector]
1649
+ # @return [Array<Wx::GRID::GridBlockCoords]
1644
1650
  def get_selected_row_blocks; end
1645
1651
  alias_method :selected_row_blocks, :get_selected_row_blocks
1646
1652
 
1647
1653
  # Returns an ordered range of non-overlapping selected columns.
1648
1654
  # This method is symmetric to {Wx::GRID::Grid#get_selected_row_blocks}, but is useful only in {Wx::GRID::Grid::GridSelectionModes::GridSelectColumns} selection mode.
1649
1655
  # @see Wx::GRID::Grid#get_selected_blocks
1650
- # @return [Wx::GridBlockCoordsVector]
1656
+ # @return [Array<Wx::GRID::GridBlockCoords]
1651
1657
  def get_selected_col_blocks; end
1652
1658
  alias_method :selected_col_blocks, :get_selected_col_blocks
1653
1659
 
@@ -1702,19 +1708,19 @@ module Wx::GRID
1702
1708
  # Returns the current selection mode.
1703
1709
  #
1704
1710
  # @see Wx::GRID::Grid#set_selection_mode.
1705
- # @return [GridSelectionModes]
1711
+ # @return [Wx::wxGrid::GridSelectionModes]
1706
1712
  def get_selection_mode; end
1707
1713
  alias_method :selection_mode, :get_selection_mode
1708
1714
 
1709
1715
  # Returns true if the given cell is selected.
1710
1716
  # @param row [Integer]
1711
1717
  # @param col [Integer]
1712
- # @return [true,false]
1718
+ # @return [Boolean]
1713
1719
  def is_in_selection(row, col) end
1714
1720
  alias_method :in_selection?, :is_in_selection
1715
1721
 
1716
1722
  # Returns true if there are currently any selected cells, rows, columns or blocks.
1717
- # @return [true,false]
1723
+ # @return [Boolean]
1718
1724
  def is_selection; end
1719
1725
  alias_method :selection?, :is_selection
1720
1726
 
@@ -1728,7 +1734,7 @@ module Wx::GRID
1728
1734
  # @param leftCol [Integer]
1729
1735
  # @param bottomRow [Integer]
1730
1736
  # @param rightCol [Integer]
1731
- # @param addToSelected [true,false]
1737
+ # @param addToSelected [Boolean]
1732
1738
  # @return [void]
1733
1739
  def select_block(topRow, leftCol, bottomRow, rightCol, addToSelected=false) end
1734
1740
 
@@ -1736,7 +1742,7 @@ module Wx::GRID
1736
1742
  # If addToSelected is false then any existing selection will be deselected; if true the column will be added to the existing selection.
1737
1743
  # This method won't select anything if the current selection mode is {Wx::GRID::Grid::GridSelectionModes::GridSelectRows}.
1738
1744
  # @param col [Integer]
1739
- # @param addToSelected [true,false]
1745
+ # @param addToSelected [Boolean]
1740
1746
  # @return [void]
1741
1747
  def select_col(col, addToSelected=false) end
1742
1748
 
@@ -1744,7 +1750,7 @@ module Wx::GRID
1744
1750
  # If addToSelected is false then any existing selection will be deselected; if true the row will be added to the existing selection.
1745
1751
  # This method won't select anything if the current selection mode is {Wx::GRID::Grid::GridSelectionModes::GridSelectColumns}.
1746
1752
  # @param row [Integer]
1747
- # @param addToSelected [true,false]
1753
+ # @param addToSelected [Boolean]
1748
1754
  # @return [void]
1749
1755
  def select_row(row, addToSelected=false) end
1750
1756
 
@@ -1762,7 +1768,7 @@ module Wx::GRID
1762
1768
 
1763
1769
  # Set the selection behaviour of the grid.
1764
1770
  # The existing selection is converted to conform to the new mode if possible and discarded otherwise (e.g. any individual selected cells are deselected if the new mode allows only the selection of the entire rows or columns).
1765
- # @param selmode [GridSelectionModes]
1771
+ # @param selmode [Wx::wxGrid::GridSelectionModes]
1766
1772
  # @return [void]
1767
1773
  def set_selection_mode(selmode) end
1768
1774
  alias_method :selection_mode=, :set_selection_mode
@@ -1789,8 +1795,8 @@ module Wx::GRID
1789
1795
  # By default, the cell must be entirely visible for this function to return true but if wholeCellVisible is false, the function returns true even if the cell is only partially visible.
1790
1796
  # @param row [Integer]
1791
1797
  # @param col [Integer]
1792
- # @param wholeCellVisible [true,false]
1793
- # @return [true,false]
1798
+ # @param wholeCellVisible [Boolean]
1799
+ # @return [Boolean]
1794
1800
  def is_visible(row, col, wholeCellVisible=true) end
1795
1801
  alias_method :visible?, :is_visible
1796
1802
 
@@ -1836,9 +1842,9 @@ module Wx::GRID
1836
1842
  # Convert grid cell coordinates to grid window pixel coordinates.
1837
1843
  # This function returns the rectangle that encloses the block of cells limited by topLeft and bottomRight cell in device coords and clipped to the client size of the grid window.
1838
1844
  # @see Wx::GRID::Grid#cell_to_rect
1839
- # @param topLeft [Wx::GridCellCoords]
1840
- # @param bottomRight [Wx::GridCellCoords]
1841
- # @param gridWindow [Wx::GridWindow]
1845
+ # @param topLeft [Array(Integer, Integer)]
1846
+ # @param bottomRight [Array(Integer, Integer)]
1847
+ # @param gridWindow [Wx::GRID::GridWindow]
1842
1848
  # @return [Wx::Rect]
1843
1849
  def block_to_device_rect(topLeft, bottomRight, gridWindow=nil) end
1844
1850
 
@@ -1855,56 +1861,47 @@ module Wx::GRID
1855
1861
  # In a grid without frozen rows or columns (see {Wx::GRID::Grid#freeze_to}), this will always return the same window as {Wx::GRID::Grid#get_grid_window}, however if some parts of the grid are frozen, this function returns the window containing the given cell.
1856
1862
  # @param row [Integer]
1857
1863
  # @param col [Integer]
1858
- # @return [Wx::GridWindow]
1864
+ # @return [Wx::GRID::GridWindow]
1859
1865
  # @overload cell_to_grid_window(coords)
1860
1866
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1861
- # @param coords [Wx::GridCellCoords]
1862
- # @return [Wx::GridWindow]
1867
+ # @param coords [Array(Integer, Integer)]
1868
+ # @return [Wx::GRID::GridWindow]
1863
1869
  def cell_to_grid_window(*args) end
1864
1870
 
1865
1871
  # @overload device_pos_to_grid_window(pos)
1866
1872
  # Returns the grid window that includes the input coordinates.
1867
1873
  # @param pos [Wx::Point]
1868
- # @return [Wx::GridWindow]
1874
+ # @return [Wx::GRID::GridWindow]
1869
1875
  # @overload device_pos_to_grid_window(x, y)
1870
1876
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1871
1877
  # @param x [Integer]
1872
1878
  # @param y [Integer]
1873
- # @return [Wx::GridWindow]
1879
+ # @return [Wx::GRID::GridWindow]
1874
1880
  def device_pos_to_grid_window(*args) end
1875
1881
 
1876
- # @overload get_grid_window_offset(gridWindow, x, y)
1877
- # Returns the grid window's offset from the grid starting position taking into account the frozen cells.
1878
- # If there are no frozen cells, returns (0, 0).
1879
- # @see Wx::GRID::Grid#freeze_to
1880
- # @param gridWindow [Wx::GridWindow]
1881
- # @param x [int]
1882
- # @param y [int]
1883
- # @return [void]
1884
- # @overload get_grid_window_offset(gridWindow)
1885
- # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1886
- # @param gridWindow [Wx::GridWindow]
1887
- # @return [Wx::Point]
1888
- def get_grid_window_offset(*args) end
1882
+ # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1883
+ # @param gridWindow [Wx::GRID::GridWindow]
1884
+ # @return [Wx::Point]
1885
+ def get_grid_window_offset(gridWindow) end
1889
1886
  alias_method :grid_window_offset, :get_grid_window_offset
1890
1887
 
1891
1888
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1892
1889
  # @param pt [Array(Integer, Integer), Wx::Point]
1893
- # @param gridWindow [Wx::GridWindow]
1890
+ # @param gridWindow [Wx::GRID::GridWindow]
1894
1891
  # @return [Wx::Point]
1895
1892
  def calc_grid_window_unscrolled_position(pt, gridWindow) end
1896
1893
 
1897
1894
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1898
1895
  # @param pt [Array(Integer, Integer), Wx::Point]
1899
- # @param gridWindow [Wx::GridWindow]
1896
+ # @param gridWindow [Wx::GRID::GridWindow]
1900
1897
  # @return [Wx::Point]
1901
1898
  def calc_grid_window_scrolled_position(pt, gridWindow) end
1902
1899
 
1903
1900
  # Returns the column at the given pixel position depending on the window.
1904
1901
  # The column index or {Wx::NOT_FOUND}.
1905
1902
  # @param x [Integer] The x position to evaluate.
1906
- # @param clipToMinMax [true,false] If true, rather than returning {Wx::NOT_FOUND}, it returns either the first or last column depending on whether x is too far to the left or right respectively.
1907
- # @param gridWindow [Wx::GridWindow] The associated grid window that limits the search (note that this parameter is only available since wxWidgets 3.1.3). If gridWindow is NULL, it will consider all the cells, no matter which grid they belong to.
1903
+ # @param clipToMinMax [Boolean] If true, rather than returning {Wx::NOT_FOUND}, it returns either the first or last column depending on whether x is too far to the left or right respectively.
1904
+ # @param gridWindow [Wx::GRID::GridWindow] The associated grid window that limits the search (note that this parameter is only available since wxWidgets 3.1.3). If gridWindow is NULL, it will consider all the cells, no matter which grid they belong to.
1908
1905
  # @return [Integer]
1909
1906
  def x_to_col(x, clipToMinMax=false, gridWindow=nil) end
1910
1907
 
@@ -1923,12 +1920,12 @@ module Wx::GRID
1923
1920
  # @see Wx::GRID::Grid#y_to_row
1924
1921
  # @param x [Integer]
1925
1922
  # @param y [Integer]
1926
- # @param gridWindow [Wx::GridWindow]
1923
+ # @param gridWindow [Wx::GRID::GridWindow]
1927
1924
  # @return [Array(Integer, Integer)]
1928
1925
  # @overload xy_to_cell(pos, gridWindow=nil)
1929
1926
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1930
1927
  # @param pos [Array(Integer, Integer), Wx::Point]
1931
- # @param gridWindow [Wx::GridWindow]
1928
+ # @param gridWindow [Wx::GRID::GridWindow]
1932
1929
  # @return [Array(Integer, Integer)]
1933
1930
  def xy_to_cell(*args) end
1934
1931
 
@@ -1942,8 +1939,8 @@ module Wx::GRID
1942
1939
  # The parameter gridWindow is new since wxWidgets 3.1.3. If it is specified, i.e. non-NULL, only the cells of this window are considered, i.e. the function returns {Wx::NOT_FOUND} if y is out of bounds.
1943
1940
  # If gridWindow is NULL, the function returns {Wx::NOT_FOUND} only if there is no row at all at the y position.
1944
1941
  # @param y [Integer]
1945
- # @param clipToMinMax [true,false]
1946
- # @param gridWindow [Wx::GridWindow]
1942
+ # @param clipToMinMax [Boolean]
1943
+ # @param gridWindow [Wx::GRID::GridWindow]
1947
1944
  # @return [Integer]
1948
1945
  def y_to_row(y, clipToMinMax=false, gridWindow=nil) end
1949
1946
 
@@ -1951,30 +1948,30 @@ module Wx::GRID
1951
1948
  # The updateLabels argument is not used at present. If you are using a derived grid table class you will need to override {Wx::GRID::GridTableBase#append_cols}. See {Wx::GRID::Grid#insert_cols} for further information.
1952
1949
  # true on success or false if appending columns failed.
1953
1950
  # @param numCols [Integer]
1954
- # @param updateLabels [true,false]
1955
- # @return [true,false]
1951
+ # @param updateLabels [Boolean]
1952
+ # @return [Boolean]
1956
1953
  def append_cols(numCols=1, updateLabels=true) end
1957
1954
 
1958
1955
  # Appends one or more new rows to the bottom of the grid.
1959
1956
  # The updateLabels argument is not used at present. If you are using a derived grid table class you will need to override {Wx::GRID::GridTableBase#append_rows}. See {Wx::GRID::Grid#insert_rows} for further information.
1960
1957
  # true on success or false if appending rows failed.
1961
1958
  # @param numRows [Integer]
1962
- # @param updateLabels [true,false]
1963
- # @return [true,false]
1959
+ # @param updateLabels [Boolean]
1960
+ # @return [Boolean]
1964
1961
  def append_rows(numRows=1, updateLabels=true) end
1965
1962
 
1966
1963
  # Return true if the horizontal grid lines stop at the last column boundary or false if they continue to the end of the window.
1967
1964
  # The default is to clip grid lines.
1968
1965
  # @see Wx::GRID::Grid#clip_horz_grid_lines
1969
1966
  # @see Wx::GRID::Grid#are_vert_grid_lines_clipped
1970
- # @return [true,false]
1967
+ # @return [Boolean]
1971
1968
  def are_horz_grid_lines_clipped; end
1972
1969
 
1973
1970
  # Return true if the vertical grid lines stop at the last row boundary or false if they continue to the end of the window.
1974
1971
  # The default is to clip grid lines.
1975
1972
  # @see Wx::GRID::Grid#clip_vert_grid_lines
1976
1973
  # @see Wx::GRID::Grid#are_horz_grid_lines_clipped
1977
- # @return [true,false]
1974
+ # @return [Boolean]
1978
1975
  def are_vert_grid_lines_clipped; end
1979
1976
 
1980
1977
  # Increments the grid's batch count.
@@ -1992,7 +1989,7 @@ module Wx::GRID
1992
1989
  # By default the grid lines are not drawn beyond the end of the last column but after calling this function with clip set to false they will be drawn across the entire grid window.
1993
1990
  # @see Wx::GRID::Grid#are_horz_grid_lines_clipped
1994
1991
  # @see Wx::GRID::Grid#clip_vert_grid_lines
1995
- # @param clip [true,false]
1992
+ # @param clip [Boolean]
1996
1993
  # @return [void]
1997
1994
  def clip_horz_grid_lines(clip) end
1998
1995
 
@@ -2000,7 +1997,7 @@ module Wx::GRID
2000
1997
  # By default the grid lines are not drawn beyond the end of the last row but after calling this function with clip set to false they will be drawn across the entire grid window.
2001
1998
  # @see Wx::GRID::Grid#are_vert_grid_lines_clipped
2002
1999
  # @see Wx::GRID::Grid#clip_horz_grid_lines
2003
- # @param clip [true,false]
2000
+ # @param clip [Boolean]
2004
2001
  # @return [void]
2005
2002
  def clip_vert_grid_lines(clip) end
2006
2003
 
@@ -2009,8 +2006,8 @@ module Wx::GRID
2009
2006
  # true on success or false if deleting columns failed.
2010
2007
  # @param pos [Integer]
2011
2008
  # @param numCols [Integer]
2012
- # @param updateLabels [true,false]
2013
- # @return [true,false]
2009
+ # @param updateLabels [Boolean]
2010
+ # @return [Boolean]
2014
2011
  def delete_cols(pos=0, numCols=1, updateLabels=true) end
2015
2012
 
2016
2013
  # Deletes one or more rows from a grid starting at the specified position.
@@ -2018,8 +2015,8 @@ module Wx::GRID
2018
2015
  # true on success or false if deleting rows failed.
2019
2016
  # @param pos [Integer]
2020
2017
  # @param numRows [Integer]
2021
- # @param updateLabels [true,false]
2022
- # @return [true,false]
2018
+ # @param updateLabels [Boolean]
2019
+ # @return [Boolean]
2023
2020
  def delete_rows(pos=0, numRows=1, updateLabels=true) end
2024
2021
 
2025
2022
  # @overload freeze_to(row, col)
@@ -2036,11 +2033,11 @@ module Wx::GRID
2036
2033
  # (some of these limitations could be lifted in the future).
2037
2034
  # @param row [unsigned] The number of rows to freeze, 0 means to unfreeze all rows.
2038
2035
  # @param col [unsigned] The number of columns to freeze, 0 means to unfreeze all columns.
2039
- # @return [true,false]
2036
+ # @return [Boolean]
2040
2037
  # @overload freeze_to(coords)
2041
2038
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
2042
- # @param coords [Wx::GridCellCoords]
2043
- # @return [true,false]
2039
+ # @param coords [Array(Integer, Integer)]
2040
+ # @return [Boolean]
2044
2041
  def freeze_to(*args) end
2045
2042
 
2046
2043
  # Decrements the grid's batch count.
@@ -2112,8 +2109,8 @@ module Wx::GRID
2112
2109
  # true if the columns were successfully inserted, false if an error occurred (most likely the table couldn't be updated).
2113
2110
  # @param pos [Integer] The position which the first newly inserted column will have.
2114
2111
  # @param numCols [Integer] The number of columns to insert.
2115
- # @param updateLabels [true,false] Currently not used.
2116
- # @return [true,false]
2112
+ # @param updateLabels [Boolean] Currently not used.
2113
+ # @return [Boolean]
2117
2114
  def insert_cols(pos=0, numCols=1, updateLabels=true) end
2118
2115
 
2119
2116
  # Inserts one or more new rows into a grid with the first new row at the specified position.
@@ -2122,8 +2119,8 @@ module Wx::GRID
2122
2119
  # true if the rows were successfully inserted, false if an error occurred (most likely the table couldn't be updated).
2123
2120
  # @param pos [Integer] The position which the first newly inserted row will have.
2124
2121
  # @param numRows [Integer] The number of rows to insert.
2125
- # @param updateLabels [true,false] Currently not used.
2126
- # @return [true,false]
2122
+ # @param updateLabels [Boolean] Currently not used.
2123
+ # @return [Boolean]
2127
2124
  def insert_rows(pos=0, numRows=1, updateLabels=true) end
2128
2125
 
2129
2126
  # Invalidates the cached attribute for the given cell.
@@ -2137,8 +2134,8 @@ module Wx::GRID
2137
2134
  # Redraw all the cells in the given block.
2138
2135
  # Refresh the block of cells with the given corners.
2139
2136
  # If the bottom right corner coordinates are invalid, i.e. set to <code>-1</code>, the top left corner coordinates are used for it, i.e. just a single cell is refreshed. If the top left corner coordinates are invalid as well, the function simply returns without doing anything. Note, however, that both coordinates need to be valid or invalid simultaneously, i.e. setting the top row to <code>-1</code> but using a valid value for the left column is unsupported and would result in an assertion failure.
2140
- # @param topLeft [Wx::GridCellCoords]
2141
- # @param bottomRight [Wx::GridCellCoords]
2137
+ # @param topLeft [Array(Integer, Integer)]
2138
+ # @param bottomRight [Array(Integer, Integer)]
2142
2139
  # @return [void]
2143
2140
  # @overload refresh_block(topRow, leftCol, bottomRow, rightCol)
2144
2141
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
@@ -2154,8 +2151,8 @@ module Wx::GRID
2154
2151
  # @param dc [Wx::DC] The {Wx::DC} to be drawn on.
2155
2152
  # @param pos [Array(Integer, Integer), Wx::Point] The position on the {Wx::DC} where rendering should begin. If not specified drawing will begin at the {Wx::DC} MaxX() and MaxY().
2156
2153
  # @param size [Array(Integer, Integer), Wx::Size] The size of the area on the {Wx::DC} that the rendered {Wx::GRID::Grid} should occupy. If not specified the drawing will be scaled to fit the available dc width or height. The {Wx::GRID::Grid}'s aspect ratio is maintained whether or not size is specified.
2157
- # @param topLeft [Wx::GridCellCoords] The top left cell of the block to be drawn. Defaults to ( 0, 0 ).
2158
- # @param bottomRight [Wx::GridCellCoords] The bottom right cell of the block to be drawn. Defaults to row and column counts.
2154
+ # @param topLeft [Array(Integer, Integer)] The top left cell of the block to be drawn. Defaults to ( 0, 0 ).
2155
+ # @param bottomRight [Array(Integer, Integer)] The bottom right cell of the block to be drawn. Defaults to row and column counts.
2159
2156
  # @param style [Integer] A combination of values from {Wx::GRID::GridRenderStyle}.
2160
2157
  # @return [void]
2161
2158
  def render(dc, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, topLeft=(Wx::GridCellCoords.new(-1, -1)), bottomRight=(Wx::GridCellCoords.new(-1, -1)), style=Wx::GRID::GridRenderStyle::GRID_DRAW_DEFAULT) end
@@ -2195,7 +2192,7 @@ module Wx::GRID
2195
2192
  # The updateLabels argument is not used at present. If you are using a derived grid table class you will need to override {Wx::GRID::GridTableBase#append_cols}. See {Wx::GRID::Grid#insert_cols} for further information.
2196
2193
  # true on success or false if appending columns failed.
2197
2194
  # @param reg [Wx::Region]
2198
- # @param gridWindow [Wx::GridWindow]
2195
+ # @param gridWindow [Wx::GRID::GridWindow]
2199
2196
  # @return [Array<Integer>]
2200
2197
  def calc_row_labels_exposed(reg, gridWindow=nil) end
2201
2198
 
@@ -2203,7 +2200,7 @@ module Wx::GRID
2203
2200
  # The updateLabels argument is not used at present. If you are using a derived grid table class you will need to override {Wx::GRID::GridTableBase#append_cols}. See {Wx::GRID::Grid#insert_cols} for further information.
2204
2201
  # true on success or false if appending columns failed.
2205
2202
  # @param reg [Wx::Region]
2206
- # @param gridWindow [Wx::GridWindow]
2203
+ # @param gridWindow [Wx::GRID::GridWindow]
2207
2204
  # @return [Array<Integer>]
2208
2205
  def calc_col_labels_exposed(reg, gridWindow=nil) end
2209
2206
 
@@ -2211,7 +2208,7 @@ module Wx::GRID
2211
2208
  # The updateLabels argument is not used at present. If you are using a derived grid table class you will need to override {Wx::GRID::GridTableBase#append_cols}. See {Wx::GRID::Grid#insert_cols} for further information.
2212
2209
  # true on success or false if appending columns failed.
2213
2210
  # @param reg [Wx::Region]
2214
- # @param gridWindow [Wx::GridWindow]
2211
+ # @param gridWindow [Wx::GRID::GridWindow]
2215
2212
  # @return [Array<Array(Integer, Integer)>]
2216
2213
  def calc_cells_exposed(reg, gridWindow=nil) end
2217
2214
 
@@ -2226,14 +2223,14 @@ module Wx::GRID
2226
2223
  #
2227
2224
  # @see Wx::GRID::Grid#get_sorting_column
2228
2225
  # @param col [Integer]
2229
- # @return [true,false]
2226
+ # @return [Boolean]
2230
2227
  def is_sorting_by(col) end
2231
2228
  alias_method :sorting_by?, :is_sorting_by
2232
2229
 
2233
2230
  # Return true if the current sorting order is ascending or false if it is descending.
2234
2231
  # It only makes sense to call this function if {Wx::GRID::Grid#get_sorting_column} returns a valid column index and not {Wx::NOT_FOUND}.
2235
2232
  # @see Wx::GRID::Grid#set_sorting_column
2236
- # @return [true,false]
2233
+ # @return [Boolean]
2237
2234
  def is_sort_order_ascending; end
2238
2235
  alias_method :sort_order_ascending?, :is_sort_order_ascending
2239
2236
 
@@ -2242,7 +2239,7 @@ module Wx::GRID
2242
2239
  # @see Wx::GRID::Grid#get_sorting_column
2243
2240
  # @see Wx::GRID::Grid#is_sort_order_ascending
2244
2241
  # @param col [Integer] The column to display the sorting indicator in or {Wx::NOT_FOUND} to remove any currently displayed sorting indicator.
2245
- # @param ascending [true,false] If true, display the ascending sort indicator, otherwise display the descending sort indicator.
2242
+ # @param ascending [Boolean] If true, display the ascending sort indicator, otherwise display the descending sort indicator.
2246
2243
  # @return [void]
2247
2244
  def set_sorting_column(col, ascending=true) end
2248
2245
  alias_method :sorting_column=, :set_sorting_column
@@ -2303,7 +2300,7 @@ module Wx::GRID
2303
2300
  alias_method :grid_col_header, :get_grid_col_header
2304
2301
 
2305
2302
  # Return true if native header control is currently being used.
2306
- # @return [true,false]
2303
+ # @return [Boolean]
2307
2304
  def is_using_native_header; end
2308
2305
  alias_method :using_native_header?, :is_using_native_header
2309
2306
 
@@ -2393,5 +2390,251 @@ module Wx::GRID
2393
2390
 
2394
2391
  end # Grid
2395
2392
 
2393
+ # Represents coordinates of a block of cells in the grid.
2394
+ # An object of this class contains coordinates of the left top and the bottom right corners of a block.
2395
+ #
2396
+ #
2397
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
2398
+ class GridBlockCoords < ::Object
2399
+
2400
+ # @overload initialize()
2401
+ # Default constructor initializes the object to invalid state.
2402
+ # Initially the coordinates are invalid (-1) and so {Wx::GRID::GridBlockCoords#!()} for an uninitialized {Wx::GRID::GridBlockCoords} returns true.
2403
+ # @return [Wx::GRID::GridBlockCoords]
2404
+ # @overload initialize(topRow, leftCol, bottomRow, rightCol)
2405
+ # Constructor taking a coordinates of the left top and the bottom right corners.
2406
+ # @param topRow [Integer]
2407
+ # @param leftCol [Integer]
2408
+ # @param bottomRow [Integer]
2409
+ # @param rightCol [Integer]
2410
+ # @return [Wx::GRID::GridBlockCoords]
2411
+ def initialize(*args) end
2412
+
2413
+ # Return the row of the left top corner.
2414
+ # @return [Integer]
2415
+ def get_top_row; end
2416
+ alias_method :top_row, :get_top_row
2417
+
2418
+ # Set the row of the left top corner.
2419
+ # @param row [Integer]
2420
+ # @return [void]
2421
+ def set_top_row(row) end
2422
+ alias_method :top_row=, :set_top_row
2423
+
2424
+ # Return the column of the left top corner.
2425
+ # @return [Integer]
2426
+ def get_left_col; end
2427
+ alias_method :left_col, :get_left_col
2428
+
2429
+ # Set the column of the left top corner.
2430
+ # @param col [Integer]
2431
+ # @return [void]
2432
+ def set_left_col(col) end
2433
+ alias_method :left_col=, :set_left_col
2434
+
2435
+ # Return the row of the bottom right corner.
2436
+ # @return [Integer]
2437
+ def get_bottom_row; end
2438
+ alias_method :bottom_row, :get_bottom_row
2439
+
2440
+ # Set the row of the bottom right corner.
2441
+ # @param row [Integer]
2442
+ # @return [void]
2443
+ def set_bottom_row(row) end
2444
+ alias_method :bottom_row=, :set_bottom_row
2445
+
2446
+ # Return the column of the bottom right corner.
2447
+ # @return [Integer]
2448
+ def get_right_col; end
2449
+ alias_method :right_col, :get_right_col
2450
+
2451
+ # Set the column of the bottom right corner.
2452
+ # @param col [Integer]
2453
+ # @return [void]
2454
+ def set_right_col(col) end
2455
+ alias_method :right_col=, :set_right_col
2456
+
2457
+ # Return the coordinates of the top left corner.
2458
+ # @return [Array(Integer, Integer)]
2459
+ def get_top_left; end
2460
+ alias_method :top_left, :get_top_left
2461
+
2462
+ # Return the coordinates of the bottom right corner.
2463
+ # @return [Array(Integer, Integer)]
2464
+ def get_bottom_right; end
2465
+ alias_method :bottom_right, :get_bottom_right
2466
+
2467
+ # Return the canonicalized block where top left coordinates is less then bottom right coordinates.
2468
+ # @return [Wx::GRID::GridBlockCoords]
2469
+ def canonicalize; end
2470
+
2471
+ # Whether the blocks intersect.
2472
+ # true, if the block intersects with the other, false, otherwise.
2473
+ # @param other [Wx::GRID::GridBlockCoords]
2474
+ # @return [Boolean]
2475
+ def intersects(other) end
2476
+
2477
+ # @overload contains(cell)
2478
+ # Check whether this block contains the given cell.
2479
+ # true, if the block contains the cell, false otherwise.
2480
+ # @param cell [Array(Integer, Integer)]
2481
+ # @return [Boolean]
2482
+ # @overload contains(other)
2483
+ # Check whether this block contains another one.
2484
+ # true if other is entirely contained within this block.
2485
+ # @param other [Wx::GRID::GridBlockCoords]
2486
+ # @return [Boolean]
2487
+ def contains(*args) end
2488
+
2489
+ # Calculates the result blocks by subtracting the other block from this block.
2490
+ # Up to 4 blocks. If block doesn't exist in the result, it has value of {Wx::GridNoBlockCoords}.
2491
+ # @param other [Wx::GRID::GridBlockCoords] The block to subtract from this block.
2492
+ # @param splitOrientation [Integer] The block splitting orientation (either {Wx::Orientation::HORIZONTAL} or {Wx::Orientation::VERTICAL}).
2493
+ # @return [Wx::GRID::GridBlockDiffResult]
2494
+ def difference(other, splitOrientation) end
2495
+
2496
+ # Calculates the symmetric difference of the blocks.
2497
+ # Up to 4 blocks. If block doesn't exist in the result, it has value of {Wx::GridNoBlockCoords}.
2498
+ # @param other [Wx::GRID::GridBlockCoords] The block to subtract from this block.
2499
+ # @return [Wx::GRID::GridBlockDiffResult]
2500
+ def sym_difference(other) end
2501
+
2502
+ # Equality operator.
2503
+ # @param other [Wx::GRID::GridBlockCoords]
2504
+ # @return [Boolean]
2505
+ def ==(other) end
2506
+
2507
+ end # GridBlockCoords
2508
+
2509
+ # The helper struct uses as a result type for difference functions of {Wx::GRID::GridBlockCoords} class.
2510
+ # Parts can be uninitialized (equals to {Wx::GridNoBlockCoords}), that means that the corresponding part doesn't exists in the result.
2511
+ #
2512
+ #
2513
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
2514
+ class GridBlockDiffResult < ::Object
2515
+
2516
+ end # GridBlockDiffResult
2517
+
2518
+ # {Wx::GRID::GridSizesInfo} stores information about sizes of all {Wx::GRID::Grid} rows or columns.
2519
+ # It assumes that most of the rows or columns (which are both called elements here as the difference between them doesn't matter at this class level) have the default size and so stores it separately. And it uses a {Wx::HashMap} to store the sizes of all elements which have the non-default size.
2520
+ # This structure is particularly useful for serializing the sizes of all {Wx::GRID::Grid} elements at once.
2521
+ # ===
2522
+ #
2523
+ # Category: Grid Related Classes
2524
+ #
2525
+ #
2526
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
2527
+ class GridSizesInfo < ::Object
2528
+
2529
+ # Default size.
2530
+ #
2531
+ #
2532
+ # @return [Integer]
2533
+ def size_default; end
2534
+ # Default size.
2535
+ #
2536
+ #
2537
+ # @param val [Integer]
2538
+ # @return [void]
2539
+ def size_default=(val); end
2540
+
2541
+ # Map with element indices as keys and their sizes as values.
2542
+ # This map only contains the elements with non-default size.
2543
+ #
2544
+ # @return [Hash]
2545
+ def custom_sizes; end
2546
+ # Map with element indices as keys and their sizes as values.
2547
+ # This map only contains the elements with non-default size.
2548
+ #
2549
+ # @param val [Hash]
2550
+ # @return [void]
2551
+ def custom_sizes=(val); end
2552
+
2553
+ # @overload initialize()
2554
+ # Default constructor.
2555
+ # m_sizeDefault and m_customSizes must be initialized later.
2556
+ # @return [Wx::GRID::GridSizesInfo]
2557
+ # @overload initialize(defSize, allSizes)
2558
+ # Constructor.
2559
+ # This constructor is used by {Wx::GRID::Grid#get_row_sizes} and GetColSizes() methods. User code will usually use the default constructor instead.
2560
+ # @param defSize [Integer] The default element size.
2561
+ # @param allSizes [Array<Integer>] Array containing the sizes of all elements, including those which have the default size.
2562
+ # @return [Wx::GRID::GridSizesInfo]
2563
+ def initialize(*args) end
2564
+
2565
+ # Get the element size.
2566
+ # The size for this element, using m_customSizes if pos is in it or m_sizeDefault otherwise.
2567
+ # @param pos [unsigned] The index of the element.
2568
+ # @return [Integer]
2569
+ def get_size(pos) end
2570
+ alias_method :size, :get_size
2571
+
2572
+ end # GridSizesInfo
2573
+
2574
+ # Allows to specify the behaviour when the cell contents doesn't fit into its allotted space.
2575
+ # Objects of this class are used with {Wx::GRID::GridCellAttr#set_fit_mode} and {Wx::GRID::Grid#set_default_cell_fit_mode} and {Wx::GRID::Grid#set_cell_fit_mode} functions and allow to specify what should happen if the cell contents doesn't fit into the available space. The possibilities are:
2576
+ #
2577
+ # - Overflow into the cell to the right if it is empty, or possibly several cells, if the cell contents still doesn't fit after overflowing into the immediately neighbouring cell.
2578
+ # - Clip the cell contents, discarding the part which doesn't fit.
2579
+ # - Ellipsize the cell contents, i.e. replace the non-fitting part with ellipsis (<code></code>...), putting the ellipsis at the end by default, but possibly at the beginning or in the middle.
2580
+ #
2581
+ # The default behaviour is to overflow, use {Wx::GRID::Grid#set_default_cell_fit_mode} to change this, for example:
2582
+ # ```
2583
+ # grid->SetDefaultCellFitMode(wxGridFitMode::Clip());
2584
+ # ```
2585
+ #
2586
+ # Objects of this class are created using static functions instead of constructors for better readability and can't be changed after creating them except by using the assignment operator.
2587
+ # ===
2588
+ #
2589
+ # Category: Grid Related Classes
2590
+ #
2591
+ #
2592
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
2593
+ class GridFitMode < ::Object
2594
+
2595
+ # Default constructor creates an object not specifying any behaviour.
2596
+ # This constructor is not very useful, use static methods {Wx::GRID::GridFitMode.clip} and {Wx::GRID::GridFitMode.overflow} below to create objects of this class instead.
2597
+ # @return [Wx::GRID::GridFitMode]
2598
+ def initialize; end
2599
+
2600
+ # Return true if the object specifies some particular behaviour.
2601
+ # This method returns false for default-constructed objects of this type only.
2602
+ # @return [Boolean]
2603
+ def is_specified; end
2604
+ alias_method :specified?, :is_specified
2605
+
2606
+ # Return true if the object specifies clipping behaviour.
2607
+ # This method returns true only for the objects returned by {Wx::GRID::GridFitMode.clip}.
2608
+ # @return [Boolean]
2609
+ def is_clip; end
2610
+ alias_method :clip?, :is_clip
2611
+
2612
+ # Return true if the object specifies overflow behaviour.
2613
+ # This method returns true only for the objects returned by {Wx::GRID::GridFitMode.overflow}.
2614
+ # @return [Boolean]
2615
+ def is_overflow; end
2616
+ alias_method :overflow?, :is_overflow
2617
+
2618
+ # Return ellipsize mode, possibly {Wx::EllipsizeMode::ELLIPSIZE_NONE}.
2619
+ # For the objects constructed using {Wx::GRID::GridFitMode.ellipsize}, the same ellipsization mode as was passed to it is returned. For all the other objects, {Wx::EllipsizeMode::ELLIPSIZE_NONE} is.
2620
+ # @return [Wx::EllipsizeMode]
2621
+ def get_ellipsize_mode; end
2622
+ alias_method :ellipsize_mode, :get_ellipsize_mode
2623
+
2624
+ # Pseudo-constructor for object specifying clipping behaviour.
2625
+ # @return [Wx::GRID::GridFitMode]
2626
+ def self.clip; end
2627
+
2628
+ # Pseudo-constructor for object specifying overflow behaviour.
2629
+ # @return [Wx::GRID::GridFitMode]
2630
+ def self.overflow; end
2631
+
2632
+ # Pseudo-constructor for object specifying ellipsize behaviour.
2633
+ # @param ellipsize [Wx::EllipsizeMode]
2634
+ # @return [Wx::GRID::GridFitMode]
2635
+ def self.ellipsize(ellipsize=Wx::EllipsizeMode::ELLIPSIZE_END) end
2636
+
2637
+ end # GridFitMode
2638
+
2396
2639
 
2397
2640
  end