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
@@ -9,12 +9,17 @@ module Wx
9
9
  # A button is a control that contains a text string, and is one of the most common elements of a GUI.
10
10
  # It may be placed on a dialog box or on a {Wx::Panel} panel, or indeed on almost any other window.
11
11
  # By default, i.e. if none of the alignment styles are specified, the label is centered both horizontally and vertically. If the button has both a label and a bitmap, the alignment styles above specify the location of the rectangle combining both the label and the bitmap and the bitmap position set with {Wx::Button#set_bitmap_position} defines the relative position of the bitmap with respect to the label (however currently non-default alignment combinations are not implemented on all platforms).
12
- # Since version 2.9.1 {Wx::Button} supports showing both text and an image (currently only when using {Wx::MSW}, {Wx::GTK} or {Wx::OSX}/Cocoa ports), see {Wx::Button#set_bitmap} and {Wx::Button#set_bitmap_label}, {Wx::Button#set_bitmap_disabled} &c methods. In the previous wxWidgets versions this functionality was only available in (the now trivial) {Wx::BitmapButton} class which was only capable of showing an image without text.
12
+ # Since version 2.9.1 {Wx::Button} supports showing both text and an image (currently only when using wxMSW, wxGTK or wxOSX/Cocoa ports), see {Wx::Button#set_bitmap} and {Wx::Button#set_bitmap_label}, {Wx::Button#set_bitmap_disabled} &c methods. In the previous wxWidgets versions this functionality was only available in (the now trivial) {Wx::BitmapButton} class which was only capable of showing an image without text.
13
13
  # A button may have either a single image for all states or different images for the following states (different images are not currently supported under macOS where the normal image is used for all states):
14
+ #
14
15
  # - <b>normal:</b> the default state
16
+ #
15
17
  # - <b>disabled:</b> bitmap shown when the button is disabled.
18
+ #
16
19
  # - <b>pressed:</b> bitmap shown when the button is pushed (e.g. while the user keeps the mouse button pressed on it)
20
+ #
17
21
  # - <b>focus:</b> bitmap shown when the button has keyboard focus (but is not pressed as in this case the button is in the pressed state)
22
+ #
18
23
  # - <b>current:</b> bitmap shown when the mouse is over the button (but it is not pressed although it may have focus). Notice that if current bitmap is not specified but the current platform UI uses hover images for the buttons (such as Windows or GTK+), then the focus bitmap is used for hover state as well. This makes it possible to set focus bitmap only to get reasonably good behaviour on all platforms.
19
24
  #
20
25
  # All of the bitmaps must be of the same size and the normal bitmap must be set first (to a valid bitmap), before setting any other ones. Also, if the size of the bitmaps is changed later, you need to change the size of the normal bitmap before setting any other bitmaps with the new size (and you do need to reset all of them as their original values can be lost when the normal bitmap size changes).
@@ -23,26 +28,33 @@ module Wx
23
28
  # === Styles
24
29
  #
25
30
  # This class supports the following styles:
26
- #
31
+ #
27
32
  # - {Wx::BU_LEFT}: Left-justifies the label. Windows and GTK+ only.
33
+ #
28
34
  # - {Wx::BU_TOP}: Aligns the label to the top of the button. Windows and GTK+ only.
35
+ #
29
36
  # - {Wx::BU_RIGHT}: Right-justifies the bitmap label. Windows and GTK+ only.
37
+ #
30
38
  # - {Wx::BU_BOTTOM}: Aligns the label to the bottom of the button. Windows and GTK+ only.
39
+ #
31
40
  # - {Wx::BU_EXACTFIT}: By default, all buttons are made of at least the standard button size, even if their contents is small enough to fit into a smaller size. This is done for consistency as most platforms use buttons of the same size in the native dialogs, but can be overridden by specifying this flag. If it is given, the button will be made just big enough for its contents. Notice that under MSW the button will still have at least the standard height, even with this style, if it has a non-empty label.
41
+ #
32
42
  # - {Wx::BU_NOTEXT}: Disables the display of the text label in the button even if it has one or its id is one of the standard stock ids with an associated label: without using this style a button which is only supposed to show a bitmap but uses a standard id would display a label too.
43
+ #
33
44
  # - {Wx::Border::BORDER_NONE}: Creates a button without border. This is currently implemented in MSW, GTK2 and OSX/Cocoa.
34
45
  #
35
46
  # === Events emitted by this class
36
47
  #
37
48
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
38
49
  # Event handler methods for events emitted by this class:
50
+ #
39
51
  # - {Wx::EvtHandler#evt_button}(id, meth = nil, &block): Process a {Wx::EVT_BUTTON} event, when the button is clicked.
40
52
  #
41
53
  # ===
42
54
  #
43
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
44
- # </td><td> {Wx::GTK} Appearance
45
- # </td><td> {Wx::OSX} Appearance
55
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
56
+ # </td><td> wxGTK Appearance
57
+ # </td><td> wxOSX Appearance
46
58
  # </td></tr></table></div>
47
59
  # @see Wx::BitmapButton
48
60
  #
@@ -51,7 +63,7 @@ module Wx
51
63
 
52
64
  # @overload initialize()
53
65
  # Default ctor.
54
- # @return [Button]
66
+ # @return [Wx::Button]
55
67
  # @overload initialize(parent, id, label=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ButtonNameStr)
56
68
  # Constructor, creating and showing a button.
57
69
  # The preferred way to create standard buttons is to use default value of label. If no label is supplied and id is one of standard IDs from this list, a standard label will be used. In other words, if you use a predefined {Wx::ID_XXX} constant, just omit the label completely rather than specifying it. In particular, help buttons (the ones with id of {Wx::StandardID::ID_HELP}) under macOS can't display any label at all and while {Wx::Button} will detect if the standard "Help" label is used and ignore it, using any other label will prevent the button from correctly appearing as a help button and so should be avoided.
@@ -66,7 +78,7 @@ module Wx
66
78
  # @param style [Integer] Window style. See {Wx::Button} class description.
67
79
  # @param validator [Wx::Validator] Window validator.
68
80
  # @param name [String] Window name.
69
- # @return [Button]
81
+ # @return [Wx::Button]
70
82
  def initialize(*args) end
71
83
 
72
84
  # Button creation function for two-step creation.
@@ -11,6 +11,7 @@ module Wx
11
11
  #
12
12
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CalculateLayoutEvent} events.
13
13
  # Event handler methods:
14
+ #
14
15
  # - {Wx::EvtHandler#evt_calculate_layout}(meth = nil, &block): Process a {Wx::EVT_CALCULATE_LAYOUT} event, which asks the window to take a 'bite' out of a rectangle provided by the algorithm.
15
16
  #
16
17
  # ===
@@ -25,7 +26,7 @@ module Wx
25
26
 
26
27
  # Constructor.
27
28
  # @param id [Integer]
28
- # @return [CalculateLayoutEvent]
29
+ # @return [Wx::CalculateLayoutEvent]
29
30
  def initialize(id=0) end
30
31
 
31
32
  # Returns the flags associated with this event.
@@ -12,39 +12,51 @@ module Wx
12
12
  # All global settings (such as colours and fonts used) can, of course, be changed. But also, the display style for each day in the month can be set independently using {Wx::CalendarDateAttr} class.
13
13
  # An item without custom attributes is drawn with the default colours and font and without border, but setting custom attributes with {Wx::CalendarCtrl#set_attr} allows modifying its appearance. Just create a custom attribute object and set it for the day you want to be displayed specially (note that the control will take ownership of the pointer, i.e. it will delete it itself). A day may be marked as being a holiday, even if it is not recognized as one by {Wx::DateTime} using the {Wx::CalendarDateAttr#set_holiday} method.
14
14
  # As the attributes are specified for each day, they may change when the month is changed, so you will often want to update them in EVT_CALENDAR_PAGE_CHANGED event handler.
15
- # If neither the {Wx::CAL_SUNDAY_FIRST} or {Wx::CAL_MONDAY_FIRST} style is given, the first day of the week is determined from operating system's settings, if possible. The native {Wx::GTK} calendar chooses the first weekday based on locale, and these styles have no effect on it.
15
+ # If neither the {Wx::CAL_SUNDAY_FIRST} or {Wx::CAL_MONDAY_FIRST} style is given, the first day of the week is determined from operating system's settings, if possible. The native wxGTK calendar chooses the first weekday based on locale, and these styles have no effect on it.
16
16
  # === Styles
17
17
  #
18
18
  # This class supports the following styles:
19
- #
20
- # - {Wx::CAL_SUNDAY_FIRST}: Show Sunday as the first day in the week (not in {Wx::GTK})
21
- # - {Wx::CAL_MONDAY_FIRST}: Show Monday as the first day in the week (not in {Wx::GTK})
19
+ #
20
+ # - {Wx::CAL_SUNDAY_FIRST}: Show Sunday as the first day in the week (not in wxGTK)
21
+ #
22
+ # - {Wx::CAL_MONDAY_FIRST}: Show Monday as the first day in the week (not in wxGTK)
23
+ #
22
24
  # - {Wx::CAL_SHOW_HOLIDAYS}: Highlight holidays in the calendar (only generic)
25
+ #
23
26
  # - {Wx::CAL_NO_YEAR_CHANGE}: Disable the year changing (deprecated, only generic)
27
+ #
24
28
  # - {Wx::CAL_NO_MONTH_CHANGE}: Disable the month (and, implicitly, the year) changing
29
+ #
25
30
  # - {Wx::CAL_SHOW_SURROUNDING_WEEKS}: Show the neighbouring weeks in the previous and next months (only generic, always on for the native controls)
31
+ #
26
32
  # - {Wx::CAL_SEQUENTIAL_MONTH_SELECTION}: Use alternative, more compact, style for the month and year selection controls. (only generic)
33
+ #
27
34
  # - {Wx::CAL_SHOW_WEEK_NUMBERS}: Show week numbers on the left side of the calendar. (not in generic)
28
35
  #
29
36
  # === Events emitted by this class
30
37
  #
31
38
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CalendarEvent} events.
32
39
  # Event handler methods for events emitted by this class:
40
+ #
33
41
  # - {Wx::EvtHandler#evt_calendar}(id, meth = nil, &block): A day was double clicked in the calendar.
42
+ #
34
43
  # - {Wx::EvtHandler#evt_calendar_sel_changed}(id, meth = nil, &block): The selected date changed.
44
+ #
35
45
  # - {Wx::EvtHandler#evt_calendar_page_changed}(id, meth = nil, &block): The selected month (and/or year) changed.
46
+ #
36
47
  # - {Wx::EvtHandler#evt_calendar_weekday_clicked}(id, meth = nil, &block): User clicked on the week day header (only generic).
48
+ #
37
49
  # - {Wx::EvtHandler#evt_calendar_week_clicked}(id, meth = nil, &block): User clicked on the week of the year number (only generic).
38
50
  #
39
51
  # Changing the selected date will trigger an EVT_CALENDAR_DAY, MONTH or YEAR event as well as an EVT_CALENDAR_SEL_CHANGED event.
40
52
  #
41
53
  # ===
42
54
  #
43
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
44
- # </td><td> {Wx::GTK} Appearance
45
- # </td><td> {Wx::OSX} Appearance
55
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
56
+ # </td><td> wxGTK Appearance
57
+ # </td><td> wxOSX Appearance
46
58
  # </td></tr></table></div>
47
- # Implementations: native under {Wx::GTK}, {Wx::MSW} ports; a generic implementation is used elsewhere.
59
+ # Implementations: native under wxGTK, wxMSW ports; a generic implementation is used elsewhere.
48
60
  # @see Calendar Sample
49
61
  # @see Wx::CalendarDateAttr
50
62
  # @see Wx::CalendarEvent
@@ -60,20 +72,20 @@ module Wx
60
72
  # @see Wx::CalendarCtrl#get_date_range
61
73
  # @param lowerdate [Time,Date,DateTime] The low limit for the dates shown by the control or {Wx::DefaultDateTime}.
62
74
  # @param upperdate [Time,Date,DateTime] The high limit for the dates shown by the control or {Wx::DefaultDateTime}.
63
- # @return [void]
75
+ # @return []
64
76
  def set_date_range(lowerdate=Wx::DefaultDateTime, upperdate=Wx::DefaultDateTime) end
65
77
  alias_method :date_range=, :set_date_range
66
78
 
67
79
  # Returns the limits currently being used.
68
80
  # true if either limit is set, false otherwise
69
81
  # @see Wx::CalendarCtrl#set_date_range
70
- # @return [Array(Time, Time), nil]
82
+ # @return [Array(,Array(Time, Time), nil)]
71
83
  def get_date_range; end
72
84
  alias_method :date_range, :get_date_range
73
85
 
74
86
  # @overload initialize()
75
87
  # Default constructor.
76
- # @return [CalendarCtrl]
88
+ # @return [Wx::CalendarCtrl]
77
89
  # @overload initialize(parent, id, date=Wx::DefaultDateTime, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CAL_SHOW_HOLIDAYS, name=Wx::CalendarNameStr)
78
90
  # Does the same as {Wx::CalendarCtrl#create} method.
79
91
  # @param parent [Wx::Window]
@@ -83,7 +95,7 @@ module Wx
83
95
  # @param size [Array(Integer, Integer), Wx::Size]
84
96
  # @param style [Integer]
85
97
  # @param name [String]
86
- # @return [CalendarCtrl]
98
+ # @return [Wx::CalendarCtrl]
87
99
  def initialize(*args) end
88
100
 
89
101
  # Creates the control.
@@ -95,7 +107,7 @@ module Wx
95
107
  # @param size [Array(Integer, Integer), Wx::Size]
96
108
  # @param style [Integer]
97
109
  # @param name [String]
98
- # @return [void]
110
+ # @return []
99
111
  def create(parent, id, date=Wx::DefaultDateTime, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CAL_SHOW_HOLIDAYS, name=Wx::CalendarNameStr) end
100
112
 
101
113
  # This function should be used instead of changing {Wx::CAL_SHOW_HOLIDAYS} style bit directly.
@@ -108,7 +120,7 @@ module Wx
108
120
  # It allows or disallows the user to change the month interactively. Note that if the month cannot be changed, the year cannot be changed either.
109
121
  # true if the value of this option really changed or false if it was already set to the requested value.
110
122
  # @param enable [true,false]
111
- # @return [void]
123
+ # @return []
112
124
  def enable_month_change(enable=true) end
113
125
 
114
126
  # Returns the attribute for the given date (should be in the range 1...31).
@@ -168,7 +180,7 @@ module Wx
168
180
  alias_method :holiday_colour_fg, :get_holiday_colour_fg
169
181
 
170
182
  # Returns one of {Wx::CalendarHitTestResult} constants and fills either date or wd pointer with the corresponding value depending on the hit test code.
171
- # Not implemented in {Wx::GTK} currently.
183
+ # Not implemented in wxGTK currently.
172
184
  # @param pos [Array(Integer, Integer), Wx::Point]
173
185
  # @param date [Wx::DateTime]
174
186
  # @param wd [Wx::DateTime::WeekDay]
@@ -191,7 +203,7 @@ module Wx
191
203
  # Sets the current date.
192
204
  # The date parameter must be valid and in the currently valid range as set by {Wx::CalendarCtrl#set_date_range}, otherwise the current date is not changed and the function returns false and, additionally, triggers an assertion failure if the date is invalid.
193
205
  # @param date [Time,Date,DateTime]
194
- # @return [void]
206
+ # @return []
195
207
  def set_date(date) end
196
208
  alias_method :date=, :set_date
197
209
 
@@ -23,12 +23,12 @@ module Wx
23
23
  # @param colBorder [Wx::Colour,String,Symbol]
24
24
  # @param font [Wx::Font,Wx::FontInfo]
25
25
  # @param border [CalendarDateBorder]
26
- # @return [CalendarDateAttr]
26
+ # @return [Wx::CalendarDateAttr]
27
27
  # @overload initialize(border, colBorder=Wx::NULL_COLOUR)
28
28
  # Constructor using default properties except the given border.
29
29
  # @param border [CalendarDateBorder]
30
30
  # @param colBorder [Wx::Colour,String,Symbol]
31
- # @return [CalendarDateAttr]
31
+ # @return [Wx::CalendarDateAttr]
32
32
  def initialize(*args) end
33
33
 
34
34
  # Returns the background colour set for the calendar date.
@@ -124,12 +124,12 @@ module Wx
124
124
  class CalendarEvent < DateEvent
125
125
 
126
126
  # @overload initialize()
127
- # @return [CalendarEvent]
127
+ # @return [Wx::CalendarEvent]
128
128
  # @overload initialize(win, dt, type)
129
129
  # @param win [Wx::Window]
130
130
  # @param dt [Time,Date,DateTime]
131
- # @param type [Integer]
132
- # @return [CalendarEvent]
131
+ # @param type [Wx::AUI::AuiMDIChildFrame::EventType]
132
+ # @return [Wx::CalendarEvent]
133
133
  def initialize(*args) end
134
134
 
135
135
  # Returns the week day on which the user clicked in EVT_CALENDAR_WEEKDAY_CLICKED handler.
@@ -20,10 +20,10 @@ module Wx
20
20
  # Creates a caret with the given size (in pixels) and associates it with the window.
21
21
  # @param window [Wx::Window]
22
22
  # @param size [Array(Integer, Integer), Wx::Size]
23
- # @return [Caret]
23
+ # @return [Wx::Caret]
24
24
  # @overload initialize()
25
25
  # Default constructor.
26
- # @return [Caret]
26
+ # @return [Wx::Caret]
27
27
  def initialize(*args) end
28
28
 
29
29
  # Creates a caret with the given size (in pixels) and associates it with the window (same as the equivalent constructors).
@@ -40,23 +40,27 @@ module Wx
40
40
  # === Styles
41
41
  #
42
42
  # This class supports the following styles:
43
- #
43
+ #
44
44
  # - {Wx::CHK_2STATE}: Create a 2-state checkbox. This is the default.
45
+ #
45
46
  # - {Wx::CHK_3STATE}: Create a 3-state checkbox.
47
+ #
46
48
  # - {Wx::CHK_ALLOW_3RD_STATE_FOR_USER}: By default a user can't set a 3-state checkbox to the third state. It can only be done from code. Using this flags allows the user to set the checkbox to the third state by clicking.
49
+ #
47
50
  # - {Wx::Alignment::ALIGN_RIGHT}: Makes the text appear on the left of the checkbox.
48
51
  #
49
52
  # === Events emitted by this class
50
53
  #
51
54
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
52
55
  # Event handler methods for events emitted by this class:
56
+ #
53
57
  # - {Wx::EvtHandler#evt_checkbox}(id, meth = nil, &block): Process a {Wx::EVT_CHECKBOX} event, when the checkbox is clicked.
54
58
  #
55
59
  # ===
56
60
  #
57
- # Category: {Wx::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
61
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
62
+ # </td><td> wxGTK Appearance
63
+ # </td><td> wxOSX Appearance
60
64
  # </td></tr></table></div>
61
65
  # @see Wx::RadioButton
62
66
  # @see Wx::CommandEvent
@@ -69,7 +73,7 @@ module Wx
69
73
  #
70
74
  # @see Wx::CheckBox#create
71
75
  # @see Wx::Validator
72
- # @return [CheckBox]
76
+ # @return [Wx::CheckBox]
73
77
  # @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CheckBoxNameStr)
74
78
  # Constructor, creating and showing a checkbox.
75
79
  #
@@ -83,7 +87,7 @@ module Wx
83
87
  # @param style [Integer] Window style. See {Wx::CheckBox}.
84
88
  # @param validator [Wx::Validator] Window validator.
85
89
  # @param name [String] Window name.
86
- # @return [CheckBox]
90
+ # @return [Wx::CheckBox]
87
91
  def initialize(*args) end
88
92
 
89
93
  # Creates the checkbox for two-step construction.
@@ -12,13 +12,14 @@ module Wx
12
12
  #
13
13
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
14
14
  # Event handler methods for events emitted by this class:
15
+ #
15
16
  # - {Wx::EvtHandler#evt_checklistbox}(id, meth = nil, &block): Process a {Wx::EVT_CHECKLISTBOX} event, when an item in the check list box is checked or unchecked. {Wx::CommandEvent#get_int} will contain the index of the item that was checked or unchecked. {Wx::CommandEvent#is_checked} is not valid! Use {Wx::CheckListBox#is_checked} instead.
16
17
  #
17
18
  # ===
18
19
  #
19
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
20
- # </td><td> {Wx::GTK} Appearance
21
- # </td><td> {Wx::OSX} Appearance
20
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
21
+ # </td><td> wxGTK Appearance
22
+ # </td><td> wxOSX Appearance
22
23
  # </td></tr></table></div>
23
24
  # @see Wx::ListBox
24
25
  # @see Wx::Choice
@@ -39,7 +40,7 @@ module Wx
39
40
  # @param style [Integer] Window style. See {Wx::CheckListBox}.
40
41
  # @param validator [Wx::Validator] Window validator.
41
42
  # @param name [String] Window name.
42
- # @return [CheckListBox]
43
+ # @return [Wx::CheckListBox]
43
44
  # @overload initialize(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=("listBox"))
44
45
  # Constructor, creating and showing a list box.
45
46
  # @param parent [Wx::Window] Parent window. Must not be NULL.
@@ -50,10 +51,10 @@ module Wx
50
51
  # @param style [Integer] Window style. See {Wx::CheckListBox}.
51
52
  # @param validator [Wx::Validator] Window validator.
52
53
  # @param name [String] Window name.
53
- # @return [CheckListBox]
54
+ # @return [Wx::CheckListBox]
54
55
  # @overload initialize()
55
56
  # Default constructor.
56
- # @return [CheckListBox]
57
+ # @return [Wx::CheckListBox]
57
58
  def initialize(*args) end
58
59
 
59
60
  # @param parent [Wx::Window]
@@ -84,7 +85,7 @@ module Wx
84
85
  # The number of checked items.
85
86
  # @see Wx::CheckListBox#check
86
87
  # @see Wx::CheckListBox#is_checked
87
- # @return [Array<Integer>]
88
+ # @return [Array(,Array<Integer>)]
88
89
  def get_checked_items; end
89
90
  alias_method :checked_items, :get_checked_items
90
91
 
@@ -11,20 +11,21 @@ module Wx
11
11
  # === Styles
12
12
  #
13
13
  # This class supports the following styles:
14
- #
14
+ #
15
15
  # - {Wx::CB_SORT}: Sorts the entries alphabetically.
16
16
  #
17
17
  # === Events emitted by this class
18
18
  #
19
19
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
20
20
  # Event handler methods for events emitted by this class:
21
+ #
21
22
  # - {Wx::EvtHandler#evt_choice}(id, meth = nil, &block): Process a {Wx::EVT_CHOICE} event, when an item on the list is selected.
22
23
  #
23
24
  # ===
24
25
  #
25
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
26
- # </td><td> {Wx::GTK} Appearance
27
- # </td><td> {Wx::OSX} Appearance
26
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
27
+ # </td><td> wxGTK Appearance
28
+ # </td><td> wxOSX Appearance
28
29
  # </td></tr></table></div>
29
30
  # @see Wx::ListBox
30
31
  # @see Wx::ComboBox
@@ -51,7 +52,7 @@ module Wx
51
52
  #
52
53
  # @see Wx::Choice#create
53
54
  # @see Wx::Validator
54
- # @return [Choice]
55
+ # @return [Wx::Choice]
55
56
  # @overload initialize(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ChoiceNameStr)
56
57
  # Constructor, creating and showing a choice.
57
58
  #
@@ -65,7 +66,7 @@ module Wx
65
66
  # @param style [Integer] Window style. See {Wx::Choice}.
66
67
  # @param validator [Wx::Validator] Window validator.
67
68
  # @param name [String] Window name.
68
- # @return [Choice]
69
+ # @return [Wx::Choice]
69
70
  def initialize(*args) end
70
71
 
71
72
  # Gets the number of columns in this choice item.
@@ -38,25 +38,31 @@ module Wx
38
38
  # === Styles
39
39
  #
40
40
  # This class supports the following styles:
41
- #
41
+ #
42
42
  # - {Wx::CHB_DEFAULT}: Choose the default location for the labels depending on the current platform (but currently it's the same everywhere, namely {Wx::CHB_TOP}).
43
+ #
43
44
  # - {Wx::CHB_TOP}: Place labels above the page area.
45
+ #
44
46
  # - {Wx::CHB_LEFT}: Place labels on the left side.
47
+ #
45
48
  # - {Wx::CHB_RIGHT}: Place labels on the right side.
49
+ #
46
50
  # - {Wx::CHB_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_choicebook_page_changed}(id, meth = nil, &block): The page selection was changed. Processes a {Wx::EVT_CHOICEBOOK_PAGE_CHANGED} event.
58
+ #
53
59
  # - {Wx::EvtHandler#evt_choicebook_page_changing}(id, meth = nil, &block): The page selection is about to be changed. Processes a {Wx::EVT_CHOICEBOOK_PAGE_CHANGING} event. This event can be vetoed (using {Wx::NotifyEvent#veto}).
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 wxBookCtrl Overview
62
68
  # @see Wx::Notebook
@@ -67,7 +73,7 @@ module Wx
67
73
 
68
74
  # @overload initialize()
69
75
  # Constructs a choicebook control.
70
- # @return [Choicebook]
76
+ # @return [Wx::Choicebook]
71
77
  # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=(''))
72
78
  # Constructs a choicebook 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 [Choicebook]
85
+ # @return [Wx::Choicebook]
80
86
  def initialize(*args) end
81
87
 
82
88
  # Create the choicebook control that has already been constructed with the default constructor.
@@ -20,7 +20,7 @@ module Wx
20
20
  # end
21
21
  # ```
22
22
  #
23
- # While {Wx::ClientDC} may also be used for drawing on the client area of a window from outside an EVT_PAINT() handler in some ports, this does not work on all platforms (neither {Wx::OSX} nor {Wx::GTK} with GTK 3 Wayland backend support this, so drawing using {Wx::ClientDC} simply doesn't have any effect there) and the only portable way of drawing is via {Wx::PaintDC}. To redraw a small part of the window, use {Wx::Window#refresh_rect} to invalidate just this part and check {Wx::Window#get_update_region} in the paint event handler to redraw this part only.
23
+ # While {Wx::ClientDC} may also be used for drawing on the client area of a window from outside an EVT_PAINT() handler in some ports, this does not work on all platforms (neither wxOSX nor wxGTK with GTK 3 Wayland backend support this, so drawing using {Wx::ClientDC} simply doesn't have any effect there) and the only portable way of drawing is via {Wx::PaintDC}. To redraw a small part of the window, use {Wx::Window#refresh_rect} to invalidate just this part and check {Wx::Window#get_update_region} in the paint event handler to redraw this part only.
24
24
  #
25
25
  # {Wx::ClientDC} objects should normally be constructed as temporary stack objects, i.e. don't store a {Wx::ClientDC} object.
26
26
  # A {Wx::ClientDC} object is initialized to use the same font and colours as the window it is associated with.
@@ -49,7 +49,7 @@ module Wx
49
49
  class Clipboard < Object
50
50
 
51
51
  # Default constructor.
52
- # @return [Clipboard]
52
+ # @return [Wx::Clipboard]
53
53
  def initialize; end
54
54
 
55
55
  # Call this function to add the data object to the clipboard.
@@ -39,22 +39,25 @@ module Wx
39
39
  # === Styles
40
40
  #
41
41
  # This class supports the following styles:
42
- #
42
+ #
43
43
  # - {Wx::CP_DEFAULT_STYLE}: The default style. It includes {Wx::TAB_TRAVERSAL} and {Wx::Border::BORDER_NONE}.
44
+ #
44
45
  # - {Wx::CP_NO_TLW_RESIZE}: By default {Wx::CollapsiblePane} resizes the top level window containing it when its own size changes. This allows easily implementing dialogs containing an optionally shown part, for example, and so is the default behaviour but can be inconvenient in some specific cases use this flag to disable this automatic parent resizing then.
45
46
  #
46
47
  # === Events emitted by this class
47
48
  #
48
49
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::NavigationKeyEvent} events.
49
50
  # Event handler methods for events emitted by this class:
51
+ #
50
52
  # - {Wx::EvtHandler#evt_collapsiblepane_changed}(id, meth = nil, &block): The user expanded or collapsed the collapsible pane.
53
+ #
51
54
  # - {Wx::EvtHandler#evt_navigation_key}(meth = nil, &block): Process a navigation key event.
52
55
  #
53
56
  # ===
54
57
  #
55
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
56
- # </td><td> {Wx::GTK} Appearance
57
- # </td><td> {Wx::OSX} Appearance
58
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
59
+ # </td><td> wxGTK Appearance
60
+ # </td><td> wxOSX Appearance
58
61
  # </td></tr></table></div>
59
62
  # @see Wx::Panel
60
63
  # @see Wx::CollapsiblePaneEvent
@@ -64,7 +67,7 @@ module Wx
64
67
 
65
68
  # @overload initialize()
66
69
  # Default constructor.
67
- # @return [CollapsiblePane]
70
+ # @return [Wx::CollapsiblePane]
68
71
  # @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CollapsiblePaneNameStr)
69
72
  # Initializes the object and calls {Wx::CollapsiblePane#create} with all the parameters.
70
73
  # @param parent [Wx::Window]
@@ -75,7 +78,7 @@ module Wx
75
78
  # @param style [Integer]
76
79
  # @param validator [Wx::Validator]
77
80
  # @param name [String]
78
- # @return [CollapsiblePane]
81
+ # @return [Wx::CollapsiblePane]
79
82
  def initialize(*args) end
80
83
 
81
84
  #
@@ -11,6 +11,7 @@ module Wx
11
11
  #
12
12
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CollapsiblePaneEvent} events.
13
13
  # Event handler methods:
14
+ #
14
15
  # - {Wx::EvtHandler#evt_collapsiblepane_changed}(id, meth = nil, &block): The user expanded or collapsed the collapsible pane.
15
16
  #
16
17
  # ===
@@ -25,7 +26,7 @@ module Wx
25
26
  # @param generator [Wx::Object]
26
27
  # @param id [Integer]
27
28
  # @param collapsed [true,false]
28
- # @return [CollapsiblePaneEvent]
29
+ # @return [Wx::CollapsiblePaneEvent]
29
30
  def initialize(generator, id, collapsed) end
30
31
 
31
32
  # Returns true if the pane has been collapsed.
@@ -58,7 +58,17 @@ module Wx
58
58
  #
59
59
  # Category: Graphics Device Interface (GDI)
60
60
  # Predefined objects/pointers:
61
- # - {Wx::NULL_COLOUR} - An empty, invalid colour.- {Wx::TransparentColour} - Valid but fully transparent colour (new in 2.9.1).- {Wx::BLACK}- {Wx::BLUE}- {Wx::CYAN}- {Wx::GREEN}- {Wx::YELLOW}- {Wx::LIGHT_GREY}- {Wx::RED}- {Wx::WHITE}
61
+ #
62
+ # - {Wx::NULL_COLOUR} - An empty, invalid colour.
63
+ # - {Wx::TransparentColour} - Valid but fully transparent colour (new in 2.9.1).
64
+ # - {Wx::BLACK}
65
+ # - {Wx::BLUE}
66
+ # - {Wx::CYAN}
67
+ # - {Wx::GREEN}
68
+ # - {Wx::YELLOW}
69
+ # - {Wx::LIGHT_GREY}
70
+ # - {Wx::RED}
71
+ # - {Wx::WHITE}
62
72
  # @see Wx::ColourDatabase
63
73
  # @see Wx::Pen
64
74
  # @see Wx::Brush
@@ -129,23 +139,23 @@ module Wx
129
139
 
130
140
  # @overload initialize()
131
141
  # Default constructor.
132
- # @return [Colour]
142
+ # @return [Wx::Colour]
133
143
  # @overload initialize(red, green, blue, alpha=Wx::ALPHA_OPAQUE)
134
144
  # @param red [Integer] The red value.
135
145
  # @param green [Integer] The green value.
136
146
  # @param blue [Integer] The blue value.
137
147
  # @param alpha [Integer] The alpha value. Alpha values range from 0 ({Wx::ALPHA_TRANSPARENT}) to 255 ({Wx::ALPHA_OPAQUE}).
138
- # @return [Colour]
148
+ # @return [Wx::Colour]
139
149
  # @overload initialize(colourName)
140
150
  # @param colourName [String] The colour name.
141
- # @return [Colour]
151
+ # @return [Wx::Colour]
142
152
  # @overload initialize(colRGB)
143
153
  # @param colRGB [Integer] A packed RGB value.
144
- # @return [Colour]
154
+ # @return [Wx::Colour]
145
155
  # @overload initialize(colour)
146
156
  # Copy constructor.
147
157
  # @param colour [Wx::Colour,String,Symbol]
148
- # @return [Colour]
158
+ # @return [Wx::Colour]
149
159
  def initialize(*args) end
150
160
 
151
161
  # Returns the alpha value, on platforms where alpha is not yet supported, this always returns {Wx::ALPHA_OPAQUE}.
@@ -64,7 +64,7 @@ module Wx
64
64
  # @see Wx::ColourData
65
65
  # @param parent [Wx::Window]
66
66
  # @param data [Wx::ColourData]
67
- # @return [ColourDialog]
67
+ # @return [Wx::ColourDialog]
68
68
  def initialize(parent, data=nil) end
69
69
 
70
70
  # Same as {colour_dialog}.
@@ -98,7 +98,7 @@ module Wx
98
98
 
99
99
  # Constructor.
100
100
  # Initializes the custom colours to {Wx::NULL_COLOUR}, the data colour setting to black, and the choose full setting to true.
101
- # @return [ColourData]
101
+ # @return [Wx::ColourData]
102
102
  def initialize; end
103
103
 
104
104
  # Under Windows, determines whether the Windows colour dialog will display the full dialog with custom colour selection controls.
@@ -109,8 +109,8 @@ module Wx
109
109
  alias_method :choose_full, :get_choose_full
110
110
 
111
111
  # Indicates whether the colour dialog will display alpha values and an opacity selector.
112
- # It is meaningful under {Wx::GTK}, {Wx::OSX} and with regards to generic colour dialog.
113
- # The default value is false, except {Wx::OSX} where it is true (for the sake of backward compatibility).
112
+ # It is meaningful under wxGTK, wxOSX and with regards to generic colour dialog.
113
+ # The default value is false, except wxOSX where it is true (for the sake of backward compatibility).
114
114
  # @return [true,false]
115
115
  def get_choose_alpha; end
116
116
  alias_method :choose_alpha, :get_choose_alpha
@@ -136,8 +136,8 @@ module Wx
136
136
  alias_method :choose_full=, :set_choose_full
137
137
 
138
138
  # Tells the colour dialog to show alpha values and an opacity selector (slider).
139
- # Currently it has effect under {Wx::GTK}, {Wx::OSX} and for generic colour dialog.
140
- # The default value is false, except {Wx::OSX} where it is true for backward compatibility.
139
+ # Currently it has effect under wxGTK, wxOSX and for generic colour dialog.
140
+ # The default value is false, except wxOSX where it is true for backward compatibility.
141
141
  # @param flag [true,false]
142
142
  # @return [void]
143
143
  def set_choose_alpha(flag) end