wxruby3 0.9.0.pre.rc.2-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 (341) hide show
  1. checksums.yaml +4 -4
  2. data/INSTALL.md +30 -8
  3. data/README.md +3 -3
  4. data/ext/wxbase32u_gcc_custom.dll +0 -0
  5. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  6. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  7. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  19. data/lib/wx/core/event_loop.rb +7 -0
  20. data/lib/wx/core/image.rb +33 -0
  21. data/lib/wx/core/listctrl.rb +17 -13
  22. data/lib/wx/core/log.rb +90 -0
  23. data/lib/wx/doc/bitmap.rb +11 -15
  24. data/lib/wx/doc/event_loop.rb +7 -0
  25. data/lib/wx/doc/extra/00_starting.md +6 -6
  26. data/lib/wx/doc/extra/02_lifecycles.md +9 -8
  27. data/lib/wx/doc/extra/09_exceptions.md +1 -1
  28. data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
  29. data/lib/wx/doc/font.rb +1 -1
  30. data/lib/wx/doc/functions.rb +51 -23
  31. data/lib/wx/doc/gc_dc.rb +1 -1
  32. data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
  33. data/lib/wx/doc/gen/accelerator.rb +6 -6
  34. data/lib/wx/doc/gen/accessible.rb +6 -2
  35. data/lib/wx/doc/gen/activity_indicator.rb +5 -5
  36. data/lib/wx/doc/gen/animation.rb +7 -7
  37. data/lib/wx/doc/gen/animation_ctrl.rb +7 -6
  38. data/lib/wx/doc/gen/any_button.rb +1 -1
  39. data/lib/wx/doc/gen/app.rb +17 -11
  40. data/lib/wx/doc/gen/art_provider.rb +61 -1
  41. data/lib/wx/doc/gen/aui/aui_dock_art.rb +12 -12
  42. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +6 -6
  43. data/lib/wx/doc/gen/aui/aui_manager.rb +45 -27
  44. data/lib/wx/doc/gen/aui/aui_manager_event.rb +12 -6
  45. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +6 -6
  46. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +6 -6
  47. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +10 -10
  48. data/lib/wx/doc/gen/aui/aui_notebook.rb +34 -7
  49. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +17 -2
  50. data/lib/wx/doc/gen/aui/aui_pane_info.rb +51 -51
  51. data/lib/wx/doc/gen/aui/aui_tab_art.rb +6 -6
  52. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +33 -18
  53. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +16 -16
  54. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +4 -4
  55. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +4 -4
  56. data/lib/wx/doc/gen/bitmap.rb +32 -26
  57. data/lib/wx/doc/gen/bitmap_button.rb +10 -6
  58. data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -7
  59. data/lib/wx/doc/gen/book_ctrl_base.rb +7 -3
  60. data/lib/wx/doc/gen/book_ctrl_event.rb +2 -2
  61. data/lib/wx/doc/gen/box_sizer.rb +1 -1
  62. data/lib/wx/doc/gen/brush.rb +16 -4
  63. data/lib/wx/doc/gen/busy_info.rb +1 -1
  64. data/lib/wx/doc/gen/button.rb +19 -7
  65. data/lib/wx/doc/gen/calculate_layout_event.rb +2 -1
  66. data/lib/wx/doc/gen/calendar_ctrl.rb +28 -16
  67. data/lib/wx/doc/gen/calendar_date_attr.rb +2 -2
  68. data/lib/wx/doc/gen/calendar_event.rb +3 -3
  69. data/lib/wx/doc/gen/caret.rb +2 -2
  70. data/lib/wx/doc/gen/check_box.rb +10 -6
  71. data/lib/wx/doc/gen/check_list_box.rb +8 -7
  72. data/lib/wx/doc/gen/choice.rb +7 -6
  73. data/lib/wx/doc/gen/choicebook.rb +12 -6
  74. data/lib/wx/doc/gen/client_dc.rb +1 -1
  75. data/lib/wx/doc/gen/clipboard.rb +1 -1
  76. data/lib/wx/doc/gen/collapsible_pane.rb +9 -6
  77. data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -1
  78. data/lib/wx/doc/gen/colour.rb +16 -6
  79. data/lib/wx/doc/gen/colour_dialog.rb +6 -6
  80. data/lib/wx/doc/gen/colour_picker_ctrl.rb +15 -9
  81. data/lib/wx/doc/gen/colour_picker_event.rb +7 -4
  82. data/lib/wx/doc/gen/combo_box.rb +22 -13
  83. data/lib/wx/doc/gen/context_help_button.rb +4 -3
  84. data/lib/wx/doc/gen/control.rb +9 -6
  85. data/lib/wx/doc/gen/core.rb +5 -2
  86. data/lib/wx/doc/gen/cursor.rb +16 -11
  87. data/lib/wx/doc/gen/data_format.rb +2 -2
  88. data/lib/wx/doc/gen/data_object.rb +23 -16
  89. data/lib/wx/doc/gen/date_event.rb +3 -3
  90. data/lib/wx/doc/gen/date_picker_ctrl.rb +11 -6
  91. data/lib/wx/doc/gen/dc.rb +37 -12
  92. data/lib/wx/doc/gen/defs.rb +16 -16
  93. data/lib/wx/doc/gen/dialog.rb +19 -5
  94. data/lib/wx/doc/gen/dir_dialog.rb +6 -2
  95. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
  96. data/lib/wx/doc/gen/dir_picker_ctrl.rb +14 -9
  97. data/lib/wx/doc/gen/drag_drop.rb +15 -15
  98. data/lib/wx/doc/gen/drag_image.rb +6 -6
  99. data/lib/wx/doc/gen/editable_list_box.rb +7 -3
  100. data/lib/wx/doc/gen/event.rb +44 -13
  101. data/lib/wx/doc/gen/event_blocker.rb +1 -1
  102. data/lib/wx/doc/gen/event_filter.rb +5 -2
  103. data/lib/wx/doc/gen/event_list.rb +15 -15
  104. data/lib/wx/doc/gen/events.rb +215 -79
  105. data/lib/wx/doc/gen/evt_handler.rb +1 -1
  106. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  107. data/lib/wx/doc/gen/file_dialog.rb +16 -7
  108. data/lib/wx/doc/gen/file_dir_picker_event.rb +5 -3
  109. data/lib/wx/doc/gen/file_picker_ctrl.rb +16 -8
  110. data/lib/wx/doc/gen/find_dialog_event.rb +7 -2
  111. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  112. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  113. data/lib/wx/doc/gen/flex_grid_sizer.rb +12 -6
  114. data/lib/wx/doc/gen/font.rb +30 -29
  115. data/lib/wx/doc/gen/font_data.rb +9 -5
  116. data/lib/wx/doc/gen/font_dialog.rb +3 -3
  117. data/lib/wx/doc/gen/font_picker_ctrl.rb +10 -6
  118. data/lib/wx/doc/gen/font_picker_event.rb +2 -1
  119. data/lib/wx/doc/gen/frame.rb +34 -11
  120. data/lib/wx/doc/gen/fs_file.rb +4 -17
  121. data/lib/wx/doc/gen/gauge.rb +11 -7
  122. data/lib/wx/doc/gen/gcdc.rb +5 -1
  123. data/lib/wx/doc/gen/gdi_common.rb +35 -33
  124. data/lib/wx/doc/gen/gdi_object.rb +1 -1
  125. data/lib/wx/doc/gen/generic_dir_ctrl.rb +13 -7
  126. data/lib/wx/doc/gen/graphics_context.rb +29 -28
  127. data/lib/wx/doc/gen/graphics_object.rb +1 -1
  128. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -2
  129. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +10 -10
  130. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -1
  131. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
  132. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -1
  133. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -1
  134. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +2 -2
  135. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
  136. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
  137. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  138. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +13 -10
  139. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  140. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  141. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
  142. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
  143. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -1
  144. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -1
  145. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +12 -12
  146. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -1
  147. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -1
  148. data/lib/wx/doc/gen/grid/grid_ctrl.rb +32 -18
  149. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +5 -3
  150. data/lib/wx/doc/gen/grid/grid_event.rb +20 -3
  151. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +7 -3
  152. data/lib/wx/doc/gen/grid/grid_size_event.rb +9 -3
  153. data/lib/wx/doc/gen/grid/grid_string_table.rb +2 -2
  154. data/lib/wx/doc/gen/grid/grid_table_base.rb +7 -7
  155. data/lib/wx/doc/gen/grid/grid_table_message.rb +5 -5
  156. data/lib/wx/doc/gen/grid_bag_sizer.rb +5 -5
  157. data/lib/wx/doc/gen/grid_sizer.rb +4 -4
  158. data/lib/wx/doc/gen/gui_event_loop.rb +132 -0
  159. data/lib/wx/doc/gen/help_controller.rb +18 -12
  160. data/lib/wx/doc/gen/html/html_cell.rb +36 -18
  161. data/lib/wx/doc/gen/html/html_cell_event.rb +5 -3
  162. data/lib/wx/doc/gen/html/html_easy_printing.rb +9 -4
  163. data/lib/wx/doc/gen/html/html_help_controller.rb +34 -8
  164. data/lib/wx/doc/gen/html/html_help_data.rb +3 -3
  165. data/lib/wx/doc/gen/html/html_help_frame.rb +6 -6
  166. data/lib/wx/doc/gen/html/html_help_window.rb +12 -8
  167. data/lib/wx/doc/gen/html/html_link_event.rb +4 -3
  168. data/lib/wx/doc/gen/html/html_list_box.rb +15 -7
  169. data/lib/wx/doc/gen/html/html_printout.rb +15 -5
  170. data/lib/wx/doc/gen/html/html_window.rb +19 -8
  171. data/lib/wx/doc/gen/hyperlink_ctrl.rb +12 -7
  172. data/lib/wx/doc/gen/hyperlink_event.rb +2 -1
  173. data/lib/wx/doc/gen/icon.rb +14 -14
  174. data/lib/wx/doc/gen/image.rb +119 -64
  175. data/lib/wx/doc/gen/image_list.rb +10 -6
  176. data/lib/wx/doc/gen/keyboard_state.rb +7 -7
  177. data/lib/wx/doc/gen/list_box.rb +30 -21
  178. data/lib/wx/doc/gen/list_ctrl.rb +169 -78
  179. data/lib/wx/doc/gen/list_event.rb +24 -2
  180. data/lib/wx/doc/gen/listbook.rb +12 -6
  181. data/lib/wx/doc/gen/locale.rb +11 -36
  182. data/lib/wx/doc/gen/log.rb +122 -45
  183. data/lib/wx/doc/gen/mdi_client_window.rb +2 -2
  184. data/lib/wx/doc/gen/mdi_frame.rb +15 -9
  185. data/lib/wx/doc/gen/media_ctrl.rb +7 -4
  186. data/lib/wx/doc/gen/media_event.rb +8 -2
  187. data/lib/wx/doc/gen/memory_dc.rb +23 -27
  188. data/lib/wx/doc/gen/menu.rb +9 -9
  189. data/lib/wx/doc/gen/menu_bar.rb +4 -4
  190. data/lib/wx/doc/gen/menu_item.rb +115 -34
  191. data/lib/wx/doc/gen/message_dialog.rb +48 -30
  192. data/lib/wx/doc/gen/mini_frame.rb +12 -3
  193. data/lib/wx/doc/gen/mouse_state.rb +1 -1
  194. data/lib/wx/doc/gen/multi_choice_dialog.rb +4 -2
  195. data/lib/wx/doc/gen/non_owned_window.rb +6 -7
  196. data/lib/wx/doc/gen/notebook.rb +20 -15
  197. data/lib/wx/doc/gen/number_entry_dialog.rb +2 -2
  198. data/lib/wx/doc/gen/object.rb +2 -2
  199. data/lib/wx/doc/gen/palette.rb +3 -3
  200. data/lib/wx/doc/gen/panel.rb +4 -3
  201. data/lib/wx/doc/gen/pen.rb +25 -12
  202. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +1 -1
  203. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +3 -3
  204. data/lib/wx/doc/gen/pg/pg_cell.rb +12 -12
  205. data/lib/wx/doc/gen/pg/pg_editor.rb +76 -74
  206. data/lib/wx/doc/gen/pg/pg_multi_button.rb +3 -3
  207. data/lib/wx/doc/gen/pg/pg_properties.rb +221 -138
  208. data/lib/wx/doc/gen/pg/pg_property.rb +103 -54
  209. data/lib/wx/doc/gen/pg/pg_validation_info.rb +1 -1
  210. data/lib/wx/doc/gen/pg/property_grid.rb +19 -19
  211. data/lib/wx/doc/gen/pg/property_grid_event.rb +18 -5
  212. data/lib/wx/doc/gen/pg/property_grid_interface.rb +36 -24
  213. data/lib/wx/doc/gen/pg/property_grid_manager.rb +12 -12
  214. data/lib/wx/doc/gen/pg/property_grid_page.rb +12 -11
  215. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +8 -8
  216. data/lib/wx/doc/gen/picker_base.rb +12 -11
  217. data/lib/wx/doc/gen/platform_info.rb +7 -7
  218. data/lib/wx/doc/gen/popup_window.rb +6 -6
  219. data/lib/wx/doc/gen/progress_dialog.rb +1 -1
  220. data/lib/wx/doc/gen/property_sheet_dialog.rb +19 -17
  221. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +2 -2
  222. data/lib/wx/doc/gen/prt/preview_frame.rb +4 -1
  223. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
  224. data/lib/wx/doc/gen/prt/print_data.rb +24 -18
  225. data/lib/wx/doc/gen/prt/print_dialog.rb +4 -4
  226. data/lib/wx/doc/gen/prt/printer.rb +22 -22
  227. data/lib/wx/doc/gen/query_layout_info_event.rb +2 -1
  228. data/lib/wx/doc/gen/radio_box.rb +12 -10
  229. data/lib/wx/doc/gen/radio_button.rb +8 -6
  230. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +39 -39
  231. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +25 -7
  232. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +5 -5
  233. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +9 -2
  234. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +5 -5
  235. data/lib/wx/doc/gen/rbn/ribbon_control.rb +4 -4
  236. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +6 -2
  237. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +5 -5
  238. data/lib/wx/doc/gen/rbn/ribbon_page.rb +5 -5
  239. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -6
  240. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +5 -5
  241. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +4 -2
  242. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +5 -5
  243. data/lib/wx/doc/gen/region.rb +9 -8
  244. data/lib/wx/doc/gen/region_iterator.rb +2 -2
  245. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +92 -92
  246. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +56 -34
  247. data/lib/wx/doc/gen/rtc/rich_text_event.rb +23 -4
  248. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +6 -6
  249. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +9 -5
  250. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +6 -2
  251. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +12 -12
  252. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
  253. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
  254. data/lib/wx/doc/gen/sash_event.rb +3 -1
  255. data/lib/wx/doc/gen/sash_layout_window.rb +5 -3
  256. data/lib/wx/doc/gen/sash_window.rb +8 -3
  257. data/lib/wx/doc/gen/scroll_bar.rb +29 -8
  258. data/lib/wx/doc/gen/scrolled_canvas.rb +41 -23
  259. data/lib/wx/doc/gen/scrolled_control.rb +41 -23
  260. data/lib/wx/doc/gen/scrolled_window.rb +41 -23
  261. data/lib/wx/doc/gen/search_ctrl.rb +15 -8
  262. data/lib/wx/doc/gen/simplebook.rb +2 -2
  263. data/lib/wx/doc/gen/single_choice_dialog.rb +4 -2
  264. data/lib/wx/doc/gen/sizer.rb +29 -28
  265. data/lib/wx/doc/gen/slider.rb +49 -16
  266. data/lib/wx/doc/gen/spin_button.rb +15 -9
  267. data/lib/wx/doc/gen/spin_ctrl.rb +12 -6
  268. data/lib/wx/doc/gen/spin_event.rb +5 -2
  269. data/lib/wx/doc/gen/splash_screen.rb +16 -12
  270. data/lib/wx/doc/gen/splitter_event.rb +6 -2
  271. data/lib/wx/doc/gen/splitter_window.rb +20 -4
  272. data/lib/wx/doc/gen/static_bitmap.rb +5 -5
  273. data/lib/wx/doc/gen/static_box.rb +36 -32
  274. data/lib/wx/doc/gen/static_box_sizer.rb +13 -10
  275. data/lib/wx/doc/gen/static_line.rb +5 -4
  276. data/lib/wx/doc/gen/static_text.rb +12 -6
  277. data/lib/wx/doc/gen/status_bar.rb +14 -5
  278. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +55 -7
  279. data/lib/wx/doc/gen/stc/styled_text_event.rb +224 -49
  280. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +11 -2
  281. data/lib/wx/doc/gen/svg_file_dc.rb +3 -3
  282. data/lib/wx/doc/gen/system_options.rb +11 -1
  283. data/lib/wx/doc/gen/system_settings.rb +3 -3
  284. data/lib/wx/doc/gen/task_bar_icon.rb +10 -2
  285. data/lib/wx/doc/gen/task_bar_icon_event.rb +3 -3
  286. data/lib/wx/doc/gen/text_attr.rb +11 -7
  287. data/lib/wx/doc/gen/text_ctrl.rb +61 -92
  288. data/lib/wx/doc/gen/text_entry.rb +28 -40
  289. data/lib/wx/doc/gen/text_entry_dialog.rb +19 -19
  290. data/lib/wx/doc/gen/text_validator.rb +0 -11
  291. data/lib/wx/doc/gen/time_picker_ctrl.rb +6 -5
  292. data/lib/wx/doc/gen/timer.rb +8 -4
  293. data/lib/wx/doc/gen/timer_event.rb +19 -26
  294. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  295. data/lib/wx/doc/gen/toggle_button.rb +6 -5
  296. data/lib/wx/doc/gen/tool_bar.rb +41 -24
  297. data/lib/wx/doc/gen/tool_tip.rb +2 -2
  298. data/lib/wx/doc/gen/toolbook.rb +6 -3
  299. data/lib/wx/doc/gen/top_level_window.rb +35 -25
  300. data/lib/wx/doc/gen/tree_ctrl.rb +63 -13
  301. data/lib/wx/doc/gen/tree_event.rb +23 -2
  302. data/lib/wx/doc/gen/treebook.rb +6 -2
  303. data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
  304. data/lib/wx/doc/gen/utils.rb +9 -3
  305. data/lib/wx/doc/gen/v_list_box.rb +2 -2
  306. data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
  307. data/lib/wx/doc/gen/validator.rb +7 -5
  308. data/lib/wx/doc/gen/variant.rb +34 -97
  309. data/lib/wx/doc/gen/window.rb +157 -102
  310. data/lib/wx/doc/gen/window_dc.rb +1 -1
  311. data/lib/wx/doc/gen/with_images.rb +1 -1
  312. data/lib/wx/doc/gen/wizard.rb +17 -4
  313. data/lib/wx/doc/gen/wizard_event.rb +9 -2
  314. data/lib/wx/doc/gen/wizard_page.rb +1 -1
  315. data/lib/wx/doc/gen/wizard_page_simple.rb +7 -7
  316. data/lib/wx/doc/gen/xml_node.rb +3 -3
  317. data/lib/wx/doc/gen/xml_resource.rb +12 -9
  318. data/lib/wx/doc/image.rb +42 -12
  319. data/lib/wx/doc/list_ctrl.rb +32 -0
  320. data/lib/wx/doc/log.rb +28 -0
  321. data/lib/wx/doc/prt/printer_dc.rb +2 -2
  322. data/lib/wx/doc/scaled_dc.rb +1 -1
  323. data/lib/wx/doc/text_validator.rb +12 -0
  324. data/lib/wx/version.rb +1 -1
  325. data/lib/wxruby_aui.so +0 -0
  326. data/lib/wxruby_core.so +0 -0
  327. data/lib/wxruby_grid.so +0 -0
  328. data/lib/wxruby_html.so +0 -0
  329. data/lib/wxruby_pg.so +0 -0
  330. data/lib/wxruby_prt.so +0 -0
  331. data/lib/wxruby_rbn.so +0 -0
  332. data/lib/wxruby_rtc.so +0 -0
  333. data/lib/wxruby_stc.so +0 -0
  334. data/tests/test_art.rb +9 -0
  335. data/tests/test_box_sizer.rb +161 -0
  336. data/tests/test_grid_sizer.rb +148 -0
  337. data/tests/test_list_ctrl.rb +53 -0
  338. data/tests/test_log.rb +163 -0
  339. data/tests/test_std_controls.rb +58 -0
  340. data/tests/test_timer.rb +95 -0
  341. metadata +13 -2
@@ -12,18 +12,18 @@ module Wx::AUI
12
12
  # {Wx::AUI::AuiManager} works as follows: the programmer adds panes to the class, or makes changes to existing pane properties (dock position, floating state, show state, etc.). To apply these changes, {Wx::AUI::AuiManager}'s {Wx::AUI::AuiManager#update} function is called. This batch processing can be used to avoid flicker, by modifying more than one pane at a time, and then "committing" all of the changes at once by calling {Wx::AUI::AuiManager#update}.
13
13
  # Panes can be added quite easily:
14
14
  #
15
- # ```
16
- # wxTextCtrl* text1 = new wxTextCtrl(this, -1);
17
- # wxTextCtrl* text2 = new wxTextCtrl(this, -1);
18
- # m_mgr.AddPane(text1, wxLEFT, "Pane Caption");
19
- # m_mgr.AddPane(text2, wxBOTTOM, "Pane Caption");
20
- # m_mgr.Update();
15
+ # ```ruby
16
+ # @text1 = Wx::TextCtrl.new(self, -1)
17
+ # @text2 = Wx::TextCtrl.new(self, -1)
18
+ # @mgr.add_pane(@text1, Wx::LEFT, 'Pane Caption')
19
+ # @mgr.add_pane(@text2, Wx::BOTTOM, 'Pane Caption')
20
+ # @mgr.update
21
21
  # ```
22
22
  #
23
23
  # Later on, the positions can be modified easily. The following will float an existing pane in a tool window:
24
24
  #
25
- # ```
26
- # m_mgr.GetPane(text1).Float();
25
+ # ```ruby
26
+ # @mgr.get_pane(@text1).float
27
27
  # ```
28
28
  #
29
29
  # == Layers, Rows and Directions, Positions
@@ -31,34 +31,52 @@ module Wx::AUI
31
31
  # Inside {Wx::AUI}, the docking layout is figured out by checking several pane parameters. Four of these are important for determining where a pane will end up:
32
32
  #
33
33
  # - Direction: Each docked pane has a direction, Top, Bottom, Left, Right, or Center. This is fairly self-explanatory. The pane will be placed in the location specified by this variable.
34
+ #
34
35
  # - Position: More than one pane can be placed inside of a dock. Imagine two panes being docked on the left side of a window. One pane can be placed over another. In proportionally managed docks, the pane position indicates its sequential position, starting with zero. So, in our scenario with two panes docked on the left side, the top pane in the dock would have position 0, and the second one would occupy position 1.
36
+ #
35
37
  # - Row: A row can allow for two docks to be placed next to each other. One of the most common places for this to happen is in the toolbar. Multiple toolbar rows are allowed, the first row being row 0, and the second row 1. Rows can also be used on vertically docked panes.
38
+ #
36
39
  # - Layer: A layer is akin to an onion. Layer 0 is the very center of the managed pane. Thus, if a pane is in layer 0, it will be closest to the center window (also sometimes known as the "content window"). Increasing layers "swallow up" all layers of a lower value. This can look very similar to multiple rows, but is different because all panes in a lower level yield to panes in higher levels. The best way to understand layers is by running the {Wx::AUI} sample.
37
40
  #
38
41
  # === Styles
39
42
  #
40
43
  # This class supports the following styles:
41
- #
44
+ #
42
45
  # - {Wx::AUI::AuiManagerOption::AUI_MGR_ALLOW_FLOATING}: Allow a pane to be undocked to take the form of a {Wx::MiniFrame}.
46
+ #
43
47
  # - {Wx::AUI::AuiManagerOption::AUI_MGR_ALLOW_ACTIVE_PANE}: Change the color of the title bar of the pane when it is activated.
48
+ #
44
49
  # - {Wx::AUI::AuiManagerOption::AUI_MGR_TRANSPARENT_DRAG}: Make the pane transparent during its movement.
50
+ #
45
51
  # - {Wx::AUI::AuiManagerOption::AUI_MGR_TRANSPARENT_HINT}: The possible location for docking is indicated by a translucent area.
52
+ #
46
53
  # - {Wx::AUI::AuiManagerOption::AUI_MGR_VENETIAN_BLINDS_HINT}: The possible location for docking is indicated by gradually appearing partially transparent hint.
54
+ #
47
55
  # - {Wx::AUI::AuiManagerOption::AUI_MGR_RECTANGLE_HINT}: The possible location for docking is indicated by a rectangular outline.
56
+ #
48
57
  # - {Wx::AUI::AuiManagerOption::AUI_MGR_HINT_FADE}: The translucent area where the pane could be docked appears gradually.
58
+ #
49
59
  # - {Wx::AUI::AuiManagerOption::AUI_MGR_NO_VENETIAN_BLINDS_FADE}: Used in complement of {Wx::AUI::AuiManagerOption::AUI_MGR_VENETIAN_BLINDS_HINT} to show the docking hint immediately.
60
+ #
50
61
  # - {Wx::AUI::AuiManagerOption::AUI_MGR_LIVE_RESIZE}: When a docked pane is resized, its content is refreshed in live (instead of moving the border alone and refreshing the content at the end).
62
+ #
51
63
  # - {Wx::AUI::AuiManagerOption::AUI_MGR_DEFAULT}: Default behaviour, combines: {Wx::AUI::AuiManagerOption::AUI_MGR_ALLOW_FLOATING} | {Wx::AUI::AuiManagerOption::AUI_MGR_TRANSPARENT_HINT} | {Wx::AUI::AuiManagerOption::AUI_MGR_HINT_FADE} | {Wx::AUI::AuiManagerOption::AUI_MGR_NO_VENETIAN_BLINDS_FADE}.
52
64
  #
53
65
  # === Events emitted by this class
54
66
  #
55
67
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiManagerEvent} events.
56
68
  # Event handler methods for events emitted by this class:
69
+ #
57
70
  # - {Wx::EvtHandler#evt_aui_pane_button}(meth = nil, &block): Triggered when any button is pressed for any docked panes.
71
+ #
58
72
  # - {Wx::EvtHandler#evt_aui_pane_close}(meth = nil, &block): Triggered when a docked or floating pane is closed.
73
+ #
59
74
  # - {Wx::EvtHandler#evt_aui_pane_maximize}(meth = nil, &block): Triggered when a pane is maximized.
75
+ #
60
76
  # - {Wx::EvtHandler#evt_aui_pane_restore}(meth = nil, &block): Triggered when a pane is restored.
77
+ #
61
78
  # - {Wx::EvtHandler#evt_aui_pane_activated}(meth = nil, &block): Triggered when a pane is made 'active'. This event is new since wxWidgets 2.9.4.
79
+ #
62
80
  # - {Wx::EvtHandler#evt_aui_render}(meth = nil, &block): This event can be caught to override the default renderer in order to custom draw your {Wx::AUI::AuiManager} window (not recommended).
63
81
  #
64
82
  # ===
@@ -75,14 +93,14 @@ module Wx::AUI
75
93
  # Constructor.
76
94
  # @param managed_wnd [Wx::Window] Specifies the {Wx::Frame} which should be managed.
77
95
  # @param flags [Integer] Specifies the frame management behaviour and visual effects with the {Wx::AUI::AuiManagerOption}'s style flags.
78
- # @return [AuiManager]
96
+ # @return [Wx::AUI::AuiManager]
79
97
  def initialize(managed_wnd=nil, flags=Wx::AUI::AuiManagerOption::AUI_MGR_DEFAULT) end
80
98
 
81
99
  # @overload add_pane(window, pane_info)
82
100
  # {Wx::AUI::AuiManager#add_pane} tells the frame manager to start managing a child window.
83
101
  # There are several versions of this function. The first version allows the full spectrum of pane parameter possibilities. The second version is used for simpler user interfaces which do not require as much configuration. The last version allows a drop position to be specified, which will determine where the pane will be added.
84
102
  # @param window [Wx::Window]
85
- # @param pane_info [Wx::AuiPaneInfo]
103
+ # @param pane_info [Wx::AUI::AuiPaneInfo]
86
104
  # @return [true,false]
87
105
  # @overload add_pane(window, direction=Wx::Direction::LEFT, caption=(''))
88
106
  # @param window [Wx::Window]
@@ -91,7 +109,7 @@ module Wx::AUI
91
109
  # @return [true,false]
92
110
  # @overload add_pane(window, pane_info, drop_pos)
93
111
  # @param window [Wx::Window]
94
- # @param pane_info [Wx::AuiPaneInfo]
112
+ # @param pane_info [Wx::AUI::AuiPaneInfo]
95
113
  # @param drop_pos [Array(Integer, Integer), Wx::Point]
96
114
  # @return [true,false]
97
115
  def add_pane(*args) end
@@ -107,7 +125,7 @@ module Wx::AUI
107
125
  def calculate_hint_rect(paneWindow, pt, offset) end
108
126
 
109
127
  # Check if a key modifier is pressed (actually {Wx::KeyCode::K_CONTROL} or {Wx::KeyCode::K_ALT}) while dragging the frame to not dock the window.
110
- # @param p [Wx::AuiPaneInfo]
128
+ # @param p [Wx::AUI::AuiPaneInfo]
111
129
  # @return [true,false]
112
130
  def can_dock_panel(p) end
113
131
  alias_method :can_dock_panel?, :can_dock_panel
@@ -115,14 +133,14 @@ module Wx::AUI
115
133
  # Destroys or hides the given pane depending on its flags.
116
134
  #
117
135
  # @see Wx::AUI::AuiPaneInfo#destroy_on_close
118
- # @param paneInfo [Wx::AuiPaneInfo]
136
+ # @param paneInfo [Wx::AUI::AuiPaneInfo]
119
137
  # @return [void]
120
138
  def close_pane(paneInfo) end
121
139
 
122
140
  # Creates a floating frame in this {Wx::AUI::AuiManager} with the given parent and {Wx::AUI::AuiPaneInfo}.
123
141
  # @param parent [Wx::Window]
124
- # @param p [Wx::AuiPaneInfo]
125
- # @return [Wx::AuiFloatingFrame]
142
+ # @param p [Wx::AUI::AuiPaneInfo]
143
+ # @return [Wx::AUI::AuiFloatingFrame]
126
144
  def create_floating_frame(parent, p) end
127
145
 
128
146
  # Tells the {Wx::AUI::AuiManager} to stop managing the pane specified by window.
@@ -142,7 +160,7 @@ module Wx::AUI
142
160
  # Returns the current art provider being used.
143
161
  #
144
162
  # @see Wx::AUI::AuiDockArt.
145
- # @return [Wx::AuiDockArt]
163
+ # @return [Wx::AUI::AuiDockArt]
146
164
  def get_art_provider; end
147
165
  alias_method :art_provider, :get_art_provider
148
166
 
@@ -168,10 +186,10 @@ module Wx::AUI
168
186
  # {Wx::AUI::AuiManager#get_pane} is used to lookup a {Wx::AUI::AuiPaneInfo} object either by window pointer or by pane name, which acts as a unique id for a window pane.
169
187
  # The returned {Wx::AUI::AuiPaneInfo} object may then be modified to change a pane's look, state or position. After one or more modifications to {Wx::AUI::AuiPaneInfo}, {Wx::AUI::AuiManager#update} should be called to commit the changes to the user interface. If the lookup failed (meaning the pane could not be found in the manager), a call to the returned {Wx::AUI::AuiPaneInfo}'s IsOk() method will return false.
170
188
  # @param window [Wx::Window]
171
- # @return [Wx::AuiPaneInfo]
189
+ # @return [Wx::AUI::AuiPaneInfo]
172
190
  # @overload get_pane(name)
173
191
  # @param name [String]
174
- # @return [Wx::AuiPaneInfo]
192
+ # @return [Wx::AUI::AuiPaneInfo]
175
193
  def get_pane(*args) end
176
194
  alias_method :pane, :get_pane
177
195
 
@@ -190,7 +208,7 @@ module Wx::AUI
190
208
  # {Wx::AUI::AuiManager#insert_pane} will push all panes, rows, or docks aside and insert the window into the position specified by insert_location.
191
209
  # Because insert_location can specify either a pane, dock row, or dock layer, the insert_level parameter is used to disambiguate this. The parameter insert_level can take a value of {Wx::AUI_INSERT_PANE}, {Wx::AUI_INSERT_ROW} or {Wx::AUI_INSERT_DOCK}.
192
210
  # @param window [Wx::Window]
193
- # @param insert_location [Wx::AuiPaneInfo]
211
+ # @param insert_location [Wx::AUI::AuiPaneInfo]
194
212
  # @param insert_level [Integer]
195
213
  # @return [true,false]
196
214
  def insert_pane(window, insert_location, insert_level=Wx::AUI_INSERT_PANE) end
@@ -204,7 +222,7 @@ module Wx::AUI
204
222
  #
205
223
  # @see Wx::AUI::AuiManager#save_perspective
206
224
  # @param pane_part [String]
207
- # @param pane [Wx::AuiPaneInfo]
225
+ # @param pane [Wx::AUI::AuiPaneInfo]
208
226
  # @return [void]
209
227
  def load_pane_info(pane_part, pane) end
210
228
 
@@ -222,12 +240,12 @@ module Wx::AUI
222
240
  def load_perspective(perspective, update=true) end
223
241
 
224
242
  # Maximize the given pane.
225
- # @param paneInfo [Wx::AuiPaneInfo]
243
+ # @param paneInfo [Wx::AUI::AuiPaneInfo]
226
244
  # @return [void]
227
245
  def maximize_pane(paneInfo) end
228
246
 
229
247
  # Restore the last state of the given pane.
230
- # @param paneInfo [Wx::AuiPaneInfo]
248
+ # @param paneInfo [Wx::AUI::AuiPaneInfo]
231
249
  # @return [void]
232
250
  def restore_pane(paneInfo) end
233
251
 
@@ -242,7 +260,7 @@ module Wx::AUI
242
260
  # @see Wx::AUI::AuiManager#load_perspective
243
261
  #
244
262
  # @see Wx::AUI::AuiManager#save_perspective
245
- # @param pane [Wx::AuiPaneInfo] Pane whose layout parameters should be serialized.
263
+ # @param pane [Wx::AUI::AuiPaneInfo] Pane whose layout parameters should be serialized.
246
264
  # @return [String]
247
265
  def save_pane_info(pane) end
248
266
 
@@ -259,7 +277,7 @@ module Wx::AUI
259
277
  # Instructs {Wx::AUI::AuiManager} to use art provider specified by parameter art_provider for all drawing calls.
260
278
  # This allows pluggable look-and-feel features. The previous art provider object, if any, will be deleted by {Wx::AUI::AuiManager}.
261
279
  # @see Wx::AUI::AuiDockArt.
262
- # @param art_provider [Wx::AuiDockArt]
280
+ # @param art_provider [Wx::AUI::AuiDockArt]
263
281
  # @return [void]
264
282
  def set_art_provider(art_provider) end
265
283
  alias_method :art_provider=, :set_art_provider
@@ -310,7 +328,7 @@ module Wx::AUI
310
328
 
311
329
  # Returns true if live resize is always used on the current platform.
312
330
  # If this function returns true, {Wx::AUI::AuiManagerOption::AUI_MGR_LIVE_RESIZE} flag is ignored and live resize is always used, whether it's specified or not.
313
- # Currently this is the case for {Wx::OSX} and {Wx::GTK3} ports, as live resizing is the only implemented method there.
331
+ # Currently this is the case for wxOSX and wxGTK3 ports, as live resizing is the only implemented method there.
314
332
  # @return [true,false]
315
333
  def self.always_uses_live_resize; end
316
334
 
@@ -318,7 +336,7 @@ module Wx::AUI
318
336
  # The window parameter should specify any child window or sub-child window of the frame or window managed by {Wx::AUI::AuiManager}.
319
337
  # The window parameter need not be managed by the manager itself, nor does it even need to be a child or sub-child of a managed window. It must however be inside the window hierarchy underneath the managed window.
320
338
  # @param window [Wx::Window]
321
- # @return [Wx::AuiManager]
339
+ # @return [Wx::AUI::AuiManager]
322
340
  def self.get_manager(window) end
323
341
 
324
342
  end # AuiManager
@@ -12,11 +12,17 @@ module Wx::AUI
12
12
  #
13
13
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiManagerEvent} events.
14
14
  # Event handler methods:
15
+ #
15
16
  # - {Wx::EvtHandler#evt_aui_pane_button}(meth = nil, &block): Triggered when any button is pressed for any docked panes.
17
+ #
16
18
  # - {Wx::EvtHandler#evt_aui_pane_close}(meth = nil, &block): Triggered when a docked or floating pane is closed.
19
+ #
17
20
  # - {Wx::EvtHandler#evt_aui_pane_maximize}(meth = nil, &block): Triggered when a pane is maximized.
21
+ #
18
22
  # - {Wx::EvtHandler#evt_aui_pane_restore}(meth = nil, &block): Triggered when a pane is restored.
23
+ #
19
24
  # - {Wx::EvtHandler#evt_aui_pane_activated}(meth = nil, &block): Triggered when a pane is made 'active'. This event is new since wxWidgets 2.9.4.
25
+ #
20
26
  # - {Wx::EvtHandler#evt_aui_render}(meth = nil, &block): This event can be caught to override the default renderer in order to custom draw your {Wx::AUI::AuiManager} window (not recommended).
21
27
  #
22
28
  # ===
@@ -29,8 +35,8 @@ module Wx::AUI
29
35
  class AuiManagerEvent < Event
30
36
 
31
37
  # Constructor.
32
- # @param type [Integer]
33
- # @return [AuiManagerEvent]
38
+ # @param type [Wx::AUI::AuiMDIChildFrame::EventType]
39
+ # @return [Wx::AUI::AuiManagerEvent]
34
40
  def initialize(type=Wx::EVT_NULL) end
35
41
 
36
42
  #
@@ -60,13 +66,13 @@ module Wx::AUI
60
66
 
61
67
  #
62
68
  # The {Wx::AUI::AuiManager} this event is associated with.
63
- # @return [Wx::AuiManager]
69
+ # @return [Wx::AUI::AuiManager]
64
70
  def get_manager; end
65
71
  alias_method :manager, :get_manager
66
72
 
67
73
  #
68
74
  # The pane this event is associated with.
69
- # @return [Wx::AuiPaneInfo]
75
+ # @return [Wx::AUI::AuiPaneInfo]
70
76
  def get_pane; end
71
77
  alias_method :pane, :get_pane
72
78
 
@@ -90,13 +96,13 @@ module Wx::AUI
90
96
  alias_method :dc=, :set_dc
91
97
 
92
98
  # Sets the {Wx::AUI::AuiManager} this event is associated with.
93
- # @param manager [Wx::AuiManager]
99
+ # @param manager [Wx::AUI::AuiManager]
94
100
  # @return [void]
95
101
  def set_manager(manager) end
96
102
  alias_method :manager=, :set_manager
97
103
 
98
104
  # Sets the pane this event is associated with.
99
- # @param pane [Wx::AuiPaneInfo]
105
+ # @param pane [Wx::AUI::AuiPaneInfo]
100
106
  # @return [void]
101
107
  def set_pane(pane) end
102
108
  alias_method :pane=, :set_pane
@@ -12,19 +12,19 @@ module Wx::AUI
12
12
  class AuiMDIChildFrame < Panel
13
13
 
14
14
  # @overload initialize()
15
- # @return [AuiMDIChildFrame]
15
+ # @return [Wx::AUI::AuiMDIChildFrame]
16
16
  # @overload initialize(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FrameNameStr)
17
- # @param parent [Wx::AuiMDIParentFrame]
17
+ # @param parent [Wx::AUI::AuiMDIParentFrame]
18
18
  # @param winid [Integer]
19
19
  # @param title [String]
20
20
  # @param pos [Array(Integer, Integer), Wx::Point]
21
21
  # @param size [Array(Integer, Integer), Wx::Size]
22
22
  # @param style [Integer]
23
23
  # @param name [String]
24
- # @return [AuiMDIChildFrame]
24
+ # @return [Wx::AUI::AuiMDIChildFrame]
25
25
  def initialize(*args) end
26
26
 
27
- # @param parent [Wx::AuiMDIParentFrame]
27
+ # @param parent [Wx::AUI::AuiMDIParentFrame]
28
28
  # @param winid [Integer]
29
29
  # @param title [String]
30
30
  # @param pos [Array(Integer, Integer), Wx::Point]
@@ -148,12 +148,12 @@ module Wx::AUI
148
148
  def is_full_screen; end
149
149
  alias_method :full_screen?, :is_full_screen
150
150
 
151
- # @param parent [Wx::AuiMDIParentFrame]
151
+ # @param parent [Wx::AUI::AuiMDIParentFrame]
152
152
  # @return [void]
153
153
  def set_mdi_parent_frame(parent) end
154
154
  alias_method :mdi_parent_frame=, :set_mdi_parent_frame
155
155
 
156
- # @return [Wx::AuiMDIParentFrame]
156
+ # @return [Wx::AUI::AuiMDIParentFrame]
157
157
  def get_mdi_parent_frame; end
158
158
  alias_method :mdi_parent_frame, :get_mdi_parent_frame
159
159
 
@@ -12,14 +12,14 @@ module Wx::AUI
12
12
  class AuiMDIClientWindow < BookCtrlBase
13
13
 
14
14
  # @overload initialize()
15
- # @return [AuiMDIClientWindow]
15
+ # @return [Wx::AUI::AuiMDIClientWindow]
16
16
  # @overload initialize(parent, style=0)
17
- # @param parent [Wx::AuiMDIParentFrame]
17
+ # @param parent [Wx::AUI::AuiMDIParentFrame]
18
18
  # @param style [Integer]
19
- # @return [AuiMDIClientWindow]
19
+ # @return [Wx::AUI::AuiMDIClientWindow]
20
20
  def initialize(*args) end
21
21
 
22
- # @param parent [Wx::AuiMDIParentFrame]
22
+ # @param parent [Wx::AUI::AuiMDIParentFrame]
23
23
  # @param style [Integer]
24
24
  # @return [true,false]
25
25
  def create_client(parent, style=(Wx::VSCROLL|Wx::HSCROLL)) end
@@ -31,11 +31,11 @@ module Wx::AUI
31
31
  def set_selection(new_page) end
32
32
  alias_method :selection=, :set_selection
33
33
 
34
- # @return [Wx::AuiMDIChildFrame]
34
+ # @return [Wx::AUI::AuiMDIChildFrame]
35
35
  def get_active_child; end
36
36
  alias_method :active_child, :get_active_child
37
37
 
38
- # @param pChildFrame [Wx::AuiMDIChildFrame]
38
+ # @param pChildFrame [Wx::AUI::AuiMDIChildFrame]
39
39
  # @return [void]
40
40
  def set_active_child(pChildFrame) end
41
41
  alias_method :active_child=, :set_active_child
@@ -12,7 +12,7 @@ module Wx::AUI
12
12
  class AuiMDIParentFrame < Frame
13
13
 
14
14
  # @overload initialize()
15
- # @return [AuiMDIParentFrame]
15
+ # @return [Wx::AUI::AuiMDIParentFrame]
16
16
  # @overload initialize(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL), name=Wx::FrameNameStr)
17
17
  # @param parent [Wx::Window]
18
18
  # @param winid [Integer]
@@ -21,7 +21,7 @@ module Wx::AUI
21
21
  # @param size [Array(Integer, Integer), Wx::Size]
22
22
  # @param style [Integer]
23
23
  # @param name [String]
24
- # @return [AuiMDIParentFrame]
24
+ # @return [Wx::AUI::AuiMDIParentFrame]
25
25
  def initialize(*args) end
26
26
 
27
27
  # @param parent [Wx::Window]
@@ -34,16 +34,16 @@ module Wx::AUI
34
34
  # @return [true,false]
35
35
  def create(parent, winid, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_FRAME_STYLE|Wx::VSCROLL|Wx::HSCROLL), name=Wx::FrameNameStr) end
36
36
 
37
- # @param provider [Wx::AuiTabArt]
37
+ # @param provider [Wx::AUI::AuiTabArt]
38
38
  # @return [void]
39
39
  def set_art_provider(provider) end
40
40
  alias_method :art_provider=, :set_art_provider
41
41
 
42
- # @return [Wx::AuiTabArt]
42
+ # @return [Wx::AUI::AuiTabArt]
43
43
  def get_art_provider; end
44
44
  alias_method :art_provider, :get_art_provider
45
45
 
46
- # @return [Wx::AuiNotebook]
46
+ # @return [Wx::AUI::AuiNotebook]
47
47
  def get_notebook; end
48
48
  alias_method :notebook, :get_notebook
49
49
 
@@ -66,25 +66,25 @@ module Wx::AUI
66
66
  def set_menu_bar(menuBar) end
67
67
  alias_method :menu_bar=, :set_menu_bar
68
68
 
69
- # @param pChild [Wx::AuiMDIChildFrame]
69
+ # @param pChild [Wx::AUI::AuiMDIChildFrame]
70
70
  # @return [void]
71
71
  def set_child_menu_bar(pChild) end
72
72
  alias_method :child_menu_bar=, :set_child_menu_bar
73
73
 
74
- # @return [Wx::AuiMDIChildFrame]
74
+ # @return [Wx::AUI::AuiMDIChildFrame]
75
75
  def get_active_child; end
76
76
  alias_method :active_child, :get_active_child
77
77
 
78
- # @param pChildFrame [Wx::AuiMDIChildFrame]
78
+ # @param pChildFrame [Wx::AUI::AuiMDIChildFrame]
79
79
  # @return [void]
80
80
  def set_active_child(pChildFrame) end
81
81
  alias_method :active_child=, :set_active_child
82
82
 
83
- # @return [Wx::AuiMDIClientWindow]
83
+ # @return [Wx::AUI::AuiMDIClientWindow]
84
84
  def get_client_window; end
85
85
  alias_method :client_window, :get_client_window
86
86
 
87
- # @return [Wx::AuiMDIClientWindow]
87
+ # @return [Wx::AUI::AuiMDIClientWindow]
88
88
  def on_create_client; end
89
89
 
90
90
  # @return [void]
@@ -13,39 +13,66 @@ module Wx::AUI
13
13
  # === Styles
14
14
  #
15
15
  # This class supports the following styles:
16
- #
16
+ #
17
17
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_DEFAULT_STYLE}: Defined as {Wx::AUI::AuiNotebookOption::AUI_NB_TOP} | {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_SPLIT} | {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_MOVE} | {Wx::AUI::AuiNotebookOption::AUI_NB_SCROLL_BUTTONS} | {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_ON_ACTIVE_TAB} | {Wx::AUI::AuiNotebookOption::AUI_NB_MIDDLE_CLICK_CLOSE}.
18
+ #
18
19
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_SPLIT}: Allows the tab control to be split by dragging a tab.
20
+ #
19
21
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_MOVE}: Allows a tab to be moved horizontally by dragging.
22
+ #
20
23
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_EXTERNAL_MOVE}: Allows a tab to be moved to another tab control.
24
+ #
21
25
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_FIXED_WIDTH}: With this style, all tabs have the same width.
26
+ #
22
27
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_SCROLL_BUTTONS}: With this style, left and right scroll buttons are displayed.
28
+ #
23
29
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_WINDOWLIST_BUTTON}: With this style, a drop-down list of windows is available.
30
+ #
24
31
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_BUTTON}: With this style, a close button is available on the tab bar.
32
+ #
25
33
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_ON_ACTIVE_TAB}: With this style, the close button is visible on the active tab.
34
+ #
26
35
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_ON_ALL_TABS}: With this style, the close button is visible on all tabs.
36
+ #
27
37
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_MIDDLE_CLICK_CLOSE}: With this style, middle click on a tab closes the tab.
38
+ #
28
39
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_TOP}: With this style, tabs are drawn along the top of the notebook.
40
+ #
29
41
  # - {Wx::AUI::AuiNotebookOption::AUI_NB_BOTTOM}: With this style, tabs are drawn along the bottom of the notebook.
30
42
  #
31
43
  # === Events emitted by this class
32
44
  #
33
45
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiNotebookEvent} events.
34
46
  # Event handler methods for events emitted by this class:
47
+ #
35
48
  # - {Wx::EvtHandler#evt_auinotebook_page_close}(id, meth = nil, &block): A page is about to be closed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CLOSE} event.
49
+ #
36
50
  # - {Wx::EvtHandler#evt_auinotebook_page_closed}(winid, meth = nil, &block): A page has been closed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CLOSED} event.
51
+ #
37
52
  # - {Wx::EvtHandler#evt_auinotebook_page_changed}(id, meth = nil, &block): The page selection was changed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CHANGED} event.
53
+ #
38
54
  # - {Wx::EvtHandler#evt_auinotebook_page_changing}(id, meth = nil, &block): The page selection is about to be changed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CHANGING} event. This event can be vetoed.
55
+ #
39
56
  # - {Wx::EvtHandler#evt_auinotebook_button}(id, meth = nil, &block): The window list button has been pressed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BUTTON} event.
57
+ #
40
58
  # - {Wx::EvtHandler#evt_auinotebook_begin_drag}(id, meth = nil, &block): Dragging is about to begin. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BEGIN_DRAG} event.
59
+ #
41
60
  # - {Wx::EvtHandler#evt_auinotebook_end_drag}(id, meth = nil, &block): Dragging has ended. Processes a {Wx::AUI::EVT_AUINOTEBOOK_END_DRAG} event.
61
+ #
42
62
  # - {Wx::EvtHandler#evt_auinotebook_drag_motion}(id, meth = nil, &block): Emitted during a drag and drop operation. Processes a {Wx::AUI::EVT_AUINOTEBOOK_DRAG_MOTION} event.
63
+ #
43
64
  # - {Wx::EvtHandler#evt_auinotebook_allow_dnd}(id, meth = nil, &block): Whether to allow a tab to be dropped. Processes a {Wx::AUI::EVT_AUINOTEBOOK_ALLOW_DND} event. This event must be specially allowed.
65
+ #
44
66
  # - {Wx::EvtHandler#evt_auinotebook_drag_done}(winid, meth = nil, &block): Notify that the tab has been dragged. Processes a {Wx::AUI::EVT_AUINOTEBOOK_DRAG_DONE} event.
67
+ #
45
68
  # - {Wx::EvtHandler#evt_auinotebook_tab_middle_down}(winid, meth = nil, &block): The middle mouse button is pressed on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN} event.
69
+ #
46
70
  # - {Wx::EvtHandler#evt_auinotebook_tab_middle_up}(winid, meth = nil, &block): The middle mouse button is released on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_MIDDLE_UP} event.
71
+ #
47
72
  # - {Wx::EvtHandler#evt_auinotebook_tab_right_down}(winid, meth = nil, &block): The right mouse button is pressed on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_RIGHT_DOWN} event.
73
+ #
48
74
  # - {Wx::EvtHandler#evt_auinotebook_tab_right_up}(winid, meth = nil, &block): The right mouse button is released on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_RIGHT_UP} event.
75
+ #
49
76
  # - {Wx::EvtHandler#evt_auinotebook_bg_dclick}(winid, meth = nil, &block): Double clicked on the tabs background area. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BG_DCLICK} event.
50
77
  #
51
78
  # ===
@@ -56,7 +83,7 @@ module Wx::AUI
56
83
 
57
84
  # @overload initialize()
58
85
  # Default ctor.
59
- # @return [AuiNotebook]
86
+ # @return [Wx::AUI::AuiNotebook]
60
87
  # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AUI::AuiNotebookOption::AUI_NB_DEFAULT_STYLE)
61
88
  # Constructor.
62
89
  # Creates a {Wx::AuiNotebok} control.
@@ -65,7 +92,7 @@ module Wx::AUI
65
92
  # @param pos [Array(Integer, Integer), Wx::Point]
66
93
  # @param size [Array(Integer, Integer), Wx::Size]
67
94
  # @param style [Integer]
68
- # @return [AuiNotebook]
95
+ # @return [Wx::AUI::AuiNotebook]
69
96
  def initialize(*args) end
70
97
 
71
98
  # @overload add_page(page, caption, select=false, bitmap=(Wx::BitmapBundle.new()))
@@ -124,7 +151,7 @@ module Wx::AUI
124
151
  def delete_page(page) end
125
152
 
126
153
  # Returns the associated art provider.
127
- # @return [Wx::AuiTabArt]
154
+ # @return [Wx::AUI::AuiTabArt]
128
155
  def get_art_provider; end
129
156
  alias_method :art_provider, :get_art_provider
130
157
 
@@ -216,7 +243,7 @@ module Wx::AUI
216
243
  def remove_page(page) end
217
244
 
218
245
  # Sets the art provider to be used by the notebook.
219
- # @param art [Wx::AuiTabArt]
246
+ # @param art [Wx::AUI::AuiTabArt]
220
247
  # @return [void]
221
248
  def set_art_provider(art) end
222
249
  alias_method :art_provider=, :set_art_provider
@@ -314,12 +341,12 @@ module Wx::AUI
314
341
 
315
342
  # Returns tab control based on point coordinates inside the tab frame.
316
343
  # @param pt [Array(Integer, Integer), Wx::Point]
317
- # @return [Wx::AuiTabCtrl]
344
+ # @return [Wx::AUI::AuiTabCtrl]
318
345
  def get_tab_ctrl_from_point(pt) end
319
346
  alias_method :tab_ctrl_from_point, :get_tab_ctrl_from_point
320
347
 
321
348
  # Returns active tab control for this notebook.
322
- # @return [Wx::AuiTabCtrl]
349
+ # @return [Wx::AUI::AuiTabCtrl]
323
350
  def get_active_tab_ctrl; end
324
351
  alias_method :active_tab_ctrl, :get_active_tab_ctrl
325
352
 
@@ -139,20 +139,35 @@ module Wx::AUI
139
139
  #
140
140
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiNotebookEvent} events.
141
141
  # Event handler methods for events emitted by this class:
142
+ #
142
143
  # - {Wx::EvtHandler#evt_auinotebook_page_close}(id, meth = nil, &block): A page is about to be closed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CLOSE} event.
144
+ #
143
145
  # - {Wx::EvtHandler#evt_auinotebook_page_closed}(winid, meth = nil, &block): A page has been closed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CLOSED} event.
146
+ #
144
147
  # - {Wx::EvtHandler#evt_auinotebook_page_changed}(id, meth = nil, &block): The page selection was changed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CHANGED} event.
148
+ #
145
149
  # - {Wx::EvtHandler#evt_auinotebook_page_changing}(id, meth = nil, &block): The page selection is about to be changed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CHANGING} event. This event can be vetoed.
150
+ #
146
151
  # - {Wx::EvtHandler#evt_auinotebook_button}(id, meth = nil, &block): The window list button has been pressed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BUTTON} event.
152
+ #
147
153
  # - {Wx::EvtHandler#evt_auinotebook_begin_drag}(id, meth = nil, &block): Dragging is about to begin. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BEGIN_DRAG} event.
154
+ #
148
155
  # - {Wx::EvtHandler#evt_auinotebook_end_drag}(id, meth = nil, &block): Dragging has ended. Processes a {Wx::AUI::EVT_AUINOTEBOOK_END_DRAG} event.
156
+ #
149
157
  # - {Wx::EvtHandler#evt_auinotebook_drag_motion}(id, meth = nil, &block): Emitted during a drag and drop operation. Processes a {Wx::AUI::EVT_AUINOTEBOOK_DRAG_MOTION} event.
158
+ #
150
159
  # - {Wx::EvtHandler#evt_auinotebook_allow_dnd}(id, meth = nil, &block): Whether to allow a tab to be dropped. Processes a {Wx::AUI::EVT_AUINOTEBOOK_ALLOW_DND} event. This event must be specially allowed.
160
+ #
151
161
  # - {Wx::EvtHandler#evt_auinotebook_drag_done}(winid, meth = nil, &block): Notify that the tab has been dragged. Processes a {Wx::AUI::EVT_AUINOTEBOOK_DRAG_DONE} event.
162
+ #
152
163
  # - {Wx::EvtHandler#evt_auinotebook_tab_middle_down}(winid, meth = nil, &block): The middle mouse button is pressed on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN} event.
164
+ #
153
165
  # - {Wx::EvtHandler#evt_auinotebook_tab_middle_up}(winid, meth = nil, &block): The middle mouse button is released on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_MIDDLE_UP} event.
166
+ #
154
167
  # - {Wx::EvtHandler#evt_auinotebook_tab_right_down}(winid, meth = nil, &block): The right mouse button is pressed on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_RIGHT_DOWN} event.
168
+ #
155
169
  # - {Wx::EvtHandler#evt_auinotebook_tab_right_up}(winid, meth = nil, &block): The right mouse button is released on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_RIGHT_UP} event.
170
+ #
156
171
  # - {Wx::EvtHandler#evt_auinotebook_bg_dclick}(winid, meth = nil, &block): Double clicked on the tabs background area. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BG_DCLICK} event.
157
172
  #
158
173
  # ===
@@ -165,9 +180,9 @@ module Wx::AUI
165
180
  class AuiNotebookEvent < BookCtrlEvent
166
181
 
167
182
  # Constructor.
168
- # @param command_type [Integer]
183
+ # @param command_type [Wx::AUI::AuiMDIChildFrame::EventType]
169
184
  # @param win_id [Integer]
170
- # @return [AuiNotebookEvent]
185
+ # @return [Wx::AUI::AuiNotebookEvent]
171
186
  def initialize(command_type=Wx::EVT_NULL, win_id=0) end
172
187
 
173
188
  # @return [Wx::Event]