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
@@ -12,18 +12,31 @@ module Wx::PG
12
12
  #
13
13
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::PG::PropertyGridEvent} events.
14
14
  # Event handler methods for events emitted by this class:
15
+ #
15
16
  # - EVT_PG_SELECTED (id, func): Respond to {Wx::PG::EVT_PG_SELECTED} event, generated when a property selection has been changed, either by user action or by indirect program function. For instance, collapsing a parent property programmatically causes any selected child property to become unselected, and may therefore cause this event to be generated.
17
+ #
16
18
  # - {Wx::EvtHandler#evt_pg_changed}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_CHANGED} event, generated when property value has been changed by the user.
19
+ #
17
20
  # - {Wx::EvtHandler#evt_pg_changing}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_CHANGING} event, generated when property value is about to be changed by user. Use {Wx::PG::PropertyGridEvent#get_value} to take a peek at the pending value, and {Wx::PG::PropertyGridEvent#veto} to prevent change from taking place, if necessary.
21
+ #
18
22
  # - {Wx::EvtHandler#evt_pg_highlighted}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_HIGHLIGHTED} event, which occurs when mouse moves over a property. Event's property is NULL if hovered area does not belong to any property.
23
+ #
19
24
  # - {Wx::EvtHandler#evt_pg_right_click}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_RIGHT_CLICK} event, which occurs when property is clicked on with right mouse button.
25
+ #
20
26
  # - {Wx::EvtHandler#evt_pg_double_click}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_DOUBLE_CLICK} event, which occurs when property is double-clicked on with left mouse button.
27
+ #
21
28
  # - {Wx::EvtHandler#evt_pg_item_collapsed}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_ITEM_COLLAPSED} event, generated when user collapses a property or category.
29
+ #
22
30
  # - {Wx::EvtHandler#evt_pg_item_expanded}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_ITEM_EXPANDED} event, generated when user expands a property or category.
31
+ #
23
32
  # - {Wx::EvtHandler#evt_pg_label_edit_begin}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_LABEL_EDIT_BEGIN} event, generated when user is about to begin editing a property label. You can veto this event to prevent the action.
33
+ #
24
34
  # - {Wx::EvtHandler#evt_pg_label_edit_ending}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_LABEL_EDIT_ENDING} event, generated when user is about to end editing of a property label. You can veto this event to prevent the action.
35
+ #
25
36
  # - {Wx::EvtHandler#evt_pg_col_begin_drag}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_COL_BEGIN_DRAG} event, generated when user starts resizing a column - can be vetoed.
37
+ #
26
38
  # - EVT_PG_COL_DRAGGING, (id, func): Respond to {Wx::PG::EVT_PG_COL_DRAGGING}, event, generated when a column resize by user is in progress. This event is also generated when user double-clicks the splitter in order to recenter it.
39
+ #
27
40
  # - {Wx::EvtHandler#evt_pg_col_end_drag}(id, meth = nil, &block): Respond to {Wx::PG::EVT_PG_COL_END_DRAG} event, generated after column resize by user has finished.
28
41
  #
29
42
  # ===
@@ -34,13 +47,13 @@ module Wx::PG
34
47
 
35
48
  # @overload initialize(commandType=0, id=0)
36
49
  # Constructor.
37
- # @param commandType [Integer]
50
+ # @param commandType [Wx::AUI::AuiMDIChildFrame::EventType]
38
51
  # @param id [Integer]
39
- # @return [PropertyGridEvent]
52
+ # @return [Wx::PG::PropertyGridEvent]
40
53
  # @overload initialize(event)
41
54
  # Copy constructor.
42
- # @param event [Wx::PropertyGridEvent]
43
- # @return [PropertyGridEvent]
55
+ # @param event [Wx::PG::PropertyGridEvent]
56
+ # @return [Wx::PG::PropertyGridEvent]
44
57
  def initialize(*args) end
45
58
 
46
59
  # Returns true if you can veto the action that the event is signaling.
@@ -99,7 +112,7 @@ module Wx::PG
99
112
  alias_method :can_veto=, :set_can_veto
100
113
 
101
114
  # Changes the property associated with this event.
102
- # @param p [Wx::PGProperty]
115
+ # @param p [Wx::PG::PGProperty]
103
116
  # @return [void]
104
117
  def set_property(p) end
105
118
  alias_method :property=, :set_property
@@ -7,7 +7,8 @@
7
7
  module Wx::PG
8
8
 
9
9
  # Most of the shared property manipulation interface shared by {Wx::PG::PropertyGrid}, {Wx::PG::PropertyGridPage}, and {Wx::PG::PropertyGridManager} is defined in this class.
10
- # - In separate {Wx::PG::PropertyGrid} component this class was known as {Wx::PropertyContainerMethods}.- {Wx::PG::PropertyGridInterface}'s property operation member functions all accept a special {Wx::PGPropArg} id argument, using which you can refer to properties either by their pointer (for performance) or by their name (for conveniency).
10
+ # - In separate {Wx::PG::PropertyGrid} component this class was known as {Wx::PropertyContainerMethods}.
11
+ # - {Wx::PG::PropertyGridInterface}'s property operation member functions all accept a special {Wx::PGPropArg} id argument, using which you can refer to properties either by their pointer (for performance) or by their name (for conveniency).
11
12
  #
12
13
  # ===
13
14
  #
@@ -56,14 +57,17 @@ module Wx::PG
56
57
  # Appends property to the list.
57
58
  # {Wx::PG::PropertyGrid} assumes ownership of the object. Becomes child of most recently added category.
58
59
  #
59
- # - {Wx::PG::PropertyGrid} takes the ownership of the property pointer.- If appending a category with name identical to a category already in the {Wx::PG::PropertyGrid}, then newly created category is deleted, and most recently added category (under which properties are appended) is set to the one with same name. This allows easier adding of items to same categories in multiple passes.- Does not automatically redraw the control, so you may need to call Refresh() when calling this function after control has been shown for the first time.- This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
60
- # @param property [Wx::PGProperty]
60
+ # - {Wx::PG::PropertyGrid} takes the ownership of the property pointer.
61
+ # - If appending a category with name identical to a category already in the {Wx::PG::PropertyGrid}, then newly created category is deleted, and most recently added category (under which properties are appended) is set to the one with same name. This allows easier adding of items to same categories in multiple passes.
62
+ # - Does not automatically redraw the control, so you may need to call Refresh() when calling this function after control has been shown for the first time.
63
+ # - This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
64
+ # @param property [Wx::PG::PGProperty]
61
65
  # @return [Wx::PG::PGProperty]
62
66
  def append(property) end
63
67
 
64
68
  # Same as {Wx::PG::PropertyGridInterface#append}, but appends under given parent property.
65
69
  # @param id [String,Wx::PG::PGProperty] Name or pointer to parent property.
66
- # @param newProperty [Wx::PGProperty] Property to be added.
70
+ # @param newProperty [Wx::PG::PGProperty] Property to be added.
67
71
  # @return [Wx::PG::PGProperty]
68
72
  def append_in(id, newProperty) end
69
73
 
@@ -190,7 +194,7 @@ module Wx::PG
190
194
  # @return [Wx::PG::PGProperty]
191
195
  # @overload get_first(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_ALL)
192
196
  # @param flags [Integer]
193
- # @return [Wx::PGProperty]
197
+ # @return [Wx::PG::PGProperty]
194
198
  def get_first(*args) end
195
199
  alias_method :first, :get_first
196
200
 
@@ -204,7 +208,7 @@ module Wx::PG
204
208
 
205
209
  # Adds to targetArr pointers to properties that have given flags set.
206
210
  # However, if inverse is set to true, then only properties without given flags are stored.
207
- # @param flags [Wx::PGProperty::FlagType] Property flags to use.
211
+ # @param flags [Wx::PG::PGProperty::FlagType] Property flags to use.
208
212
  # @param inverse [true,false] If false, properties that have given flags are stored, otherwise there are stored only properties without given flags.
209
213
  # @param iterFlags [Integer] Iterator flags to use. Default is everything expect private children. See wxPropertyGridIterator Flags.
210
214
  # @return [Array<Wx::PG::PGProperty>]
@@ -228,7 +232,7 @@ module Wx::PG
228
232
  # Returns pointer of property's nearest parent category.
229
233
  # If no category found, returns NULL.
230
234
  # @param id [String,Wx::PG::PGProperty]
231
- # @return [Wx::PropertyCategory]
235
+ # @return [Wx::PG::PropertyCategory]
232
236
  def get_property_category(id) end
233
237
  alias_method :property_category, :get_property_category
234
238
 
@@ -262,7 +266,7 @@ module Wx::PG
262
266
 
263
267
  # Returns property's editor.
264
268
  # @param id [String,Wx::PG::PGProperty]
265
- # @return [Wx::PGEditor]
269
+ # @return [Wx::PG::PGEditor]
266
270
  def get_property_editor(id) end
267
271
  alias_method :property_editor, :get_property_editor
268
272
 
@@ -285,7 +289,7 @@ module Wx::PG
285
289
  alias_method :property_label, :get_property_label
286
290
 
287
291
  # Returns property's name, by which it is globally accessible.
288
- # @param property [Wx::PGProperty]
292
+ # @param property [Wx::PG::PGProperty]
289
293
  # @return [String]
290
294
  def get_property_name(property) end
291
295
  alias_method :property_name, :get_property_name
@@ -385,7 +389,7 @@ module Wx::PG
385
389
  # Returns a {Wx::Variant} list containing {Wx::Variant} versions of all property values.
386
390
  # Order is not guaranteed.
387
391
  # @param listname [String] Name of the returned {Wx::Variant} list.
388
- # @param baseparent [Wx::PGProperty] The base property which children properties will be queried for values.
392
+ # @param baseparent [Wx::PG::PGProperty] The base property which children properties will be queried for values.
389
393
  # @param flags [Integer] Use {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_KEEP_STRUCTURE} to retain category structure; each sub category will be its own {Wx::VariantList} of {Wx::Variant}. Use {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_INC_ATTRIBUTES} to include property attributes as well. Each attribute will be stored as list variant named "@<propname>@attr."
390
394
  # @return [Wx::Variant]
391
395
  def get_property_values(listname=(''), baseparent=nil, flags=0) end
@@ -415,7 +419,9 @@ module Wx::PG
415
419
  # Inserts property to the property container.
416
420
  # Returns newProperty.
417
421
  #
418
- # - {Wx::PG::PropertyGrid} takes the ownership of the property pointer.- While Append may be faster way to add items, make note that when both types of data storage (categoric and non-categoric) are active, Insert becomes even more slow. This is especially true if current mode is non-categoric.- This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
422
+ # - {Wx::PG::PropertyGrid} takes the ownership of the property pointer.
423
+ # - While Append may be faster way to add items, make note that when both types of data storage (categoric and non-categoric) are active, Insert becomes even more slow. This is especially true if current mode is non-categoric.
424
+ # - This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
419
425
  #
420
426
  # Example of use:
421
427
  #
@@ -432,7 +438,7 @@ module Wx::PG
432
438
  # wxPGProperty* my_item_id_2 = propertygrid->Insert( my_item_id, new wxStringProperty("My String 2") );
433
439
  # ```
434
440
  # @param priorThis [String,Wx::PG::PGProperty] New property is inserted just prior to this. Available only in the first variant. There are two versions of this function to allow this parameter to be either an id or name to a property.
435
- # @param newProperty [Wx::PGProperty] Pointer to the inserted property. {Wx::PG::PropertyGrid} will take ownership of this object.
441
+ # @param newProperty [Wx::PG::PGProperty] Pointer to the inserted property. {Wx::PG::PropertyGrid} will take ownership of this object.
436
442
  # @return [Wx::PG::PGProperty]
437
443
  # @overload insert(parent, index, newProperty)
438
444
  # Inserts property to the property container.
@@ -441,7 +447,7 @@ module Wx::PG
441
447
  # Returns newProperty.
442
448
  # @param parent [String,Wx::PG::PGProperty] New property is inserted under this category. Available only in the second variant. There are two versions of this function to allow this parameter to be either an id or name to a property.
443
449
  # @param index [Integer] Index under category. Available only in the second variant. If index is < 0, property is appended in category.
444
- # @param newProperty [Wx::PGProperty] Pointer to the inserted property. {Wx::PG::PropertyGrid} will take ownership of this object.
450
+ # @param newProperty [Wx::PG::PGProperty] Pointer to the inserted property. {Wx::PG::PropertyGrid} will take ownership of this object.
445
451
  # @return [Wx::PG::PGProperty]
446
452
  def insert(*args) end
447
453
 
@@ -510,7 +516,7 @@ module Wx::PG
510
516
  # ```
511
517
  # @see Wx::PG::PropertyGridInterface#insert
512
518
  # @param id [String,Wx::PG::PGProperty]
513
- # @param property [Wx::PGProperty]
519
+ # @param property [Wx::PG::PGProperty]
514
520
  # @return [Wx::PG::PGProperty]
515
521
  def replace_property(id, property) end
516
522
 
@@ -523,12 +529,12 @@ module Wx::PG
523
529
  # @param src [String] String generated by SaveEditableState.
524
530
  # @param restoreStates [Integer] Which parts to restore from source string. See list of editable state flags.
525
531
  # @return [true,false]
526
- def restore_editable_state(src, restoreStates=Wx::PG::PropertyGridPage::EditableStateFlags::AllStates) end
532
+ def restore_editable_state(src, restoreStates=Wx::PG::PropertyGridManager::EditableStateFlags::AllStates) end
527
533
 
528
534
  # Used to acquire user-editable state (selected property, expanded properties, scrolled position, splitter positions).
529
535
  # @param includedStates [Integer] Which parts of state to include. See list of editable state flags.
530
536
  # @return [String]
531
- def save_editable_state(includedStates=Wx::PG::PropertyGridPage::EditableStateFlags::AllStates) end
537
+ def save_editable_state(includedStates=Wx::PG::PropertyGridManager::EditableStateFlags::AllStates) end
532
538
 
533
539
  # Set proportion of an auto-stretchable column.
534
540
  # {Wx::PG::PG_WINDOW_STYLES::PG_SPLITTER_AUTO_CENTER} window style needs to be used to indicate that columns are auto- resizable.
@@ -542,7 +548,8 @@ module Wx::PG
542
548
  def set_column_proportion(column, proportion) end
543
549
 
544
550
  # Sets an attribute for this property.
545
- # - Setting attribute's value to {Wx::NullVariant} will simply remove it from property's set of attributes.- Property is refreshed with new settings.
551
+ # - Setting attribute's value to {Wx::NullVariant} will simply remove it from property's set of attributes.
552
+ # - Property is refreshed with new settings.
546
553
  # @param id [String,Wx::PG::PGProperty] Name or pointer to a property.
547
554
  # @param attrName [String] Text identifier of attribute. See wxPropertyGrid Property Attribute Identifiers.
548
555
  # @param value [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue] Value of attribute.
@@ -559,7 +566,8 @@ module Wx::PG
559
566
  def set_property_attribute_all(attrName, value) end
560
567
 
561
568
  # Sets background colour of given property.
562
- # - If category is tried to set recursively, only its children are affected.- Property is redrawn with new colour.
569
+ # - If category is tried to set recursively, only its children are affected.
570
+ # - Property is redrawn with new colour.
563
571
  # @param id [String,Wx::PG::PGProperty] Property name or pointer.
564
572
  # @param colour [Wx::Colour,String,Symbol] New background colour.
565
573
  # @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} which causes colour to be set recursively. Omit this flag to only set colour for the property in question and not any of its children.
@@ -567,7 +575,8 @@ module Wx::PG
567
575
  def set_property_background_colour(id, colour, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
568
576
 
569
577
  # Sets text, bitmap, and colours for given column's cell.
570
- # - You can set label cell by using column 0.- You can use {Wx::PG::PG_LABEL} as text to use default text for column.
578
+ # - You can set label cell by using column 0.
579
+ # - You can use {Wx::PG::PG_LABEL} as text to use default text for column.
571
580
  # @param id [String,Wx::PG::PGProperty]
572
581
  # @param column [Integer]
573
582
  # @param text [String]
@@ -585,7 +594,8 @@ module Wx::PG
585
594
  def set_property_client_data(id, clientData) end
586
595
 
587
596
  # Resets text and background colours of given property.
588
- # - If category is tried to set recursively, only its children are affected.- Property is redrawn with new colours.
597
+ # - If category is tried to set recursively, only its children are affected.
598
+ # - Property is redrawn with new colours.
589
599
  # @param id [String,Wx::PG::PGProperty] Property name or pointer.
590
600
  # @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} which causes colour to be reset only for the property in question (for backward compatibility).
591
601
  # @return [void]
@@ -596,7 +606,7 @@ module Wx::PG
596
606
  # Sets editor for a property.
597
607
  # For custom editors, use pointer you received from {Wx::PG::PropertyGrid.register_editor_class}.
598
608
  # @param id [String,Wx::PG::PGProperty] Property name or pointer to a property.
599
- # @param editor [Wx::PGEditor] For builtin editors, use {Wx::PGEditor_X}, where X is builtin editor's name (TextCtrl, Choice, etc. see {Wx::PG::PGEditor} documentation for full list).
609
+ # @param editor [Wx::PG::PGEditor] For builtin editors, use {Wx::PGEditor_X}, where X is builtin editor's name (TextCtrl, Choice, etc. see {Wx::PG::PGEditor} documentation for full list).
600
610
  # @return [void]
601
611
  # @overload set_property_editor(id, editorName)
602
612
  # Sets editor control of a property.
@@ -622,7 +632,8 @@ module Wx::PG
622
632
  # Sets property (and, recursively, its children) to have read-only value.
623
633
  # In other words, user cannot change the value in the editor, but they can still copy it.
624
634
  #
625
- # - This is mainly for use with textctrl editor. Only some other editors fully support it.- Property is refreshed with new settings.
635
+ # - This is mainly for use with textctrl editor. Only some other editors fully support it.
636
+ # - Property is refreshed with new settings.
626
637
  # @param id [String,Wx::PG::PGProperty] Property name or pointer.
627
638
  # @param set [true,false] Use true to enable read-only, false to disable it.
628
639
  # @param flags [Integer] By default changes are applied recursively. Set this parameter to {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} to prevent this.
@@ -673,7 +684,8 @@ module Wx::PG
673
684
  def set_property_max_length(id, maxLen) end
674
685
 
675
686
  # Sets text colour of given property.
676
- # - If category is tried to set recursively, only its children are affected.- Property is redrawn with new colour.
687
+ # - If category is tried to set recursively, only its children are affected.
688
+ # - Property is redrawn with new colour.
677
689
  # @param id [String,Wx::PG::PGProperty] Property name or pointer.
678
690
  # @param colour [Wx::Colour,String,Symbol] New text colour.
679
691
  # @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} which causes colour to be set recursively. Omit this flag to only set colour for the property in question and not any of its children.
@@ -819,7 +831,7 @@ module Wx::PG
819
831
 
820
832
  #
821
833
  # This function reselects the property and may cause excess flicker, so to just call Refresh() on a rect of single property, call DrawItem() instead.
822
- # @param p [Wx::PGProperty]
834
+ # @param p [Wx::PG::PGProperty]
823
835
  # @return [void]
824
836
  def refresh_property(p) end
825
837
 
@@ -68,7 +68,7 @@ module Wx::PG
68
68
  # @overload initialize()
69
69
  # Two step constructor.
70
70
  # Call Create when this constructor is called to build up the {Wx::PG::PropertyGridManager}.
71
- # @return [PropertyGridManager]
71
+ # @return [Wx::PG::PropertyGridManager]
72
72
  # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PGMAN_DEFAULT_STYLE, name=Wx::PropertyGridManagerNameStr)
73
73
  # The default constructor.
74
74
  # The styles to be used are styles valid for the {Wx::Window}.
@@ -79,7 +79,7 @@ module Wx::PG
79
79
  # @param size [Array(Integer, Integer), Wx::Size]
80
80
  # @param style [Integer]
81
81
  # @param name [String]
82
- # @return [PropertyGridManager]
82
+ # @return [Wx::PG::PropertyGridManager]
83
83
  def initialize(*args) end
84
84
 
85
85
  # Creates new property page.
@@ -90,8 +90,8 @@ module Wx::PG
90
90
  # If toolbar is used, it is highly recommended that the pages are added when the toolbar is not turned off using window style flag switching. Otherwise toolbar buttons might not be added properly.
91
91
  # @param label [String] A label for the page. This may be shown as a toolbar tooltip etc.
92
92
  # @param bmp [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap bundle for toolbar image. If the bundle is empty, then a built-in default bitmap bundle is used.
93
- # @param pageObj [Wx::PropertyGridPage] {Wx::PG::PropertyGridPage} instance. Manager will take ownership of this object. NULL indicates that a default page instance should be created.
94
- # @return [Wx::PropertyGridPage]
93
+ # @param pageObj [Wx::PG::PropertyGridPage] {Wx::PG::PropertyGridPage} instance. Manager will take ownership of this object. NULL indicates that a default page instance should be created.
94
+ # @return [Wx::PG::PropertyGridPage]
95
95
  def add_page(label=(''), bmp=(Wx::BitmapBundle.new()), pageObj=nil) end
96
96
 
97
97
  # Deletes all properties and all pages.
@@ -147,23 +147,23 @@ module Wx::PG
147
147
 
148
148
  # Returns pointer to the contained {Wx::PG::PropertyGrid}.
149
149
  # This does not change after {Wx::PG::PropertyGridManager} has been created, so you can safely obtain pointer once and use it for the entire lifetime of the manager instance.
150
- # @return [Wx::PropertyGrid]
150
+ # @return [Wx::PG::PropertyGrid]
151
151
  def get_grid; end
152
152
  alias_method :grid, :get_grid
153
153
 
154
154
  # Returns currently selected page.
155
- # @return [Wx::PropertyGridPage]
155
+ # @return [Wx::PG::PropertyGridPage]
156
156
  def get_current_page; end
157
157
  alias_method :current_page, :get_current_page
158
158
 
159
159
  # @overload get_page(ind)
160
160
  # Returns page object for given page index.
161
161
  # @param ind [Integer]
162
- # @return [Wx::PropertyGridPage]
162
+ # @return [Wx::PG::PropertyGridPage]
163
163
  # @overload get_page(name)
164
164
  # Returns page object for given page name.
165
165
  # @param name [String]
166
- # @return [Wx::PropertyGridPage]
166
+ # @return [Wx::PG::PropertyGridPage]
167
167
  def get_page(*args) end
168
168
  alias_method :page, :get_page
169
169
 
@@ -176,7 +176,7 @@ module Wx::PG
176
176
 
177
177
  # Returns index for a relevant propertygrid state.
178
178
  # If no match is found, {Wx::NOT_FOUND} is returned.
179
- # @param pstate [Wx::PropertyGridPageState]
179
+ # @param pstate [Wx::PG::PropertyGridPageState]
180
180
  # @return [Integer]
181
181
  def get_page_by_state(pstate) end
182
182
  alias_method :page_by_state, :get_page_by_state
@@ -226,8 +226,8 @@ module Wx::PG
226
226
  # @param index [Integer] Add to this position. -1 will add as the last item.
227
227
  # @param label [String] A label for the page. This may be shown as a toolbar tooltip etc.
228
228
  # @param bmp [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap bundle for toolbar image. If the bundle is empty, then a built-in default bitmap bundle is used.
229
- # @param pageObj [Wx::PropertyGridPage] {Wx::PG::PropertyGridPage} instance. Manager will take ownership of this object. If NULL, default page object is constructed.
230
- # @return [Wx::PropertyGridPage]
229
+ # @param pageObj [Wx::PG::PropertyGridPage] {Wx::PG::PropertyGridPage} instance. Manager will take ownership of this object. If NULL, default page object is constructed.
230
+ # @return [Wx::PG::PropertyGridPage]
231
231
  def insert_page(index, label, bmp=(Wx::BitmapBundle.new()), pageObj=nil) end
232
232
 
233
233
  # Returns true if any property on any page has been modified by the user.
@@ -264,7 +264,7 @@ module Wx::PG
264
264
  # @return [void]
265
265
  # @overload select_page(page)
266
266
  # Select and displays a given page.
267
- # @param page [Wx::PropertyGridPage]
267
+ # @param page [Wx::PG::PropertyGridPage]
268
268
  # @return [void]
269
269
  def select_page(*args) end
270
270
 
@@ -85,7 +85,7 @@ module Wx::PG
85
85
 
86
86
  include Wx::PG::PropertyGridInterface
87
87
 
88
- # @return [PropertyGridPage]
88
+ # @return [Wx::PG::PropertyGridPage]
89
89
  def initialize; end
90
90
 
91
91
  # Deletes all properties on page.
@@ -125,6 +125,7 @@ module Wx::PG
125
125
 
126
126
  # Do any member initialization in this method.
127
127
  # - Called every time the page is added into a manager.
128
+ #
128
129
  # - You can add properties to the page here.
129
130
  # @return [void]
130
131
  def init; end
@@ -140,7 +141,7 @@ module Wx::PG
140
141
  def on_show; end
141
142
 
142
143
  # Refreshes given property on page.
143
- # @param p [Wx::PGProperty]
144
+ # @param p [Wx::PG::PGProperty]
144
145
  # @return [void]
145
146
  def refresh_property(p) end
146
147
 
@@ -158,14 +159,14 @@ module Wx::PG
158
159
  def check_column_widths(widthChange=0) end
159
160
 
160
161
  # Override this member function to add custom behaviour on property deletion.
161
- # @param item [Wx::PGProperty]
162
+ # @param item [Wx::PG::PGProperty]
162
163
  # @return [void]
163
164
  def do_delete(item) end
164
165
 
165
166
  # Override this member function to add custom behaviour on property insertion.
166
- # @param parent [Wx::PGProperty]
167
+ # @param parent [Wx::PG::PGProperty]
167
168
  # @param index [Integer]
168
- # @param property [Wx::PGProperty]
169
+ # @param property [Wx::PG::PGProperty]
169
170
  # @return [Wx::PG::PGProperty]
170
171
  def do_insert(parent, index, property) end
171
172
 
@@ -206,7 +207,7 @@ module Wx::PG
206
207
  def get_column_width(column) end
207
208
  alias_method :column_width, :get_column_width
208
209
 
209
- # @return [Wx::PropertyGrid]
210
+ # @return [Wx::PG::PropertyGrid]
210
211
  def get_grid; end
211
212
  alias_method :grid, :get_grid
212
213
 
@@ -216,7 +217,7 @@ module Wx::PG
216
217
  # @return [Wx::PG::PGProperty]
217
218
  # @overload get_last_item(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT)
218
219
  # @param flags [Integer]
219
- # @return [Wx::PGProperty]
220
+ # @return [Wx::PG::PGProperty]
220
221
  def get_last_item(*args) end
221
222
  alias_method :last_item, :get_last_item
222
223
 
@@ -225,8 +226,8 @@ module Wx::PG
225
226
  def get_selection; end
226
227
  alias_method :selection, :get_selection
227
228
 
228
- # @param p [Wx::PGProperty]
229
- # @return [Wx::PropertyCategory]
229
+ # @param p [Wx::PG::PGProperty]
230
+ # @return [Wx::PG::PropertyCategory]
230
231
  def get_property_category(p) end
231
232
  alias_method :property_category, :get_property_category
232
233
 
@@ -235,7 +236,7 @@ module Wx::PG
235
236
  def get_virtual_width; end
236
237
  alias_method :virtual_width, :get_virtual_width
237
238
 
238
- # @param p [Wx::PGProperty]
239
+ # @param p [Wx::PG::PGProperty]
239
240
  # @param col [Integer]
240
241
  # @return [Integer]
241
242
  def get_column_full_width(p, col) end
@@ -243,7 +244,7 @@ module Wx::PG
243
244
 
244
245
  # Returns information about arbitrary position in the grid.
245
246
  # @param pt [Array(Integer, Integer), Wx::Point] Logical coordinates in the virtual grid space. Use Wx::Scrolled<T>#calc_unscrolled_position if you need to translate a scrolled position into a logical one.
246
- # @return [Wx::PropertyGridHitTestResult]
247
+ # @return [Wx::PG::PropertyGridHitTestResult]
247
248
  def hit_test(pt) end
248
249
 
249
250
  # Returns true if page is visibly displayed.
@@ -17,7 +17,7 @@ module Wx::PG
17
17
  class PropertyGridPageState < ::Object
18
18
 
19
19
  # Default constructor.
20
- # @return [PropertyGridPageState]
20
+ # @return [Wx::PG::PropertyGridPageState]
21
21
  def initialize; end
22
22
 
23
23
  # Makes sure all columns have minimum width.
@@ -62,7 +62,7 @@ module Wx::PG
62
62
  def get_column_width(column) end
63
63
  alias_method :column_width, :get_column_width
64
64
 
65
- # @return [Wx::PropertyGrid]
65
+ # @return [Wx::PG::PropertyGrid]
66
66
  def get_grid; end
67
67
  alias_method :grid, :get_grid
68
68
 
@@ -72,7 +72,7 @@ module Wx::PG
72
72
  # @return [Wx::PG::PGProperty]
73
73
  # @overload get_last_item(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_DEFAULT)
74
74
  # @param flags [Integer]
75
- # @return [Wx::PGProperty]
75
+ # @return [Wx::PG::PGProperty]
76
76
  def get_last_item(*args) end
77
77
  alias_method :last_item, :get_last_item
78
78
 
@@ -81,8 +81,8 @@ module Wx::PG
81
81
  def get_selection; end
82
82
  alias_method :selection, :get_selection
83
83
 
84
- # @param p [Wx::PGProperty]
85
- # @return [Wx::PropertyCategory]
84
+ # @param p [Wx::PG::PGProperty]
85
+ # @return [Wx::PG::PropertyCategory]
86
86
  def get_property_category(p) end
87
87
  alias_method :property_category, :get_property_category
88
88
 
@@ -91,7 +91,7 @@ module Wx::PG
91
91
  def get_virtual_width; end
92
92
  alias_method :virtual_width, :get_virtual_width
93
93
 
94
- # @param p [Wx::PGProperty]
94
+ # @param p [Wx::PG::PGProperty]
95
95
  # @param col [Integer]
96
96
  # @return [Integer]
97
97
  def get_column_full_width(p, col) end
@@ -99,7 +99,7 @@ module Wx::PG
99
99
 
100
100
  # Returns information about arbitrary position in the grid.
101
101
  # @param pt [Array(Integer, Integer), Wx::Point] Logical coordinates in the virtual grid space. Use Wx::Scrolled<T>#calc_unscrolled_position if you need to translate a scrolled position into a logical one.
102
- # @return [Wx::PropertyGridHitTestResult]
102
+ # @return [Wx::PG::PropertyGridHitTestResult]
103
103
  def hit_test(pt) end
104
104
 
105
105
  # Returns true if page is visibly displayed.
@@ -126,7 +126,7 @@ module Wx::PG
126
126
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
127
127
  class PropertyGridHitTestResult < ::Object
128
128
 
129
- # @return [PropertyGridHitTestResult]
129
+ # @return [Wx::PG::PropertyGridHitTestResult]
130
130
  def initialize; end
131
131
 
132
132
  # Returns column hit.
@@ -18,7 +18,7 @@ module Wx
18
18
  # === Styles
19
19
  #
20
20
  # This class supports the following styles:
21
- #
21
+ #
22
22
  # - {Wx::PB_USE_TEXTCTRL}: Creates a text control to the left of the picker which is completely managed by this {Wx::PickerBase} class.
23
23
  #
24
24
  # ===
@@ -29,7 +29,7 @@ module Wx
29
29
  #
30
30
  class PickerBase < Control
31
31
 
32
- # @return [PickerBase]
32
+ # @return [Wx::PickerBase]
33
33
  def initialize; end
34
34
 
35
35
  # Returns the margin (in pixel) between the picker and the text control.
@@ -51,15 +51,16 @@ module Wx
51
51
 
52
52
  # Returns the native implementation of the real picker control.
53
53
  # The returned control in the generic implementation of {Wx::FilePickerCtrl}, {Wx::DirPickerCtrl}, {Wx::FontPickerCtrl} and {Wx::ColourPickerCtrl} is a specialized {Wx::Button} class so that you can change its label doing, e.g.:
54
- # ```
55
- # #ifdef __WXMSW__
56
- # // wxMSW is one of the platforms where the generic implementation
57
- # // of wxFilePickerCtrl is used...
58
- #
59
- # wxButton *pButt = static_cast<wxButton*>(myFilePickerCtrl->GetPickerCtrl());
60
- # if (pButt)
61
- # pButt->SetLabel("Custom browse string");
62
- # #endif
54
+ # ```ruby
55
+ # if Wx::PLATFORM == 'WXMSW'
56
+ # # wxMSW is one of the platforms where the generic implementation
57
+ # # of Wx::FilePickerCtrl is used...
58
+ #
59
+ # butt = myFilePickerCtrl.get_picker_ctrl
60
+ # if butt
61
+ # butt.set_label("Custom browse string")
62
+ # end
63
+ # end
63
64
  # ```
64
65
  # @return [Wx::Control]
65
66
  def get_picker_ctrl; end
@@ -85,7 +85,7 @@ module Wx
85
85
  #
86
86
  PORT_BASE = Wx::PortId.new(1)
87
87
 
88
- # {Wx::MSW}, native toolkit is Windows API
88
+ # wxMSW, native toolkit is Windows API
89
89
  #
90
90
  PORT_MSW = Wx::PortId.new(2)
91
91
 
@@ -93,7 +93,7 @@ module Wx
93
93
  #
94
94
  PORT_MOTIF = Wx::PortId.new(4)
95
95
 
96
- # {Wx::GTK}, using GTK+ 1.x, 2.x, 3.x, GPE
96
+ # wxGTK, using GTK+ 1.x, 2.x, 3.x, GPE
97
97
  #
98
98
  PORT_GTK = Wx::PortId.new(8)
99
99
 
@@ -101,7 +101,7 @@ module Wx
101
101
  #
102
102
  PORT_DFB = Wx::PortId.new(16)
103
103
 
104
- # {Wx::X11}, using {Wx::Universal}
104
+ # wxX11, using {Wx::Universal}
105
105
  #
106
106
  PORT_X11 = Wx::PortId.new(32)
107
107
 
@@ -182,10 +182,10 @@ module Wx
182
182
 
183
183
  # This class holds information about the operating system, the toolkit and the basic architecture bitness of the machine where the application is currently running.
184
184
  # This class does not only have getters for the information above, it also has setters. This allows you to e.g. save the current platform information in a data file (maybe in string form) so that when you later load it, you can easily retrieve (see the static getters for string->enum conversion functions) and store inside a {Wx::PlatformInfo} instance (using its setters) the signature of the system which generated it.
185
- # In general however you only need to use the static {Wx::PlatformInfo.get} function and then access the various information for the current platform:
186
- # ```
187
- # wxLogMessage("This application is running under %s.",
188
- # wxPlatformInfo::Get().GetOperatingSystemIdName());
185
+ # In general however you only need to use the static {Wx::PlatformInfo.instance} method and then access the various information for the current platform:
186
+ # ```ruby
187
+ # Wx.log_message("This application is running under %s.",
188
+ # Wx::PlatformInfo.instance.get_operating_system_id_name)
189
189
  # ```
190
190
  #
191
191
  # ===
@@ -13,8 +13,8 @@ module Wx
13
13
  # === Styles
14
14
  #
15
15
  # This class supports the following styles:
16
- #
17
- # - {Wx::PU_CONTAINS_CONTROLS}: By default in {Wx::MSW}, a popup window will not take focus from its parent window. However many standard controls, including common ones such as {Wx::TextCtrl}, need focus to function correctly and will not work when placed on a default popup. This flag can be used to make the popup take focus and let all controls work but at the price of not allowing the parent window to keep focus while the popup is shown, which can also be sometimes desirable. This style is currently only implemented in MSW and simply does nothing under the other platforms (it's new since wxWidgets 3.1.3).
16
+ #
17
+ # - {Wx::PU_CONTAINS_CONTROLS}: By default in wxMSW, a popup window will not take focus from its parent window. However many standard controls, including common ones such as {Wx::TextCtrl}, need focus to function correctly and will not work when placed on a default popup. This flag can be used to make the popup take focus and let all controls work but at the price of not allowing the parent window to keep focus while the popup is shown, which can also be sometimes desirable. This style is currently only implemented in MSW and simply does nothing under the other platforms (it's new since wxWidgets 3.1.3).
18
18
  #
19
19
  # ===
20
20
  #
@@ -27,12 +27,12 @@ module Wx
27
27
 
28
28
  # @overload initialize()
29
29
  # Default constructor.
30
- # @return [PopupWindow]
30
+ # @return [Wx::PopupWindow]
31
31
  # @overload initialize(parent, flags=Wx::Border::BORDER_NONE)
32
32
  # Constructor.
33
33
  # @param parent [Wx::Window]
34
34
  # @param flags [Integer]
35
- # @return [PopupWindow]
35
+ # @return [Wx::PopupWindow]
36
36
  def initialize(*args) end
37
37
 
38
38
  # Create method for two-step creation.
@@ -62,12 +62,12 @@ module Wx
62
62
 
63
63
  # @overload initialize()
64
64
  # Default constructor.
65
- # @return [PopupTransientWindow]
65
+ # @return [Wx::PopupTransientWindow]
66
66
  # @overload initialize(parent, flags=Wx::Border::BORDER_NONE)
67
67
  # Constructor.
68
68
  # @param parent [Wx::Window]
69
69
  # @param flags [Integer]
70
- # @return [PopupTransientWindow]
70
+ # @return [Wx::PopupTransientWindow]
71
71
  def initialize(*args) end
72
72
 
73
73
  # Popup the window (this will show it too).
@@ -40,7 +40,7 @@ module Wx
40
40
  # @param maximum [Integer]
41
41
  # @param parent [Wx::Window]
42
42
  # @param style [Integer]
43
- # @return [ProgressDialog]
43
+ # @return [Wx::ProgressDialog]
44
44
  def initialize(title, message, maximum=100, parent=nil, style=(Wx::PD_APP_MODAL|Wx::PD_AUTO_HIDE)) end
45
45
 
46
46
  # Returns the last value passed to the {Wx::ProgressDialog#update} function or {Wx::NOT_FOUND} if the dialog has no progress bar.