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
@@ -141,12 +141,12 @@ module Wx::AUI
141
141
  class AuiToolBarEvent < NotifyEvent
142
142
 
143
143
  # @overload initialize(commandType=Wx::EVT_NULL, winId=0)
144
- # @param commandType [Integer]
144
+ # @param commandType [Wx::AUI::AuiMDIChildFrame::EventType]
145
145
  # @param winId [Integer]
146
- # @return [AuiToolBarEvent]
146
+ # @return [Wx::AUI::AuiToolBarEvent]
147
147
  # @overload initialize(c)
148
- # @param c [Wx::AuiToolBarEvent]
149
- # @return [AuiToolBarEvent]
148
+ # @param c [Wx::AUI::AuiToolBarEvent]
149
+ # @return [Wx::AUI::AuiToolBarEvent]
150
150
  def initialize(*args) end
151
151
 
152
152
  # Returns whether the drop down menu has been clicked.
@@ -17,15 +17,15 @@ module Wx::AUI
17
17
 
18
18
  # @overload initialize()
19
19
  # Default Constructor.
20
- # @return [AuiToolBarItem]
20
+ # @return [Wx::AUI::AuiToolBarItem]
21
21
  # @overload initialize(c)
22
22
  # Assigns the properties of the {Wx::AUI::AuiToolBarItem} "c" to this.
23
- # @param c [Wx::AuiToolBarItem]
24
- # @return [AuiToolBarItem]
23
+ # @param c [Wx::AUI::AuiToolBarItem]
24
+ # @return [Wx::AUI::AuiToolBarItem]
25
25
  def initialize(*args) end
26
26
 
27
27
  # Assigns the properties of the {Wx::AUI::AuiToolBarItem} "c" to this.
28
- # @param c [Wx::AuiToolBarItem]
28
+ # @param c [Wx::AUI::AuiToolBarItem]
29
29
  # @return [void]
30
30
  def assign(c) end
31
31
 
@@ -16,7 +16,11 @@ module Wx
16
16
  # This class encapsulates the concept of a platform-dependent bitmap, either monochrome or colour or colour with alpha channel support.
17
17
  # If you need direct access the bitmap data instead going through drawing to it using {Wx::MemoryDC} you need to use the {Wx::PixelData} class (either {Wx::NativePixelData} for RGB bitmaps or {Wx::AlphaPixelData} for bitmaps with an additionally alpha channel).
18
18
  # Note that many {Wx::Bitmap} functions take a type parameter, which is a value of the {Wx::BitmapType} enumeration. The validity of those values depends however on the platform where your program is running and from the wxWidgets configuration. If all possible wxWidgets settings are used:
19
- # - {Wx::MSW} supports BMP and ICO files, BMP and ICO resources;- {Wx::GTK} supports any file supported by gdk-pixbuf;- {Wx::Mac} supports PICT resources;- {Wx::X11} supports XPM files, XPM data, XBM data;
19
+ #
20
+ # - wxMSW supports BMP and ICO files, BMP and ICO resources;
21
+ # - wxGTK supports any file supported by gdk-pixbuf;
22
+ # - {Wx::Mac} supports PICT resources;
23
+ # - wxX11 supports XPM files, XPM data, XBM data;
20
24
  #
21
25
  # In addition, {Wx::Bitmap} can load and save all formats that {Wx::Image} can; see {Wx::Image} for more info. Of course, you must have loaded the {Wx::Image} handlers (see {init_all_image_handlers} and {Wx::Image.add_handler}). Note that all available {Wx::BitmapHandlers} for a given wxWidgets port are automatically loaded at startup so you won't need to use {Wx::Bitmap.add_handler}.
22
26
  # More on the difference between {Wx::Image} and {Wx::Bitmap}: {Wx::Image} is just a buffer of RGB bytes with an optional buffer for the alpha bytes. It is all generic, platform independent and image file format independent code. It includes generic code for scaling, resizing, clipping, and other manipulations of the image data. OTOH, {Wx::Bitmap} is intended to be a wrapper of whatever is the native image format that is quickest/easiest to draw to a DC or to be the target of the drawing operations performed on a {Wx::MemoryDC}. By splitting the responsibilities between {Wx::Image}/{Wx::Bitmap} like this then it's easier to use generic code shared by all platforms and image types for generic operations and platform specific code where performance or compatibility is needed.
@@ -41,7 +45,7 @@ module Wx
41
45
  # @overload initialize()
42
46
  # Default constructor.
43
47
  # Constructs a bitmap object with no data; an assignment or another member function such as {Wx::Bitmap#create} or {Wx::Bitmap#load_file} must be called subsequently.
44
- # @return [Bitmap]
48
+ # @return [Wx::Bitmap]
45
49
  # @overload initialize(bitmap)
46
50
  # Copy constructor, uses reference counting.
47
51
  # To make a real copy, you can use:
@@ -50,7 +54,7 @@ module Wx
50
54
  # Wx::Rect.new(0, 0, oldBitmap.width, oldBitmap.height))
51
55
  # ```
52
56
  # @param bitmap [Wx::Bitmap]
53
- # @return [Bitmap]
57
+ # @return [Wx::Bitmap]
54
58
  # @overload initialize(width, height, depth=Wx::BITMAP_SCREEN_DEPTH)
55
59
  # Creates a new bitmap.
56
60
  # A depth of {Wx::BITMAP_SCREEN_DEPTH} indicates the depth of the current screen or visual.
@@ -59,25 +63,25 @@ module Wx
59
63
  # @param width [Integer] The width of the bitmap in pixels, must be strictly positive.
60
64
  # @param height [Integer] The height of the bitmap in pixels, must be strictly positive.
61
65
  # @param depth [Integer] The number of bits used to represent each bitmap pixel.
62
- # @return [Bitmap]
66
+ # @return [Wx::Bitmap]
63
67
  # @overload initialize(sz, depth=Wx::BITMAP_SCREEN_DEPTH)
64
68
  # This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
65
69
  # @param sz [Array(Integer, Integer), Wx::Size]
66
70
  # @param depth [Integer]
67
- # @return [Bitmap]
71
+ # @return [Wx::Bitmap]
68
72
  # @overload initialize(width, height, dc)
69
73
  # Create a bitmap compatible with the given DC, inheriting its magnification factor.
70
74
  # @param width [Integer] The width of the bitmap in pixels, must be strictly positive.
71
75
  # @param height [Integer] The height of the bitmap in pixels, must be strictly positive.
72
76
  # @param dc [Wx::DC] DC from which the scaling factor is inherited
73
- # @return [Bitmap]
77
+ # @return [Wx::Bitmap]
74
78
  # @overload initialize(name, type=Wx::BITMAP_DEFAULT_TYPE)
75
79
  # Loads a bitmap from a file or resource.
76
80
  #
77
81
  # @see Wx::Bitmap#load_file
78
82
  # @param name [String] This can refer to a resource name or a filename under MS Windows and X. Its meaning is determined by the type parameter.
79
83
  # @param type [BitmapType] May be one of the {Wx::BitmapType} values and indicates which type of bitmap should be loaded. See the note in the class detailed description. Note that the {Wx::BITMAP_DEFAULT_TYPE} constant has different value under different wxWidgets ports. See the bitmap.h header for the value it takes for a specific port.
80
- # @return [Bitmap]
84
+ # @return [Wx::Bitmap]
81
85
  # @overload initialize(img, depth=Wx::BITMAP_SCREEN_DEPTH)
82
86
  # Creates this bitmap object from the given image.
83
87
  # This has to be done to actually display an image as you cannot draw an image directly on a window.
@@ -85,18 +89,18 @@ module Wx
85
89
  # On Windows, if there is a palette present (set with SetPalette), it will be used when creating the {Wx::Bitmap} (most useful in 8-bit display mode). On other platforms, the palette is currently ignored.
86
90
  # @param img [Wx::Image] Platform-independent {Wx::Image} object.
87
91
  # @param depth [Integer] Specifies the depth of the bitmap. If this is omitted, the display depth of the screen is used.
88
- # @return [Bitmap]
92
+ # @return [Wx::Bitmap]
89
93
  # @overload initialize(img, dc)
90
94
  # Creates a bitmap compatible with the given DC from the given image.
91
95
  # This constructor initializes the bitmap with the data of the given image, which must be valid, but inherits the scaling factor from the given device context instead of simply using the default factor of 1.
92
96
  # @param img [Wx::Image] Platform-independent {Wx::Image} object.
93
97
  # @param dc [Wx::DC] DC from which the scaling factor is inherited
94
- # @return [Bitmap]
98
+ # @return [Wx::Bitmap]
95
99
  # @overload initialize(cursor)
96
100
  # Creates bitmap corresponding to the given cursor.
97
101
  # This can be useful to display a cursor as it cannot be drawn directly on a window.
98
102
  # @param cursor [Wx::Cursor] A valid {Wx::Cursor}.
99
- # @return [Bitmap]
103
+ # @return [Wx::Bitmap]
100
104
  def initialize(*args) end
101
105
 
102
106
  # Returns disabled (dimmed) version of the bitmap.
@@ -143,7 +147,9 @@ module Wx
143
147
  # The physical size of the bitmap is obtained by multiplying the given size by scale and rounding it to the closest integer.
144
148
  # After using this function the following postconditions are true:
145
149
  #
146
- # - {Wx::Bitmap#get_size} returns size multiplied by scale - {Wx::Bitmap#get_dip_size} returns size - {Wx::Bitmap#get_scale_factor} returns scale
150
+ # - {Wx::Bitmap#get_size} returns size multiplied by scale
151
+ # - {Wx::Bitmap#get_dip_size} returns size
152
+ # - {Wx::Bitmap#get_scale_factor} returns scale
147
153
  #
148
154
  # true if the creation was successful.
149
155
  # @param size [Array(Integer, Integer), Wx::Size] The size of the bitmap in DPI-independent pixels. Both width and height must be strictly positive.
@@ -201,7 +207,7 @@ module Wx
201
207
  alias_method :logical_height, :get_logical_height
202
208
 
203
209
  # Returns the size of the bitmap in logical pixels.
204
- # For the platforms using DPI-independent pixels, i.e. those where {Wx::HAS_DPI_INDEPENDENT_PIXELS} is defined, such as {Wx::OSX} or {Wx::GTK} 3, this function returns the physical size of the bitmap, as returned by {Wx::Bitmap#get_size}, divided by its scale factor, as returned by {Wx::Bitmap#get_scale_factor}, while for the other platforms, it simply returns the same thing as {Wx::Bitmap#get_size}.
210
+ # For the platforms using DPI-independent pixels, i.e. those where {Wx::HAS_DPI_INDEPENDENT_PIXELS} is defined, such as wxOSX or wxGTK 3, this function returns the physical size of the bitmap, as returned by {Wx::Bitmap#get_size}, divided by its scale factor, as returned by {Wx::Bitmap#get_scale_factor}, while for the other platforms, it simply returns the same thing as {Wx::Bitmap#get_size}.
205
211
  # This ensures that the result of this function is always expressed in the pixel coordinates appropriate for the current platform, i.e. its return value is always in logical pixels, used for window and {Wx::DC} coordinates, whether these pixels are the same as physical pixels, which are returned by {Wx::Bitmap#get_size}, or not.
206
212
  # @see Wx::Bitmap#get_logical_width
207
213
  # @see Wx::Bitmap#get_logical_height
@@ -235,7 +241,7 @@ module Wx
235
241
 
236
242
  # Returns the scale factor of this bitmap.
237
243
  # Scale factor is 1 by default, but can be greater to indicate that the size of bitmap in logical, DPI-independent pixels is smaller than its actual size in physical pixels. Bitmaps with scale factor greater than 1 must be used in high DPI to appear sharp on the screen.
238
- # Note that the scale factor is only used in the ports where logical pixels are not the same as physical ones, such as {Wx::OSX} or {Wx::GTK3}, and this function always returns 1 under the other platforms.
244
+ # Note that the scale factor is only used in the ports where logical pixels are not the same as physical ones, such as wxOSX or wxGTK3, and this function always returns 1 under the other platforms.
239
245
  # @see Wx::Bitmap#set_scale_factor
240
246
  # @see Wx::Bitmap#get_logical_width
241
247
  # @see Wx::Bitmap#get_logical_height
@@ -318,7 +324,7 @@ module Wx
318
324
  def save_file(name, type, palette=nil) end
319
325
 
320
326
  # Sets the bitmap scale factor.
321
- # This doesn't change the bitmap actual size or its contents, but changes its scale factor, so that it appears in a smaller size when it is drawn on screen: e.g. setting scale to 2 means that the bitmap will be twice smaller (in each direction) when drawn on screen in the ports in which logical and physical pixels differ (i.e. {Wx::OSX} and {Wx::GTK3}, but not {Wx::MSW}).
327
+ # This doesn't change the bitmap actual size or its contents, but changes its scale factor, so that it appears in a smaller size when it is drawn on screen: e.g. setting scale to 2 means that the bitmap will be twice smaller (in each direction) when drawn on screen in the ports in which logical and physical pixels differ (i.e. wxOSX and wxGTK3, but not wxMSW).
322
328
  # When creating a new bitmap, {Wx::Bitmap#create_with_dip_size} can be used to specify the correct scale factor from the beginning.
323
329
  # @param scale [Float]
324
330
  # @return [void]
@@ -328,7 +334,7 @@ module Wx
328
334
  # Sets the mask for this bitmap.
329
335
  # The bitmap object owns the mask once this has been called.
330
336
  #
331
- # A mask can be set also for bitmap with an alpha channel but doing so under {Wx::MSW} is not recommended because performance of drawing such bitmap is not very good.
337
+ # A mask can be set also for bitmap with an alpha channel but doing so under wxMSW is not recommended because performance of drawing such bitmap is not very good.
332
338
  # @see Wx::Bitmap#get_mask
333
339
  # @see Wx::Mask
334
340
  # @param mask [Wx::Mask]
@@ -386,26 +392,26 @@ module Wx
386
392
  # @overload initialize()
387
393
  # Default constructor constructs an empty bundle.
388
394
  # An empty bundle can't be used for anything, but can be assigned something else later.
389
- # @return [BitmapBundle]
395
+ # @return [Wx::BitmapBundle]
390
396
  # @overload initialize(bitmap)
391
397
  # Conversion constructor from a single bitmap.
392
398
  # This constructor does the same thing as {Wx::BitmapBundle.from_bitmap} and only exists for interoperability with the existing code using {Wx::Bitmap}.
393
399
  # @param bitmap [Wx::Bitmap]
394
- # @return [BitmapBundle]
400
+ # @return [Wx::BitmapBundle]
395
401
  # @overload initialize(icon)
396
402
  # Conversion constructor from a single icon.
397
403
  # This constructor does the same thing as {Wx::BitmapBundle.from_bitmap} and only exists for interoperability with the existing code using {Wx::Icon}.
398
404
  # @param icon [Wx::Icon]
399
- # @return [BitmapBundle]
405
+ # @return [Wx::BitmapBundle]
400
406
  # @overload initialize(image)
401
407
  # Conversion constructor from a single image.
402
408
  # Similarly to the constructor from {Wx::Bitmap}, this constructor only exists for interoperability with the existing code using {Wx::Image} and can be replaced with more readable {Wx::BitmapBundle.from_image} in the new code.
403
409
  # @param image [Wx::Image]
404
- # @return [BitmapBundle]
410
+ # @return [Wx::BitmapBundle]
405
411
  # @overload initialize(other)
406
412
  # Copy constructor creates a copy of another bundle.
407
413
  # @param other [Wx::BitmapBundle]
408
- # @return [BitmapBundle]
414
+ # @return [Wx::BitmapBundle]
409
415
  def initialize(*args) end
410
416
 
411
417
  # Clear the existing bundle contents.
@@ -577,7 +583,7 @@ module Wx
577
583
 
578
584
  # This class encapsulates a monochrome mask bitmap, where the masked area is black and the unmasked area is white.
579
585
  # When associated with a bitmap and drawn in a device context, the unmasked area of the bitmap will be drawn, and the masked area will not be drawn.
580
- # A mask can be associated also with a bitmap with an alpha channel but drawing such bitmaps under {Wx::MSW} may be slow so using them should be avoided if drawing performance is an important factor.
586
+ # A mask can be associated also with a bitmap with an alpha channel but drawing such bitmaps under wxMSW may be slow so using them should be avoided if drawing performance is an important factor.
581
587
  #
582
588
  # ===
583
589
  #
@@ -591,22 +597,22 @@ module Wx
591
597
 
592
598
  # @overload initialize()
593
599
  # Default constructor.
594
- # @return [Mask]
600
+ # @return [Wx::Mask]
595
601
  # @overload initialize(bitmap, index)
596
602
  # Constructs a mask from a bitmap and a palette index that indicates the background.
597
603
  # Not implemented for GTK.
598
604
  # @param bitmap [Wx::Bitmap] A valid bitmap.
599
605
  # @param index [Integer] Index into a palette, specifying the transparency colour.
600
- # @return [Mask]
606
+ # @return [Wx::Mask]
601
607
  # @overload initialize(bitmap)
602
608
  # Constructs a mask from a monochrome bitmap.
603
609
  # @param bitmap [Wx::Bitmap]
604
- # @return [Mask]
610
+ # @return [Wx::Mask]
605
611
  # @overload initialize(bitmap, colour)
606
612
  # Constructs a mask from a bitmap and a colour that indicates the background.
607
613
  # @param bitmap [Wx::Bitmap]
608
614
  # @param colour [Wx::Colour,String,Symbol]
609
- # @return [Mask]
615
+ # @return [Wx::Mask]
610
616
  def initialize(*args) end
611
617
 
612
618
  # @overload create(bitmap, index)
@@ -627,7 +633,7 @@ module Wx
627
633
  def create(*args) end
628
634
 
629
635
  # Returns the mask as a monochrome bitmap.
630
- # Currently this method is implemented in {Wx::MSW}, {Wx::GTK} and {Wx::OSX}.
636
+ # Currently this method is implemented in wxMSW, wxGTK and wxOSX.
631
637
  # @return [Wx::Bitmap]
632
638
  def get_bitmap; end
633
639
  alias_method :bitmap, :get_bitmap
@@ -11,10 +11,13 @@ module Wx
11
11
  # === Styles
12
12
  #
13
13
  # This class supports the following styles:
14
- #
14
+ #
15
15
  # - {Wx::BU_LEFT}: Left-justifies the bitmap label.
16
+ #
16
17
  # - {Wx::BU_TOP}: Aligns the bitmap label to the top of the button.
18
+ #
17
19
  # - {Wx::BU_RIGHT}: Right-justifies the bitmap label.
20
+ #
18
21
  # - {Wx::BU_BOTTOM}: Aligns the bitmap label to the bottom of the button.
19
22
  #
20
23
  # Note that the {Wx::BU_EXACTFIT} style supported by {Wx::Button} is not used by this class as bitmap buttons don't have any minimal standard size by default.
@@ -22,13 +25,14 @@ module Wx
22
25
  #
23
26
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
24
27
  # Event handler methods for events emitted by this class:
28
+ #
25
29
  # - {Wx::EvtHandler#evt_button}(id, meth = nil, &block): Process a {Wx::EVT_BUTTON} event, when the button is clicked.
26
30
  #
27
31
  # ===
28
32
  #
29
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
30
- # </td><td> {Wx::GTK} Appearance
31
- # </td><td> {Wx::OSX} Appearance
33
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
34
+ # </td><td> wxGTK Appearance
35
+ # </td><td> wxOSX Appearance
32
36
  # </td></tr></table></div>
33
37
  # @see Wx::Button
34
38
  #
@@ -37,7 +41,7 @@ module Wx
37
41
 
38
42
  # @overload initialize()
39
43
  # Default ctor.
40
- # @return [BitmapButton]
44
+ # @return [Wx::BitmapButton]
41
45
  # @overload initialize(parent, id, bitmap, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ButtonNameStr)
42
46
  # Constructor, creating and showing a button.
43
47
  # The bitmap parameter is normally the only bitmap you need to provide, and wxWidgets will draw the button correctly in its different states. If you want more control, call any of the functions {Wx::BitmapButton#set_bitmap_pressed}, {Wx::BitmapButton#set_bitmap_focus}, {Wx::BitmapButton#set_bitmap_disabled}.
@@ -51,7 +55,7 @@ module Wx
51
55
  # @param style [Integer] Window style. See {Wx::BitmapButton}.
52
56
  # @param validator [Wx::Validator] Window validator.
53
57
  # @param name [String] Window name.
54
- # @return [BitmapButton]
58
+ # @return [Wx::BitmapButton]
55
59
  def initialize(*args) end
56
60
 
57
61
  # Button creation function for two-step creation.
@@ -13,9 +13,11 @@ module Wx
13
13
  # === Styles
14
14
  #
15
15
  # This class supports the following styles:
16
- #
16
+ #
17
17
  # - {Wx::CB_READONLY}: Creates a combobox without a text editor. On some platforms the control may appear very different when this style is used.
18
+ #
18
19
  # - {Wx::CB_SORT}: Sorts the entries in the list alphabetically.
20
+ #
19
21
  # - {Wx::TE_PROCESS_ENTER}: The control will generate the event {Wx::EVT_TEXT_ENTER} (otherwise pressing Enter key is either processed internally by the control or used for navigation between dialog controls). Windows only.
20
22
  #
21
23
  # Todocreate {Wx::CB_PROCESS_ENTER} rather than reusing {Wx::TE_PROCESS_ENTER}!
@@ -24,15 +26,18 @@ module Wx
24
26
  #
25
27
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
26
28
  # Event handler methods for events emitted by this class:
29
+ #
27
30
  # - {Wx::EvtHandler#evt_combobox}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX} event, when an item on the list is selected.
31
+ #
28
32
  # - {Wx::EvtHandler#evt_text}(id, meth = nil, &block): Process a {Wx::EVT_TEXT} event, when the combobox text changes.
33
+ #
29
34
  # - {Wx::EvtHandler#evt_text_enter}(id, meth = nil, &block): Process a {Wx::EVT_TEXT_ENTER} event, when RETURN is pressed in the combobox.
30
35
  #
31
36
  # ===
32
37
  #
33
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
34
- # </td><td> {Wx::GTK} Appearance
35
- # </td><td> {Wx::OSX} Appearance
38
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
39
+ # </td><td> wxGTK Appearance
40
+ # </td><td> wxOSX Appearance
36
41
  # </td></tr></table></div>
37
42
  # @see Wx::ComboBox
38
43
  # @see Wx::Choice
@@ -44,7 +49,7 @@ module Wx
44
49
 
45
50
  # @overload initialize()
46
51
  # Default ctor.
47
- # @return [BitmapComboBox]
52
+ # @return [Wx::BitmapComboBox]
48
53
  # @overload initialize(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BitmapComboBoxNameStr)
49
54
  # Constructor, creating and showing a combobox.
50
55
  #
@@ -59,7 +64,7 @@ module Wx
59
64
  # @param style [Integer] The window style, see {Wx::CB_}* flags.
60
65
  # @param validator [Wx::Validator] Validator which can be used for additional data checks.
61
66
  # @param name [String] Control name.
62
- # @return [BitmapComboBox]
67
+ # @return [Wx::BitmapComboBox]
63
68
  # @overload initialize(parent, id, value, pos, size, choices, style, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BitmapComboBoxNameStr)
64
69
  # Constructor, creating and showing a combobox.
65
70
  #
@@ -74,7 +79,7 @@ module Wx
74
79
  # @param style [Integer] The window style, see {Wx::CB_}* flags.
75
80
  # @param validator [Wx::Validator] Validator which can be used for additional data checks.
76
81
  # @param name [String] Control name.
77
- # @return [BitmapComboBox]
82
+ # @return [Wx::BitmapComboBox]
78
83
  def initialize(*args) end
79
84
 
80
85
  # @overload append(item, bitmap=Wx::NULL_BITMAP)
@@ -48,9 +48,13 @@ module Wx
48
48
  # wxWidgets has five variants of this control:
49
49
  #
50
50
  # - {Wx::Choicebook}: controlled by a {Wx::Choice}
51
+ #
51
52
  # - {Wx::Listbook}: controlled by a {Wx::ListCtrl}
53
+ #
52
54
  # - {Wx::Notebook}: uses a row of tabs
55
+ #
53
56
  # - {Wx::Treebook}: controlled by a {Wx::TreeCtrl}
57
+ #
54
58
  # - {Wx::Toolbook}: controlled by a {Wx::ToolBar}
55
59
  #
56
60
  # This abstract class is the parent of all these book controls, and provides their basic interface. This is a pure virtual class so you cannot allocate it directly.
@@ -196,7 +200,7 @@ module Wx
196
200
 
197
201
  # @overload initialize()
198
202
  # Default ctor.
199
- # @return [BookCtrlBase]
203
+ # @return [Wx::BookCtrlBase]
200
204
  # @overload initialize(parent, winid, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=(''))
201
205
  # Constructs the book control with the given parameters.
202
206
  # See {Wx::BookCtrlBase#create} for two-step construction.
@@ -206,7 +210,7 @@ module Wx
206
210
  # @param size [Array(Integer, Integer), Wx::Size]
207
211
  # @param style [Integer]
208
212
  # @param name [String]
209
- # @return [BookCtrlBase]
213
+ # @return [Wx::BookCtrlBase]
210
214
  def initialize(*args) end
211
215
 
212
216
  # Constructs the book control with the given parameters.
@@ -220,7 +224,7 @@ module Wx
220
224
  def create(parent, winid, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=('')) end
221
225
 
222
226
  # Sets the width and height of the pages.
223
- # This method is currently not implemented for {Wx::GTK}.
227
+ # This method is currently not implemented for wxGTK.
224
228
  # @param size [Array(Integer, Integer), Wx::Size]
225
229
  # @return [void]
226
230
  def set_page_size(size) end
@@ -24,11 +24,11 @@ module Wx
24
24
  class BookCtrlEvent < NotifyEvent
25
25
 
26
26
  # Constructor (used internally by wxWidgets only).
27
- # @param eventType [Integer]
27
+ # @param eventType [Wx::AUI::AuiMDIChildFrame::EventType]
28
28
  # @param id [Integer]
29
29
  # @param sel [Integer]
30
30
  # @param oldSel [Integer]
31
- # @return [BookCtrlEvent]
31
+ # @return [Wx::BookCtrlEvent]
32
32
  def initialize(eventType=Wx::EVT_NULL, id=0, sel=Wx::NOT_FOUND, oldSel=Wx::NOT_FOUND) end
33
33
 
34
34
  # Returns the page that was selected before the change, {Wx::NOT_FOUND} if none was selected.
@@ -20,7 +20,7 @@ module Wx
20
20
  # Constructor for a {Wx::BoxSizer}.
21
21
  # orient may be either of {Wx::Orientation::VERTICAL} or {Wx::Orientation::HORIZONTAL} for creating either a column sizer or a row sizer.
22
22
  # @param orient [Integer]
23
- # @return [BoxSizer]
23
+ # @return [Wx::BoxSizer]
24
24
  def initialize(orient) end
25
25
 
26
26
  # Adds non-stretchable space to the main orientation of the sizer only.
@@ -84,17 +84,29 @@ module Wx
84
84
  #
85
85
  # Category: Graphics Device Interface (GDI)
86
86
  # Predefined objects/pointers:
87
+ #
87
88
  # - {Wx::NULL_BRUSH}
89
+ #
88
90
  # - {Wx::BLACK_BRUSH}
91
+ #
89
92
  # - {Wx::BLUE_BRUSH}
93
+ #
90
94
  # - {Wx::CYAN_BRUSH}
95
+ #
91
96
  # - {Wx::GREEN_BRUSH}
97
+ #
92
98
  # - {Wx::YELLOW_BRUSH}
99
+ #
93
100
  # - {Wx::GREY_BRUSH}
101
+ #
94
102
  # - {Wx::LIGHT_GREY_BRUSH}
103
+ #
95
104
  # - {Wx::MEDIUM_GREY_BRUSH}
105
+ #
96
106
  # - {Wx::RED_BRUSH}
107
+ #
97
108
  # - {Wx::TRANSPARENT_BRUSH}
109
+ #
98
110
  # - {Wx::WHITE_BRUSH}
99
111
  # @see Wx::BrushList
100
112
  # @see Wx::DC
@@ -125,21 +137,21 @@ module Wx
125
137
  # @overload initialize()
126
138
  # Default constructor.
127
139
  # The brush will be uninitialised, and {Wx::Brush}:{Wx::Brush#is_ok} will return false.
128
- # @return [Brush]
140
+ # @return [Wx::Brush]
129
141
  # @overload initialize(colour, style=Wx::BrushStyle::BRUSHSTYLE_SOLID)
130
142
  # Constructs a brush from a colour object and style.
131
143
  # @param colour [Wx::Colour,String,Symbol] Colour object.
132
144
  # @param style [BrushStyle] One of the {Wx::BrushStyle} enumeration values.
133
- # @return [Brush]
145
+ # @return [Wx::Brush]
134
146
  # @overload initialize(stippleBitmap)
135
147
  # Constructs a stippled brush using a bitmap.
136
148
  # The brush style will be set to {Wx::BrushStyle::BRUSHSTYLE_STIPPLE}.
137
149
  # @param stippleBitmap [Wx::Bitmap]
138
- # @return [Brush]
150
+ # @return [Wx::Brush]
139
151
  # @overload initialize(brush)
140
152
  # Copy constructor, uses reference counting.
141
153
  # @param brush [Wx::Brush]
142
- # @return [Brush]
154
+ # @return [Wx::Brush]
143
155
  def initialize(*args) end
144
156
 
145
157
  # Returns a reference to the brush colour.
@@ -93,7 +93,7 @@ module Wx
93
93
 
94
94
  # Default constructor initializes all attributes to default values.
95
95
  # Call the other methods to really fill in the object.
96
- # @return [BusyInfoFlags]
96
+ # @return [Wx::BusyInfoFlags]
97
97
  def initialize; end
98
98
 
99
99
  # Sets the parent for {Wx::BusyInfo}.
@@ -9,12 +9,17 @@ module Wx
9
9
  # A button is a control that contains a text string, and is one of the most common elements of a GUI.
10
10
  # It may be placed on a dialog box or on a {Wx::Panel} panel, or indeed on almost any other window.
11
11
  # By default, i.e. if none of the alignment styles are specified, the label is centered both horizontally and vertically. If the button has both a label and a bitmap, the alignment styles above specify the location of the rectangle combining both the label and the bitmap and the bitmap position set with {Wx::Button#set_bitmap_position} defines the relative position of the bitmap with respect to the label (however currently non-default alignment combinations are not implemented on all platforms).
12
- # Since version 2.9.1 {Wx::Button} supports showing both text and an image (currently only when using {Wx::MSW}, {Wx::GTK} or {Wx::OSX}/Cocoa ports), see {Wx::Button#set_bitmap} and {Wx::Button#set_bitmap_label}, {Wx::Button#set_bitmap_disabled} &c methods. In the previous wxWidgets versions this functionality was only available in (the now trivial) {Wx::BitmapButton} class which was only capable of showing an image without text.
12
+ # Since version 2.9.1 {Wx::Button} supports showing both text and an image (currently only when using wxMSW, wxGTK or wxOSX/Cocoa ports), see {Wx::Button#set_bitmap} and {Wx::Button#set_bitmap_label}, {Wx::Button#set_bitmap_disabled} &c methods. In the previous wxWidgets versions this functionality was only available in (the now trivial) {Wx::BitmapButton} class which was only capable of showing an image without text.
13
13
  # A button may have either a single image for all states or different images for the following states (different images are not currently supported under macOS where the normal image is used for all states):
14
+ #
14
15
  # - <b>normal:</b> the default state
16
+ #
15
17
  # - <b>disabled:</b> bitmap shown when the button is disabled.
18
+ #
16
19
  # - <b>pressed:</b> bitmap shown when the button is pushed (e.g. while the user keeps the mouse button pressed on it)
20
+ #
17
21
  # - <b>focus:</b> bitmap shown when the button has keyboard focus (but is not pressed as in this case the button is in the pressed state)
22
+ #
18
23
  # - <b>current:</b> bitmap shown when the mouse is over the button (but it is not pressed although it may have focus). Notice that if current bitmap is not specified but the current platform UI uses hover images for the buttons (such as Windows or GTK+), then the focus bitmap is used for hover state as well. This makes it possible to set focus bitmap only to get reasonably good behaviour on all platforms.
19
24
  #
20
25
  # All of the bitmaps must be of the same size and the normal bitmap must be set first (to a valid bitmap), before setting any other ones. Also, if the size of the bitmaps is changed later, you need to change the size of the normal bitmap before setting any other bitmaps with the new size (and you do need to reset all of them as their original values can be lost when the normal bitmap size changes).
@@ -23,26 +28,33 @@ module Wx
23
28
  # === Styles
24
29
  #
25
30
  # This class supports the following styles:
26
- #
31
+ #
27
32
  # - {Wx::BU_LEFT}: Left-justifies the label. Windows and GTK+ only.
33
+ #
28
34
  # - {Wx::BU_TOP}: Aligns the label to the top of the button. Windows and GTK+ only.
35
+ #
29
36
  # - {Wx::BU_RIGHT}: Right-justifies the bitmap label. Windows and GTK+ only.
37
+ #
30
38
  # - {Wx::BU_BOTTOM}: Aligns the label to the bottom of the button. Windows and GTK+ only.
39
+ #
31
40
  # - {Wx::BU_EXACTFIT}: By default, all buttons are made of at least the standard button size, even if their contents is small enough to fit into a smaller size. This is done for consistency as most platforms use buttons of the same size in the native dialogs, but can be overridden by specifying this flag. If it is given, the button will be made just big enough for its contents. Notice that under MSW the button will still have at least the standard height, even with this style, if it has a non-empty label.
41
+ #
32
42
  # - {Wx::BU_NOTEXT}: Disables the display of the text label in the button even if it has one or its id is one of the standard stock ids with an associated label: without using this style a button which is only supposed to show a bitmap but uses a standard id would display a label too.
43
+ #
33
44
  # - {Wx::Border::BORDER_NONE}: Creates a button without border. This is currently implemented in MSW, GTK2 and OSX/Cocoa.
34
45
  #
35
46
  # === Events emitted by this class
36
47
  #
37
48
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
38
49
  # Event handler methods for events emitted by this class:
50
+ #
39
51
  # - {Wx::EvtHandler#evt_button}(id, meth = nil, &block): Process a {Wx::EVT_BUTTON} event, when the button is clicked.
40
52
  #
41
53
  # ===
42
54
  #
43
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
44
- # </td><td> {Wx::GTK} Appearance
45
- # </td><td> {Wx::OSX} Appearance
55
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
56
+ # </td><td> wxGTK Appearance
57
+ # </td><td> wxOSX Appearance
46
58
  # </td></tr></table></div>
47
59
  # @see Wx::BitmapButton
48
60
  #
@@ -51,7 +63,7 @@ module Wx
51
63
 
52
64
  # @overload initialize()
53
65
  # Default ctor.
54
- # @return [Button]
66
+ # @return [Wx::Button]
55
67
  # @overload initialize(parent, id, label=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ButtonNameStr)
56
68
  # Constructor, creating and showing a button.
57
69
  # The preferred way to create standard buttons is to use default value of label. If no label is supplied and id is one of standard IDs from this list, a standard label will be used. In other words, if you use a predefined {Wx::ID_XXX} constant, just omit the label completely rather than specifying it. In particular, help buttons (the ones with id of {Wx::StandardID::ID_HELP}) under macOS can't display any label at all and while {Wx::Button} will detect if the standard "Help" label is used and ignore it, using any other label will prevent the button from correctly appearing as a help button and so should be avoided.
@@ -66,7 +78,7 @@ module Wx
66
78
  # @param style [Integer] Window style. See {Wx::Button} class description.
67
79
  # @param validator [Wx::Validator] Window validator.
68
80
  # @param name [String] Window name.
69
- # @return [Button]
81
+ # @return [Wx::Button]
70
82
  def initialize(*args) end
71
83
 
72
84
  # Button creation function for two-step creation.
@@ -11,6 +11,7 @@ module Wx
11
11
  #
12
12
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CalculateLayoutEvent} events.
13
13
  # Event handler methods:
14
+ #
14
15
  # - {Wx::EvtHandler#evt_calculate_layout}(meth = nil, &block): Process a {Wx::EVT_CALCULATE_LAYOUT} event, which asks the window to take a 'bite' out of a rectangle provided by the algorithm.
15
16
  #
16
17
  # ===
@@ -25,7 +26,7 @@ module Wx
25
26
 
26
27
  # Constructor.
27
28
  # @param id [Integer]
28
- # @return [CalculateLayoutEvent]
29
+ # @return [Wx::CalculateLayoutEvent]
29
30
  def initialize(id=0) end
30
31
 
31
32
  # Returns the flags associated with this event.