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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. checksums.yaml +4 -4
  2. data/INSTALL.md +73 -22
  3. data/README.md +40 -8
  4. data/assets/hello_button-macos.png +0 -0
  5. data/assets/hello_button-msw.png +0 -0
  6. data/assets/hello_button_clicked-macos.png +0 -0
  7. data/assets/hello_button_clicked-msw.png +0 -0
  8. data/assets/hello_button_clicked_combi.png +0 -0
  9. data/assets/hello_world-macos.png +0 -0
  10. data/assets/hello_world-msw.png +0 -0
  11. data/assets/hello_world_combi.png +0 -0
  12. data/ext/wxbase32u_gcc_custom.dll +0 -0
  13. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  14. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  20. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  21. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  22. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  23. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  24. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  25. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  26. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  27. data/lib/wx/core/brush.rb +6 -0
  28. data/lib/wx/core/event_loop.rb +7 -0
  29. data/lib/wx/core/events/evt_list.rb +7 -0
  30. data/lib/wx/core/evthandler.rb +12 -2
  31. data/lib/wx/core/font.rb +22 -14
  32. data/lib/wx/core/helpprovider.rb +2 -2
  33. data/lib/wx/core/image.rb +33 -0
  34. data/lib/wx/core/listctrl.rb +17 -13
  35. data/lib/wx/core/log.rb +90 -0
  36. data/lib/wx/core/menu.rb +5 -0
  37. data/lib/wx/core/pen.rb +6 -0
  38. data/lib/wx/core/window.rb +28 -1
  39. data/lib/wx/doc/app.rb +40 -0
  40. data/lib/wx/doc/bitmap.rb +11 -15
  41. data/lib/wx/doc/brush.rb +17 -0
  42. data/lib/wx/doc/event_loop.rb +7 -0
  43. data/lib/wx/doc/extra/00_starting.md +6 -6
  44. data/lib/wx/doc/extra/02_lifecycles.md +9 -8
  45. data/lib/wx/doc/extra/09_exceptions.md +1 -1
  46. data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
  47. data/lib/wx/doc/font.rb +27 -0
  48. data/lib/wx/doc/functions.rb +51 -23
  49. data/lib/wx/doc/gc_dc.rb +1 -1
  50. data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
  51. data/lib/wx/doc/gen/accelerator.rb +6 -6
  52. data/lib/wx/doc/gen/accessible.rb +6 -2
  53. data/lib/wx/doc/gen/activity_indicator.rb +65 -0
  54. data/lib/wx/doc/gen/animation.rb +7 -7
  55. data/lib/wx/doc/gen/animation_ctrl.rb +7 -6
  56. data/lib/wx/doc/gen/any_button.rb +1 -1
  57. data/lib/wx/doc/gen/app.rb +17 -11
  58. data/lib/wx/doc/gen/art_provider.rb +61 -1
  59. data/lib/wx/doc/gen/aui/aui_dock_art.rb +12 -12
  60. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +6 -6
  61. data/lib/wx/doc/gen/aui/aui_manager.rb +45 -27
  62. data/lib/wx/doc/gen/aui/aui_manager_event.rb +12 -6
  63. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +6 -6
  64. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +6 -6
  65. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +10 -10
  66. data/lib/wx/doc/gen/aui/aui_notebook.rb +34 -7
  67. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +17 -2
  68. data/lib/wx/doc/gen/aui/aui_pane_info.rb +51 -51
  69. data/lib/wx/doc/gen/aui/aui_tab_art.rb +6 -6
  70. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +35 -20
  71. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +16 -16
  72. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +4 -4
  73. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +4 -4
  74. data/lib/wx/doc/gen/bitmap.rb +32 -26
  75. data/lib/wx/doc/gen/bitmap_button.rb +10 -6
  76. data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -7
  77. data/lib/wx/doc/gen/book_ctrl_base.rb +7 -3
  78. data/lib/wx/doc/gen/book_ctrl_event.rb +2 -2
  79. data/lib/wx/doc/gen/box_sizer.rb +1 -1
  80. data/lib/wx/doc/gen/brush.rb +16 -4
  81. data/lib/wx/doc/gen/busy_info.rb +1 -1
  82. data/lib/wx/doc/gen/button.rb +19 -7
  83. data/lib/wx/doc/gen/calculate_layout_event.rb +2 -1
  84. data/lib/wx/doc/gen/calendar_ctrl.rb +28 -16
  85. data/lib/wx/doc/gen/calendar_date_attr.rb +2 -2
  86. data/lib/wx/doc/gen/calendar_event.rb +3 -3
  87. data/lib/wx/doc/gen/caret.rb +2 -2
  88. data/lib/wx/doc/gen/check_box.rb +10 -6
  89. data/lib/wx/doc/gen/check_list_box.rb +8 -7
  90. data/lib/wx/doc/gen/choice.rb +7 -6
  91. data/lib/wx/doc/gen/choicebook.rb +12 -6
  92. data/lib/wx/doc/gen/client_dc.rb +1 -1
  93. data/lib/wx/doc/gen/clipboard.rb +1 -1
  94. data/lib/wx/doc/gen/collapsible_pane.rb +9 -6
  95. data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -1
  96. data/lib/wx/doc/gen/colour.rb +16 -6
  97. data/lib/wx/doc/gen/colour_dialog.rb +6 -6
  98. data/lib/wx/doc/gen/colour_picker_ctrl.rb +15 -9
  99. data/lib/wx/doc/gen/colour_picker_event.rb +7 -4
  100. data/lib/wx/doc/gen/combo_box.rb +22 -13
  101. data/lib/wx/doc/gen/context_help_button.rb +50 -1
  102. data/lib/wx/doc/gen/control.rb +9 -6
  103. data/lib/wx/doc/gen/core.rb +5 -2
  104. data/lib/wx/doc/gen/cursor.rb +16 -11
  105. data/lib/wx/doc/gen/data_format.rb +2 -2
  106. data/lib/wx/doc/gen/data_object.rb +23 -16
  107. data/lib/wx/doc/gen/date_event.rb +3 -3
  108. data/lib/wx/doc/gen/date_picker_ctrl.rb +11 -6
  109. data/lib/wx/doc/gen/dc.rb +37 -12
  110. data/lib/wx/doc/gen/defs.rb +16 -16
  111. data/lib/wx/doc/gen/dialog.rb +19 -5
  112. data/lib/wx/doc/gen/dir_dialog.rb +6 -2
  113. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
  114. data/lib/wx/doc/gen/dir_picker_ctrl.rb +14 -9
  115. data/lib/wx/doc/gen/drag_drop.rb +15 -15
  116. data/lib/wx/doc/gen/drag_image.rb +6 -6
  117. data/lib/wx/doc/gen/editable_list_box.rb +7 -3
  118. data/lib/wx/doc/gen/event.rb +44 -13
  119. data/lib/wx/doc/gen/event_blocker.rb +19 -17
  120. data/lib/wx/doc/gen/event_filter.rb +43 -47
  121. data/lib/wx/doc/gen/event_list.rb +22 -15
  122. data/lib/wx/doc/gen/events.rb +215 -79
  123. data/lib/wx/doc/gen/evt_handler.rb +1 -1
  124. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  125. data/lib/wx/doc/gen/file_dialog.rb +64 -56
  126. data/lib/wx/doc/gen/file_dir_picker_event.rb +5 -3
  127. data/lib/wx/doc/gen/file_picker_ctrl.rb +16 -8
  128. data/lib/wx/doc/gen/find_dialog_event.rb +7 -2
  129. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  130. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  131. data/lib/wx/doc/gen/flex_grid_sizer.rb +12 -6
  132. data/lib/wx/doc/gen/font.rb +39 -29
  133. data/lib/wx/doc/gen/font_data.rb +9 -5
  134. data/lib/wx/doc/gen/font_dialog.rb +3 -3
  135. data/lib/wx/doc/gen/font_picker_ctrl.rb +10 -6
  136. data/lib/wx/doc/gen/font_picker_event.rb +2 -1
  137. data/lib/wx/doc/gen/frame.rb +34 -11
  138. data/lib/wx/doc/gen/fs_file.rb +4 -17
  139. data/lib/wx/doc/gen/gauge.rb +11 -7
  140. data/lib/wx/doc/gen/gcdc.rb +5 -1
  141. data/lib/wx/doc/gen/gdi_common.rb +35 -33
  142. data/lib/wx/doc/gen/gdi_object.rb +1 -1
  143. data/lib/wx/doc/gen/generic_dir_ctrl.rb +13 -7
  144. data/lib/wx/doc/gen/graphics_context.rb +29 -28
  145. data/lib/wx/doc/gen/graphics_object.rb +1 -1
  146. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -2
  147. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +10 -10
  148. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -1
  149. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
  150. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -1
  151. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -1
  152. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +2 -2
  153. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
  154. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
  155. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  156. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +13 -10
  157. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  158. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  159. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
  160. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
  161. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -1
  162. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -1
  163. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +12 -12
  164. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -1
  165. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -1
  166. data/lib/wx/doc/gen/grid/grid_ctrl.rb +32 -18
  167. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +5 -3
  168. data/lib/wx/doc/gen/grid/grid_event.rb +20 -3
  169. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +7 -3
  170. data/lib/wx/doc/gen/grid/grid_size_event.rb +9 -3
  171. data/lib/wx/doc/gen/grid/grid_string_table.rb +2 -2
  172. data/lib/wx/doc/gen/grid/grid_table_base.rb +7 -7
  173. data/lib/wx/doc/gen/grid/grid_table_message.rb +5 -5
  174. data/lib/wx/doc/gen/grid_bag_sizer.rb +5 -5
  175. data/lib/wx/doc/gen/grid_sizer.rb +4 -4
  176. data/lib/wx/doc/gen/gui_event_loop.rb +132 -0
  177. data/lib/wx/doc/gen/help_controller.rb +18 -12
  178. data/lib/wx/doc/gen/html/html_cell.rb +36 -18
  179. data/lib/wx/doc/gen/html/html_cell_event.rb +5 -3
  180. data/lib/wx/doc/gen/html/html_easy_printing.rb +9 -4
  181. data/lib/wx/doc/gen/html/html_help_controller.rb +34 -8
  182. data/lib/wx/doc/gen/html/html_help_data.rb +3 -3
  183. data/lib/wx/doc/gen/html/html_help_frame.rb +6 -6
  184. data/lib/wx/doc/gen/html/html_help_window.rb +12 -8
  185. data/lib/wx/doc/gen/html/html_link_event.rb +4 -3
  186. data/lib/wx/doc/gen/html/html_list_box.rb +15 -7
  187. data/lib/wx/doc/gen/html/html_printout.rb +15 -5
  188. data/lib/wx/doc/gen/html/html_window.rb +19 -8
  189. data/lib/wx/doc/gen/hyperlink_ctrl.rb +152 -0
  190. data/lib/wx/doc/gen/hyperlink_event.rb +44 -0
  191. data/lib/wx/doc/gen/icon.rb +14 -14
  192. data/lib/wx/doc/gen/image.rb +119 -64
  193. data/lib/wx/doc/gen/image_list.rb +10 -6
  194. data/lib/wx/doc/gen/keyboard_state.rb +7 -7
  195. data/lib/wx/doc/gen/list_box.rb +30 -21
  196. data/lib/wx/doc/gen/list_ctrl.rb +169 -78
  197. data/lib/wx/doc/gen/list_event.rb +24 -2
  198. data/lib/wx/doc/gen/listbook.rb +12 -6
  199. data/lib/wx/doc/gen/locale.rb +11 -36
  200. data/lib/wx/doc/gen/log.rb +122 -45
  201. data/lib/wx/doc/gen/mdi_client_window.rb +2 -2
  202. data/lib/wx/doc/gen/mdi_frame.rb +15 -9
  203. data/lib/wx/doc/gen/media_ctrl.rb +7 -4
  204. data/lib/wx/doc/gen/media_event.rb +8 -2
  205. data/lib/wx/doc/gen/memory_dc.rb +23 -27
  206. data/lib/wx/doc/gen/menu.rb +9 -9
  207. data/lib/wx/doc/gen/menu_bar.rb +4 -10
  208. data/lib/wx/doc/gen/menu_item.rb +115 -34
  209. data/lib/wx/doc/gen/message_dialog.rb +48 -30
  210. data/lib/wx/doc/gen/mini_frame.rb +12 -3
  211. data/lib/wx/doc/gen/mouse_state.rb +1 -1
  212. data/lib/wx/doc/gen/multi_choice_dialog.rb +4 -2
  213. data/lib/wx/doc/gen/non_owned_window.rb +6 -7
  214. data/lib/wx/doc/gen/notebook.rb +20 -15
  215. data/lib/wx/doc/gen/number_entry_dialog.rb +2 -2
  216. data/lib/wx/doc/gen/object.rb +2 -2
  217. data/lib/wx/doc/gen/palette.rb +3 -3
  218. data/lib/wx/doc/gen/panel.rb +4 -3
  219. data/lib/wx/doc/gen/pen.rb +25 -12
  220. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +1 -1
  221. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +3 -3
  222. data/lib/wx/doc/gen/pg/pg_cell.rb +12 -12
  223. data/lib/wx/doc/gen/pg/pg_editor.rb +76 -74
  224. data/lib/wx/doc/gen/pg/pg_multi_button.rb +3 -3
  225. data/lib/wx/doc/gen/pg/pg_properties.rb +221 -138
  226. data/lib/wx/doc/gen/pg/pg_property.rb +103 -54
  227. data/lib/wx/doc/gen/pg/pg_validation_info.rb +1 -1
  228. data/lib/wx/doc/gen/pg/property_grid.rb +19 -19
  229. data/lib/wx/doc/gen/pg/property_grid_event.rb +18 -5
  230. data/lib/wx/doc/gen/pg/property_grid_interface.rb +36 -24
  231. data/lib/wx/doc/gen/pg/property_grid_manager.rb +12 -12
  232. data/lib/wx/doc/gen/pg/property_grid_page.rb +12 -11
  233. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +8 -8
  234. data/lib/wx/doc/gen/picker_base.rb +12 -11
  235. data/lib/wx/doc/gen/platform_info.rb +7 -7
  236. data/lib/wx/doc/gen/popup_window.rb +6 -6
  237. data/lib/wx/doc/gen/progress_dialog.rb +1 -1
  238. data/lib/wx/doc/gen/property_sheet_dialog.rb +19 -17
  239. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +2 -2
  240. data/lib/wx/doc/gen/prt/preview_frame.rb +4 -1
  241. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
  242. data/lib/wx/doc/gen/prt/print_data.rb +24 -18
  243. data/lib/wx/doc/gen/prt/print_dialog.rb +4 -4
  244. data/lib/wx/doc/gen/prt/printer.rb +22 -22
  245. data/lib/wx/doc/gen/query_layout_info_event.rb +2 -1
  246. data/lib/wx/doc/gen/radio_box.rb +12 -18
  247. data/lib/wx/doc/gen/radio_button.rb +8 -6
  248. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +39 -39
  249. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +25 -7
  250. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +5 -5
  251. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +9 -2
  252. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +5 -5
  253. data/lib/wx/doc/gen/rbn/ribbon_control.rb +4 -4
  254. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +6 -2
  255. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +5 -5
  256. data/lib/wx/doc/gen/rbn/ribbon_page.rb +5 -5
  257. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -6
  258. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +5 -5
  259. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +4 -2
  260. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +5 -5
  261. data/lib/wx/doc/gen/region.rb +9 -8
  262. data/lib/wx/doc/gen/region_iterator.rb +2 -2
  263. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +92 -92
  264. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +56 -34
  265. data/lib/wx/doc/gen/rtc/rich_text_event.rb +23 -4
  266. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +6 -6
  267. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +9 -5
  268. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +6 -2
  269. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +12 -12
  270. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
  271. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
  272. data/lib/wx/doc/gen/sash_event.rb +3 -1
  273. data/lib/wx/doc/gen/sash_layout_window.rb +5 -3
  274. data/lib/wx/doc/gen/sash_window.rb +8 -3
  275. data/lib/wx/doc/gen/scroll_bar.rb +29 -8
  276. data/lib/wx/doc/gen/scrolled_canvas.rb +41 -23
  277. data/lib/wx/doc/gen/scrolled_control.rb +41 -23
  278. data/lib/wx/doc/gen/scrolled_window.rb +41 -23
  279. data/lib/wx/doc/gen/search_ctrl.rb +15 -8
  280. data/lib/wx/doc/gen/simplebook.rb +2 -2
  281. data/lib/wx/doc/gen/single_choice_dialog.rb +4 -2
  282. data/lib/wx/doc/gen/sizer.rb +29 -28
  283. data/lib/wx/doc/gen/slider.rb +49 -16
  284. data/lib/wx/doc/gen/spin_button.rb +15 -9
  285. data/lib/wx/doc/gen/spin_ctrl.rb +12 -6
  286. data/lib/wx/doc/gen/spin_event.rb +5 -2
  287. data/lib/wx/doc/gen/splash_screen.rb +16 -12
  288. data/lib/wx/doc/gen/splitter_event.rb +6 -2
  289. data/lib/wx/doc/gen/splitter_window.rb +20 -4
  290. data/lib/wx/doc/gen/static_bitmap.rb +5 -5
  291. data/lib/wx/doc/gen/static_box.rb +36 -32
  292. data/lib/wx/doc/gen/static_box_sizer.rb +13 -10
  293. data/lib/wx/doc/gen/static_line.rb +5 -4
  294. data/lib/wx/doc/gen/static_text.rb +12 -6
  295. data/lib/wx/doc/gen/status_bar.rb +14 -5
  296. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +55 -7
  297. data/lib/wx/doc/gen/stc/styled_text_event.rb +224 -49
  298. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +11 -2
  299. data/lib/wx/doc/gen/svg_file_dc.rb +3 -3
  300. data/lib/wx/doc/gen/system_options.rb +11 -1
  301. data/lib/wx/doc/gen/system_settings.rb +3 -3
  302. data/lib/wx/doc/gen/task_bar_icon.rb +10 -2
  303. data/lib/wx/doc/gen/task_bar_icon_event.rb +3 -3
  304. data/lib/wx/doc/gen/text_attr.rb +11 -7
  305. data/lib/wx/doc/gen/text_ctrl.rb +61 -92
  306. data/lib/wx/doc/gen/text_entry.rb +28 -40
  307. data/lib/wx/doc/gen/text_entry_dialog.rb +19 -19
  308. data/lib/wx/doc/gen/text_validator.rb +0 -11
  309. data/lib/wx/doc/gen/time_picker_ctrl.rb +6 -5
  310. data/lib/wx/doc/gen/timer.rb +8 -4
  311. data/lib/wx/doc/gen/timer_event.rb +19 -26
  312. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  313. data/lib/wx/doc/gen/toggle_button.rb +6 -5
  314. data/lib/wx/doc/gen/tool_bar.rb +41 -24
  315. data/lib/wx/doc/gen/tool_tip.rb +2 -2
  316. data/lib/wx/doc/gen/toolbook.rb +6 -3
  317. data/lib/wx/doc/gen/top_level_window.rb +35 -25
  318. data/lib/wx/doc/gen/tree_ctrl.rb +63 -13
  319. data/lib/wx/doc/gen/tree_event.rb +23 -2
  320. data/lib/wx/doc/gen/treebook.rb +6 -2
  321. data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
  322. data/lib/wx/doc/gen/utils.rb +9 -3
  323. data/lib/wx/doc/gen/v_list_box.rb +2 -2
  324. data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
  325. data/lib/wx/doc/gen/validator.rb +7 -5
  326. data/lib/wx/doc/gen/variant.rb +34 -97
  327. data/lib/wx/doc/gen/window.rb +157 -102
  328. data/lib/wx/doc/gen/window_dc.rb +1 -1
  329. data/lib/wx/doc/gen/with_images.rb +1 -1
  330. data/lib/wx/doc/gen/wizard.rb +17 -4
  331. data/lib/wx/doc/gen/wizard_event.rb +9 -2
  332. data/lib/wx/doc/gen/wizard_page.rb +1 -1
  333. data/lib/wx/doc/gen/wizard_page_simple.rb +7 -7
  334. data/lib/wx/doc/gen/xml_node.rb +3 -3
  335. data/lib/wx/doc/gen/xml_resource.rb +12 -9
  336. data/lib/wx/doc/image.rb +42 -12
  337. data/lib/wx/doc/list_ctrl.rb +32 -0
  338. data/lib/wx/doc/log.rb +28 -0
  339. data/lib/wx/doc/pen.rb +17 -0
  340. data/lib/wx/doc/prt/printer_dc.rb +2 -2
  341. data/lib/wx/doc/radio_box.rb +20 -0
  342. data/lib/wx/doc/scaled_dc.rb +1 -1
  343. data/lib/wx/doc/text_validator.rb +12 -0
  344. data/lib/wx/doc/window.rb +27 -0
  345. data/lib/wx/keyword_defs.rb +77 -76
  346. data/lib/wx/prt/keyword_defs.rb +5 -1
  347. data/lib/wx/version.rb +1 -1
  348. data/lib/wxruby_aui.so +0 -0
  349. data/lib/wxruby_core.so +0 -0
  350. data/lib/wxruby_grid.so +0 -0
  351. data/lib/wxruby_html.so +0 -0
  352. data/lib/wxruby_pg.so +0 -0
  353. data/lib/wxruby_prt.so +0 -0
  354. data/lib/wxruby_rbn.so +0 -0
  355. data/lib/wxruby_rtc.so +0 -0
  356. data/lib/wxruby_stc.so +0 -0
  357. data/rakelib/install.rb +17 -6
  358. data/rakelib/lib/config/linux.rb +4 -2
  359. data/rakelib/lib/config/macosx.rb +120 -1
  360. data/rakelib/lib/config/mingw.rb +6 -1
  361. data/rakelib/lib/config/unixish.rb +26 -11
  362. data/rakelib/lib/config.rb +15 -6
  363. data/samples/aui/aui.rb +432 -363
  364. data/samples/propgrid/propgrid.rb +3 -0
  365. data/samples/sampler/editor.rb +33 -25
  366. data/samples/sampler/sample.rb +2 -2
  367. data/samples/sampler/stc_editor.rb +4 -2
  368. data/tests/lib/item_container_tests.rb +82 -0
  369. data/tests/lib/text_entry_tests.rb +80 -0
  370. data/tests/lib/wxapp_runner.rb +12 -0
  371. data/tests/lib/wxframe_runner.rb +89 -4
  372. data/tests/test_art.rb +9 -0
  373. data/tests/test_box_sizer.rb +161 -0
  374. data/tests/test_ext_controls.rb +28 -0
  375. data/tests/test_font.rb +239 -0
  376. data/tests/test_grid_sizer.rb +148 -0
  377. data/tests/test_intl.rb +5 -1
  378. data/tests/test_list_ctrl.rb +53 -0
  379. data/tests/test_log.rb +163 -0
  380. data/tests/test_std_controls.rb +321 -37
  381. data/tests/test_timer.rb +95 -0
  382. data/tests/test_window.rb +340 -0
  383. metadata +36 -2
@@ -319,7 +319,7 @@ module Wx
319
319
  # Virtual list control can be used as a normal one except that no operations which can take time proportional to the number of items in the control happen this is required to allow having a practically infinite number of items. For example, in a multiple selection virtual list control, the selections won't be sent when many items are selected at once because this could mean iterating over all the items.
320
320
  # Using many of {Wx::ListCtrl} features is shown in the corresponding sample.
321
321
  # To intercept events from a list control, use the event table macros described in {Wx::ListEvent}.
322
- # The native {Wx::OSX} implementation for report mode that was added in wxWidgets 2.8 was removed in wxWidgets 3.1, meaning for wxWidgets 3.1+ {Wx::OSX} uses the generic implementation for all modes.
322
+ # The native wxOSX implementation for report mode that was added in wxWidgets 2.8 was removed in wxWidgets 3.1, meaning for wxWidgets 3.1+ wxOSX uses the generic implementation for all modes.
323
323
  #
324
324
  # == Column Ordering
325
325
  #
@@ -328,77 +328,109 @@ module Wx
328
328
  # All the other functions still work with the column indices, i.e. the visual positioning of the columns on screen doesn't affect the code setting or getting their values for example.
329
329
  #
330
330
  # Example of reordering columns:
331
- # ```
332
- # wxListCtrl *list = new wxListCtrl(...);
333
- # for ( int i = 0; i < 3; i++ )
334
- # list->InsertColumn(i, wxString::Format("Column %d", i));
331
+ # ```ruby
332
+ # list = Wx::ListCtrl.new(...)
333
+ # 3.times { |i| list.insert_column(i, "Column #{i}") }
335
334
  #
336
- # wxArrayInt order(3);
337
- # order[0] = 2;
338
- # order[1] = 0;
339
- # order[2] = 1;
340
- # list->SetColumnsOrder(order);
335
+ # order = [2, 0, 1]
336
+ # list.set_columns_order(order)
341
337
  #
342
- # // now list->GetColumnsOrder() will return order and
343
- # // list->GetColumnIndexFromOrder(n) will return order[n] and
344
- # // list->GetColumnOrder() will return 1, 2 and 0 for the column 0,
345
- # // 1 and 2 respectively
338
+ # # now list.get_columns_order() will return order and
339
+ # # list.get_column_index_from_order(n) will return order[n] and
340
+ # # list.get_column_order() will return 1, 2 and 0 for the column 0,
341
+ # # 1 and 2 respectively
346
342
  # ```
347
343
  #
348
344
  # === Styles
349
345
  #
350
346
  # This class supports the following styles:
351
- #
347
+ #
352
348
  # - {Wx::LC_LIST}: Multicolumn list view, with optional small icons. Columns are computed automatically, i.e. you don't set columns as in {Wx::LC_REPORT}. In other words, the list wraps, unlike a {Wx::ListBox}.
349
+ #
353
350
  # - {Wx::LC_REPORT}: Single or multicolumn report view, with optional header.
351
+ #
354
352
  # - {Wx::LC_VIRTUAL}: The application provides items text on demand. May only be used with {Wx::LC_REPORT}.
353
+ #
355
354
  # - {Wx::LC_ICON}: Large icon view, with optional labels.
355
+ #
356
356
  # - {Wx::LC_SMALL_ICON}: Small icon view, with optional labels.
357
+ #
357
358
  # - {Wx::LC_ALIGN_TOP}: Icons align to the top. Win32 default, Win32 only.
359
+ #
358
360
  # - {Wx::LC_ALIGN_LEFT}: Icons align to the left.
361
+ #
359
362
  # - {Wx::LC_AUTOARRANGE}: Icons arrange themselves. Win32 only.
363
+ #
360
364
  # - {Wx::LC_EDIT_LABELS}: Labels are editable: the application will be notified when editing starts.
365
+ #
361
366
  # - {Wx::LC_NO_HEADER}: No header in report mode.
367
+ #
362
368
  # - {Wx::LC_SINGLE_SEL}: Single selection (default is multiple).
369
+ #
363
370
  # - {Wx::LC_SORT_ASCENDING}: Sort in ascending order. (You must still supply a comparison callback in {Wx::ListCtrl#sort_items}.)
371
+ #
364
372
  # - {Wx::LC_SORT_DESCENDING}: Sort in descending order. (You must still supply a comparison callback in {Wx::ListCtrl#sort_items}.)
373
+ #
365
374
  # - {Wx::LC_HRULES}: Draws light horizontal rules between rows in report mode.
375
+ #
366
376
  # - {Wx::LC_VRULES}: Draws light vertical rules between columns in report mode.
367
377
  #
368
378
  # === Events emitted by this class
369
379
  #
370
380
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::ListEvent} events.
371
381
  # Event handler methods for events emitted by this class:
382
+ #
372
383
  # - {Wx::EvtHandler#evt_list_begin_drag}(id, meth = nil, &block): Begin dragging with the left mouse button. Processes a {Wx::EVT_LIST_BEGIN_DRAG} event type.
384
+ #
373
385
  # - {Wx::EvtHandler#evt_list_begin_rdrag}(id, meth = nil, &block): Begin dragging with the right mouse button. Processes a {Wx::EVT_LIST_BEGIN_RDRAG} event type.
386
+ #
374
387
  # - {Wx::EvtHandler#evt_list_begin_label_edit}(id, meth = nil, &block): Begin editing a label. This can be prevented by calling Veto(). Processes a {Wx::EVT_LIST_BEGIN_LABEL_EDIT} event type.
388
+ #
375
389
  # - {Wx::EvtHandler#evt_list_end_label_edit}(id, meth = nil, &block): Finish editing a label. This can be prevented by calling Veto(). Processes a {Wx::EVT_LIST_END_LABEL_EDIT} event type.
390
+ #
376
391
  # - {Wx::EvtHandler#evt_list_delete_item}(id, meth = nil, &block): An item was deleted. Processes a {Wx::EVT_LIST_DELETE_ITEM} event type.
392
+ #
377
393
  # - {Wx::EvtHandler#evt_list_delete_all_items}(id, meth = nil, &block): All items were deleted. Processes a {Wx::EVT_LIST_DELETE_ALL_ITEMS} event type.
394
+ #
378
395
  # - {Wx::EvtHandler#evt_list_item_selected}(id, meth = nil, &block): The item has been selected. Notice that the mouse is captured by the control itself when this event is generated, see event handling overview. Processes a {Wx::EVT_LIST_ITEM_SELECTED} event type.
396
+ #
379
397
  # - {Wx::EvtHandler#evt_list_item_deselected}(id, meth = nil, &block): The item has been deselected. Processes a {Wx::EVT_LIST_ITEM_DESELECTED} event type.
398
+ #
380
399
  # - {Wx::EvtHandler#evt_list_item_activated}(id, meth = nil, &block): The item has been activated (ENTER or double click). Processes a {Wx::EVT_LIST_ITEM_ACTIVATED} event type.
400
+ #
381
401
  # - {Wx::EvtHandler#evt_list_item_focused}(id, meth = nil, &block): The currently focused item has changed. Processes a {Wx::EVT_LIST_ITEM_FOCUSED} event type.
402
+ #
382
403
  # - {Wx::EvtHandler#evt_list_item_middle_click}(id, meth = nil, &block): The middle mouse button has been clicked on an item. This is only supported by the generic control. Processes a {Wx::EVT_LIST_ITEM_MIDDLE_CLICK} event type.
404
+ #
383
405
  # - {Wx::EvtHandler#evt_list_item_right_click}(id, meth = nil, &block): The right mouse button has been clicked on an item. Processes a {Wx::EVT_LIST_ITEM_RIGHT_CLICK} event type.
406
+ #
384
407
  # - {Wx::EvtHandler#evt_list_key_down}(id, meth = nil, &block): A key has been pressed. Processes a {Wx::EVT_LIST_KEY_DOWN} event type.
408
+ #
385
409
  # - {Wx::EvtHandler#evt_list_insert_item}(id, meth = nil, &block): An item has been inserted. Processes a {Wx::EVT_LIST_INSERT_ITEM} event type.
410
+ #
386
411
  # - {Wx::EvtHandler#evt_list_col_click}(id, meth = nil, &block): A column (m_col) has been left-clicked. Processes a {Wx::EVT_LIST_COL_CLICK} event type.
412
+ #
387
413
  # - {Wx::EvtHandler#evt_list_col_right_click}(id, meth = nil, &block): A column (m_col) has been right-clicked. Processes a {Wx::EVT_LIST_COL_RIGHT_CLICK} event type.
414
+ #
388
415
  # - {Wx::EvtHandler#evt_list_col_begin_drag}(id, meth = nil, &block): The user started resizing a column - can be vetoed. Processes a {Wx::EVT_LIST_COL_BEGIN_DRAG} event type.
416
+ #
389
417
  # - {Wx::EvtHandler#evt_list_col_dragging}(id, meth = nil, &block): The divider between columns is being dragged. Processes a {Wx::EVT_LIST_COL_DRAGGING} event type.
418
+ #
390
419
  # - {Wx::EvtHandler#evt_list_col_end_drag}(id, meth = nil, &block): A column has been resized by the user. Processes a {Wx::EVT_LIST_COL_END_DRAG} event type.
420
+ #
391
421
  # - {Wx::EvtHandler#evt_list_cache_hint}(id, meth = nil, &block): Prepare cache for a virtual list control. Processes a {Wx::EVT_LIST_CACHE_HINT} event type.
422
+ #
392
423
  # - {Wx::EvtHandler#evt_list_item_checked}(id, meth = nil, &block): The item has been checked. Processes a {Wx::EVT_LIST_ITEM_CHECKED} event type (new since wxWidgets 3.1.0).
424
+ #
393
425
  # - {Wx::EvtHandler#evt_list_item_unchecked}(id, meth = nil, &block): The item has been unchecked. Processes a {Wx::EVT_LIST_ITEM_UNCHECKED} event type (new since wxWidgets 3.1.0).
394
426
  #
395
- # Under {Wx::MSW} this control uses {Wx::SystemThemedControl} for an explorer style appearance by default since wxWidgets 3.1.0. If this is not desired, you can call Wx::SystemThemedControl::EnableSystemTheme with false argument to disable this.
427
+ # Under wxMSW this control uses {Wx::SystemThemedControl} for an explorer style appearance by default since wxWidgets 3.1.0. If this is not desired, you can call Wx::SystemThemedControl::EnableSystemTheme with false argument to disable this.
396
428
  #
397
429
  # ===
398
430
  #
399
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
400
- # </td><td> {Wx::GTK} Appearance
401
- # </td><td> {Wx::OSX} Appearance
431
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
432
+ # </td><td> wxGTK Appearance
433
+ # </td><td> wxOSX Appearance
402
434
  # </td></tr></table></div>
403
435
  # @see wxListCtrl Overview
404
436
  # @see Wx::ListView
@@ -414,7 +446,7 @@ module Wx
414
446
 
415
447
  # @overload initialize()
416
448
  # Default constructor.
417
- # @return [ListCtrl]
449
+ # @return [Wx::ListCtrl]
418
450
  # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_ICON, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListCtrlNameStr)
419
451
  # Constructor, creating and showing a list control.
420
452
  #
@@ -427,7 +459,7 @@ module Wx
427
459
  # @param style [Integer] Window style. See {Wx::ListCtrl}.
428
460
  # @param validator [Wx::Validator] Window validator.
429
461
  # @param name [String] Window name.
430
- # @return [ListCtrl]
462
+ # @return [Wx::ListCtrl]
431
463
  def initialize(*args) end
432
464
 
433
465
  # Adds a new column to the list control in report view mode.
@@ -440,7 +472,11 @@ module Wx
440
472
 
441
473
  # Arranges the items in icon or small icon view.
442
474
  # This only has effect on Win32. flag is one of:
443
- # - {Wx::LIST_ALIGN_DEFAULT}: Default alignment.- {Wx::LIST_ALIGN_LEFT}: Align to the left side of the control.- {Wx::LIST_ALIGN_TOP}: Align to the top side of the control.- {Wx::LIST_ALIGN_SNAP_TO_GRID}: Snap to grid.
475
+ #
476
+ # - {Wx::LIST_ALIGN_DEFAULT}: Default alignment.
477
+ # - {Wx::LIST_ALIGN_LEFT}: Align to the left side of the control.
478
+ # - {Wx::LIST_ALIGN_TOP}: Align to the top side of the control.
479
+ # - {Wx::LIST_ALIGN_SNAP_TO_GRID}: Snap to grid.
444
480
  # @param flag [Integer]
445
481
  # @return [true,false]
446
482
  def arrange(flag=Wx::LIST_ALIGN_DEFAULT) end
@@ -494,7 +530,7 @@ module Wx
494
530
  def enable_alternate_row_colours(enable=true) end
495
531
 
496
532
  # Enable or disable a beep if there is no match for the currently entered text when searching for the item from keyboard.
497
- # The default is to not beep in this case except in {Wx::MSW} where the beep is always generated by the native control and cannot be disabled, i.e. calls to this function do nothing there.
533
+ # The default is to not beep in this case except in wxMSW where the beep is always generated by the native control and cannot be disabled, i.e. calls to this function do nothing there.
498
534
  # @param on [true,false]
499
535
  # @return [void]
500
536
  def enable_bell_on_no_match(on=true) end
@@ -502,7 +538,7 @@ module Wx
502
538
  # Finish editing the label.
503
539
  # This method allows one to programmatically end editing a list control item in place. Usually it will only be called when editing is in progress, i.e. if {Wx::ListCtrl#get_edit_control} returns non-NULL. In particular, do not call it from EVT_LIST_BEGIN_LABEL_EDIT handler as the edit control is not yet fully created by then, just veto the event in this handler instead to prevent the editing from even starting.
504
540
  # Notice that calling this method will result in EVT_LIST_END_LABEL_EDIT event being generated.
505
- # Currently only implemented in {Wx::MSW}.
541
+ # Currently only implemented in wxMSW.
506
542
  #
507
543
  # true if item editing was finished or false if no item as being edited.
508
544
  # @param cancel [true,false] If true, discard the changes made by user, as if Escape key was pressed. Otherwise, accept the changes as if Return was pressed.
@@ -554,7 +590,7 @@ module Wx
554
590
 
555
591
  # Gets the column index from its position in visual order.
556
592
  # After calling {Wx::ListCtrl#set_columns_order}, the index returned by this function corresponds to the value of the element number pos in the array returned by {Wx::ListCtrl#get_columns_order}.
557
- # This function makes sense for report view only and currently is only implemented in the {Wx::MSW} port. Use {Wx::HAS_LISTCTRL_COLUMN_ORDER} to guard uses of this function so that they will start working under the other platforms when support for the column reordering is added there.
593
+ # This function makes sense for report view only and currently is only implemented in the wxMSW port. Use {Wx::HAS_LISTCTRL_COLUMN_ORDER} to guard uses of this function so that they will start working under the other platforms when support for the column reordering is added there.
558
594
  # @see Wx::ListCtrl#get_column_order
559
595
  # @param pos [Integer]
560
596
  # @return [Integer]
@@ -563,7 +599,7 @@ module Wx
563
599
 
564
600
  # Gets the column visual order position.
565
601
  # This function returns the index of the column which appears at the given visual position, e.g. calling it with col equal to 0 returns the index of the first shown column.
566
- # This function makes sense for report view only and currently is only implemented in the {Wx::MSW} port. Use {Wx::HAS_LISTCTRL_COLUMN_ORDER} to guard uses of this function so that they will start working under the other platforms when support for the column reordering is added there.
602
+ # This function makes sense for report view only and currently is only implemented in the wxMSW port. Use {Wx::HAS_LISTCTRL_COLUMN_ORDER} to guard uses of this function so that they will start working under the other platforms when support for the column reordering is added there.
567
603
  # @see Wx::ListCtrl#get_columns_order
568
604
  # @see Wx::ListCtrl#get_column_index_from_order
569
605
  # @param col [Integer]
@@ -579,7 +615,7 @@ module Wx
579
615
 
580
616
  # Returns the array containing the orders of all columns.
581
617
  # On error, an empty array is returned.
582
- # This function makes sense for report view only and currently is only implemented in the {Wx::MSW} port. Use {Wx::HAS_LISTCTRL_COLUMN_ORDER} to guard uses of this function so that they will start working under the other platforms when support for the column reordering is added there.
618
+ # This function makes sense for report view only and currently is only implemented in the wxMSW port. Use {Wx::HAS_LISTCTRL_COLUMN_ORDER} to guard uses of this function so that they will start working under the other platforms when support for the column reordering is added there.
583
619
  # @see Wx::ListCtrl#get_column_order
584
620
  # @see Wx::ListCtrl#get_column_index_from_order
585
621
  # @return [Array<Integer>]
@@ -593,14 +629,17 @@ module Wx
593
629
 
594
630
  # Returns the edit control being currently used to edit a label.
595
631
  # Returns NULL if no label is being edited.
596
- # It is currently only implemented for {Wx::MSW} and the generic version, not for the native macOS version.
632
+ # It is currently only implemented for wxMSW and the generic version, not for the native macOS version.
597
633
  # @return [Wx::TextCtrl]
598
634
  def get_edit_control; end
599
635
  alias_method :edit_control, :get_edit_control
600
636
 
601
637
  # Returns the specified image list.
602
638
  # which may be one of:
603
- # - {Wx::IMAGE_LIST_NORMAL}: The normal (large icon) image list.- {Wx::IMAGE_LIST_SMALL}: The small icon image list.- {Wx::IMAGE_LIST_STATE}: The user-defined state image list (unimplemented).
639
+ #
640
+ # - {Wx::IMAGE_LIST_NORMAL}: The normal (large icon) image list.
641
+ # - {Wx::IMAGE_LIST_SMALL}: The small icon image list.
642
+ # - {Wx::IMAGE_LIST_STATE}: The user-defined state image list (unimplemented).
604
643
  # @param which [Integer]
605
644
  # @return [Wx::ImageList]
606
645
  def get_image_list(which) end
@@ -670,28 +709,36 @@ module Wx
670
709
  # Searches for an item with the given geometry or state, starting from item but excluding the item itself.
671
710
  # If item is -1, the first item that matches the specified flags will be returned. Returns the first item with given state following item or -1 if no such item found. This function may be used to find all selected items in the control like this:
672
711
  #
673
- # ```
674
- # long item = -1;
675
- # for ( ;; )
676
- # {
677
- # item = listctrl->GetNextItem(item,
678
- # wxLIST_NEXT_ALL,
679
- # wxLIST_STATE_SELECTED);
680
- # if ( item == -1 )
681
- # break;
682
- #
683
- # // this item is selected - do whatever is needed with it
684
- # wxLogMessage("Item %ld is selected.", item);
685
- # }
712
+ # ```ruby
713
+ # item = -1
714
+ # while (item = list_ctrl.get_next_item(item, Wx::LIST_NEXT_ALL, Wx::LIST_STATE_SELECTED)) != -1
715
+ # # item is selected - do whatever is needed with it
716
+ # Wx.log_message("Item #{item} is selected.")
717
+ # end
718
+ #
719
+ # # alternatively in wxRuby you could do
720
+ # list_ctrl.each_selected do |item|
721
+ # Wx.log_message("Item #{item} is selected.")
722
+ # end
686
723
  # ```
687
724
  #
688
725
  # geometry can be one of:
689
- # - {Wx::LIST_NEXT_ABOVE}: Searches for an item above the specified item.- {Wx::LIST_NEXT_ALL}: Searches for subsequent item by index.- {Wx::LIST_NEXT_BELOW}: Searches for an item below the specified item.- {Wx::LIST_NEXT_LEFT}: Searches for an item to the left of the specified item.- {Wx::LIST_NEXT_RIGHT}: Searches for an item to the right of the specified item.
690
726
  #
691
- # this parameter is only supported by {Wx::MSW} currently and ignored on other platforms.
727
+ # - {Wx::LIST_NEXT_ABOVE}: Searches for an item above the specified item.
728
+ # - {Wx::LIST_NEXT_ALL}: Searches for subsequent item by index.
729
+ # - {Wx::LIST_NEXT_BELOW}: Searches for an item below the specified item.
730
+ # - {Wx::LIST_NEXT_LEFT}: Searches for an item to the left of the specified item.
731
+ # - {Wx::LIST_NEXT_RIGHT}: Searches for an item to the right of the specified item.
732
+ #
733
+ # this parameter is only supported by wxMSW currently and ignored on other platforms.
692
734
  #
693
735
  # state can be a bitlist of the following:
694
- # - {Wx::LIST_STATE_DONTCARE}: Don't care what the state is.- {Wx::LIST_STATE_DROPHILITED}: The item indicates it is a drop target.- {Wx::LIST_STATE_FOCUSED}: The item has the focus.- {Wx::LIST_STATE_SELECTED}: The item is selected.- {Wx::LIST_STATE_CUT}: The item is selected as part of a cut and paste operation.
736
+ #
737
+ # - {Wx::LIST_STATE_DONTCARE}: Don't care what the state is.
738
+ # - {Wx::LIST_STATE_DROPHILITED}: The item indicates it is a drop target.
739
+ # - {Wx::LIST_STATE_FOCUSED}: The item has the focus.
740
+ # - {Wx::LIST_STATE_SELECTED}: The item is selected.
741
+ # - {Wx::LIST_STATE_CUT}: The item is selected as part of a cut and paste operation.
695
742
  # @param item [Integer]
696
743
  # @param geometry [Integer]
697
744
  # @param state [Integer]
@@ -751,9 +798,18 @@ module Wx
751
798
  # Determines which item (if any) is at the specified point, giving details in flags.
752
799
  # Returns index of the item or {Wx::NOT_FOUND} if no item is at the specified point.
753
800
  # flags will be a combination of the following flags:
754
- # - {Wx::LIST_HITTEST_ABOVE}: Above the control's client area.- {Wx::LIST_HITTEST_BELOW}: Below the control's client area.- {Wx::LIST_HITTEST_TOLEFT}: To the left of the control's client area.- {Wx::LIST_HITTEST_TORIGHT}: To the right of the control's client area.- {Wx::LIST_HITTEST_NOWHERE}: Inside the control's client area but not over an item.- {Wx::LIST_HITTEST_ONITEMICON}: Over an item's icon.- {Wx::LIST_HITTEST_ONITEMLABEL}: Over an item's text.- {Wx::LIST_HITTEST_ONITEMSTATEICON}: Over the checkbox of an item.- {Wx::LIST_HITTEST_ONITEM}: Combination of {Wx::LIST_HITTEST_ONITEMICON}, {Wx::LIST_HITTEST_ONITEMLABEL}, {Wx::LIST_HITTEST_ONITEMSTATEICON}.
755
801
  #
756
- # If ptrSubItem is not NULL and the {Wx::ListCtrl} is in the report mode the subitem (or column) number will also be provided. This feature is only available in version 2.7.0 or higher and is currently only implemented under {Wx::MSW} and requires at least comctl32.dll of version 4.70 on the host system or the value stored in ptrSubItem will be always -1. To compile this feature into wxWidgets library you need to have access to commctrl.h of version 4.70 that is provided by Microsoft.
802
+ # - {Wx::LIST_HITTEST_ABOVE}: Above the control's client area.
803
+ # - {Wx::LIST_HITTEST_BELOW}: Below the control's client area.
804
+ # - {Wx::LIST_HITTEST_TOLEFT}: To the left of the control's client area.
805
+ # - {Wx::LIST_HITTEST_TORIGHT}: To the right of the control's client area.
806
+ # - {Wx::LIST_HITTEST_NOWHERE}: Inside the control's client area but not over an item.
807
+ # - {Wx::LIST_HITTEST_ONITEMICON}: Over an item's icon.
808
+ # - {Wx::LIST_HITTEST_ONITEMLABEL}: Over an item's text.
809
+ # - {Wx::LIST_HITTEST_ONITEMSTATEICON}: Over the checkbox of an item.
810
+ # - {Wx::LIST_HITTEST_ONITEM}: Combination of {Wx::LIST_HITTEST_ONITEMICON}, {Wx::LIST_HITTEST_ONITEMLABEL}, {Wx::LIST_HITTEST_ONITEMSTATEICON}.
811
+ #
812
+ # If ptrSubItem is not NULL and the {Wx::ListCtrl} is in the report mode the subitem (or column) number will also be provided. This feature is only available in version 2.7.0 or higher and is currently only implemented under wxMSW and requires at least comctl32.dll of version 4.70 on the host system or the value stored in ptrSubItem will be always -1. To compile this feature into wxWidgets library you need to have access to commctrl.h of version 4.70 that is provided by Microsoft.
757
813
  # @param point [Array(Integer, Integer), Wx::Point]
758
814
  # @return [Array(Integer,Integer)]
759
815
  def hit_test(point) end
@@ -864,7 +920,7 @@ module Wx
864
920
 
865
921
  # Changes the order in which the columns are shown.
866
922
  # The orders array must have the same number elements as the number of columns and contain each position exactly once. Its n-th element contains the index of the column to be shown in n-th position, so for a control with three columns passing an array with elements 2, 0 and 1 results in the third column being displayed first, the first one next and the second one last.
867
- # This function makes sense for report view only and currently is only implemented in the {Wx::MSW} port. Use {Wx::HAS_LISTCTRL_COLUMN_ORDER} to guard uses of this function so that they will start working under the other platforms when support for the column reordering is added there.
923
+ # This function makes sense for report view only and currently is only implemented in the wxMSW port. Use {Wx::HAS_LISTCTRL_COLUMN_ORDER} to guard uses of this function so that they will start working under the other platforms when support for the column reordering is added there.
868
924
  # @see Wx::ListCtrl#get_columns_order
869
925
  # @param orders [Array<Integer>]
870
926
  # @return [true,false]
@@ -873,7 +929,7 @@ module Wx
873
929
 
874
930
  # Change the font and the colours used for the list control header.
875
931
  # This method can be used to change the appearance of the header shown by the control in report mode (unless {Wx::LC_NO_HEADER} style is used).
876
- # Currently it is implemented only for {Wx::MSW} and does nothing in the other ports.
932
+ # Currently it is implemented only for wxMSW and does nothing in the other ports.
877
933
  #
878
934
  # true if the attributes have been updated or false if this is not supported by the current platform.
879
935
  # @param attr [Wx::ItemAttr] The object containing the font and text and background colours to use. It may be default, i.e. not specify any custom font nor colours, to reset any previously set custom attribute.
@@ -979,12 +1035,12 @@ module Wx
979
1035
  # Sets the item state.
980
1036
  # The stateMask is a combination of {Wx::LIST_STATE_XXX} constants described in {Wx::ListItem} documentation. For each of the bits specified in stateMask, the corresponding state is set or cleared depending on whether state argument contains the same bit or not.
981
1037
  # So to select an item you can use
982
- # ```
983
- # list->SetItemState(item, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
1038
+ # ```ruby
1039
+ # list.set_item_state(item, Wx::LIST_STATE_SELECTED, Wx::LIST_STATE_SELECTED)
984
1040
  # ```
985
1041
  # while to deselect it you should use
986
- # ```
987
- # list->SetItemState(item, 0, wxLIST_STATE_SELECTED);
1042
+ # ```ruby
1043
+ # list.set_item_state(item, 0, Wx::LIST_STATE_SELECTED)
988
1044
  # ```
989
1045
  #
990
1046
  # Consider using {Wx::ListView} if possible to avoid dealing with this error-prone and confusing method.
@@ -1067,7 +1123,7 @@ module Wx
1067
1123
  def extend_rules_and_alternate_colour(extend=true) end
1068
1124
 
1069
1125
  # Show the sort indicator of a specific column in a specific direction.
1070
- # Sort indicators are only shown in report view and in the native {Wx::MSW} version override any column icon, i.e. if the sort indicator is shown for a column, no (other) icon is shown.
1126
+ # Sort indicators are only shown in report view and in the native wxMSW version override any column icon, i.e. if the sort indicator is shown for a column, no (other) icon is shown.
1071
1127
  # This function should typically be called from EVT_LIST_COL_CLICK handler.
1072
1128
  # This does not actually sort the list, use {Wx::ListCtrl#sort_items} for this.
1073
1129
  # @param col [Integer] The column to set the sort indicator for. If <code>-1</code> is given, then the currently shown sort indicator will be removed.
@@ -1088,17 +1144,20 @@ module Wx
1088
1144
  # Returns the new value to use for sort indicator after clicking a column.
1089
1145
  # This helper function can be useful in the EVT_LIST_COL_CLICK handler when it updates the sort indicator after the user clicked on a column.
1090
1146
  # For example:
1091
- # ```
1092
- # void MyListCtrl::OnColClick(wxListEvent& event)
1093
- # {
1094
- # int col = event.GetColumn();
1095
- # if ( col == -1 )
1096
- # return; // clicked outside any column.
1147
+ # ```ruby
1148
+ # class MyListCtrl
1149
+ #
1150
+ # def on_col_click(event)
1151
+ # col = event.column
1152
+ # if col == -1
1153
+ # return # clicked outside any column.
1097
1154
  #
1098
- # const bool ascending = GetUpdatedAscendingSortIndicator(col);
1099
- # SortItems(MyCompareFunction, ascending);
1100
- # ShowSortIndicator(col, ascending);
1101
- # }
1155
+ # ascending = get_updated_ascending_sort_indicator(col)
1156
+ # sort_items(ascending) { |itm1_data, itm2_data, data| ... }
1157
+ # show_sort_indicator(col, ascending)
1158
+ # end
1159
+ #
1160
+ # end
1102
1161
  # ```
1103
1162
  # @param col [Integer]
1104
1163
  # @return [true,false]
@@ -1129,7 +1188,7 @@ module Wx
1129
1188
  # This function may be overridden in the derived class for a control with {Wx::LC_VIRTUAL} style.
1130
1189
  # It should return the attribute for the for the specified item and column or NULL to use the default appearance parameters.
1131
1190
  # The base class version returns <code>OnGetItemAttr(item)</code>.
1132
- # Currently this function is only called under {Wx::MSW}, the other ports only support {Wx::ListCtrl#on_get_item_attr}
1191
+ # Currently this function is only called under wxMSW, the other ports only support {Wx::ListCtrl#on_get_item_attr}
1133
1192
  # @see Wx::ListCtrl#on_get_item_attr
1134
1193
  # @see Wx::ListCtrl#on_get_item_text
1135
1194
  # @see Wx::ListCtrl#on_get_item_image
@@ -1186,9 +1245,30 @@ module Wx
1186
1245
 
1187
1246
  # This class stores information about a {Wx::ListCtrl} item or column.
1188
1247
  # {Wx::ListItem} is a class which contains information about:
1189
- # - Zero based item position; see {Wx::ListItem#set_id} and {Wx::ListItem#get_id}.- Zero based column index; see {Wx::ListItem#set_column} and {Wx::ListItem#get_column}.- The label (or header for columns); see {Wx::ListItem#set_text} and {Wx::ListItem#get_text}.- The zero based index into an image list; see {Wx::ListItem#get_image} and {Wx::ListItem#set_image}.- Application defined data; see {Wx::ListItem#set_data} and {Wx::ListItem#get_data}.- For columns only: the width of the column; see {Wx::ListItem#set_width} and {Wx::ListItem#get_width}.- For columns only: the format of the column; one of {Wx::ListColumnFormat::LIST_FORMAT_LEFT}, {Wx::ListColumnFormat::LIST_FORMAT_RIGHT}, {Wx::ListColumnFormat::LIST_FORMAT_CENTRE}. See {Wx::ListItem#set_align} and {Wx::ListItem#get_align}.- The state of the item; see {Wx::ListItem#set_state} and {Wx::ListItem#get_state}. This is a bitlist of the following flags:
1190
- # - {Wx::LIST_STATE_FOCUSED}: The item has the focus.- {Wx::LIST_STATE_SELECTED}: The item is selected.- {Wx::LIST_STATE_DONTCARE}: No special flags (the value of this constant is 0).- {Wx::LIST_STATE_DROPHILITED}: The item is highlighted to receive a drop event. Win32 only.- {Wx::LIST_STATE_CUT}: The item is in the cut state. Win32 only.- A mask indicating which state flags are valid; this is a bitlist of the flags reported above for the item state. See {Wx::ListItem#set_state_mask} and GetStateMask().- A mask indicating which fields of this class are valid; see {Wx::ListItem#set_mask} and {Wx::ListItem#get_mask}. This is a bitlist of the following flags:
1191
- # - {Wx::LIST_MASK_STATE}: The state field is valid.- {Wx::LIST_MASK_TEXT}: The label field is valid.- {Wx::LIST_MASK_IMAGE}: The image field is valid.- {Wx::LIST_MASK_DATA}: The application-defined data field is valid.- {Wx::LIST_MASK_WIDTH}: The column width field is valid.- {Wx::LIST_MASK_FORMAT}: The column format field is valid.
1248
+ #
1249
+ # - Zero based item position; see {Wx::ListItem#set_id} and {Wx::ListItem#get_id}.
1250
+ # - Zero based column index; see {Wx::ListItem#set_column} and {Wx::ListItem#get_column}.
1251
+ # - The label (or header for columns); see {Wx::ListItem#set_text} and {Wx::ListItem#get_text}.
1252
+ # - The zero based index into an image list; see {Wx::ListItem#get_image} and {Wx::ListItem#set_image}.
1253
+ # - Application defined data; see {Wx::ListItem#set_data} and {Wx::ListItem#get_data}.
1254
+ # - For columns only: the width of the column; see {Wx::ListItem#set_width} and {Wx::ListItem#get_width}.
1255
+ # - For columns only: the format of the column; one of {Wx::ListColumnFormat::LIST_FORMAT_LEFT}, {Wx::ListColumnFormat::LIST_FORMAT_RIGHT}, {Wx::ListColumnFormat::LIST_FORMAT_CENTRE}. See {Wx::ListItem#set_align} and {Wx::ListItem#get_align}.
1256
+ # - The state of the item; see {Wx::ListItem#set_state} and {Wx::ListItem#get_state}. This is a bitlist of the following flags:
1257
+ #
1258
+ # - {Wx::LIST_STATE_FOCUSED}: The item has the focus.
1259
+ # - {Wx::LIST_STATE_SELECTED}: The item is selected.
1260
+ # - {Wx::LIST_STATE_DONTCARE}: No special flags (the value of this constant is 0).
1261
+ # - {Wx::LIST_STATE_DROPHILITED}: The item is highlighted to receive a drop event. Win32 only.
1262
+ # - {Wx::LIST_STATE_CUT}: The item is in the cut state. Win32 only.
1263
+ # - A mask indicating which state flags are valid; this is a bitlist of the flags reported above for the item state. See {Wx::ListItem#set_state_mask} and GetStateMask().
1264
+ # - A mask indicating which fields of this class are valid; see {Wx::ListItem#set_mask} and {Wx::ListItem#get_mask}. This is a bitlist of the following flags:
1265
+ #
1266
+ # - {Wx::LIST_MASK_STATE}: The state field is valid.
1267
+ # - {Wx::LIST_MASK_TEXT}: The label field is valid.
1268
+ # - {Wx::LIST_MASK_IMAGE}: The image field is valid.
1269
+ # - {Wx::LIST_MASK_DATA}: The application-defined data field is valid.
1270
+ # - {Wx::LIST_MASK_WIDTH}: The column width field is valid.
1271
+ # - {Wx::LIST_MASK_FORMAT}: The column format field is valid.
1192
1272
  #
1193
1273
  # The {Wx::ListItem} object can also contain item-specific colour and font information: for this you need to call one of {Wx::ListItem#set_text_colour}, {Wx::ListItem#set_background_colour} or {Wx::ListItem#set_font} functions on it passing it the colour/font to use. If the colour/font is not specified, the default list control colour/font is used.
1194
1274
  # ===
@@ -1207,7 +1287,7 @@ module Wx
1207
1287
  alias_method :data=, :set_data
1208
1288
 
1209
1289
  # Constructor.
1210
- # @return [ListItem]
1290
+ # @return [Wx::ListItem]
1211
1291
  def initialize; end
1212
1292
 
1213
1293
  # Resets the item state to the default.
@@ -1247,14 +1327,25 @@ module Wx
1247
1327
 
1248
1328
  # Returns a bit mask indicating which fields of the structure are valid.
1249
1329
  # Can be any combination of the following values:
1250
- # - {Wx::LIST_MASK_STATE}: <b>GetState</b> is valid.- {Wx::LIST_MASK_TEXT}: <b>GetText</b> is valid.- {Wx::LIST_MASK_IMAGE}: <b>GetImage</b> is valid.- {Wx::LIST_MASK_DATA}: <b>GetData</b> is valid.- {Wx::LIST_MASK_WIDTH}: <b>GetWidth</b> is valid.- {Wx::LIST_MASK_FORMAT}: <b>GetFormat</b> is valid.
1330
+ #
1331
+ # - {Wx::LIST_MASK_STATE}: <b>GetState</b> is valid.
1332
+ # - {Wx::LIST_MASK_TEXT}: <b>GetText</b> is valid.
1333
+ # - {Wx::LIST_MASK_IMAGE}: <b>GetImage</b> is valid.
1334
+ # - {Wx::LIST_MASK_DATA}: <b>GetData</b> is valid.
1335
+ # - {Wx::LIST_MASK_WIDTH}: <b>GetWidth</b> is valid.
1336
+ # - {Wx::LIST_MASK_FORMAT}: <b>GetFormat</b> is valid.
1251
1337
  # @return [Integer]
1252
1338
  def get_mask; end
1253
1339
  alias_method :mask, :get_mask
1254
1340
 
1255
1341
  # Returns a bit field representing the state of the item.
1256
1342
  # Can be any combination of:
1257
- # - {Wx::LIST_STATE_DONTCARE}: No special flags (the values of this constant is 0).- {Wx::LIST_STATE_DROPHILITED}: The item is highlighted to receive a drop event. Win32 only.- {Wx::LIST_STATE_FOCUSED}: The item has the focus.- {Wx::LIST_STATE_SELECTED}: The item is selected.- {Wx::LIST_STATE_CUT}: The item is in the cut state. Win32 only.
1343
+ #
1344
+ # - {Wx::LIST_STATE_DONTCARE}: No special flags (the values of this constant is 0).
1345
+ # - {Wx::LIST_STATE_DROPHILITED}: The item is highlighted to receive a drop event. Win32 only.
1346
+ # - {Wx::LIST_STATE_FOCUSED}: The item has the focus.
1347
+ # - {Wx::LIST_STATE_SELECTED}: The item is selected.
1348
+ # - {Wx::LIST_STATE_CUT}: The item is in the cut state. Win32 only.
1258
1349
  # @return [Integer]
1259
1350
  def get_state; end
1260
1351
  alias_method :state, :get_state
@@ -1367,13 +1458,13 @@ module Wx
1367
1458
 
1368
1459
  # @overload initialize()
1369
1460
  # Default Constructor.
1370
- # @return [ItemAttr]
1461
+ # @return [Wx::ItemAttr]
1371
1462
  # @overload initialize(colText, colBack, font)
1372
1463
  # Construct a {Wx::ItemAttr} with the specified foreground and background colours and font.
1373
1464
  # @param colText [Wx::Colour,String,Symbol]
1374
1465
  # @param colBack [Wx::Colour,String,Symbol]
1375
1466
  # @param font [Wx::Font,Wx::FontInfo]
1376
- # @return [ItemAttr]
1467
+ # @return [Wx::ItemAttr]
1377
1468
  def initialize(*args) end
1378
1469
 
1379
1470
  # Compare two item attributes for equality.
@@ -1449,9 +1540,9 @@ module Wx
1449
1540
  # Other than different interface, this class is identical to {Wx::ListCtrl}. In particular, it uses the same events, same window styles and so on.
1450
1541
  # ===
1451
1542
  #
1452
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
1453
- # </td><td> {Wx::GTK} Appearance
1454
- # </td><td> {Wx::OSX} Appearance
1543
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
1544
+ # </td><td> wxGTK Appearance
1545
+ # </td><td> wxOSX Appearance
1455
1546
  # </td></tr></table></div>
1456
1547
  # @see Wx::ListView#set_column_image
1457
1548
  #
@@ -1460,7 +1551,7 @@ module Wx
1460
1551
 
1461
1552
  # @overload initialize()
1462
1553
  # Default constructor.
1463
- # @return [ListView]
1554
+ # @return [Wx::ListView]
1464
1555
  # @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LC_REPORT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ListCtrlNameStr)
1465
1556
  # Constructor, creating and showing a listview control.
1466
1557
  #
@@ -1473,7 +1564,7 @@ module Wx
1473
1564
  # @param style [Integer] Window style. See {Wx::ListCtrl}.
1474
1565
  # @param validator [Wx::Validator] Window validator.
1475
1566
  # @param name [String] Window name.
1476
- # @return [ListView]
1567
+ # @return [Wx::ListView]
1477
1568
  def initialize(*args) end
1478
1569
 
1479
1570
  # Resets the column image after calling this function, no image will be shown.
@@ -11,27 +11,49 @@ module Wx
11
11
  #
12
12
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::ListEvent} events.
13
13
  # Event handler methods:
14
+ #
14
15
  # - {Wx::EvtHandler#evt_list_begin_drag}(id, meth = nil, &block): Begin dragging with the left mouse button.
16
+ #
15
17
  # - {Wx::EvtHandler#evt_list_begin_rdrag}(id, meth = nil, &block): Begin dragging with the right mouse button.
18
+ #
16
19
  # - {Wx::EvtHandler#evt_list_begin_label_edit}(id, meth = nil, &block): Begin editing a label. This can be prevented by calling {Wx::ListEvent#veto}.
20
+ #
17
21
  # - {Wx::EvtHandler#evt_list_end_label_edit}(id, meth = nil, &block): Finish editing a label. This can be prevented by calling {Wx::ListEvent#veto}.
22
+ #
18
23
  # - {Wx::EvtHandler#evt_list_delete_item}(id, meth = nil, &block): Delete an item.
24
+ #
19
25
  # - {Wx::EvtHandler#evt_list_delete_all_items}(id, meth = nil, &block): Delete all items.
26
+ #
20
27
  # - {Wx::EvtHandler#evt_list_item_selected}(id, meth = nil, &block): The item has been selected. Notice that the mouse is captured by the control itself when this event is generated, see event handling overview.
28
+ #
21
29
  # - {Wx::EvtHandler#evt_list_item_deselected}(id, meth = nil, &block): The item has been deselected. {Wx::ListEvent#get_index} may be -1 with virtual lists.
30
+ #
22
31
  # - {Wx::EvtHandler#evt_list_item_activated}(id, meth = nil, &block): The item has been activated (ENTER or double click).
32
+ #
23
33
  # - {Wx::EvtHandler#evt_list_item_focused}(id, meth = nil, &block): The currently focused item has changed.
34
+ #
24
35
  # - {Wx::EvtHandler#evt_list_item_middle_click}(id, meth = nil, &block): The middle mouse button has been clicked on an item.
36
+ #
25
37
  # - {Wx::EvtHandler#evt_list_item_right_click}(id, meth = nil, &block): The right mouse button has been clicked on an item.
38
+ #
26
39
  # - {Wx::EvtHandler#evt_list_key_down}(id, meth = nil, &block): A key has been pressed. {Wx::ListEvent#get_index} may be -1 if no item is selected.
40
+ #
27
41
  # - {Wx::EvtHandler#evt_list_insert_item}(id, meth = nil, &block): An item has been inserted.
42
+ #
28
43
  # - {Wx::EvtHandler#evt_list_col_click}(id, meth = nil, &block): A column (m_col) has been left-clicked.
44
+ #
29
45
  # - {Wx::EvtHandler#evt_list_col_right_click}(id, meth = nil, &block): A column (m_col) (which can be -1 if the click occurred outside any column) has been right-clicked.
46
+ #
30
47
  # - {Wx::EvtHandler#evt_list_col_begin_drag}(id, meth = nil, &block): The user started resizing a column - can be vetoed.
48
+ #
31
49
  # - {Wx::EvtHandler#evt_list_col_dragging}(id, meth = nil, &block): The divider between columns is being dragged.
50
+ #
32
51
  # - {Wx::EvtHandler#evt_list_col_end_drag}(id, meth = nil, &block): A column has been resized by the user.
52
+ #
33
53
  # - {Wx::EvtHandler#evt_list_cache_hint}(id, meth = nil, &block): Prepare cache for a virtual list control
54
+ #
34
55
  # - {Wx::EvtHandler#evt_list_item_checked}(id, meth = nil, &block): The item has been checked (new since wxWidgets 3.1.0).
56
+ #
35
57
  # - {Wx::EvtHandler#evt_list_item_unchecked}(id, meth = nil, &block): The item has been unchecked (new since wxWidgets 3.1.0).
36
58
  #
37
59
  # ===
@@ -43,9 +65,9 @@ module Wx
43
65
  class ListEvent < NotifyEvent
44
66
 
45
67
  # Constructor.
46
- # @param commandType [Integer]
68
+ # @param commandType [Wx::AUI::AuiMDIChildFrame::EventType]
47
69
  # @param id [Integer]
48
- # @return [ListEvent]
70
+ # @return [Wx::ListEvent]
49
71
  def initialize(commandType=Wx::EVT_NULL, id=0) end
50
72
 
51
73
  # For EVT_LIST_CACHE_HINT event only: return the first item which the list control advises us to cache.
@@ -38,25 +38,31 @@ module Wx
38
38
  # === Styles
39
39
  #
40
40
  # This class supports the following styles:
41
- #
41
+ #
42
42
  # - {Wx::LB_DEFAULT}: Choose the default location for the labels depending on the current platform (left everywhere except Mac where it is top).
43
+ #
43
44
  # - {Wx::LB_TOP}: Place labels above the page area.
45
+ #
44
46
  # - {Wx::LB_LEFT}: Place labels on the left side.
47
+ #
45
48
  # - {Wx::LB_RIGHT}: Place labels on the right side.
49
+ #
46
50
  # - {Wx::LB_BOTTOM}: Place labels below the page area.
47
51
  #
48
52
  # === Events emitted by this class
49
53
  #
50
54
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::BookCtrlEvent} events.
51
55
  # Event handler methods for events emitted by this class:
56
+ #
52
57
  # - {Wx::EvtHandler#evt_listbook_page_changed}(id, meth = nil, &block): The page selection was changed. Processes a {Wx::EVT_LISTBOOK_PAGE_CHANGED} event.
58
+ #
53
59
  # - {Wx::EvtHandler#evt_listbook_page_changing}(id, meth = nil, &block): The page selection is about to be changed. Processes a {Wx::EVT_LISTBOOK_PAGE_CHANGING} event. This event can be vetoed.
54
60
  #
55
61
  # ===
56
62
  #
57
- # Category: Book Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
58
- # </td><td> {Wx::GTK} Appearance
59
- # </td><td> {Wx::OSX} Appearance
63
+ # Category: Book Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
64
+ # </td><td> wxGTK Appearance
65
+ # </td><td> wxOSX Appearance
60
66
  # </td></tr></table></div>
61
67
  # @see Wx::BookCtrl
62
68
  # @see Wx::Notebook
@@ -67,7 +73,7 @@ module Wx
67
73
 
68
74
  # @overload initialize()
69
75
  # Default ctor.
70
- # @return [Listbook]
76
+ # @return [Wx::Listbook]
71
77
  # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=(''))
72
78
  # Constructs a listbook control.
73
79
  # @param parent [Wx::Window]
@@ -76,7 +82,7 @@ module Wx
76
82
  # @param size [Array(Integer, Integer), Wx::Size]
77
83
  # @param style [Integer]
78
84
  # @param name [String]
79
- # @return [Listbook]
85
+ # @return [Wx::Listbook]
80
86
  def initialize(*args) end
81
87
 
82
88
  # Create the list book control that has already been constructed with the default constructor.