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
@@ -29,15 +29,18 @@ module Wx
29
29
  # A help controller allows an application to display help, at the contents or at a particular topic, and shut the help program down on termination. This avoids proliferation of many instances of the help viewer whenever the user requests a different topic via the application's menus or buttons.
30
30
  # Typically, an application will create a help controller instance when it starts, and immediately call {Wx::HelpController::Initialize} to associate a filename with it. The help viewer will only get run, however, just before the first call to display something.
31
31
  # Most help controller classes actually derive from {Wx::HelpControllerBase} and have names of the form {Wx::XXXHelpController} or {Wx::HelpControllerXXX}. An appropriate class is aliased to the name {Wx::HelpController} for each platform, as follows:
32
- # - On desktop Windows, {Wx::CHMHelpController} is used (MS HTML Help).- On all other platforms, {Wx::HTML::HtmlHelpController} is used if {Wx::HTML} is compiled into wxWidgets; otherwise {Wx::ExtHelpController} is used (for invoking an external browser).
32
+ #
33
+ # - On desktop Windows, {Wx::CHMHelpController} is used (MS HTML Help).
34
+ # - On all other platforms, {Wx::HTML::HtmlHelpController} is used if {Wx::HTML} is compiled into wxWidgets; otherwise {Wx::ExtHelpController} is used (for invoking an external browser).
33
35
  #
34
36
  # The remaining help controller classes need to be named explicitly by an application that wishes to make use of them.
35
37
  # The following help controller classes are defined:
36
- # - {Wx::WinHelpController}, for controlling Windows Help.- {Wx::CHMHelpController}, for controlling MS HTML Help. To use this, you need to set {Wx::Setup::USE_MS_HTML_HELP} to 1 in setup.h and have the htmlhelp.h header from Microsoft's HTML Help kit. (You don't need the VC++-specific htmlhelp.lib because wxWidgets loads necessary DLL at runtime and so it works with all compilers.)- {Wx::BestHelpController}, for controlling MS HTML Help or, if Microsoft's runtime is not available, {Wx::HTML::HtmlHelpController}. You need to provide <b>both</b> CHM and HTB versions of the help file. For {Wx::MSW} only.- {Wx::ExtHelpController}, for controlling external browsers under Unix. The default browser is Netscape Navigator. The 'help' sample shows its use.- {Wx::HTML::HtmlHelpController}, a sophisticated help controller using {Wx::HTML}, in a similar style to the Microsoft HTML Help viewer and using some of the same files. Although it has an API compatible with other help controllers, it has more advanced features, so it is recommended that you use the specific API for this class instead. Note that if you use .zip or .htb formats for your books, you must add this line to your application initialization:
37
- # ```
38
- # wxFileSystem::AddHandler(new wxArchiveFSHandler);
39
- # ```
40
- # or nothing will be shown in your help window.
38
+ #
39
+ # - {Wx::WinHelpController}, for controlling Windows Help.
40
+ # - {Wx::CHMHelpController}, for controlling MS HTML Help. To use this, you need to set {Wx::Setup::USE_MS_HTML_HELP} to 1 in setup.h and have the htmlhelp.h header from Microsoft's HTML Help kit. (You don't need the VC++-specific htmlhelp.lib because wxWidgets loads necessary DLL at runtime and so it works with all compilers.)
41
+ # - {Wx::BestHelpController}, for controlling MS HTML Help or, if Microsoft's runtime is not available, {Wx::HTML::HtmlHelpController}. You need to provide <b>both</b> CHM and HTB versions of the help file. For wxMSW only.
42
+ # - {Wx::ExtHelpController}, for controlling external browsers under Unix. The default browser is Netscape Navigator. The 'help' sample shows its use.
43
+ # - {Wx::HTML::HtmlHelpController}, a sophisticated help controller using {Wx::HTML}, in a similar style to the Microsoft HTML Help viewer and using some of the same files. Although it has an API compatible with other help controllers, it has more advanced features, so it is recommended that you use the specific API for this class instead. Note that in Ruby the required filesystem handlers for .zip or .htb books are always loaded.
41
44
  #
42
45
  # ===
43
46
  #
@@ -52,7 +55,7 @@ module Wx
52
55
  # If you provide a window, it will be used by some help controller classes, such as {Wx::CHMHelpController}, {Wx::WinHelpController} and {Wx::HTML::HtmlHelpController}, as the parent for the help window instead of the value of {Wx::App#get_top_window}.
53
56
  # You can also change the parent window later with {Wx::HelpController#set_parent_window}.
54
57
  # @param parentWindow [Wx::Window]
55
- # @return [HelpController]
58
+ # @return [Wx::HelpController]
56
59
  def initialize(parentWindow=nil) end
57
60
 
58
61
  # If the help viewer is not running, runs it and displays the contents.
@@ -88,7 +91,10 @@ module Wx
88
91
  # If the help viewer is not running, runs it, and searches for sections matching the given keyword.
89
92
  # If one match is found, the file is displayed at this section. The optional parameter allows searching the index ({Wx::HelpSearchMode::HELP_SEARCH_INDEX}) but this currently is only supported by the {Wx::HTML::HtmlHelpController}.
90
93
  #
91
- # - WinHelp, MS HTML Help: If more than one match is found, the first topic is displayed.- MS HTML Help: Pass an empty string to display the search page.- External HTML help, simple {Wx::HTML} help: If more than one match is found, a choice of topics is displayed.- {Wx::HTML::HtmlHelpController}: see {Wx::HTML::HtmlHelpController::KeywordSearch}.
94
+ # - WinHelp, MS HTML Help: If more than one match is found, the first topic is displayed.
95
+ # - MS HTML Help: Pass an empty string to display the search page.
96
+ # - External HTML help, simple {Wx::HTML} help: If more than one match is found, a choice of topics is displayed.
97
+ # - {Wx::HTML::HtmlHelpController}: see {Wx::HTML::HtmlHelpController::KeywordSearch}.
92
98
  # @param keyWord [String]
93
99
  # @param mode [HelpSearchMode]
94
100
  # @return [true,false]
@@ -120,10 +126,10 @@ module Wx
120
126
  # Sets detailed viewer information.
121
127
  # So far this is only relevant to {Wx::ExtHelpController}. Some examples of usage:
122
128
  #
123
- # ```
124
- # m_help.SetViewer("kdehelp");
125
- # m_help.SetViewer("gnome-help-browser");
126
- # m_help.SetViewer("netscape", wxHELP_NETSCAPE);
129
+ # ```ruby
130
+ # @help.set_viewer('kdehelp')
131
+ # @help.set_viewer('gnome-help-browser')
132
+ # @help.set_viewer('netscape', Wx::HELP_NETSCAPE)
127
133
  # ```
128
134
  #
129
135
  # Todomodernize this function with {Wx::LaunchDefaultBrowser}
@@ -134,7 +134,7 @@ module Wx::HTML
134
134
  class HtmlCell < Object
135
135
 
136
136
  # Constructor.
137
- # @return [HtmlCell]
137
+ # @return [Wx::HTML::HtmlCell]
138
138
  def initialize; end
139
139
 
140
140
  # Find a cell inside this cell positioned at the given coordinates (relative to this's positions).
@@ -172,7 +172,7 @@ module Wx::HTML
172
172
  # See {Wx::HTML::HtmlLinkInfo}. (Note: this makes sense only for visible tags).
173
173
  # @param x [Integer] Coordinates of position where the user pressed mouse button. These coordinates are used e.g. by COLORMAP. Values are relative to the upper left corner of THIS cell (i.e. from 0 to m_Width or m_Height)
174
174
  # @param y [Integer]
175
- # @return [Wx::HtmlLinkInfo]
175
+ # @return [Wx::HTML::HtmlLinkInfo]
176
176
  def get_link(x=0, y=0) end
177
177
  alias_method :link, :get_link
178
178
 
@@ -198,7 +198,7 @@ module Wx::HTML
198
198
  alias_method :next_, :get_next
199
199
 
200
200
  # Returns pointer to parent container.
201
- # @return [Wx::HtmlContainerCell]
201
+ # @return [Wx::HTML::HtmlContainerCell]
202
202
  def get_parent; end
203
203
  alias_method :parent, :get_parent
204
204
 
@@ -228,21 +228,21 @@ module Wx::HTML
228
228
 
229
229
  # Sets the hypertext link associated with this cell.
230
230
  # (Default value is {Wx::HTML::HtmlLinkInfo}("", "") (no link))
231
- # @param link [Wx::HtmlLinkInfo]
231
+ # @param link [Wx::HTML::HtmlLinkInfo]
232
232
  # @return [void]
233
233
  def set_link(link) end
234
234
  alias_method :link=, :set_link
235
235
 
236
236
  # Sets the next cell in the list.
237
237
  # This shouldn't be called by user - it is to be used only by {Wx::HTML::HtmlContainerCell#insert_cell}.
238
- # @param cell [Wx::HtmlCell]
238
+ # @param cell [Wx::HTML::HtmlCell]
239
239
  # @return [void]
240
240
  def set_next(cell) end
241
241
  alias_method :next_=, :set_next
242
242
 
243
243
  # Sets parent container of this cell.
244
244
  # This is called from {Wx::HTML::HtmlContainerCell#insert_cell}.
245
- # @param p [Wx::HtmlContainerCell]
245
+ # @param p [Wx::HTML::HtmlContainerCell]
246
246
  # @return [void]
247
247
  def set_parent(p) end
248
248
  alias_method :parent=, :set_parent
@@ -275,12 +275,12 @@ module Wx::HTML
275
275
 
276
276
  # @overload initialize()
277
277
  # Default ctor.
278
- # @return [HtmlLinkInfo]
278
+ # @return [Wx::HTML::HtmlLinkInfo]
279
279
  # @overload initialize(href, target=(''))
280
280
  # Construct hypertext link from HREF (aka URL) and TARGET (name of target frame).
281
281
  # @param href [String]
282
282
  # @param target [String]
283
- # @return [HtmlLinkInfo]
283
+ # @return [Wx::HTML::HtmlLinkInfo]
284
284
  def initialize(*args) end
285
285
 
286
286
  # Return pointer to event that generated OnLinkClicked() event.
@@ -296,7 +296,7 @@ module Wx::HTML
296
296
 
297
297
  # Return pointer to the cell that was clicked.
298
298
  # Valid only within {Wx::HTML::HtmlWindow#on_link_clicked}, NULL otherwise.
299
- # @return [Wx::HtmlCell]
299
+ # @return [Wx::HTML::HtmlCell]
300
300
  def get_html_cell; end
301
301
  alias_method :html_cell, :get_html_cell
302
302
 
@@ -319,13 +319,13 @@ module Wx::HTML
319
319
 
320
320
  # Constructor.
321
321
  # parent is pointer to parent container or NULL.
322
- # @param parent [Wx::HtmlContainerCell]
323
- # @return [HtmlContainerCell]
322
+ # @param parent [Wx::HTML::HtmlContainerCell]
323
+ # @return [Wx::HTML::HtmlContainerCell]
324
324
  def initialize(parent) end
325
325
 
326
326
  # Detach a child cell.
327
327
  # Detaching a cell removes it from this container and allows reattaching it to another one by using {Wx::HTML::HtmlContainerCell#insert_cell}. Alternatively, this method can be used to selectively remove some elements of the HTML document tree by deleting the cell after calling it.
328
- # @param cell [Wx::HtmlCell] Must be non-null and an immediate child of this cell.
328
+ # @param cell [Wx::HTML::HtmlCell] Must be non-null and an immediate child of this cell.
329
329
  # @return [void]
330
330
  def detach(cell) end
331
331
 
@@ -360,7 +360,7 @@ module Wx::HTML
360
360
 
361
361
  # Inserts a new cell into the container.
362
362
  # Note that the container takes ownership of the cell and will delete it when it itself is destroyed.
363
- # @param cell [Wx::HtmlCell]
363
+ # @param cell [Wx::HTML::HtmlCell]
364
364
  # @return [void]
365
365
  def insert_cell(cell) end
366
366
 
@@ -374,7 +374,11 @@ module Wx::HTML
374
374
  # Sets the container's horizontal alignment.
375
375
  # During {Wx::HTML::HtmlCell#layout} each line is aligned according to al value.
376
376
  # @param al [Integer] new horizontal alignment. May be one of these values:
377
- # - {Wx::HTML::HTML_ALIGN_LEFT}: lines are left-aligned (default)- {Wx::HTML::HTML_ALIGN_JUSTIFY}: lines are justified- {Wx::HTML::HTML_ALIGN_CENTER}: lines are centered- {Wx::HTML::HTML_ALIGN_RIGHT}: lines are right-aligned
377
+ #
378
+ # - {Wx::HTML::HTML_ALIGN_LEFT}: lines are left-aligned (default)
379
+ # - {Wx::HTML::HTML_ALIGN_JUSTIFY}: lines are justified
380
+ # - {Wx::HTML::HTML_ALIGN_CENTER}: lines are centered
381
+ # - {Wx::HTML::HTML_ALIGN_RIGHT}: lines are right-aligned
378
382
  # @return [void]
379
383
  def set_align_hor(al) end
380
384
  alias_method :align_hor=, :set_align_hor
@@ -382,7 +386,10 @@ module Wx::HTML
382
386
  # Sets the container's vertical alignment.
383
387
  # This is per-line alignment!
384
388
  # @param al [Integer] new vertical alignment. May be one of these values:
385
- # - {Wx::HTML::HTML_ALIGN_BOTTOM}: cells are over the line (default)- {Wx::HTML::HTML_ALIGN_CENTER}: cells are centered on line- {Wx::HTML::HTML_ALIGN_TOP}: cells are under the line
389
+ #
390
+ # - {Wx::HTML::HTML_ALIGN_BOTTOM}: cells are over the line (default)
391
+ # - {Wx::HTML::HTML_ALIGN_CENTER}: cells are centered on line
392
+ # - {Wx::HTML::HTML_ALIGN_TOP}: cells are under the line
386
393
  # @return [void]
387
394
  def set_align_ver(al) end
388
395
  alias_method :align_ver=, :set_align_ver
@@ -404,9 +411,18 @@ module Wx::HTML
404
411
  # Sets the indentation (free space between borders of container and subcells).
405
412
  # @param i [Integer] Indentation value.
406
413
  # @param what [Integer] Determines which of the four borders we're setting. It is OR combination of following constants:
407
- # - {Wx::HTML::HTML_INDENT_TOP}: top border- {Wx::HTML::HTML_INDENT_BOTTOM}: bottom- {Wx::HTML::HTML_INDENT_LEFT}: left- {Wx::HTML::HTML_INDENT_RIGHT}: right- {Wx::HTML::HTML_INDENT_HORIZONTAL}: left and right- {Wx::HTML::HTML_INDENT_VERTICAL}: top and bottom- {Wx::HTML::HTML_INDENT_ALL}: all 4 borders
414
+ #
415
+ # - {Wx::HTML::HTML_INDENT_TOP}: top border
416
+ # - {Wx::HTML::HTML_INDENT_BOTTOM}: bottom
417
+ # - {Wx::HTML::HTML_INDENT_LEFT}: left
418
+ # - {Wx::HTML::HTML_INDENT_RIGHT}: right
419
+ # - {Wx::HTML::HTML_INDENT_HORIZONTAL}: left and right
420
+ # - {Wx::HTML::HTML_INDENT_VERTICAL}: top and bottom
421
+ # - {Wx::HTML::HTML_INDENT_ALL}: all 4 borders
408
422
  # @param units [Integer] Units of i. This parameter affects interpretation of value.
409
- # - {Wx::HTML::HTML_UNITS_PIXELS}: i is number of pixels- {Wx::HTML::HTML_UNITS_PERCENT}: i is interpreted as percents of width of parent container
423
+ #
424
+ # - {Wx::HTML::HTML_UNITS_PIXELS}: i is number of pixels
425
+ # - {Wx::HTML::HTML_UNITS_PERCENT}: i is interpreted as percents of width of parent container
410
426
  # @return [void]
411
427
  def set_indent(i, what, units=Wx::HTML::HTML_UNITS_PIXELS) end
412
428
 
@@ -427,7 +443,9 @@ module Wx::HTML
427
443
  # ```
428
444
  # sets the width of container to parent's width minus 50 pixels. This is useful when creating tables - you can call SetWidthFloat(50) and SetWidthFloat(-50).
429
445
  # @param units [Integer] Units of w This parameter affects the interpretation of value.
430
- # - {Wx::HTML::HTML_UNITS_PIXELS}: w is number of pixels- {Wx::HTML::HTML_UNITS_PERCENT}: w is interpreted as percents of width of parent container
446
+ #
447
+ # - {Wx::HTML::HTML_UNITS_PIXELS}: w is number of pixels
448
+ # - {Wx::HTML::HTML_UNITS_PERCENT}: w is interpreted as percents of width of parent container
431
449
  # @return [void]
432
450
  # @overload set_width_float(tag, pixel_scale=1.0)
433
451
  # Sets floating width adjustment.
@@ -11,7 +11,9 @@ module Wx::HTML
11
11
  #
12
12
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::HTML::HtmlCellEvent} events.
13
13
  # Event handler methods:
14
+ #
14
15
  # - {Wx::EvtHandler#evt_html_cell_hover}(id, meth = nil, &block): User moved the mouse over a {Wx::HTML::HtmlCell}.
16
+ #
15
17
  # - {Wx::EvtHandler#evt_html_cell_clicked}(id, meth = nil, &block): User clicked on a {Wx::HTML::HtmlCell}. When handling this event, remember to use {Wx::HTML::HtmlCell#set_link_clicked(true)} if the cell contains a link.
16
18
  #
17
19
  # ===
@@ -21,12 +23,12 @@ module Wx::HTML
21
23
  class HtmlCellEvent < CommandEvent
22
24
 
23
25
  # The constructor is not normally used by the user code.
24
- # @param commandType [Integer]
26
+ # @param commandType [Wx::AUI::AuiMDIChildFrame::EventType]
25
27
  # @param id [Integer]
26
- # @param cell [Wx::HtmlCell]
28
+ # @param cell [Wx::HTML::HtmlCell]
27
29
  # @param point [Array(Integer, Integer), Wx::Point]
28
30
  # @param ev [Wx::MouseEvent]
29
- # @return [HtmlCellEvent]
31
+ # @return [Wx::HTML::HtmlCellEvent]
30
32
  def initialize(commandType, id, cell, point, ev) end
31
33
 
32
34
  # Returns the {Wx::HTML::HtmlCellEvent} associated with the event.
@@ -53,7 +53,7 @@ module Wx::HTML
53
53
  # Constructor.
54
54
  # @param name [String] Name of the printing object. Used by preview frames and setup dialogs.
55
55
  # @param parentWindow [Wx::Window] pointer to the window that will own the preview frame and setup dialogs. May be NULL.
56
- # @return [HtmlEasyPrinting]
56
+ # @return [Wx::HTML::HtmlEasyPrinting]
57
57
  def initialize(name=("Printing"), parentWindow=nil) end
58
58
 
59
59
  # Returns the current name being used for preview frames and setup dialogs.
@@ -63,7 +63,7 @@ module Wx::HTML
63
63
 
64
64
  # Returns a pointer to {Wx::PRT::PageSetupDialogData} instance used by this class.
65
65
  # You can set its parameters (via SetXXXX methods).
66
- # @return [Wx::PageSetupDialogData]
66
+ # @return [Wx::PRT::PageSetupDialogData]
67
67
  def get_page_setup_data; end
68
68
  alias_method :page_setup_data, :get_page_setup_data
69
69
 
@@ -74,7 +74,7 @@ module Wx::HTML
74
74
 
75
75
  # Returns pointer to {Wx::PRT::PrintData} instance used by this class.
76
76
  # You can set its parameters (via SetXXXX methods).
77
- # @return [Wx::PrintData]
77
+ # @return [Wx::PRT::PrintData]
78
78
  def get_print_data; end
79
79
  alias_method :print_data, :get_print_data
80
80
 
@@ -142,7 +142,12 @@ module Wx::HTML
142
142
 
143
143
  # Set page header.
144
144
  # The following macros can be used inside it:
145
- # - @DATE@ is replaced by the current date in default format- @PAGENUM@ is replaced by page number- @PAGESCNT@ is replaced by total number of pages- @TIME@ is replaced by the current time in default format- @TITLE@ is replaced with the title of the document
145
+ #
146
+ # - @DATE@ is replaced by the current date in default format
147
+ # - @PAGENUM@ is replaced by page number
148
+ # - @PAGESCNT@ is replaced by total number of pages
149
+ # - @TIME@ is replaced by the current time in default format
150
+ # - @TITLE@ is replaced with the title of the document
146
151
  # @param header [String] HTML text to be used as header.
147
152
  # @param pg [Integer] one of {Wx::HTML::PAGE_ODD}, {Wx::HTML::PAGE_EVEN} and {Wx::HTML::PAGE_ALL} constants.
148
153
  # @return [void]
@@ -60,13 +60,30 @@ module Wx::HTML
60
60
  # @overload initialize(style=Wx::HTML::HF_DEFAULT_STYLE, parentWindow=nil)
61
61
  # Constructor.
62
62
  # @param style [Integer] This is a combination of these flags:
63
- # - {Wx::HTML::HF_TOOLBAR}: The help window has a toolbar.- {Wx::HTML::HF_FLAT_TOOLBAR}: The help window has a toolbar with flat buttons (aka coolbar).- {Wx::HTML::HF_CONTENTS}: The help window has a contents panel.- {Wx::HTML::HF_INDEX}: The help window has an index panel.- {Wx::HTML::HF_SEARCH}: The help window has a search panel.- {Wx::HTML::HF_BOOKMARKS}: The help window has bookmarks controls.- {Wx::HTML::HF_OPEN_FILES}: Allows user to open arbitrary HTML document.- {Wx::HTML::HF_PRINT}: The toolbar contains "print" button.- {Wx::HTML::HF_MERGE_BOOKS}: The contents pane does not show book nodes. All books are merged together and appear as single book to the user.- {Wx::HTML::HF_ICONS_BOOK}: All nodes in contents pane have a book icon. This is how Microsoft's HTML help viewer behaves.- {Wx::HTML::HF_ICONS_FOLDER}: Book nodes in contents pane have a book icon, book's sections have a folder icon. This is the default.- {Wx::HTML::HF_ICONS_BOOK_CHAPTER}: Both book nodes and nodes of top-level sections of a book (i.e. chapters) have a book icon, all other sections (sections, subsections, ...) have a folder icon.- {Wx::HTML::HF_EMBEDDED}: Specifies that the help controller controls an embedded window of class {Wx::HTML::HtmlHelpWindow} that should not be destroyed when the controller is destroyed.- {Wx::HTML::HF_DIALOG}: Specifies that the help controller should create a dialog containing the help window.- {Wx::HTML::HF_FRAME}: Specifies that the help controller should create a frame containing the help window. This is the default if neither {Wx::HTML::HF_DIALOG} nor {Wx::HTML::HF_EMBEDDED} is specified.- {Wx::HTML::HF_MODAL}: Specifies that the help controller should create a modal dialog containing the help window (used with the {Wx::HTML::HF_DIALOG} style).- {Wx::HTML::HF_DEFAULT_STYLE}: {Wx::HTML::HF_TOOLBAR} | {Wx::HTML::HF_CONTENTS} | {Wx::HTML::HF_INDEX} | {Wx::HTML::HF_SEARCH} | {Wx::HTML::HF_BOOKMARKS} | {Wx::HTML::HF_PRINT}
63
+ #
64
+ # - {Wx::HTML::HF_TOOLBAR}: The help window has a toolbar.
65
+ # - {Wx::HTML::HF_FLAT_TOOLBAR}: The help window has a toolbar with flat buttons (aka coolbar).
66
+ # - {Wx::HTML::HF_CONTENTS}: The help window has a contents panel.
67
+ # - {Wx::HTML::HF_INDEX}: The help window has an index panel.
68
+ # - {Wx::HTML::HF_SEARCH}: The help window has a search panel.
69
+ # - {Wx::HTML::HF_BOOKMARKS}: The help window has bookmarks controls.
70
+ # - {Wx::HTML::HF_OPEN_FILES}: Allows user to open arbitrary HTML document.
71
+ # - {Wx::HTML::HF_PRINT}: The toolbar contains "print" button.
72
+ # - {Wx::HTML::HF_MERGE_BOOKS}: The contents pane does not show book nodes. All books are merged together and appear as single book to the user.
73
+ # - {Wx::HTML::HF_ICONS_BOOK}: All nodes in contents pane have a book icon. This is how Microsoft's HTML help viewer behaves.
74
+ # - {Wx::HTML::HF_ICONS_FOLDER}: Book nodes in contents pane have a book icon, book's sections have a folder icon. This is the default.
75
+ # - {Wx::HTML::HF_ICONS_BOOK_CHAPTER}: Both book nodes and nodes of top-level sections of a book (i.e. chapters) have a book icon, all other sections (sections, subsections, ...) have a folder icon.
76
+ # - {Wx::HTML::HF_EMBEDDED}: Specifies that the help controller controls an embedded window of class {Wx::HTML::HtmlHelpWindow} that should not be destroyed when the controller is destroyed.
77
+ # - {Wx::HTML::HF_DIALOG}: Specifies that the help controller should create a dialog containing the help window.
78
+ # - {Wx::HTML::HF_FRAME}: Specifies that the help controller should create a frame containing the help window. This is the default if neither {Wx::HTML::HF_DIALOG} nor {Wx::HTML::HF_EMBEDDED} is specified.
79
+ # - {Wx::HTML::HF_MODAL}: Specifies that the help controller should create a modal dialog containing the help window (used with the {Wx::HTML::HF_DIALOG} style).
80
+ # - {Wx::HTML::HF_DEFAULT_STYLE}: {Wx::HTML::HF_TOOLBAR} | {Wx::HTML::HF_CONTENTS} | {Wx::HTML::HF_INDEX} | {Wx::HTML::HF_SEARCH} | {Wx::HTML::HF_BOOKMARKS} | {Wx::HTML::HF_PRINT}
64
81
  # @param parentWindow [Wx::Window] This is an optional window to be used as the parent for the help window.
65
- # @return [HtmlHelpController]
82
+ # @return [Wx::HTML::HtmlHelpController]
66
83
  # @overload initialize(parentWindow, style=Wx::HTML::HF_DEFAULT_STYLE)
67
84
  # @param parentWindow [Wx::Window]
68
85
  # @param style [Integer]
69
- # @return [HtmlHelpController]
86
+ # @return [Wx::HTML::HtmlHelpController]
70
87
  def initialize(*args) end
71
88
 
72
89
  # @overload add_book(bookFile, showWaitMsg=false)
@@ -92,10 +109,19 @@ module Wx::HTML
92
109
  # @overload display(x)
93
110
  # Displays page x.
94
111
  # This is THE important function - it is used to display the help in application. You can specify the page in many ways:
95
- # - as direct filename of HTML document- as chapter name (from contents) or as a book name- as some word from index- even as any word (will be searched)
112
+ #
113
+ # - as direct filename of HTML document
114
+ # - as chapter name (from contents) or as a book name
115
+ # - as some word from index
116
+ # - even as any word (will be searched)
96
117
  #
97
118
  # Looking for the page runs in these steps:
98
- # - try to locate file named x (if x is for example "doc/howto.htm")- try to open starting page of book named x- try to find x in contents (if x is for example "How To ...")- try to find x in index (if x is for example "How To ...")- switch to Search panel and start searching
119
+ #
120
+ # - try to locate file named x (if x is for example "doc/howto.htm")
121
+ # - try to open starting page of book named x
122
+ # - try to find x in contents (if x is for example "How To ...")
123
+ # - try to find x in index (if x is for example "How To ...")
124
+ # - switch to Search panel and start searching
99
125
  # @param x [String]
100
126
  # @return [true,false]
101
127
  # @overload display(id)
@@ -165,20 +191,20 @@ module Wx::HTML
165
191
  def write_customization(cfg, path=('')) end
166
192
 
167
193
  # Get the current help window.
168
- # @return [Wx::HtmlHelpWindow]
194
+ # @return [Wx::HTML::HtmlHelpWindow]
169
195
  def get_help_window; end
170
196
  alias_method :help_window, :get_help_window
171
197
 
172
198
  # Set the help window to be managed by this controller.
173
199
  # This makes it possible to have a help window that might not be in a {Wx::HTML::HtmlHelpFrame} or dialog but is embedded in some other window in the application. Be sure to use the {Wx::HTML::HF_EMBEDDED} style in this case.
174
- # @param helpWindow [Wx::HtmlHelpWindow]
200
+ # @param helpWindow [Wx::HTML::HtmlHelpWindow]
175
201
  # @return [void]
176
202
  def set_help_window(helpWindow) end
177
203
  alias_method :help_window=, :set_help_window
178
204
 
179
205
  # Returns the current help frame.
180
206
  # (May be NULL.)
181
- # @return [Wx::HtmlHelpFrame]
207
+ # @return [Wx::HTML::HtmlHelpFrame]
182
208
  def get_frame; end
183
209
  alias_method :frame, :get_frame
184
210
 
@@ -15,7 +15,7 @@ module Wx::HTML
15
15
  class HtmlHelpData < Object
16
16
 
17
17
  # Constructor.
18
- # @return [HtmlHelpData]
18
+ # @return [Wx::HTML::HtmlHelpData]
19
19
  def initialize; end
20
20
 
21
21
  # Adds new book.
@@ -70,7 +70,7 @@ module Wx::HTML
70
70
  # @param basepath [String]
71
71
  # @param title [String]
72
72
  # @param start [String]
73
- # @return [HtmlBookRecord]
73
+ # @return [Wx::HTML::HtmlBookRecord]
74
74
  def initialize(bookfile, basepath, title, start) end
75
75
 
76
76
  # @return [String]
@@ -131,7 +131,7 @@ module Wx::HTML
131
131
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
132
132
  class HtmlHelpDataItem < ::Object
133
133
 
134
- # @return [HtmlHelpDataItem]
134
+ # @return [Wx::HTML::HtmlHelpDataItem]
135
135
  def initialize; end
136
136
 
137
137
  # @return [String]
@@ -54,8 +54,8 @@ module Wx::HTML
54
54
  class HtmlHelpFrame < Frame
55
55
 
56
56
  # @overload initialize(data=nil)
57
- # @param data [Wx::HtmlHelpData]
58
- # @return [HtmlHelpFrame]
57
+ # @param data [Wx::HTML::HtmlHelpData]
58
+ # @return [Wx::HTML::HtmlHelpFrame]
59
59
  # @overload initialize(parent, id, title=(''), style=Wx::HTML::HF_DEFAULT_STYLE, data=nil, config=nil, rootpath=(''))
60
60
  # Constructor.
61
61
  # For the possible values of style, please see {Wx::HTML::HtmlHelpController}.
@@ -63,10 +63,10 @@ module Wx::HTML
63
63
  # @param id [Integer]
64
64
  # @param title [String]
65
65
  # @param style [Integer]
66
- # @param data [Wx::HtmlHelpData]
66
+ # @param data [Wx::HTML::HtmlHelpData]
67
67
  # @param config [Wx::ConfigBase]
68
68
  # @param rootpath [String]
69
- # @return [HtmlHelpFrame]
69
+ # @return [Wx::HTML::HtmlHelpFrame]
70
70
  def initialize(*args) end
71
71
 
72
72
  # You may override this virtual method to add more buttons to the help window's toolbar.
@@ -89,12 +89,12 @@ module Wx::HTML
89
89
  def create(parent, id, title=(''), style=Wx::HTML::HF_DEFAULT_STYLE, config=nil, rootpath=('')) end
90
90
 
91
91
  # Returns the help controller associated with the frame.
92
- # @return [Wx::HtmlHelpController]
92
+ # @return [Wx::HTML::HtmlHelpController]
93
93
  def get_controller; end
94
94
  alias_method :controller, :get_controller
95
95
 
96
96
  # Sets the help controller associated with the frame.
97
- # @param controller [Wx::HtmlHelpController]
97
+ # @param controller [Wx::HTML::HtmlHelpController]
98
98
  # @return [void]
99
99
  def set_controller(controller) end
100
100
  alias_method :controller=, :set_controller
@@ -129,8 +129,8 @@ module Wx::HTML
129
129
  class HtmlHelpWindow < Window
130
130
 
131
131
  # @overload initialize(data=nil)
132
- # @param data [Wx::HtmlHelpData]
133
- # @return [HtmlHelpWindow]
132
+ # @param data [Wx::HTML::HtmlHelpData]
133
+ # @return [Wx::HTML::HtmlHelpWindow]
134
134
  # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::TAB_TRAVERSAL|Wx::Border::BORDER_NONE), helpStyle=Wx::HTML::HF_DEFAULT_STYLE, data=nil)
135
135
  # Constructor.
136
136
  # For the values of helpStyle, please see the documentation for {Wx::HTML::HtmlHelpController}.
@@ -140,8 +140,8 @@ module Wx::HTML
140
140
  # @param size [Array(Integer, Integer), Wx::Size]
141
141
  # @param style [Integer]
142
142
  # @param helpStyle [Integer]
143
- # @param data [Wx::HtmlHelpData]
144
- # @return [HtmlHelpWindow]
143
+ # @param data [Wx::HTML::HtmlHelpData]
144
+ # @return [Wx::HTML::HtmlHelpWindow]
145
145
  def initialize(*args) end
146
146
 
147
147
  # Creates the help window.
@@ -158,7 +158,11 @@ module Wx::HTML
158
158
  # @overload display(x)
159
159
  # Displays page x.
160
160
  # If not found it will give the user the choice of searching books. Looking for the page runs in these steps:
161
- # - try to locate file named x (if x is for example "doc/howto.htm")- try to open starting page of book x- try to find x in contents (if x is for example "How To ...")- try to find x in index (if x is for example "How To ...")
161
+ #
162
+ # - try to locate file named x (if x is for example "doc/howto.htm")
163
+ # - try to open starting page of book x
164
+ # - try to find x in contents (if x is for example "How To ...")
165
+ # - try to find x in index (if x is for example "How To ...")
162
166
  # @param x [String]
163
167
  # @return [true,false]
164
168
  # @overload display(id)
@@ -177,7 +181,7 @@ module Wx::HTML
177
181
  def display_index; end
178
182
 
179
183
  # Returns the {Wx::HTML::HtmlHelpData} object, which is usually a pointer to the controller's data.
180
- # @return [Wx::HtmlHelpData]
184
+ # @return [Wx::HTML::HtmlHelpData]
181
185
  def get_data; end
182
186
  alias_method :data, :get_data
183
187
 
@@ -216,11 +220,11 @@ module Wx::HTML
216
220
  # @return [void]
217
221
  def refresh_lists; end
218
222
 
219
- # @return [Wx::HtmlHelpController]
223
+ # @return [Wx::HTML::HtmlHelpController]
220
224
  def get_controller; end
221
225
  alias_method :controller, :get_controller
222
226
 
223
- # @param controller [Wx::HtmlHelpController]
227
+ # @param controller [Wx::HTML::HtmlHelpController]
224
228
  # @return [void]
225
229
  def set_controller(controller) end
226
230
  alias_method :controller=, :set_controller
@@ -11,6 +11,7 @@ module Wx::HTML
11
11
  #
12
12
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::HTML::HtmlLinkEvent} events.
13
13
  # Event handler methods:
14
+ #
14
15
  # - {Wx::EvtHandler#evt_html_link_clicked}(id, meth = nil, &block): User clicked on a hyperlink.
15
16
  #
16
17
  # ===
@@ -21,12 +22,12 @@ module Wx::HTML
21
22
 
22
23
  # The constructor is not normally used by the user code.
23
24
  # @param id [Integer]
24
- # @param linkinfo [Wx::HtmlLinkInfo]
25
- # @return [HtmlLinkEvent]
25
+ # @param linkinfo [Wx::HTML::HtmlLinkInfo]
26
+ # @return [Wx::HTML::HtmlLinkEvent]
26
27
  def initialize(id, linkinfo) end
27
28
 
28
29
  # Returns the {Wx::HTML::HtmlLinkInfo} which contains info about the cell clicked and the hyperlink it contains.
29
- # @return [Wx::HtmlLinkInfo]
30
+ # @return [Wx::HTML::HtmlLinkInfo]
30
31
  def get_link_info; end
31
32
  alias_method :link_info, :get_link_info
32
33
 
@@ -18,8 +18,11 @@ module Wx::HTML
18
18
  #
19
19
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::HTML::HtmlLinkEvent} events.
20
20
  # Event handler methods for events emitted by this class:
21
+ #
21
22
  # - {Wx::EvtHandler#evt_html_cell_clicked}(id, meth = nil, &block): A {Wx::HTML::HtmlCell} was clicked.
23
+ #
22
24
  # - {Wx::EvtHandler#evt_html_cell_hover}(id, meth = nil, &block): The mouse passed over a {Wx::HTML::HtmlCell}.
25
+ #
23
26
  # - {Wx::EvtHandler#evt_html_link_clicked}(id, meth = nil, &block): A {Wx::HTML::HtmlCell} which contains a hyperlink was clicked.
24
27
  #
25
28
  # ===
@@ -38,10 +41,10 @@ module Wx::HTML
38
41
  # @param size [Array(Integer, Integer), Wx::Size]
39
42
  # @param style [Integer]
40
43
  # @param name [String]
41
- # @return [HtmlListBox]
44
+ # @return [Wx::HTML::HtmlListBox]
42
45
  # @overload initialize()
43
46
  # Default constructor, you must call {Wx::HTML::HtmlListBox#create} later.
44
- # @return [HtmlListBox]
47
+ # @return [Wx::HTML::HtmlListBox]
45
48
  def initialize(*args) end
46
49
 
47
50
  # Creates the control and optionally sets the initial number of items in it (it may also be set or changed later with {Wx::VListBox#set_item_count}).
@@ -63,7 +66,7 @@ module Wx::HTML
63
66
  # Does nothing by default. Overloading this method is deprecated; intercept the event instead.
64
67
  # @see Wx::HTML::HtmlLinkInfo.
65
68
  # @param n [Integer] Index of the item containing the link.
66
- # @param link [Wx::HtmlLinkInfo] Description of the link.
69
+ # @param link [Wx::HTML::HtmlLinkInfo] Description of the link.
67
70
  # @return [void]
68
71
  def on_link_clicked(n, link) end
69
72
 
@@ -107,19 +110,24 @@ module Wx::HTML
107
110
  # === Styles
108
111
  #
109
112
  # This class supports the following styles:
110
- #
113
+ #
111
114
  # - {Wx::HTML::HLB_DEFAULT_STYLE}: The default style: {Wx::Border::BORDER_SUNKEN}
115
+ #
112
116
  # - {Wx::HTML::HLB_MULTIPLE}: Multiple-selection list: the user can toggle multiple items on and off.
113
117
  #
114
118
  # A {Wx::HTML::SimpleHtmlListBox} emits the same events used by {Wx::ListBox} and by {Wx::HTML::HtmlListBox}.
115
119
  # === Events emitted by this class
116
120
  #
117
121
  # Event handler methods for events emitted by this class:
118
- #
122
+ #
119
123
  # - {Wx::EvtHandler#evt_listbox}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX} event, when an item on the list is selected. See {Wx::CommandEvent}.
124
+ #
120
125
  # - {Wx::EvtHandler#evt_listbox_dclick}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX_DCLICK} event, when the listbox is double-clicked. See {Wx::CommandEvent}.
126
+ #
121
127
  # - {Wx::EvtHandler#evt_html_cell_clicked}(id, meth = nil, &block): A {Wx::HTML::HtmlCell} was clicked. See {Wx::HTML::HtmlCellEvent}.
128
+ #
122
129
  # - {Wx::EvtHandler#evt_html_cell_hover}(id, meth = nil, &block): The mouse passed over a {Wx::HTML::HtmlCell}. See {Wx::HTML::HtmlCellEvent}.
130
+ #
123
131
  # - {Wx::EvtHandler#evt_html_link_clicked}(id, meth = nil, &block): A {Wx::HTML::HtmlCell} which contains a hyperlink was clicked. See {Wx::HTML::HtmlLinkEvent}
124
132
  #
125
133
  # ===
@@ -167,10 +175,10 @@ module Wx::HTML
167
175
  # @param style [Integer] Window style. See {Wx::HLB_}* flags.
168
176
  # @param validator [Wx::Validator] Window validator.
169
177
  # @param name [String] Window name.
170
- # @return [SimpleHtmlListBox]
178
+ # @return [Wx::HTML::SimpleHtmlListBox]
171
179
  # @overload initialize()
172
180
  # Default constructor, you must call {Wx::HTML::SimpleHtmlListBox#create} later.
173
- # @return [SimpleHtmlListBox]
181
+ # @return [Wx::HTML::SimpleHtmlListBox]
174
182
  def initialize(*args) end
175
183
 
176
184
  # @overload append(item)
@@ -15,7 +15,7 @@ module Wx::HTML
15
15
 
16
16
  # Constructor.
17
17
  # @param title [String]
18
- # @return [HtmlPrintout]
18
+ # @return [Wx::HTML::HtmlPrintout]
19
19
  def initialize(title=("Wx::PRT::Printout")) end
20
20
 
21
21
  # This function sets font sizes and faces.
@@ -28,7 +28,12 @@ module Wx::HTML
28
28
 
29
29
  # Set page footer.
30
30
  # The following macros can be used inside it:
31
- # - @DATE@ is replaced by the current date in default format- @PAGENUM@ is replaced by page number- @PAGESCNT@ is replaced by total number of pages- @TIME@ is replaced by the current time in default format- @TITLE@ is replaced with the title of the document
31
+ #
32
+ # - @DATE@ is replaced by the current date in default format
33
+ # - @PAGENUM@ is replaced by page number
34
+ # - @PAGESCNT@ is replaced by total number of pages
35
+ # - @TIME@ is replaced by the current time in default format
36
+ # - @TITLE@ is replaced with the title of the document
32
37
  # @param footer [String] HTML text to be used as footer.
33
38
  # @param pg [Integer] one of {Wx::HTML::PAGE_ODD}, {Wx::HTML::PAGE_EVEN} and {Wx::HTML::PAGE_ALL} constants.
34
39
  # @return [void]
@@ -37,7 +42,12 @@ module Wx::HTML
37
42
 
38
43
  # Set page header.
39
44
  # The following macros can be used inside it:
40
- # - @DATE@ is replaced by the current date in default format- @PAGENUM@ is replaced by page number- @PAGESCNT@ is replaced by total number of pages- @TIME@ is replaced by the current time in default format- @TITLE@ is replaced with the title of the document
45
+ #
46
+ # - @DATE@ is replaced by the current date in default format
47
+ # - @PAGENUM@ is replaced by page number
48
+ # - @PAGESCNT@ is replaced by total number of pages
49
+ # - @TIME@ is replaced by the current time in default format
50
+ # - @TITLE@ is replaced with the title of the document
41
51
  # @param header [String] HTML text to be used as header.
42
52
  # @param pg [Integer] one of {Wx::HTML::PAGE_ODD}, {Wx::HTML::PAGE_EVEN} and {Wx::HTML::PAGE_ALL} constants.
43
53
  # @return [void]
@@ -70,14 +80,14 @@ module Wx::HTML
70
80
  # @return [void]
71
81
  # @overload set_margins(pageSetupData)
72
82
  # Sets margins from {Wx::PRT::PageSetupDialogData}.
73
- # @param pageSetupData [Wx::PageSetupDialogData]
83
+ # @param pageSetupData [Wx::PRT::PageSetupDialogData]
74
84
  # @return [void]
75
85
  def set_margins(*args) end
76
86
  alias_method :margins=, :set_margins
77
87
 
78
88
  # Adds a filter to the static list of filters for {Wx::HTML::HtmlPrintout}.
79
89
  # See {Wx::HTML::HtmlFilter} for further information.
80
- # @param filter [Wx::HtmlFilter]
90
+ # @param filter [Wx::HTML::HtmlFilter]
81
91
  # @return [void]
82
92
  def self.add_filter(filter) end
83
93