wxruby3 0.9.0.pre.rc.2-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 (703) hide show
  1. checksums.yaml +4 -4
  2. data/INSTALL.md +30 -8
  3. data/README.md +3 -3
  4. data/ext/mkrf_conf_bingem.rb +4 -1
  5. data/ext/wxbase32u_gcc_custom.dll +0 -0
  6. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  7. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  20. data/lib/wx/accessors.rb +10 -2
  21. data/lib/wx/aui/auifloatframe.rb +20 -0
  22. data/lib/wx/aui/auimanager.rb +3 -0
  23. data/lib/wx/aui/auinotebook.rb +17 -0
  24. data/lib/wx/aui/events/evt_list.rb +7 -7
  25. data/lib/wx/aui/require.rb +5 -1
  26. data/lib/wx/aui.rb +4 -1
  27. data/lib/wx/core/acceleratortable.rb +8 -0
  28. data/lib/wx/core/animation.rb +8 -0
  29. data/lib/wx/core/app.rb +8 -0
  30. data/lib/wx/core/array_ext.rb +7 -0
  31. data/lib/wx/core/art_locator.rb +7 -0
  32. data/lib/wx/core/artprovider.rb +9 -0
  33. data/lib/wx/core/bitmap.rb +16 -4
  34. data/lib/wx/core/bitmap_combobox.rb +7 -0
  35. data/lib/wx/core/brush.rb +7 -0
  36. data/lib/wx/core/busycursor.rb +9 -0
  37. data/lib/wx/core/choice.rb +7 -0
  38. data/lib/wx/core/choicedlg.rb +7 -0
  39. data/lib/wx/core/clientdc.rb +9 -0
  40. data/lib/wx/core/clipboard.rb +8 -0
  41. data/lib/wx/core/collapsible_pane.rb +8 -1
  42. data/lib/wx/core/colour.rb +8 -0
  43. data/lib/wx/core/combo_ctrl.rb +110 -0
  44. data/lib/wx/core/combobox.rb +7 -0
  45. data/lib/wx/core/config.rb +303 -0
  46. data/lib/wx/core/controlwithitems.rb +12 -1
  47. data/lib/wx/core/cursor.rb +14 -4
  48. data/lib/wx/core/data_object.rb +7 -0
  49. data/lib/wx/core/dataformat.rb +9 -0
  50. data/lib/wx/core/datetime.rb +14 -0
  51. data/lib/wx/core/dc.rb +7 -0
  52. data/lib/wx/core/dialog.rb +18 -1
  53. data/lib/wx/core/enum.rb +7 -0
  54. data/lib/wx/core/event.rb +7 -0
  55. data/lib/wx/core/event_blocker.rb +7 -0
  56. data/lib/wx/core/event_loop.rb +14 -0
  57. data/lib/wx/core/events/evt_list.rb +76 -0
  58. data/lib/wx/core/evthandler.rb +8 -0
  59. data/lib/wx/core/ext.rb +7 -0
  60. data/lib/wx/core/file_dialog.rb +23 -0
  61. data/lib/wx/core/find_replace_dialog.rb +7 -0
  62. data/lib/wx/core/functions.rb +8 -0
  63. data/lib/wx/core/gauge.rb +10 -1
  64. data/lib/wx/core/genericdirctrl.rb +9 -0
  65. data/lib/wx/core/hboxsizer.rb +16 -0
  66. data/lib/wx/core/helpcontroller.rb +8 -0
  67. data/lib/wx/core/helpcontrollerhelpprovider.rb +9 -0
  68. data/lib/wx/core/helpprovider.rb +10 -1
  69. data/lib/wx/core/icon.rb +17 -6
  70. data/lib/wx/core/id_helper.rb +7 -0
  71. data/lib/wx/core/image.rb +49 -4
  72. data/lib/wx/core/imagelist.rb +8 -1
  73. data/lib/wx/core/listbox.rb +7 -0
  74. data/lib/wx/core/listctrl.rb +26 -13
  75. data/lib/wx/core/locale.rb +8 -0
  76. data/lib/wx/core/log.rb +114 -0
  77. data/lib/wx/core/menu.rb +9 -0
  78. data/lib/wx/core/menu_bar.rb +7 -0
  79. data/lib/wx/core/menuitem.rb +9 -0
  80. data/lib/wx/core/notebook.rb +9 -0
  81. data/lib/wx/core/object.rb +9 -0
  82. data/lib/wx/core/paintdc.rb +7 -0
  83. data/lib/wx/core/pen.rb +7 -0
  84. data/lib/wx/core/pen_info.rb +7 -0
  85. data/lib/wx/core/platform_info.rb +7 -0
  86. data/lib/wx/core/point.rb +8 -0
  87. data/lib/wx/core/real_point.rb +8 -0
  88. data/lib/wx/core/rect.rb +9 -0
  89. data/lib/wx/core/region_iterator.rb +7 -0
  90. data/lib/wx/core/simplehelpprovider.rb +9 -0
  91. data/lib/wx/core/size.rb +8 -0
  92. data/lib/wx/core/sizer.rb +9 -0
  93. data/lib/wx/core/splash_screen.rb +22 -2
  94. data/lib/wx/core/text_entry.rb +7 -0
  95. data/lib/wx/core/textctrl.rb +86 -5
  96. data/lib/wx/core/timer.rb +9 -0
  97. data/lib/wx/core/toolbar.rb +9 -0
  98. data/lib/wx/core/toolbartool.rb +8 -0
  99. data/lib/wx/core/treectrl.rb +9 -0
  100. data/lib/wx/core/v_list_box.rb +7 -0
  101. data/lib/wx/core/validator.rb +7 -0
  102. data/lib/wx/core/variant.rb +7 -0
  103. data/lib/wx/core/vboxsizer.rb +16 -0
  104. data/lib/wx/core/window.rb +8 -0
  105. data/lib/wx/core/window_update_locker.rb +9 -0
  106. data/lib/wx/core/xmlresource.rb +8 -0
  107. data/lib/wx/core.rb +4 -1
  108. data/lib/wx/doc/app.rb +7 -1
  109. data/lib/wx/doc/array_ext.rb +6 -0
  110. data/lib/wx/doc/art_locator.rb +7 -0
  111. data/lib/wx/doc/aui/auimanager.rb +6 -0
  112. data/lib/wx/doc/aui/auinotebook.rb +6 -0
  113. data/lib/wx/doc/bitmap.rb +19 -15
  114. data/lib/wx/doc/brush.rb +6 -0
  115. data/lib/wx/doc/busy_info.rb +6 -0
  116. data/lib/wx/doc/client_dc.rb +6 -0
  117. data/lib/wx/doc/clipboard.rb +6 -0
  118. data/lib/wx/doc/colour_dialog.rb +6 -0
  119. data/lib/wx/doc/config.rb +190 -0
  120. data/lib/wx/doc/const.rb +7 -0
  121. data/lib/wx/doc/controlwithitems.rb +6 -0
  122. data/lib/wx/doc/core.rb +6 -0
  123. data/lib/wx/doc/cursor.rb +13 -5
  124. data/lib/wx/doc/data_object.rb +6 -0
  125. data/lib/wx/doc/datetime.rb +16 -0
  126. data/lib/wx/doc/dc.rb +6 -0
  127. data/lib/wx/doc/enum.rb +8 -1
  128. data/lib/wx/doc/event.rb +12 -0
  129. data/lib/wx/doc/event_blocker.rb +6 -0
  130. data/lib/wx/doc/event_loop.rb +13 -0
  131. data/lib/wx/doc/events.rb +6 -0
  132. data/lib/wx/doc/evthandler.rb +8 -0
  133. data/lib/wx/doc/extra/00_starting.md +6 -6
  134. data/lib/wx/doc/extra/01_packages.md +52 -51
  135. data/lib/wx/doc/extra/02_lifecycles.md +9 -8
  136. data/lib/wx/doc/extra/05_event-handling.md +37 -12
  137. data/lib/wx/doc/extra/06_geometry.md +5 -5
  138. data/lib/wx/doc/extra/07_colour_and_font.md +2 -2
  139. data/lib/wx/doc/extra/09_exceptions.md +2 -2
  140. data/lib/wx/doc/extra/10_art.md +18 -12
  141. data/lib/wx/doc/extra/11_drawing_and_dc.md +8 -8
  142. data/lib/wx/doc/font.rb +7 -1
  143. data/lib/wx/doc/font_data.rb +16 -0
  144. data/lib/wx/doc/functions.rb +60 -24
  145. data/lib/wx/doc/gc_dc.rb +7 -1
  146. data/lib/wx/doc/gdi_common.rb +8 -1
  147. data/lib/wx/doc/gen/about_dialog_info.rb +10 -10
  148. data/lib/wx/doc/gen/accelerator.rb +8 -13
  149. data/lib/wx/doc/gen/accessible.rb +27 -23
  150. data/lib/wx/doc/gen/activity_indicator.rb +7 -7
  151. data/lib/wx/doc/gen/animation.rb +20 -20
  152. data/lib/wx/doc/gen/animation_ctrl.rb +14 -13
  153. data/lib/wx/doc/gen/any_button.rb +3 -3
  154. data/lib/wx/doc/gen/app.rb +25 -88
  155. data/lib/wx/doc/gen/app_traits.rb +381 -0
  156. data/lib/wx/doc/gen/art_provider.rb +64 -4
  157. data/lib/wx/doc/gen/aui/aui_dock_art.rb +12 -12
  158. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +6 -6
  159. data/lib/wx/doc/gen/aui/aui_manager.rb +57 -41
  160. data/lib/wx/doc/gen/aui/aui_manager_event.rb +16 -10
  161. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +19 -20
  162. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +7 -7
  163. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +12 -12
  164. data/lib/wx/doc/gen/aui/aui_notebook.rb +136 -26
  165. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +17 -2
  166. data/lib/wx/doc/gen/aui/aui_pane_info.rb +95 -95
  167. data/lib/wx/doc/gen/aui/aui_tab_art.rb +17 -17
  168. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +61 -46
  169. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +18 -18
  170. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +6 -6
  171. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +11 -11
  172. data/lib/wx/doc/gen/aui/event_list.rb +7 -0
  173. data/lib/wx/doc/gen/banner_window.rb +98 -0
  174. data/lib/wx/doc/gen/bitmap.rb +56 -81
  175. data/lib/wx/doc/gen/bitmap_button.rb +13 -9
  176. data/lib/wx/doc/gen/bitmap_combo_box.rb +14 -9
  177. data/lib/wx/doc/gen/book_ctrl_base.rb +20 -16
  178. data/lib/wx/doc/gen/book_ctrl_event.rb +2 -2
  179. data/lib/wx/doc/gen/box_sizer.rb +1 -1
  180. data/lib/wx/doc/gen/brush.rb +24 -12
  181. data/lib/wx/doc/gen/busy_info.rb +1 -1
  182. data/lib/wx/doc/gen/button.rb +23 -11
  183. data/lib/wx/doc/gen/calculate_layout_event.rb +2 -1
  184. data/lib/wx/doc/gen/calendar_ctrl.rb +34 -22
  185. data/lib/wx/doc/gen/calendar_date_attr.rb +13 -13
  186. data/lib/wx/doc/gen/calendar_event.rb +4 -10
  187. data/lib/wx/doc/gen/caret.rb +6 -6
  188. data/lib/wx/doc/gen/check_box.rb +19 -15
  189. data/lib/wx/doc/gen/check_list_box.rb +10 -9
  190. data/lib/wx/doc/gen/choice.rb +10 -9
  191. data/lib/wx/doc/gen/choicebook.rb +13 -7
  192. data/lib/wx/doc/gen/client_dc.rb +1 -1
  193. data/lib/wx/doc/gen/clipboard.rb +10 -10
  194. data/lib/wx/doc/gen/collapsible_pane.rb +13 -10
  195. data/lib/wx/doc/gen/collapsible_pane_event.rb +5 -4
  196. data/lib/wx/doc/gen/colour.rb +42 -32
  197. data/lib/wx/doc/gen/colour_dialog.rb +12 -12
  198. data/lib/wx/doc/gen/colour_picker_ctrl.rb +16 -10
  199. data/lib/wx/doc/gen/colour_picker_event.rb +7 -4
  200. data/lib/wx/doc/gen/combo_box.rb +29 -20
  201. data/lib/wx/doc/gen/combo_ctrl.rb +960 -0
  202. data/lib/wx/doc/gen/command_link_button.rb +110 -0
  203. data/lib/wx/doc/gen/config_base.rb +10 -0
  204. data/lib/wx/doc/gen/context_help_button.rb +7 -6
  205. data/lib/wx/doc/gen/control.rb +12 -9
  206. data/lib/wx/doc/gen/control_with_items.rb +5 -5
  207. data/lib/wx/doc/gen/core.rb +8 -5
  208. data/lib/wx/doc/gen/cursor.rb +18 -18
  209. data/lib/wx/doc/gen/data_format.rb +5 -5
  210. data/lib/wx/doc/gen/data_object.rb +32 -25
  211. data/lib/wx/doc/gen/date_event.rb +3 -3
  212. data/lib/wx/doc/gen/date_picker_ctrl.rb +16 -11
  213. data/lib/wx/doc/gen/dc.rb +162 -74
  214. data/lib/wx/doc/gen/defs.rb +16 -16
  215. data/lib/wx/doc/gen/dialog.rb +65 -22
  216. data/lib/wx/doc/gen/dir_dialog.rb +6 -2
  217. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +3 -3
  218. data/lib/wx/doc/gen/dir_picker_ctrl.rb +17 -12
  219. data/lib/wx/doc/gen/drag_drop.rb +26 -52
  220. data/lib/wx/doc/gen/drag_image.rb +13 -38
  221. data/lib/wx/doc/gen/editable_list_box.rb +9 -5
  222. data/lib/wx/doc/gen/event.rb +55 -32
  223. data/lib/wx/doc/gen/event_blocker.rb +1 -1
  224. data/lib/wx/doc/gen/event_filter.rb +5 -2
  225. data/lib/wx/doc/gen/event_list.rb +117 -19
  226. data/lib/wx/doc/gen/events.rb +351 -215
  227. data/lib/wx/doc/gen/evt_handler.rb +8 -8
  228. data/lib/wx/doc/gen/ext_help_controller.rb +9 -9
  229. data/lib/wx/doc/gen/file_dialog.rb +20 -9
  230. data/lib/wx/doc/gen/file_dialog_custom_control.rb +146 -0
  231. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +159 -0
  232. data/lib/wx/doc/gen/file_dir_picker_event.rb +5 -3
  233. data/lib/wx/doc/gen/file_picker_ctrl.rb +19 -11
  234. data/lib/wx/doc/gen/file_system.rb +250 -0
  235. data/lib/wx/doc/gen/find_dialog_event.rb +7 -2
  236. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  237. data/lib/wx/doc/gen/find_replace_dialog.rb +2 -2
  238. data/lib/wx/doc/gen/flex_grid_sizer.rb +16 -10
  239. data/lib/wx/doc/gen/font.rb +90 -94
  240. data/lib/wx/doc/gen/font_data.rb +15 -11
  241. data/lib/wx/doc/gen/font_dialog.rb +5 -5
  242. data/lib/wx/doc/gen/font_picker_ctrl.rb +11 -7
  243. data/lib/wx/doc/gen/font_picker_event.rb +2 -1
  244. data/lib/wx/doc/gen/frame.rb +36 -27
  245. data/lib/wx/doc/gen/fs_file.rb +65 -38
  246. data/lib/wx/doc/gen/gauge.rb +14 -10
  247. data/lib/wx/doc/gen/gb_sizer_item.rb +12 -26
  248. data/lib/wx/doc/gen/gcdc.rb +5 -1
  249. data/lib/wx/doc/gen/gdi_common.rb +43 -41
  250. data/lib/wx/doc/gen/gdi_object.rb +1 -1
  251. data/lib/wx/doc/gen/generic_dir_ctrl.rb +19 -13
  252. data/lib/wx/doc/gen/graphics_context.rb +320 -88
  253. data/lib/wx/doc/gen/graphics_object.rb +48 -102
  254. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +4 -2
  255. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +41 -56
  256. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +3 -1
  257. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +3 -1
  258. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +4 -2
  259. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +3 -1
  260. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +7 -12
  261. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +3 -1
  262. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +3 -1
  263. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +3 -1
  264. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +19 -14
  265. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +3 -1
  266. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +3 -1
  267. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +3 -1
  268. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +3 -1
  269. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +3 -1
  270. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +3 -1
  271. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +15 -13
  272. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +3 -1
  273. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +3 -1
  274. data/lib/wx/doc/gen/grid/grid_ctrl.rb +446 -189
  275. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +5 -3
  276. data/lib/wx/doc/gen/grid/grid_event.rb +26 -9
  277. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +15 -11
  278. data/lib/wx/doc/gen/grid/grid_size_event.rb +13 -7
  279. data/lib/wx/doc/gen/grid/grid_string_table.rb +8 -8
  280. data/lib/wx/doc/gen/grid/grid_table_base.rb +21 -21
  281. data/lib/wx/doc/gen/grid/grid_table_message.rb +5 -5
  282. data/lib/wx/doc/gen/grid_bag_sizer.rb +15 -15
  283. data/lib/wx/doc/gen/grid_sizer.rb +4 -4
  284. data/lib/wx/doc/gen/gui_event_loop.rb +132 -0
  285. data/lib/wx/doc/gen/header_ctrl.rb +755 -0
  286. data/lib/wx/doc/gen/header_ctrl_event.rb +131 -0
  287. data/lib/wx/doc/gen/help_controller.rb +25 -19
  288. data/lib/wx/doc/gen/help_provider.rb +3 -3
  289. data/lib/wx/doc/gen/html/html_cell.rb +100 -59
  290. data/lib/wx/doc/gen/html/html_cell_event.rb +7 -5
  291. data/lib/wx/doc/gen/html/html_easy_printing.rb +14 -9
  292. data/lib/wx/doc/gen/html/html_help_controller.rb +60 -46
  293. data/lib/wx/doc/gen/html/html_help_data.rb +5 -5
  294. data/lib/wx/doc/gen/html/html_help_window.rb +33 -35
  295. data/lib/wx/doc/gen/html/html_link_event.rb +4 -3
  296. data/lib/wx/doc/gen/html/html_list_box.rb +21 -13
  297. data/lib/wx/doc/gen/html/html_printout.rb +16 -6
  298. data/lib/wx/doc/gen/html/html_window.rb +54 -39
  299. data/lib/wx/doc/gen/hyperlink_ctrl.rb +15 -10
  300. data/lib/wx/doc/gen/hyperlink_event.rb +2 -1
  301. data/lib/wx/doc/gen/icon.rb +24 -24
  302. data/lib/wx/doc/gen/icon_location.rb +1 -1
  303. data/lib/wx/doc/gen/image.rb +164 -114
  304. data/lib/wx/doc/gen/image_list.rb +24 -30
  305. data/lib/wx/doc/gen/info_bar.rb +152 -0
  306. data/lib/wx/doc/gen/keyboard_state.rb +24 -24
  307. data/lib/wx/doc/gen/list_box.rb +40 -31
  308. data/lib/wx/doc/gen/list_ctrl.rb +223 -167
  309. data/lib/wx/doc/gen/list_event.rb +25 -3
  310. data/lib/wx/doc/gen/listbook.rb +13 -7
  311. data/lib/wx/doc/gen/locale.rb +22 -71
  312. data/lib/wx/doc/gen/log.rb +133 -106
  313. data/lib/wx/doc/gen/mdi_client_window.rb +3 -3
  314. data/lib/wx/doc/gen/mdi_frame.rb +23 -17
  315. data/lib/wx/doc/gen/media_ctrl.rb +22 -19
  316. data/lib/wx/doc/gen/media_event.rb +8 -2
  317. data/lib/wx/doc/gen/memory_dc.rb +26 -33
  318. data/lib/wx/doc/gen/menu.rb +24 -25
  319. data/lib/wx/doc/gen/menu_bar.rb +11 -28
  320. data/lib/wx/doc/gen/menu_item.rb +127 -46
  321. data/lib/wx/doc/gen/message_dialog.rb +54 -36
  322. data/lib/wx/doc/gen/mini_frame.rb +14 -5
  323. data/lib/wx/doc/gen/mouse_state.rb +51 -11
  324. data/lib/wx/doc/gen/multi_choice_dialog.rb +4 -2
  325. data/lib/wx/doc/gen/non_owned_window.rb +8 -9
  326. data/lib/wx/doc/gen/notebook.rb +27 -22
  327. data/lib/wx/doc/gen/number_entry_dialog.rb +3 -3
  328. data/lib/wx/doc/gen/object.rb +3 -14
  329. data/lib/wx/doc/gen/palette.rb +15 -17
  330. data/lib/wx/doc/gen/panel.rb +8 -7
  331. data/lib/wx/doc/gen/pen.rb +50 -37
  332. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +3 -3
  333. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +17 -17
  334. data/lib/wx/doc/gen/pg/pg_cell.rb +13 -16
  335. data/lib/wx/doc/gen/pg/pg_editor.rb +95 -93
  336. data/lib/wx/doc/gen/pg/pg_multi_button.rb +64 -89
  337. data/lib/wx/doc/gen/pg/pg_properties.rb +379 -349
  338. data/lib/wx/doc/gen/pg/pg_property.rb +260 -307
  339. data/lib/wx/doc/gen/pg/pg_validation_info.rb +3 -3
  340. data/lib/wx/doc/gen/pg/property_grid.rb +49 -49
  341. data/lib/wx/doc/gen/pg/property_grid_event.rb +24 -11
  342. data/lib/wx/doc/gen/pg/property_grid_interface.rb +75 -69
  343. data/lib/wx/doc/gen/pg/property_grid_manager.rb +51 -54
  344. data/lib/wx/doc/gen/pg/property_grid_page.rb +22 -30
  345. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +17 -26
  346. data/lib/wx/doc/gen/picker_base.rb +17 -16
  347. data/lib/wx/doc/gen/platform_info.rb +180 -20
  348. data/lib/wx/doc/gen/popup_window.rb +8 -8
  349. data/lib/wx/doc/gen/progress_dialog.rb +3 -3
  350. data/lib/wx/doc/gen/property_sheet_dialog.rb +20 -18
  351. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +2 -2
  352. data/lib/wx/doc/gen/prt/preview_frame.rb +18 -2
  353. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
  354. data/lib/wx/doc/gen/prt/print_data.rb +68 -62
  355. data/lib/wx/doc/gen/prt/print_dialog.rb +4 -4
  356. data/lib/wx/doc/gen/prt/printer.rb +44 -49
  357. data/lib/wx/doc/gen/query_layout_info_event.rb +6 -5
  358. data/lib/wx/doc/gen/radio_box.rb +21 -19
  359. data/lib/wx/doc/gen/radio_button.rb +13 -11
  360. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +67 -67
  361. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +38 -20
  362. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +5 -5
  363. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +22 -15
  364. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +6 -6
  365. data/lib/wx/doc/gen/rbn/ribbon_control.rb +11 -11
  366. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +14 -16
  367. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +5 -5
  368. data/lib/wx/doc/gen/rbn/ribbon_page.rb +12 -12
  369. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +24 -22
  370. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +5 -5
  371. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +17 -15
  372. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +6 -6
  373. data/lib/wx/doc/gen/rearrange_ctrl.rb +60 -0
  374. data/lib/wx/doc/gen/rearrange_list.rb +99 -0
  375. data/lib/wx/doc/gen/region.rb +35 -43
  376. data/lib/wx/doc/gen/region_iterator.rb +3 -3
  377. data/lib/wx/doc/gen/rtc/rich_text_box.rb +423 -0
  378. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +626 -1538
  379. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +37 -0
  380. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +525 -0
  381. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +488 -503
  382. data/lib/wx/doc/gen/rtc/rich_text_event.rb +31 -12
  383. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +18 -18
  384. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +282 -0
  385. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +23 -19
  386. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +9 -18
  387. data/lib/wx/doc/gen/rtc/rich_text_image.rb +328 -0
  388. data/lib/wx/doc/gen/rtc/rich_text_object.rb +2849 -0
  389. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1174 -0
  390. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +29 -29
  391. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +305 -0
  392. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +183 -0
  393. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +3 -3
  394. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +34 -37
  395. data/lib/wx/doc/gen/sash_event.rb +8 -6
  396. data/lib/wx/doc/gen/sash_layout_window.rb +13 -11
  397. data/lib/wx/doc/gen/sash_window.rb +14 -9
  398. data/lib/wx/doc/gen/scroll_bar.rb +33 -12
  399. data/lib/wx/doc/gen/scrolled_canvas.rb +49 -37
  400. data/lib/wx/doc/gen/scrolled_control.rb +49 -37
  401. data/lib/wx/doc/gen/scrolled_window.rb +49 -37
  402. data/lib/wx/doc/gen/search_ctrl.rb +20 -13
  403. data/lib/wx/doc/gen/simplebook.rb +7 -7
  404. data/lib/wx/doc/gen/single_choice_dialog.rb +5 -4
  405. data/lib/wx/doc/gen/sizer.rb +69 -73
  406. data/lib/wx/doc/gen/sizer_item.rb +5 -5
  407. data/lib/wx/doc/gen/slider.rb +51 -18
  408. data/lib/wx/doc/gen/spin_button.rb +17 -11
  409. data/lib/wx/doc/gen/spin_ctrl.rb +15 -9
  410. data/lib/wx/doc/gen/spin_ctrl_double.rb +146 -0
  411. data/lib/wx/doc/gen/spin_double_event.rb +53 -0
  412. data/lib/wx/doc/gen/spin_event.rb +5 -2
  413. data/lib/wx/doc/gen/splash_screen.rb +16 -12
  414. data/lib/wx/doc/gen/splitter_event.rb +6 -2
  415. data/lib/wx/doc/gen/splitter_window.rb +36 -16
  416. data/lib/wx/doc/gen/static_bitmap.rb +9 -9
  417. data/lib/wx/doc/gen/static_box.rb +41 -37
  418. data/lib/wx/doc/gen/static_box_sizer.rb +13 -10
  419. data/lib/wx/doc/gen/static_line.rb +8 -7
  420. data/lib/wx/doc/gen/static_text.rb +15 -9
  421. data/lib/wx/doc/gen/status_bar.rb +53 -10
  422. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +200 -184
  423. data/lib/wx/doc/gen/stc/styled_text_event.rb +229 -54
  424. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +11 -2
  425. data/lib/wx/doc/gen/svg_file_dc.rb +8 -8
  426. data/lib/wx/doc/gen/system_options.rb +13 -3
  427. data/lib/wx/doc/gen/system_settings.rb +9 -9
  428. data/lib/wx/doc/gen/task_bar_icon.rb +17 -9
  429. data/lib/wx/doc/gen/task_bar_icon_event.rb +3 -3
  430. data/lib/wx/doc/gen/text_attr.rb +67 -61
  431. data/lib/wx/doc/gen/text_ctrl.rb +58 -113
  432. data/lib/wx/doc/gen/text_entry.rb +44 -56
  433. data/lib/wx/doc/gen/text_entry_dialog.rb +23 -23
  434. data/lib/wx/doc/gen/text_validator.rb +3 -19
  435. data/lib/wx/doc/gen/time_picker_ctrl.rb +11 -10
  436. data/lib/wx/doc/gen/timer.rb +13 -9
  437. data/lib/wx/doc/gen/timer_event.rb +19 -26
  438. data/lib/wx/doc/gen/tip_provider.rb +3 -3
  439. data/lib/wx/doc/gen/toggle_button.rb +10 -9
  440. data/lib/wx/doc/gen/tool_bar.rb +71 -61
  441. data/lib/wx/doc/gen/tool_tip.rb +2 -10
  442. data/lib/wx/doc/gen/toolbook.rb +12 -9
  443. data/lib/wx/doc/gen/top_level_window.rb +53 -113
  444. data/lib/wx/doc/gen/tree_ctrl.rb +83 -33
  445. data/lib/wx/doc/gen/tree_event.rb +24 -3
  446. data/lib/wx/doc/gen/treebook.rb +20 -16
  447. data/lib/wx/doc/gen/ui_action_simulator.rb +20 -19
  448. data/lib/wx/doc/gen/utils.rb +20 -14
  449. data/lib/wx/doc/gen/v_list_box.rb +11 -11
  450. data/lib/wx/doc/gen/v_scrolled_window.rb +9 -9
  451. data/lib/wx/doc/gen/validator.rb +10 -8
  452. data/lib/wx/doc/gen/variant.rb +56 -119
  453. data/lib/wx/doc/gen/window.rb +314 -224
  454. data/lib/wx/doc/gen/window_dc.rb +1 -1
  455. data/lib/wx/doc/gen/with_images.rb +2 -2
  456. data/lib/wx/doc/gen/wizard.rb +21 -8
  457. data/lib/wx/doc/gen/wizard_event.rb +11 -4
  458. data/lib/wx/doc/gen/wizard_page.rb +3 -3
  459. data/lib/wx/doc/gen/wizard_page_simple.rb +8 -8
  460. data/lib/wx/doc/gen/wrap_sizer.rb +65 -0
  461. data/lib/wx/doc/gen/xml_node.rb +13 -13
  462. data/lib/wx/doc/gen/xml_resource.rb +24 -21
  463. data/lib/wx/doc/graphics_context.rb +59 -39
  464. data/lib/wx/doc/grid/grid.rb +16 -1
  465. data/lib/wx/doc/hboxsizer.rb +33 -0
  466. data/lib/wx/doc/help_controller.rb +6 -0
  467. data/lib/wx/doc/html/html_help_controller.rb +6 -0
  468. data/lib/wx/doc/icon.rb +13 -5
  469. data/lib/wx/doc/id_helper.rb +6 -0
  470. data/lib/wx/doc/image.rb +50 -12
  471. data/lib/wx/doc/list_ctrl.rb +38 -0
  472. data/lib/wx/doc/log.rb +45 -0
  473. data/lib/wx/doc/memory_dc.rb +6 -0
  474. data/lib/wx/doc/mirror_dc.rb +6 -0
  475. data/lib/wx/doc/pen.rb +6 -0
  476. data/lib/wx/doc/pg/events.rb +6 -0
  477. data/lib/wx/doc/pg/pg_property.rb +17 -0
  478. data/lib/wx/doc/pg/pgeditor.rb +6 -0
  479. data/lib/wx/doc/pg/property_grid.rb +6 -0
  480. data/lib/wx/doc/pg/property_grid_interface.rb +6 -0
  481. data/lib/wx/doc/progress_dialog.rb +6 -0
  482. data/lib/wx/doc/prt/page_setup_dialog.rb +6 -0
  483. data/lib/wx/doc/prt/print_data.rb +6 -0
  484. data/lib/wx/doc/prt/print_dialog.rb +6 -0
  485. data/lib/wx/doc/prt/printer.rb +6 -0
  486. data/lib/wx/doc/prt/printer_dc.rb +8 -2
  487. data/lib/wx/doc/radio_box.rb +6 -0
  488. data/lib/wx/doc/rbn/ribbon_bar.rb +6 -0
  489. data/lib/wx/doc/rbn/ribbon_button_bar.rb +6 -0
  490. data/lib/wx/doc/rbn/ribbon_gallery.rb +6 -0
  491. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +6 -0
  492. data/lib/wx/doc/region_iterator.rb +6 -0
  493. data/lib/wx/doc/rtc/richtext_buffer.rb +28 -0
  494. data/lib/wx/doc/rtc/richtext_formatting_dialog.rb +68 -0
  495. data/lib/wx/doc/rtc/richtext_printing.rb +6 -0
  496. data/lib/wx/doc/rtc/richtext_style_sheet.rb +20 -0
  497. data/lib/wx/doc/scaled_dc.rb +7 -1
  498. data/lib/wx/doc/screen_dc.rb +6 -0
  499. data/lib/wx/doc/stock_objects.rb +6 -0
  500. data/lib/wx/doc/stream.rb +6 -0
  501. data/lib/wx/doc/svg_file_dc.rb +6 -0
  502. data/lib/wx/doc/system_settings.rb +6 -0
  503. data/lib/wx/doc/text_validator.rb +18 -0
  504. data/lib/wx/doc/textctrl.rb +89 -0
  505. data/lib/wx/doc/tree_event.rb +20 -0
  506. data/lib/wx/doc/treebook.rb +6 -0
  507. data/lib/wx/doc/v_list_box.rb +6 -0
  508. data/lib/wx/doc/variant.rb +6 -0
  509. data/lib/wx/doc/vboxsizer.rb +33 -0
  510. data/lib/wx/doc/window.rb +6 -0
  511. data/lib/wx/doc/window_disabler.rb +6 -0
  512. data/lib/wx/doc/xml_resource.rb +8 -0
  513. data/lib/wx/global_const.rb +4 -1
  514. data/lib/wx/grid/grid.rb +23 -3
  515. data/lib/wx/grid/keyword_defs.rb +8 -1
  516. data/lib/wx/grid/require.rb +4 -1
  517. data/lib/wx/grid.rb +4 -1
  518. data/lib/wx/helpers.rb +8 -1
  519. data/lib/wx/html/htmlhelpcontroller.rb +29 -3
  520. data/lib/wx/html/htmlwindow.rb +23 -12
  521. data/lib/wx/html/keyword_defs.rb +8 -1
  522. data/lib/wx/html/require.rb +4 -1
  523. data/lib/wx/html/simple_html_listbox.rb +3 -0
  524. data/lib/wx/html.rb +4 -1
  525. data/lib/wx/keyword_ctors.rb +22 -3
  526. data/lib/wx/keyword_defs.rb +55 -3
  527. data/lib/wx/pg/events.rb +4 -1
  528. data/lib/wx/pg/keyword_defs.rb +8 -1
  529. data/lib/wx/pg/pg_editor.rb +3 -0
  530. data/lib/wx/pg/pg_properties.rb +4 -1
  531. data/lib/wx/pg/pg_property.rb +18 -5
  532. data/lib/wx/pg/property_grid.rb +4 -1
  533. data/lib/wx/pg/property_grid_interface.rb +3 -0
  534. data/lib/wx/pg/require.rb +4 -1
  535. data/lib/wx/pg.rb +4 -1
  536. data/lib/wx/prt/keyword_defs.rb +8 -1
  537. data/lib/wx/prt/page_setup_dialog.rb +3 -0
  538. data/lib/wx/prt/previewframe.rb +5 -0
  539. data/lib/wx/prt/require.rb +4 -1
  540. data/lib/wx/prt.rb +4 -1
  541. data/lib/wx/rbn/events.rb +4 -1
  542. data/lib/wx/rbn/keyword_defs.rb +8 -1
  543. data/lib/wx/rbn/require.rb +5 -1
  544. data/lib/wx/rbn/ribbon_art_provider.rb +3 -1
  545. data/lib/wx/rbn/ribbon_bar.rb +3 -0
  546. data/lib/wx/rbn/ribbon_button_bar.rb +3 -0
  547. data/lib/wx/rbn/ribbon_control.rb +3 -0
  548. data/lib/wx/rbn/ribbon_gallery.rb +10 -0
  549. data/lib/wx/rbn/ribbon_page.rb +3 -0
  550. data/lib/wx/rbn/ribbon_panel.rb +3 -0
  551. data/lib/wx/rbn/ribbon_tool_bar.rb +3 -0
  552. data/lib/wx/rbn.rb +4 -1
  553. data/lib/wx/rtc/ext.rb +4 -1
  554. data/lib/wx/rtc/keyword_defs.rb +18 -7
  555. data/lib/wx/rtc/require.rb +8 -1
  556. data/lib/wx/rtc/richtext_buffer.rb +36 -0
  557. data/lib/wx/rtc/richtext_formatting_dialog.rb +88 -0
  558. data/lib/wx/rtc/richtext_style_organiser_dialog.rb +46 -0
  559. data/lib/wx/rtc/symbol_picker_dialog.rb +47 -0
  560. data/lib/wx/rtc.rb +5 -1
  561. data/lib/wx/stc/keyword_defs.rb +8 -1
  562. data/lib/wx/stc/require.rb +4 -1
  563. data/lib/wx/stc.rb +4 -1
  564. data/lib/wx/version.rb +5 -1
  565. data/lib/wx/wxruby/base.rb +4 -1
  566. data/lib/wx/wxruby/cmd/sampler.rb +4 -1
  567. data/lib/wx/wxruby/cmd/test.rb +4 -1
  568. data/lib/wx.rb +4 -1
  569. data/lib/wxruby_aui.so +0 -0
  570. data/lib/wxruby_core.so +0 -0
  571. data/lib/wxruby_grid.so +0 -0
  572. data/lib/wxruby_html.so +0 -0
  573. data/lib/wxruby_pg.so +0 -0
  574. data/lib/wxruby_prt.so +0 -0
  575. data/lib/wxruby_rbn.so +0 -0
  576. data/lib/wxruby_rtc.so +0 -0
  577. data/lib/wxruby_stc.so +0 -0
  578. data/rakelib/install.rb +4 -1
  579. data/rakelib/lib/config/cygwin.rb +4 -1
  580. data/rakelib/lib/config/linux.rb +4 -1
  581. data/rakelib/lib/config/macosx.rb +5 -2
  582. data/rakelib/lib/config/mingw.rb +4 -1
  583. data/rakelib/lib/config/netbsd.rb +4 -1
  584. data/rakelib/lib/config/unixish.rb +10 -7
  585. data/rakelib/lib/config.rb +7 -2
  586. data/rakelib/lib/ext/enum_chain.rb +4 -1
  587. data/rakelib/prepost.rake +4 -1
  588. data/rakelib/prepost.rb +4 -1
  589. data/samples/aui/aui.rb +8 -3
  590. data/samples/bigdemo/bigdemo.rb +9 -2
  591. data/samples/bigdemo/run.rb +9 -2
  592. data/samples/bigdemo/utils.rb +9 -1
  593. data/samples/calendar/calendar.rb +9 -4
  594. data/samples/caret/caret.rb +8 -3
  595. data/samples/controls/books.rb +8 -2
  596. data/samples/controls/controls.rb +33 -77
  597. data/samples/controls/get_item_sample.rb +8 -2
  598. data/samples/controls/htlbox.rb +10 -3
  599. data/samples/dialogs/dialogs.rb +9 -4
  600. data/samples/dialogs/wizard.rb +8 -3
  601. data/samples/dragdrop/dragdrop.rb +8 -3
  602. data/samples/drawing/bitmap.rb +8 -3
  603. data/samples/drawing/bitmap_image.rb +8 -3
  604. data/samples/drawing/graphics_drawing.rb +44 -33
  605. data/samples/drawing/image_prt.rb +8 -2
  606. data/samples/drawing/maths_images.rb +8 -3
  607. data/samples/drawing/rmagic_bitmap_image.rb +8 -3
  608. data/samples/etc/choice.rb +8 -3
  609. data/samples/etc/miniframe.rb +8 -3
  610. data/samples/etc/sash.rb +8 -3
  611. data/samples/etc/scrollwin.rb +8 -3
  612. data/samples/etc/system_settings.rb +8 -3
  613. data/samples/event/activation.rb +8 -3
  614. data/samples/event/event.rb +8 -3
  615. data/samples/event/threaded.rb +8 -3
  616. data/samples/event/update_ui_event.rb +8 -3
  617. data/samples/grid/grid.rb +9 -3
  618. data/samples/grid/gridtablebase.rb +8 -3
  619. data/samples/html/html.rb +8 -3
  620. data/samples/mdi/mdi.rb +8 -3
  621. data/samples/minimal/minimal.rb +8 -3
  622. data/samples/minimal/nothing.rb +8 -3
  623. data/samples/printing/printing.rb +8 -3
  624. data/samples/printing/printing2.rb +8 -2
  625. data/samples/propgrid/propgrid.rb +4 -1
  626. data/samples/propgrid/propgrid_minimal.rb +4 -2
  627. data/samples/propgrid/sample_props.rb +4 -1
  628. data/samples/ribbon/ribbon.rb +4 -1
  629. data/samples/sampler/editor.rb +4 -1
  630. data/samples/sampler/ext.rb +4 -1
  631. data/samples/sampler/sample.rb +13 -4
  632. data/samples/sampler/stc_editor.rb +4 -1
  633. data/samples/sampler/txt_editor.rb +4 -1
  634. data/samples/sampler.rb +11 -3
  635. data/samples/splash/splash.rb +4 -2
  636. data/samples/text/art/richtext/alignleft.xpm +24 -0
  637. data/samples/text/art/richtext/alignright.xpm +24 -0
  638. data/samples/text/art/richtext/bold.xpm +24 -0
  639. data/samples/text/art/richtext/centre.xpm +24 -0
  640. data/samples/text/art/richtext/copy.xpm +45 -0
  641. data/samples/text/art/richtext/cut.xpm +47 -0
  642. data/samples/text/art/richtext/font.xpm +25 -0
  643. data/samples/text/art/richtext/idea.xpm +47 -0
  644. data/samples/text/art/richtext/indentless.xpm +25 -0
  645. data/samples/text/art/richtext/indentmore.xpm +25 -0
  646. data/samples/text/art/richtext/italic.xpm +25 -0
  647. data/samples/text/art/richtext/open.xpm +58 -0
  648. data/samples/text/art/richtext/paste.xpm +47 -0
  649. data/samples/text/art/richtext/redo.xpm +59 -0
  650. data/samples/text/art/richtext/save.xpm +43 -0
  651. data/samples/text/art/richtext/smiley.xpm +42 -0
  652. data/samples/text/art/richtext/underline.xpm +25 -0
  653. data/samples/text/art/richtext/undo.xpm +59 -0
  654. data/samples/text/art/richtext/zebra.xpm +409 -0
  655. data/samples/text/rich_textctrl.rb +8 -3
  656. data/samples/text/richtext.rb +1824 -0
  657. data/samples/text/scintilla.rb +8 -3
  658. data/samples/text/textctrl.rb +21 -4
  659. data/samples/text/tn_richtext.png +0 -0
  660. data/samples/text/unicode.rb +9 -4
  661. data/samples/treectrl/treectrl.rb +10 -5
  662. data/samples/xrc/custom_xrc_sample.rb +8 -3
  663. data/samples/xrc/xrc_sample.rb +8 -3
  664. data/tests/art/test_art/bitmap/wxruby-128x128.png +0 -0
  665. data/tests/art/test_art/bitmap/wxruby-256x256.png +0 -0
  666. data/tests/art/test_art/bitmap/wxruby-64x64.png +0 -0
  667. data/tests/lib/item_container_tests.rb +3 -0
  668. data/tests/lib/text_entry_tests.rb +3 -0
  669. data/tests/lib/wxapp_runner.rb +3 -0
  670. data/tests/lib/wxframe_runner.rb +81 -3
  671. data/tests/test_app_event_filter.rb +3 -0
  672. data/tests/test_app_traits.rb +33 -0
  673. data/tests/test_art.rb +31 -0
  674. data/tests/test_art_provider.rb +3 -0
  675. data/tests/test_aui.rb +65 -0
  676. data/tests/test_basic.rb +5 -1
  677. data/tests/test_box_sizer.rb +164 -0
  678. data/tests/test_clipboard.rb +3 -0
  679. data/tests/test_config.rb +150 -0
  680. data/tests/test_dc.rb +3 -0
  681. data/tests/test_dialog.rb +3 -0
  682. data/tests/test_event_handling.rb +3 -0
  683. data/tests/test_events.rb +3 -0
  684. data/tests/test_ext_controls.rb +286 -3
  685. data/tests/test_file_dialog.rb +55 -0
  686. data/tests/test_font.rb +8 -5
  687. data/tests/test_gdi_object.rb +3 -0
  688. data/tests/test_geometry.rb +4 -0
  689. data/tests/test_grid_sizer.rb +151 -0
  690. data/tests/test_intl.rb +3 -0
  691. data/tests/test_item_data.rb +3 -0
  692. data/tests/test_list_ctrl.rb +56 -0
  693. data/tests/test_log.rb +226 -0
  694. data/tests/test_proof_check.rb +52 -0
  695. data/tests/test_richtext.rb +204 -0
  696. data/tests/test_std_controls.rb +99 -31
  697. data/tests/test_timer.rb +98 -0
  698. data/tests/test_variant.rb +3 -0
  699. data/tests/test_window.rb +10 -8
  700. data/tests/testapp.rb +4 -0
  701. data/tests/testapp_noframe.rb +4 -0
  702. metadata +87 -3
  703. data/lib/wx/doc/gen/html/html_help_frame.rb +0 -112
@@ -206,12 +206,22 @@ module Wx::GRID
206
206
  # A {Wx::GRID::GridTableBase} class holds the actual data to be displayed by a {Wx::GRID::Grid} class. One or more {Wx::GRID::Grid} classes may act as a view for one table class. The default table class is called {Wx::GRID::GridStringTable} and holds an array of strings. An instance of such a class is created by {Wx::GRID::Grid#create_grid}.
207
207
  # {Wx::GRID::GridCellRenderer} is the abstract base class for rendering contents in a cell. The following renderers are predefined:
208
208
  #
209
- # - {Wx::GRID::GridCellBoolRenderer}- {Wx::GRID::GridCellFloatRenderer}- {Wx::GRID::GridCellNumberRenderer}- {Wx::GRID::GridCellStringRenderer}- {Wx::GRID::GridCellDateRenderer}- {Wx::GRID::GridCellDateTimeRenderer}
209
+ # - {Wx::GRID::GridCellBoolRenderer}
210
+ # - {Wx::GRID::GridCellFloatRenderer}
211
+ # - {Wx::GRID::GridCellNumberRenderer}
212
+ # - {Wx::GRID::GridCellStringRenderer}
213
+ # - {Wx::GRID::GridCellDateRenderer}
214
+ # - {Wx::GRID::GridCellDateTimeRenderer}
210
215
  #
211
216
  # The look of a cell can be further defined using {Wx::GRID::GridCellAttr}. An object of this type may be returned by {Wx::GRID::GridTableBase#get_attr}.
212
217
  # {Wx::GRID::GridCellEditor} is the abstract base class for editing the value of a cell. The following editors are predefined:
213
218
  #
214
- # - {Wx::GRID::GridCellBoolEditor}- {Wx::GRID::GridCellChoiceEditor}- {Wx::GRID::GridCellFloatEditor}- {Wx::GRID::GridCellNumberEditor}- {Wx::GRID::GridCellTextEditor}- {Wx::GRID::GridCellDateEditor}
219
+ # - {Wx::GRID::GridCellBoolEditor}
220
+ # - {Wx::GRID::GridCellChoiceEditor}
221
+ # - {Wx::GRID::GridCellFloatEditor}
222
+ # - {Wx::GRID::GridCellNumberEditor}
223
+ # - {Wx::GRID::GridCellTextEditor}
224
+ # - {Wx::GRID::GridCellDateEditor}
215
225
  #
216
226
  # Please see {Wx::GRID::GridEvent}, {Wx::GRID::GridSizeEvent}, {Wx::GRID::GridRangeSelectEvent}, and {Wx::GRID::GridEditorCreatedEvent} for the documentation of all event types you can use with {Wx::GRID::Grid}.
217
227
  # ===
@@ -297,7 +307,7 @@ module Wx::GRID
297
307
  # @overload initialize()
298
308
  # Default constructor.
299
309
  # You must call {Wx::GRID::Grid#create} to really create the grid window and also call {Wx::GRID::Grid#create_grid} or {Wx::GRID::Grid#set_table} or {Wx::GRID::Grid#assign_table} to initialize its contents.
300
- # @return [Grid]
310
+ # @return [Wx::GRID::Grid]
301
311
  # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::WANTS_CHARS, name=Wx::GridNameStr)
302
312
  # Constructor creating the grid window.
303
313
  # You must call either {Wx::GRID::Grid#create_grid} or {Wx::GRID::Grid#set_table} or {Wx::GRID::Grid#assign_table} to initialize the grid contents before using it.
@@ -307,7 +317,7 @@ module Wx::GRID
307
317
  # @param size [Array(Integer, Integer), Wx::Size]
308
318
  # @param style [Integer]
309
319
  # @param name [String]
310
- # @return [Grid]
320
+ # @return [Wx::GRID::Grid]
311
321
  def initialize(*args) end
312
322
 
313
323
  # Creates the grid window for an object initialized using the default constructor.
@@ -318,7 +328,7 @@ module Wx::GRID
318
328
  # @param size [Array(Integer, Integer), Wx::Size]
319
329
  # @param style [Integer]
320
330
  # @param name [String]
321
- # @return [true,false]
331
+ # @return [Boolean]
322
332
  def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::WANTS_CHARS, name=Wx::GridNameStr) end
323
333
 
324
334
  # Creates a grid with the specified initial number of rows and columns.
@@ -326,25 +336,25 @@ module Wx::GRID
326
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}.
327
337
  # @param numRows [Integer]
328
338
  # @param numCols [Integer]
329
- # @param selmode [GridSelectionModes]
330
- # @return [true,false]
339
+ # @param selmode [Wx::wxGrid::GridSelectionModes]
340
+ # @return [Boolean]
331
341
  def create_grid(numRows, numCols, selmode=Wx::GRID::Grid::GridSelectionModes::GridSelectCells) end
332
342
 
333
343
  # Assigns a pointer to a custom grid table to be used by the grid.
334
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.
335
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.
336
- # @param table [Wx::GridTableBase] The heap-allocated pointer to the table.
337
- # @param selmode [GridSelectionModes] Selection mode to use.
346
+ # @param table [Wx::GRID::GridTableBase] The heap-allocated pointer to the table.
347
+ # @param selmode [Wx::wxGrid::GridSelectionModes] Selection mode to use.
338
348
  # @return [void]
339
349
  def assign_table(table, selmode=Wx::GRID::Grid::GridSelectionModes::GridSelectCells) end
340
350
 
341
351
  # Receive and handle a message from the table.
342
- # @param msg [Wx::GridTableMessage]
343
- # @return [true,false]
352
+ # @param msg [Wx::GRID::GridTableMessage]
353
+ # @return [Boolean]
344
354
  def process_table_message(msg) end
345
355
 
346
356
  # Turns the drawing of grid lines on or off.
347
- # @param enable [true,false]
357
+ # @param enable [Boolean]
348
358
  # @return [void]
349
359
  def enable_grid_lines(enable=true) end
350
360
 
@@ -374,16 +384,22 @@ module Wx::GRID
374
384
  # Returns the pen used for horizontal grid lines.
375
385
  # This virtual function may be overridden in derived classes in order to change the appearance of individual grid line for the given row.
376
386
  # Example:
377
- # ```
378
- # // in a grid displaying music notation, use a solid black pen between
379
- # // octaves (C0=row 127, C1=row 115 etc.)
380
- # wxPen MidiGrid::GetRowGridLinePen(int row)
381
- # {
382
- # if ( row % 12 == 7 )
383
- # 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)
384
397
  # else
385
- # return GetDefaultGridLinePen();
386
- # }
398
+ # get_default_grid_line_pen
399
+ # end
400
+ # end
401
+ #
402
+ # end
387
403
  # ```
388
404
  # @param row [Integer]
389
405
  # @return [Wx::Pen]
@@ -391,7 +407,7 @@ module Wx::GRID
391
407
  alias_method :row_grid_line_pen, :get_row_grid_line_pen
392
408
 
393
409
  # Returns true if drawing of grid lines is turned on, false otherwise.
394
- # @return [true,false]
410
+ # @return [Boolean]
395
411
  def grid_lines_enabled; end
396
412
 
397
413
  # Sets the colour used to draw grid lines.
@@ -553,7 +569,7 @@ module Wx::GRID
553
569
  # Call this in order to make the column labels use a native look by using Wx::RendererNative#draw_header_button internally.
554
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.
555
571
  # @see Wx::GRID::Grid#use_native_col_header
556
- # @param native [true,false]
572
+ # @param native [Boolean]
557
573
  # @return [void]
558
574
  def set_use_native_col_labels(native=true) end
559
575
  alias_method :use_native_col_labels=, :set_use_native_col_labels
@@ -563,8 +579,8 @@ module Wx::GRID
563
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.
564
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).
565
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.
566
- # @param native [true,false]
567
- # @return [true,false]
582
+ # @param native [Boolean]
583
+ # @return [Boolean]
568
584
  def use_native_col_header(native=true) end
569
585
 
570
586
  # Sets the arguments to the horizontal and vertical text alignment values for the grid cell at the specified location.
@@ -679,7 +695,7 @@ module Wx::GRID
679
695
 
680
696
  # Returns true if the in-place edit control for the current grid cell can be used and false otherwise.
681
697
  # This function always returns false for the read-only cells.
682
- # @return [true,false]
698
+ # @return [Boolean]
683
699
  def can_enable_cell_control; end
684
700
  alias_method :can_enable_cell_control?, :can_enable_cell_control
685
701
 
@@ -692,14 +708,14 @@ module Wx::GRID
692
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.
693
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.
694
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.
695
- # @param enable [true,false]
711
+ # @param enable [Boolean]
696
712
  # @return [void]
697
713
  def enable_cell_edit_control(enable=true) end
698
714
 
699
715
  # Makes the grid globally editable or read-only.
700
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}.
701
717
  # For more information about controlling grid cell attributes see the {Wx::GRID::GridCellAttr} class and the wxGrid Overview.
702
- # @param edit [true,false]
718
+ # @param edit [Boolean]
703
719
  # @return [void]
704
720
  def enable_editing(edit) end
705
721
 
@@ -783,14 +799,14 @@ module Wx::GRID
783
799
  def hide_cell_edit_control; end
784
800
 
785
801
  # Returns true if the in-place edit control is currently enabled.
786
- # @return [true,false]
802
+ # @return [Boolean]
787
803
  def is_cell_edit_control_enabled; end
788
804
  alias_method :cell_edit_control_enabled?, :is_cell_edit_control_enabled
789
805
 
790
806
  # Returns true if the in-place edit control is currently shown.
791
807
  #
792
808
  # @see Wx::GRID::Grid#hide_cell_edit_control
793
- # @return [true,false]
809
+ # @return [Boolean]
794
810
  def is_cell_edit_control_shown; end
795
811
  alias_method :cell_edit_control_shown?, :is_cell_edit_control_shown
796
812
 
@@ -798,13 +814,13 @@ module Wx::GRID
798
814
  #
799
815
  # @see Wx::GRID::Grid#set_read_only
800
816
  # @see Wx::GRID::Grid#is_read_only
801
- # @return [true,false]
817
+ # @return [Boolean]
802
818
  def is_current_cell_read_only; end
803
819
  alias_method :current_cell_read_only?, :is_current_cell_read_only
804
820
 
805
821
  # Returns false if the whole grid has been set as read-only or true otherwise.
806
822
  # See {Wx::GRID::Grid#enable_editing} for more information about controlling the editing status of grid cells.
807
- # @return [true,false]
823
+ # @return [Boolean]
808
824
  def is_editable; end
809
825
  alias_method :editable?, :is_editable
810
826
 
@@ -814,7 +830,7 @@ module Wx::GRID
814
830
  # @see Wx::GRID::Grid#is_current_cell_read_only
815
831
  # @param row [Integer]
816
832
  # @param col [Integer]
817
- # @return [true,false]
833
+ # @return [Boolean]
818
834
  def is_read_only(row, col) end
819
835
  alias_method :read_only?, :is_read_only
820
836
 
@@ -823,8 +839,8 @@ module Wx::GRID
823
839
  # However if a custom table returns {Wx::GRID::GRID_VALUE_BOOL} from its {Wx::GRID::GridTableBase#get_type_name} method, then {Wx::GRID::GridCellBoolRenderer} and {Wx::GRID::GridCellBoolEditor} are used for it because the grid also registers a boolean data type with this name.
824
840
  # And as this mechanism is completely generic, you may register your own data types using your own custom renderers and editors. Just remember that the table must identify a cell as being of the given type for them to be used for this cell.
825
841
  # @param typeName [String] Name of the new type. May be any string, but if the type name is the same as the name of an already registered type, including one of the standard ones (which are {Wx::GRID::GRID_VALUE_STRING}, {Wx::GRID::GRID_VALUE_BOOL}, {Wx::GRID::GRID_VALUE_NUMBER}, {Wx::GRID::GRID_VALUE_FLOAT}, {Wx::GRID::GRID_VALUE_CHOICE} and {Wx::GRID::GRID_VALUE_DATE}), then the new registration information replaces the previously used renderer and editor.
826
- # @param renderer [Wx::GridCellRenderer] The renderer to use for the cells of this type. Its ownership is taken by the grid, i.e. it will call DecRef() on this pointer when it doesn't need it any longer.
827
- # @param editor [Wx::GridCellEditor] The editor to use for the cells of this type. Its ownership is also taken by the grid.
842
+ # @param renderer [Wx::GRID::GridCellRenderer] The renderer to use for the cells of this type. Its ownership is taken by the grid, i.e. it will call DecRef() on this pointer when it doesn't need it any longer.
843
+ # @param editor [Wx::GRID::GridCellEditor] The editor to use for the cells of this type. Its ownership is also taken by the grid.
828
844
  # @return [void]
829
845
  def register_data_type(typeName, renderer, editor) end
830
846
 
@@ -838,7 +854,7 @@ module Wx::GRID
838
854
  # See {Wx::GRID::GridCellEditor} and the wxGrid Overview for more information about cell editors and renderers.
839
855
  # @param row [Integer]
840
856
  # @param col [Integer]
841
- # @param editor [Wx::GridCellEditor]
857
+ # @param editor [Wx::GRID::GridCellEditor]
842
858
  # @return [void]
843
859
  def set_cell_editor(row, col, editor) end
844
860
 
@@ -847,7 +863,7 @@ module Wx::GRID
847
863
  # See {Wx::GRID::GridCellRenderer} and the wxGrid Overview for more information about cell editors and renderers.
848
864
  # @param row [Integer]
849
865
  # @param col [Integer]
850
- # @param renderer [Wx::GridCellRenderer]
866
+ # @param renderer [Wx::GRID::GridCellRenderer]
851
867
  # @return [void]
852
868
  def set_cell_renderer(row, col, renderer) end
853
869
 
@@ -906,7 +922,7 @@ module Wx::GRID
906
922
  # Sets the default editor for grid cells.
907
923
  # The grid will take ownership of the pointer.
908
924
  # See {Wx::GRID::GridCellEditor} and the wxGrid Overview for more information about cell editors and renderers.
909
- # @param editor [Wx::GridCellEditor]
925
+ # @param editor [Wx::GRID::GridCellEditor]
910
926
  # @return [void]
911
927
  def set_default_editor(editor) end
912
928
  alias_method :default_editor=, :set_default_editor
@@ -914,7 +930,7 @@ module Wx::GRID
914
930
  # Sets the default renderer for grid cells.
915
931
  # The grid will take ownership of the pointer.
916
932
  # See {Wx::GRID::GridCellRenderer} and the wxGrid Overview for more information about cell editors and renderers.
917
- # @param renderer [Wx::GridCellRenderer]
933
+ # @param renderer [Wx::GRID::GridCellRenderer]
918
934
  # @return [void]
919
935
  def set_default_renderer(renderer) end
920
936
  alias_method :default_renderer=, :set_default_renderer
@@ -924,7 +940,7 @@ module Wx::GRID
924
940
  # @see Wx::GRID::Grid#is_read_only
925
941
  # @param row [Integer]
926
942
  # @param col [Integer]
927
- # @param isReadOnly [true,false]
943
+ # @param isReadOnly [Boolean]
928
944
  # @return [void]
929
945
  def set_read_only(row, col, isReadOnly=true) end
930
946
 
@@ -945,20 +961,20 @@ module Wx::GRID
945
961
  # Automatically sizes the column to fit its contents.
946
962
  # If setAsMin is true the calculated width will also be set as the minimal width for the column.
947
963
  # @param col [Integer]
948
- # @param setAsMin [true,false]
964
+ # @param setAsMin [Boolean]
949
965
  # @return [void]
950
966
  def auto_size_column(col, setAsMin=true) end
951
967
 
952
968
  # Automatically sizes all columns to fit their contents.
953
969
  # If setAsMin is true the calculated widths will also be set as the minimal widths for the columns.
954
- # @param setAsMin [true,false]
970
+ # @param setAsMin [Boolean]
955
971
  # @return [void]
956
972
  def auto_size_columns(setAsMin=true) end
957
973
 
958
974
  # Automatically sizes the row to fit its contents.
959
975
  # If setAsMin is true the calculated height will also be set as the minimal height for the row.
960
976
  # @param row [Integer]
961
- # @param setAsMin [true,false]
977
+ # @param setAsMin [Boolean]
962
978
  # @return [void]
963
979
  def auto_size_row(row, setAsMin=true) end
964
980
 
@@ -969,25 +985,25 @@ module Wx::GRID
969
985
 
970
986
  # Automatically sizes all rows to fit their contents.
971
987
  # If setAsMin is true the calculated heights will also be set as the minimal heights for the rows.
972
- # @param setAsMin [true,false]
988
+ # @param setAsMin [Boolean]
973
989
  # @return [void]
974
990
  def auto_size_rows(setAsMin=true) end
975
991
 
976
992
  # Returns the cell fitting mode.
977
993
  #
978
- # @see Wx::GridFitMode
994
+ # @see Wx::GRID::GridFitMode
979
995
  # @param row [Integer]
980
996
  # @param col [Integer]
981
- # @return [Wx::GridFitMode]
997
+ # @return [Wx::GRID::GridFitMode]
982
998
  def get_cell_fit_mode(row, col) end
983
999
  alias_method :cell_fit_mode, :get_cell_fit_mode
984
1000
 
985
1001
  # Returns true if the cell value can overflow.
986
- # 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.
987
1003
  # Prefer using {Wx::GRID::Grid#get_cell_fit_mode} directly in the new code.
988
1004
  # @param row [Integer]
989
1005
  # @param col [Integer]
990
- # @return [true,false]
1006
+ # @return [Boolean]
991
1007
  def get_cell_overflow(row, col) end
992
1008
  alias_method :cell_overflow, :get_cell_overflow
993
1009
 
@@ -1011,21 +1027,21 @@ module Wx::GRID
1011
1027
 
1012
1028
  # Returns true if the specified column is not currently hidden.
1013
1029
  # @param col [Integer]
1014
- # @return [true,false]
1030
+ # @return [Boolean]
1015
1031
  def is_col_shown(col) end
1016
1032
  alias_method :col_shown?, :is_col_shown
1017
1033
 
1018
1034
  # Returns the default cell fitting mode.
1019
1035
  # The default mode is "overflow", but can be modified using {Wx::GRID::Grid#set_default_cell_fit_mode}.
1020
- # @see Wx::GridFitMode
1021
- # @return [Wx::GridFitMode]
1036
+ # @see Wx::GRID::GridFitMode
1037
+ # @return [Wx::GRID::GridFitMode]
1022
1038
  def get_default_cell_fit_mode; end
1023
1039
  alias_method :default_cell_fit_mode, :get_default_cell_fit_mode
1024
1040
 
1025
1041
  # Returns true if the cells can overflow by default.
1026
- # 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.
1027
1043
  # Prefer using {Wx::GRID::Grid#get_default_cell_fit_mode} directly in the new code.
1028
- # @return [true,false]
1044
+ # @return [Boolean]
1029
1045
  def get_default_cell_overflow; end
1030
1046
  alias_method :default_cell_overflow, :get_default_cell_overflow
1031
1047
 
@@ -1069,16 +1085,16 @@ module Wx::GRID
1069
1085
 
1070
1086
  # Returns true if the specified row is not currently hidden.
1071
1087
  # @param row [Integer]
1072
- # @return [true,false]
1088
+ # @return [Boolean]
1073
1089
  def is_row_shown(row) end
1074
1090
  alias_method :row_shown?, :is_row_shown
1075
1091
 
1076
1092
  # Specifies the behaviour of the cell contents if it doesn't fit into the available space.
1077
1093
  #
1078
- # @see Wx::GridFitMode
1094
+ # @see Wx::GRID::GridFitMode
1079
1095
  # @param row [Integer]
1080
1096
  # @param col [Integer]
1081
- # @param fitMode [Wx::GridFitMode]
1097
+ # @param fitMode [Wx::GRID::GridFitMode]
1082
1098
  # @return [void]
1083
1099
  def set_cell_fit_mode(row, col, fitMode) end
1084
1100
 
@@ -1086,7 +1102,7 @@ module Wx::GRID
1086
1102
  # Prefer using {Wx::GRID::Grid#set_cell_fit_mode} in the new code.
1087
1103
  # @param row [Integer]
1088
1104
  # @param col [Integer]
1089
- # @param allow [true,false]
1105
+ # @param allow [Boolean]
1090
1106
  # @return [void]
1091
1107
  def set_cell_overflow(row, col, allow) end
1092
1108
 
@@ -1137,15 +1153,15 @@ module Wx::GRID
1137
1153
 
1138
1154
  # Specifies the default behaviour of the cell contents if it doesn't fit into the available space.
1139
1155
  #
1140
- # @see Wx::GridFitMode
1141
- # @param fitMode [Wx::GridFitMode]
1156
+ # @see Wx::GRID::GridFitMode
1157
+ # @param fitMode [Wx::GRID::GridFitMode]
1142
1158
  # @return [void]
1143
1159
  def set_default_cell_fit_mode(fitMode) end
1144
1160
  alias_method :default_cell_fit_mode=, :set_default_cell_fit_mode
1145
1161
 
1146
1162
  # Sets the default overflow permission of the cells.
1147
1163
  # Prefer using {Wx::GRID::Grid#set_default_cell_fit_mode} in the new code.
1148
- # @param allow [true,false]
1164
+ # @param allow [Boolean]
1149
1165
  # @return [void]
1150
1166
  def set_default_cell_overflow(allow) end
1151
1167
  alias_method :default_cell_overflow=, :set_default_cell_overflow
@@ -1154,7 +1170,7 @@ module Wx::GRID
1154
1170
  # This will only affect columns subsequently added to the grid unless resizeExistingCols is true.
1155
1171
  # If width is less than {Wx::GRID::Grid#get_col_minimal_acceptable_width}, then the minimal acceptable width is used instead of it.
1156
1172
  # @param width [Integer]
1157
- # @param resizeExistingCols [true,false]
1173
+ # @param resizeExistingCols [Boolean]
1158
1174
  # @return [void]
1159
1175
  def set_default_col_size(width, resizeExistingCols=false) end
1160
1176
  alias_method :default_col_size=, :set_default_col_size
@@ -1163,7 +1179,7 @@ module Wx::GRID
1163
1179
  # This will only affect rows subsequently added to the grid unless resizeExistingRows is true.
1164
1180
  # If height is less than {Wx::GRID::Grid#get_row_minimal_acceptable_height}, then the minimal acceptable height is used instead of it.
1165
1181
  # @param height [Integer]
1166
- # @param resizeExistingRows [true,false]
1182
+ # @param resizeExistingRows [Boolean]
1167
1183
  # @return [void]
1168
1184
  def set_default_row_size(height, resizeExistingRows=false) end
1169
1185
  alias_method :default_row_size=, :set_default_row_size
@@ -1214,24 +1230,24 @@ module Wx::GRID
1214
1230
 
1215
1231
  # Get size information for all columns at once.
1216
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}.
1217
- # @see Wx::GridSizesInfo
1233
+ # @see Wx::GRID::GridSizesInfo
1218
1234
  # @see Wx::GRID::Grid#get_row_sizes
1219
- # @return [Wx::GridSizesInfo]
1235
+ # @return [Wx::GRID::GridSizesInfo]
1220
1236
  def get_col_sizes; end
1221
1237
  alias_method :col_sizes, :get_col_sizes
1222
1238
 
1223
1239
  # Get size information for all row at once.
1224
1240
  #
1225
- # @see Wx::GridSizesInfo
1241
+ # @see Wx::GRID::GridSizesInfo
1226
1242
  # @see Wx::GRID::Grid#get_col_sizes
1227
- # @return [Wx::GridSizesInfo]
1243
+ # @return [Wx::GRID::GridSizesInfo]
1228
1244
  def get_row_sizes; end
1229
1245
  alias_method :row_sizes, :get_row_sizes
1230
1246
 
1231
1247
  # Restore all columns sizes.
1232
- # 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}.
1233
1249
  # @see Wx::GRID::Grid#set_row_sizes
1234
- # @param sizeInfo [Wx::GridSizesInfo]
1250
+ # @param sizeInfo [Wx::GRID::GridSizesInfo]
1235
1251
  # @return [void]
1236
1252
  def set_col_sizes(sizeInfo) end
1237
1253
  alias_method :col_sizes=, :set_col_sizes
@@ -1239,7 +1255,7 @@ module Wx::GRID
1239
1255
  # Restore all rows sizes.
1240
1256
  #
1241
1257
  # @see Wx::GRID::Grid#set_col_sizes
1242
- # @param sizeInfo [Wx::GridSizesInfo]
1258
+ # @param sizeInfo [Wx::GRID::GridSizesInfo]
1243
1259
  # @return [void]
1244
1260
  def set_row_sizes(sizeInfo) end
1245
1261
  alias_method :row_sizes=, :set_row_sizes
@@ -1273,30 +1289,30 @@ module Wx::GRID
1273
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).
1274
1290
  # @param row [Integer] The row of the cell.
1275
1291
  # @param col [Integer] The column of the cell.
1276
- # @return [Array(CellSpan,Integer,Integer)]
1292
+ # @return [Array(Wx::wxGrid::CellSpan,Integer,Integer)]
1277
1293
  # @overload get_cell_size(coords)
1278
1294
  # Get the number of rows and columns allocated for this cell.
1279
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.
1280
- # @param coords [Wx::GridCellCoords]
1296
+ # @param coords [Array(Integer, Integer)]
1281
1297
  # @return [Wx::Size]
1282
1298
  def get_cell_size(*args) end
1283
1299
  alias_method :cell_size, :get_cell_size
1284
1300
 
1285
1301
  # Return true if the dragging of cells is enabled or false otherwise.
1286
- # @return [true,false]
1302
+ # @return [Boolean]
1287
1303
  def can_drag_cell; end
1288
1304
  alias_method :can_drag_cell?, :can_drag_cell
1289
1305
 
1290
1306
  # Returns true if columns can be moved by dragging with the mouse.
1291
1307
  # Columns can be moved by dragging on their labels.
1292
- # @return [true,false]
1308
+ # @return [Boolean]
1293
1309
  def can_drag_col_move; end
1294
1310
  alias_method :can_drag_col_move?, :can_drag_col_move
1295
1311
 
1296
1312
  # Returns true if the given column can be resized by dragging with the mouse.
1297
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}.
1298
1314
  # @param col [Integer]
1299
- # @return [true,false]
1315
+ # @return [Boolean]
1300
1316
  def can_drag_col_size(col) end
1301
1317
  alias_method :can_drag_col_size?, :can_drag_col_size
1302
1318
 
@@ -1304,7 +1320,7 @@ module Wx::GRID
1304
1320
  #
1305
1321
  # @see Wx::GRID::Grid#can_drag_grid_size
1306
1322
  # @see Wx::GRID::Grid#can_drag_col_size
1307
- # @return [true,false]
1323
+ # @return [Boolean]
1308
1324
  def can_drag_grid_col_edges; end
1309
1325
  alias_method :can_drag_grid_col_edges?, :can_drag_grid_col_edges
1310
1326
 
@@ -1312,30 +1328,30 @@ module Wx::GRID
1312
1328
  #
1313
1329
  # @see Wx::GRID::Grid#can_drag_grid_size
1314
1330
  # @see Wx::GRID::Grid#can_drag_row_size
1315
- # @return [true,false]
1331
+ # @return [Boolean]
1316
1332
  def can_drag_grid_row_edges; end
1317
1333
  alias_method :can_drag_grid_row_edges?, :can_drag_grid_row_edges
1318
1334
 
1319
1335
  # Return true if the dragging of grid lines to resize rows and columns is enabled or false otherwise.
1320
- # @return [true,false]
1336
+ # @return [Boolean]
1321
1337
  def can_drag_grid_size; end
1322
1338
  alias_method :can_drag_grid_size?, :can_drag_grid_size
1323
1339
 
1324
1340
  # Returns true if rows can be moved by dragging with the mouse.
1325
1341
  # Rows can be moved by dragging on their labels.
1326
- # @return [true,false]
1342
+ # @return [Boolean]
1327
1343
  def can_drag_row_move; end
1328
1344
  alias_method :can_drag_row_move?, :can_drag_row_move
1329
1345
 
1330
1346
  # Returns true if the given row can be resized by dragging with the mouse.
1331
1347
  # This is the same as {Wx::GRID::Grid#can_drag_col_size} but for rows.
1332
1348
  # @param row [Integer]
1333
- # @return [true,false]
1349
+ # @return [Boolean]
1334
1350
  def can_drag_row_size(row) end
1335
1351
  alias_method :can_drag_row_size?, :can_drag_row_size
1336
1352
 
1337
1353
  # Returns true if columns can be hidden from the popup menu of the native header.
1338
- # @return [true,false]
1354
+ # @return [Boolean]
1339
1355
  def can_hide_columns; end
1340
1356
  alias_method :can_hide_columns?, :can_hide_columns
1341
1357
 
@@ -1386,38 +1402,38 @@ module Wx::GRID
1386
1402
  def disable_hiding_columns; end
1387
1403
 
1388
1404
  # Enables or disables cell dragging with the mouse.
1389
- # @param enable [true,false]
1405
+ # @param enable [Boolean]
1390
1406
  # @return [void]
1391
1407
  def enable_drag_cell(enable=true) end
1392
1408
 
1393
1409
  # Enables or disables column moving by dragging with the mouse.
1394
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.
1395
- # @param enable [true,false]
1396
- # @return [true,false]
1411
+ # @param enable [Boolean]
1412
+ # @return [Boolean]
1397
1413
  def enable_drag_col_move(enable=true) end
1398
1414
 
1399
1415
  # Enables or disables row moving by dragging with the mouse.
1400
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.
1401
- # @param enable [true,false]
1402
- # @return [true,false]
1417
+ # @param enable [Boolean]
1418
+ # @return [Boolean]
1403
1419
  def enable_drag_row_move(enable=true) end
1404
1420
 
1405
1421
  # Enables or disables column sizing by dragging with the mouse.
1406
1422
  #
1407
1423
  # @see Wx::GRID::Grid#disable_col_resize
1408
- # @param enable [true,false]
1424
+ # @param enable [Boolean]
1409
1425
  # @return [void]
1410
1426
  def enable_drag_col_size(enable=true) end
1411
1427
 
1412
1428
  # Enables or disables row and column resizing by dragging gridlines with the mouse.
1413
- # @param enable [true,false]
1429
+ # @param enable [Boolean]
1414
1430
  # @return [void]
1415
1431
  def enable_drag_grid_size(enable=true) end
1416
1432
 
1417
1433
  # Enables or disables row sizing by dragging with the mouse.
1418
1434
  #
1419
1435
  # @see Wx::GRID::Grid#disable_row_resize
1420
- # @param enable [true,false]
1436
+ # @param enable [Boolean]
1421
1437
  # @return [void]
1422
1438
  def enable_drag_row_size(enable=true) end
1423
1439
 
@@ -1426,8 +1442,8 @@ module Wx::GRID
1426
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.
1427
1443
  # The main use case for this method is to disallow hiding the columns interactively when using the native header.
1428
1444
  # @see Wx::GRID::Grid#disable_hiding_columns
1429
- # @param enable [true,false]
1430
- # @return [true,false]
1445
+ # @param enable [Boolean]
1446
+ # @return [Boolean]
1431
1447
  def enable_hiding_columns(enable=true) end
1432
1448
 
1433
1449
  # Returns the column ID of the specified column position.
@@ -1449,7 +1465,7 @@ module Wx::GRID
1449
1465
  def set_col_pos(colID, newPos) end
1450
1466
 
1451
1467
  # Sets the positions of all columns at once.
1452
- # 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}.
1453
1469
  # @param order [Array<Integer>]
1454
1470
  # @return [void]
1455
1471
  def set_columns_order(order) end
@@ -1490,7 +1506,7 @@ module Wx::GRID
1490
1506
 
1491
1507
  # Returns the current grid cursor position.
1492
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>.
1493
- # @return [Wx::GridCellCoords]
1509
+ # @return [Array(Integer, Integer)]
1494
1510
  def get_grid_cursor_coords; end
1495
1511
  alias_method :grid_cursor_coords, :get_grid_cursor_coords
1496
1512
 
@@ -1517,64 +1533,64 @@ module Wx::GRID
1517
1533
  # @overload go_to_cell(coords)
1518
1534
  # Make the given cell current and ensure it is visible.
1519
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.
1520
- # @param coords [Wx::GridCellCoords]
1536
+ # @param coords [Array(Integer, Integer)]
1521
1537
  # @return [void]
1522
1538
  def go_to_cell(*args) end
1523
1539
 
1524
1540
  # Moves the grid cursor down by one row.
1525
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.
1526
- # @param expandSelection [true,false]
1527
- # @return [true,false]
1542
+ # @param expandSelection [Boolean]
1543
+ # @return [Boolean]
1528
1544
  def move_cursor_down(expandSelection) end
1529
1545
 
1530
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.
1531
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.
1532
- # @param expandSelection [true,false]
1533
- # @return [true,false]
1548
+ # @param expandSelection [Boolean]
1549
+ # @return [Boolean]
1534
1550
  def move_cursor_down_block(expandSelection) end
1535
1551
 
1536
1552
  # Moves the grid cursor left by one column.
1537
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.
1538
- # @param expandSelection [true,false]
1539
- # @return [true,false]
1554
+ # @param expandSelection [Boolean]
1555
+ # @return [Boolean]
1540
1556
  def move_cursor_left(expandSelection) end
1541
1557
 
1542
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.
1543
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.
1544
- # @param expandSelection [true,false]
1545
- # @return [true,false]
1560
+ # @param expandSelection [Boolean]
1561
+ # @return [Boolean]
1546
1562
  def move_cursor_left_block(expandSelection) end
1547
1563
 
1548
1564
  # Moves the grid cursor right by one column.
1549
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.
1550
- # @param expandSelection [true,false]
1551
- # @return [true,false]
1566
+ # @param expandSelection [Boolean]
1567
+ # @return [Boolean]
1552
1568
  def move_cursor_right(expandSelection) end
1553
1569
 
1554
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.
1555
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.
1556
- # @param expandSelection [true,false]
1557
- # @return [true,false]
1572
+ # @param expandSelection [Boolean]
1573
+ # @return [Boolean]
1558
1574
  def move_cursor_right_block(expandSelection) end
1559
1575
 
1560
1576
  # Moves the grid cursor up by one row.
1561
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.
1562
- # @param expandSelection [true,false]
1563
- # @return [true,false]
1578
+ # @param expandSelection [Boolean]
1579
+ # @return [Boolean]
1564
1580
  def move_cursor_up(expandSelection) end
1565
1581
 
1566
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.
1567
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.
1568
- # @param expandSelection [true,false]
1569
- # @return [true,false]
1584
+ # @param expandSelection [Boolean]
1585
+ # @return [Boolean]
1570
1586
  def move_cursor_up_block(expandSelection) end
1571
1587
 
1572
1588
  # Moves the grid cursor down by some number of rows so that the previous bottom visible row becomes the top visible row.
1573
- # @return [true,false]
1589
+ # @return [Boolean]
1574
1590
  def move_page_down; end
1575
1591
 
1576
1592
  # Moves the grid cursor up by some number of rows so that the previous top visible row becomes the bottom visible row.
1577
- # @return [true,false]
1593
+ # @return [Boolean]
1578
1594
  def move_page_up; end
1579
1595
 
1580
1596
  # @overload set_grid_cursor(row, col)
@@ -1590,7 +1606,7 @@ module Wx::GRID
1590
1606
  # The grid cursor indicates the current cell and can be moved by the user using the arrow keys or the mouse.
1591
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.
1592
1608
  # This function doesn't make the target call visible, use {Wx::GRID::Grid#go_to_cell} to do this.
1593
- # @param coords [Wx::GridCellCoords]
1609
+ # @param coords [Array(Integer, Integer)]
1594
1610
  # @return [void]
1595
1611
  def set_grid_cursor(*args) end
1596
1612
  alias_method :grid_cursor=, :set_grid_cursor
@@ -1599,7 +1615,7 @@ module Wx::GRID
1599
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.
1600
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.
1601
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.
1602
- # @param behaviour [TabBehaviour]
1618
+ # @param behaviour [Wx::wxGrid::TabBehaviour]
1603
1619
  # @return [void]
1604
1620
  def set_tab_behaviour(behaviour) end
1605
1621
  alias_method :tab_behaviour=, :set_tab_behaviour
@@ -1630,14 +1646,14 @@ module Wx::GRID
1630
1646
  # This method returns empty vector for the other selection modes.
1631
1647
  # @see Wx::GRID::Grid#get_selected_blocks
1632
1648
  # @see Wx::GRID::Grid#get_selected_col_blocks
1633
- # @return [Wx::GridBlockCoordsVector]
1649
+ # @return [Array<Wx::GRID::GridBlockCoords]
1634
1650
  def get_selected_row_blocks; end
1635
1651
  alias_method :selected_row_blocks, :get_selected_row_blocks
1636
1652
 
1637
1653
  # Returns an ordered range of non-overlapping selected columns.
1638
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.
1639
1655
  # @see Wx::GRID::Grid#get_selected_blocks
1640
- # @return [Wx::GridBlockCoordsVector]
1656
+ # @return [Array<Wx::GRID::GridBlockCoords]
1641
1657
  def get_selected_col_blocks; end
1642
1658
  alias_method :selected_col_blocks, :get_selected_col_blocks
1643
1659
 
@@ -1692,19 +1708,19 @@ module Wx::GRID
1692
1708
  # Returns the current selection mode.
1693
1709
  #
1694
1710
  # @see Wx::GRID::Grid#set_selection_mode.
1695
- # @return [GridSelectionModes]
1711
+ # @return [Wx::wxGrid::GridSelectionModes]
1696
1712
  def get_selection_mode; end
1697
1713
  alias_method :selection_mode, :get_selection_mode
1698
1714
 
1699
1715
  # Returns true if the given cell is selected.
1700
1716
  # @param row [Integer]
1701
1717
  # @param col [Integer]
1702
- # @return [true,false]
1718
+ # @return [Boolean]
1703
1719
  def is_in_selection(row, col) end
1704
1720
  alias_method :in_selection?, :is_in_selection
1705
1721
 
1706
1722
  # Returns true if there are currently any selected cells, rows, columns or blocks.
1707
- # @return [true,false]
1723
+ # @return [Boolean]
1708
1724
  def is_selection; end
1709
1725
  alias_method :selection?, :is_selection
1710
1726
 
@@ -1718,7 +1734,7 @@ module Wx::GRID
1718
1734
  # @param leftCol [Integer]
1719
1735
  # @param bottomRow [Integer]
1720
1736
  # @param rightCol [Integer]
1721
- # @param addToSelected [true,false]
1737
+ # @param addToSelected [Boolean]
1722
1738
  # @return [void]
1723
1739
  def select_block(topRow, leftCol, bottomRow, rightCol, addToSelected=false) end
1724
1740
 
@@ -1726,7 +1742,7 @@ module Wx::GRID
1726
1742
  # If addToSelected is false then any existing selection will be deselected; if true the column will be added to the existing selection.
1727
1743
  # This method won't select anything if the current selection mode is {Wx::GRID::Grid::GridSelectionModes::GridSelectRows}.
1728
1744
  # @param col [Integer]
1729
- # @param addToSelected [true,false]
1745
+ # @param addToSelected [Boolean]
1730
1746
  # @return [void]
1731
1747
  def select_col(col, addToSelected=false) end
1732
1748
 
@@ -1734,7 +1750,7 @@ module Wx::GRID
1734
1750
  # If addToSelected is false then any existing selection will be deselected; if true the row will be added to the existing selection.
1735
1751
  # This method won't select anything if the current selection mode is {Wx::GRID::Grid::GridSelectionModes::GridSelectColumns}.
1736
1752
  # @param row [Integer]
1737
- # @param addToSelected [true,false]
1753
+ # @param addToSelected [Boolean]
1738
1754
  # @return [void]
1739
1755
  def select_row(row, addToSelected=false) end
1740
1756
 
@@ -1752,7 +1768,7 @@ module Wx::GRID
1752
1768
 
1753
1769
  # Set the selection behaviour of the grid.
1754
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).
1755
- # @param selmode [GridSelectionModes]
1771
+ # @param selmode [Wx::wxGrid::GridSelectionModes]
1756
1772
  # @return [void]
1757
1773
  def set_selection_mode(selmode) end
1758
1774
  alias_method :selection_mode=, :set_selection_mode
@@ -1779,8 +1795,8 @@ module Wx::GRID
1779
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.
1780
1796
  # @param row [Integer]
1781
1797
  # @param col [Integer]
1782
- # @param wholeCellVisible [true,false]
1783
- # @return [true,false]
1798
+ # @param wholeCellVisible [Boolean]
1799
+ # @return [Boolean]
1784
1800
  def is_visible(row, col, wholeCellVisible=true) end
1785
1801
  alias_method :visible?, :is_visible
1786
1802
 
@@ -1826,9 +1842,9 @@ module Wx::GRID
1826
1842
  # Convert grid cell coordinates to grid window pixel coordinates.
1827
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.
1828
1844
  # @see Wx::GRID::Grid#cell_to_rect
1829
- # @param topLeft [Wx::GridCellCoords]
1830
- # @param bottomRight [Wx::GridCellCoords]
1831
- # @param gridWindow [Wx::GridWindow]
1845
+ # @param topLeft [Array(Integer, Integer)]
1846
+ # @param bottomRight [Array(Integer, Integer)]
1847
+ # @param gridWindow [Wx::GRID::GridWindow]
1832
1848
  # @return [Wx::Rect]
1833
1849
  def block_to_device_rect(topLeft, bottomRight, gridWindow=nil) end
1834
1850
 
@@ -1845,56 +1861,47 @@ module Wx::GRID
1845
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.
1846
1862
  # @param row [Integer]
1847
1863
  # @param col [Integer]
1848
- # @return [Wx::GridWindow]
1864
+ # @return [Wx::GRID::GridWindow]
1849
1865
  # @overload cell_to_grid_window(coords)
1850
1866
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1851
- # @param coords [Wx::GridCellCoords]
1852
- # @return [Wx::GridWindow]
1867
+ # @param coords [Array(Integer, Integer)]
1868
+ # @return [Wx::GRID::GridWindow]
1853
1869
  def cell_to_grid_window(*args) end
1854
1870
 
1855
1871
  # @overload device_pos_to_grid_window(pos)
1856
1872
  # Returns the grid window that includes the input coordinates.
1857
1873
  # @param pos [Wx::Point]
1858
- # @return [Wx::GridWindow]
1874
+ # @return [Wx::GRID::GridWindow]
1859
1875
  # @overload device_pos_to_grid_window(x, y)
1860
1876
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1861
1877
  # @param x [Integer]
1862
1878
  # @param y [Integer]
1863
- # @return [Wx::GridWindow]
1879
+ # @return [Wx::GRID::GridWindow]
1864
1880
  def device_pos_to_grid_window(*args) end
1865
1881
 
1866
- # @overload get_grid_window_offset(gridWindow, x, y)
1867
- # Returns the grid window's offset from the grid starting position taking into account the frozen cells.
1868
- # If there are no frozen cells, returns (0, 0).
1869
- # @see Wx::GRID::Grid#freeze_to
1870
- # @param gridWindow [Wx::GridWindow]
1871
- # @param x [int]
1872
- # @param y [int]
1873
- # @return [void]
1874
- # @overload get_grid_window_offset(gridWindow)
1875
- # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1876
- # @param gridWindow [Wx::GridWindow]
1877
- # @return [Wx::Point]
1878
- 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
1879
1886
  alias_method :grid_window_offset, :get_grid_window_offset
1880
1887
 
1881
1888
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1882
1889
  # @param pt [Array(Integer, Integer), Wx::Point]
1883
- # @param gridWindow [Wx::GridWindow]
1890
+ # @param gridWindow [Wx::GRID::GridWindow]
1884
1891
  # @return [Wx::Point]
1885
1892
  def calc_grid_window_unscrolled_position(pt, gridWindow) end
1886
1893
 
1887
1894
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1888
1895
  # @param pt [Array(Integer, Integer), Wx::Point]
1889
- # @param gridWindow [Wx::GridWindow]
1896
+ # @param gridWindow [Wx::GRID::GridWindow]
1890
1897
  # @return [Wx::Point]
1891
1898
  def calc_grid_window_scrolled_position(pt, gridWindow) end
1892
1899
 
1893
1900
  # Returns the column at the given pixel position depending on the window.
1894
1901
  # The column index or {Wx::NOT_FOUND}.
1895
1902
  # @param x [Integer] The x position to evaluate.
1896
- # @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.
1897
- # @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.
1898
1905
  # @return [Integer]
1899
1906
  def x_to_col(x, clipToMinMax=false, gridWindow=nil) end
1900
1907
 
@@ -1913,12 +1920,12 @@ module Wx::GRID
1913
1920
  # @see Wx::GRID::Grid#y_to_row
1914
1921
  # @param x [Integer]
1915
1922
  # @param y [Integer]
1916
- # @param gridWindow [Wx::GridWindow]
1923
+ # @param gridWindow [Wx::GRID::GridWindow]
1917
1924
  # @return [Array(Integer, Integer)]
1918
1925
  # @overload xy_to_cell(pos, gridWindow=nil)
1919
1926
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1920
1927
  # @param pos [Array(Integer, Integer), Wx::Point]
1921
- # @param gridWindow [Wx::GridWindow]
1928
+ # @param gridWindow [Wx::GRID::GridWindow]
1922
1929
  # @return [Array(Integer, Integer)]
1923
1930
  def xy_to_cell(*args) end
1924
1931
 
@@ -1932,8 +1939,8 @@ module Wx::GRID
1932
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.
1933
1940
  # If gridWindow is NULL, the function returns {Wx::NOT_FOUND} only if there is no row at all at the y position.
1934
1941
  # @param y [Integer]
1935
- # @param clipToMinMax [true,false]
1936
- # @param gridWindow [Wx::GridWindow]
1942
+ # @param clipToMinMax [Boolean]
1943
+ # @param gridWindow [Wx::GRID::GridWindow]
1937
1944
  # @return [Integer]
1938
1945
  def y_to_row(y, clipToMinMax=false, gridWindow=nil) end
1939
1946
 
@@ -1941,30 +1948,30 @@ module Wx::GRID
1941
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.
1942
1949
  # true on success or false if appending columns failed.
1943
1950
  # @param numCols [Integer]
1944
- # @param updateLabels [true,false]
1945
- # @return [true,false]
1951
+ # @param updateLabels [Boolean]
1952
+ # @return [Boolean]
1946
1953
  def append_cols(numCols=1, updateLabels=true) end
1947
1954
 
1948
1955
  # Appends one or more new rows to the bottom of the grid.
1949
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.
1950
1957
  # true on success or false if appending rows failed.
1951
1958
  # @param numRows [Integer]
1952
- # @param updateLabels [true,false]
1953
- # @return [true,false]
1959
+ # @param updateLabels [Boolean]
1960
+ # @return [Boolean]
1954
1961
  def append_rows(numRows=1, updateLabels=true) end
1955
1962
 
1956
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.
1957
1964
  # The default is to clip grid lines.
1958
1965
  # @see Wx::GRID::Grid#clip_horz_grid_lines
1959
1966
  # @see Wx::GRID::Grid#are_vert_grid_lines_clipped
1960
- # @return [true,false]
1967
+ # @return [Boolean]
1961
1968
  def are_horz_grid_lines_clipped; end
1962
1969
 
1963
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.
1964
1971
  # The default is to clip grid lines.
1965
1972
  # @see Wx::GRID::Grid#clip_vert_grid_lines
1966
1973
  # @see Wx::GRID::Grid#are_horz_grid_lines_clipped
1967
- # @return [true,false]
1974
+ # @return [Boolean]
1968
1975
  def are_vert_grid_lines_clipped; end
1969
1976
 
1970
1977
  # Increments the grid's batch count.
@@ -1982,7 +1989,7 @@ module Wx::GRID
1982
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.
1983
1990
  # @see Wx::GRID::Grid#are_horz_grid_lines_clipped
1984
1991
  # @see Wx::GRID::Grid#clip_vert_grid_lines
1985
- # @param clip [true,false]
1992
+ # @param clip [Boolean]
1986
1993
  # @return [void]
1987
1994
  def clip_horz_grid_lines(clip) end
1988
1995
 
@@ -1990,7 +1997,7 @@ module Wx::GRID
1990
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.
1991
1998
  # @see Wx::GRID::Grid#are_vert_grid_lines_clipped
1992
1999
  # @see Wx::GRID::Grid#clip_horz_grid_lines
1993
- # @param clip [true,false]
2000
+ # @param clip [Boolean]
1994
2001
  # @return [void]
1995
2002
  def clip_vert_grid_lines(clip) end
1996
2003
 
@@ -1999,8 +2006,8 @@ module Wx::GRID
1999
2006
  # true on success or false if deleting columns failed.
2000
2007
  # @param pos [Integer]
2001
2008
  # @param numCols [Integer]
2002
- # @param updateLabels [true,false]
2003
- # @return [true,false]
2009
+ # @param updateLabels [Boolean]
2010
+ # @return [Boolean]
2004
2011
  def delete_cols(pos=0, numCols=1, updateLabels=true) end
2005
2012
 
2006
2013
  # Deletes one or more rows from a grid starting at the specified position.
@@ -2008,8 +2015,8 @@ module Wx::GRID
2008
2015
  # true on success or false if deleting rows failed.
2009
2016
  # @param pos [Integer]
2010
2017
  # @param numRows [Integer]
2011
- # @param updateLabels [true,false]
2012
- # @return [true,false]
2018
+ # @param updateLabels [Boolean]
2019
+ # @return [Boolean]
2013
2020
  def delete_rows(pos=0, numRows=1, updateLabels=true) end
2014
2021
 
2015
2022
  # @overload freeze_to(row, col)
@@ -2017,16 +2024,20 @@ module Wx::GRID
2017
2024
  # true on success or false if it failed.
2018
2025
  #
2019
2026
  # Note that this method doesn't do anything, and returns false, if any of the following conditions are true:
2020
- # - Either row or col are out of range- Size of the frozen area would be bigger than the current viewing area- There are any merged cells in the area to be frozen- Grid uses a native header control (see {Wx::GRID::Grid#use_native_col_header})
2027
+ #
2028
+ # - Either row or col are out of range
2029
+ # - Size of the frozen area would be bigger than the current viewing area
2030
+ # - There are any merged cells in the area to be frozen
2031
+ # - Grid uses a native header control (see {Wx::GRID::Grid#use_native_col_header})
2021
2032
  #
2022
2033
  # (some of these limitations could be lifted in the future).
2023
2034
  # @param row [unsigned] The number of rows to freeze, 0 means to unfreeze all rows.
2024
2035
  # @param col [unsigned] The number of columns to freeze, 0 means to unfreeze all columns.
2025
- # @return [true,false]
2036
+ # @return [Boolean]
2026
2037
  # @overload freeze_to(coords)
2027
2038
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
2028
- # @param coords [Wx::GridCellCoords]
2029
- # @return [true,false]
2039
+ # @param coords [Array(Integer, Integer)]
2040
+ # @return [Boolean]
2030
2041
  def freeze_to(*args) end
2031
2042
 
2032
2043
  # Decrements the grid's batch count.
@@ -2088,7 +2099,7 @@ module Wx::GRID
2088
2099
 
2089
2100
  # Returns a base pointer to the current table object.
2090
2101
  # The returned pointer is still owned by the grid.
2091
- # @return [Wx::GridTableBase]
2102
+ # @return [Wx::GRID::GridTableBase]
2092
2103
  def get_table; end
2093
2104
  alias_method :table, :get_table
2094
2105
 
@@ -2098,8 +2109,8 @@ module Wx::GRID
2098
2109
  # true if the columns were successfully inserted, false if an error occurred (most likely the table couldn't be updated).
2099
2110
  # @param pos [Integer] The position which the first newly inserted column will have.
2100
2111
  # @param numCols [Integer] The number of columns to insert.
2101
- # @param updateLabels [true,false] Currently not used.
2102
- # @return [true,false]
2112
+ # @param updateLabels [Boolean] Currently not used.
2113
+ # @return [Boolean]
2103
2114
  def insert_cols(pos=0, numCols=1, updateLabels=true) end
2104
2115
 
2105
2116
  # Inserts one or more new rows into a grid with the first new row at the specified position.
@@ -2108,8 +2119,8 @@ module Wx::GRID
2108
2119
  # true if the rows were successfully inserted, false if an error occurred (most likely the table couldn't be updated).
2109
2120
  # @param pos [Integer] The position which the first newly inserted row will have.
2110
2121
  # @param numRows [Integer] The number of rows to insert.
2111
- # @param updateLabels [true,false] Currently not used.
2112
- # @return [true,false]
2122
+ # @param updateLabels [Boolean] Currently not used.
2123
+ # @return [Boolean]
2113
2124
  def insert_rows(pos=0, numRows=1, updateLabels=true) end
2114
2125
 
2115
2126
  # Invalidates the cached attribute for the given cell.
@@ -2123,8 +2134,8 @@ module Wx::GRID
2123
2134
  # Redraw all the cells in the given block.
2124
2135
  # Refresh the block of cells with the given corners.
2125
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.
2126
- # @param topLeft [Wx::GridCellCoords]
2127
- # @param bottomRight [Wx::GridCellCoords]
2137
+ # @param topLeft [Array(Integer, Integer)]
2138
+ # @param bottomRight [Array(Integer, Integer)]
2128
2139
  # @return [void]
2129
2140
  # @overload refresh_block(topRow, leftCol, bottomRow, rightCol)
2130
2141
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
@@ -2140,8 +2151,8 @@ module Wx::GRID
2140
2151
  # @param dc [Wx::DC] The {Wx::DC} to be drawn on.
2141
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().
2142
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.
2143
- # @param topLeft [Wx::GridCellCoords] The top left cell of the block to be drawn. Defaults to ( 0, 0 ).
2144
- # @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.
2145
2156
  # @param style [Integer] A combination of values from {Wx::GRID::GridRenderStyle}.
2146
2157
  # @return [void]
2147
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
@@ -2151,14 +2162,14 @@ module Wx::GRID
2151
2162
  # See the {Wx::GRID::GridCellAttr} class for more information about controlling cell attributes.
2152
2163
  # @param row [Integer]
2153
2164
  # @param col [Integer]
2154
- # @param attr [Wx::GridCellAttr]
2165
+ # @param attr [Wx::GRID::GridCellAttr]
2155
2166
  # @return [void]
2156
2167
  def set_attr(row, col, attr) end
2157
2168
 
2158
2169
  # Sets the cell attributes for all cells in the specified column.
2159
2170
  # For more information about controlling grid cell attributes see the {Wx::GRID::GridCellAttr} cell attribute class and the wxGrid Overview.
2160
2171
  # @param col [Integer]
2161
- # @param attr [Wx::GridCellAttr]
2172
+ # @param attr [Wx::GRID::GridCellAttr]
2162
2173
  # @return [void]
2163
2174
  def set_col_attr(col, attr) end
2164
2175
 
@@ -2173,7 +2184,7 @@ module Wx::GRID
2173
2184
  # The grid takes ownership of the attribute pointer.
2174
2185
  # See the {Wx::GRID::GridCellAttr} class for more information about controlling cell attributes.
2175
2186
  # @param row [Integer]
2176
- # @param attr [Wx::GridCellAttr]
2187
+ # @param attr [Wx::GRID::GridCellAttr]
2177
2188
  # @return [void]
2178
2189
  def set_row_attr(row, attr) end
2179
2190
 
@@ -2181,7 +2192,7 @@ module Wx::GRID
2181
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.
2182
2193
  # true on success or false if appending columns failed.
2183
2194
  # @param reg [Wx::Region]
2184
- # @param gridWindow [Wx::GridWindow]
2195
+ # @param gridWindow [Wx::GRID::GridWindow]
2185
2196
  # @return [Array<Integer>]
2186
2197
  def calc_row_labels_exposed(reg, gridWindow=nil) end
2187
2198
 
@@ -2189,7 +2200,7 @@ module Wx::GRID
2189
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.
2190
2201
  # true on success or false if appending columns failed.
2191
2202
  # @param reg [Wx::Region]
2192
- # @param gridWindow [Wx::GridWindow]
2203
+ # @param gridWindow [Wx::GRID::GridWindow]
2193
2204
  # @return [Array<Integer>]
2194
2205
  def calc_col_labels_exposed(reg, gridWindow=nil) end
2195
2206
 
@@ -2197,7 +2208,7 @@ module Wx::GRID
2197
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.
2198
2209
  # true on success or false if appending columns failed.
2199
2210
  # @param reg [Wx::Region]
2200
- # @param gridWindow [Wx::GridWindow]
2211
+ # @param gridWindow [Wx::GRID::GridWindow]
2201
2212
  # @return [Array<Array(Integer, Integer)>]
2202
2213
  def calc_cells_exposed(reg, gridWindow=nil) end
2203
2214
 
@@ -2212,14 +2223,14 @@ module Wx::GRID
2212
2223
  #
2213
2224
  # @see Wx::GRID::Grid#get_sorting_column
2214
2225
  # @param col [Integer]
2215
- # @return [true,false]
2226
+ # @return [Boolean]
2216
2227
  def is_sorting_by(col) end
2217
2228
  alias_method :sorting_by?, :is_sorting_by
2218
2229
 
2219
2230
  # Return true if the current sorting order is ascending or false if it is descending.
2220
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}.
2221
2232
  # @see Wx::GRID::Grid#set_sorting_column
2222
- # @return [true,false]
2233
+ # @return [Boolean]
2223
2234
  def is_sort_order_ascending; end
2224
2235
  alias_method :sort_order_ascending?, :is_sort_order_ascending
2225
2236
 
@@ -2228,7 +2239,7 @@ module Wx::GRID
2228
2239
  # @see Wx::GRID::Grid#get_sorting_column
2229
2240
  # @see Wx::GRID::Grid#is_sort_order_ascending
2230
2241
  # @param col [Integer] The column to display the sorting indicator in or {Wx::NOT_FOUND} to remove any currently displayed sorting indicator.
2231
- # @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.
2232
2243
  # @return [void]
2233
2244
  def set_sorting_column(col, ascending=true) end
2234
2245
  alias_method :sorting_column=, :set_sorting_column
@@ -2289,12 +2300,12 @@ module Wx::GRID
2289
2300
  alias_method :grid_col_header, :get_grid_col_header
2290
2301
 
2291
2302
  # Return true if native header control is currently being used.
2292
- # @return [true,false]
2303
+ # @return [Boolean]
2293
2304
  def is_using_native_header; end
2294
2305
  alias_method :using_native_header?, :is_using_native_header
2295
2306
 
2296
2307
  # @param dc [Wx::DC]
2297
- # @param attr [Wx::GridCellAttr]
2308
+ # @param attr [Wx::GRID::GridCellAttr]
2298
2309
  # @return [void]
2299
2310
  def draw_cell_highlight(dc, attr) end
2300
2311
 
@@ -2379,5 +2390,251 @@ module Wx::GRID
2379
2390
 
2380
2391
  end # Grid
2381
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
+
2382
2639
 
2383
2640
  end