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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. checksums.yaml +4 -4
  2. data/INSTALL.md +73 -22
  3. data/README.md +40 -8
  4. data/assets/hello_button-macos.png +0 -0
  5. data/assets/hello_button-msw.png +0 -0
  6. data/assets/hello_button_clicked-macos.png +0 -0
  7. data/assets/hello_button_clicked-msw.png +0 -0
  8. data/assets/hello_button_clicked_combi.png +0 -0
  9. data/assets/hello_world-macos.png +0 -0
  10. data/assets/hello_world-msw.png +0 -0
  11. data/assets/hello_world_combi.png +0 -0
  12. data/ext/wxbase32u_gcc_custom.dll +0 -0
  13. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  14. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  20. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  21. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  22. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  23. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  24. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  25. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  26. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  27. data/lib/wx/core/brush.rb +6 -0
  28. data/lib/wx/core/event_loop.rb +7 -0
  29. data/lib/wx/core/events/evt_list.rb +7 -0
  30. data/lib/wx/core/evthandler.rb +12 -2
  31. data/lib/wx/core/font.rb +22 -14
  32. data/lib/wx/core/helpprovider.rb +2 -2
  33. data/lib/wx/core/image.rb +33 -0
  34. data/lib/wx/core/listctrl.rb +17 -13
  35. data/lib/wx/core/log.rb +90 -0
  36. data/lib/wx/core/menu.rb +5 -0
  37. data/lib/wx/core/pen.rb +6 -0
  38. data/lib/wx/core/window.rb +28 -1
  39. data/lib/wx/doc/app.rb +40 -0
  40. data/lib/wx/doc/bitmap.rb +11 -15
  41. data/lib/wx/doc/brush.rb +17 -0
  42. data/lib/wx/doc/event_loop.rb +7 -0
  43. data/lib/wx/doc/extra/00_starting.md +6 -6
  44. data/lib/wx/doc/extra/02_lifecycles.md +9 -8
  45. data/lib/wx/doc/extra/09_exceptions.md +1 -1
  46. data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
  47. data/lib/wx/doc/font.rb +27 -0
  48. data/lib/wx/doc/functions.rb +51 -23
  49. data/lib/wx/doc/gc_dc.rb +1 -1
  50. data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
  51. data/lib/wx/doc/gen/accelerator.rb +6 -6
  52. data/lib/wx/doc/gen/accessible.rb +6 -2
  53. data/lib/wx/doc/gen/activity_indicator.rb +65 -0
  54. data/lib/wx/doc/gen/animation.rb +7 -7
  55. data/lib/wx/doc/gen/animation_ctrl.rb +7 -6
  56. data/lib/wx/doc/gen/any_button.rb +1 -1
  57. data/lib/wx/doc/gen/app.rb +17 -11
  58. data/lib/wx/doc/gen/art_provider.rb +61 -1
  59. data/lib/wx/doc/gen/aui/aui_dock_art.rb +12 -12
  60. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +6 -6
  61. data/lib/wx/doc/gen/aui/aui_manager.rb +45 -27
  62. data/lib/wx/doc/gen/aui/aui_manager_event.rb +12 -6
  63. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +6 -6
  64. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +6 -6
  65. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +10 -10
  66. data/lib/wx/doc/gen/aui/aui_notebook.rb +34 -7
  67. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +17 -2
  68. data/lib/wx/doc/gen/aui/aui_pane_info.rb +51 -51
  69. data/lib/wx/doc/gen/aui/aui_tab_art.rb +6 -6
  70. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +35 -20
  71. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +16 -16
  72. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +4 -4
  73. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +4 -4
  74. data/lib/wx/doc/gen/bitmap.rb +32 -26
  75. data/lib/wx/doc/gen/bitmap_button.rb +10 -6
  76. data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -7
  77. data/lib/wx/doc/gen/book_ctrl_base.rb +7 -3
  78. data/lib/wx/doc/gen/book_ctrl_event.rb +2 -2
  79. data/lib/wx/doc/gen/box_sizer.rb +1 -1
  80. data/lib/wx/doc/gen/brush.rb +16 -4
  81. data/lib/wx/doc/gen/busy_info.rb +1 -1
  82. data/lib/wx/doc/gen/button.rb +19 -7
  83. data/lib/wx/doc/gen/calculate_layout_event.rb +2 -1
  84. data/lib/wx/doc/gen/calendar_ctrl.rb +28 -16
  85. data/lib/wx/doc/gen/calendar_date_attr.rb +2 -2
  86. data/lib/wx/doc/gen/calendar_event.rb +3 -3
  87. data/lib/wx/doc/gen/caret.rb +2 -2
  88. data/lib/wx/doc/gen/check_box.rb +10 -6
  89. data/lib/wx/doc/gen/check_list_box.rb +8 -7
  90. data/lib/wx/doc/gen/choice.rb +7 -6
  91. data/lib/wx/doc/gen/choicebook.rb +12 -6
  92. data/lib/wx/doc/gen/client_dc.rb +1 -1
  93. data/lib/wx/doc/gen/clipboard.rb +1 -1
  94. data/lib/wx/doc/gen/collapsible_pane.rb +9 -6
  95. data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -1
  96. data/lib/wx/doc/gen/colour.rb +16 -6
  97. data/lib/wx/doc/gen/colour_dialog.rb +6 -6
  98. data/lib/wx/doc/gen/colour_picker_ctrl.rb +15 -9
  99. data/lib/wx/doc/gen/colour_picker_event.rb +7 -4
  100. data/lib/wx/doc/gen/combo_box.rb +22 -13
  101. data/lib/wx/doc/gen/context_help_button.rb +50 -1
  102. data/lib/wx/doc/gen/control.rb +9 -6
  103. data/lib/wx/doc/gen/core.rb +5 -2
  104. data/lib/wx/doc/gen/cursor.rb +16 -11
  105. data/lib/wx/doc/gen/data_format.rb +2 -2
  106. data/lib/wx/doc/gen/data_object.rb +23 -16
  107. data/lib/wx/doc/gen/date_event.rb +3 -3
  108. data/lib/wx/doc/gen/date_picker_ctrl.rb +11 -6
  109. data/lib/wx/doc/gen/dc.rb +37 -12
  110. data/lib/wx/doc/gen/defs.rb +16 -16
  111. data/lib/wx/doc/gen/dialog.rb +19 -5
  112. data/lib/wx/doc/gen/dir_dialog.rb +6 -2
  113. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
  114. data/lib/wx/doc/gen/dir_picker_ctrl.rb +14 -9
  115. data/lib/wx/doc/gen/drag_drop.rb +15 -15
  116. data/lib/wx/doc/gen/drag_image.rb +6 -6
  117. data/lib/wx/doc/gen/editable_list_box.rb +7 -3
  118. data/lib/wx/doc/gen/event.rb +44 -13
  119. data/lib/wx/doc/gen/event_blocker.rb +19 -17
  120. data/lib/wx/doc/gen/event_filter.rb +43 -47
  121. data/lib/wx/doc/gen/event_list.rb +22 -15
  122. data/lib/wx/doc/gen/events.rb +215 -79
  123. data/lib/wx/doc/gen/evt_handler.rb +1 -1
  124. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  125. data/lib/wx/doc/gen/file_dialog.rb +64 -56
  126. data/lib/wx/doc/gen/file_dir_picker_event.rb +5 -3
  127. data/lib/wx/doc/gen/file_picker_ctrl.rb +16 -8
  128. data/lib/wx/doc/gen/find_dialog_event.rb +7 -2
  129. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  130. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  131. data/lib/wx/doc/gen/flex_grid_sizer.rb +12 -6
  132. data/lib/wx/doc/gen/font.rb +39 -29
  133. data/lib/wx/doc/gen/font_data.rb +9 -5
  134. data/lib/wx/doc/gen/font_dialog.rb +3 -3
  135. data/lib/wx/doc/gen/font_picker_ctrl.rb +10 -6
  136. data/lib/wx/doc/gen/font_picker_event.rb +2 -1
  137. data/lib/wx/doc/gen/frame.rb +34 -11
  138. data/lib/wx/doc/gen/fs_file.rb +4 -17
  139. data/lib/wx/doc/gen/gauge.rb +11 -7
  140. data/lib/wx/doc/gen/gcdc.rb +5 -1
  141. data/lib/wx/doc/gen/gdi_common.rb +35 -33
  142. data/lib/wx/doc/gen/gdi_object.rb +1 -1
  143. data/lib/wx/doc/gen/generic_dir_ctrl.rb +13 -7
  144. data/lib/wx/doc/gen/graphics_context.rb +29 -28
  145. data/lib/wx/doc/gen/graphics_object.rb +1 -1
  146. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -2
  147. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +10 -10
  148. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -1
  149. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
  150. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -1
  151. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -1
  152. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +2 -2
  153. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
  154. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
  155. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
  156. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +13 -10
  157. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
  158. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
  159. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
  160. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
  161. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -1
  162. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -1
  163. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +12 -12
  164. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -1
  165. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -1
  166. data/lib/wx/doc/gen/grid/grid_ctrl.rb +32 -18
  167. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +5 -3
  168. data/lib/wx/doc/gen/grid/grid_event.rb +20 -3
  169. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +7 -3
  170. data/lib/wx/doc/gen/grid/grid_size_event.rb +9 -3
  171. data/lib/wx/doc/gen/grid/grid_string_table.rb +2 -2
  172. data/lib/wx/doc/gen/grid/grid_table_base.rb +7 -7
  173. data/lib/wx/doc/gen/grid/grid_table_message.rb +5 -5
  174. data/lib/wx/doc/gen/grid_bag_sizer.rb +5 -5
  175. data/lib/wx/doc/gen/grid_sizer.rb +4 -4
  176. data/lib/wx/doc/gen/gui_event_loop.rb +132 -0
  177. data/lib/wx/doc/gen/help_controller.rb +18 -12
  178. data/lib/wx/doc/gen/html/html_cell.rb +36 -18
  179. data/lib/wx/doc/gen/html/html_cell_event.rb +5 -3
  180. data/lib/wx/doc/gen/html/html_easy_printing.rb +9 -4
  181. data/lib/wx/doc/gen/html/html_help_controller.rb +34 -8
  182. data/lib/wx/doc/gen/html/html_help_data.rb +3 -3
  183. data/lib/wx/doc/gen/html/html_help_frame.rb +6 -6
  184. data/lib/wx/doc/gen/html/html_help_window.rb +12 -8
  185. data/lib/wx/doc/gen/html/html_link_event.rb +4 -3
  186. data/lib/wx/doc/gen/html/html_list_box.rb +15 -7
  187. data/lib/wx/doc/gen/html/html_printout.rb +15 -5
  188. data/lib/wx/doc/gen/html/html_window.rb +19 -8
  189. data/lib/wx/doc/gen/hyperlink_ctrl.rb +152 -0
  190. data/lib/wx/doc/gen/hyperlink_event.rb +44 -0
  191. data/lib/wx/doc/gen/icon.rb +14 -14
  192. data/lib/wx/doc/gen/image.rb +119 -64
  193. data/lib/wx/doc/gen/image_list.rb +10 -6
  194. data/lib/wx/doc/gen/keyboard_state.rb +7 -7
  195. data/lib/wx/doc/gen/list_box.rb +30 -21
  196. data/lib/wx/doc/gen/list_ctrl.rb +169 -78
  197. data/lib/wx/doc/gen/list_event.rb +24 -2
  198. data/lib/wx/doc/gen/listbook.rb +12 -6
  199. data/lib/wx/doc/gen/locale.rb +11 -36
  200. data/lib/wx/doc/gen/log.rb +122 -45
  201. data/lib/wx/doc/gen/mdi_client_window.rb +2 -2
  202. data/lib/wx/doc/gen/mdi_frame.rb +15 -9
  203. data/lib/wx/doc/gen/media_ctrl.rb +7 -4
  204. data/lib/wx/doc/gen/media_event.rb +8 -2
  205. data/lib/wx/doc/gen/memory_dc.rb +23 -27
  206. data/lib/wx/doc/gen/menu.rb +9 -9
  207. data/lib/wx/doc/gen/menu_bar.rb +4 -10
  208. data/lib/wx/doc/gen/menu_item.rb +115 -34
  209. data/lib/wx/doc/gen/message_dialog.rb +48 -30
  210. data/lib/wx/doc/gen/mini_frame.rb +12 -3
  211. data/lib/wx/doc/gen/mouse_state.rb +1 -1
  212. data/lib/wx/doc/gen/multi_choice_dialog.rb +4 -2
  213. data/lib/wx/doc/gen/non_owned_window.rb +6 -7
  214. data/lib/wx/doc/gen/notebook.rb +20 -15
  215. data/lib/wx/doc/gen/number_entry_dialog.rb +2 -2
  216. data/lib/wx/doc/gen/object.rb +2 -2
  217. data/lib/wx/doc/gen/palette.rb +3 -3
  218. data/lib/wx/doc/gen/panel.rb +4 -3
  219. data/lib/wx/doc/gen/pen.rb +25 -12
  220. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +1 -1
  221. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +3 -3
  222. data/lib/wx/doc/gen/pg/pg_cell.rb +12 -12
  223. data/lib/wx/doc/gen/pg/pg_editor.rb +76 -74
  224. data/lib/wx/doc/gen/pg/pg_multi_button.rb +3 -3
  225. data/lib/wx/doc/gen/pg/pg_properties.rb +221 -138
  226. data/lib/wx/doc/gen/pg/pg_property.rb +103 -54
  227. data/lib/wx/doc/gen/pg/pg_validation_info.rb +1 -1
  228. data/lib/wx/doc/gen/pg/property_grid.rb +19 -19
  229. data/lib/wx/doc/gen/pg/property_grid_event.rb +18 -5
  230. data/lib/wx/doc/gen/pg/property_grid_interface.rb +36 -24
  231. data/lib/wx/doc/gen/pg/property_grid_manager.rb +12 -12
  232. data/lib/wx/doc/gen/pg/property_grid_page.rb +12 -11
  233. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +8 -8
  234. data/lib/wx/doc/gen/picker_base.rb +12 -11
  235. data/lib/wx/doc/gen/platform_info.rb +7 -7
  236. data/lib/wx/doc/gen/popup_window.rb +6 -6
  237. data/lib/wx/doc/gen/progress_dialog.rb +1 -1
  238. data/lib/wx/doc/gen/property_sheet_dialog.rb +19 -17
  239. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +2 -2
  240. data/lib/wx/doc/gen/prt/preview_frame.rb +4 -1
  241. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
  242. data/lib/wx/doc/gen/prt/print_data.rb +24 -18
  243. data/lib/wx/doc/gen/prt/print_dialog.rb +4 -4
  244. data/lib/wx/doc/gen/prt/printer.rb +22 -22
  245. data/lib/wx/doc/gen/query_layout_info_event.rb +2 -1
  246. data/lib/wx/doc/gen/radio_box.rb +12 -18
  247. data/lib/wx/doc/gen/radio_button.rb +8 -6
  248. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +39 -39
  249. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +25 -7
  250. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +5 -5
  251. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +9 -2
  252. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +5 -5
  253. data/lib/wx/doc/gen/rbn/ribbon_control.rb +4 -4
  254. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +6 -2
  255. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +5 -5
  256. data/lib/wx/doc/gen/rbn/ribbon_page.rb +5 -5
  257. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -6
  258. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +5 -5
  259. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +4 -2
  260. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +5 -5
  261. data/lib/wx/doc/gen/region.rb +9 -8
  262. data/lib/wx/doc/gen/region_iterator.rb +2 -2
  263. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +92 -92
  264. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +56 -34
  265. data/lib/wx/doc/gen/rtc/rich_text_event.rb +23 -4
  266. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +6 -6
  267. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +9 -5
  268. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +6 -2
  269. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +12 -12
  270. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
  271. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
  272. data/lib/wx/doc/gen/sash_event.rb +3 -1
  273. data/lib/wx/doc/gen/sash_layout_window.rb +5 -3
  274. data/lib/wx/doc/gen/sash_window.rb +8 -3
  275. data/lib/wx/doc/gen/scroll_bar.rb +29 -8
  276. data/lib/wx/doc/gen/scrolled_canvas.rb +41 -23
  277. data/lib/wx/doc/gen/scrolled_control.rb +41 -23
  278. data/lib/wx/doc/gen/scrolled_window.rb +41 -23
  279. data/lib/wx/doc/gen/search_ctrl.rb +15 -8
  280. data/lib/wx/doc/gen/simplebook.rb +2 -2
  281. data/lib/wx/doc/gen/single_choice_dialog.rb +4 -2
  282. data/lib/wx/doc/gen/sizer.rb +29 -28
  283. data/lib/wx/doc/gen/slider.rb +49 -16
  284. data/lib/wx/doc/gen/spin_button.rb +15 -9
  285. data/lib/wx/doc/gen/spin_ctrl.rb +12 -6
  286. data/lib/wx/doc/gen/spin_event.rb +5 -2
  287. data/lib/wx/doc/gen/splash_screen.rb +16 -12
  288. data/lib/wx/doc/gen/splitter_event.rb +6 -2
  289. data/lib/wx/doc/gen/splitter_window.rb +20 -4
  290. data/lib/wx/doc/gen/static_bitmap.rb +5 -5
  291. data/lib/wx/doc/gen/static_box.rb +36 -32
  292. data/lib/wx/doc/gen/static_box_sizer.rb +13 -10
  293. data/lib/wx/doc/gen/static_line.rb +5 -4
  294. data/lib/wx/doc/gen/static_text.rb +12 -6
  295. data/lib/wx/doc/gen/status_bar.rb +14 -5
  296. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +55 -7
  297. data/lib/wx/doc/gen/stc/styled_text_event.rb +224 -49
  298. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +11 -2
  299. data/lib/wx/doc/gen/svg_file_dc.rb +3 -3
  300. data/lib/wx/doc/gen/system_options.rb +11 -1
  301. data/lib/wx/doc/gen/system_settings.rb +3 -3
  302. data/lib/wx/doc/gen/task_bar_icon.rb +10 -2
  303. data/lib/wx/doc/gen/task_bar_icon_event.rb +3 -3
  304. data/lib/wx/doc/gen/text_attr.rb +11 -7
  305. data/lib/wx/doc/gen/text_ctrl.rb +61 -92
  306. data/lib/wx/doc/gen/text_entry.rb +28 -40
  307. data/lib/wx/doc/gen/text_entry_dialog.rb +19 -19
  308. data/lib/wx/doc/gen/text_validator.rb +0 -11
  309. data/lib/wx/doc/gen/time_picker_ctrl.rb +6 -5
  310. data/lib/wx/doc/gen/timer.rb +8 -4
  311. data/lib/wx/doc/gen/timer_event.rb +19 -26
  312. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  313. data/lib/wx/doc/gen/toggle_button.rb +6 -5
  314. data/lib/wx/doc/gen/tool_bar.rb +41 -24
  315. data/lib/wx/doc/gen/tool_tip.rb +2 -2
  316. data/lib/wx/doc/gen/toolbook.rb +6 -3
  317. data/lib/wx/doc/gen/top_level_window.rb +35 -25
  318. data/lib/wx/doc/gen/tree_ctrl.rb +63 -13
  319. data/lib/wx/doc/gen/tree_event.rb +23 -2
  320. data/lib/wx/doc/gen/treebook.rb +6 -2
  321. data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
  322. data/lib/wx/doc/gen/utils.rb +9 -3
  323. data/lib/wx/doc/gen/v_list_box.rb +2 -2
  324. data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
  325. data/lib/wx/doc/gen/validator.rb +7 -5
  326. data/lib/wx/doc/gen/variant.rb +34 -97
  327. data/lib/wx/doc/gen/window.rb +157 -102
  328. data/lib/wx/doc/gen/window_dc.rb +1 -1
  329. data/lib/wx/doc/gen/with_images.rb +1 -1
  330. data/lib/wx/doc/gen/wizard.rb +17 -4
  331. data/lib/wx/doc/gen/wizard_event.rb +9 -2
  332. data/lib/wx/doc/gen/wizard_page.rb +1 -1
  333. data/lib/wx/doc/gen/wizard_page_simple.rb +7 -7
  334. data/lib/wx/doc/gen/xml_node.rb +3 -3
  335. data/lib/wx/doc/gen/xml_resource.rb +12 -9
  336. data/lib/wx/doc/image.rb +42 -12
  337. data/lib/wx/doc/list_ctrl.rb +32 -0
  338. data/lib/wx/doc/log.rb +28 -0
  339. data/lib/wx/doc/pen.rb +17 -0
  340. data/lib/wx/doc/prt/printer_dc.rb +2 -2
  341. data/lib/wx/doc/radio_box.rb +20 -0
  342. data/lib/wx/doc/scaled_dc.rb +1 -1
  343. data/lib/wx/doc/text_validator.rb +12 -0
  344. data/lib/wx/doc/window.rb +27 -0
  345. data/lib/wx/keyword_defs.rb +77 -76
  346. data/lib/wx/prt/keyword_defs.rb +5 -1
  347. data/lib/wx/version.rb +1 -1
  348. data/lib/wxruby_aui.so +0 -0
  349. data/lib/wxruby_core.so +0 -0
  350. data/lib/wxruby_grid.so +0 -0
  351. data/lib/wxruby_html.so +0 -0
  352. data/lib/wxruby_pg.so +0 -0
  353. data/lib/wxruby_prt.so +0 -0
  354. data/lib/wxruby_rbn.so +0 -0
  355. data/lib/wxruby_rtc.so +0 -0
  356. data/lib/wxruby_stc.so +0 -0
  357. data/rakelib/install.rb +17 -6
  358. data/rakelib/lib/config/linux.rb +4 -2
  359. data/rakelib/lib/config/macosx.rb +120 -1
  360. data/rakelib/lib/config/mingw.rb +6 -1
  361. data/rakelib/lib/config/unixish.rb +26 -11
  362. data/rakelib/lib/config.rb +15 -6
  363. data/samples/aui/aui.rb +432 -363
  364. data/samples/propgrid/propgrid.rb +3 -0
  365. data/samples/sampler/editor.rb +33 -25
  366. data/samples/sampler/sample.rb +2 -2
  367. data/samples/sampler/stc_editor.rb +4 -2
  368. data/tests/lib/item_container_tests.rb +82 -0
  369. data/tests/lib/text_entry_tests.rb +80 -0
  370. data/tests/lib/wxapp_runner.rb +12 -0
  371. data/tests/lib/wxframe_runner.rb +89 -4
  372. data/tests/test_art.rb +9 -0
  373. data/tests/test_box_sizer.rb +161 -0
  374. data/tests/test_ext_controls.rb +28 -0
  375. data/tests/test_font.rb +239 -0
  376. data/tests/test_grid_sizer.rb +148 -0
  377. data/tests/test_intl.rb +5 -1
  378. data/tests/test_list_ctrl.rb +53 -0
  379. data/tests/test_log.rb +163 -0
  380. data/tests/test_std_controls.rb +321 -37
  381. data/tests/test_timer.rb +95 -0
  382. data/tests/test_window.rb +340 -0
  383. metadata +36 -2
@@ -666,7 +666,7 @@ module Wx::RBN
666
666
  class RibbonArtProvider < ::Object
667
667
 
668
668
  # Constructor.
669
- # @return [RibbonArtProvider]
669
+ # @return [Wx::RBN::RibbonArtProvider]
670
670
  def initialize; end
671
671
 
672
672
  # Create a new art provider which is a clone of this one.
@@ -774,7 +774,7 @@ module Wx::RBN
774
774
  # Draw a single tab in the tab region of a ribbon bar.
775
775
  # @param dc [Wx::DC] The device context to draw onto.
776
776
  # @param wnd [Wx::Window] The window which is being drawn onto (not the {Wx::RBN::RibbonPage} associated with the tab being drawn).
777
- # @param tab [Wx::RibbonPageTabInfo] The rectangle within which to draw, and also the tab label, icon, and state (active and/or hovered). The drawing rectangle will be entirely within a rectangle on the same device context previously painted with {Wx::RBN::RibbonArtProvider#draw_tab_ctrl_background}. The rectangle's width will be at least the minimum value returned by {Wx::RBN::RibbonArtProvider#get_bar_tab_width}, and height will be the value returned by {Wx::RBN::RibbonArtProvider#get_tab_ctrl_height}.
777
+ # @param tab [Wx::RBN::RibbonPageTabInfo] The rectangle within which to draw, and also the tab label, icon, and state (active and/or hovered). The drawing rectangle will be entirely within a rectangle on the same device context previously painted with {Wx::RBN::RibbonArtProvider#draw_tab_ctrl_background}. The rectangle's width will be at least the minimum value returned by {Wx::RBN::RibbonArtProvider#get_bar_tab_width}, and height will be the value returned by {Wx::RBN::RibbonArtProvider#get_tab_ctrl_height}.
778
778
  # @return [void]
779
779
  def draw_tab(dc, wnd, tab) end
780
780
 
@@ -807,7 +807,7 @@ module Wx::RBN
807
807
  # This should draw the border, background, label, and any other items of a panel which are outside the client area of a panel.
808
808
  # Note that when a panel is minimised, this function is not called - only {Wx::RBN::RibbonArtProvider#draw_minimised_panel} is called, so a background should be explicitly painted by that if required.
809
809
  # @param dc [Wx::DC] The device context to draw onto.
810
- # @param wnd [Wx::RibbonPanel] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
810
+ # @param wnd [Wx::RBN::RibbonPanel] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
811
811
  # @param rect [Wx::Rect] The rectangle within which to draw.
812
812
  # @return [void]
813
813
  def draw_panel_background(dc, wnd, rect) end
@@ -815,7 +815,7 @@ module Wx::RBN
815
815
  # Draw the background and chrome for a {Wx::RBN::RibbonGallery} control.
816
816
  # This should draw the border, background, scroll buttons, extension button, and any other UI elements which are not attached to a specific gallery item.
817
817
  # @param dc [Wx::DC] The device context to draw onto.
818
- # @param wnd [Wx::RibbonGallery] The window which is being drawn onto, which is always the gallery whose background and chrome is being drawn. Attributes used during drawing like the gallery hover state and individual button states can be queried from this parameter by {Wx::RBN::RibbonGallery#is_hovered}, {Wx::RBN::RibbonGallery#get_extension_button_state}, {Wx::RBN::RibbonGallery#get_up_button_state}, and {Wx::RBN::RibbonGallery#get_down_button_state}.
818
+ # @param wnd [Wx::RBN::RibbonGallery] The window which is being drawn onto, which is always the gallery whose background and chrome is being drawn. Attributes used during drawing like the gallery hover state and individual button states can be queried from this parameter by {Wx::RBN::RibbonGallery#is_hovered}, {Wx::RBN::RibbonGallery#get_extension_button_state}, {Wx::RBN::RibbonGallery#get_up_button_state}, and {Wx::RBN::RibbonGallery#get_down_button_state}.
819
819
  # @param rect [Wx::Rect] The rectangle within which to draw. This rectangle is the entire area of the gallery control, not just the client rectangle.
820
820
  # @return [void]
821
821
  def draw_gallery_background(dc, wnd, rect) end
@@ -823,7 +823,7 @@ module Wx::RBN
823
823
  # Draw the background of a single item in a {Wx::RBN::RibbonGallery} control.
824
824
  # This is painted on top of a gallery background, and behind the items bitmap. Unlike {Wx::RBN::RibbonArtProvider#draw_button_bar_button} and {Wx::RBN::RibbonArtProvider#draw_tool}, it is not expected to draw the item bitmap - that is done by the gallery control itself.
825
825
  # @param dc [Wx::DC] The device context to draw onto.
826
- # @param wnd [Wx::RibbonGallery] The window which is being drawn onto, which is always the gallery which contains the item being drawn.
826
+ # @param wnd [Wx::RBN::RibbonGallery] The window which is being drawn onto, which is always the gallery which contains the item being drawn.
827
827
  # @param rect [Wx::Rect] The rectangle within which to draw. The size of this rectangle will be the size of the item's bitmap, expanded by gallery item padding values ({Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_LEFT_SIZE}, {Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_RIGHT_SIZE}, {Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_TOP_SIZE}, and {Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_BOTTOM_SIZE}). The drawing rectangle will be entirely within a rectangle on the same device context previously painted with {Wx::RBN::RibbonArtProvider#draw_gallery_background}.
828
828
  # @param item [Wx::RibbonGalleryItem] The item whose background is being painted. Typically the background will vary if the item is hovered, active, or selected; {Wx::RBN::RibbonGallery#get_selection}, {Wx::RBN::RibbonGallery#get_active_item}, and {Wx::RBN::RibbonGallery#get_hovered_item} can be called to test if the given item is in one of these states.
829
829
  # @return [void]
@@ -831,7 +831,7 @@ module Wx::RBN
831
831
 
832
832
  # Draw a minimised ribbon panel.
833
833
  # @param dc [Wx::DC] The device context to draw onto.
834
- # @param wnd [Wx::RibbonPanel] The window which is being drawn onto, which is always the panel which is minimised. The panel label can be obtained from this window. The minimised icon obtained from querying the window may not be the size requested by {Wx::RBN::RibbonArtProvider#get_minimised_panel_minimum_size} - the bitmap argument contains the icon in the requested size.
834
+ # @param wnd [Wx::RBN::RibbonPanel] The window which is being drawn onto, which is always the panel which is minimised. The panel label can be obtained from this window. The minimised icon obtained from querying the window may not be the size requested by {Wx::RBN::RibbonArtProvider#get_minimised_panel_minimum_size} - the bitmap argument contains the icon in the requested size.
835
835
  # @param rect [Wx::Rect] The rectangle within which to draw. The size of the rectangle will be at least the size returned by {Wx::RBN::RibbonArtProvider#get_minimised_panel_minimum_size}.
836
836
  # @param bitmap [Wx::Bitmap] A copy of the panel's minimised bitmap rescaled to the size returned by {Wx::RBN::RibbonArtProvider#get_minimised_panel_minimum_size}.
837
837
  # @return [void]
@@ -883,7 +883,7 @@ module Wx::RBN
883
883
  # Draw toggle button on {Wx::RBN::RibbonBar}.
884
884
  # This should draw a small toggle button at top right corner of ribbon bar.
885
885
  # @param dc [Wx::DC] The device context to draw onto.
886
- # @param wnd [Wx::RibbonBar] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
886
+ # @param wnd [Wx::RBN::RibbonBar] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
887
887
  # @param rect [Wx::Rect] The rectangle within which to draw.
888
888
  # @param mode [RibbonDisplayMode] The {Wx::RBN::RibbonDisplayMode} which should be applied to display button
889
889
  # @return [void]
@@ -892,7 +892,7 @@ module Wx::RBN
892
892
  # Draw help button on {Wx::RBN::RibbonBar}.
893
893
  # This should draw a help button at top right corner of ribbon bar.
894
894
  # @param dc [Wx::DC] The device context to draw onto.
895
- # @param wnd [Wx::RibbonBar] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
895
+ # @param wnd [Wx::RBN::RibbonBar] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
896
896
  # @param rect [Wx::Rect] The rectangle within which to draw.
897
897
  # @return [void]
898
898
  def draw_help_button(dc, wnd, rect) end
@@ -927,7 +927,7 @@ module Wx::RBN
927
927
  # This should increment the given size by enough to fit the panel label and other chrome.
928
928
  # @see Wx::RBN::RibbonArtProvider#get_panel_client_size
929
929
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
930
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question.
930
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question.
931
931
  # @param client_size [Wx::Size] The client size.
932
932
  # @param client_offset [Wx::Point] The offset where the client rectangle begins within the panel (may be NULL).
933
933
  # @return [Wx::Size]
@@ -938,7 +938,7 @@ module Wx::RBN
938
938
  # This should act as the inverse to {Wx::RBN::RibbonArtProvider#get_panel_size}, and decrement the given size by enough to fit the panel label and other chrome.
939
939
  # @see Wx::RBN::RibbonArtProvider#get_panel_size
940
940
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
941
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question.
941
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question.
942
942
  # @param size [Wx::Size] The overall size to calculate client size for.
943
943
  # @param client_offset [Wx::Point] The offset where the returned client size begins within the given size (may be NULL).
944
944
  # @return [Wx::Size]
@@ -947,7 +947,7 @@ module Wx::RBN
947
947
 
948
948
  # Calculate the position and size of the panel extension button.
949
949
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
950
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question.
950
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question.
951
951
  # @param rect [Wx::Rect] The panel rectangle from which calculate extension button rectangle.
952
952
  # @return [Wx::Rect]
953
953
  def get_panel_ext_button_area(dc, wnd, rect) end
@@ -957,7 +957,7 @@ module Wx::RBN
957
957
  # This should increment the given size by enough to fit the gallery border, buttons, and any other chrome.
958
958
  # @see Wx::RBN::RibbonArtProvider#get_gallery_client_size
959
959
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
960
- # @param wnd [Wx::RibbonGallery] The gallery in question.
960
+ # @param wnd [Wx::RBN::RibbonGallery] The gallery in question.
961
961
  # @param client_size [Wx::Size] The client size.
962
962
  # @return [Wx::Size]
963
963
  def get_gallery_size(dc, wnd, client_size) end
@@ -966,7 +966,7 @@ module Wx::RBN
966
966
  # Calculate the client size of a {Wx::RBN::RibbonGallery} control for a given size.
967
967
  # This should act as the inverse to {Wx::RBN::RibbonArtProvider#get_gallery_size}, and decrement the given size by enough to fit the gallery border, buttons, and other chrome.
968
968
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
969
- # @param wnd [Wx::RibbonGallery] The gallery in question.
969
+ # @param wnd [Wx::RBN::RibbonGallery] The gallery in question.
970
970
  # @param size [Wx::Size] The overall size to calculate the client size for.
971
971
  # @param client_offset [Wx::Point] The position within the given size at which the returned client size begins.
972
972
  # @param scroll_up_button [Wx::Rect] The rectangle within the given size which the scroll up button occupies.
@@ -979,7 +979,7 @@ module Wx::RBN
979
979
  # Calculate the portion of a page background which needs to be redrawn when a page is resized.
980
980
  # To optimise the drawing of page backgrounds, as small an area as possible should be returned. Of course, if the way in which a background is drawn means that the entire background needs to be repainted on resize, then the entire new size should be returned.
981
981
  # @param dc [Wx::DC] A device context to use when one is required for size calculations.
982
- # @param wnd [Wx::RibbonPage] The page which is being resized.
982
+ # @param wnd [Wx::RBN::RibbonPage] The page which is being resized.
983
983
  # @param page_old_size [Wx::Size] The size of the page prior to the resize (which has already been painted).
984
984
  # @param page_new_size [Wx::Size] The size of the page after the resize.
985
985
  # @return [Wx::Rect]
@@ -1017,7 +1017,7 @@ module Wx::RBN
1017
1017
 
1018
1018
  # Calculate the size of a minimised ribbon panel.
1019
1019
  # @param dc [Wx::DC] A device context to use when one is required for size calculations.
1020
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question. Attributes like the panel label can be queried from this.
1020
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question. Attributes like the panel label can be queried from this.
1021
1021
  # @param desired_bitmap_size [Wx::Size] Optional parameter which is filled with the size of the bitmap suitable for a minimised ribbon panel.
1022
1022
  # @return [Array(Wx::Size,Wx::Direction)]
1023
1023
  def get_minimised_panel_minimum_size(dc, wnd, desired_bitmap_size) end
@@ -1066,7 +1066,7 @@ module Wx::RBN
1066
1066
  class RibbonMSWArtProvider < RibbonArtProvider
1067
1067
 
1068
1068
  # @param set_colour_scheme [true,false]
1069
- # @return [RibbonMSWArtProvider]
1069
+ # @return [Wx::RBN::RibbonMSWArtProvider]
1070
1070
  def initialize(set_colour_scheme=true) end
1071
1071
 
1072
1072
  # Create a new art provider which is a clone of this one.
@@ -1167,7 +1167,7 @@ module Wx::RBN
1167
1167
  # Draw a single tab in the tab region of a ribbon bar.
1168
1168
  # @param dc [Wx::DC] The device context to draw onto.
1169
1169
  # @param wnd [Wx::Window] The window which is being drawn onto (not the {Wx::RBN::RibbonPage} associated with the tab being drawn).
1170
- # @param tab [Wx::RibbonPageTabInfo] The rectangle within which to draw, and also the tab label, icon, and state (active and/or hovered). The drawing rectangle will be entirely within a rectangle on the same device context previously painted with {Wx::RBN::RibbonMSWArtProvider#draw_tab_ctrl_background}. The rectangle's width will be at least the minimum value returned by {Wx::RBN::RibbonMSWArtProvider#get_bar_tab_width}, and height will be the value returned by {Wx::RBN::RibbonMSWArtProvider#get_tab_ctrl_height}.
1170
+ # @param tab [Wx::RBN::RibbonPageTabInfo] The rectangle within which to draw, and also the tab label, icon, and state (active and/or hovered). The drawing rectangle will be entirely within a rectangle on the same device context previously painted with {Wx::RBN::RibbonMSWArtProvider#draw_tab_ctrl_background}. The rectangle's width will be at least the minimum value returned by {Wx::RBN::RibbonMSWArtProvider#get_bar_tab_width}, and height will be the value returned by {Wx::RBN::RibbonMSWArtProvider#get_tab_ctrl_height}.
1171
1171
  # @return [void]
1172
1172
  def draw_tab(dc, wnd, tab) end
1173
1173
 
@@ -1200,7 +1200,7 @@ module Wx::RBN
1200
1200
  # This should draw the border, background, label, and any other items of a panel which are outside the client area of a panel.
1201
1201
  # Note that when a panel is minimised, this function is not called - only {Wx::RBN::RibbonMSWArtProvider#draw_minimised_panel} is called, so a background should be explicitly painted by that if required.
1202
1202
  # @param dc [Wx::DC] The device context to draw onto.
1203
- # @param wnd [Wx::RibbonPanel] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
1203
+ # @param wnd [Wx::RBN::RibbonPanel] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
1204
1204
  # @param rect [Wx::Rect] The rectangle within which to draw.
1205
1205
  # @return [void]
1206
1206
  def draw_panel_background(dc, wnd, rect) end
@@ -1208,7 +1208,7 @@ module Wx::RBN
1208
1208
  # Draw the background and chrome for a {Wx::RBN::RibbonGallery} control.
1209
1209
  # This should draw the border, background, scroll buttons, extension button, and any other UI elements which are not attached to a specific gallery item.
1210
1210
  # @param dc [Wx::DC] The device context to draw onto.
1211
- # @param wnd [Wx::RibbonGallery] The window which is being drawn onto, which is always the gallery whose background and chrome is being drawn. Attributes used during drawing like the gallery hover state and individual button states can be queried from this parameter by {Wx::RBN::RibbonGallery#is_hovered}, {Wx::RBN::RibbonGallery#get_extension_button_state}, {Wx::RBN::RibbonGallery#get_up_button_state}, and {Wx::RBN::RibbonGallery#get_down_button_state}.
1211
+ # @param wnd [Wx::RBN::RibbonGallery] The window which is being drawn onto, which is always the gallery whose background and chrome is being drawn. Attributes used during drawing like the gallery hover state and individual button states can be queried from this parameter by {Wx::RBN::RibbonGallery#is_hovered}, {Wx::RBN::RibbonGallery#get_extension_button_state}, {Wx::RBN::RibbonGallery#get_up_button_state}, and {Wx::RBN::RibbonGallery#get_down_button_state}.
1212
1212
  # @param rect [Wx::Rect] The rectangle within which to draw. This rectangle is the entire area of the gallery control, not just the client rectangle.
1213
1213
  # @return [void]
1214
1214
  def draw_gallery_background(dc, wnd, rect) end
@@ -1216,7 +1216,7 @@ module Wx::RBN
1216
1216
  # Draw the background of a single item in a {Wx::RBN::RibbonGallery} control.
1217
1217
  # This is painted on top of a gallery background, and behind the items bitmap. Unlike {Wx::RBN::RibbonMSWArtProvider#draw_button_bar_button} and {Wx::RBN::RibbonMSWArtProvider#draw_tool}, it is not expected to draw the item bitmap - that is done by the gallery control itself.
1218
1218
  # @param dc [Wx::DC] The device context to draw onto.
1219
- # @param wnd [Wx::RibbonGallery] The window which is being drawn onto, which is always the gallery which contains the item being drawn.
1219
+ # @param wnd [Wx::RBN::RibbonGallery] The window which is being drawn onto, which is always the gallery which contains the item being drawn.
1220
1220
  # @param rect [Wx::Rect] The rectangle within which to draw. The size of this rectangle will be the size of the item's bitmap, expanded by gallery item padding values ({Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_LEFT_SIZE}, {Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_RIGHT_SIZE}, {Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_TOP_SIZE}, and {Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_BOTTOM_SIZE}). The drawing rectangle will be entirely within a rectangle on the same device context previously painted with {Wx::RBN::RibbonMSWArtProvider#draw_gallery_background}.
1221
1221
  # @param item [Wx::RibbonGalleryItem] The item whose background is being painted. Typically the background will vary if the item is hovered, active, or selected; {Wx::RBN::RibbonGallery#get_selection}, {Wx::RBN::RibbonGallery#get_active_item}, and {Wx::RBN::RibbonGallery#get_hovered_item} can be called to test if the given item is in one of these states.
1222
1222
  # @return [void]
@@ -1224,7 +1224,7 @@ module Wx::RBN
1224
1224
 
1225
1225
  # Draw a minimised ribbon panel.
1226
1226
  # @param dc [Wx::DC] The device context to draw onto.
1227
- # @param wnd [Wx::RibbonPanel] The window which is being drawn onto, which is always the panel which is minimised. The panel label can be obtained from this window. The minimised icon obtained from querying the window may not be the size requested by {Wx::RBN::RibbonMSWArtProvider#get_minimised_panel_minimum_size} - the bitmap argument contains the icon in the requested size.
1227
+ # @param wnd [Wx::RBN::RibbonPanel] The window which is being drawn onto, which is always the panel which is minimised. The panel label can be obtained from this window. The minimised icon obtained from querying the window may not be the size requested by {Wx::RBN::RibbonMSWArtProvider#get_minimised_panel_minimum_size} - the bitmap argument contains the icon in the requested size.
1228
1228
  # @param rect [Wx::Rect] The rectangle within which to draw. The size of the rectangle will be at least the size returned by {Wx::RBN::RibbonMSWArtProvider#get_minimised_panel_minimum_size}.
1229
1229
  # @param bitmap [Wx::Bitmap] A copy of the panel's minimised bitmap rescaled to the size returned by {Wx::RBN::RibbonMSWArtProvider#get_minimised_panel_minimum_size}.
1230
1230
  # @return [void]
@@ -1276,7 +1276,7 @@ module Wx::RBN
1276
1276
  # Draw toggle button on {Wx::RBN::RibbonBar}.
1277
1277
  # This should draw a small toggle button at top right corner of ribbon bar.
1278
1278
  # @param dc [Wx::DC] The device context to draw onto.
1279
- # @param wnd [Wx::RibbonBar] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
1279
+ # @param wnd [Wx::RBN::RibbonBar] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
1280
1280
  # @param rect [Wx::Rect] The rectangle within which to draw.
1281
1281
  # @param mode [RibbonDisplayMode] The {Wx::RBN::RibbonDisplayMode} which should be applied to display button
1282
1282
  # @return [void]
@@ -1285,7 +1285,7 @@ module Wx::RBN
1285
1285
  # Draw help button on {Wx::RBN::RibbonBar}.
1286
1286
  # This should draw a help button at top right corner of ribbon bar.
1287
1287
  # @param dc [Wx::DC] The device context to draw onto.
1288
- # @param wnd [Wx::RibbonBar] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
1288
+ # @param wnd [Wx::RBN::RibbonBar] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
1289
1289
  # @param rect [Wx::Rect] The rectangle within which to draw.
1290
1290
  # @return [void]
1291
1291
  def draw_help_button(dc, wnd, rect) end
@@ -1311,7 +1311,7 @@ module Wx::RBN
1311
1311
  # This should increment the given size by enough to fit the panel label and other chrome.
1312
1312
  # @see Wx::RBN::RibbonMSWArtProvider#get_panel_client_size
1313
1313
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
1314
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question.
1314
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question.
1315
1315
  # @param client_size [Wx::Size] The client size.
1316
1316
  # @param client_offset [Wx::Point] The offset where the client rectangle begins within the panel (may be NULL).
1317
1317
  # @return [Wx::Size]
@@ -1322,7 +1322,7 @@ module Wx::RBN
1322
1322
  # This should act as the inverse to {Wx::RBN::RibbonMSWArtProvider#get_panel_size}, and decrement the given size by enough to fit the panel label and other chrome.
1323
1323
  # @see Wx::RBN::RibbonMSWArtProvider#get_panel_size
1324
1324
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
1325
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question.
1325
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question.
1326
1326
  # @param size [Wx::Size] The overall size to calculate client size for.
1327
1327
  # @param client_offset [Wx::Point] The offset where the returned client size begins within the given size (may be NULL).
1328
1328
  # @return [Wx::Size]
@@ -1331,7 +1331,7 @@ module Wx::RBN
1331
1331
 
1332
1332
  # Calculate the position and size of the panel extension button.
1333
1333
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
1334
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question.
1334
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question.
1335
1335
  # @param rect [Wx::Rect] The panel rectangle from which calculate extension button rectangle.
1336
1336
  # @return [Wx::Rect]
1337
1337
  def get_panel_ext_button_area(dc, wnd, rect) end
@@ -1341,7 +1341,7 @@ module Wx::RBN
1341
1341
  # This should increment the given size by enough to fit the gallery border, buttons, and any other chrome.
1342
1342
  # @see Wx::RBN::RibbonMSWArtProvider#get_gallery_client_size
1343
1343
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
1344
- # @param wnd [Wx::RibbonGallery] The gallery in question.
1344
+ # @param wnd [Wx::RBN::RibbonGallery] The gallery in question.
1345
1345
  # @param client_size [Wx::Size] The client size.
1346
1346
  # @return [Wx::Size]
1347
1347
  def get_gallery_size(dc, wnd, client_size) end
@@ -1350,7 +1350,7 @@ module Wx::RBN
1350
1350
  # Calculate the client size of a {Wx::RBN::RibbonGallery} control for a given size.
1351
1351
  # This should act as the inverse to {Wx::RBN::RibbonMSWArtProvider#get_gallery_size}, and decrement the given size by enough to fit the gallery border, buttons, and other chrome.
1352
1352
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
1353
- # @param wnd [Wx::RibbonGallery] The gallery in question.
1353
+ # @param wnd [Wx::RBN::RibbonGallery] The gallery in question.
1354
1354
  # @param size [Wx::Size] The overall size to calculate the client size for.
1355
1355
  # @param client_offset [Wx::Point] The position within the given size at which the returned client size begins.
1356
1356
  # @param scroll_up_button [Wx::Rect] The rectangle within the given size which the scroll up button occupies.
@@ -1363,7 +1363,7 @@ module Wx::RBN
1363
1363
  # Calculate the portion of a page background which needs to be redrawn when a page is resized.
1364
1364
  # To optimise the drawing of page backgrounds, as small an area as possible should be returned. Of course, if the way in which a background is drawn means that the entire background needs to be repainted on resize, then the entire new size should be returned.
1365
1365
  # @param dc [Wx::DC] A device context to use when one is required for size calculations.
1366
- # @param wnd [Wx::RibbonPage] The page which is being resized.
1366
+ # @param wnd [Wx::RBN::RibbonPage] The page which is being resized.
1367
1367
  # @param page_old_size [Wx::Size] The size of the page prior to the resize (which has already been painted).
1368
1368
  # @param page_new_size [Wx::Size] The size of the page after the resize.
1369
1369
  # @return [Wx::Rect]
@@ -1401,7 +1401,7 @@ module Wx::RBN
1401
1401
 
1402
1402
  # Calculate the size of a minimised ribbon panel.
1403
1403
  # @param dc [Wx::DC] A device context to use when one is required for size calculations.
1404
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question. Attributes like the panel label can be queried from this.
1404
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question. Attributes like the panel label can be queried from this.
1405
1405
  # @param desired_bitmap_size [Wx::Size] Optional parameter which is filled with the size of the bitmap suitable for a minimised ribbon panel.
1406
1406
  # @return [Array(Wx::Size,Wx::Direction)]
1407
1407
  def get_minimised_panel_minimum_size(dc, wnd, desired_bitmap_size) end
@@ -1440,7 +1440,7 @@ module Wx::RBN
1440
1440
  # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
1441
1441
  class RibbonAUIArtProvider < RibbonMSWArtProvider
1442
1442
 
1443
- # @return [RibbonAUIArtProvider]
1443
+ # @return [Wx::RBN::RibbonAUIArtProvider]
1444
1444
  def initialize; end
1445
1445
 
1446
1446
  # Create a new art provider which is a clone of this one.
@@ -1500,7 +1500,7 @@ module Wx::RBN
1500
1500
  # This should increment the given size by enough to fit the panel label and other chrome.
1501
1501
  # @see Wx::RBN::RibbonAUIArtProvider#get_panel_client_size
1502
1502
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
1503
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question.
1503
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question.
1504
1504
  # @param client_size [Wx::Size] The client size.
1505
1505
  # @param client_offset [Wx::Point] The offset where the client rectangle begins within the panel (may be NULL).
1506
1506
  # @return [Wx::Size]
@@ -1511,7 +1511,7 @@ module Wx::RBN
1511
1511
  # This should act as the inverse to {Wx::RBN::RibbonAUIArtProvider#get_panel_size}, and decrement the given size by enough to fit the panel label and other chrome.
1512
1512
  # @see Wx::RBN::RibbonAUIArtProvider#get_panel_size
1513
1513
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
1514
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question.
1514
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question.
1515
1515
  # @param size [Wx::Size] The overall size to calculate client size for.
1516
1516
  # @param client_offset [Wx::Point] The offset where the returned client size begins within the given size (may be NULL).
1517
1517
  # @return [Wx::Size]
@@ -1520,7 +1520,7 @@ module Wx::RBN
1520
1520
 
1521
1521
  # Calculate the position and size of the panel extension button.
1522
1522
  # @param dc [Wx::DC] A device context to use if one is required for size calculations.
1523
- # @param wnd [Wx::RibbonPanel] The ribbon panel in question.
1523
+ # @param wnd [Wx::RBN::RibbonPanel] The ribbon panel in question.
1524
1524
  # @param rect [Wx::Rect] The panel rectangle from which calculate extension button rectangle.
1525
1525
  # @return [Wx::Rect]
1526
1526
  def get_panel_ext_button_area(dc, wnd, rect) end
@@ -1554,7 +1554,7 @@ module Wx::RBN
1554
1554
  # Draw a single tab in the tab region of a ribbon bar.
1555
1555
  # @param dc [Wx::DC] The device context to draw onto.
1556
1556
  # @param wnd [Wx::Window] The window which is being drawn onto (not the {Wx::RBN::RibbonPage} associated with the tab being drawn).
1557
- # @param tab [Wx::RibbonPageTabInfo] The rectangle within which to draw, and also the tab label, icon, and state (active and/or hovered). The drawing rectangle will be entirely within a rectangle on the same device context previously painted with {Wx::RBN::RibbonAUIArtProvider#draw_tab_ctrl_background}. The rectangle's width will be at least the minimum value returned by {Wx::RBN::RibbonAUIArtProvider#get_bar_tab_width}, and height will be the value returned by {Wx::RBN::RibbonAUIArtProvider#get_tab_ctrl_height}.
1557
+ # @param tab [Wx::RBN::RibbonPageTabInfo] The rectangle within which to draw, and also the tab label, icon, and state (active and/or hovered). The drawing rectangle will be entirely within a rectangle on the same device context previously painted with {Wx::RBN::RibbonAUIArtProvider#draw_tab_ctrl_background}. The rectangle's width will be at least the minimum value returned by {Wx::RBN::RibbonAUIArtProvider#get_bar_tab_width}, and height will be the value returned by {Wx::RBN::RibbonAUIArtProvider#get_tab_ctrl_height}.
1558
1558
  # @return [void]
1559
1559
  def draw_tab(dc, wnd, tab) end
1560
1560
 
@@ -1579,14 +1579,14 @@ module Wx::RBN
1579
1579
  # This should draw the border, background, label, and any other items of a panel which are outside the client area of a panel.
1580
1580
  # Note that when a panel is minimised, this function is not called - only {Wx::RBN::RibbonAUIArtProvider#draw_minimised_panel} is called, so a background should be explicitly painted by that if required.
1581
1581
  # @param dc [Wx::DC] The device context to draw onto.
1582
- # @param wnd [Wx::RibbonPanel] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
1582
+ # @param wnd [Wx::RBN::RibbonPanel] The window which is being drawn onto, which is always the panel whose background and chrome is being drawn. The panel label and other panel attributes can be obtained by querying this.
1583
1583
  # @param rect [Wx::Rect] The rectangle within which to draw.
1584
1584
  # @return [void]
1585
1585
  def draw_panel_background(dc, wnd, rect) end
1586
1586
 
1587
1587
  # Draw a minimised ribbon panel.
1588
1588
  # @param dc [Wx::DC] The device context to draw onto.
1589
- # @param wnd [Wx::RibbonPanel] The window which is being drawn onto, which is always the panel which is minimised. The panel label can be obtained from this window. The minimised icon obtained from querying the window may not be the size requested by {Wx::RBN::RibbonAUIArtProvider#get_minimised_panel_minimum_size} - the bitmap argument contains the icon in the requested size.
1589
+ # @param wnd [Wx::RBN::RibbonPanel] The window which is being drawn onto, which is always the panel which is minimised. The panel label can be obtained from this window. The minimised icon obtained from querying the window may not be the size requested by {Wx::RBN::RibbonAUIArtProvider#get_minimised_panel_minimum_size} - the bitmap argument contains the icon in the requested size.
1590
1590
  # @param rect [Wx::Rect] The rectangle within which to draw. The size of the rectangle will be at least the size returned by {Wx::RBN::RibbonAUIArtProvider#get_minimised_panel_minimum_size}.
1591
1591
  # @param bitmap [Wx::Bitmap] A copy of the panel's minimised bitmap rescaled to the size returned by {Wx::RBN::RibbonAUIArtProvider#get_minimised_panel_minimum_size}.
1592
1592
  # @return [void]
@@ -1595,7 +1595,7 @@ module Wx::RBN
1595
1595
  # Draw the background and chrome for a {Wx::RBN::RibbonGallery} control.
1596
1596
  # This should draw the border, background, scroll buttons, extension button, and any other UI elements which are not attached to a specific gallery item.
1597
1597
  # @param dc [Wx::DC] The device context to draw onto.
1598
- # @param wnd [Wx::RibbonGallery] The window which is being drawn onto, which is always the gallery whose background and chrome is being drawn. Attributes used during drawing like the gallery hover state and individual button states can be queried from this parameter by {Wx::RBN::RibbonGallery#is_hovered}, {Wx::RBN::RibbonGallery#get_extension_button_state}, {Wx::RBN::RibbonGallery#get_up_button_state}, and {Wx::RBN::RibbonGallery#get_down_button_state}.
1598
+ # @param wnd [Wx::RBN::RibbonGallery] The window which is being drawn onto, which is always the gallery whose background and chrome is being drawn. Attributes used during drawing like the gallery hover state and individual button states can be queried from this parameter by {Wx::RBN::RibbonGallery#is_hovered}, {Wx::RBN::RibbonGallery#get_extension_button_state}, {Wx::RBN::RibbonGallery#get_up_button_state}, and {Wx::RBN::RibbonGallery#get_down_button_state}.
1599
1599
  # @param rect [Wx::Rect] The rectangle within which to draw. This rectangle is the entire area of the gallery control, not just the client rectangle.
1600
1600
  # @return [void]
1601
1601
  def draw_gallery_background(dc, wnd, rect) end
@@ -1603,7 +1603,7 @@ module Wx::RBN
1603
1603
  # Draw the background of a single item in a {Wx::RBN::RibbonGallery} control.
1604
1604
  # This is painted on top of a gallery background, and behind the items bitmap. Unlike {Wx::RBN::RibbonAUIArtProvider#draw_button_bar_button} and {Wx::RBN::RibbonAUIArtProvider#draw_tool}, it is not expected to draw the item bitmap - that is done by the gallery control itself.
1605
1605
  # @param dc [Wx::DC] The device context to draw onto.
1606
- # @param wnd [Wx::RibbonGallery] The window which is being drawn onto, which is always the gallery which contains the item being drawn.
1606
+ # @param wnd [Wx::RBN::RibbonGallery] The window which is being drawn onto, which is always the gallery which contains the item being drawn.
1607
1607
  # @param rect [Wx::Rect] The rectangle within which to draw. The size of this rectangle will be the size of the item's bitmap, expanded by gallery item padding values ({Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_LEFT_SIZE}, {Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_RIGHT_SIZE}, {Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_TOP_SIZE}, and {Wx::RBN::RibbonArtSetting::RIBBON_ART_GALLERY_BITMAP_PADDING_BOTTOM_SIZE}). The drawing rectangle will be entirely within a rectangle on the same device context previously painted with {Wx::RBN::RibbonAUIArtProvider#draw_gallery_background}.
1608
1608
  # @param item [Wx::RibbonGalleryItem] The item whose background is being painted. Typically the background will vary if the item is hovered, active, or selected; {Wx::RBN::RibbonGallery#get_selection}, {Wx::RBN::RibbonGallery#get_active_item}, and {Wx::RBN::RibbonGallery#get_hovered_item} can be called to test if the given item is in one of these states.
1609
1609
  # @return [void]
@@ -14,30 +14,48 @@ module Wx::RBN
14
14
  # === Styles
15
15
  #
16
16
  # This class supports the following styles:
17
- #
17
+ #
18
18
  # - {Wx::RBN::RibbonBarOption::RIBBON_BAR_DEFAULT_STYLE}: Defined as {Wx::RBN::RibbonBarOption::RIBBON_BAR_FLOW_HORIZONTAL} | {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_PAGE_LABELS} | {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_PANEL_EXT_BUTTONS} | {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_TOGGLE_BUTTON} | {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_HELP_BUTTON}.
19
+ #
19
20
  # - {Wx::RBN::RibbonBarOption::RIBBON_BAR_FOLDBAR_STYLE}: Defined as {Wx::RBN::RibbonBarOption::RIBBON_BAR_FLOW_VERTICAL} | {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_PAGE_ICONS} | {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_PANEL_EXT_BUTTONS} | {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_PANEL_MINIMISE_BUTTONS}
21
+ #
20
22
  # - {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_PAGE_LABELS}: Causes labels to be shown on the tabs in the ribbon bar.
23
+ #
21
24
  # - {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_PAGE_ICONS}: Causes icons to be shown on the tabs in the ribbon bar.
25
+ #
22
26
  # - {Wx::RBN::RibbonBarOption::RIBBON_BAR_FLOW_HORIZONTAL}: Causes panels within pages to stack horizontally.
27
+ #
23
28
  # - {Wx::RBN::RibbonBarOption::RIBBON_BAR_FLOW_VERTICAL}: Causes panels within pages to stack vertically.
29
+ #
24
30
  # - {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_PANEL_EXT_BUTTONS}: Causes extension buttons to be shown on panels (where the panel has such a button).
31
+ #
25
32
  # - {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_PANEL_MINIMISE_BUTTONS}: Causes minimise buttons to be shown on panels (where the panel has such a button).
33
+ #
26
34
  # - {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_TOGGLE_BUTTON}: Causes a toggle button to appear on the ribbon bar at top-right corner. This style is new since wxWidgets 2.9.5.
35
+ #
27
36
  # - {Wx::RBN::RibbonBarOption::RIBBON_BAR_SHOW_HELP_BUTTON}: Causes a help button to appear on the ribbon bar at the top-right corner. This style is new since wxWidgets 2.9.5.
28
37
  #
29
38
  # === Events emitted by this class
30
39
  #
31
40
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::RBN::RibbonBarEvent} events.
32
41
  # Event handler methods for events emitted by this class:
42
+ #
33
43
  # - {Wx::EvtHandler#evt_ribbonbar_page_changed}(id, meth = nil, &block): Triggered after the transition from one page being active to a different page being active.
44
+ #
34
45
  # - {Wx::EvtHandler#evt_ribbonbar_page_changing}(id, meth = nil, &block): Triggered prior to the transition from one page being active to a different page being active, and can veto the change.
46
+ #
35
47
  # - {Wx::EvtHandler#evt_ribbonbar_tab_middle_down}(id, meth = nil, &block): Triggered when the middle mouse button is pressed on a tab.
48
+ #
36
49
  # - {Wx::EvtHandler#evt_ribbonbar_tab_middle_up}(id, meth = nil, &block): Triggered when the middle mouse button is released on a tab.
50
+ #
37
51
  # - {Wx::EvtHandler#evt_ribbonbar_tab_right_down}(id, meth = nil, &block): Triggered when the right mouse button is pressed on a tab.
52
+ #
38
53
  # - {Wx::EvtHandler#evt_ribbonbar_tab_right_up}(id, meth = nil, &block): Triggered when the right mouse button is released on a tab.
54
+ #
39
55
  # - {Wx::EvtHandler#evt_ribbonbar_tab_left_dclick}(id, meth = nil, &block): Triggered when the left mouse button is double clicked on a tab.
56
+ #
40
57
  # - {Wx::EvtHandler#evt_ribbonbar_toggled}(id, meth = nil, &block): Triggered when the button triggering the ribbon bar is clicked. This event is new since wxWidgets 2.9.5.
58
+ #
41
59
  # - {Wx::EvtHandler#evt_ribbonbar_help_click}(id, meth = nil, &block): Triggered when the help button is clicked. This even is new since wxWidgets 2.9.5.
42
60
  #
43
61
  # ===
@@ -53,7 +71,7 @@ module Wx::RBN
53
71
  # @overload initialize()
54
72
  # Default constructor.
55
73
  # With this constructor, {Wx::RBN::RibbonBar#create} should be called in order to create the ribbon bar.
56
- # @return [RibbonBar]
74
+ # @return [Wx::RBN::RibbonBar]
57
75
  # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RBN::RibbonBarOption::RIBBON_BAR_DEFAULT_STYLE)
58
76
  # Construct a ribbon bar with the given parameters.
59
77
  # @param parent [Wx::Window]
@@ -61,7 +79,7 @@ module Wx::RBN
61
79
  # @param pos [Array(Integer, Integer), Wx::Point]
62
80
  # @param size [Array(Integer, Integer), Wx::Size]
63
81
  # @param style [Integer]
64
- # @return [RibbonBar]
82
+ # @return [Wx::RBN::RibbonBar]
65
83
  def initialize(*args) end
66
84
 
67
85
  # Create a ribbon bar in two-step ribbon bar construction.
@@ -85,7 +103,7 @@ module Wx::RBN
85
103
  # Set the art provider to be used be the ribbon bar.
86
104
  # Also sets the art provider on all current {Wx::RBN::RibbonPage} children, and any {Wx::RBN::RibbonPage} children added in the future.
87
105
  # Note that unlike most other ribbon controls, the ribbon bar creates a default art provider when initialised, so an explicit call to {Wx::RBN::RibbonBar#set_art_provider} is not required if the default art provider is sufficient. Also, unlike other ribbon controls, the ribbon bar takes ownership of the given pointer, and will delete it when the art provider is changed or the bar is destroyed. If this behaviour is not desired, then clone the art provider before setting it.
88
- # @param art [Wx::RibbonArtProvider]
106
+ # @param art [Wx::RBN::RibbonArtProvider]
89
107
  # @return [void]
90
108
  def set_art_provider(art) end
91
109
  alias_method :art_provider=, :set_art_provider
@@ -98,7 +116,7 @@ module Wx::RBN
98
116
  # @overload set_active_page(page)
99
117
  # Set the active page, without triggering any events.
100
118
  # true if the specified page is now active, false if it could not be activated (for example because the given page is not a child of the ribbon bar).
101
- # @param page [Wx::RibbonPage] The page to activate.
119
+ # @param page [Wx::RBN::RibbonPage] The page to activate.
102
120
  # @return [true,false]
103
121
  def set_active_page(*args) end
104
122
  alias_method :active_page=, :set_active_page
@@ -112,7 +130,7 @@ module Wx::RBN
112
130
  # Get a page by index.
113
131
  # NULL will be returned if the given index is out of range.
114
132
  # @param n [Integer]
115
- # @return [Wx::RibbonPage]
133
+ # @return [Wx::RBN::RibbonPage]
116
134
  def get_page(n) end
117
135
  alias_method :page, :get_page
118
136
 
@@ -128,7 +146,7 @@ module Wx::RBN
128
146
 
129
147
  # Returns the number for a given ribbon bar page.
130
148
  # The number can be used in other ribbon bar calls.
131
- # @param page [Wx::RibbonPage]
149
+ # @param page [Wx::RBN::RibbonPage]
132
150
  # @return [Integer]
133
151
  def get_page_number(page) end
134
152
  alias_method :page_number, :get_page_number
@@ -17,19 +17,19 @@ module Wx::RBN
17
17
  class RibbonBarEvent < NotifyEvent
18
18
 
19
19
  # Constructor.
20
- # @param command_type [Integer]
20
+ # @param command_type [Wx::AUI::AuiMDIChildFrame::EventType]
21
21
  # @param win_id [Integer]
22
- # @param page [Wx::RibbonPage]
23
- # @return [RibbonBarEvent]
22
+ # @param page [Wx::RBN::RibbonPage]
23
+ # @return [Wx::RBN::RibbonBarEvent]
24
24
  def initialize(command_type=Wx::EVT_NULL, win_id=0, page=nil) end
25
25
 
26
26
  # Returns the page being changed to, or being clicked on.
27
- # @return [Wx::RibbonPage]
27
+ # @return [Wx::RBN::RibbonPage]
28
28
  def get_page; end
29
29
  alias_method :page, :get_page
30
30
 
31
31
  # Sets the page relating to this event.
32
- # @param page [Wx::RibbonPage]
32
+ # @param page [Wx::RBN::RibbonPage]
33
33
  # @return [void]
34
34
  def set_page(page) end
35
35
  alias_method :page=, :set_page
@@ -77,17 +77,24 @@ module Wx::RBN
77
77
 
78
78
  # A ribbon button bar is similar to a traditional toolbar.
79
79
  # It contains one or more buttons (button bar buttons, not {Wx::Buttons}), each of which has a label and an icon. It differs from a {Wx::RBN::RibbonToolBar} in several ways:
80
+ #
80
81
  # - Individual buttons can grow and contract.
82
+ #
81
83
  # - Buttons have labels as well as bitmaps.
84
+ #
82
85
  # - Bitmaps are typically larger (at least 32x32 pixels) on a button bar compared to a tool bar (which typically has 16x15).
86
+ #
83
87
  # - There is no grouping of buttons on a button bar
88
+ #
84
89
  # - A button bar typically has a border around each individual button, whereas a tool bar typically has a border around each group of buttons.
85
90
  #
86
91
  # === Events emitted by this class
87
92
  #
88
93
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::RBN::RibbonButtonBarEvent} events.
89
94
  # Event handler methods for events emitted by this class:
95
+ #
90
96
  # - {Wx::EvtHandler#evt_ribbonbuttonbar_clicked}(id, meth = nil, &block): Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.
97
+ #
91
98
  # - {Wx::EvtHandler#evt_ribbonbuttonbar_dropdown_clicked}(id, meth = nil, &block): Triggered when the dropdown region of a button on the button bar is clicked. {Wx::RBN::RibbonButtonBarEvent#popup_menu} should be called by the event handler if it wants to display a popup menu (which is what most dropdown buttons should be doing).
92
99
  #
93
100
  # ===
@@ -99,7 +106,7 @@ module Wx::RBN
99
106
  # @overload initialize()
100
107
  # Default constructor.
101
108
  # With this constructor, {Wx::RBN::RibbonButtonBar#create} should be called in order to create the button bar.
102
- # @return [RibbonButtonBar]
109
+ # @return [Wx::RBN::RibbonButtonBar]
103
110
  # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0)
104
111
  # Construct a ribbon button bar with the given parameters.
105
112
  # @param parent [Wx::Window] Parent window for the button bar (typically a {Wx::RBN::RibbonPanel}).
@@ -107,7 +114,7 @@ module Wx::RBN
107
114
  # @param pos [Array(Integer, Integer), Wx::Point] Initial position of the button bar.
108
115
  # @param size [Array(Integer, Integer), Wx::Size] Initial size of the button bar.
109
116
  # @param style [Integer] Button bar style, currently unused.
110
- # @return [RibbonButtonBar]
117
+ # @return [Wx::RBN::RibbonButtonBar]
111
118
  def initialize(*args) end
112
119
 
113
120
  # Create a button bar in two-step button bar construction.
@@ -18,20 +18,20 @@ module Wx::RBN
18
18
  class RibbonButtonBarEvent < CommandEvent
19
19
 
20
20
  # Constructor.
21
- # @param command_type [Integer]
21
+ # @param command_type [Wx::AUI::AuiMDIChildFrame::EventType]
22
22
  # @param win_id [Integer]
23
- # @param bar [Wx::RibbonButtonBar]
23
+ # @param bar [Wx::RBN::RibbonButtonBar]
24
24
  # @param button [Integer]
25
- # @return [RibbonButtonBarEvent]
25
+ # @return [Wx::RBN::RibbonButtonBarEvent]
26
26
  def initialize(command_type=Wx::EVT_NULL, win_id=0, bar=nil, button=nil) end
27
27
 
28
28
  # Returns the bar which contains the button which the event relates to.
29
- # @return [Wx::RibbonButtonBar]
29
+ # @return [Wx::RBN::RibbonButtonBar]
30
30
  def get_bar; end
31
31
  alias_method :bar, :get_bar
32
32
 
33
33
  # Sets the button bar relating to this event.
34
- # @param bar [Wx::RibbonButtonBar]
34
+ # @param bar [Wx::RBN::RibbonButtonBar]
35
35
  # @return [void]
36
36
  def set_bar(bar) end
37
37
  alias_method :bar=, :set_bar
@@ -17,7 +17,7 @@ module Wx::RBN
17
17
 
18
18
  # @overload initialize()
19
19
  # Constructor.
20
- # @return [RibbonControl]
20
+ # @return [Wx::RBN::RibbonControl]
21
21
  # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::ControlNameStr)
22
22
  # Constructor.
23
23
  # If parent is a {Wx::RBN::RibbonControl} with a non-NULL art provider, then the art provider of new control is set to that of parent.
@@ -28,13 +28,13 @@ module Wx::RBN
28
28
  # @param style [Integer]
29
29
  # @param validator [Wx::Validator]
30
30
  # @param name [String]
31
- # @return [RibbonControl]
31
+ # @return [Wx::RBN::RibbonControl]
32
32
  def initialize(*args) end
33
33
 
34
34
  # Set the art provider to be used.
35
35
  # In many cases, setting the art provider will also set the art provider on all child windows which extend {Wx::RBN::RibbonControl}.
36
36
  # In most cases, controls will not take ownership of the given pointer, with the notable exception being {Wx::RBN::RibbonBar#set_art_provider}.
37
- # @param art [Wx::RibbonArtProvider]
37
+ # @param art [Wx::RBN::RibbonArtProvider]
38
38
  # @return [void]
39
39
  def set_art_provider(art) end
40
40
  alias_method :art_provider=, :set_art_provider
@@ -99,7 +99,7 @@ module Wx::RBN
99
99
  def realise; end
100
100
 
101
101
  # Get the first ancestor which is a {Wx::RBN::RibbonBar} (or derived) or NULL if not having such parent.
102
- # @return [Wx::RibbonBar]
102
+ # @return [Wx::RBN::RibbonBar]
103
103
  def get_ancestor_ribbon_bar; end
104
104
  alias_method :ancestor_ribbon_bar, :get_ancestor_ribbon_bar
105
105
 
@@ -48,14 +48,18 @@ module Wx::RBN
48
48
  #
49
49
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::RBN::RibbonGalleryEvent} events.
50
50
  # Event handler methods for events emitted by this class:
51
+ #
51
52
  # - {Wx::EvtHandler#evt_ribbongallery_selected}(id, meth = nil, &block): Triggered when the user selects an item from the gallery. Note that the ID is that of the gallery, not of the item.
53
+ #
52
54
  # - {Wx::EvtHandler#evt_ribbongallery_clicked}(id, meth = nil, &block): Similar to EVT_RIBBONGALLERY_SELECTED but triggered every time a gallery item is clicked, even if it is already selected. Note that the ID of the event is that of the gallery, not of the item, just as above. This event is available since wxWidgets 2.9.2.
55
+ #
53
56
  # - {Wx::EvtHandler#evt_ribbongallery_hover_changed}(id, meth = nil, &block): Triggered when the item being hovered over by the user changes. The item in the event will be the new item being hovered, or NULL if there is no longer an item being hovered. Note that the ID is that of the gallery, not of the item.
54
57
  #
55
58
  # === Events emitted by this class
56
59
  #
57
60
  # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
58
61
  # Event handler methods for events emitted by this class:
62
+ #
59
63
  # - {Wx::EvtHandler#evt_button}(id, meth = nil, &block): Triggered when the "extension" button of the gallery is pressed.
60
64
  #
61
65
  # ===
@@ -67,7 +71,7 @@ module Wx::RBN
67
71
  # @overload initialize()
68
72
  # Default constructor.
69
73
  # With this constructor, {Wx::RBN::RibbonGallery#create} should be called in order to create the gallery.
70
- # @return [RibbonGallery]
74
+ # @return [Wx::RBN::RibbonGallery]
71
75
  # @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0)
72
76
  # Construct a ribbon gallery with the given parameters.
73
77
  # @param parent [Wx::Window] Parent window for the gallery (typically a {Wx::RBN::RibbonPanel}).
@@ -75,7 +79,7 @@ module Wx::RBN
75
79
  # @param pos [Array(Integer, Integer), Wx::Point] Initial position of the gallery.
76
80
  # @param size [Array(Integer, Integer), Wx::Size] Initial size of the gallery.
77
81
  # @param style [Integer] Gallery style, currently unused.
78
- # @return [RibbonGallery]
82
+ # @return [Wx::RBN::RibbonGallery]
79
83
  def initialize(*args) end
80
84
 
81
85
  # Create a gallery in two-step gallery construction.