wxruby3 0.9.1-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 (455) 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/controlwithitems.rb +8 -6
  24. data/lib/wx/core/menu.rb +10 -0
  25. data/lib/wx/core/notebook.rb +6 -2
  26. data/lib/wx/core/sizer.rb +11 -0
  27. data/lib/wx/core/task_bar_button.rb +19 -0
  28. data/lib/wx/core/textctrl.rb +11 -1
  29. data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
  30. data/lib/wx/core/window.rb +10 -0
  31. data/lib/wx/doc/app.rb +48 -38
  32. data/lib/wx/doc/art_locator.rb +47 -43
  33. data/lib/wx/doc/aui/auimanager.rb +16 -8
  34. data/lib/wx/doc/aui/auinotebook.rb +20 -5
  35. data/lib/wx/doc/clipboard.rb +11 -7
  36. data/lib/wx/doc/colour_dialog.rb +14 -10
  37. data/lib/wx/doc/controlwithitems.rb +17 -7
  38. data/lib/wx/doc/data_object.rb +2 -2
  39. data/lib/wx/doc/evthandler.rb +113 -108
  40. data/lib/wx/doc/font.rb +1 -0
  41. data/lib/wx/doc/gc_dc.rb +6 -1
  42. data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
  43. data/lib/wx/doc/gen/accelerator.rb +14 -5
  44. data/lib/wx/doc/gen/accessible.rb +35 -47
  45. data/lib/wx/doc/gen/activity_indicator.rb +4 -5
  46. data/lib/wx/doc/gen/animation.rb +7 -3
  47. data/lib/wx/doc/gen/animation_ctrl.rb +6 -7
  48. data/lib/wx/doc/gen/any_button.rb +6 -1
  49. data/lib/wx/doc/gen/app.rb +7 -5
  50. data/lib/wx/doc/gen/app_traits.rb +27 -10
  51. data/lib/wx/doc/gen/art_provider.rb +19 -7
  52. data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
  53. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
  54. data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
  55. data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
  56. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +1 -0
  57. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
  58. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +6 -1
  59. data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
  60. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
  61. data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
  62. data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
  63. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
  64. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
  65. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
  66. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
  67. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
  68. data/lib/wx/doc/gen/aui/event_list.rb +164 -160
  69. data/lib/wx/doc/gen/banner_window.rb +1 -1
  70. data/lib/wx/doc/gen/bitmap.rb +33 -16
  71. data/lib/wx/doc/gen/bitmap_button.rb +11 -8
  72. data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -8
  73. data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
  74. data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
  75. data/lib/wx/doc/gen/box_sizer.rb +0 -1
  76. data/lib/wx/doc/gen/brush.rb +5 -2
  77. data/lib/wx/doc/gen/busy_info.rb +2 -2
  78. data/lib/wx/doc/gen/button.rb +23 -11
  79. data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
  80. data/lib/wx/doc/gen/calendar_ctrl.rb +16 -13
  81. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  82. data/lib/wx/doc/gen/calendar_event.rb +4 -3
  83. data/lib/wx/doc/gen/caret.rb +0 -1
  84. data/lib/wx/doc/gen/check_box.rb +7 -7
  85. data/lib/wx/doc/gen/check_list_box.rb +5 -6
  86. data/lib/wx/doc/gen/choice.rb +16 -9
  87. data/lib/wx/doc/gen/choicebook.rb +6 -7
  88. data/lib/wx/doc/gen/client_dc.rb +5 -2
  89. data/lib/wx/doc/gen/clipboard.rb +7 -3
  90. data/lib/wx/doc/gen/collapsible_pane.rb +6 -7
  91. data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
  92. data/lib/wx/doc/gen/colour.rb +8 -4
  93. data/lib/wx/doc/gen/colour_dialog.rb +6 -8
  94. data/lib/wx/doc/gen/colour_picker_ctrl.rb +9 -10
  95. data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
  96. data/lib/wx/doc/gen/combo_box.rb +16 -13
  97. data/lib/wx/doc/gen/combo_ctrl.rb +95 -32
  98. data/lib/wx/doc/gen/command_link_button.rb +4 -5
  99. data/lib/wx/doc/gen/context_help_button.rb +7 -3
  100. data/lib/wx/doc/gen/control.rb +10 -8
  101. data/lib/wx/doc/gen/control_with_items.rb +0 -1
  102. data/lib/wx/doc/gen/core.rb +4 -4
  103. data/lib/wx/doc/gen/cursor.rb +6 -8
  104. data/lib/wx/doc/gen/data_format.rb +6 -1
  105. data/lib/wx/doc/gen/data_object.rb +15 -13
  106. data/lib/wx/doc/gen/date_event.rb +2 -2
  107. data/lib/wx/doc/gen/date_picker_ctrl.rb +12 -8
  108. data/lib/wx/doc/gen/dc.rb +155 -37
  109. data/lib/wx/doc/gen/defs.rb +51 -51
  110. data/lib/wx/doc/gen/dial_up_event.rb +1 -2
  111. data/lib/wx/doc/gen/dial_up_manager.rb +13 -5
  112. data/lib/wx/doc/gen/dialog.rb +33 -13
  113. data/lib/wx/doc/gen/dir_dialog.rb +17 -5
  114. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
  115. data/lib/wx/doc/gen/dir_picker_ctrl.rb +9 -10
  116. data/lib/wx/doc/gen/drag_drop.rb +11 -10
  117. data/lib/wx/doc/gen/drag_image.rb +6 -2
  118. data/lib/wx/doc/gen/editable_list_box.rb +2 -2
  119. data/lib/wx/doc/gen/event.rb +35 -19
  120. data/lib/wx/doc/gen/event_blocker.rb +1 -3
  121. data/lib/wx/doc/gen/event_list.rb +1656 -1652
  122. data/lib/wx/doc/gen/events.rb +162 -169
  123. data/lib/wx/doc/gen/evt_handler.rb +11 -3
  124. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  125. data/lib/wx/doc/gen/file_ctrl.rb +19 -10
  126. data/lib/wx/doc/gen/file_ctrl_event.rb +3 -4
  127. data/lib/wx/doc/gen/file_dialog.rb +31 -14
  128. data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
  129. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
  130. data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
  131. data/lib/wx/doc/gen/file_picker_ctrl.rb +8 -9
  132. data/lib/wx/doc/gen/file_system.rb +38 -15
  133. data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
  134. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  135. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  136. data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -1
  137. data/lib/wx/doc/gen/font.rb +31 -20
  138. data/lib/wx/doc/gen/font_data.rb +3 -4
  139. data/lib/wx/doc/gen/font_dialog.rb +1 -2
  140. data/lib/wx/doc/gen/font_picker_ctrl.rb +6 -7
  141. data/lib/wx/doc/gen/font_picker_event.rb +2 -3
  142. data/lib/wx/doc/gen/frame.rb +56 -15
  143. data/lib/wx/doc/gen/fs_file.rb +17 -10
  144. data/lib/wx/doc/gen/gauge.rb +11 -8
  145. data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
  146. data/lib/wx/doc/gen/gcdc.rb +1 -2
  147. data/lib/wx/doc/gen/gdi_common.rb +30 -11
  148. data/lib/wx/doc/gen/gdi_object.rb +0 -1
  149. data/lib/wx/doc/gen/generic_dir_ctrl.rb +6 -7
  150. data/lib/wx/doc/gen/graphics_context.rb +58 -11
  151. data/lib/wx/doc/gen/graphics_object.rb +11 -6
  152. data/lib/wx/doc/gen/grid/event_list.rb +168 -164
  153. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
  154. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
  155. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
  156. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
  157. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -2
  158. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
  159. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -2
  160. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
  161. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
  162. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  163. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +1 -1
  164. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  165. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  166. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -2
  167. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
  168. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
  169. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
  170. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
  171. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
  172. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
  173. data/lib/wx/doc/gen/grid/grid_ctrl.rb +27 -5
  174. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
  175. data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
  176. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
  177. data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
  178. data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
  179. data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
  180. data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
  181. data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
  182. data/lib/wx/doc/gen/grid_sizer.rb +0 -1
  183. data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
  184. data/lib/wx/doc/gen/header_ctrl.rb +4 -11
  185. data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
  186. data/lib/wx/doc/gen/help_controller.rb +3 -3
  187. data/lib/wx/doc/gen/help_provider.rb +12 -3
  188. data/lib/wx/doc/gen/html/event_list.rb +41 -37
  189. data/lib/wx/doc/gen/html/html_cell.rb +23 -6
  190. data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
  191. data/lib/wx/doc/gen/html/html_easy_printing.rb +7 -2
  192. data/lib/wx/doc/gen/html/html_help_controller.rb +8 -2
  193. data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
  194. data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
  195. data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
  196. data/lib/wx/doc/gen/html/html_list_box.rb +5 -7
  197. data/lib/wx/doc/gen/html/html_printout.rb +1 -2
  198. data/lib/wx/doc/gen/html/html_window.rb +12 -6
  199. data/lib/wx/doc/gen/hyperlink_ctrl.rb +7 -7
  200. data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
  201. data/lib/wx/doc/gen/icon.rb +5 -29
  202. data/lib/wx/doc/gen/icon_location.rb +0 -1
  203. data/lib/wx/doc/gen/image.rb +83 -17
  204. data/lib/wx/doc/gen/image_list.rb +15 -6
  205. data/lib/wx/doc/gen/info_bar.rb +2 -2
  206. data/lib/wx/doc/gen/keyboard_state.rb +0 -1
  207. data/lib/wx/doc/gen/list_box.rb +29 -17
  208. data/lib/wx/doc/gen/list_ctrl.rb +76 -29
  209. data/lib/wx/doc/gen/list_event.rb +3 -4
  210. data/lib/wx/doc/gen/listbook.rb +6 -7
  211. data/lib/wx/doc/gen/locale.rb +46 -4
  212. data/lib/wx/doc/gen/log.rb +16 -12
  213. data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
  214. data/lib/wx/doc/gen/mdi_frame.rb +28 -7
  215. data/lib/wx/doc/gen/media_ctrl.rb +26 -18
  216. data/lib/wx/doc/gen/media_event.rb +5 -4
  217. data/lib/wx/doc/gen/memory_dc.rb +6 -6
  218. data/lib/wx/doc/gen/menu.rb +37 -23
  219. data/lib/wx/doc/gen/menu_bar.rb +52 -12
  220. data/lib/wx/doc/gen/menu_item.rb +41 -19
  221. data/lib/wx/doc/gen/message_dialog.rb +7 -8
  222. data/lib/wx/doc/gen/mini_frame.rb +11 -5
  223. data/lib/wx/doc/gen/mirror_dc.rb +0 -2
  224. data/lib/wx/doc/gen/mouse_state.rb +0 -1
  225. data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
  226. data/lib/wx/doc/gen/non_owned_window.rb +1 -1
  227. data/lib/wx/doc/gen/notebook.rb +17 -9
  228. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  229. data/lib/wx/doc/gen/object.rb +0 -1
  230. data/lib/wx/doc/gen/paint_dc.rb +0 -1
  231. data/lib/wx/doc/gen/palette.rb +0 -1
  232. data/lib/wx/doc/gen/panel.rb +17 -8
  233. data/lib/wx/doc/gen/pen.rb +17 -8
  234. data/lib/wx/doc/gen/pg/event_list.rb +97 -93
  235. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
  236. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
  237. data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
  238. data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
  239. data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
  240. data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
  241. data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
  242. data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
  243. data/lib/wx/doc/gen/pg/property_grid.rb +81 -20
  244. data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
  245. data/lib/wx/doc/gen/pg/property_grid_interface.rb +214 -36
  246. data/lib/wx/doc/gen/pg/property_grid_manager.rb +40 -10
  247. data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
  248. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
  249. data/lib/wx/doc/gen/picker_base.rb +12 -5
  250. data/lib/wx/doc/gen/platform_info.rb +4 -9
  251. data/lib/wx/doc/gen/popup_window.rb +2 -5
  252. data/lib/wx/doc/gen/progress_dialog.rb +1 -0
  253. data/lib/wx/doc/gen/property_sheet_dialog.rb +13 -3
  254. data/lib/wx/doc/gen/prt/event_list.rb +8 -4
  255. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
  256. data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
  257. data/lib/wx/doc/gen/prt/preview_frame.rb +1 -1
  258. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +3 -0
  259. data/lib/wx/doc/gen/prt/print_data.rb +4 -3
  260. data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
  261. data/lib/wx/doc/gen/prt/printer.rb +50 -11
  262. data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
  263. data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
  264. data/lib/wx/doc/gen/radio_box.rb +9 -10
  265. data/lib/wx/doc/gen/radio_button.rb +13 -9
  266. data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
  267. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
  268. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
  269. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
  270. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
  271. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
  272. data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
  273. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
  274. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
  275. data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
  276. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
  277. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
  278. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
  279. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
  280. data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -2
  281. data/lib/wx/doc/gen/rearrange_list.rb +3 -4
  282. data/lib/wx/doc/gen/region.rb +75 -17
  283. data/lib/wx/doc/gen/region_iterator.rb +0 -1
  284. data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
  285. data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
  286. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
  287. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
  288. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
  289. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +10 -7
  290. data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
  291. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +2 -4
  292. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +2 -3
  293. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
  294. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
  295. data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
  296. data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
  297. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
  298. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +2 -2
  299. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +5 -5
  300. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +1 -1
  301. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +2 -3
  302. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +1 -2
  303. data/lib/wx/doc/gen/sash_event.rb +9 -4
  304. data/lib/wx/doc/gen/sash_layout_window.rb +11 -4
  305. data/lib/wx/doc/gen/sash_window.rb +3 -4
  306. data/lib/wx/doc/gen/screen_dc.rb +0 -1
  307. data/lib/wx/doc/gen/scroll_bar.rb +19 -10
  308. data/lib/wx/doc/gen/scrolled_canvas.rb +32 -10
  309. data/lib/wx/doc/gen/scrolled_control.rb +32 -10
  310. data/lib/wx/doc/gen/scrolled_window.rb +32 -10
  311. data/lib/wx/doc/gen/search_ctrl.rb +8 -9
  312. data/lib/wx/doc/gen/simplebook.rb +1 -1
  313. data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
  314. data/lib/wx/doc/gen/sizer.rb +12 -7
  315. data/lib/wx/doc/gen/sizer_item.rb +5 -2
  316. data/lib/wx/doc/gen/slider.rb +27 -17
  317. data/lib/wx/doc/gen/spin_button.rb +15 -10
  318. data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
  319. data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
  320. data/lib/wx/doc/gen/spin_double_event.rb +3 -4
  321. data/lib/wx/doc/gen/spin_event.rb +3 -3
  322. data/lib/wx/doc/gen/splash_screen.rb +1 -2
  323. data/lib/wx/doc/gen/splitter_event.rb +3 -4
  324. data/lib/wx/doc/gen/splitter_window.rb +76 -18
  325. data/lib/wx/doc/gen/static_bitmap.rb +10 -5
  326. data/lib/wx/doc/gen/static_box.rb +9 -7
  327. data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
  328. data/lib/wx/doc/gen/static_line.rb +3 -4
  329. data/lib/wx/doc/gen/static_text.rb +5 -6
  330. data/lib/wx/doc/gen/status_bar.rb +19 -9
  331. data/lib/wx/doc/gen/stc/event_list.rb +212 -208
  332. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +39 -13
  333. data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
  334. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
  335. data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
  336. data/lib/wx/doc/gen/system_options.rb +6 -6
  337. data/lib/wx/doc/gen/system_settings.rb +2 -3
  338. data/lib/wx/doc/gen/task_bar_button.rb +312 -0
  339. data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
  340. data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
  341. data/lib/wx/doc/gen/text_attr.rb +20 -5
  342. data/lib/wx/doc/gen/text_ctrl.rb +90 -25
  343. data/lib/wx/doc/gen/text_entry.rb +31 -11
  344. data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
  345. data/lib/wx/doc/gen/text_validator.rb +43 -10
  346. data/lib/wx/doc/gen/time_picker_ctrl.rb +5 -6
  347. data/lib/wx/doc/gen/timer.rb +6 -2
  348. data/lib/wx/doc/gen/timer_event.rb +1 -2
  349. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  350. data/lib/wx/doc/gen/toggle_button.rb +5 -6
  351. data/lib/wx/doc/gen/tool_bar.rb +98 -25
  352. data/lib/wx/doc/gen/tool_tip.rb +35 -5
  353. data/lib/wx/doc/gen/toolbook.rb +3 -4
  354. data/lib/wx/doc/gen/top_level_window.rb +69 -23
  355. data/lib/wx/doc/gen/tree_ctrl.rb +40 -16
  356. data/lib/wx/doc/gen/tree_event.rb +3 -4
  357. data/lib/wx/doc/gen/treebook.rb +7 -4
  358. data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
  359. data/lib/wx/doc/gen/utils.rb +39 -7
  360. data/lib/wx/doc/gen/v_list_box.rb +6 -2
  361. data/lib/wx/doc/gen/v_scrolled_window.rb +6 -4
  362. data/lib/wx/doc/gen/validator.rb +1 -1
  363. data/lib/wx/doc/gen/variant.rb +1 -0
  364. data/lib/wx/doc/gen/window.rb +195 -45
  365. data/lib/wx/doc/gen/window_dc.rb +0 -1
  366. data/lib/wx/doc/gen/window_disabler.rb +5 -2
  367. data/lib/wx/doc/gen/with_images.rb +6 -1
  368. data/lib/wx/doc/gen/wizard.rb +4 -4
  369. data/lib/wx/doc/gen/wizard_event.rb +3 -4
  370. data/lib/wx/doc/gen/wizard_page.rb +2 -2
  371. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  372. data/lib/wx/doc/gen/wrap_sizer.rb +0 -1
  373. data/lib/wx/doc/gen/xml_node.rb +19 -4
  374. data/lib/wx/doc/gen/xml_resource.rb +18 -5
  375. data/lib/wx/doc/graphics_context.rb +1 -0
  376. data/lib/wx/doc/grid/grid.rb +22 -1
  377. data/lib/wx/doc/help_controller.rb +11 -7
  378. data/lib/wx/doc/html/html_help_controller.rb +12 -4
  379. data/lib/wx/doc/list_ctrl.rb +33 -29
  380. data/lib/wx/doc/menu.rb +20 -0
  381. data/lib/wx/doc/notebook.rb +21 -0
  382. data/lib/wx/doc/pg/events.rb +13 -9
  383. data/lib/wx/doc/pg/pg_property.rb +18 -0
  384. data/lib/wx/doc/progress_dialog.rb +36 -32
  385. data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
  386. data/lib/wx/doc/prt/print_data.rb +13 -5
  387. data/lib/wx/doc/prt/print_dialog.rb +31 -23
  388. data/lib/wx/doc/prt/printer.rb +20 -12
  389. data/lib/wx/doc/radio_box.rb +19 -15
  390. data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
  391. data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
  392. data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
  393. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
  394. data/lib/wx/doc/region_iterator.rb +32 -28
  395. data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
  396. data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
  397. data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
  398. data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
  399. data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
  400. data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
  401. data/lib/wx/doc/sizer.rb +20 -0
  402. data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
  403. data/lib/wx/doc/stream.rb +39 -35
  404. data/lib/wx/doc/system_settings.rb +30 -26
  405. data/lib/wx/doc/text_validator.rb +12 -8
  406. data/lib/wx/doc/textctrl.rb +16 -0
  407. data/lib/wx/doc/tree_ctrl.rb +95 -0
  408. data/lib/wx/doc/treebook.rb +9 -5
  409. data/lib/wx/doc/v_list_box.rb +9 -5
  410. data/lib/wx/doc/variant.rb +164 -160
  411. data/lib/wx/doc/window.rb +57 -47
  412. data/lib/wx/doc/window_disabler.rb +10 -6
  413. data/lib/wx/grid/grid.rb +27 -4
  414. data/lib/wx/pg/pg_property.rb +22 -0
  415. data/lib/wx/rtc/require.rb +3 -0
  416. data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
  417. data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
  418. data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
  419. data/lib/wx/stc/require.rb +1 -0
  420. data/lib/wx/stc/styled_text_ctrl.rb +25 -0
  421. data/lib/wx/version.rb +1 -1
  422. data/lib/wxruby_aui.so +0 -0
  423. data/lib/wxruby_core.so +0 -0
  424. data/lib/wxruby_grid.so +0 -0
  425. data/lib/wxruby_html.so +0 -0
  426. data/lib/wxruby_pg.so +0 -0
  427. data/lib/wxruby_prt.so +0 -0
  428. data/lib/wxruby_rbn.so +0 -0
  429. data/lib/wxruby_rtc.so +0 -0
  430. data/lib/wxruby_stc.so +0 -0
  431. data/rakelib/lib/config/linux.rb +0 -3
  432. data/rakelib/lib/config/macosx.rb +2 -2
  433. data/rakelib/lib/config/mingw.rb +1 -1
  434. data/rakelib/lib/config/unixish.rb +1 -1
  435. data/rakelib/lib/config.rb +14 -4
  436. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
  437. data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
  438. data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
  439. data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
  440. data/rakelib/yard/templates/default/tags/setup.rb +16 -0
  441. data/rakelib/yard/yard-custom-templates.rb +3 -0
  442. data/samples/treectrl/treectrl.rb +1 -1
  443. data/tests/media/beep_lo.wav +0 -0
  444. data/tests/test_list_ctrl.rb +1 -1
  445. data/tests/test_media_ctrl.rb +38 -0
  446. data/tests/test_menu.rb +69 -0
  447. data/tests/test_pg.rb +27 -0
  448. data/tests/test_richtext.rb +45 -0
  449. data/tests/test_sizer.rb +16 -0
  450. data/tests/test_std_controls.rb +42 -1
  451. data/tests/test_styled_text_ctrl.rb +46 -0
  452. data/tests/test_tree_ctrl.rb +138 -0
  453. data/tests/test_window.rb +12 -0
  454. data/tests/testapp_noframe.rb +1 -1
  455. metadata +28 -3
@@ -76,7 +76,7 @@ module Wx
76
76
 
77
77
  # Font weights.
78
78
  #
79
- # The values of this enum correspond to the CSS font weight specifications, see https://www.w3.org/TR/css-fonts-4/#font-weight-prop, with the addition of one font weight bolder than heavy
79
+ # The values of this enum correspond to the CSS font weight specifications, see https://www.w3.org/TR/css-fonts-4/\#font-weight-prop, with the addition of one font weight bolder than heavy
80
80
  #
81
81
  class FontWeight < Wx::Enum
82
82
 
@@ -132,7 +132,7 @@ module Wx
132
132
 
133
133
  # Symbolic font sizes.
134
134
  #
135
- # The elements of this enum correspond to CSS absolute size specifications, see http://www.w3.org/TR/CSS21/fonts.html#font-size-props
135
+ # The elements of this enum correspond to CSS absolute size specifications, see http://www.w3.org/TR/CSS21/fonts.html\#font-size-props
136
136
  # @see Wx::Font#set_symbolic_size
137
137
  #
138
138
  #
@@ -206,7 +206,7 @@ module Wx
206
206
  #
207
207
  FONTFLAG_UNDERLINED = Wx::FontFlag.new(64)
208
208
 
209
- # Strike-through style (implemented in MSW, GTK, and wxOSX)
209
+ # Strike-through style (implemented in MSW, GTK, and WXOSX)
210
210
  #
211
211
  FONTFLAG_STRIKETHROUGH = Wx::FontFlag.new(128)
212
212
 
@@ -645,7 +645,6 @@ module Wx
645
645
  # The easiest way to create a custom font is to use {Wx::FontInfo} object to specify the font attributes and then use wxFont::wxFont(const wxFontInfo&) constructor. Alternatively, you could start with one of the pre-defined fonts or use {Wx::Window#get_font} and modify the font, e.g. by increasing its size using {Wx::Font#make_larger} or changing its weight using {Wx::Font#make_bold}.
646
646
  # This class uses reference counting and copy-on-write internally so that assignments between two instances of this class are very cheap. You can therefore use actual objects instead of pointers without efficiency problems. If an instance of this class is changed it will create its own data internally so that other instances, which previously shared the data using the reference counting, are not affected.
647
647
  # You can retrieve the current system font settings with {Wx::SystemSettings}.
648
- # ===
649
648
  #
650
649
  # Category: Graphics Device Interface (GDI)
651
650
  # Predefined objects/pointers: {Wx::NULL_FONT}, {Wx::NORMAL_FONT}, {Wx::SMALL_FONT}, {Wx::ITALIC_FONT}, {Wx::SWISS_FONT}
@@ -667,7 +666,7 @@ module Wx
667
666
  alias_method :base_font, :get_base_font
668
667
 
669
668
  # Returns the encoding of this font.
670
- # Note that under wxGTK the returned value is always {Wx::FontEncoding::FONTENCODING_UTF8}.
669
+ # Note that under WXGTK the returned value is always {Wx::FontEncoding::FONTENCODING_UTF8}.
671
670
  # @see Wx::Font#set_encoding
672
671
  # @return [Wx::FontEncoding]
673
672
  def get_encoding; end
@@ -700,7 +699,7 @@ module Wx
700
699
 
701
700
  # Returns a user-friendly string for this font object.
702
701
  # Returned string is always non-empty unless the font is invalid (in which case an assert is triggered).
703
- # The string does not encode all {Wx::Font} infos under all platforms; e.g. under wxMSW the font family is not present in the returned string.
702
+ # The string does not encode all {Wx::Font} infos under all platforms; e.g. under WXMSW the font family is not present in the returned string.
704
703
  # Some examples of the formats of returned strings (which are platform-dependent) are in {Wx::Font#set_native_font_info_user_desc}.
705
704
  # @see Wx::Font#set_native_font_info_user_desc
706
705
  # @see Wx::Font#get_native_font_info_desc
@@ -726,7 +725,7 @@ module Wx
726
725
  alias_method :fractional_point_size, :get_fractional_point_size
727
726
 
728
727
  # Gets the pixel size.
729
- # Note that under wxMSW if you passed to {Wx::Font#set_pixel_size} (or to the ctor) a {Wx::Size} object with a null width value, you'll get a null width in the returned object.
728
+ # Note that under WXMSW if you passed to {Wx::Font#set_pixel_size} (or to the ctor) a {Wx::Size} object with a null width value, you'll get a null width in the returned object.
730
729
  # @see Wx::Font#set_pixel_size
731
730
  # @return [Wx::Size]
732
731
  def get_pixel_size; end
@@ -824,7 +823,7 @@ module Wx
824
823
  def underlined; end
825
824
 
826
825
  # Returns stricken-through version of this font.
827
- # Currently stricken-through fonts are only supported in wxMSW, wxGTK, and wxOSX.
826
+ # Currently stricken-through fonts are only supported in WXMSW, WXGTK, and WXOSX.
828
827
  # @see Wx::Font#make_strikethrough
829
828
  # @return [Wx::Font]
830
829
  def strikethrough; end
@@ -864,7 +863,7 @@ module Wx
864
863
  def make_underlined; end
865
864
 
866
865
  # Changes this font to be stricken-through.
867
- # Currently stricken-through fonts are only supported in wxMSW, wxGTK, and wxOSX.
866
+ # Currently stricken-through fonts are only supported in WXMSW, WXGTK, and WXOSX.
868
867
  # @see Wx::Font#strikethrough
869
868
  # @return [Wx::Font]
870
869
  def make_strikethrough; end
@@ -888,7 +887,7 @@ module Wx
888
887
  def scaled(x) end
889
888
 
890
889
  # Sets the encoding for this font.
891
- # Note that under wxGTK this function has no effect (because the underlying Pango library always uses {Wx::FontEncoding::FONTENCODING_UTF8}).
890
+ # Note that under WXGTK this function has no effect (because the underlying Pango library always uses {Wx::FontEncoding::FONTENCODING_UTF8}).
892
891
  # @see Wx::Font#get_encoding
893
892
  # @param encoding [Wx::FontEncoding]
894
893
  # @return [void]
@@ -896,7 +895,11 @@ module Wx
896
895
  alias_method :encoding=, :set_encoding
897
896
 
898
897
  # Sets the facename for the font.
899
- # To avoid portability problems, don't rely on a specific face, but specify the font family instead (see {Wx::FontFamily} and {Wx::Font#set_family}).
898
+ # <div class="wxrb-remark">
899
+ # <b>Remark:</b>
900
+ # <p>To avoid portability problems, don't rely on a specific face, but specify the font family instead (see {Wx::FontFamily} and {Wx::Font#set_family}).
901
+ # </p>
902
+ # </div>>
900
903
  #
901
904
  # true if the given face name exists; if the face name doesn't exist in the user's system then the font is invalidated (so that {Wx::Font#is_ok} will return false) and false is returned.
902
905
  # @see Wx::Font#get_face_name
@@ -932,18 +935,18 @@ module Wx
932
935
  # generic syntax
933
936
  # example
934
937
  #
935
- # wxGTK2
938
+ # WXGTK2
936
939
  # <code>[underlined] [strikethrough] [FACE-NAME] [bold] [oblique|italic] [POINTSIZE]</code>
937
940
  # Monospace bold 10
938
941
  #
939
- # wxMSW
942
+ # WXMSW
940
943
  # <code>[light|bold] [italic] [FACE-NAME] [POINTSIZE] [ENCODING]</code>
941
944
  # Tahoma 10 WINDOWS-1252
942
945
  #
943
- # Todoadd an example for wxMac
946
+ # Todoadd an example for WXOSX
944
947
  #
945
948
  # For more detailed information about the allowed syntaxes you can look at the documentation of the native API used for font-rendering (e.g. pango_font_description_from_string under GTK, although notice that it doesn't support the "underlined" and "strikethrough" attributes and so those are handled by wxWidgets itself).
946
- # Note that unlike {Wx::Font#set_native_font_info}, this function doesn't always restore all attributes of the {Wx::Font} object under all platforms; e.g. on wxMSW the font family is not restored (because GetNativeFontInfoUserDesc doesn't return it on wxMSW). If you want to serialize/deserialize a font in string form, you should use {Wx::Font#get_native_font_info_desc} and {Wx::Font#set_native_font_info} instead.
949
+ # Note that unlike {Wx::Font#set_native_font_info}, this function doesn't always restore all attributes of the {Wx::Font} object under all platforms; e.g. on WXMSW the font family is not restored (because GetNativeFontInfoUserDesc doesn't return it on WXMSW). If you want to serialize/deserialize a font in string form, you should use {Wx::Font#get_native_font_info_desc} and {Wx::Font#set_native_font_info} instead.
947
950
  # @see Wx::Font#set_native_font_info
948
951
  # @param info [String]
949
952
  # @return [Boolean]
@@ -968,7 +971,7 @@ module Wx
968
971
 
969
972
  # Sets the pixel size.
970
973
  # The height parameter of pixelSize must be positive while the width parameter may also be zero (to indicate that you're not interested in the width of the characters: a suitable width will be chosen for best rendering).
971
- # This feature (specifying the font pixel size) is directly supported only under wxMSW and wxGTK currently; under other platforms a font with the closest size to the given one is found using binary search (this maybe slower).
974
+ # This feature (specifying the font pixel size) is directly supported only under WXMSW and WXGTK currently; under other platforms a font with the closest size to the given one is found using binary search (this maybe slower).
972
975
  # @see Wx::Font#get_pixel_size
973
976
  # @param pixelSize [Array(Integer, Integer), Wx::Size]
974
977
  # @return [void]
@@ -1007,7 +1010,7 @@ module Wx
1007
1010
  alias_method :underlined=, :set_underlined
1008
1011
 
1009
1012
  # Sets strike-through attribute of the font.
1010
- # Currently stricken-through fonts are only supported in wxMSW, wxGTK, and wxOSX.
1013
+ # Currently stricken-through fonts are only supported in WXMSW, WXGTK, and WXOSX.
1011
1014
  # @see Wx::Font#get_strikethrough
1012
1015
  # @param strikethrough [Boolean] true to add strike-through style, false to remove it.
1013
1016
  # @return [void]
@@ -1103,7 +1106,11 @@ module Wx
1103
1106
  # Wx::FontWeight::FONTWEIGHT_BOLD, true)
1104
1107
  # ```
1105
1108
  #
1106
- # If the desired font does not exist, the closest match will be chosen. Under Windows, only scalable TrueType fonts are used.
1109
+ # <div class="wxrb-remark">
1110
+ # <b>Remark:</b>
1111
+ # <p>If the desired font does not exist, the closest match will be chosen. Under Windows, only scalable TrueType fonts are used.
1112
+ # </p>
1113
+ # </div>>
1107
1114
  # @param pointSize [Integer] Size in points. See {Wx::Font#set_point_size} for more info. Notice that, for historical reasons, the value 70 here is interpreted at {Wx::DEFAULT} and results in creation of the font with the default size and not of a font with the size of 70pt. If you really need the latter, please use SetPointSize(70). Note that this constructor and the matching Create() method overload are the only places in {Wx::Font} API handling {Wx::DEFAULT} specially: neither {Wx::Font#set_point_size} nor the constructor taking {Wx::FontInfo} handle this value in this way.
1108
1115
  # @param family [Wx::FontFamily] The font family: a generic portable way of referring to fonts without specifying a facename. This parameter must be one of the {Wx::FontFamily} enumeration values. If the faceName argument is provided, then it overrides the font family.
1109
1116
  # @param style [Wx::FontStyle] One of {Wx::FontStyle::FONTSTYLE_NORMAL}, {Wx::FontStyle::FONTSTYLE_SLANT} and {Wx::FontStyle::FONTSTYLE_ITALIC}.
@@ -1116,7 +1123,11 @@ module Wx
1116
1123
  # Creates a font object with the specified attributes and size in pixels.
1117
1124
  # Notice that the use of this constructor is often more verbose and less readable than the use of constructor from {Wx::FontInfo}, consider using that constructor instead.
1118
1125
  #
1119
- # If the desired font does not exist, the closest match will be chosen. Under Windows, only scalable TrueType fonts are used.
1126
+ # <div class="wxrb-remark">
1127
+ # <b>Remark:</b>
1128
+ # <p>If the desired font does not exist, the closest match will be chosen. Under Windows, only scalable TrueType fonts are used.
1129
+ # </p>
1130
+ # </div>>
1120
1131
  # @param pixelSize [Array(Integer, Integer), Wx::Size] Size in pixels. See {Wx::Font#set_pixel_size} for more info.
1121
1132
  # @param family [Wx::FontFamily] The font family: a generic portable way of referring to fonts without specifying a facename. This parameter must be one of the {Wx::FontFamily} enumeration values. If the faceName argument is provided, then it overrides the font family.
1122
1133
  # @param style [Wx::FontStyle] One of {Wx::FontStyle::FONTSTYLE_NORMAL}, {Wx::FontStyle::FONTSTYLE_SLANT} and {Wx::FontStyle::FONTSTYLE_ITALIC}.
@@ -1263,7 +1274,7 @@ module Wx
1263
1274
  def underlined(underlined=true) end
1264
1275
 
1265
1276
  # Use a strike-through version of the font.
1266
- # Currently this is only implemented in wxMSW, wxGTK, and wxOSX.
1277
+ # Currently this is only implemented in WXMSW, WXGTK, and WXOSX.
1267
1278
  # @param strikethrough [Boolean]
1268
1279
  # @return [Wx::FontInfo]
1269
1280
  def strikethrough(strikethrough=true) end
@@ -7,8 +7,6 @@
7
7
  module Wx
8
8
 
9
9
  # This class holds a variety of information related to font dialogs.
10
- # ===
11
- #
12
10
  # Category: Common Dialogs, Data Structures
13
11
  # @see wxFontDialog Overview
14
12
  # @see Wx::Font
@@ -17,6 +15,7 @@ module Wx
17
15
  #
18
16
  #
19
17
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
18
+ # @wxrb_require USE_FONTDLG
20
19
  class FontData < Object
21
20
 
22
21
  # Constructor.
@@ -56,7 +55,7 @@ module Wx
56
55
  def get_enable_effects; end
57
56
 
58
57
  # Returns the state of the flags restricting the selection.
59
- # Note that currently these flags are only effectively used in wxMSW.
58
+ # Note that currently these flags are only effectively used in WXMSW.
60
59
  #
61
60
  # - {Wx::FONTRESTRICT_NONE} If no restriction applies, or a combination of the following flags:
62
61
  # - {Wx::FONTRESTRICT_SCALABLE} To show only scalable fonts - no raster fonts.
@@ -79,7 +78,7 @@ module Wx
79
78
  alias_method :show_help, :get_show_help
80
79
 
81
80
  # Restricts the selection to a subset of the available fonts.
82
- # Note that currently these flags are only effectively used in wxMSW and are ignored in the other ports.
81
+ # Note that currently these flags are only effectively used in WXMSW and are ignored in the other ports.
83
82
  # Possible values are:
84
83
  #
85
84
  # - {Wx::FONTRESTRICT_NONE} No restriction, show all fonts in the dialog.
@@ -14,14 +14,13 @@ module Wx
14
14
  def self.get_font_from_user(parent, fontInit, caption=('')) end
15
15
 
16
16
  # This class represents the font chooser dialog.
17
- # ===
18
- #
19
17
  # Category: Common Dialogs
20
18
  # @see wxFontDialog Overview
21
19
  # @see Wx::FontData
22
20
  # @see get_font_from_user
23
21
  #
24
22
  #
23
+ # @wxrb_require USE_FONTDLG
25
24
  class FontDialog < Dialog
26
25
 
27
26
  # Returns the font data associated with the font dialog.
@@ -8,7 +8,7 @@ module Wx
8
8
 
9
9
  # This control allows the user to select a font.
10
10
  # The generic implementation is a button which brings up a {Wx::FontDialog} when clicked. Native implementation may differ but this is usually a (small) widget which give access to the font-chooser dialog. It is only available if {Wx::Setup::USE_FONTPICKERCTRL} is set to 1 (the default).
11
- # === Styles
11
+ # ### Styles
12
12
  #
13
13
  # This class supports the following styles:
14
14
  #
@@ -21,23 +21,22 @@ module Wx
21
21
  #
22
22
  # - {Wx::FNTP_USEFONT_FOR_LABEL}: Uses the currently selected font to draw the label of the button.
23
23
  #
24
- # === Events emitted by this class
24
+ # ### Events emitted by this class
25
25
  #
26
26
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::FontPickerEvent} events.
27
27
  # Event handler methods for events emitted by this class:
28
28
  #
29
29
  # - {Wx::EvtHandler#evt_fontpicker_changed}(id, meth = nil, &block): The user changed the font selected in the control either using the button or using text control (see {Wx::FNTP_USE_TEXTCTRL}; note that in this case the event is fired only if the user's input is valid, i.e. recognizable).
30
30
  #
31
- # ===
32
- #
33
- # Category: Picker Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
34
- # </td><td> wxGTK Appearance
35
- # </td><td> wxOSX Appearance
31
+ # Category: Picker Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
32
+ # </td><td> WXGTK Appearance
33
+ # </td><td> WXOSX Appearance
36
34
  # </td></tr></table></div>
37
35
  # @see Wx::FontDialog
38
36
  # @see Wx::FontPickerEvent
39
37
  #
40
38
  #
39
+ # @wxrb_require USE_FONTDLG,USE_FONTPICKERCTRL
41
40
  class FontPickerCtrl < PickerBase
42
41
 
43
42
  # @overload initialize()
@@ -26,19 +26,18 @@ module Wx
26
26
  EVT_FONTPICKER_CHANGED = 10170
27
27
 
28
28
  # This event class is used for the events generated by {Wx::FontPickerCtrl}.
29
- # === Events using this class
29
+ # ### Events using this class
30
30
  #
31
31
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::FontPickerEvent} events.
32
32
  # Event handler methods:
33
33
  #
34
34
  # - {Wx::EvtHandler#evt_fontpicker_changed}(id, meth = nil, &block): Generated whenever the selected font changes.
35
35
  #
36
- # ===
37
- #
38
36
  # Category: {Wx::Events}
39
37
  # @see Wx::FontPickerCtrl
40
38
  #
41
39
  #
40
+ # @wxrb_require USE_FONTDLG,USE_FONTPICKERCTRL
42
41
  class FontPickerEvent < CommandEvent
43
42
 
44
43
  # The constructor is not normally used by the user code.
@@ -19,9 +19,14 @@ module Wx
19
19
  # It usually has thick borders and a title bar, and can optionally contain a menu bar, toolbar and status bar. A frame can contain any window that is not a frame or dialog.
20
20
  # A frame that has a status bar and toolbar, created via the {Wx::Frame#create_status_bar} and {Wx::Frame#create_tool_bar} functions, manages these windows and adjusts the value returned by {Wx::Frame#get_client_size} to reflect the remaining size available to application windows.
21
21
  # If a frame is to be used as an input form, the controls should not be created as its children. Instead, a {Wx::Panel} should be created as the sole child of the frame, serving as the parent of the actual controls (the frame will size the panel so it always fills its client area). Doing this will ensure that tabbing between the controls works and the frame background has the expected colour. Moreover, as a frame is by default resizable, it could be better to use {Wx::ScrolledWindow} instead of {Wx::Panel}, to make sure the controls are easily accessible regardless of the frame size. However, please consider whether it would not be better to use {Wx::Dialog} instead of {Wx::Frame}, where using a panel like this is not needed and {Wx::Dialog} also offers other benefits such as creating specialized sizers (e.g., for buttons, with their platform-correct order).
22
- # An application should normally define a {Wx::CloseEvent} handler for the frame to respond to system close events, for example so that related data and subwindows can be cleaned up.
23
22
  #
24
- # == Default event processing
23
+ # <div class="wxrb-remark">
24
+ # <b>Remark:</b>
25
+ # <p>An application should normally define a {Wx::CloseEvent} handler for the frame to respond to system close events, for example so that related data and subwindows can be cleaned up.
26
+ # </p>
27
+ # </div>>
28
+ #
29
+ # ## Default event processing
25
30
  #
26
31
  # {Wx::Frame} processes the following events:
27
32
  #
@@ -29,7 +34,7 @@ module Wx
29
34
  #
30
35
  # - {Wx::EVT_MENU_HIGHLIGHT}: the default implementation displays the help string associated with the selected item in the first pane of the status bar, if there is one.
31
36
  #
32
- # === Styles
37
+ # ### Styles
33
38
  #
34
39
  # This class supports the following styles:
35
40
  #
@@ -45,7 +50,7 @@ module Wx
45
50
  #
46
51
  # - {Wx::MAXIMIZE}: Displays the frame maximized. Windows and GTK+ only.
47
52
  #
48
- # - {Wx::MAXIMIZE_BOX}: Displays a maximize box on the frame. Notice that under wxGTK {Wx::RESIZE_BORDER} must be used as well or this style is ignored.
53
+ # - {Wx::MAXIMIZE_BOX}: Displays a maximize box on the frame. Notice that under WXGTK {Wx::RESIZE_BORDER} must be used as well or this style is ignored.
49
54
  #
50
55
  # - {Wx::CLOSE_BOX}: Displays a close box on the frame.
51
56
  #
@@ -57,7 +62,7 @@ module Wx
57
62
  #
58
63
  # - {Wx::FRAME_TOOL_WINDOW}: Causes a frame with a small title bar to be created; the frame does not appear in the taskbar under Windows or GTK+.
59
64
  #
60
- # - {Wx::FRAME_NO_TASKBAR}: Creates an otherwise normal frame but it does not appear in the taskbar under Windows or GTK+ (note that it will minimize to the desktop window under Windows which may seem strange to the users and thus it might be better to use this style only without {Wx::MINIMIZE_BOX} style). In wxGTK, the flag is respected only if the window manager supports _NET_WM_STATE_SKIP_TASKBAR hint.
65
+ # - {Wx::FRAME_NO_TASKBAR}: Creates an otherwise normal frame but it does not appear in the taskbar under Windows or GTK+ (note that it will minimize to the desktop window under Windows which may seem strange to the users and thus it might be better to use this style only without {Wx::MINIMIZE_BOX} style). In WXGTK, the flag is respected only if the window manager supports _NET_WM_STATE_SKIP_TASKBAR hint.
61
66
  #
62
67
  # - {Wx::FRAME_FLOAT_ON_PARENT}: The frame will always be on top of its parent (unlike {Wx::STAY_ON_TOP}). A frame created with this style must have a non-NULL parent.
63
68
  #
@@ -71,7 +76,7 @@ module Wx
71
76
  #
72
77
  # See also the Window Styles.
73
78
  #
74
- # === Extra Styles
79
+ # ### Extra Styles
75
80
  #
76
81
  # This class supports the following extra styles:
77
82
  #
@@ -79,7 +84,7 @@ module Wx
79
84
  #
80
85
  # - {Wx::FRAME_EX_METAL}: On macOS, frames with this style will be shown with a metallic look. This is an extra style.
81
86
  #
82
- # === Events emitted by this class
87
+ # ### Events emitted by this class
83
88
  #
84
89
  # Event handler methods for events emitted by this class:
85
90
  #
@@ -95,8 +100,6 @@ module Wx
95
100
  #
96
101
  # - {Wx::EvtHandler#evt_menu_highlight_all}(meth = nil, &block): A menu item has been highlighted, i.e. the currently selected menu item has changed. See {Wx::MenuEvent}.
97
102
  #
98
- # ===
99
- #
100
103
  # Category: Managed Windows
101
104
  # @see Wx::MDIParentFrame
102
105
  # @see Wx::MDIChildFrame
@@ -111,7 +114,11 @@ module Wx
111
114
  # @return [Wx::Frame]
112
115
  # @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR)
113
116
  # Constructor, creating the window.
114
- # For Motif, MWM (the Motif Window Manager) should be running for any window styles to work (otherwise all styles take effect).
117
+ # <div class="wxrb-remark">
118
+ # <b>Remark:</b>
119
+ # <p>For Motif, MWM (the Motif Window Manager) should be running for any window styles to work (otherwise all styles take effect).
120
+ # </p>
121
+ # </div>>
115
122
  # @see Wx::Frame#create
116
123
  # @param parent [Wx::Window] The window parent. This may be, and often is, NULL. If it is non-NULL, the frame will be minimized when its parent is minimized and restored when it is restored (although it will still be possible to minimize and restore just this frame itself).
117
124
  # @param id [Integer] The window identifier. It may take a value of -1 to indicate a default value.
@@ -143,7 +150,11 @@ module Wx
143
150
  # Creates a status bar at the bottom of the frame.
144
151
  # A pointer to the status bar if it was created successfully, NULL otherwise.
145
152
  #
146
- # The width of the status bar is the whole width of the frame (adjusted automatically when resizing), and the height and text size are chosen by the host windowing system.
153
+ # <div class="wxrb-remark">
154
+ # <b>Remark:</b>
155
+ # <p>The width of the status bar is the whole width of the frame (adjusted automatically when resizing), and the height and text size are chosen by the host windowing system.
156
+ # </p>
157
+ # </div>>
147
158
  # @see Wx::Frame#set_status_text
148
159
  # @see Wx::Frame#on_create_status_bar
149
160
  # @see Wx::Frame#get_status_bar
@@ -157,7 +168,11 @@ module Wx
157
168
  # Creates a toolbar at the top or left of the frame.
158
169
  # A pointer to the toolbar if it was created successfully, NULL otherwise.
159
170
  #
160
- # By default, the toolbar is an instance of {Wx::ToolBar}. To use a different class, override {Wx::Frame#on_create_tool_bar}. When a toolbar has been created with this function, or made known to the frame with {Wx::Frame#set_tool_bar}, the frame will manage the toolbar position and adjust the return value from {Wx::Window#get_client_size} to reflect the available space for application windows. Under Pocket PC, you should always use this function for creating the toolbar to be managed by the frame, so that wxWidgets can use a combined menubar and toolbar. Where you manage your own toolbars, create a {Wx::ToolBar} as usual.
171
+ # <div class="wxrb-remark">
172
+ # <b>Remark:</b>
173
+ # <p>By default, the toolbar is an instance of {Wx::ToolBar}. To use a different class, override {Wx::Frame#on_create_tool_bar}. When a toolbar has been created with this function, or made known to the frame with {Wx::Frame#set_tool_bar}, the frame will manage the toolbar position and adjust the return value from {Wx::Window#get_client_size} to reflect the available space for application windows. Under Pocket PC, you should always use this function for creating the toolbar to be managed by the frame, so that wxWidgets can use a combined menubar and toolbar. Where you manage your own toolbars, create a {Wx::ToolBar} as usual.
174
+ # </p>
175
+ # </div>>
161
176
  # @see Wx::Frame#create_status_bar
162
177
  # @see Wx::Frame#on_create_tool_bar
163
178
  # @see Wx::Frame#set_tool_bar
@@ -221,7 +236,11 @@ module Wx
221
236
  def process_command(id) end
222
237
 
223
238
  # Tells the frame to show the given menu bar.
224
- # If the frame is destroyed, the menu bar and its menus will be destroyed also, so do not delete the menu bar explicitly (except by resetting the frame's menu bar to another frame or NULL). Under Windows, a size event is generated, so be sure to initialize data members properly before calling {Wx::Frame#set_menu_bar}. Note that on some platforms, it is not possible to call this function twice for the same frame object.
239
+ # <div class="wxrb-remark">
240
+ # <b>Remark:</b>
241
+ # <p>If the frame is destroyed, the menu bar and its menus will be destroyed also, so do not delete the menu bar explicitly (except by resetting the frame's menu bar to another frame or NULL). Under Windows, a size event is generated, so be sure to initialize data members properly before calling {Wx::Frame#set_menu_bar}. Note that on some platforms, it is not possible to call this function twice for the same frame object.
242
+ # </p>
243
+ # </div>>
225
244
  # @see Wx::Frame#get_menu_bar
226
245
  # @see Wx::MenuBar
227
246
  # @see Wx::Menu.
@@ -250,7 +269,11 @@ module Wx
250
269
  # Sets the status bar text and updates the status bar display.
251
270
  # This is a simple wrapper for {Wx::StatusBar#set_status_text} which doesn't do anything if the frame has no status bar, i.e. {Wx::Frame#get_status_bar} returns NULL.
252
271
  #
253
- # Use an empty string to clear the status bar.
272
+ # <div class="wxrb-remark">
273
+ # <b>Remark:</b>
274
+ # <p>Use an empty string to clear the status bar.
275
+ # </p>
276
+ # </div>>
254
277
  # @see Wx::Frame#create_status_bar
255
278
  # @see Wx::StatusBar
256
279
  # @param text [String] The text for the status field.
@@ -260,7 +283,11 @@ module Wx
260
283
  alias_method :status_text=, :set_status_text
261
284
 
262
285
  # Sets the widths of the fields in the status bar.
263
- # The widths of the variable fields are calculated from the total width of all fields, minus the sum of widths of the non-variable fields, divided by the number of variable fields.
286
+ # <div class="wxrb-remark">
287
+ # <b>Remark:</b>
288
+ # <p>The widths of the variable fields are calculated from the total width of all fields, minus the sum of widths of the non-variable fields, divided by the number of variable fields.
289
+ # </p>
290
+ # </div>>
264
291
  # @param widths_field [Array<Integer>] Must contain an array of n integers, each of which is a status field width in pixels. A value of -1 indicates that the field is variable width; at least one field must be -1. You should delete this array after calling {Wx::Frame#set_status_widths}.
265
292
  # @return [void]
266
293
  def set_status_widths(widths_field) end
@@ -271,6 +298,20 @@ module Wx
271
298
  def set_tool_bar(toolBar) end
272
299
  alias_method :tool_bar=, :set_tool_bar
273
300
 
301
+ # MSW-specific function for accessing the taskbar button under Windows 7 or later.
302
+ # Returns a {Wx::TaskBarButton} pointer representing the taskbar button of the window under Windows 7 or later. The returned {Wx::TaskBarButton} may be used, if non-NULL, to access the functionality including thumbnail representations, thumbnail toolbars, notification and status overlays, and progress indicators.
303
+ # The returned pointer must not be deleted, it is owned by the frame and will be only deleted when the frame itself is destroyed.
304
+ # This function is not available in the other ports by design, any occurrences of it in the portable code must be guarded by
305
+ # ```ruby
306
+ # if Wx::PLATFORM == 'WXMSW'
307
+ # #...
308
+ # end
309
+ # ```
310
+ # preprocessor guards.
311
+ # @return [Wx::TaskBarButton]
312
+ # @wxrb_require WXMSW,USE_TASKBARBUTTON
313
+ def msw_get_task_bar_button; end
314
+
274
315
  # @param text [String]
275
316
  # @param number [Integer]
276
317
  # @return [void]
@@ -10,6 +10,7 @@ module Wx
10
10
  #
11
11
  #
12
12
  #
13
+ # @wxrb_require USE_FILESYSTEM
13
14
  class FileSystemOpenFlags < Wx::Enum
14
15
 
15
16
  # Open for reading.
@@ -24,6 +25,7 @@ module Wx
24
25
 
25
26
  # Parameter indicating how file offset should be interpreted.
26
27
  #
28
+ # @wxrb_require USE_FILESYSTEM
27
29
  class SeekMode < Wx::Enum
28
30
 
29
31
  # Seek from the file beginning.
@@ -42,6 +44,7 @@ module Wx
42
44
 
43
45
  # IO stream error codes.
44
46
  #
47
+ # @wxrb_require USE_FILESYSTEM
45
48
  class StreamError < Wx::Enum
46
49
 
47
50
  # No error occurred.
@@ -64,9 +67,12 @@ module Wx
64
67
 
65
68
  # This class represents a single file opened by {Wx::FileSystem}.
66
69
  # It provides more information than wxWidgets' input streams (stream, filename, mime type, anchor).
67
- # Any pointer returned by a method of {Wx::FSFile} is valid only as long as the {Wx::FSFile} object exists. For example a call to {Wx::FSFile#get_stream} doesn't create the stream but only returns the pointer to it. In other words after 10 calls to {Wx::FSFile#get_stream} you will have obtained ten identical pointers.
68
70
  #
69
- # ===
71
+ # <div class="wxrb-note">
72
+ # <b>Note:</b>
73
+ # <p>Any pointer returned by a method of {Wx::FSFile} is valid only as long as the {Wx::FSFile} object exists. For example a call to {Wx::FSFile#get_stream} doesn't create the stream but only returns the pointer to it. In other words after 10 calls to {Wx::FSFile#get_stream} you will have obtained ten identical pointers.
74
+ # </p>
75
+ # </div>
70
76
  #
71
77
  # Category: Virtual File System, File Handling
72
78
  # @see Wx::FileSystemHandler
@@ -74,6 +80,7 @@ module Wx
74
80
  # @see wxFileSystem Overview
75
81
  #
76
82
  #
83
+ # @wxrb_require USE_FILESYSTEM
77
84
  class FSFile < Object
78
85
 
79
86
  # Constructor.
@@ -96,19 +103,19 @@ module Wx
96
103
 
97
104
  # Returns anchor (if present).
98
105
  # The term of <b>anchor</b> can be easily explained using few examples:
99
- # index.htm#anchor // 'anchor' is anchor
106
+ # index.htm\#anchor // 'anchor' is anchor
100
107
  # index/{Wx::001}.htm // NO anchor here!
101
- # archive/main.zip#zip:index.htm#global // 'global'
102
- # archive/main.zip#zip:index.htm // NO anchor here!
108
+ # archive/main.zip\#zip:index.htm\#global // 'global'
109
+ # archive/main.zip\#zip:index.htm // NO anchor here!
103
110
  #
104
- # Usually an anchor is presented only if the MIME type is 'text/html'. But it may have some meaning with other files; for example myanim.avi#200 may refer to position in animation or reality.wrl::MyView may refer to a predefined view in VRML.
111
+ # Usually an anchor is presented only if the MIME type is 'text/html'. But it may have some meaning with other files; for example myanim.avi\#200 may refer to position in animation or reality.wrl::MyView may refer to a predefined view in VRML.
105
112
  # @return [Wx::String]
106
113
  def get_anchor; end
107
114
  alias_method :anchor, :get_anchor
108
115
 
109
116
  # Returns full location of the file, including path and protocol.
110
117
  # Examples: http://www.{Wx::widgets}.org
111
- # http://www.ms.mff.cuni.cz/~vsla8348/{Wx::html}/archive.zip#zip:info.txt
118
+ # http://www.ms.mff.cuni.cz/~vsla8348/{Wx::html}/archive.zip\#zip:info.txt
112
119
  # file:/home/vasek/index.htm
113
120
  # relative-file.htm
114
121
  # @return [Wx::String]
@@ -136,7 +143,6 @@ module Wx
136
143
 
137
144
  # This class is the base class of most stream related classes in wxWidgets.
138
145
  # It must not be used directly.
139
- # ===
140
146
  #
141
147
  # Category: {Wx::Streams}
142
148
  # @see Wx::StreamBuffer
@@ -144,6 +150,7 @@ module Wx
144
150
  #
145
151
  #
146
152
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
153
+ # @wxrb_require USE_FILESYSTEM
147
154
  class StreamBase < ::Object
148
155
 
149
156
  # Creates a dummy stream object.
@@ -193,12 +200,12 @@ module Wx
193
200
  # {Wx::InputStream} is an abstract base class which may not be used directly.
194
201
  # It is the base class of all streams which provide a {Wx::InputStream#read} function, i.e. which can be used to read data from a source (e.g. a file, a socket, etc).
195
202
  # If you want to create your own input stream, you'll need to derive from this class and implement the protected {Wx::InputStream#on_sys_read} function only.
196
- # ===
197
203
  #
198
204
  # Category: {Wx::Streams}
199
205
  #
200
206
  #
201
207
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
208
+ # @wxrb_require USE_FILESYSTEM
202
209
  class InputStream < StreamBase
203
210
 
204
211
  # Creates a dummy input stream.
@@ -259,12 +266,12 @@ module Wx
259
266
  # {Wx::OutputStream} is an abstract base class which may not be used directly.
260
267
  # It is the base class of all streams which provide a {Wx::OutputStream#write} function, i.e. which can be used to output data (e.g. to a file, to a socket, etc).
261
268
  # If you want to create your own output stream, you'll need to derive from this class and implement the protected {Wx::OutputStream#on_sys_write} function only.
262
- # ===
263
269
  #
264
270
  # Category: {Wx::Streams}
265
271
  #
266
272
  #
267
273
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
274
+ # @wxrb_require USE_FILESYSTEM
268
275
  class OutputStream < StreamBase
269
276
 
270
277
  # Creates a dummy {Wx::OutputStream} object.
@@ -26,7 +26,7 @@ module Wx
26
26
  # The first is the usual working mode (see {Wx::Gauge#set_value} and {Wx::Gauge#set_range}) while the second can be used when the program is doing some processing but you don't know how much progress is being done. In this case, you can periodically call the {Wx::Gauge#pulse} function to make the progress bar switch to indeterminate mode (graphically it's usually a set of blocks which move or bounce in the bar control).
27
27
  # {Wx::Gauge} supports dynamic switch between these two work modes.
28
28
  # There are no user commands for the gauge.
29
- # === Styles
29
+ # ### Styles
30
30
  #
31
31
  # This class supports the following styles:
32
32
  #
@@ -40,16 +40,15 @@ module Wx
40
40
  #
41
41
  # - {Wx::GA_PROGRESS}: Reflect the value of gauge in the application taskbar button under Windows 7 and later and the dock icon under macOS, ignored under the other platforms. This flag is only available in wxWidgets 3.1.0 and later.
42
42
  #
43
- # ===
44
- #
45
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
46
- # </td><td> wxGTK Appearance
47
- # </td><td> wxOSX Appearance
43
+ # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
44
+ # </td><td> WXGTK Appearance
45
+ # </td><td> WXOSX Appearance
48
46
  # </td></tr></table></div>
49
47
  # @see Wx::Slider
50
48
  # @see Wx::ScrollBar
51
49
  #
52
50
  #
51
+ # @wxrb_require USE_GAUGE
53
52
  class Gauge < Control
54
53
 
55
54
  # @overload initialize()
@@ -103,13 +102,17 @@ module Wx
103
102
  alias_method :vertical?, :is_vertical
104
103
 
105
104
  # Switch the gauge to indeterminate mode (if required) and makes the gauge move a bit to indicate the user that some progress has been made.
106
- # After calling this function the value returned by {Wx::Gauge#get_value} is undefined and thus you need to explicitly call {Wx::Gauge#set_value} if you want to restore the determinate mode.
105
+ # <div class="wxrb-note">
106
+ # <b>Note:</b>
107
+ # <p>After calling this function the value returned by {Wx::Gauge#get_value} is undefined and thus you need to explicitly call {Wx::Gauge#set_value} if you want to restore the determinate mode.
108
+ # </p>
109
+ # </div>
107
110
  # @return [void]
108
111
  def pulse; end
109
112
 
110
113
  # Sets the range (maximum value) of the gauge.
111
114
  # This function makes the gauge switch to determinate mode, if it's not already.
112
- # When the gauge is in indeterminate mode, under wxMSW the gauge repeatedly goes from zero to range and back; under other ports when in indeterminate mode, the range setting is ignored.
115
+ # When the gauge is in indeterminate mode, under WXMSW the gauge repeatedly goes from zero to range and back; under other ports when in indeterminate mode, the range setting is ignored.
113
116
  # @see Wx::Gauge#get_range
114
117
  # @param range [Integer]
115
118
  # @return [void]
@@ -8,7 +8,6 @@ module Wx
8
8
 
9
9
  # The {Wx::GBSizerItem} class is used by the {Wx::GridBagSizer} for tracking the items in the sizer.
10
10
  # It adds grid position and spanning information to the normal {Wx::SizerItem} by adding {Wx::GBPosition} and {Wx::GBSpan} attributes. Most of the time you will not need to use a {Wx::GBSizerItem} directly in your code, but there are a couple of cases where it is handy.
11
- # ===
12
11
  #
13
12
  # Category: Window Layout
14
13
  #
@@ -15,8 +15,6 @@ module Wx
15
15
  # - Similarly, {Wx::RasterOperationMode} parameter of {Wx::GCDC#blit} and {Wx::GCDC#stretch_blit} can only be one of the supported logical functions listed above, using any other function will result in an assertion failure and not drawing anything.
16
16
  # - For Direct2D-based {Wx::GraphicsContext}, only true-type fonts can be used in the font-related functions.
17
17
  #
18
- # ===
19
- #
20
18
  # Category: Device Contexts
21
19
  # @see Wx::DC
22
20
  # @see Wx::GraphicsContext
@@ -24,6 +22,7 @@ module Wx
24
22
  #
25
23
  #
26
24
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
25
+ # @wxrb_require USE_GRAPHICS_CONTEXT
27
26
  class GCDC < DC
28
27
 
29
28
  # Retrieves associated {Wx::GraphicsContext}.