wxruby3 0.9.0.pre.rc.3-x64-mingw-ucrt → 0.9.1-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (685) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/ext/mkrf_conf_bingem.rb +4 -1
  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/accessors.rb +10 -2
  20. data/lib/wx/aui/auifloatframe.rb +20 -0
  21. data/lib/wx/aui/auimanager.rb +3 -0
  22. data/lib/wx/aui/auinotebook.rb +17 -0
  23. data/lib/wx/aui/events/evt_list.rb +7 -7
  24. data/lib/wx/aui/require.rb +5 -1
  25. data/lib/wx/aui.rb +4 -1
  26. data/lib/wx/core/acceleratortable.rb +8 -0
  27. data/lib/wx/core/animation.rb +8 -0
  28. data/lib/wx/core/app.rb +8 -0
  29. data/lib/wx/core/array_ext.rb +7 -0
  30. data/lib/wx/core/art_locator.rb +7 -0
  31. data/lib/wx/core/artprovider.rb +9 -0
  32. data/lib/wx/core/bitmap.rb +16 -4
  33. data/lib/wx/core/bitmap_combobox.rb +7 -0
  34. data/lib/wx/core/brush.rb +7 -0
  35. data/lib/wx/core/busycursor.rb +9 -0
  36. data/lib/wx/core/choice.rb +7 -0
  37. data/lib/wx/core/choicedlg.rb +7 -0
  38. data/lib/wx/core/clientdc.rb +9 -0
  39. data/lib/wx/core/clipboard.rb +8 -0
  40. data/lib/wx/core/collapsible_pane.rb +8 -1
  41. data/lib/wx/core/colour.rb +8 -0
  42. data/lib/wx/core/combo_ctrl.rb +110 -0
  43. data/lib/wx/core/combobox.rb +7 -0
  44. data/lib/wx/core/config.rb +303 -0
  45. data/lib/wx/core/const.rb +83 -0
  46. data/lib/wx/core/controlwithitems.rb +12 -1
  47. data/lib/wx/core/cursor.rb +14 -4
  48. data/lib/wx/core/data_object.rb +7 -0
  49. data/lib/wx/core/dataformat.rb +9 -0
  50. data/lib/wx/core/datetime.rb +14 -0
  51. data/lib/wx/core/dc.rb +7 -0
  52. data/lib/wx/core/dialog.rb +18 -1
  53. data/lib/wx/core/enum.rb +7 -0
  54. data/lib/wx/core/event.rb +7 -0
  55. data/lib/wx/core/event_blocker.rb +7 -0
  56. data/lib/wx/core/event_loop.rb +7 -0
  57. data/lib/wx/core/events/evt_list.rb +100 -0
  58. data/lib/wx/core/evthandler.rb +8 -0
  59. data/lib/wx/core/ext.rb +7 -0
  60. data/lib/wx/core/file_dialog.rb +23 -0
  61. data/lib/wx/core/find_replace_dialog.rb +7 -0
  62. data/lib/wx/core/functions.rb +8 -0
  63. data/lib/wx/core/gauge.rb +10 -1
  64. data/lib/wx/core/genericdirctrl.rb +9 -0
  65. data/lib/wx/core/hboxsizer.rb +16 -0
  66. data/lib/wx/core/helpcontroller.rb +8 -0
  67. data/lib/wx/core/helpcontrollerhelpprovider.rb +9 -0
  68. data/lib/wx/core/helpprovider.rb +10 -1
  69. data/lib/wx/core/icon.rb +17 -6
  70. data/lib/wx/core/id_helper.rb +7 -0
  71. data/lib/wx/core/image.rb +16 -4
  72. data/lib/wx/core/imagelist.rb +8 -1
  73. data/lib/wx/core/listbox.rb +7 -0
  74. data/lib/wx/core/listctrl.rb +9 -0
  75. data/lib/wx/core/locale.rb +8 -0
  76. data/lib/wx/core/log.rb +24 -0
  77. data/lib/wx/core/menu.rb +9 -0
  78. data/lib/wx/core/menu_bar.rb +7 -0
  79. data/lib/wx/core/menuitem.rb +9 -0
  80. data/lib/wx/core/notebook.rb +9 -0
  81. data/lib/wx/core/object.rb +9 -0
  82. data/lib/wx/core/paintdc.rb +7 -0
  83. data/lib/wx/core/pen.rb +7 -0
  84. data/lib/wx/core/pen_info.rb +7 -0
  85. data/lib/wx/core/platform_info.rb +7 -0
  86. data/lib/wx/core/point.rb +8 -0
  87. data/lib/wx/core/real_point.rb +8 -0
  88. data/lib/wx/core/rect.rb +9 -0
  89. data/lib/wx/core/region_iterator.rb +7 -0
  90. data/lib/wx/core/simplehelpprovider.rb +9 -0
  91. data/lib/wx/core/size.rb +8 -0
  92. data/lib/wx/core/sizer.rb +9 -0
  93. data/lib/wx/core/splash_screen.rb +22 -2
  94. data/lib/wx/core/text_entry.rb +7 -0
  95. data/lib/wx/core/textctrl.rb +86 -5
  96. data/lib/wx/core/timer.rb +9 -0
  97. data/lib/wx/core/toolbar.rb +9 -0
  98. data/lib/wx/core/toolbartool.rb +8 -0
  99. data/lib/wx/core/treectrl.rb +9 -0
  100. data/lib/wx/core/v_list_box.rb +7 -0
  101. data/lib/wx/core/validator.rb +7 -0
  102. data/lib/wx/core/variant.rb +7 -0
  103. data/lib/wx/core/vboxsizer.rb +16 -0
  104. data/lib/wx/core/window.rb +8 -0
  105. data/lib/wx/core/window_update_locker.rb +9 -0
  106. data/lib/wx/core/xmlresource.rb +8 -0
  107. data/lib/wx/core.rb +4 -1
  108. data/lib/wx/doc/app.rb +7 -1
  109. data/lib/wx/doc/array_ext.rb +6 -0
  110. data/lib/wx/doc/art_locator.rb +7 -0
  111. data/lib/wx/doc/aui/auimanager.rb +6 -0
  112. data/lib/wx/doc/aui/auinotebook.rb +6 -0
  113. data/lib/wx/doc/bitmap.rb +12 -4
  114. data/lib/wx/doc/brush.rb +6 -0
  115. data/lib/wx/doc/busy_info.rb +6 -0
  116. data/lib/wx/doc/client_dc.rb +6 -0
  117. data/lib/wx/doc/clipboard.rb +6 -0
  118. data/lib/wx/doc/colour_dialog.rb +6 -0
  119. data/lib/wx/doc/config.rb +190 -0
  120. data/lib/wx/doc/const.rb +73 -66
  121. data/lib/wx/doc/controlwithitems.rb +6 -0
  122. data/lib/wx/doc/core.rb +6 -0
  123. data/lib/wx/doc/cursor.rb +13 -5
  124. data/lib/wx/doc/data_object.rb +6 -0
  125. data/lib/wx/doc/datetime.rb +16 -0
  126. data/lib/wx/doc/dc.rb +6 -0
  127. data/lib/wx/doc/enum.rb +8 -1
  128. data/lib/wx/doc/event.rb +6 -0
  129. data/lib/wx/doc/event_blocker.rb +6 -0
  130. data/lib/wx/doc/event_loop.rb +6 -0
  131. data/lib/wx/doc/events.rb +6 -0
  132. data/lib/wx/doc/evthandler.rb +8 -0
  133. data/lib/wx/doc/extra/01_packages.md +52 -51
  134. data/lib/wx/doc/extra/05_event-handling.md +37 -12
  135. data/lib/wx/doc/extra/06_geometry.md +5 -5
  136. data/lib/wx/doc/extra/07_colour_and_font.md +2 -2
  137. data/lib/wx/doc/extra/09_exceptions.md +1 -1
  138. data/lib/wx/doc/extra/10_art.md +18 -12
  139. data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
  140. data/lib/wx/doc/font.rb +6 -0
  141. data/lib/wx/doc/font_data.rb +16 -0
  142. data/lib/wx/doc/functions.rb +18 -10
  143. data/lib/wx/doc/gc_dc.rb +6 -0
  144. data/lib/wx/doc/gdi_common.rb +8 -1
  145. data/lib/wx/doc/gen/about_dialog_info.rb +9 -9
  146. data/lib/wx/doc/gen/accelerator.rb +4 -9
  147. data/lib/wx/doc/gen/accessible.rb +21 -21
  148. data/lib/wx/doc/gen/activity_indicator.rb +4 -4
  149. data/lib/wx/doc/gen/animation.rb +13 -13
  150. data/lib/wx/doc/gen/animation_ctrl.rb +9 -9
  151. data/lib/wx/doc/gen/any_button.rb +2 -2
  152. data/lib/wx/doc/gen/app.rb +16 -85
  153. data/lib/wx/doc/gen/app_traits.rb +381 -0
  154. data/lib/wx/doc/gen/art_provider.rb +4 -4
  155. data/lib/wx/doc/gen/aui/aui_manager.rb +12 -14
  156. data/lib/wx/doc/gen/aui/aui_manager_event.rb +5 -5
  157. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +15 -16
  158. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -1
  159. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +4 -4
  160. data/lib/wx/doc/gen/aui/aui_notebook.rb +102 -19
  161. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +1 -1
  162. data/lib/wx/doc/gen/aui/aui_pane_info.rb +44 -44
  163. data/lib/wx/doc/gen/aui/aui_tab_art.rb +11 -11
  164. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +28 -28
  165. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
  166. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +3 -3
  167. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +7 -7
  168. data/lib/wx/doc/gen/aui/event_list.rb +7 -0
  169. data/lib/wx/doc/gen/banner_window.rb +98 -0
  170. data/lib/wx/doc/gen/bitmap.rb +26 -57
  171. data/lib/wx/doc/gen/bitmap_button.rb +5 -5
  172. data/lib/wx/doc/gen/bitmap_combo_box.rb +6 -6
  173. data/lib/wx/doc/gen/book_ctrl_base.rb +13 -13
  174. data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
  175. data/lib/wx/doc/gen/brush.rb +8 -8
  176. data/lib/wx/doc/gen/button.rb +6 -6
  177. data/lib/wx/doc/gen/calendar_ctrl.rb +12 -12
  178. data/lib/wx/doc/gen/calendar_date_attr.rb +11 -11
  179. data/lib/wx/doc/gen/calendar_event.rb +2 -8
  180. data/lib/wx/doc/gen/caret.rb +4 -4
  181. data/lib/wx/doc/gen/check_box.rb +11 -11
  182. data/lib/wx/doc/gen/check_list_box.rb +7 -7
  183. data/lib/wx/doc/gen/choice.rb +5 -5
  184. data/lib/wx/doc/gen/choicebook.rb +1 -1
  185. data/lib/wx/doc/gen/clipboard.rb +9 -9
  186. data/lib/wx/doc/gen/collapsible_pane.rb +6 -6
  187. data/lib/wx/doc/gen/collapsible_pane_event.rb +3 -3
  188. data/lib/wx/doc/gen/colour.rb +26 -26
  189. data/lib/wx/doc/gen/colour_dialog.rb +6 -6
  190. data/lib/wx/doc/gen/colour_picker_ctrl.rb +3 -3
  191. data/lib/wx/doc/gen/combo_box.rb +11 -11
  192. data/lib/wx/doc/gen/combo_ctrl.rb +960 -0
  193. data/lib/wx/doc/gen/command_link_button.rb +110 -0
  194. data/lib/wx/doc/gen/config_base.rb +10 -0
  195. data/lib/wx/doc/gen/context_help_button.rb +3 -3
  196. data/lib/wx/doc/gen/control.rb +5 -5
  197. data/lib/wx/doc/gen/control_with_items.rb +5 -5
  198. data/lib/wx/doc/gen/core.rb +6 -6
  199. data/lib/wx/doc/gen/cursor.rb +4 -9
  200. data/lib/wx/doc/gen/data_format.rb +3 -3
  201. data/lib/wx/doc/gen/data_object.rb +14 -14
  202. data/lib/wx/doc/gen/date_event.rb +1 -1
  203. data/lib/wx/doc/gen/date_picker_ctrl.rb +5 -5
  204. data/lib/wx/doc/gen/dc.rb +127 -64
  205. data/lib/wx/doc/gen/defs.rb +3 -3
  206. data/lib/wx/doc/gen/dial_up_event.rb +42 -0
  207. data/lib/wx/doc/gen/dial_up_manager.rb +129 -0
  208. data/lib/wx/doc/gen/dialog.rb +48 -19
  209. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
  210. data/lib/wx/doc/gen/dir_picker_ctrl.rb +5 -5
  211. data/lib/wx/doc/gen/drag_drop.rb +18 -44
  212. data/lib/wx/doc/gen/drag_image.rb +7 -32
  213. data/lib/wx/doc/gen/editable_list_box.rb +4 -4
  214. data/lib/wx/doc/gen/event.rb +22 -24
  215. data/lib/wx/doc/gen/event_blocker.rb +1 -1
  216. data/lib/wx/doc/gen/event_list.rb +133 -7
  217. data/lib/wx/doc/gen/events.rb +162 -166
  218. data/lib/wx/doc/gen/evt_handler.rb +7 -7
  219. data/lib/wx/doc/gen/ext_help_controller.rb +8 -8
  220. data/lib/wx/doc/gen/file_ctrl.rb +200 -0
  221. data/lib/wx/doc/gen/file_ctrl_event.rb +80 -0
  222. data/lib/wx/doc/gen/file_dialog.rb +5 -3
  223. data/lib/wx/doc/gen/file_dialog_custom_control.rb +146 -0
  224. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +159 -0
  225. data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
  226. data/lib/wx/doc/gen/file_picker_ctrl.rb +5 -5
  227. data/lib/wx/doc/gen/file_system.rb +250 -0
  228. data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
  229. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  230. data/lib/wx/doc/gen/flex_grid_sizer.rb +4 -4
  231. data/lib/wx/doc/gen/font.rb +61 -66
  232. data/lib/wx/doc/gen/font_data.rb +6 -6
  233. data/lib/wx/doc/gen/font_dialog.rb +2 -2
  234. data/lib/wx/doc/gen/font_picker_ctrl.rb +3 -3
  235. data/lib/wx/doc/gen/frame.rb +10 -24
  236. data/lib/wx/doc/gen/fs_file.rb +61 -21
  237. data/lib/wx/doc/gen/gauge.rb +5 -5
  238. data/lib/wx/doc/gen/gb_sizer_item.rb +12 -26
  239. data/lib/wx/doc/gen/gdi_common.rb +8 -8
  240. data/lib/wx/doc/gen/generic_dir_ctrl.rb +8 -8
  241. data/lib/wx/doc/gen/graphics_context.rb +291 -60
  242. data/lib/wx/doc/gen/graphics_object.rb +47 -101
  243. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -0
  244. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +36 -51
  245. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +2 -0
  246. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +2 -0
  247. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +3 -1
  248. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +2 -0
  249. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +7 -12
  250. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +2 -0
  251. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +2 -0
  252. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +3 -1
  253. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +6 -4
  254. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +2 -0
  255. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +2 -0
  256. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +2 -0
  257. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +2 -0
  258. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +2 -0
  259. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +2 -0
  260. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +3 -1
  261. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +2 -0
  262. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +2 -0
  263. data/lib/wx/doc/gen/grid/grid_ctrl.rb +416 -173
  264. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +1 -1
  265. data/lib/wx/doc/gen/grid/grid_event.rb +7 -7
  266. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +9 -9
  267. data/lib/wx/doc/gen/grid/grid_size_event.rb +5 -5
  268. data/lib/wx/doc/gen/grid/grid_string_table.rb +6 -6
  269. data/lib/wx/doc/gen/grid/grid_table_base.rb +15 -15
  270. data/lib/wx/doc/gen/grid_bag_sizer.rb +10 -10
  271. data/lib/wx/doc/gen/gui_event_loop.rb +12 -12
  272. data/lib/wx/doc/gen/header_ctrl.rb +755 -0
  273. data/lib/wx/doc/gen/header_ctrl_event.rb +131 -0
  274. data/lib/wx/doc/gen/help_controller.rb +46 -7
  275. data/lib/wx/doc/gen/help_provider.rb +3 -3
  276. data/lib/wx/doc/gen/html/html_cell.rb +67 -44
  277. data/lib/wx/doc/gen/html/html_cell_event.rb +3 -3
  278. data/lib/wx/doc/gen/html/html_easy_printing.rb +6 -6
  279. data/lib/wx/doc/gen/html/html_help_controller.rb +79 -52
  280. data/lib/wx/doc/gen/html/html_help_data.rb +2 -2
  281. data/lib/wx/doc/gen/html/html_help_window.rb +21 -27
  282. data/lib/wx/doc/gen/html/html_list_box.rb +11 -11
  283. data/lib/wx/doc/gen/html/html_printout.rb +1 -1
  284. data/lib/wx/doc/gen/html/html_window.rb +36 -32
  285. data/lib/wx/doc/gen/hyperlink_ctrl.rb +5 -5
  286. data/lib/wx/doc/gen/icon.rb +10 -10
  287. data/lib/wx/doc/gen/icon_location.rb +1 -1
  288. data/lib/wx/doc/gen/image.rb +46 -51
  289. data/lib/wx/doc/gen/image_list.rb +14 -24
  290. data/lib/wx/doc/gen/info_bar.rb +152 -0
  291. data/lib/wx/doc/gen/keyboard_state.rb +17 -17
  292. data/lib/wx/doc/gen/list_box.rb +24 -24
  293. data/lib/wx/doc/gen/list_ctrl.rb +61 -96
  294. data/lib/wx/doc/gen/list_event.rb +2 -2
  295. data/lib/wx/doc/gen/listbook.rb +1 -1
  296. data/lib/wx/doc/gen/locale.rb +15 -39
  297. data/lib/wx/doc/gen/log.rb +17 -67
  298. data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
  299. data/lib/wx/doc/gen/mdi_frame.rb +12 -12
  300. data/lib/wx/doc/gen/media_ctrl.rb +17 -17
  301. data/lib/wx/doc/gen/media_event.rb +1 -1
  302. data/lib/wx/doc/gen/memory_dc.rb +3 -6
  303. data/lib/wx/doc/gen/menu.rb +15 -16
  304. data/lib/wx/doc/gen/menu_bar.rb +9 -26
  305. data/lib/wx/doc/gen/menu_item.rb +88 -88
  306. data/lib/wx/doc/gen/message_dialog.rb +6 -6
  307. data/lib/wx/doc/gen/mini_frame.rb +4 -4
  308. data/lib/wx/doc/gen/mouse_state.rb +50 -10
  309. data/lib/wx/doc/gen/non_owned_window.rb +2 -2
  310. data/lib/wx/doc/gen/notebook.rb +9 -9
  311. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  312. data/lib/wx/doc/gen/object.rb +1 -12
  313. data/lib/wx/doc/gen/palette.rb +12 -14
  314. data/lib/wx/doc/gen/panel.rb +6 -6
  315. data/lib/wx/doc/gen/pen.rb +25 -25
  316. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -2
  317. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +14 -14
  318. data/lib/wx/doc/gen/pg/pg_cell.rb +3 -6
  319. data/lib/wx/doc/gen/pg/pg_editor.rb +19 -19
  320. data/lib/wx/doc/gen/pg/pg_multi_button.rb +61 -86
  321. data/lib/wx/doc/gen/pg/pg_properties.rb +210 -263
  322. data/lib/wx/doc/gen/pg/pg_property.rb +161 -257
  323. data/lib/wx/doc/gen/pg/pg_validation_info.rb +2 -2
  324. data/lib/wx/doc/gen/pg/property_grid.rb +32 -32
  325. data/lib/wx/doc/gen/pg/property_grid_event.rb +7 -7
  326. data/lib/wx/doc/gen/pg/property_grid_interface.rb +43 -49
  327. data/lib/wx/doc/gen/pg/property_grid_manager.rb +41 -44
  328. data/lib/wx/doc/gen/pg/property_grid_page.rb +11 -20
  329. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +10 -19
  330. data/lib/wx/doc/gen/picker_base.rb +5 -5
  331. data/lib/wx/doc/gen/platform_info.rb +174 -14
  332. data/lib/wx/doc/gen/popup_window.rb +2 -2
  333. data/lib/wx/doc/gen/progress_dialog.rb +2 -2
  334. data/lib/wx/doc/gen/property_sheet_dialog.rb +3 -3
  335. data/lib/wx/doc/gen/prt/preview_frame.rb +14 -1
  336. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
  337. data/lib/wx/doc/gen/prt/print_data.rb +44 -44
  338. data/lib/wx/doc/gen/prt/printer.rb +23 -28
  339. data/lib/wx/doc/gen/query_layout_info_event.rb +4 -4
  340. data/lib/wx/doc/gen/radio_box.rb +13 -13
  341. data/lib/wx/doc/gen/radio_button.rb +7 -7
  342. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +28 -28
  343. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +13 -13
  344. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +1 -1
  345. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +13 -13
  346. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
  347. data/lib/wx/doc/gen/rbn/ribbon_control.rb +8 -8
  348. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +8 -14
  349. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +1 -1
  350. data/lib/wx/doc/gen/rbn/ribbon_page.rb +7 -7
  351. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -16
  352. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +1 -1
  353. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +13 -13
  354. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -2
  355. data/lib/wx/doc/gen/rearrange_ctrl.rb +60 -0
  356. data/lib/wx/doc/gen/rearrange_list.rb +99 -0
  357. data/lib/wx/doc/gen/region.rb +26 -35
  358. data/lib/wx/doc/gen/region_iterator.rb +1 -1
  359. data/lib/wx/doc/gen/rtc/rich_text_box.rb +423 -0
  360. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +608 -1520
  361. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +37 -0
  362. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +525 -0
  363. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +437 -474
  364. data/lib/wx/doc/gen/rtc/rich_text_event.rb +9 -9
  365. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +13 -13
  366. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +282 -0
  367. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +14 -14
  368. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +3 -16
  369. data/lib/wx/doc/gen/rtc/rich_text_image.rb +328 -0
  370. data/lib/wx/doc/gen/rtc/rich_text_object.rb +2849 -0
  371. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1174 -0
  372. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +18 -18
  373. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +305 -0
  374. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +183 -0
  375. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +3 -3
  376. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +34 -37
  377. data/lib/wx/doc/gen/sash_event.rb +8 -5
  378. data/lib/wx/doc/gen/sash_layout_window.rb +10 -10
  379. data/lib/wx/doc/gen/sash_window.rb +7 -7
  380. data/lib/wx/doc/gen/scroll_bar.rb +6 -6
  381. data/lib/wx/doc/gen/scrolled_canvas.rb +12 -18
  382. data/lib/wx/doc/gen/scrolled_control.rb +12 -18
  383. data/lib/wx/doc/gen/scrolled_window.rb +12 -18
  384. data/lib/wx/doc/gen/search_ctrl.rb +7 -7
  385. data/lib/wx/doc/gen/simplebook.rb +5 -5
  386. data/lib/wx/doc/gen/single_choice_dialog.rb +1 -2
  387. data/lib/wx/doc/gen/sizer.rb +40 -45
  388. data/lib/wx/doc/gen/sizer_item.rb +5 -5
  389. data/lib/wx/doc/gen/slider.rb +4 -4
  390. data/lib/wx/doc/gen/spin_button.rb +3 -3
  391. data/lib/wx/doc/gen/spin_ctrl.rb +3 -3
  392. data/lib/wx/doc/gen/spin_ctrl_double.rb +146 -0
  393. data/lib/wx/doc/gen/spin_double_event.rb +53 -0
  394. data/lib/wx/doc/gen/spin_event.rb +1 -1
  395. data/lib/wx/doc/gen/splitter_event.rb +1 -1
  396. data/lib/wx/doc/gen/splitter_window.rb +18 -14
  397. data/lib/wx/doc/gen/static_bitmap.rb +6 -6
  398. data/lib/wx/doc/gen/static_box.rb +11 -11
  399. data/lib/wx/doc/gen/static_line.rb +5 -5
  400. data/lib/wx/doc/gen/static_text.rb +5 -5
  401. data/lib/wx/doc/gen/status_bar.rb +41 -7
  402. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +148 -180
  403. data/lib/wx/doc/gen/stc/styled_text_event.rb +6 -6
  404. data/lib/wx/doc/gen/svg_file_dc.rb +5 -5
  405. data/lib/wx/doc/gen/system_options.rb +2 -2
  406. data/lib/wx/doc/gen/system_settings.rb +6 -6
  407. data/lib/wx/doc/gen/task_bar_icon.rb +7 -7
  408. data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
  409. data/lib/wx/doc/gen/text_attr.rb +56 -54
  410. data/lib/wx/doc/gen/text_ctrl.rb +15 -39
  411. data/lib/wx/doc/gen/text_entry.rb +16 -16
  412. data/lib/wx/doc/gen/text_entry_dialog.rb +4 -4
  413. data/lib/wx/doc/gen/text_validator.rb +3 -8
  414. data/lib/wx/doc/gen/time_picker_ctrl.rb +5 -5
  415. data/lib/wx/doc/gen/timer.rb +5 -5
  416. data/lib/wx/doc/gen/tip_provider.rb +2 -2
  417. data/lib/wx/doc/gen/toggle_button.rb +6 -6
  418. data/lib/wx/doc/gen/tool_bar.rb +32 -39
  419. data/lib/wx/doc/gen/tool_tip.rb +1 -9
  420. data/lib/wx/doc/gen/toolbook.rb +6 -6
  421. data/lib/wx/doc/gen/top_level_window.rb +27 -97
  422. data/lib/wx/doc/gen/tree_ctrl.rb +22 -22
  423. data/lib/wx/doc/gen/tree_event.rb +2 -2
  424. data/lib/wx/doc/gen/treebook.rb +14 -14
  425. data/lib/wx/doc/gen/ui_action_simulator.rb +19 -18
  426. data/lib/wx/doc/gen/utils.rb +12 -12
  427. data/lib/wx/doc/gen/v_list_box.rb +11 -11
  428. data/lib/wx/doc/gen/v_scrolled_window.rb +9 -9
  429. data/lib/wx/doc/gen/validator.rb +3 -3
  430. data/lib/wx/doc/gen/variant.rb +22 -22
  431. data/lib/wx/doc/gen/window.rb +162 -127
  432. data/lib/wx/doc/gen/with_images.rb +1 -1
  433. data/lib/wx/doc/gen/wizard.rb +4 -4
  434. data/lib/wx/doc/gen/wizard_event.rb +3 -3
  435. data/lib/wx/doc/gen/wizard_page.rb +2 -2
  436. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  437. data/lib/wx/doc/gen/wrap_sizer.rb +65 -0
  438. data/lib/wx/doc/gen/xml_node.rb +10 -10
  439. data/lib/wx/doc/gen/xml_resource.rb +12 -12
  440. data/lib/wx/doc/graphics_context.rb +59 -39
  441. data/lib/wx/doc/grid/grid.rb +16 -1
  442. data/lib/wx/doc/hboxsizer.rb +33 -0
  443. data/lib/wx/doc/help_controller.rb +6 -0
  444. data/lib/wx/doc/html/html_help_controller.rb +6 -0
  445. data/lib/wx/doc/icon.rb +13 -5
  446. data/lib/wx/doc/id_helper.rb +6 -0
  447. data/lib/wx/doc/image.rb +12 -4
  448. data/lib/wx/doc/list_ctrl.rb +6 -0
  449. data/lib/wx/doc/log.rb +17 -0
  450. data/lib/wx/doc/memory_dc.rb +6 -0
  451. data/lib/wx/doc/mirror_dc.rb +6 -0
  452. data/lib/wx/doc/pen.rb +6 -0
  453. data/lib/wx/doc/pg/events.rb +6 -0
  454. data/lib/wx/doc/pg/pg_property.rb +17 -0
  455. data/lib/wx/doc/pg/pgeditor.rb +6 -0
  456. data/lib/wx/doc/pg/property_grid.rb +6 -0
  457. data/lib/wx/doc/pg/property_grid_interface.rb +6 -0
  458. data/lib/wx/doc/progress_dialog.rb +6 -0
  459. data/lib/wx/doc/prt/page_setup_dialog.rb +6 -0
  460. data/lib/wx/doc/prt/print_data.rb +6 -0
  461. data/lib/wx/doc/prt/print_dialog.rb +6 -0
  462. data/lib/wx/doc/prt/printer.rb +6 -0
  463. data/lib/wx/doc/prt/printer_dc.rb +6 -0
  464. data/lib/wx/doc/radio_box.rb +6 -0
  465. data/lib/wx/doc/rbn/ribbon_bar.rb +6 -0
  466. data/lib/wx/doc/rbn/ribbon_button_bar.rb +6 -0
  467. data/lib/wx/doc/rbn/ribbon_gallery.rb +6 -0
  468. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +6 -0
  469. data/lib/wx/doc/region_iterator.rb +6 -0
  470. data/lib/wx/doc/rtc/richtext_buffer.rb +28 -0
  471. data/lib/wx/doc/rtc/richtext_formatting_dialog.rb +68 -0
  472. data/lib/wx/doc/rtc/richtext_printing.rb +6 -0
  473. data/lib/wx/doc/rtc/richtext_style_sheet.rb +20 -0
  474. data/lib/wx/doc/scaled_dc.rb +6 -0
  475. data/lib/wx/doc/screen_dc.rb +6 -0
  476. data/lib/wx/doc/stock_objects.rb +6 -0
  477. data/lib/wx/doc/stream.rb +6 -0
  478. data/lib/wx/doc/svg_file_dc.rb +6 -0
  479. data/lib/wx/doc/system_settings.rb +6 -0
  480. data/lib/wx/doc/text_validator.rb +6 -0
  481. data/lib/wx/doc/textctrl.rb +89 -0
  482. data/lib/wx/doc/tree_event.rb +20 -0
  483. data/lib/wx/doc/treebook.rb +6 -0
  484. data/lib/wx/doc/v_list_box.rb +6 -0
  485. data/lib/wx/doc/variant.rb +6 -0
  486. data/lib/wx/doc/vboxsizer.rb +33 -0
  487. data/lib/wx/doc/window.rb +11 -0
  488. data/lib/wx/doc/window_disabler.rb +6 -0
  489. data/lib/wx/doc/xml_resource.rb +8 -0
  490. data/lib/wx/global_const.rb +4 -1
  491. data/lib/wx/grid/grid.rb +23 -3
  492. data/lib/wx/grid/keyword_defs.rb +8 -1
  493. data/lib/wx/grid/require.rb +4 -1
  494. data/lib/wx/grid.rb +4 -1
  495. data/lib/wx/helpers.rb +8 -1
  496. data/lib/wx/html/htmlhelpcontroller.rb +29 -3
  497. data/lib/wx/html/htmlwindow.rb +23 -12
  498. data/lib/wx/html/keyword_defs.rb +8 -1
  499. data/lib/wx/html/require.rb +4 -1
  500. data/lib/wx/html/simple_html_listbox.rb +3 -0
  501. data/lib/wx/html.rb +4 -1
  502. data/lib/wx/keyword_ctors.rb +22 -3
  503. data/lib/wx/keyword_defs.rb +96 -7
  504. data/lib/wx/pg/events.rb +4 -1
  505. data/lib/wx/pg/keyword_defs.rb +8 -1
  506. data/lib/wx/pg/pg_editor.rb +3 -0
  507. data/lib/wx/pg/pg_properties.rb +4 -1
  508. data/lib/wx/pg/pg_property.rb +18 -5
  509. data/lib/wx/pg/property_grid.rb +4 -1
  510. data/lib/wx/pg/property_grid_interface.rb +3 -0
  511. data/lib/wx/pg/require.rb +4 -1
  512. data/lib/wx/pg.rb +4 -1
  513. data/lib/wx/prt/keyword_defs.rb +8 -1
  514. data/lib/wx/prt/page_setup_dialog.rb +3 -0
  515. data/lib/wx/prt/previewframe.rb +5 -0
  516. data/lib/wx/prt/require.rb +4 -1
  517. data/lib/wx/prt.rb +4 -1
  518. data/lib/wx/rbn/events.rb +4 -1
  519. data/lib/wx/rbn/keyword_defs.rb +8 -1
  520. data/lib/wx/rbn/require.rb +5 -1
  521. data/lib/wx/rbn/ribbon_art_provider.rb +3 -1
  522. data/lib/wx/rbn/ribbon_bar.rb +3 -0
  523. data/lib/wx/rbn/ribbon_button_bar.rb +3 -0
  524. data/lib/wx/rbn/ribbon_control.rb +3 -0
  525. data/lib/wx/rbn/ribbon_gallery.rb +10 -0
  526. data/lib/wx/rbn/ribbon_page.rb +3 -0
  527. data/lib/wx/rbn/ribbon_panel.rb +3 -0
  528. data/lib/wx/rbn/ribbon_tool_bar.rb +3 -0
  529. data/lib/wx/rbn.rb +4 -1
  530. data/lib/wx/rtc/ext.rb +4 -1
  531. data/lib/wx/rtc/keyword_defs.rb +18 -7
  532. data/lib/wx/rtc/require.rb +8 -1
  533. data/lib/wx/rtc/richtext_buffer.rb +36 -0
  534. data/lib/wx/rtc/richtext_formatting_dialog.rb +88 -0
  535. data/lib/wx/rtc/richtext_style_organiser_dialog.rb +46 -0
  536. data/lib/wx/rtc/symbol_picker_dialog.rb +47 -0
  537. data/lib/wx/rtc.rb +5 -1
  538. data/lib/wx/stc/keyword_defs.rb +8 -1
  539. data/lib/wx/stc/require.rb +4 -1
  540. data/lib/wx/stc.rb +4 -1
  541. data/lib/wx/version.rb +5 -1
  542. data/lib/wx/wxruby/base.rb +4 -1
  543. data/lib/wx/wxruby/cmd/sampler.rb +4 -1
  544. data/lib/wx/wxruby/cmd/test.rb +4 -1
  545. data/lib/wx.rb +4 -1
  546. data/lib/wxruby_aui.so +0 -0
  547. data/lib/wxruby_core.so +0 -0
  548. data/lib/wxruby_grid.so +0 -0
  549. data/lib/wxruby_html.so +0 -0
  550. data/lib/wxruby_pg.so +0 -0
  551. data/lib/wxruby_prt.so +0 -0
  552. data/lib/wxruby_rbn.so +0 -0
  553. data/lib/wxruby_rtc.so +0 -0
  554. data/lib/wxruby_stc.so +0 -0
  555. data/rakelib/install.rb +4 -1
  556. data/rakelib/lib/config/cygwin.rb +4 -1
  557. data/rakelib/lib/config/linux.rb +4 -1
  558. data/rakelib/lib/config/macosx.rb +6 -3
  559. data/rakelib/lib/config/mingw.rb +4 -1
  560. data/rakelib/lib/config/netbsd.rb +4 -1
  561. data/rakelib/lib/config/unixish.rb +10 -7
  562. data/rakelib/lib/config.rb +7 -2
  563. data/rakelib/lib/ext/enum_chain.rb +4 -1
  564. data/rakelib/prepost.rake +4 -1
  565. data/rakelib/prepost.rb +4 -1
  566. data/samples/aui/aui.rb +8 -3
  567. data/samples/bigdemo/bigdemo.rb +9 -2
  568. data/samples/bigdemo/run.rb +9 -2
  569. data/samples/bigdemo/utils.rb +9 -1
  570. data/samples/calendar/calendar.rb +9 -4
  571. data/samples/caret/caret.rb +8 -3
  572. data/samples/controls/books.rb +8 -2
  573. data/samples/controls/controls.rb +33 -77
  574. data/samples/controls/get_item_sample.rb +8 -2
  575. data/samples/controls/htlbox.rb +10 -3
  576. data/samples/dialogs/dialogs.rb +9 -4
  577. data/samples/dialogs/wizard.rb +8 -3
  578. data/samples/dragdrop/dragdrop.rb +8 -3
  579. data/samples/drawing/bitmap.rb +8 -3
  580. data/samples/drawing/bitmap_image.rb +8 -3
  581. data/samples/drawing/graphics_drawing.rb +44 -33
  582. data/samples/drawing/image_prt.rb +8 -2
  583. data/samples/drawing/maths_images.rb +8 -3
  584. data/samples/drawing/rmagic_bitmap_image.rb +8 -3
  585. data/samples/etc/choice.rb +8 -3
  586. data/samples/etc/miniframe.rb +8 -3
  587. data/samples/etc/sash.rb +8 -3
  588. data/samples/etc/scrollwin.rb +8 -3
  589. data/samples/etc/system_settings.rb +8 -3
  590. data/samples/event/activation.rb +8 -3
  591. data/samples/event/event.rb +8 -3
  592. data/samples/event/threaded.rb +8 -3
  593. data/samples/event/update_ui_event.rb +8 -3
  594. data/samples/grid/grid.rb +9 -3
  595. data/samples/grid/gridtablebase.rb +8 -3
  596. data/samples/html/html.rb +8 -3
  597. data/samples/mdi/mdi.rb +8 -3
  598. data/samples/minimal/minimal.rb +8 -3
  599. data/samples/minimal/nothing.rb +8 -3
  600. data/samples/printing/printing.rb +8 -3
  601. data/samples/printing/printing2.rb +8 -2
  602. data/samples/propgrid/propgrid.rb +4 -1
  603. data/samples/propgrid/propgrid_minimal.rb +4 -2
  604. data/samples/propgrid/sample_props.rb +4 -1
  605. data/samples/ribbon/ribbon.rb +4 -1
  606. data/samples/sampler/editor.rb +4 -1
  607. data/samples/sampler/ext.rb +4 -1
  608. data/samples/sampler/sample.rb +13 -4
  609. data/samples/sampler/stc_editor.rb +4 -1
  610. data/samples/sampler/txt_editor.rb +4 -1
  611. data/samples/sampler.rb +11 -3
  612. data/samples/splash/splash.rb +4 -2
  613. data/samples/text/art/richtext/alignleft.xpm +24 -0
  614. data/samples/text/art/richtext/alignright.xpm +24 -0
  615. data/samples/text/art/richtext/bold.xpm +24 -0
  616. data/samples/text/art/richtext/centre.xpm +24 -0
  617. data/samples/text/art/richtext/copy.xpm +45 -0
  618. data/samples/text/art/richtext/cut.xpm +47 -0
  619. data/samples/text/art/richtext/font.xpm +25 -0
  620. data/samples/text/art/richtext/idea.xpm +47 -0
  621. data/samples/text/art/richtext/indentless.xpm +25 -0
  622. data/samples/text/art/richtext/indentmore.xpm +25 -0
  623. data/samples/text/art/richtext/italic.xpm +25 -0
  624. data/samples/text/art/richtext/open.xpm +58 -0
  625. data/samples/text/art/richtext/paste.xpm +47 -0
  626. data/samples/text/art/richtext/redo.xpm +59 -0
  627. data/samples/text/art/richtext/save.xpm +43 -0
  628. data/samples/text/art/richtext/smiley.xpm +42 -0
  629. data/samples/text/art/richtext/underline.xpm +25 -0
  630. data/samples/text/art/richtext/undo.xpm +59 -0
  631. data/samples/text/art/richtext/zebra.xpm +409 -0
  632. data/samples/text/rich_textctrl.rb +8 -3
  633. data/samples/text/richtext.rb +1794 -0
  634. data/samples/text/scintilla.rb +8 -3
  635. data/samples/text/textctrl.rb +21 -4
  636. data/samples/text/tn_richtext.png +0 -0
  637. data/samples/text/unicode.rb +9 -4
  638. data/samples/treectrl/treectrl.rb +10 -5
  639. data/samples/xrc/custom_xrc_sample.rb +8 -3
  640. data/samples/xrc/xrc_sample.rb +8 -3
  641. data/tests/art/test_art/bitmap/wxruby-128x128.png +0 -0
  642. data/tests/art/test_art/bitmap/wxruby-256x256.png +0 -0
  643. data/tests/art/test_art/bitmap/wxruby-64x64.png +0 -0
  644. data/tests/lib/item_container_tests.rb +3 -0
  645. data/tests/lib/text_entry_tests.rb +3 -0
  646. data/tests/lib/wxapp_runner.rb +3 -0
  647. data/tests/lib/wxframe_runner.rb +81 -3
  648. data/tests/test_app_event_filter.rb +3 -0
  649. data/tests/test_app_exit_exception.rb +36 -0
  650. data/tests/test_app_init_exception.rb +20 -0
  651. data/tests/test_app_traits.rb +33 -0
  652. data/tests/test_art.rb +22 -0
  653. data/tests/test_art_provider.rb +3 -0
  654. data/tests/test_aui.rb +65 -0
  655. data/tests/test_basic.rb +5 -1
  656. data/tests/test_book_controls.rb +29 -0
  657. data/tests/test_box_sizer.rb +5 -2
  658. data/tests/test_clipboard.rb +3 -0
  659. data/tests/test_config.rb +150 -0
  660. data/tests/test_dc.rb +3 -0
  661. data/tests/test_dialog.rb +3 -0
  662. data/tests/test_event_handling.rb +3 -0
  663. data/tests/test_events.rb +3 -0
  664. data/tests/test_exceptions.rb +41 -0
  665. data/tests/test_ext_controls.rb +286 -3
  666. data/tests/test_file_dialog.rb +55 -0
  667. data/tests/test_font.rb +8 -5
  668. data/tests/test_gdi_object.rb +3 -0
  669. data/tests/test_geometry.rb +4 -0
  670. data/tests/test_grid_sizer.rb +7 -4
  671. data/tests/test_intl.rb +3 -0
  672. data/tests/test_item_data.rb +3 -0
  673. data/tests/test_list_ctrl.rb +4 -1
  674. data/tests/test_log.rb +63 -0
  675. data/tests/test_proof_check.rb +52 -0
  676. data/tests/test_richtext.rb +204 -0
  677. data/tests/test_sizer.rb +43 -0
  678. data/tests/test_std_controls.rb +81 -35
  679. data/tests/test_timer.rb +3 -0
  680. data/tests/test_variant.rb +3 -0
  681. data/tests/test_window.rb +10 -8
  682. data/tests/testapp.rb +4 -0
  683. data/tests/testapp_noframe.rb +4 -0
  684. metadata +86 -3
  685. data/lib/wx/doc/gen/html/html_help_frame.rb +0 -112
@@ -657,20 +657,20 @@ module Wx
657
657
  # childId is 0 (the action for this object) or greater than 0 (the action for a child).
658
658
  # {Wx::AccStatus::ACC_NOT_SUPPORTED} if there is no default action for this window (e.g. an edit control).
659
659
  # @param childId [Integer]
660
- # @return [AccStatus]
660
+ # @return [Wx::AccStatus]
661
661
  def do_default_action(childId) end
662
662
 
663
663
  # Gets the specified child (starting from 1).
664
664
  # If child is NULL and the return value is {Wx::AccStatus::ACC_OK}, this means that the child is a simple element and not an accessible object.
665
665
  # @param childId [Integer]
666
666
  # @param child [Wx::Accessible]
667
- # @return [AccStatus]
667
+ # @return [Wx::AccStatus]
668
668
  def get_child(childId, child) end
669
669
  alias_method :child, :get_child
670
670
 
671
671
  # Returns the number of children in childCount.
672
672
  # @param childCount [int]
673
- # @return [AccStatus]
673
+ # @return [Wx::AccStatus]
674
674
  def get_child_count(childCount) end
675
675
  alias_method :child_count, :get_child_count
676
676
 
@@ -679,14 +679,14 @@ module Wx
679
679
  # the current document."
680
680
  # @param childId [Integer]
681
681
  # @param actionName [String]
682
- # @return [AccStatus]
682
+ # @return [Wx::AccStatus]
683
683
  def get_default_action(childId, actionName) end
684
684
  alias_method :default_action, :get_default_action
685
685
 
686
686
  # Returns the description for this object or a child.
687
687
  # @param childId [Integer]
688
688
  # @param description [String]
689
- # @return [AccStatus]
689
+ # @return [Wx::AccStatus]
690
690
  def get_description(childId, description) end
691
691
  alias_method :description, :get_description
692
692
 
@@ -694,14 +694,14 @@ module Wx
694
694
  # If childId is 0 and child is NULL, no object in this subhierarchy has the focus. If this object has the focus, child should be 'this'.
695
695
  # @param childId [int]
696
696
  # @param child [Wx::Accessible]
697
- # @return [AccStatus]
697
+ # @return [Wx::AccStatus]
698
698
  def get_focus(childId, child) end
699
699
  alias_method :focus, :get_focus
700
700
 
701
701
  # Returns help text for this object or a child, similar to tooltip text.
702
702
  # @param childId [Integer]
703
703
  # @param helpText [String]
704
- # @return [AccStatus]
704
+ # @return [Wx::AccStatus]
705
705
  def get_help_text(childId, helpText) end
706
706
  alias_method :help_text, :get_help_text
707
707
 
@@ -709,7 +709,7 @@ module Wx
709
709
  # Returns e.g. ALT+K.
710
710
  # @param childId [Integer]
711
711
  # @param shortcut [String]
712
- # @return [AccStatus]
712
+ # @return [Wx::AccStatus]
713
713
  def get_keyboard_shortcut(childId, shortcut) end
714
714
  alias_method :keyboard_shortcut, :get_keyboard_shortcut
715
715
 
@@ -717,20 +717,20 @@ module Wx
717
717
  # rect is in screen coordinates.
718
718
  # @param rect [Wx::Rect]
719
719
  # @param elementId [Integer]
720
- # @return [AccStatus]
720
+ # @return [Wx::AccStatus]
721
721
  def get_location(rect, elementId) end
722
722
  alias_method :location, :get_location
723
723
 
724
724
  # Gets the name of the specified object.
725
725
  # @param childId [Integer]
726
726
  # @param name [String]
727
- # @return [AccStatus]
727
+ # @return [Wx::AccStatus]
728
728
  def get_name(childId, name) end
729
729
  alias_method :name, :get_name
730
730
 
731
731
  # Returns the parent of this object, or NULL.
732
732
  # @param parent [Wx::Accessible]
733
- # @return [AccStatus]
733
+ # @return [Wx::AccStatus]
734
734
  def get_parent(parent) end
735
735
  alias_method :parent, :get_parent
736
736
 
@@ -738,7 +738,7 @@ module Wx
738
738
  # See {Wx::AccRole} for a list of these roles.
739
739
  # @param childId [Integer]
740
740
  # @param role [Wx::AccRole]
741
- # @return [AccStatus]
741
+ # @return [Wx::AccStatus]
742
742
  def get_role(childId, role) end
743
743
  alias_method :role, :get_role
744
744
 
@@ -753,7 +753,7 @@ module Wx
753
753
  #
754
754
  # - a list variant (<code>GetType()</code> <code>==</code> <code>"list"</code>) if multiple child objects are selected
755
755
  # @param selections [Wx::Variant]
756
- # @return [AccStatus]
756
+ # @return [Wx::AccStatus]
757
757
  def get_selections(selections) end
758
758
  alias_method :selections, :get_selections
759
759
 
@@ -761,14 +761,14 @@ module Wx
761
761
  # See {Wx::AccStatus} for a list of these states.
762
762
  # @param childId [Integer]
763
763
  # @param state [long]
764
- # @return [AccStatus]
764
+ # @return [Wx::AccStatus]
765
765
  def get_state(childId, state) end
766
766
  alias_method :state, :get_state
767
767
 
768
768
  # Returns a localized string representing the value for the object or child.
769
769
  # @param childId [Integer]
770
770
  # @param strValue [String]
771
- # @return [AccStatus]
771
+ # @return [Wx::AccStatus]
772
772
  def get_value(childId, strValue) end
773
773
  alias_method :value, :get_value
774
774
 
@@ -783,22 +783,22 @@ module Wx
783
783
  # @param pt [Array(Integer, Integer), Wx::Point]
784
784
  # @param childId [int]
785
785
  # @param childObject [Wx::Accessible]
786
- # @return [AccStatus]
786
+ # @return [Wx::AccStatus]
787
787
  def hit_test(pt, childId, childObject) end
788
788
 
789
789
  # Navigates from fromId to toId or to toObject.
790
- # @param navDir [NavDir]
790
+ # @param navDir [Wx::NavDir]
791
791
  # @param fromId [Integer]
792
792
  # @param toId [int]
793
793
  # @param toObject [Wx::Accessible]
794
- # @return [AccStatus]
794
+ # @return [Wx::AccStatus]
795
795
  def navigate(navDir, fromId, toId, toObject) end
796
796
 
797
797
  # Selects the object or child.
798
798
  # See {Wx::AccSelectionFlags} for a list of the selection actions.
799
799
  # @param childId [Integer]
800
- # @param selectFlags [AccSelectionFlags]
801
- # @return [AccStatus]
800
+ # @param selectFlags [Wx::AccSelectionFlags]
801
+ # @return [Wx::AccStatus]
802
802
  def select(childId, selectFlags) end
803
803
 
804
804
  # Sets the window associated with this object.
@@ -810,7 +810,7 @@ module Wx
810
810
  # Allows the application to send an event when something changes in an accessible object.
811
811
  # @param eventType [Integer]
812
812
  # @param window [Wx::Window]
813
- # @param objectType [AccObject]
813
+ # @param objectType [Wx::AccObject]
814
814
  # @param objectId [Integer]
815
815
  # @return [void]
816
816
  def self.notify_event(eventType, window, objectType, objectId) end
@@ -20,7 +20,7 @@ module Wx
20
20
  # Default constructor.
21
21
  # Use {Wx::ActivityIndicator#create} to really create the control after using this constructor.
22
22
  # @return [Wx::ActivityIndicator]
23
- # @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("activityindicator"))
23
+ # @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("ACTIVITYINDICATOR"))
24
24
  # Constructor fully creating the control.
25
25
  # The arguments have the usual meanings and only parent is typically required.
26
26
  # @param parent [Wx::Window]
@@ -40,8 +40,8 @@ module Wx
40
40
  # @param size [Array(Integer, Integer), Wx::Size]
41
41
  # @param style [Integer]
42
42
  # @param name [String]
43
- # @return [true,false]
44
- def create(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("activityindicator")) end
43
+ # @return [Boolean]
44
+ def create(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("ACTIVITYINDICATOR")) end
45
45
 
46
46
  # Starts animation of the indicator.
47
47
  # Does nothing if the indicator is already running.
@@ -55,7 +55,7 @@ module Wx
55
55
 
56
56
  # Returns true if the control is currently showing activity.
57
57
  # Returns false initially, true once {Wx::ActivityIndicator#start} is called and false again after calling {Wx::ActivityIndicator#stop}.
58
- # @return [true,false]
58
+ # @return [Boolean]
59
59
  def is_running; end
60
60
  alias_method :running?, :is_running
61
61
 
@@ -82,7 +82,7 @@ module Wx
82
82
  #
83
83
  # @see Wx::AnimationCtrl#create_animation
84
84
  # @param name [String] A filename.
85
- # @param type [AnimationType] One of the {Wx::AnimationType} values; {Wx::AnimationType::ANIMATION_TYPE_ANY} means that the function should try to autodetect the filetype.
85
+ # @param type [Wx::AnimationType] One of the {Wx::AnimationType} values; {Wx::AnimationType::ANIMATION_TYPE_ANY} means that the function should try to autodetect the filetype.
86
86
  # @return [Wx::Animation]
87
87
  # @overload initialize(other)
88
88
  # Copy constructor.
@@ -91,7 +91,7 @@ module Wx
91
91
  def initialize(*args) end
92
92
 
93
93
  # Returns true if animation data is present.
94
- # @return [true,false]
94
+ # @return [Boolean]
95
95
  def is_ok; end
96
96
  alias_method :ok?, :is_ok
97
97
 
@@ -123,15 +123,15 @@ module Wx
123
123
  # Loads an animation from a file.
124
124
  # true if the operation succeeded, false otherwise.
125
125
  # @param name [String] A filename.
126
- # @param type [AnimationType] One of the {Wx::AnimationType} values; {Wx::AnimationType::ANIMATION_TYPE_ANY} means that the function should try to autodetect the filetype.
127
- # @return [true,false]
126
+ # @param type [Wx::AnimationType] One of the {Wx::AnimationType} values; {Wx::AnimationType::ANIMATION_TYPE_ANY} means that the function should try to autodetect the filetype.
127
+ # @return [Boolean]
128
128
  def load_file(name, type=Wx::AnimationType::ANIMATION_TYPE_ANY) end
129
129
 
130
130
  # Loads an animation from the given stream.
131
131
  # true if the operation succeeded, false otherwise.
132
132
  # @param stream [IO,Wx::InputStream] The stream to use to load the animation. Under wxGTK may be any kind of stream; under other platforms this must be a seekable stream.
133
- # @param type [AnimationType] One of the {Wx::AnimationType} enumeration values.
134
- # @return [true,false]
133
+ # @param type [Wx::AnimationType] One of the {Wx::AnimationType} enumeration values.
134
+ # @return [Boolean]
135
135
  def load(stream, type=Wx::AnimationType::ANIMATION_TYPE_ANY) end
136
136
 
137
137
  # Returns the list of animation decoders used by the generic animation and {Wx::GenericAnimationCtrl}.
@@ -149,7 +149,7 @@ module Wx
149
149
  def self.insert_handler(handler) end
150
150
 
151
151
  # Search for an animation decoder by type.
152
- # @param animType [AnimationType]
152
+ # @param animType [Wx::AnimationType]
153
153
  # @return [Wx::AnimationDecoder]
154
154
  def self.find_handler(animType) end
155
155
 
@@ -175,12 +175,12 @@ module Wx
175
175
 
176
176
  # Load the animation image frames from the given stream.
177
177
  # @param stream [IO,Wx::InputStream]
178
- # @return [true,false]
178
+ # @return [Boolean]
179
179
  def load(stream) end
180
180
 
181
181
  # Returns true if this decoder supports loading from the given stream.
182
182
  # @param stream [IO,Wx::InputStream]
183
- # @return [true,false]
183
+ # @return [Boolean]
184
184
  def can_read(stream) end
185
185
  alias_method :can_read?, :can_read
186
186
 
@@ -189,13 +189,13 @@ module Wx
189
189
  def clone; end
190
190
 
191
191
  # Return the animation type this decoder implements.
192
- # @return [AnimationType]
192
+ # @return [Wx::AnimationType]
193
193
  def get_type; end
194
194
  alias_method :type, :get_type
195
195
 
196
196
  # Convert given frame to {Wx::Image}.
197
197
  # @param frame [Integer]
198
- # @return [Array(true,false,Wx::Image)]
198
+ # @return [Array(Boolean,Wx::Image)]
199
199
  def convert_to_image(frame) end
200
200
 
201
201
  # @param frame [Integer]
@@ -210,7 +210,7 @@ module Wx
210
210
 
211
211
  # What should be done after displaying this frame.
212
212
  # @param frame [Integer]
213
- # @return [AnimationDisposal]
213
+ # @return [Wx::AnimationDisposal]
214
214
  def get_disposal_method(frame) end
215
215
  alias_method :disposal_method, :get_disposal_method
216
216
 
@@ -244,7 +244,7 @@ module Wx
244
244
 
245
245
  # Checks the signature of the data in the given stream and returns true if it appears to be a valid animation format recognized by the animation decoder; this function should modify the stream current position without taking care of restoring it since <code>Wx::AnimationDecoder#can_read</code> will do it.
246
246
  # @param stream [IO,Wx::InputStream]
247
- # @return [true,false]
247
+ # @return [Boolean]
248
248
  def do_can_read(stream) end
249
249
 
250
250
  end # AnimationDecoder
@@ -42,7 +42,7 @@ module Wx
42
42
  # @param style [Integer]
43
43
  # @param name [String]
44
44
  # @return [Wx::AnimationCtrl]
45
- def initialize(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::AnimationCtrlNameStr) end
45
+ def initialize(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::ANIMATION_CTRL_NAME_STR) end
46
46
 
47
47
  # Creates the control with the given anim animation.
48
48
  # After control creation you must explicitly call {Wx::AnimationCtrl#play} to start to play the animation. Until that function won't be called, the first frame of the animation is displayed.
@@ -55,8 +55,8 @@ module Wx
55
55
  # @param size [Array(Integer, Integer), Wx::Size] Initial size.
56
56
  # @param style [Integer] The window style, see {Wx::AC_}* flags.
57
57
  # @param name [String] Control name.
58
- # @return [true,false]
59
- def create(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::AnimationCtrlNameStr) end
58
+ # @return [Boolean]
59
+ def create(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::ANIMATION_CTRL_NAME_STR) end
60
60
 
61
61
  # Create a new animation object compatible with this control.
62
62
  # A {Wx::Animation} object created using this function is always compatible with controls of this type, see {Wx::Animation#is_compatible_with}.
@@ -75,27 +75,27 @@ module Wx
75
75
  alias_method :inactive_bitmap, :get_inactive_bitmap
76
76
 
77
77
  # Returns true if the animation is being played.
78
- # @return [true,false]
78
+ # @return [Boolean]
79
79
  def is_playing; end
80
80
  alias_method :playing?, :is_playing
81
81
 
82
82
  # Loads the animation from the given file and calls {Wx::AnimationCtrl#set_animation}.
83
83
  # See {Wx::Animation#load_file} for more info.
84
84
  # @param file [String]
85
- # @param animType [AnimationType]
86
- # @return [true,false]
85
+ # @param animType [Wx::AnimationType]
86
+ # @return [Boolean]
87
87
  def load_file(file, animType=Wx::AnimationType::ANIMATION_TYPE_ANY) end
88
88
 
89
89
  # Loads the animation from the given stream and calls {Wx::AnimationCtrl#set_animation}.
90
90
  # See {Wx::Animation#load} for more info.
91
91
  # @param file [IO,Wx::InputStream]
92
- # @param animType [AnimationType]
93
- # @return [true,false]
92
+ # @param animType [Wx::AnimationType]
93
+ # @return [Boolean]
94
94
  def load(file, animType=Wx::AnimationType::ANIMATION_TYPE_ANY) end
95
95
 
96
96
  # Starts playing the animation.
97
97
  # The animation is always played in loop mode (unless the last frame of the animation has an infinite delay time) and always start from the first frame even if you {Wx::stopped} it while some other frame was displayed.
98
- # @return [true,false]
98
+ # @return [Boolean]
99
99
  def play; end
100
100
 
101
101
  # Sets the animation to play in this control.
@@ -100,7 +100,7 @@ module Wx
100
100
  # @see Wx::AnyButton#set_bitmap_position
101
101
  # @see Wx::AnyButton#set_bitmap_margins
102
102
  # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] The bitmap bundle containing the resolution-dependent bitmaps to display in the button. At default DPI, the size of the bitmap is determined by the default bundle size, i.e. the value returned from {Wx::BitmapBundle#get_default_size}. If the bitmap bundle is invalid, any currently shown bitmaps are removed from the button.
103
- # @param dir [Direction] The position of the bitmap inside the button. By default it is positioned to the left of the text, near to the left button border. Other possible values include {Wx::Direction::RIGHT}, {Wx::Direction::TOP} and {Wx::Direction::BOTTOM}.
103
+ # @param dir [Wx::Direction] The position of the bitmap inside the button. By default it is positioned to the left of the text, near to the left button border. Other possible values include {Wx::Direction::RIGHT}, {Wx::Direction::TOP} and {Wx::Direction::BOTTOM}.
104
104
  # @return [void]
105
105
  def set_bitmap(bitmap, dir=Wx::Direction::LEFT) end
106
106
  alias_method :bitmap=, :set_bitmap
@@ -159,7 +159,7 @@ module Wx
159
159
 
160
160
  # Set the position at which the bitmap is displayed.
161
161
  # This method should only be called if the button does have an associated bitmap.
162
- # @param dir [Direction] Direction in which the bitmap should be positioned, one of {Wx::Direction::LEFT}, {Wx::Direction::RIGHT}, {Wx::Direction::TOP} or {Wx::Direction::BOTTOM}.
162
+ # @param dir [Wx::Direction] Direction in which the bitmap should be positioned, one of {Wx::Direction::LEFT}, {Wx::Direction::RIGHT}, {Wx::Direction::TOP} or {Wx::Direction::BOTTOM}.
163
163
  # @return [void]
164
164
  def set_bitmap_position(dir) end
165
165
  alias_method :bitmap_position=, :set_bitmap_position
@@ -38,89 +38,27 @@ module Wx
38
38
  #
39
39
  class App < EvtHandler
40
40
 
41
- # Called in response of an "open-application" Apple event.
42
- # Override this to create a new document in your app.
43
- # Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
44
- # @return [void]
45
- def mac_new_file; end
46
-
47
- # Called in response of an openFiles message.
48
- # You need to override this method in order to open one or more document files after the user double clicked on it or if the files and/or folders were dropped on either the application in the dock or the application icon in Finder.
49
- # By default this method calls MacOpenFile for each file/folder.
50
- # Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
51
- # @param fileNames [Array<String>]
52
- # @return [void]
53
- def mac_open_files(fileNames) end
54
-
55
- # Called in response of a "get-url" Apple event.
56
- # Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
57
- # @param url [String]
58
- # @return [void]
59
- def mac_open_url(url) end
60
-
61
- # Called in response of a "print-document" Apple event.
62
- # Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
63
- # @param fileName [String]
64
- # @return [void]
65
- def mac_print_file(fileName) end
66
-
67
- # Called in response of a "reopen-application" Apple event.
68
- # Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
69
- # @return [void]
70
- def mac_reopen_app; end
71
-
72
- # May be overridden to indicate that the application is not a foreground GUI application under macOS.
73
- # This method is called during the application startup and returns true by default. In this case, wxWidgets ensures that the application is ran as a foreground, GUI application so that the user can interact with it normally, even if it is not bundled. If this is undesired, i.e. if the application doesn't need to be brought to the foreground, this method can be overridden to return false.
74
- # Notice that overriding it doesn't make any difference for the bundled applications which are always foreground unless LSBackgroundOnly key is specified in the Info.plist file.
75
- # Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
76
- # @return [true,false]
77
- def osx_is_gui_application; end
78
-
79
- # Enable the automatic tabbing features of macOS.
80
- # This feature is native to the operating system. When it is enabled, macOS will automatically place windows inside tabs and show a tab bar in the application. Entries are also added to the View menu to show/hide the tab bar.
81
- # Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
82
- # Requires macOS 10.12+, does nothing under earlier OS versions.
83
- # @param enable [true,false]
84
- # @return [void]
85
- def osx_enable_automatic_tabbing(enable) end
86
-
87
- # Disables the printing of various GTK messages.
88
- # This function can be called to suppress GTK diagnostic messages that are output on the standard error stream by default.
89
- # The default value of the argument disables all messages, but you can pass in a mask flag to specifically disable only particular categories of messages.
90
- # Note that this function only works when using glib 2.50 (released in September 2016) or later and does nothing with the older versions of the library.
91
- #
92
- # Availability: only available for the wxGTK port. {Wx::gtk}
93
- # @param flags [Integer] The mask for the types of messages to suppress. Refer to the glib documentation for the GLogLevelFlags enum, which defines the various message types.
94
- # @return [void]
95
- def self.gtk_suppress_diagnostics(flags=-1) end
96
-
97
41
  # Constructor.
98
42
  # Called implicitly with a definition of a {Wx::App} object.
99
43
  # @return [Wx::App]
100
44
  def initialize; end
101
45
 
102
- # Get display mode that is used use.
103
- # This is only used in framebuffer wxWidgets ports such as {Wx::DFB}.
104
- # @return [Wx::VideoMode]
105
- def get_display_mode; end
106
- alias_method :display_mode, :get_display_mode
107
-
108
46
  # Returns true if the application will exit when the top-level frame is deleted.
109
47
  #
110
48
  # @see Wx::App#set_exit_on_frame_delete
111
- # @return [true,false]
49
+ # @return [Boolean]
112
50
  def get_exit_on_frame_delete; end
113
51
  alias_method :exit_on_frame_delete, :get_exit_on_frame_delete
114
52
 
115
53
  # Return the layout direction for the current locale or {Wx::LayoutDirection::Layout_Default} if it's unknown.
116
- # @return [LayoutDirection]
54
+ # @return [Wx::LayoutDirection]
117
55
  def get_layout_direction; end
118
56
  alias_method :layout_direction, :get_layout_direction
119
57
 
120
58
  # Returns true if the application will use the best visual on systems that support different visuals, false otherwise.
121
59
  #
122
60
  # @see Wx::App#set_use_best_visual
123
- # @return [true,false]
61
+ # @return [Boolean]
124
62
  def get_use_best_visual; end
125
63
  alias_method :use_best_visual, :get_use_best_visual
126
64
 
@@ -133,7 +71,7 @@ module Wx
133
71
 
134
72
  # Returns true if the application is active, i.e. if one of its windows is currently in the foreground.
135
73
  # If this function returns false and you need to attract users attention to the application, you may use {Wx::TopLevelWindow#request_user_attention} to do it.
136
- # @return [true,false]
74
+ # @return [Boolean]
137
75
  def is_active; end
138
76
  alias_method :active?, :is_active
139
77
 
@@ -141,29 +79,22 @@ module Wx
141
79
  # If win is not NULL, this window will remain enabled, allowing the implementation of some limited user interaction. Returns the result of the call to Wx::AppConsole::Yield.
142
80
  # @see safe_yield
143
81
  # @param win [Wx::Window]
144
- # @param onlyIfNeeded [true,false]
145
- # @return [true,false]
82
+ # @param onlyIfNeeded [Boolean]
83
+ # @return [Boolean]
146
84
  def safe_yield(win, onlyIfNeeded) end
147
85
 
148
86
  # Works like {Wx::App#safe_yield} with onlyIfNeeded == true except that it allows the caller to specify a mask of events to be processed.
149
87
  # See Wx::AppConsole::YieldFor for more info.
150
88
  # @param win [Wx::Window]
151
89
  # @param eventsToProcess [Integer]
152
- # @return [true,false]
90
+ # @return [Boolean]
153
91
  def safe_yield_for(win, eventsToProcess) end
154
92
 
155
- # Set display mode to use.
156
- # This is only used in framebuffer wxWidgets ports such as {Wx::DFB}.
157
- # @param info [Wx::VideoMode]
158
- # @return [true,false]
159
- def set_display_mode(info) end
160
- alias_method :display_mode=, :set_display_mode
161
-
162
93
  # Allows the programmer to specify whether the application will exit when the top-level frame is deleted.
163
94
  #
164
95
  # @see Wx::App#get_exit_on_frame_delete
165
96
  # @see Application Shutdown
166
- # @param flag [true,false] If true (the default), the application will exit when the top-level frame is deleted. If false, the application will continue to run.
97
+ # @param flag [Boolean] If true (the default), the application will exit when the top-level frame is deleted. If false, the application will continue to run.
167
98
  # @return [void]
168
99
  def set_exit_on_frame_delete(flag) end
169
100
  alias_method :exit_on_frame_delete=, :set_exit_on_frame_delete
@@ -171,7 +102,7 @@ module Wx
171
102
  # Allows runtime switching of the UI environment theme.
172
103
  # Currently implemented for wxGTK2-only. Return true if theme was successfully changed.
173
104
  # @param theme [String] The name of the new theme or an absolute path to a gtkrc-theme-file
174
- # @return [true,false]
105
+ # @return [Boolean]
175
106
  def set_native_theme(theme) end
176
107
  alias_method :native_theme=, :set_native_theme
177
108
 
@@ -192,8 +123,8 @@ module Wx
192
123
  # Allows the programmer to specify whether the application will use the best visual on systems that support several visual on the same display.
193
124
  # This is typically the case under Solaris and IRIX, where the default visual is only 8-bit whereas certain applications are supposed to run in TrueColour mode.
194
125
  # Note that this function has to be called in the constructor of the {Wx::App} instance and won't have any effect when called later on. This function currently only has effect under GTK.
195
- # @param flag [true,false] If true, the app will use the best visual.
196
- # @param forceTrueColour [true,false] If true then the application will try to force using a TrueColour visual and abort the app if none is found.
126
+ # @param flag [Boolean] If true, the app will use the best visual.
127
+ # @param forceTrueColour [Boolean] If true then the application will try to force using a TrueColour visual and abort the app if none is found.
197
128
  # @return [void]
198
129
  def set_use_best_visual(flag, forceTrueColour=false) end
199
130
  alias_method :use_best_visual=, :set_use_best_visual
@@ -219,7 +150,7 @@ module Wx
219
150
  # Returns true if the application is using an event loop.
220
151
  # This function always returns true for the GUI applications which must use an event loop but by default only returns true for the console programs if an event loop is already running as it can't know whether one will be created in the future.
221
152
  # Thus, it only makes sense to override it in console applications which do use an event loop, to return true instead of checking if there is a currently active event loop.
222
- # @return [true,false]
153
+ # @return [Boolean]
223
154
  def uses_event_loop; end
224
155
 
225
156
  # Process all pending events; it is necessary to call this function to process events posted with {Wx::EvtHandler#queue_event} or {Wx::EvtHandler#add_pending_event}.
@@ -236,7 +167,7 @@ module Wx
236
167
 
237
168
  # Returns true if there are pending events on the internal pending event list.
238
169
  # Whenever {Wx::EvtHandler#queue_event} or {Wx::EvtHandler#add_pending_event} are called (not only for {Wx::App} itself, but for any event handler of the application!), the internal {Wx::App}'s list of handlers with pending events is updated and this function will return true.
239
- # @return [true,false]
170
+ # @return [Boolean]
240
171
  def has_pending_events; end
241
172
  alias_method :has_pending_events?, :has_pending_events
242
173
 
@@ -342,8 +273,8 @@ module Wx
342
273
  # Yields control to pending messages in the event loop.
343
274
  # This method is a convenient wrapper for Wx::EvtLoopBase#yield. If the main loop is currently running, it calls this method on it. Otherwise it creates a temporary event loop and uses it instead, which can be useful to process pending messages during the program startup, before the main loop is created.
344
275
  # Use extreme caution when calling this function as, just as Wx::EvtLoopBase#yield, it can result in unexpected reentrances.
345
- # @param onlyIfNeeded [true,false]
346
- # @return [true,false]
276
+ # @param onlyIfNeeded [Boolean]
277
+ # @return [Boolean]
347
278
  def yield(onlyIfNeeded=false) end
348
279
 
349
280
  # Sets the C locale to the default locale for the current environment.
@@ -363,7 +294,7 @@ module Wx
363
294
 
364
295
  # Returns true if the main event loop is currently running, i.e. if the application is inside {Wx::App#on_run}.
365
296
  # This can be useful to test whether events can be dispatched. For example, if this function returns false, non-blocking sockets cannot be used because the events from them would never be processed.
366
- # @return [true,false]
297
+ # @return [Boolean]
367
298
  def self.is_main_loop_running; end
368
299
 
369
300
  end # App