wxruby3 0.9.0-x64-mingw-ucrt → 0.9.2-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (466) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/ext/wxbase32u_gcc_custom.dll +0 -0
  4. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  5. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  6. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  7. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  18. data/lib/wx/aui/aui_tab_ctrl.rb +18 -0
  19. data/lib/wx/aui/auinotebook.rb +6 -2
  20. data/lib/wx/aui/require.rb +1 -0
  21. data/lib/wx/core/app.rb +2 -2
  22. data/lib/wx/core/collapsible_pane.rb +1 -1
  23. data/lib/wx/core/const.rb +83 -0
  24. data/lib/wx/core/controlwithitems.rb +8 -6
  25. data/lib/wx/core/events/evt_list.rb +24 -0
  26. data/lib/wx/core/menu.rb +10 -0
  27. data/lib/wx/core/notebook.rb +6 -2
  28. data/lib/wx/core/sizer.rb +11 -0
  29. data/lib/wx/core/task_bar_button.rb +19 -0
  30. data/lib/wx/core/textctrl.rb +11 -1
  31. data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
  32. data/lib/wx/core/window.rb +10 -0
  33. data/lib/wx/doc/app.rb +48 -38
  34. data/lib/wx/doc/art_locator.rb +47 -43
  35. data/lib/wx/doc/aui/auimanager.rb +16 -8
  36. data/lib/wx/doc/aui/auinotebook.rb +20 -5
  37. data/lib/wx/doc/clipboard.rb +11 -7
  38. data/lib/wx/doc/colour_dialog.rb +14 -10
  39. data/lib/wx/doc/const.rb +66 -66
  40. data/lib/wx/doc/controlwithitems.rb +17 -7
  41. data/lib/wx/doc/data_object.rb +2 -2
  42. data/lib/wx/doc/event.rb +0 -6
  43. data/lib/wx/doc/evthandler.rb +113 -108
  44. data/lib/wx/doc/font.rb +1 -0
  45. data/lib/wx/doc/functions.rb +9 -9
  46. data/lib/wx/doc/gc_dc.rb +6 -1
  47. data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
  48. data/lib/wx/doc/gen/accelerator.rb +14 -5
  49. data/lib/wx/doc/gen/accessible.rb +35 -47
  50. data/lib/wx/doc/gen/activity_indicator.rb +6 -7
  51. data/lib/wx/doc/gen/animation.rb +7 -3
  52. data/lib/wx/doc/gen/animation_ctrl.rb +8 -9
  53. data/lib/wx/doc/gen/any_button.rb +6 -1
  54. data/lib/wx/doc/gen/app.rb +7 -5
  55. data/lib/wx/doc/gen/app_traits.rb +27 -10
  56. data/lib/wx/doc/gen/art_provider.rb +20 -8
  57. data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
  58. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
  59. data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
  60. data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
  61. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +3 -2
  62. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
  63. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +8 -3
  64. data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
  65. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
  66. data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
  67. data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
  68. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
  69. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
  70. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
  71. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
  72. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
  73. data/lib/wx/doc/gen/aui/event_list.rb +164 -160
  74. data/lib/wx/doc/gen/banner_window.rb +3 -3
  75. data/lib/wx/doc/gen/bitmap.rb +34 -17
  76. data/lib/wx/doc/gen/bitmap_button.rb +13 -10
  77. data/lib/wx/doc/gen/bitmap_combo_box.rb +16 -12
  78. data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
  79. data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
  80. data/lib/wx/doc/gen/box_sizer.rb +0 -1
  81. data/lib/wx/doc/gen/brush.rb +5 -2
  82. data/lib/wx/doc/gen/busy_info.rb +2 -2
  83. data/lib/wx/doc/gen/button.rb +25 -13
  84. data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
  85. data/lib/wx/doc/gen/calendar_ctrl.rb +18 -15
  86. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  87. data/lib/wx/doc/gen/calendar_event.rb +4 -3
  88. data/lib/wx/doc/gen/caret.rb +0 -1
  89. data/lib/wx/doc/gen/check_box.rb +9 -9
  90. data/lib/wx/doc/gen/check_list_box.rb +8 -9
  91. data/lib/wx/doc/gen/choice.rb +18 -11
  92. data/lib/wx/doc/gen/choicebook.rb +6 -7
  93. data/lib/wx/doc/gen/client_dc.rb +5 -2
  94. data/lib/wx/doc/gen/clipboard.rb +7 -3
  95. data/lib/wx/doc/gen/collapsible_pane.rb +8 -9
  96. data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
  97. data/lib/wx/doc/gen/colour.rb +8 -4
  98. data/lib/wx/doc/gen/colour_dialog.rb +6 -8
  99. data/lib/wx/doc/gen/colour_picker_ctrl.rb +11 -12
  100. data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
  101. data/lib/wx/doc/gen/combo_box.rb +20 -17
  102. data/lib/wx/doc/gen/combo_ctrl.rb +100 -37
  103. data/lib/wx/doc/gen/command_link_button.rb +6 -7
  104. data/lib/wx/doc/gen/context_help_button.rb +7 -3
  105. data/lib/wx/doc/gen/control.rb +12 -10
  106. data/lib/wx/doc/gen/control_with_items.rb +0 -1
  107. data/lib/wx/doc/gen/core.rb +4 -4
  108. data/lib/wx/doc/gen/cursor.rb +6 -8
  109. data/lib/wx/doc/gen/data_format.rb +6 -1
  110. data/lib/wx/doc/gen/data_object.rb +16 -14
  111. data/lib/wx/doc/gen/date_event.rb +2 -2
  112. data/lib/wx/doc/gen/date_picker_ctrl.rb +14 -10
  113. data/lib/wx/doc/gen/dc.rb +155 -37
  114. data/lib/wx/doc/gen/defs.rb +54 -54
  115. data/lib/wx/doc/gen/dial_up_event.rb +41 -0
  116. data/lib/wx/doc/gen/dial_up_manager.rb +137 -0
  117. data/lib/wx/doc/gen/dialog.rb +35 -15
  118. data/lib/wx/doc/gen/dir_dialog.rb +17 -5
  119. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
  120. data/lib/wx/doc/gen/dir_picker_ctrl.rb +11 -12
  121. data/lib/wx/doc/gen/drag_drop.rb +11 -10
  122. data/lib/wx/doc/gen/drag_image.rb +6 -2
  123. data/lib/wx/doc/gen/editable_list_box.rb +4 -4
  124. data/lib/wx/doc/gen/event.rb +42 -20
  125. data/lib/wx/doc/gen/event_blocker.rb +1 -3
  126. data/lib/wx/doc/gen/event_list.rb +1656 -1624
  127. data/lib/wx/doc/gen/events.rb +170 -181
  128. data/lib/wx/doc/gen/evt_handler.rb +11 -3
  129. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  130. data/lib/wx/doc/gen/file_ctrl.rb +209 -0
  131. data/lib/wx/doc/gen/file_ctrl_event.rb +79 -0
  132. data/lib/wx/doc/gen/file_dialog.rb +32 -15
  133. data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
  134. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
  135. data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
  136. data/lib/wx/doc/gen/file_picker_ctrl.rb +10 -11
  137. data/lib/wx/doc/gen/file_system.rb +38 -15
  138. data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
  139. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  140. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  141. data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -1
  142. data/lib/wx/doc/gen/font.rb +31 -20
  143. data/lib/wx/doc/gen/font_data.rb +3 -4
  144. data/lib/wx/doc/gen/font_dialog.rb +1 -2
  145. data/lib/wx/doc/gen/font_picker_ctrl.rb +8 -9
  146. data/lib/wx/doc/gen/font_picker_event.rb +2 -3
  147. data/lib/wx/doc/gen/frame.rb +60 -19
  148. data/lib/wx/doc/gen/fs_file.rb +17 -10
  149. data/lib/wx/doc/gen/gauge.rb +13 -10
  150. data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
  151. data/lib/wx/doc/gen/gcdc.rb +1 -2
  152. data/lib/wx/doc/gen/gdi_common.rb +30 -11
  153. data/lib/wx/doc/gen/gdi_object.rb +0 -1
  154. data/lib/wx/doc/gen/generic_dir_ctrl.rb +8 -9
  155. data/lib/wx/doc/gen/graphics_context.rb +59 -12
  156. data/lib/wx/doc/gen/graphics_object.rb +11 -6
  157. data/lib/wx/doc/gen/grid/event_list.rb +168 -164
  158. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
  159. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
  160. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
  161. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
  162. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -2
  163. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
  164. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -2
  165. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
  166. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
  167. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +2 -2
  168. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +1 -1
  169. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  170. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  171. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -2
  172. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
  173. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
  174. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
  175. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
  176. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
  177. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
  178. data/lib/wx/doc/gen/grid/grid_ctrl.rb +29 -7
  179. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
  180. data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
  181. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
  182. data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
  183. data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
  184. data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
  185. data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
  186. data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
  187. data/lib/wx/doc/gen/grid_sizer.rb +0 -1
  188. data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
  189. data/lib/wx/doc/gen/header_ctrl.rb +7 -14
  190. data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
  191. data/lib/wx/doc/gen/help_controller.rb +42 -3
  192. data/lib/wx/doc/gen/help_provider.rb +12 -3
  193. data/lib/wx/doc/gen/html/event_list.rb +41 -37
  194. data/lib/wx/doc/gen/html/html_cell.rb +23 -6
  195. data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
  196. data/lib/wx/doc/gen/html/html_easy_printing.rb +8 -3
  197. data/lib/wx/doc/gen/html/html_help_controller.rb +47 -2
  198. data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
  199. data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
  200. data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
  201. data/lib/wx/doc/gen/html/html_list_box.rb +10 -12
  202. data/lib/wx/doc/gen/html/html_printout.rb +1 -2
  203. data/lib/wx/doc/gen/html/html_window.rb +13 -7
  204. data/lib/wx/doc/gen/hyperlink_ctrl.rb +9 -9
  205. data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
  206. data/lib/wx/doc/gen/icon.rb +5 -29
  207. data/lib/wx/doc/gen/icon_location.rb +0 -1
  208. data/lib/wx/doc/gen/image.rb +83 -17
  209. data/lib/wx/doc/gen/image_list.rb +15 -6
  210. data/lib/wx/doc/gen/info_bar.rb +2 -2
  211. data/lib/wx/doc/gen/keyboard_state.rb +0 -1
  212. data/lib/wx/doc/gen/list_box.rb +33 -21
  213. data/lib/wx/doc/gen/list_ctrl.rb +79 -32
  214. data/lib/wx/doc/gen/list_event.rb +3 -4
  215. data/lib/wx/doc/gen/listbook.rb +6 -7
  216. data/lib/wx/doc/gen/locale.rb +46 -4
  217. data/lib/wx/doc/gen/log.rb +16 -12
  218. data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
  219. data/lib/wx/doc/gen/mdi_frame.rb +32 -11
  220. data/lib/wx/doc/gen/media_ctrl.rb +28 -20
  221. data/lib/wx/doc/gen/media_event.rb +5 -4
  222. data/lib/wx/doc/gen/memory_dc.rb +6 -6
  223. data/lib/wx/doc/gen/menu.rb +37 -23
  224. data/lib/wx/doc/gen/menu_bar.rb +52 -12
  225. data/lib/wx/doc/gen/menu_item.rb +117 -95
  226. data/lib/wx/doc/gen/message_dialog.rb +7 -8
  227. data/lib/wx/doc/gen/mini_frame.rb +13 -7
  228. data/lib/wx/doc/gen/mirror_dc.rb +0 -2
  229. data/lib/wx/doc/gen/mouse_state.rb +0 -1
  230. data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
  231. data/lib/wx/doc/gen/non_owned_window.rb +1 -1
  232. data/lib/wx/doc/gen/notebook.rb +19 -11
  233. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  234. data/lib/wx/doc/gen/object.rb +0 -1
  235. data/lib/wx/doc/gen/paint_dc.rb +0 -1
  236. data/lib/wx/doc/gen/palette.rb +0 -1
  237. data/lib/wx/doc/gen/panel.rb +19 -10
  238. data/lib/wx/doc/gen/pen.rb +17 -8
  239. data/lib/wx/doc/gen/pg/event_list.rb +97 -93
  240. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
  241. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
  242. data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
  243. data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
  244. data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
  245. data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
  246. data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
  247. data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
  248. data/lib/wx/doc/gen/pg/property_grid.rb +83 -22
  249. data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
  250. data/lib/wx/doc/gen/pg/property_grid_interface.rb +212 -34
  251. data/lib/wx/doc/gen/pg/property_grid_manager.rb +42 -12
  252. data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
  253. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
  254. data/lib/wx/doc/gen/picker_base.rb +12 -5
  255. data/lib/wx/doc/gen/platform_info.rb +4 -9
  256. data/lib/wx/doc/gen/popup_window.rb +2 -5
  257. data/lib/wx/doc/gen/progress_dialog.rb +1 -0
  258. data/lib/wx/doc/gen/property_sheet_dialog.rb +15 -5
  259. data/lib/wx/doc/gen/prt/event_list.rb +8 -4
  260. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
  261. data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
  262. data/lib/wx/doc/gen/prt/preview_frame.rb +2 -2
  263. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +4 -1
  264. data/lib/wx/doc/gen/prt/print_data.rb +4 -3
  265. data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
  266. data/lib/wx/doc/gen/prt/printer.rb +50 -11
  267. data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
  268. data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
  269. data/lib/wx/doc/gen/radio_box.rb +13 -14
  270. data/lib/wx/doc/gen/radio_button.rb +15 -11
  271. data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
  272. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
  273. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
  274. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
  275. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
  276. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
  277. data/lib/wx/doc/gen/rbn/ribbon_control.rb +2 -2
  278. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
  279. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
  280. data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
  281. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
  282. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
  283. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
  284. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
  285. data/lib/wx/doc/gen/rearrange_ctrl.rb +3 -4
  286. data/lib/wx/doc/gen/rearrange_list.rb +5 -6
  287. data/lib/wx/doc/gen/region.rb +75 -17
  288. data/lib/wx/doc/gen/region_iterator.rb +0 -1
  289. data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
  290. data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
  291. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
  292. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
  293. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
  294. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +12 -9
  295. data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
  296. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +3 -5
  297. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +4 -5
  298. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
  299. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
  300. data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
  301. data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
  302. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
  303. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +3 -3
  304. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +14 -14
  305. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +3 -3
  306. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +3 -4
  307. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +3 -4
  308. data/lib/wx/doc/gen/sash_event.rb +12 -4
  309. data/lib/wx/doc/gen/sash_layout_window.rb +13 -6
  310. data/lib/wx/doc/gen/sash_window.rb +4 -5
  311. data/lib/wx/doc/gen/screen_dc.rb +0 -1
  312. data/lib/wx/doc/gen/scroll_bar.rb +21 -12
  313. data/lib/wx/doc/gen/scrolled_canvas.rb +34 -12
  314. data/lib/wx/doc/gen/scrolled_control.rb +34 -12
  315. data/lib/wx/doc/gen/scrolled_window.rb +34 -12
  316. data/lib/wx/doc/gen/search_ctrl.rb +10 -11
  317. data/lib/wx/doc/gen/simplebook.rb +1 -1
  318. data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
  319. data/lib/wx/doc/gen/sizer.rb +12 -7
  320. data/lib/wx/doc/gen/sizer_item.rb +5 -2
  321. data/lib/wx/doc/gen/slider.rb +29 -19
  322. data/lib/wx/doc/gen/spin_button.rb +16 -11
  323. data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
  324. data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
  325. data/lib/wx/doc/gen/spin_double_event.rb +3 -4
  326. data/lib/wx/doc/gen/spin_event.rb +3 -3
  327. data/lib/wx/doc/gen/splash_screen.rb +1 -2
  328. data/lib/wx/doc/gen/splitter_event.rb +3 -4
  329. data/lib/wx/doc/gen/splitter_window.rb +78 -20
  330. data/lib/wx/doc/gen/static_bitmap.rb +12 -7
  331. data/lib/wx/doc/gen/static_box.rb +13 -11
  332. data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
  333. data/lib/wx/doc/gen/static_line.rb +5 -6
  334. data/lib/wx/doc/gen/static_text.rb +7 -8
  335. data/lib/wx/doc/gen/status_bar.rb +21 -11
  336. data/lib/wx/doc/gen/stc/event_list.rb +212 -208
  337. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +41 -15
  338. data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
  339. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
  340. data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
  341. data/lib/wx/doc/gen/system_options.rb +6 -6
  342. data/lib/wx/doc/gen/system_settings.rb +2 -3
  343. data/lib/wx/doc/gen/task_bar_button.rb +312 -0
  344. data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
  345. data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
  346. data/lib/wx/doc/gen/text_attr.rb +20 -5
  347. data/lib/wx/doc/gen/text_ctrl.rb +92 -27
  348. data/lib/wx/doc/gen/text_entry.rb +31 -11
  349. data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
  350. data/lib/wx/doc/gen/text_validator.rb +43 -10
  351. data/lib/wx/doc/gen/time_picker_ctrl.rb +7 -8
  352. data/lib/wx/doc/gen/timer.rb +6 -2
  353. data/lib/wx/doc/gen/timer_event.rb +1 -2
  354. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  355. data/lib/wx/doc/gen/toggle_button.rb +7 -8
  356. data/lib/wx/doc/gen/tool_bar.rb +99 -26
  357. data/lib/wx/doc/gen/tool_tip.rb +35 -5
  358. data/lib/wx/doc/gen/toolbook.rb +3 -4
  359. data/lib/wx/doc/gen/top_level_window.rb +71 -25
  360. data/lib/wx/doc/gen/tree_ctrl.rb +42 -18
  361. data/lib/wx/doc/gen/tree_event.rb +3 -4
  362. data/lib/wx/doc/gen/treebook.rb +7 -4
  363. data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
  364. data/lib/wx/doc/gen/utils.rb +39 -7
  365. data/lib/wx/doc/gen/v_list_box.rb +8 -4
  366. data/lib/wx/doc/gen/v_scrolled_window.rb +8 -6
  367. data/lib/wx/doc/gen/validator.rb +1 -1
  368. data/lib/wx/doc/gen/variant.rb +1 -0
  369. data/lib/wx/doc/gen/window.rb +200 -50
  370. data/lib/wx/doc/gen/window_dc.rb +0 -1
  371. data/lib/wx/doc/gen/window_disabler.rb +5 -2
  372. data/lib/wx/doc/gen/with_images.rb +6 -1
  373. data/lib/wx/doc/gen/wizard.rb +4 -4
  374. data/lib/wx/doc/gen/wizard_event.rb +3 -4
  375. data/lib/wx/doc/gen/wizard_page.rb +2 -2
  376. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  377. data/lib/wx/doc/gen/wrap_sizer.rb +0 -1
  378. data/lib/wx/doc/gen/xml_node.rb +19 -4
  379. data/lib/wx/doc/gen/xml_resource.rb +18 -5
  380. data/lib/wx/doc/graphics_context.rb +1 -0
  381. data/lib/wx/doc/grid/grid.rb +22 -1
  382. data/lib/wx/doc/help_controller.rb +11 -7
  383. data/lib/wx/doc/html/html_help_controller.rb +12 -4
  384. data/lib/wx/doc/list_ctrl.rb +33 -29
  385. data/lib/wx/doc/menu.rb +20 -0
  386. data/lib/wx/doc/notebook.rb +21 -0
  387. data/lib/wx/doc/pg/events.rb +13 -9
  388. data/lib/wx/doc/pg/pg_property.rb +18 -0
  389. data/lib/wx/doc/progress_dialog.rb +36 -32
  390. data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
  391. data/lib/wx/doc/prt/print_data.rb +13 -5
  392. data/lib/wx/doc/prt/print_dialog.rb +31 -23
  393. data/lib/wx/doc/prt/printer.rb +20 -12
  394. data/lib/wx/doc/radio_box.rb +19 -15
  395. data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
  396. data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
  397. data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
  398. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
  399. data/lib/wx/doc/region_iterator.rb +32 -28
  400. data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
  401. data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
  402. data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
  403. data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
  404. data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
  405. data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
  406. data/lib/wx/doc/sizer.rb +20 -0
  407. data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
  408. data/lib/wx/doc/stream.rb +39 -35
  409. data/lib/wx/doc/system_settings.rb +30 -26
  410. data/lib/wx/doc/text_validator.rb +12 -8
  411. data/lib/wx/doc/textctrl.rb +16 -0
  412. data/lib/wx/doc/tree_ctrl.rb +95 -0
  413. data/lib/wx/doc/treebook.rb +9 -5
  414. data/lib/wx/doc/v_list_box.rb +9 -5
  415. data/lib/wx/doc/variant.rb +164 -160
  416. data/lib/wx/doc/window.rb +57 -42
  417. data/lib/wx/doc/window_disabler.rb +10 -6
  418. data/lib/wx/grid/grid.rb +27 -4
  419. data/lib/wx/keyword_defs.rb +43 -6
  420. data/lib/wx/pg/pg_property.rb +22 -0
  421. data/lib/wx/rtc/require.rb +3 -0
  422. data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
  423. data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
  424. data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
  425. data/lib/wx/stc/require.rb +1 -0
  426. data/lib/wx/stc/styled_text_ctrl.rb +25 -0
  427. data/lib/wx/version.rb +1 -1
  428. data/lib/wxruby_aui.so +0 -0
  429. data/lib/wxruby_core.so +0 -0
  430. data/lib/wxruby_grid.so +0 -0
  431. data/lib/wxruby_html.so +0 -0
  432. data/lib/wxruby_pg.so +0 -0
  433. data/lib/wxruby_prt.so +0 -0
  434. data/lib/wxruby_rbn.so +0 -0
  435. data/lib/wxruby_rtc.so +0 -0
  436. data/lib/wxruby_stc.so +0 -0
  437. data/rakelib/lib/config/linux.rb +0 -3
  438. data/rakelib/lib/config/macosx.rb +1 -1
  439. data/rakelib/lib/config/mingw.rb +1 -1
  440. data/rakelib/lib/config/unixish.rb +1 -1
  441. data/rakelib/lib/config.rb +14 -4
  442. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
  443. data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
  444. data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
  445. data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
  446. data/rakelib/yard/templates/default/tags/setup.rb +16 -0
  447. data/rakelib/yard/yard-custom-templates.rb +3 -0
  448. data/samples/text/richtext.rb +0 -30
  449. data/samples/treectrl/treectrl.rb +1 -1
  450. data/tests/media/beep_lo.wav +0 -0
  451. data/tests/test_app_exit_exception.rb +36 -0
  452. data/tests/test_app_init_exception.rb +20 -0
  453. data/tests/test_book_controls.rb +29 -0
  454. data/tests/test_exceptions.rb +41 -0
  455. data/tests/test_list_ctrl.rb +1 -1
  456. data/tests/test_media_ctrl.rb +38 -0
  457. data/tests/test_menu.rb +69 -0
  458. data/tests/test_pg.rb +27 -0
  459. data/tests/test_richtext.rb +45 -0
  460. data/tests/test_sizer.rb +59 -0
  461. data/tests/test_std_controls.rb +78 -1
  462. data/tests/test_styled_text_ctrl.rb +46 -0
  463. data/tests/test_tree_ctrl.rb +138 -0
  464. data/tests/test_window.rb +12 -0
  465. data/tests/testapp_noframe.rb +1 -1
  466. metadata +38 -3
@@ -6793,7 +6793,7 @@ module Wx::STC
6793
6793
  EVT_STC_AUTOCOMP_SELECTION_CHANGE = 10405
6794
6794
 
6795
6795
  # The type of events sent from {Wx::STC::StyledTextCtrl}.
6796
- # === Events using this class
6796
+ # ### Events using this class
6797
6797
  #
6798
6798
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::STC::StyledTextEvent} events.
6799
6799
  # Event handler methods:
@@ -6868,9 +6868,9 @@ module Wx::STC
6868
6868
  #
6869
6869
  # Most of the Scintilla notifications are mapped to a similarly named {Wx::STC::StyledTextEvent}. However a few of the notifications would only offer information available in other wxWidgets event types, and in those cases a corresponding {Wx::STC::StyledTextEvent} is not defined. Currently, the {Wx::EVT_KEY_DOWN} event is used instead of the SCN_KEY notification. The regular wxWidgets drag and drop functionality can be used instead of the SCN_URIDROPPED notification. The {Wx::EVT_SET_FOCUS} event is used instead of the SCN_FOCUSIN notification. And the {Wx::EVT_KILL_FOCUS} event is used instead of the SCN_FOCUSOUT notification.
6870
6870
  #
6871
- # == Event Types
6871
+ # ## Event Types
6872
6872
  #
6873
- # The following is a brief description of when the control generates these events and a list of which methods provide relevant information. Additional details can be found in the Scintilla documentation (http://www.scintilla.org/ScintillaDoc.html#Notifications).
6873
+ # The following is a brief description of when the control generates these events and a list of which methods provide relevant information. Additional details can be found in the Scintilla documentation (http://www.scintilla.org/ScintillaDoc.html\#Notifications).
6874
6874
  # {Wx::STC::EVT_STC_AUTOCOMP_CANCELLED}
6875
6875
  #
6876
6876
  # - Generated when an autocompletion list has been canceled.
@@ -7056,15 +7056,14 @@ module Wx::STC
7056
7056
  # - Generated when the zoom factor of the control has been changed either by the user or a call to {Wx::STC::StyledTextCtrl#zoom_in}/{Wx::ZoomOut}.
7057
7057
  # - Valid event functions: none.
7058
7058
  #
7059
- # ===
7060
- #
7061
7059
  # Category: {Wx::Events}, Scintilla Text Editor
7062
7060
  #
7061
+ # @wxrb_require USE_STC
7063
7062
  class StyledTextEvent < CommandEvent
7064
7063
 
7065
7064
  # @overload initialize(commandType=0, id=0)
7066
7065
  # Constructor.
7067
- # @param commandType [Wx::CommandLinkButton::EventType]
7066
+ # @param commandType [Wx::Slider::EventType]
7068
7067
  # @param id [Integer]
7069
7068
  # @return [Wx::STC::StyledTextEvent]
7070
7069
  # @overload initialize(event)
@@ -11,7 +11,6 @@ module Wx
11
11
  # When there aren't interface guidelines defined for a particular platform or toolkit, {Wx::StdDialogButtonSizer} reverts to the Windows implementation.
12
12
  # To use this class, first add buttons to the sizer by calling {Wx::StdDialogButtonSizer#add_button} (or {Wx::StdDialogButtonSizer#set_affirmative_button}, {Wx::StdDialogButtonSizer#set_negative_button} or {Wx::StdDialogButtonSizer#set_cancel_button}) and then call Realize in order to create the actual button layout used. Other than these special operations, this sizer works like any other sizer.
13
13
  # If you add a button with {Wx::StandardID::ID_SAVE}, on macOS the button will be renamed to "Save" and the {Wx::StandardID::ID_NO} button will be renamed to "Don't Save" in accordance with the macOS Human Interface Guidelines.
14
- # ===
15
14
  #
16
15
  # Category: Window Layout
17
16
  # @see Wx::Sizer
@@ -8,8 +8,9 @@ module Wx
8
8
 
9
9
  # SVG shape rendering mode.
10
10
  #
11
- # These options represent the values defined in the SVG specification: https://svgwg.org/svg2-draft/painting.html#ShapeRenderingProperty
11
+ # These options represent the values defined in the SVG specification: https://svgwg.org/svg2-draft/painting.html\#ShapeRenderingProperty
12
12
  #
13
+ # @wxrb_require USE_SVG
13
14
  class SVGShapeRenderingMode < Wx::Enum
14
15
 
15
16
  #
@@ -39,12 +40,12 @@ module Wx
39
40
  # The intention behind {Wx::SVGFileDC} is that it can be used to produce a file corresponding to the screen display context, {Wx::SVGFileDC}, by passing the {Wx::SVGFileDC} as a parameter instead of a {Wx::DC}. Thus the {Wx::SVGFileDC} is a write-only class.
40
41
  # As the {Wx::SVGFileDC} is a vector format, raster operations like {Wx::SVGFileDC#get_pixel} are unlikely to be supported. However, the SVG specification allows for raster files to be embedded in the SVG, and so bitmaps, icons and blit operations in {Wx::SVGFileDC} are supported. By default only PNG format bitmaps are supported and these are saved as separate files in the same folder as the SVG file, however it is possible to change this behaviour by replacing the built in bitmap handler using {Wx::SVGFileDC#set_bitmap_handler}.
41
42
  # More substantial SVG libraries (for reading and writing) are available at {Wx::Art2D} and {Wx::SVG}.
42
- # ===
43
43
  #
44
44
  # Category: Device Contexts
45
45
  #
46
46
  #
47
47
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
48
+ # @wxrb_require USE_SVG
48
49
  class SVGFileDC < DC
49
50
 
50
51
  # Draws a rectangle the size of the SVG using the {Wx::DC#set_background} brush.
@@ -74,15 +75,15 @@ module Wx
74
75
  end # SVGFileDC
75
76
 
76
77
  # Abstract base class for handling bitmaps inside a {Wx::SVGFileDC}.
77
- # To use it you need to derive a new class from it and override {Wx::SVGBitmapHandler#process_bitmap} to generate a properly a formed SVG image element (see http://www.w3.org/TR/SVG/struct.html#ImageElement).
78
+ # To use it you need to derive a new class from it and override {Wx::SVGBitmapHandler#process_bitmap} to generate a properly a formed SVG image element (see http://www.w3.org/TR/SVG/struct.html\#ImageElement).
78
79
  # Two example bitmap handlers are provided in {Wx::/dcsvg.h}. The first (default) handler will create PNG files in the same folder as the SVG file and uses links to them in the SVG. The second handler ({Wx::SVGBitmapEmbedHandler}) will embed the PNG image in the SVG file using base 64 encoding.
79
80
  # The handler can be changed by calling {Wx::SVGFileDC#set_bitmap_handler}.
80
- # ===
81
81
  #
82
82
  # Category: Device Contexts
83
83
  #
84
84
  #
85
85
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
86
+ # @wxrb_require USE_SVG
86
87
  class SVGBitmapHandler < ::Object
87
88
 
88
89
  # Writes the bitmap representation as SVG to the given stream.
@@ -100,14 +101,13 @@ module Wx
100
101
  # This handler is used by default by {Wx::SVGFileDC}. PNG files are created in the same folder as the SVG file and are named using the SVG filename appended with <code>_image#.png</code>.
101
102
  # When using {Wx::SVGFileDC#set_bitmap_handler} to set this handler with the default constructor, the PNG files are created in the runtime location of the application. The save location can be customized by using the wxSVGBitmapFileHandler(const wxFileName&) constructor.
102
103
  #
103
- # ===
104
- #
105
104
  # Category: Device Contexts
106
105
  # @see Wx::SVGFileDC#set_bitmap_handler.
107
106
  #
108
107
  #
109
108
  #
110
109
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
110
+ # @wxrb_require USE_SVG
111
111
  class SVGBitmapFileHandler < SVGBitmapHandler
112
112
 
113
113
  # Create a {Wx::SVGBitmapFileHandler} and specify the location where the file will be saved.
@@ -127,14 +127,13 @@ module Wx
127
127
  end # SVGBitmapFileHandler
128
128
 
129
129
  # Handler embedding bitmaps as base64-encoded PNGs into the SVG.
130
- # ===
131
- #
132
130
  # Category: Device Contexts
133
131
  # @see Wx::SVGFileDC#set_bitmap_handler.
134
132
  #
135
133
  #
136
134
  #
137
135
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
136
+ # @wxrb_require USE_SVG
138
137
  class SVGBitmapEmbedHandler < SVGBitmapHandler
139
138
 
140
139
  # Writes the bitmap representation as SVG to the given stream.
@@ -12,11 +12,11 @@ module Wx
12
12
  # The program may use system options for its own needs but they are mostly used to control the behaviour of wxWidgets library itself.
13
13
  # These options are currently recognised by wxWidgets:
14
14
  #
15
- # == All platforms
15
+ # ## All platforms
16
16
  #
17
17
  # - exit-on-assert: If set to non-zero value, abort the program if an assertion fails. The default behaviour in case of assertion failure depends on the build mode and can be changed by overriding {Wx::App#on_assert_failure} but setting this option allows changing it without modifying the program code and also applies to asserts which may happen before the {Wx::App} object creation or after its destruction.
18
18
  #
19
- # == Windows
19
+ # ## Windows
20
20
  #
21
21
  # - no-maskblt: 1 to never use WIN32's MaskBlt function, 0 to allow it to be used where possible. Default: 0. In some circumstances the MaskBlt function can be slower than using the fallback code, especially if using DC caching. By default, MaskBlt will be used where it is implemented by the operating system and driver.
22
22
  #
@@ -30,7 +30,7 @@ module Wx
30
30
  #
31
31
  # - msw.font.no-proof-quality: If set to 1, use default fonts quality instead of proof quality when creating fonts. With proof quality the fonts have slightly better appearance but not all fonts are available in this quality, e.g. the Terminal font in small sizes is not and this option may be used if wider fonts selection is more important than higher quality.
32
32
  #
33
- # == GTK+
33
+ # ## GTK+
34
34
  #
35
35
  # - gtk.tlw.can-set-transparent: {Wx::TopLevelWindow#can_set_transparent} method normally tries to detect automatically whether transparency for top level windows is currently supported, however this may sometimes fail and this option allows overriding the automatic detection. Setting it to 1 makes the transparency be always available (setting it can still fail, of course) and setting it to 0 makes it always unavailable.
36
36
  #
@@ -38,7 +38,7 @@ module Wx
38
38
  #
39
39
  # - gtk.window.force-background-colour: If 1, the backgrounds of windows with the {Wx::BackgroundStyle::BG_STYLE_COLOUR} background style are cleared forcibly instead of relying on the underlying GTK+ window colour. This works around a display problem when running applications under KDE with the gtk-qt theme installed (0.6 and below).
40
40
  #
41
- # == Mac
41
+ # ## Mac
42
42
  #
43
43
  # - mac.window-plain-transition: If 1, uses a plainer transition when showing a window. You can also use the symbol {Wx::MAC_WINDOW_PLAIN_TRANSITION}.
44
44
  #
@@ -48,17 +48,17 @@ module Wx
48
48
  #
49
49
  # - osx.openfiledialog.always-show-types: Per default a {Wx::FileDialog} with {Wx::FD_OPEN} does not show a types-popup on macOS but allows the selection of files from any of the supported types. Setting this to 1 shows a {Wx::Choice} for selection (if there is more than one supported filetype).
50
50
  #
51
- # == Motif
51
+ # ## Motif
52
52
  #
53
53
  # - motif.largebuttons: If 1, uses a bigger default size for {Wx::Buttons}.
54
54
  #
55
55
  # The compile-time option to include or exclude this functionality is {Wx::Setup::USE_SYSTEM_OPTIONS}.
56
- # ===
57
56
  #
58
57
  # Category: Application and System configuration
59
58
  # @see Wx::SystemSettings
60
59
  #
61
60
  #
61
+ # @wxrb_require USE_SYSTEM_OPTIONS
62
62
  class SystemOptions < Object
63
63
 
64
64
  # @overload self.set_option(name, value)
@@ -8,7 +8,7 @@ module Wx
8
8
 
9
9
  # Possible values for {Wx::SystemSettings.get_font} parameter.
10
10
  #
11
- # These values map 1:1 the native values supported by the Windows' GetStockObject function. Note that other ports (other than wxMSW) will try to provide meaningful fonts but they usually map the same font to various <code>wxSYS_*_FONT</code> values.
11
+ # These values map 1:1 the native values supported by the Windows' GetStockObject function. Note that other ports (other than WXMSW) will try to provide meaningful fonts but they usually map the same font to various <code>wxSYS_*_FONT</code> values.
12
12
  #
13
13
  class SystemFont < Wx::Enum
14
14
 
@@ -40,7 +40,7 @@ module Wx
40
40
 
41
41
  # Possible values for {Wx::SystemSettings.get_colour} parameter.
42
42
  #
43
- # These values map 1:1 the native values supported by the Windows' GetSysColor function. Note that other ports (other than wxMSW) will try to provide meaningful colours but they usually map the same colour to various <code>wxSYS_COLOUR_*</code> values.
43
+ # These values map 1:1 the native values supported by the Windows' GetSysColor function. Note that other ports (other than WXMSW) will try to provide meaningful colours but they usually map the same colour to various <code>wxSYS_COLOUR_*</code> values.
44
44
  #
45
45
  class SystemColour < Wx::Enum
46
46
 
@@ -428,7 +428,6 @@ module Wx
428
428
 
429
429
  # {Wx::SystemSettings} allows the application to ask for details about the system.
430
430
  # This can include settings such as standard colours, fonts, and user interface element sizes.
431
- # ===
432
431
  #
433
432
  # Category: Application and System configuration
434
433
  # @see Wx::Font
@@ -0,0 +1,312 @@
1
+ # :stopdoc:
2
+ # This file is automatically generated by the WXRuby3 documentation
3
+ # generator. Do not alter this file.
4
+ # :startdoc:
5
+
6
+
7
+ module Wx
8
+
9
+ # State of the taskbar button.
10
+ #
11
+ #
12
+ #
13
+ # @wxrb_require WXMSW,USE_TASKBARBUTTON
14
+ class TaskBarButtonState < Wx::Enum
15
+
16
+ #
17
+ #
18
+ TASKBAR_BUTTON_NO_PROGRESS = Wx::TaskBarButtonState.new(0)
19
+
20
+ #
21
+ #
22
+ TASKBAR_BUTTON_INDETERMINATE = Wx::TaskBarButtonState.new(1)
23
+
24
+ #
25
+ #
26
+ TASKBAR_BUTTON_NORMAL = Wx::TaskBarButtonState.new(2)
27
+
28
+ #
29
+ #
30
+ TASKBAR_BUTTON_ERROR = Wx::TaskBarButtonState.new(4)
31
+
32
+ #
33
+ #
34
+ TASKBAR_BUTTON_PAUSED = Wx::TaskBarButtonState.new(8)
35
+
36
+ end # TaskBarButtonState
37
+
38
+ # Type of jump list item.
39
+ #
40
+ #
41
+ #
42
+ # @wxrb_require WXMSW,USE_TASKBARBUTTON
43
+ class TaskBarJumpListItemType < Wx::Enum
44
+
45
+ # A separator, Only tasks category supports separators.
46
+ #
47
+ TASKBAR_JUMP_LIST_SEPARATOR = Wx::TaskBarJumpListItemType.new(0)
48
+
49
+ # A task, represents a link to application.
50
+ #
51
+ TASKBAR_JUMP_LIST_TASK = Wx::TaskBarJumpListItemType.new(1)
52
+
53
+ # Item acts as a link to a file that the application can open.
54
+ #
55
+ TASKBAR_JUMP_LIST_DESTINATION = Wx::TaskBarJumpListItemType.new(2)
56
+
57
+ end # TaskBarJumpListItemType
58
+
59
+ # A taskbar button that associated with the window under Windows 7 or later.
60
+ # It is used to access the functionality including thumbnail representations, thumbnail toolbars, notification and status overlays, and progress indicators.
61
+ #
62
+ # <div class="wxrb-note">
63
+ # <b>Note:</b>
64
+ # <p>This class is only created and initialized in the internal implementation of {Wx::Frame} by design. You can only get the pointer of the instance which associated with the frame by calling {Wx::Frame#msw_get_task_bar_button}.
65
+ # </p>
66
+ # </div>
67
+ #
68
+ # Category: {Wx::Miscellaneous}
69
+ # Availability: only available for the WXMSW port.
70
+ # @see Wx::Frame#msw_get_task_bar_button
71
+ #
72
+ #
73
+ #
74
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
75
+ # @wxrb_require WXMSW,USE_TASKBARBUTTON
76
+ class TaskBarButton < ::Object
77
+
78
+ # Starts showing a determinate progress indicator.
79
+ # Call {Wx::TaskBarButton#set_progress_value} after this call to update the progress indicator.
80
+ # If range is 0, the progress indicator is dismissed.
81
+ # @param range [Integer]
82
+ # @return [void]
83
+ def set_progress_range(range) end
84
+ alias_method :progress_range=, :set_progress_range
85
+
86
+ # Update the progress indicator, setting the progress to the new value .
87
+ # @param value [Integer] Must be in the range from 0 to the argument to the last {Wx::TaskBarButton#set_progress_range} call. When it is equal to the range, the progress bar is dismissed.
88
+ # @return [void]
89
+ def set_progress_value(value) end
90
+ alias_method :progress_value=, :set_progress_value
91
+
92
+ # Makes the progress indicator run in indeterminate mode.
93
+ # The first call to this method starts showing the indeterminate progress indicator if it hadn't been shown yet.
94
+ # Call SetProgressRange(0) to stop showing the progress indicator.
95
+ # @return [void]
96
+ def pulse_progress; end
97
+
98
+ # Show in the taskbar.
99
+ # @param show [Boolean]
100
+ # @return [void]
101
+ def show(show=true) end
102
+
103
+ # Hide in the taskbar.
104
+ # @return [void]
105
+ def hide; end
106
+
107
+ # Specifies or updates the text of the tooltip that is displayed when the mouse pointer rests on an individual preview thumbnail in a taskbar button flyout.
108
+ # @param tooltip [String]
109
+ # @return [void]
110
+ def set_thumbnail_tooltip(tooltip) end
111
+ alias_method :thumbnail_tooltip=, :set_thumbnail_tooltip
112
+
113
+ # Set the state of the progress indicator displayed on a taskbar button.
114
+ #
115
+ # @see Wx::TaskBarButtonState
116
+ # @param state [Wx::TaskBarButtonState]
117
+ # @return [void]
118
+ def set_progress_state(state) end
119
+ alias_method :progress_state=, :set_progress_state
120
+
121
+ # Set an overlay icon to indicate application status or a notification top the user.
122
+ # @param icon [Wx::Icon] This should be a small icon, measuring 16x16 pixels at 96 dpi. If an overlay icon is already applied to the taskbar button, that existing overlay is replaced. Setting with {Wx::NULL_ICON} to remove.
123
+ # @param description [String] The property holds the description of the overlay for accessibility purposes.
124
+ # @return [void]
125
+ def set_overlay_icon(icon, description=(())) end
126
+ alias_method :overlay_icon=, :set_overlay_icon
127
+
128
+ # Selects a portion of a window's client area to display as that window's thumbnail in the taskbar.
129
+ # @param rect [Wx::Rect] The portion inside of the window. Setting with an empty {Wx::Rect} will restore the default display of the thumbnail.
130
+ # @return [void]
131
+ def set_thumbnail_clip(rect) end
132
+ alias_method :thumbnail_clip=, :set_thumbnail_clip
133
+
134
+ # Selects the child window area to display as that window's thumbnail in the taskbar.
135
+ # @param child [Wx::Window]
136
+ # @return [void]
137
+ def set_thumbnail_contents(child) end
138
+ alias_method :thumbnail_contents=, :set_thumbnail_contents
139
+
140
+ # Inserts the given button before the position pos to the taskbar thumbnail toolbar.
141
+ # <div class="wxrb-note">
142
+ # <b>Note:</b>
143
+ # <p>The number of buttons and separators is limited to 7.
144
+ # </p>
145
+ # </div>
146
+ # @see Wx::TaskBarButton#append_thumb_bar_button
147
+ # @see Wx::TaskBarButton#append_separator_in_thumb_bar
148
+ # @param pos [Integer]
149
+ # @param button [Wx::ThumbBarButton]
150
+ # @return [Boolean]
151
+ def insert_thumb_bar_button(pos, button) end
152
+
153
+ # Appends a button to the taskbar thumbnail toolbar.
154
+ # <div class="wxrb-note">
155
+ # <b>Note:</b>
156
+ # <p>The number of buttons and separators is limited to 7.
157
+ # </p>
158
+ # </div>
159
+ # @see Wx::TaskBarButton#insert_thumb_bar_button
160
+ # @see Wx::TaskBarButton#append_separator_in_thumb_bar
161
+ # @param button [Wx::ThumbBarButton]
162
+ # @return [Boolean]
163
+ def append_thumb_bar_button(button) end
164
+
165
+ # Appends a separator to the taskbar thumbnail toolbar.
166
+ # <div class="wxrb-note">
167
+ # <b>Note:</b>
168
+ # <p>The number of buttons and separators is limited to 7.
169
+ # </p>
170
+ # </div>
171
+ # @see Wx::TaskBarButton#append_thumb_bar_button
172
+ # @see Wx::TaskBarButton#insert_thumb_bar_button
173
+ # @return [Boolean]
174
+ def append_separator_in_thumb_bar; end
175
+
176
+ # @overload remove_thumb_bar_button(button)
177
+ # Removes the thumbnail toolbar button from the taskbar button but doesn't delete the associated c++ object.
178
+ # A pointer to the button which was detached from the taskbar button.
179
+ # @param button [Wx::ThumbBarButton] The thumbnail toolbar button to remove.
180
+ # @return [Wx::ThumbBarButton]
181
+ # @overload remove_thumb_bar_button(id)
182
+ # Removes the thumbnail toolbar button from the taskbar button but doesn't delete the associated c++ object.
183
+ # A pointer to the button which was detached from the taskbar button.
184
+ # @param id [Integer] The identifier of the thumbnail toolbar button to remove.
185
+ # @return [Wx::ThumbBarButton]
186
+ def remove_thumb_bar_button(*args) end
187
+
188
+ end # TaskBarButton
189
+
190
+ # A thumbnail toolbar button is a control that displayed in the thumbnail image of a window in a taskbar button flyout.
191
+ # Category: {Wx::Miscellaneous}
192
+ # Availability: only available for the WXMSW port.
193
+ # @see Wx::TaskBarButton
194
+ #
195
+ #
196
+ #
197
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
198
+ # @wxrb_require WXMSW,USE_TASKBARBUTTON
199
+ class ThumbBarButton < ::Object
200
+
201
+ # @overload initialize()
202
+ # Default constructor to allow 2-phase creation.
203
+ # @return [Wx::ThumbBarButton]
204
+ # @overload initialize(id, icon, tooltip=(()), enable=true, dismissOnClick=false, hasBackground=true, shown=true, interactive=true)
205
+ # Constructs the thumbnail toolbar button.
206
+ # @param id [Integer] The identifier for the control.
207
+ # @param icon [Wx::Icon] The icon used as the button image.
208
+ # @param tooltip [String] The text of the button's tooltip, displayed when the mouse pointer hovers over the button.
209
+ # @param enable [Boolean] If true (default), the button is active and available to the user. If false, the button is disabled. It is present, but has a visual state that indicates that it will not respond to user action.
210
+ # @param dismissOnClick [Boolean] If true, when the button is clicked, the taskbar button's flyout closes immediately. false by default.
211
+ # @param hasBackground [Boolean] If false, the button border is not drawn. true by default.
212
+ # @param shown [Boolean] If false, the button is not shown to the user. true by default.
213
+ # @param interactive [Boolean] If false, the button is enabled but not interactive; no pressed button state is drawn. This flag is intended for instances where the button is used in a notification. true by default.
214
+ # @return [Wx::ThumbBarButton]
215
+ def initialize(*args) end
216
+
217
+ # @param id [Integer]
218
+ # @param icon [Wx::Icon]
219
+ # @param tooltip [String]
220
+ # @param enable [Boolean]
221
+ # @param dismissOnClick [Boolean]
222
+ # @param hasBackground [Boolean]
223
+ # @param shown [Boolean]
224
+ # @param interactive [Boolean]
225
+ # @return [Boolean]
226
+ def create(id, icon, tooltip=(()), enable=true, dismissOnClick=false, hasBackground=true, shown=true, interactive=true) end
227
+
228
+ # Returns the identifier associated with this control.
229
+ # @return [Integer]
230
+ def get_id; end
231
+ alias_method :id, :get_id
232
+
233
+ # Returns the icon associated with this control.
234
+ # @return [Wx::Icon]
235
+ def get_icon; end
236
+ alias_method :icon, :get_icon
237
+
238
+ # Returns the tooltip.
239
+ # @return [Wx::String]
240
+ def get_tooltip; end
241
+ alias_method :tooltip, :get_tooltip
242
+
243
+ # Returns true if the button is enabled, false if it has been disabled.
244
+ # @return [Boolean]
245
+ def is_enable; end
246
+ alias_method :enable?, :is_enable
247
+
248
+ # Enables or disables the thumbnail toolbar button.
249
+ # @param enable [Boolean]
250
+ # @return [void]
251
+ def enable(enable=true) end
252
+
253
+ # Equivalent to calling {Wx::ThumbBarButton#enable(false)}.
254
+ # @return [void]
255
+ def disable; end
256
+
257
+ # Returns true if the button will dismiss on click.
258
+ # @return [Boolean]
259
+ def is_dismiss_on_click; end
260
+ alias_method :dismiss_on_click?, :is_dismiss_on_click
261
+
262
+ # Whether the window thumbnail is dismissed after a button click.
263
+ # @param enable [Boolean]
264
+ # @return [void]
265
+ def enable_dismiss_on_click(enable=true) end
266
+
267
+ # Equivalent to calling {Wx::ThumbBarButton#disable_dimiss_on_click(false)}.
268
+ # @return [void]
269
+ def disable_dimiss_on_click; end
270
+
271
+ # Returns true if the button has button border.
272
+ # @return [Boolean]
273
+ def has_background; end
274
+ alias_method :has_background?, :has_background
275
+
276
+ # Set the property that whether the button has background.
277
+ # @param has [Boolean]
278
+ # @return [void]
279
+ def set_has_background(has=true) end
280
+ alias_method :has_background=, :set_has_background
281
+
282
+ # Returns true if the button is shown, false if it has been hidden.
283
+ # @return [Boolean]
284
+ def is_shown; end
285
+ alias_method :shown?, :is_shown
286
+
287
+ # Show or hide the thumbnail toolbar button.
288
+ # @param shown [Boolean]
289
+ # @return [void]
290
+ def show(shown=true) end
291
+
292
+ # Hide the thumbnail toolbar button.
293
+ # Equivalent to calling {Wx::ThumbBarButton#show(false)}.
294
+ # @return [void]
295
+ def hide; end
296
+
297
+ # Returns true if the button is interactive.
298
+ # @return [Boolean]
299
+ def is_interactive; end
300
+ alias_method :interactive?, :is_interactive
301
+
302
+ # Set the property which holds whether the button is interactive.
303
+ # A non-interactive thumbnail toolbar button does not react to user interaction, but is still visually enabled.
304
+ # @param interactive [Boolean]
305
+ # @return [void]
306
+ def set_interactive(interactive=true) end
307
+ alias_method :interactive=, :set_interactive
308
+
309
+ end # ThumbBarButton
310
+
311
+
312
+ end
@@ -9,11 +9,11 @@ module Wx
9
9
  # This class represents a taskbar icon.
10
10
  # A taskbar icon is an icon that appears in the 'system tray' and responds to mouse clicks, optionally with a tooltip above it to help provide information.
11
11
  #
12
- # == X Window System Note
12
+ # ## X Window System Note
13
13
  #
14
14
  # Under X Window System, the window manager must support either the "System Tray Protocol" (see http://freedesktop.org/wiki/Specifications/systemtray-spec) by freedesktop.org (WMs used by modern desktop environments such as GNOME >= 2, KDE >= 3 and XFCE >= 4 all do) or the older methods used in GNOME 1.2 and KDE 1 and 2.
15
15
  # If it doesn't, the icon will appear as a toplevel window on user's desktop. Because not all window managers have system tray, there's no guarantee that {Wx::TaskBarIcon} will work correctly under X Window System and so the applications should use it only as an optional component of their user interface. The user should be required to explicitly enable the taskbar icon on Unix, it shouldn't be on by default.
16
- # === Events emitted by this class
16
+ # ### Events emitted by this class
17
17
  #
18
18
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::TaskBarIconEvent} events.
19
19
  # Event handler methods for events emitted by this class:{Wx::TaskBarIcon#create_popup_menu} or {Wx::TaskBarIcon#get_popup_menu} if all that the application does is that it shows a popup menu in reaction to mouse click.
@@ -34,14 +34,13 @@ module Wx
34
34
  #
35
35
  # - {Wx::EvtHandler#evt_taskbar_click}(meth = nil, &block): This is a synonym for either EVT_TASKBAR_RIGHT_DOWN or UP depending on the platform, use this event macro to catch the event which should result in the menu being displayed on the current platform.
36
36
  #
37
- # ===
38
- #
39
37
  # Category: {Wx::Miscellaneous}
40
38
  #
39
+ # @wxrb_require USE_TASKBARICON
41
40
  class TaskBarIcon < EvtHandler
42
41
 
43
42
  # Default constructor.
44
- # The iconType is only applicable on wxOSX/Cocoa.
43
+ # The iconType is only applicable on WXOSX/Cocoa.
45
44
  # @param iconType [Wx::TaskBarIconType]
46
45
  # @return [Wx::TaskBarIcon]
47
46
  def initialize(iconType=Wx::TaskBarIconType::TBI_DEFAULT_TYPE) end
@@ -62,7 +61,12 @@ module Wx
62
61
 
63
62
  # Pops up a menu at the current mouse position.
64
63
  # The events can be handled by a class derived from {Wx::TaskBarIcon}.
65
- # It is recommended to override the {Wx::TaskBarIcon#create_popup_menu} or {Wx::TaskBarIcon#get_popup_menu} callback instead of calling this method from event handler, because some ports (e.g. {Wx::Cocoa}) may not implement {Wx::TaskBarIcon#popup_menu} and mouse click events at all.
64
+ #
65
+ # <div class="wxrb-note">
66
+ # <b>Note:</b>
67
+ # <p>It is recommended to override the {Wx::TaskBarIcon#create_popup_menu} or {Wx::TaskBarIcon#get_popup_menu} callback instead of calling this method from event handler, because some ports (e.g. {Wx::Cocoa}) may not implement {Wx::TaskBarIcon#popup_menu} and mouse click events at all.
68
+ # </p>
69
+ # </div>
66
70
  # @param menu [Wx::Menu]
67
71
  # @return [Boolean]
68
72
  def popup_menu(menu) end
@@ -81,9 +85,18 @@ module Wx
81
85
  # Returns true if system tray is available in the desktop environment the app runs under.
82
86
  # On Windows and macOS, the tray is always available and this function simply returns true.
83
87
  # On Unix, X11 environment may or may not provide the tray, depending on user's desktop environment. Most modern desktops support the tray via the System Tray Protocol by freedesktop.org (http://freedesktop.org/wiki/Specifications/systemtray-spec).
84
- # Tray availability may change during application's lifetime under X11 and so applications shouldn't cache the result.
85
88
  #
86
- # {Wx::TaskBarIcon} supports older GNOME 1.2 and KDE 1/2 methods of adding icons to tray, but they are unreliable and this method doesn't detect them.
89
+ # <div class="wxrb-note">
90
+ # <b>Note:</b>
91
+ # <p>Tray availability may change during application's lifetime under X11 and so applications shouldn't cache the result.
92
+ # </p>
93
+ # </div>
94
+ #
95
+ # <div class="wxrb-note">
96
+ # <b>Note:</b>
97
+ # <p>{Wx::TaskBarIcon} supports older GNOME 1.2 and KDE 1/2 methods of adding icons to tray, but they are unreliable and this method doesn't detect them.
98
+ # </p>
99
+ # </div>
87
100
  # @return [Boolean]
88
101
  def self.is_available; end
89
102
 
@@ -6,10 +6,11 @@
6
6
 
7
7
  module Wx
8
8
 
9
- # On wxOSX/Cocoa the taskbar icon can be in the doc or in the status area.
9
+ # On WXOSX/Cocoa the taskbar icon can be in the doc or in the status area.
10
10
  #
11
11
  # This enumeration can be used to select which will be instantiated.
12
12
  #
13
+ # @wxrb_require USE_TASKBARICON
13
14
  class TaskBarIconType < Wx::Enum
14
15
 
15
16
  #
@@ -68,14 +69,14 @@ module Wx
68
69
 
69
70
  # The event class used by {Wx::TaskBarIcon}.
70
71
  # For a list of the event macros meant to be used with {Wx::TaskBarIconEvent}, please look at {Wx::TaskBarIcon} description.
71
- # ===
72
72
  #
73
73
  # Category: {Wx::Events}
74
74
  #
75
+ # @wxrb_require USE_TASKBARICON
75
76
  class TaskBarIconEvent < Event
76
77
 
77
78
  # Constructor.
78
- # @param evtType [Wx::CommandLinkButton::EventType]
79
+ # @param evtType [Wx::Slider::EventType]
79
80
  # @param tbIcon [Wx::TaskBarIcon]
80
81
  # @return [Wx::TaskBarIconEvent]
81
82
  def initialize(evtType, tbIcon) end
@@ -8,7 +8,6 @@ module Wx
8
8
 
9
9
  # {Wx::TextAttr} represents the character and paragraph attributes, or style, for a range of text in a {Wx::TextCtrl} or {Wx::RTC::RichTextCtrl}.
10
10
  # When setting up a {Wx::TextAttr} object, pass a bitlist mask to {Wx::TextAttr#set_flags} to indicate which style elements should be changed. As a convenience, when you call a setter such as SetFont, the relevant bit will be set.
11
- # ===
12
11
  #
13
12
  # Category: Rich Text
14
13
  # @see Wx::TextCtrl
@@ -60,7 +59,11 @@ module Wx
60
59
  # - <code>standard/diamond</code>
61
60
  # - <code>standard/triangle</code>
62
61
  #
63
- # For {Wx::RTC::RichTextCtrl} users only: if you wish your rich text controls to support further bullet graphics, you can derive a class from {Wx::RichTextRenderer} or {Wx::RichTextStdRenderer}, override DrawStandardBullet and EnumerateStandardBulletNames, and set an instance of the class using {Wx::RTC::RichTextBuffer::SetRenderer}.
62
+ # <div class="wxrb-note">
63
+ # <b>Note:</b>
64
+ # <p>For {Wx::RTC::RichTextCtrl} users only: if you wish your rich text controls to support further bullet graphics, you can derive a class from {Wx::RichTextRenderer} or {Wx::RichTextStdRenderer}, override DrawStandardBullet and EnumerateStandardBulletNames, and set an instance of the class using {Wx::RTC::RichTextBuffer::SetRenderer}.
65
+ # </p>
66
+ # </div>
64
67
  # @return [Wx::String]
65
68
  def get_bullet_name; end
66
69
  alias_method :bullet_name, :get_bullet_name
@@ -513,11 +516,23 @@ module Wx
513
516
  # @return [void]
514
517
  # @overload set_font_underlined(type, colour=Wx::NULL_COLOUR)
515
518
  # Sets the font underlining.
516
- # On wxMSW, {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_DOUBLE} is shown as {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SOLID}. There is only a limited number of colours supported, the RGB values are listed here. {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL} is shown as a waved line.
519
+ # <div class="wxrb-note">
520
+ # <b>Note:</b>
521
+ # <p>On WXMSW, {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_DOUBLE} is shown as {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SOLID}. There is only a limited number of colours supported, the RGB values are listed here. {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL} is shown as a waved line.
522
+ # </p>
523
+ # </div>
517
524
  #
518
- # On wxGTK, underline colour is only supported by wxGTK3. {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL} is shown as a waved line. GTK might overrule the colour of {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL}.
525
+ # <div class="wxrb-note">
526
+ # <b>Note:</b>
527
+ # <p>On WXGTK, underline colour is only supported by WXGTK3. {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL} is shown as a waved line. GTK might overrule the colour of {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL}.
528
+ # </p>
529
+ # </div>
519
530
  #
520
- # On wxOSX, {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL} is shown as a dotted line.
531
+ # <div class="wxrb-note">
532
+ # <b>Note:</b>
533
+ # <p>On WXOSX, {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL} is shown as a dotted line.
534
+ # </p>
535
+ # </div>
521
536
  # @param type [Wx::TextAttrUnderlineType] Type of underline.
522
537
  # @param colour [Wx::Colour,String,Symbol] Colour to use for underlining, text colour is used by default.
523
538
  # @return [void]