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
@@ -312,6 +312,7 @@ module Wx::PG
312
312
  # In sections below we cover few related topics.
313
313
  #
314
314
  # - Supplied Ready-to-use Property Classes
315
+ #
315
316
  # - Creating Custom Properties
316
317
  #
317
318
  # == Supplied Ready-to-use Property Classes
@@ -319,24 +320,43 @@ module Wx::PG
319
320
  # Here is a list and short description of supplied fully-functional property classes. They are located in either {Wx::props.h} or {Wx::advprops.h}.
320
321
  #
321
322
  # - {Wx::PG::ArrayStringProperty}
323
+ #
322
324
  # - {Wx::PG::BoolProperty}
325
+ #
323
326
  # - {Wx::PG::ColourProperty}
327
+ #
324
328
  # - {Wx::PG::CursorProperty}
329
+ #
325
330
  # - {Wx::PG::DateProperty}
331
+ #
326
332
  # - {Wx::PG::DirProperty}
333
+ #
327
334
  # - {Wx::PG::EditEnumProperty}
335
+ #
328
336
  # - {Wx::PG::EnumProperty}
337
+ #
329
338
  # - {Wx::PG::FileProperty}
339
+ #
330
340
  # - {Wx::PG::FlagsProperty}
341
+ #
331
342
  # - {Wx::PG::FloatProperty}
343
+ #
332
344
  # - {Wx::PG::FontProperty}
345
+ #
333
346
  # - {Wx::PG::ImageFileProperty}
347
+ #
334
348
  # - {Wx::PG::IntProperty}
349
+ #
335
350
  # - {Wx::PG::LongStringProperty}
351
+ #
336
352
  # - {Wx::PG::MultiChoiceProperty}
353
+ #
337
354
  # - {Wx::PG::PropertyCategory}
355
+ #
338
356
  # - {Wx::PG::StringProperty}
357
+ #
339
358
  # - {Wx::PG::SystemColourProperty}
359
+ #
340
360
  # - {Wx::PG::UIntProperty}
341
361
  #
342
362
  # == wxPropertyCategory
@@ -347,7 +367,9 @@ module Wx::PG
347
367
  #
348
368
  # Simple string property.
349
369
  # Supported special attributes:
350
- # - {Wx::PG::PG_STRING_PASSWORD}: Set to true in order to echo value as asterisks and to use {Wx::TE_PASSWORD} on the editor ({Wx::TextCtrl}).- {Wx::PG::PG_ATTR_AUTOCOMPLETE}: Set to true to enable auto-completion (use a {Wx::ArrayString} value), and is also supported by any property that happens to use a {Wx::TextCtrl}-based editor.
370
+ #
371
+ # - {Wx::PG::PG_STRING_PASSWORD}: Set to true in order to echo value as asterisks and to use {Wx::TE_PASSWORD} on the editor ({Wx::TextCtrl}).
372
+ # - {Wx::PG::PG_ATTR_AUTOCOMPLETE}: Set to true to enable auto-completion (use a {Wx::ArrayString} value), and is also supported by any property that happens to use a {Wx::TextCtrl}-based editor.
351
373
  # {Wx::PG::StringProperty} has a special trait: if it has value of "<composed>", and also has child properties, then its displayed value becomes composition of child property values, similar as with {Wx::PG::FontProperty}, for instance.
352
374
  #
353
375
  # == wxIntProperty
@@ -386,13 +408,19 @@ module Wx::PG
386
408
  # ```
387
409
  #
388
410
  # Supported special attributes:
389
- # - {Wx::PG::PG_ATTR_MIN}, {Wx::PG::PG_ATTR_MAX} to specify acceptable value range.- {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
411
+ #
412
+ # - {Wx::PG::PG_ATTR_MIN}, {Wx::PG::PG_ATTR_MAX} to specify acceptable value range.
413
+ # - {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
390
414
  #
391
415
  # == wxUIntProperty
392
416
  #
393
417
  # Like {Wx::PG::IntProperty}, but displays value as unsigned int. To set the prefix used globally, manipulate {Wx::PG::PG_UINT_PREFIX} string attribute. To set the globally used base, manipulate {Wx::PG::PG_UINT_BASE} int attribute. Regardless of current prefix, understands (hex) values starting with both "0x" and "$" (apart from edit mode). Like {Wx::PG::IntProperty}, {Wx::PG::UIntProperty} seamlessly supports 64-bit unsigned integers (i.e. {Wx::ULongLong}). Same {Wx::Variant} safety rules apply.
394
418
  # Supported special attributes:
395
- # - {Wx::PG::PG_ATTR_MIN}, {Wx::PG::PG_ATTR_MAX}: Specifies acceptable value range.- {Wx::PG::PG_UINT_BASE}: Defines base. Valid constants are {Wx::PG::PG_BASE_OCT}, {Wx::PG::PG_BASE_DEC}, {Wx::PG::PG_BASE_HEX} and {Wx::PG::PG_BASE_HEXL} (lowercase characters). Arbitrary bases are <b>not</b> supported.- {Wx::PG::PG_UINT_PREFIX}: Defines displayed prefix. Possible values are {Wx::PG::PG_PREFIX_NONE}, {Wx::PG::PG_PREFIX_0x} and {Wx::PG::PG_PREFIX_DOLLAR_SIGN}. Only {Wx::PG::PG_PREFIX_NONE} works with decimal and octal numbers.- {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
419
+ #
420
+ # - {Wx::PG::PG_ATTR_MIN}, {Wx::PG::PG_ATTR_MAX}: Specifies acceptable value range.
421
+ # - {Wx::PG::PG_UINT_BASE}: Defines base. Valid constants are {Wx::PG::PG_BASE_OCT}, {Wx::PG::PG_BASE_DEC}, {Wx::PG::PG_BASE_HEX} and {Wx::PG::PG_BASE_HEXL} (lowercase characters). Arbitrary bases are <b>not</b> supported.
422
+ # - {Wx::PG::PG_UINT_PREFIX}: Defines displayed prefix. Possible values are {Wx::PG::PG_PREFIX_NONE}, {Wx::PG::PG_PREFIX_0x} and {Wx::PG::PG_PREFIX_DOLLAR_SIGN}. Only {Wx::PG::PG_PREFIX_NONE} works with decimal and octal numbers.
423
+ # - {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
396
424
  # For example how to use seamless 64-bit integer support, see {Wx::PG::IntProperty} documentation (just use {Wx::ULongLong} instead of {Wx::LongLong}).
397
425
  #
398
426
  # == wxFloatProperty
@@ -400,13 +428,18 @@ module Wx::PG
400
428
  # Like {Wx::PG::StringProperty}, but converts text to a double-precision floating point. Default float-to-text precision is 6 decimals, but this can be changed by modifying {Wx::PG::PG_FLOAT_PRECISION} attribute.
401
429
  # Note that when displaying the value, sign is omitted if the resulting textual representation is effectively zero (for example, -0.0001 with precision of 3 will become 0.0 instead of -0.0). This behaviour is unlike what C standard library does, but should result in better end-user experience in almost all cases.
402
430
  # Supported special attributes:
403
- # - {Wx::PG::PG_ATTR_MIN}, {Wx::PG::PG_ATTR_MAX}: Specifies acceptable value range.- {Wx::PG::PG_FLOAT_PRECISION}: Sets the (max) precision used when floating point value is rendered as text. The default -1 means shortest floating-point 6-digit representation.- {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
431
+ #
432
+ # - {Wx::PG::PG_ATTR_MIN}, {Wx::PG::PG_ATTR_MAX}: Specifies acceptable value range.
433
+ # - {Wx::PG::PG_FLOAT_PRECISION}: Sets the (max) precision used when floating point value is rendered as text. The default -1 means shortest floating-point 6-digit representation.
434
+ # - {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
404
435
  #
405
436
  # == wxBoolProperty
406
437
  #
407
438
  # Represents a boolean value. {Wx::Choice} is used as editor control, by the default. {Wx::PG::PG_BOOL_USE_CHECKBOX} attribute can be set to true in order to use check box instead.
408
439
  # Supported special attributes:
409
- # - {Wx::PG::PG_BOOL_USE_CHECKBOX}: If set to true uses check box editor instead of combo box.- {Wx::PG::PG_BOOL_USE_DOUBLE_CLICK_CYCLING}: If set to true cycles combo box instead showing the list.
440
+ #
441
+ # - {Wx::PG::PG_BOOL_USE_CHECKBOX}: If set to true uses check box editor instead of combo box.
442
+ # - {Wx::PG::PG_BOOL_USE_DOUBLE_CLICK_CYCLING}: If set to true cycles combo box instead showing the list.
410
443
  #
411
444
  # == wxLongStringProperty
412
445
  #
@@ -543,19 +576,24 @@ module Wx::PG
543
576
  # - ::{Wx::PG::PG_DIALOG_TITLE}: Sets a specific title for the file dialog.
544
577
  # - ::{Wx::PG::PG_FILE_DIALOG_STYLE}: Sets a specific {Wx::FileDialog} style for the file dialog.
545
578
  # - ::{Wx::PG::PG_FILE_WILDCARD}: Sets wildcard (see {Wx::FileDialog} for format details), "All files..." is default.
546
- # - {Wx::PG::PG_FILE_SHOW_FULL_PATH}: Default true. When false, only the file name is shown (i.e. drive and directory are hidden).- {Wx::PG::PG_FILE_SHOW_RELATIVE_PATH}: If set, then the filename is shown relative to the given path string.- {Wx::PG::PG_FILE_INITIAL_PATH}: Sets the initial path of where to look for files.
579
+ #
580
+ # - {Wx::PG::PG_FILE_SHOW_FULL_PATH}: Default true. When false, only the file name is shown (i.e. drive and directory are hidden).
581
+ # - {Wx::PG::PG_FILE_SHOW_RELATIVE_PATH}: If set, then the filename is shown relative to the given path string.
582
+ # - {Wx::PG::PG_FILE_INITIAL_PATH}: Sets the initial path of where to look for files.
547
583
  #
548
584
  # == wxColourProperty
549
585
  #
550
586
  # <b>Useful alternate editor:</b> Choice.
551
587
  # Represents {Wx::Colour}. {Wx::Button} is used to trigger a colour picker dialog. There are various sub-classing opportunities with this class. See below in {Wx::PG::SystemColourProperty} section for details.
552
588
  # Supported special attributes:
589
+ #
553
590
  # - {Wx::PG::PG_COLOUR_HAS_ALPHA}: If set to true allows user to edit the alpha colour component.
554
591
  #
555
592
  # == wxFontProperty
556
593
  #
557
594
  # Represents {Wx::Font}. Various sub-properties are used to edit individual subvalues.
558
595
  # Supported special attributes:
596
+ #
559
597
  # - {Wx::PG::PG_DIALOG_TITLE}: Sets a specific title for the font dialog.
560
598
  #
561
599
  # == wxSystemColourProperty
@@ -600,7 +638,7 @@ module Wx::PG
600
638
  #
601
639
  # == wxCursorProperty
602
640
  #
603
- # Represents a {Wx::Cursor}. {Wx::Choice} is used to edit the value. Drop-down list has cursor images under some ({Wx::MSW}) platforms.
641
+ # Represents a {Wx::Cursor}. {Wx::Choice} is used to edit the value. Drop-down list has cursor images under some (wxMSW) platforms.
604
642
  #
605
643
  # == Creating Custom Properties
606
644
  #
@@ -689,7 +727,9 @@ module Wx::PG
689
727
  class PGProperty < Object
690
728
 
691
729
  # This virtual function is called after m_value has been set.
692
- # - If m_value was set to Null variant (i.e. unspecified value), {Wx::PG::PGProperty#on_set_value} will not be called.- m_value may be of any variant type. Typically properties internally support only one variant type, and as such {Wx::PG::PGProperty#on_set_value} provides a good opportunity to convert supported values into internal type.- Default implementation does nothing.
730
+ # - If m_value was set to Null variant (i.e. unspecified value), {Wx::PG::PGProperty#on_set_value} will not be called.
731
+ # - m_value may be of any variant type. Typically properties internally support only one variant type, and as such {Wx::PG::PGProperty#on_set_value} provides a good opportunity to convert supported values into internal type.
732
+ # - Default implementation does nothing.
693
733
  # @return [void]
694
734
  def on_set_value; end
695
735
 
@@ -702,7 +742,7 @@ module Wx::PG
702
742
  #
703
743
  # - Default implementation always returns true.
704
744
  # @param value [Wx::Variant]
705
- # @param validationInfo [Wx::PGValidationInfo]
745
+ # @param validationInfo [Wx::PG::PGValidationInfo]
706
746
  # @return [true,false]
707
747
  def validate_value(value, validationInfo) end
708
748
 
@@ -721,7 +761,10 @@ module Wx::PG
721
761
  # Converts integer (possibly a choice selection) into {Wx::Variant} value appropriate for this property.
722
762
  # Returns true if resulting {Wx::Variant} value was different.
723
763
  #
724
- # - If property is not supposed to use choice or spinctrl or other editor with int-based value, it is not necessary to implement this method.- Default implementation simply assign given int to m_value.- If property uses choice control, and displays a dialog on some choice items, then it is preferred to display that dialog in IntToValue instead of OnEvent.- You might want to take into account that m_value is Mull variant if property value is unspecified (which is usually only case if you explicitly enabled that sort behaviour).
764
+ # - If property is not supposed to use choice or spinctrl or other editor with int-based value, it is not necessary to implement this method.
765
+ # - Default implementation simply assign given int to m_value.
766
+ # - If property uses choice control, and displays a dialog on some choice items, then it is preferred to display that dialog in IntToValue instead of OnEvent.
767
+ # - You might want to take into account that m_value is Mull variant if property value is unspecified (which is usually only case if you explicitly enabled that sort behaviour).
725
768
  # @param variant [Wx::Variant] On function entry this is the old value (should not be {Wx::NullVariant} in normal cases). Translated value must be assigned back to it.
726
769
  # @param number [Integer] Integer to be translated into variant.
727
770
  # @param argFlags [Integer] If {Wx::PG::PG_MISC_ARG_FLAGS::PG_FULL_VALUE} is set, returns complete, storable value instead of displayable one.
@@ -758,7 +801,9 @@ module Wx::PG
758
801
  # Returns size of the custom painted image in front of property.
759
802
  # This method must be overridden to return non-default value if OnCustomPaint is to be called.
760
803
  #
761
- # - Default behaviour is to return {size(0,0)}, which means no image.- Default image width or height is indicated with dimension -1.- You can also return {Wx::PG::PG_DEFAULT_IMAGE_SIZE} which equals {Wx::DEFAULT_SIZE}.
804
+ # - Default behaviour is to return {size(0,0)}, which means no image.
805
+ # - Default image width or height is indicated with dimension -1.
806
+ # - You can also return {Wx::PG::PG_DEFAULT_IMAGE_SIZE} which equals {Wx::DEFAULT_SIZE}.
762
807
  # @param item [Integer] Normally -1, but can be an index to the property's list of items.
763
808
  # @return [Wx::Size]
764
809
  def on_measure_image(item=-1) end
@@ -773,7 +818,7 @@ module Wx::PG
773
818
  # return true if any changes in value should be reported.
774
819
  #
775
820
  # - If property uses choice control, and displays a dialog on some choice items, then it is preferred to display that dialog in IntToValue instead of OnEvent.
776
- # @param propgrid [Wx::PropertyGrid]
821
+ # @param propgrid [Wx::PG::PropertyGrid]
777
822
  # @param wnd_primary [Wx::Window]
778
823
  # @param event [Wx::Event]
779
824
  # @return [true,false]
@@ -819,7 +864,7 @@ module Wx::PG
819
864
  def child_changed(thisValue, childIndex, childValue) end
820
865
 
821
866
  # Returns pointer to an instance of used editor.
822
- # @return [Wx::PGEditor]
867
+ # @return [Wx::PG::PGEditor]
823
868
  def do_get_editor_class; end
824
869
 
825
870
  # Returns pointer to the {Wx::Validator} that should be used with the editor of this property (NULL for no validator).
@@ -847,11 +892,14 @@ module Wx::PG
847
892
  # If property's {Wx::PG::PGProperty#on_measure_image} returns size that has height != 0 but less than row height ( < 0 has special meanings), {Wx::PG::PropertyGrid} calls this method to draw a custom image in a limited area in front of the editor control or value text/graphics, and if control has drop-down list, then the image is drawn there as well (even in the case {Wx::PG::PGProperty#on_measure_image} returned higher height than row height).
848
893
  # NOTE: Following applies when {Wx::PG::PGProperty#on_measure_image} returns a "flexible" height ( using <code>wxPG_FLEXIBLE_SIZE(W,H)</code> macro), which implies variable height items: If (rect.x+rect.width) is < 0, then this is a measure item call, which means that dc is invalid and only thing that should be done is to set paintdata.m_drawnHeight to the height of the image of item at index paintdata.m_choiceItem. This call may be done even as often as once every drop-down popup show.
849
894
  #
850
- # - You can actually exceed rect width, but if you do so then paintdata.m_drawnWidth must be set to the full width drawn in pixels.- Due to technical reasons, rect's height will be default even if custom height was reported during measure call.- Brush is guaranteed to be default background colour. It has been already used to clear the background of area being painted. It can be modified.- Pen is guaranteed to be 1-wide 'black' (or whatever is the proper colour) pen for drawing framing rectangle. It can be changed as well.
895
+ # - You can actually exceed rect width, but if you do so then paintdata.m_drawnWidth must be set to the full width drawn in pixels.
896
+ # - Due to technical reasons, rect's height will be default even if custom height was reported during measure call.
897
+ # - Brush is guaranteed to be default background colour. It has been already used to clear the background of area being painted. It can be modified.
898
+ # - Pen is guaranteed to be 1-wide 'black' (or whatever is the proper colour) pen for drawing framing rectangle. It can be changed as well.
851
899
  # @see Wx::PG::PGProperty#value_to_string
852
900
  # @param dc [Wx::DC] {Wx::DC} to paint on.
853
901
  # @param rect [Wx::Rect] Box reserved for custom graphics. Includes surrounding rectangle, if any. If x+width is < 0, then this is a measure item call (see above).
854
- # @param paintdata [Wx::PGPaintData] {Wx::PG::PGPaintData} structure with much useful data about painted item.
902
+ # @param paintdata [Wx::PG::PGPaintData] {Wx::PG::PGPaintData} structure with much useful data about painted item.
855
903
  # ```
856
904
  # struct wxPGPaintData
857
905
  # {
@@ -901,7 +949,7 @@ module Wx::PG
901
949
 
902
950
  # Returns instance of a new {Wx::PG::PGEditorDialogAdapter} instance, which is used when user presses the (optional) button next to the editor control;.
903
951
  # Default implementation returns NULL (i.e. no action is generated when button is pressed).
904
- # @return [Wx::PGEditorDialogAdapter]
952
+ # @return [Wx::PG::PGEditorDialogAdapter]
905
953
  def get_editor_dialog; end
906
954
  alias_method :editor_dialog, :get_editor_dialog
907
955
 
@@ -920,7 +968,7 @@ module Wx::PG
920
968
 
921
969
  # Adds a private child property.
922
970
  # If you use this instead of {Wx::PG::PropertyGridInterface#insert} or {Wx::PG::PropertyGridInterface#append_in}, then property's parental type will automatically be set up to {Wx::PG::PGPropertyFlags::PG_PROP_AGGREGATE}. In other words, all properties of this property will become private.
923
- # @param prop [Wx::PGProperty]
971
+ # @param prop [Wx::PG::PGProperty]
924
972
  # @return [void]
925
973
  def add_private_child(prop) end
926
974
 
@@ -937,7 +985,7 @@ module Wx::PG
937
985
  # {Wx::PG::PropertyGrid} is not automatically refreshed by this function.
938
986
  # @see Wx::PG::PGProperty#insert_child
939
987
  # @see Wx::PG::PGProperty#add_private_child
940
- # @param childProperty [Wx::PGProperty]
988
+ # @param childProperty [Wx::PG::PGProperty]
941
989
  # @return [Wx::PG::PGProperty]
942
990
  def append_child(childProperty) end
943
991
 
@@ -1038,7 +1086,7 @@ module Wx::PG
1038
1086
  # Returns editor used for given column.
1039
1087
  # NULL for no editor.
1040
1088
  # @param column [Integer]
1041
- # @return [Wx::PGEditor]
1089
+ # @return [Wx::PG::PGEditor]
1042
1090
  def get_column_editor(column) end
1043
1091
  alias_method :column_editor, :get_column_editor
1044
1092
 
@@ -1051,7 +1099,7 @@ module Wx::PG
1051
1099
  # Returns {Wx::PG::PGCell} of given column.
1052
1100
  # const version of this member function returns 'default' {Wx::PG::PGCell} object if the property itself didn't hold cell data.
1053
1101
  # @param column [Integer]
1054
- # @return [Wx::PGCell]
1102
+ # @return [Wx::PG::PGCell]
1055
1103
  def get_cell_or_default(column) end
1056
1104
  alias_method :cell_or_default, :get_cell_or_default
1057
1105
 
@@ -1074,7 +1122,7 @@ module Wx::PG
1074
1122
  alias_method :children_height, :get_children_height
1075
1123
 
1076
1124
  # Returns read-only reference to property's list of choices.
1077
- # @return [Wx::PGChoices]
1125
+ # @return [Wx::PG::PGChoices]
1078
1126
  def get_choices; end
1079
1127
  alias_method :choices, :get_choices
1080
1128
 
@@ -1111,7 +1159,7 @@ module Wx::PG
1111
1159
 
1112
1160
  # Returns {Wx::PG::PGEditor} that will be used and created when property becomes selected.
1113
1161
  # Returns more accurate value than {Wx::PG::PGProperty#do_get_editor_class}.
1114
- # @return [Wx::PGEditor]
1162
+ # @return [Wx::PG::PGEditor]
1115
1163
  def get_editor_class; end
1116
1164
  alias_method :editor_class, :get_editor_class
1117
1165
 
@@ -1121,12 +1169,12 @@ module Wx::PG
1121
1169
  alias_method :hint_text, :get_hint_text
1122
1170
 
1123
1171
  # Returns property grid where property lies.
1124
- # @return [Wx::PropertyGrid]
1172
+ # @return [Wx::PG::PropertyGrid]
1125
1173
  def get_grid; end
1126
1174
  alias_method :grid, :get_grid
1127
1175
 
1128
1176
  # Returns owner {Wx::PG::PropertyGrid}, but only if one is currently on a page displaying this property.
1129
- # @return [Wx::PropertyGrid]
1177
+ # @return [Wx::PG::PropertyGrid]
1130
1178
  def get_grid_if_displayed; end
1131
1179
  alias_method :grid_if_displayed, :get_grid_if_displayed
1132
1180
 
@@ -1150,7 +1198,7 @@ module Wx::PG
1150
1198
  alias_method :index_in_parent, :get_index_in_parent
1151
1199
 
1152
1200
  # Returns last visible child property, recursively.
1153
- # @return [Wx::PGProperty]
1201
+ # @return [Wx::PG::PGProperty]
1154
1202
  def get_last_visible_sub_item; end
1155
1203
  alias_method :last_visible_sub_item, :get_last_visible_sub_item
1156
1204
 
@@ -1261,7 +1309,7 @@ module Wx::PG
1261
1309
 
1262
1310
  # Returns index of given child property.
1263
1311
  # {Wx::NOT_FOUND} if given property is not child of this.
1264
- # @param p [Wx::PGProperty]
1312
+ # @param p [Wx::PG::PGProperty]
1265
1313
  # @return [Integer]
1266
1314
  def index(p) end
1267
1315
 
@@ -1273,7 +1321,7 @@ module Wx::PG
1273
1321
  # @see Wx::PG::PGProperty#append_child
1274
1322
  # @see Wx::PG::PGProperty#add_private_child
1275
1323
  # @param index [Integer]
1276
- # @param childProperty [Wx::PGProperty]
1324
+ # @param childProperty [Wx::PG::PGProperty]
1277
1325
  # @return [Wx::PG::PGProperty]
1278
1326
  def insert_child(index, childProperty) end
1279
1327
 
@@ -1311,7 +1359,7 @@ module Wx::PG
1311
1359
 
1312
1360
  # Returns true if candidateParent is some parent of this property.
1313
1361
  # Use, for example, to detect if item is inside collapsed section.
1314
- # @param candidateParent [Wx::PGProperty]
1362
+ # @param candidateParent [Wx::PG::PGProperty]
1315
1363
  # @return [true,false]
1316
1364
  def is_some_parent(candidateParent) end
1317
1365
  alias_method :some_parent?, :is_some_parent
@@ -1381,7 +1429,7 @@ module Wx::PG
1381
1429
  # @overload set_editor(editor)
1382
1430
  # Sets editor for a property.
1383
1431
  # For custom editors, use pointer you received from {Wx::PG::PropertyGrid.register_editor_class}.
1384
- # @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).
1432
+ # @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).
1385
1433
  # @return [void]
1386
1434
  # @overload set_editor(editorName)
1387
1435
  # Sets editor for a property, by editor name.
@@ -1392,7 +1440,7 @@ module Wx::PG
1392
1440
 
1393
1441
  # Sets cell information for given column.
1394
1442
  # @param column [Integer]
1395
- # @param cell [Wx::PGCell]
1443
+ # @param cell [Wx::PG::PGCell]
1396
1444
  # @return [void]
1397
1445
  def set_cell(column, cell) end
1398
1446
 
@@ -1405,7 +1453,7 @@ module Wx::PG
1405
1453
 
1406
1454
  # Sets new set of choices for the property.
1407
1455
  # This operation deselects the property and clears its value.
1408
- # @param choices [Wx::PGChoices]
1456
+ # @param choices [Wx::PG::PGChoices]
1409
1457
  # @return [true,false]
1410
1458
  def set_choices(choices) end
1411
1459
  alias_method :choices=, :set_choices
@@ -1462,7 +1510,8 @@ module Wx::PG
1462
1510
  alias_method :help_string=, :set_help_string
1463
1511
 
1464
1512
  # Sets property's label.
1465
- # - Properties under same parent may have same labels. However, property names must still remain unique.- Unlike {Wx::PG::PropertyGridInterface#set_property_label}, this does not automatically update the display.
1513
+ # - Properties under same parent may have same labels. However, property names must still remain unique.
1514
+ # - Unlike {Wx::PG::PropertyGridInterface#set_property_label}, this does not automatically update the display.
1466
1515
  # @param label [String]
1467
1516
  # @return [void]
1468
1517
  def set_label(label) end
@@ -1609,7 +1658,7 @@ module Wx::PG
1609
1658
  # @overload initialize()
1610
1659
  # Default constructor.
1611
1660
  # It is protected because {Wx::PG::PGProperty} is only a base class for other property classes.
1612
- # @return [PGProperty]
1661
+ # @return [Wx::PG::PGProperty]
1613
1662
  # @overload initialize(label, name)
1614
1663
  # Constructor.
1615
1664
  # It is protected because {Wx::PG::PGProperty} is only a base class for other property classes. Non-abstract property classes should have constructor of this style:
@@ -1633,7 +1682,7 @@ module Wx::PG
1633
1682
  # ```
1634
1683
  # @param label [String]
1635
1684
  # @param name [String]
1636
- # @return [PGProperty]
1685
+ # @return [Wx::PG::PGProperty]
1637
1686
  def initialize(*args) end
1638
1687
 
1639
1688
  end # PGProperty
@@ -1653,17 +1702,17 @@ module Wx::PG
1653
1702
 
1654
1703
  # @overload initialize()
1655
1704
  # Default constructor.
1656
- # @return [PGChoices]
1705
+ # @return [Wx::PG::PGChoices]
1657
1706
  # @overload initialize(a)
1658
1707
  # Copy constructor, uses reference counting.
1659
1708
  # To create a real copy, use {Wx::PG::PGChoices#copy} member function instead.
1660
- # @param a [Wx::PGChoices]
1661
- # @return [PGChoices]
1709
+ # @param a [Wx::PG::PGChoices]
1710
+ # @return [Wx::PG::PGChoices]
1662
1711
  # @overload initialize(labels, values=(Wx::ArrayInt.new()))
1663
1712
  # Constructor.
1664
1713
  # @param labels [Array<String>] Labels for choices.
1665
1714
  # @param values [Array<Integer>] Values for choices. If empty, indexes are used. Otherwise must have at least the same size as labels.
1666
- # @return [PGChoices]
1715
+ # @return [Wx::PG::PGChoices]
1667
1716
  def initialize(*args) end
1668
1717
 
1669
1718
  # @overload add(arr, arrint)
@@ -1675,28 +1724,28 @@ module Wx::PG
1675
1724
  # Adds a single choice item.
1676
1725
  # @param label [String] Label for added choice.
1677
1726
  # @param value [Integer] Value for added choice. If unspecified, index is used.
1678
- # @return [Wx::PGChoiceEntry]
1727
+ # @return [Wx::PG::PGChoiceEntry]
1679
1728
  # @overload add(label, bitmap, value=Wx::PG::PG_INVALID_VALUE)
1680
1729
  # Adds a single item, with bitmap.
1681
1730
  # @param label [String]
1682
1731
  # @param bitmap [Wx::Bitmap]
1683
1732
  # @param value [Integer]
1684
- # @return [Wx::PGChoiceEntry]
1733
+ # @return [Wx::PG::PGChoiceEntry]
1685
1734
  # @overload add(entry)
1686
1735
  # Adds a single item with full entry information.
1687
- # @param entry [Wx::PGChoiceEntry]
1688
- # @return [Wx::PGChoiceEntry]
1736
+ # @param entry [Wx::PG::PGChoiceEntry]
1737
+ # @return [Wx::PG::PGChoiceEntry]
1689
1738
  def add(*args) end
1690
1739
 
1691
1740
  # Adds a single item, sorted.
1692
1741
  # @param label [String]
1693
1742
  # @param value [Integer]
1694
- # @return [Wx::PGChoiceEntry]
1743
+ # @return [Wx::PG::PGChoiceEntry]
1695
1744
  def add_as_sorted(label, value=Wx::PG::PG_INVALID_VALUE) end
1696
1745
 
1697
1746
  # Assigns choices data, using reference counting.
1698
1747
  # To create a real copy, use {Wx::PG::PGChoices#copy} member function instead.
1699
- # @param a [Wx::PGChoices]
1748
+ # @param a [Wx::PG::PGChoices]
1700
1749
  # @return [void]
1701
1750
  def assign(a) end
1702
1751
 
@@ -1705,7 +1754,7 @@ module Wx::PG
1705
1754
  def clear; end
1706
1755
 
1707
1756
  # Returns a real copy of the choices.
1708
- # @return [Wx::PGChoices]
1757
+ # @return [Wx::PG::PGChoices]
1709
1758
  def copy; end
1710
1759
 
1711
1760
  # @return [void]
@@ -1763,12 +1812,12 @@ module Wx::PG
1763
1812
  # @param label [String]
1764
1813
  # @param index [Integer]
1765
1814
  # @param value [Integer]
1766
- # @return [Wx::PGChoiceEntry]
1815
+ # @return [Wx::PG::PGChoiceEntry]
1767
1816
  # @overload insert(entry, index)
1768
1817
  # Inserts a single item with full entry information.
1769
- # @param entry [Wx::PGChoiceEntry]
1818
+ # @param entry [Wx::PG::PGChoiceEntry]
1770
1819
  # @param index [Integer]
1771
- # @return [Wx::PGChoiceEntry]
1820
+ # @return [Wx::PG::PGChoiceEntry]
1772
1821
  def insert(*args) end
1773
1822
 
1774
1823
  # Returns false if this is a constant empty set of choices, which should not be modified.
@@ -1779,11 +1828,11 @@ module Wx::PG
1779
1828
  # @overload item(i)
1780
1829
  # Returns item at given index.
1781
1830
  # @param i [Integer]
1782
- # @return [Wx::PGChoiceEntry]
1831
+ # @return [Wx::PG::PGChoiceEntry]
1783
1832
  # @overload item(i)
1784
1833
  # Returns item at given index.
1785
1834
  # @param i [Integer]
1786
- # @return [Wx::PGChoiceEntry]
1835
+ # @return [Wx::PG::PGChoiceEntry]
1787
1836
  def item(*args) end
1788
1837
 
1789
1838
  # Removes count items starting at position nIndex.
@@ -1809,10 +1858,10 @@ module Wx::PG
1809
1858
 
1810
1859
  # @overload [](i)
1811
1860
  # @param i [Integer]
1812
- # @return [Wx::PGChoiceEntry]
1861
+ # @return [Wx::PG::PGChoiceEntry]
1813
1862
  # @overload [](i)
1814
1863
  # @param i [Integer]
1815
- # @return [Wx::PGChoiceEntry]
1864
+ # @return [Wx::PG::PGChoiceEntry]
1816
1865
  def [](*args) end
1817
1866
 
1818
1867
  end # PGChoices
@@ -1827,12 +1876,12 @@ module Wx::PG
1827
1876
  # {Wx::PG::PropertyGrid}
1828
1877
  #
1829
1878
  #
1830
- # @return [Wx::PropertyGrid]
1879
+ # @return [Wx::PG::PropertyGrid]
1831
1880
  def parent; end
1832
1881
  # {Wx::PG::PropertyGrid}
1833
1882
  #
1834
1883
  #
1835
- # @param val [Wx::PropertyGrid]
1884
+ # @param val [Wx::PG::PropertyGrid]
1836
1885
  # @return [void]
1837
1886
  def parent=(val); end
1838
1887
 
@@ -124,7 +124,7 @@ module Wx::PG
124
124
  #
125
125
  PG_EX_ENABLE_TLP_TRACKING = Wx::PG::PG_EX_WINDOW_STYLES.new(67108864)
126
126
 
127
- # Don't show divider above {Wx::PG::PropertyGridManager} toolbar ({Wx::MSW} only).
127
+ # Don't show divider above {Wx::PG::PropertyGridManager} toolbar (wxMSW only).
128
128
  #
129
129
  PG_EX_NO_TOOLBAR_DIVIDER = Wx::PG::PG_EX_WINDOW_STYLES.new(134217728)
130
130
 
@@ -22,9 +22,9 @@ module Wx::PG
22
22
  #
23
23
  # ===
24
24
  #
25
- # Category: {Wx::PG::PropertyGrid} <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
25
+ # Category: {Wx::PG::PropertyGrid} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
26
+ # </td><td> wxGTK Appearance
27
+ # </td><td> wxOSX Appearance
28
28
  # </td></tr></table></div>
29
29
  #
30
30
  class PropertyGrid < ScrolledControl
@@ -34,7 +34,7 @@ module Wx::PG
34
34
  # Override in derived class to display error messages in custom manner (these message usually only result from validation failure).
35
35
  # If you implement this, then you also need to implement {Wx::PG::PropertyGrid#do_hide_property_error} - possibly to do nothing, if error does not need hiding (e.g. it was logged or shown in a message box).
36
36
  # @see Wx::PG::PropertyGrid#do_hide_property_error
37
- # @param property [Wx::PGProperty]
37
+ # @param property [Wx::PG::PGProperty]
38
38
  # @param msg [String]
39
39
  # @return [void]
40
40
  def do_show_property_error(property, msg) end
@@ -42,7 +42,7 @@ module Wx::PG
42
42
  # Override in derived class to hide an error displayed by {Wx::PG::PropertyGrid#do_show_property_error}.
43
43
  #
44
44
  # @see Wx::PG::PropertyGrid#do_show_property_error
45
- # @param property [Wx::PGProperty]
45
+ # @param property [Wx::PG::PGProperty]
46
46
  # @return [void]
47
47
  def do_hide_property_error(property) end
48
48
 
@@ -54,14 +54,14 @@ module Wx::PG
54
54
 
55
55
  # Override to customize property validation failure behaviour.
56
56
  # Return true if user is allowed to change to another property even if current has invalid value.
57
- # @param property [Wx::PGProperty] Property with entered an invalid value
57
+ # @param property [Wx::PG::PGProperty] Property with entered an invalid value
58
58
  # @param invalidValue [Wx::Variant] Value which failed in validation.
59
59
  # @return [true,false]
60
60
  def do_on_validation_failure(property, invalidValue) end
61
61
 
62
62
  # Override to customize resetting of property validation failure status.
63
63
  # Property is guaranteed to have flag {Wx::PG::PGPropertyFlags::PG_PROP_INVALID_VALUE} set.
64
- # @param property [Wx::PGProperty]
64
+ # @param property [Wx::PG::PGProperty]
65
65
  # @return [void]
66
66
  def do_on_validation_failure_reset(property) end
67
67
 
@@ -108,7 +108,7 @@ module Wx::PG
108
108
  # @overload initialize()
109
109
  # Two step constructor.
110
110
  # Call {Wx::PG::PropertyGrid#create} when this constructor is called to build up the {Wx::PG::PropertyGrid}
111
- # @return [PropertyGrid]
111
+ # @return [Wx::PG::PropertyGrid]
112
112
  # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PG_DEFAULT_STYLE, name=Wx::PropertyGridNameStr)
113
113
  # Constructor.
114
114
  # The styles to be used are styles valid for the {Wx::Window}.
@@ -119,7 +119,7 @@ module Wx::PG
119
119
  # @param size [Array(Integer, Integer), Wx::Size]
120
120
  # @param style [Integer]
121
121
  # @param name [String]
122
- # @return [PropertyGrid]
122
+ # @return [Wx::PG::PropertyGrid]
123
123
  def initialize(*args) end
124
124
 
125
125
  # Adds given key combination to trigger given action.
@@ -290,19 +290,19 @@ module Wx::PG
290
290
 
291
291
  # Returns pointer to itself.
292
292
  # Dummy function that enables same kind of code to use {Wx::PG::PropertyGrid} and {Wx::PG::PropertyGridManager}.
293
- # @return [Wx::PropertyGrid]
293
+ # @return [Wx::PG::PropertyGrid]
294
294
  def get_grid; end
295
295
  alias_method :grid, :get_grid
296
296
 
297
297
  # Returns rectangle of custom paint image.
298
- # @param property [Wx::PGProperty] Return image rectangle for this property.
298
+ # @param property [Wx::PG::PGProperty] Return image rectangle for this property.
299
299
  # @param item [Integer] Which choice of property to use (each choice may have different image).
300
300
  # @return [Wx::Rect]
301
301
  def get_image_rect(property, item) end
302
302
  alias_method :image_rect, :get_image_rect
303
303
 
304
304
  # Returns size of the custom paint image in front of property.
305
- # @param property [Wx::PGProperty] Return image rectangle for this property. If this argument is NULL, then preferred size is returned.
305
+ # @param property [Wx::PG::PGProperty] Return image rectangle for this property. If this argument is NULL, then preferred size is returned.
306
306
  # @param item [Integer] Which choice of property to use (each choice may have different image).
307
307
  # @return [Wx::Size]
308
308
  def get_image_size(property=nil, item=-1) end
@@ -375,7 +375,7 @@ module Wx::PG
375
375
  # Returns current appearance of unspecified value cells.
376
376
  #
377
377
  # @see Wx::PG::PropertyGrid#set_unspecified_value_appearance
378
- # @return [Wx::PGCell]
378
+ # @return [Wx::PG::PGCell]
379
379
  def get_unspecified_value_appearance; end
380
380
  alias_method :unspecified_value_appearance, :get_unspecified_value_appearance
381
381
 
@@ -392,7 +392,7 @@ module Wx::PG
392
392
 
393
393
  # Returns information about arbitrary position in the grid.
394
394
  # @param pt [Array(Integer, Integer), Wx::Point] Coordinates in the virtual grid space. You may need to use Wx::Scrolled<T>#calc_scrolled_position for translating {Wx::PG::PropertyGrid} client coordinates into something this member function can use.
395
- # @return [Wx::PropertyGridHitTestResult]
395
+ # @return [Wx::PG::PropertyGridHitTestResult]
396
396
  def hit_test(pt) end
397
397
 
398
398
  # Returns true if any property has been modified by the user.
@@ -436,7 +436,7 @@ module Wx::PG
436
436
  def refresh_editor; end
437
437
 
438
438
  # Redraws given property.
439
- # @param p [Wx::PGProperty]
439
+ # @param p [Wx::PG::PGProperty]
440
440
  # @return [void]
441
441
  def refresh_property(p) end
442
442
 
@@ -570,7 +570,7 @@ module Wx::PG
570
570
  # If you set the unspecified value to have any textual representation, then that will override "InlineHelp" attribute.
571
571
  # @see Wx::PG::PGProperty#set_value_to_unspecified
572
572
  # @see Wx::PG::PGProperty#is_value_unspecified
573
- # @param cell [Wx::PGCell]
573
+ # @param cell [Wx::PG::PGCell]
574
574
  # @return [void]
575
575
  def set_unspecified_value_appearance(cell) end
576
576
  alias_method :unspecified_value_appearance=, :set_unspecified_value_appearance
@@ -599,7 +599,7 @@ module Wx::PG
599
599
  def unfocus_editor; end
600
600
 
601
601
  # Draws item, children, and consecutive parents as long as category is not met.
602
- # @param p [Wx::PGProperty]
602
+ # @param p [Wx::PG::PGProperty]
603
603
  # @return [void]
604
604
  def draw_item_and_value_related(p) end
605
605
 
@@ -611,9 +611,9 @@ module Wx::PG
611
611
 
612
612
  # Registers a new editor class.
613
613
  # Returns pointer to the editor class instance that should be used.
614
- # @param editor [Wx::PGEditor]
614
+ # @param editor [Wx::PG::PGEditor]
615
615
  # @param name [String]
616
- # @return [Wx::PGEditor]
616
+ # @return [Wx::PG::PGEditor]
617
617
  def self.do_register_editor_class(editor, name) end
618
618
 
619
619
  end # PropertyGrid