wxruby3 0.9.4-x64-mingw-ucrt → 0.9.7-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (390) hide show
  1. checksums.yaml +4 -4
  2. data/.wxconfig +9 -8
  3. data/INSTALL.md +315 -78
  4. data/README.md +32 -21
  5. data/ext/wxbase32u_gcc_custom.dll +0 -0
  6. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  7. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  20. data/lib/wx/core/combo_ctrl.rb +171 -0
  21. data/lib/wx/core/ext.rb +22 -3
  22. data/lib/wx/doc/comboctrl.rb +128 -3
  23. data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
  24. data/lib/wx/doc/gen/accelerator.rb +1 -1
  25. data/lib/wx/doc/gen/accessible.rb +1 -1
  26. data/lib/wx/doc/gen/activity_indicator.rb +1 -1
  27. data/lib/wx/doc/gen/animation.rb +1 -1
  28. data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
  29. data/lib/wx/doc/gen/any_button.rb +1 -1
  30. data/lib/wx/doc/gen/app.rb +1 -1
  31. data/lib/wx/doc/gen/app_traits.rb +3 -55
  32. data/lib/wx/doc/gen/art_provider.rb +1 -3
  33. data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
  34. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
  35. data/lib/wx/doc/gen/aui/aui_manager.rb +352 -349
  36. data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
  37. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
  38. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -37
  39. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
  40. data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
  41. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
  42. data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
  43. data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
  44. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
  45. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
  46. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
  47. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
  48. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
  49. data/lib/wx/doc/gen/banner_window.rb +1 -1
  50. data/lib/wx/doc/gen/bitmap.rb +1 -1
  51. data/lib/wx/doc/gen/bitmap_button.rb +1 -1
  52. data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
  53. data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
  54. data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
  55. data/lib/wx/doc/gen/box_sizer.rb +1 -1
  56. data/lib/wx/doc/gen/brush.rb +1 -1
  57. data/lib/wx/doc/gen/busy_info.rb +1 -1
  58. data/lib/wx/doc/gen/button.rb +1 -1
  59. data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
  60. data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
  61. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  62. data/lib/wx/doc/gen/calendar_event.rb +1 -1
  63. data/lib/wx/doc/gen/caret.rb +1 -1
  64. data/lib/wx/doc/gen/check_box.rb +1 -1
  65. data/lib/wx/doc/gen/check_list_box.rb +1 -1
  66. data/lib/wx/doc/gen/choice.rb +1 -1
  67. data/lib/wx/doc/gen/choicebook.rb +1 -1
  68. data/lib/wx/doc/gen/client_dc.rb +1 -1
  69. data/lib/wx/doc/gen/clipboard.rb +1 -1
  70. data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
  71. data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
  72. data/lib/wx/doc/gen/colour.rb +1 -2
  73. data/lib/wx/doc/gen/colour_dialog.rb +2 -2
  74. data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
  75. data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
  76. data/lib/wx/doc/gen/combo_box.rb +4 -3
  77. data/lib/wx/doc/gen/combo_ctrl.rb +92 -228
  78. data/lib/wx/doc/gen/command_link_button.rb +1 -1
  79. data/lib/wx/doc/gen/config_base.rb +1 -1
  80. data/lib/wx/doc/gen/context_help_button.rb +1 -1
  81. data/lib/wx/doc/gen/control.rb +1 -1
  82. data/lib/wx/doc/gen/control_with_items.rb +1 -1
  83. data/lib/wx/doc/gen/core.rb +5 -5
  84. data/lib/wx/doc/gen/cursor.rb +1 -1
  85. data/lib/wx/doc/gen/data_format.rb +1 -1
  86. data/lib/wx/doc/gen/data_object.rb +1 -1
  87. data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
  88. data/lib/wx/doc/gen/date_event.rb +1 -1
  89. data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
  90. data/lib/wx/doc/gen/dc.rb +1 -4
  91. data/lib/wx/doc/gen/defs.rb +1 -1
  92. data/lib/wx/doc/gen/dial_up_event.rb +1 -1
  93. data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
  94. data/lib/wx/doc/gen/dialog.rb +1 -2
  95. data/lib/wx/doc/gen/dir_dialog.rb +1 -1
  96. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
  97. data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
  98. data/lib/wx/doc/gen/drag_drop.rb +1 -1
  99. data/lib/wx/doc/gen/drag_image.rb +1 -1
  100. data/lib/wx/doc/gen/editable_list_box.rb +1 -1
  101. data/lib/wx/doc/gen/event.rb +1 -1
  102. data/lib/wx/doc/gen/event_blocker.rb +1 -1
  103. data/lib/wx/doc/gen/event_filter.rb +1 -1
  104. data/lib/wx/doc/gen/events.rb +3 -25
  105. data/lib/wx/doc/gen/evt_handler.rb +1 -1
  106. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  107. data/lib/wx/doc/gen/file_ctrl.rb +1 -1
  108. data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
  109. data/lib/wx/doc/gen/file_dialog.rb +1 -3
  110. data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
  111. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +54 -62
  112. data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
  113. data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
  114. data/lib/wx/doc/gen/file_system.rb +2 -59
  115. data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
  116. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  117. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  118. data/lib/wx/doc/gen/flex_grid_sizer.rb +1 -1
  119. data/lib/wx/doc/gen/font.rb +1 -1
  120. data/lib/wx/doc/gen/font_data.rb +1 -1
  121. data/lib/wx/doc/gen/font_dialog.rb +1 -1
  122. data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
  123. data/lib/wx/doc/gen/font_picker_event.rb +1 -1
  124. data/lib/wx/doc/gen/frame.rb +1 -2
  125. data/lib/wx/doc/gen/fs_file.rb +1 -1
  126. data/lib/wx/doc/gen/functions.rb +1 -1
  127. data/lib/wx/doc/gen/gauge.rb +1 -1
  128. data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
  129. data/lib/wx/doc/gen/gcdc.rb +1 -1
  130. data/lib/wx/doc/gen/gdi_common.rb +3 -3
  131. data/lib/wx/doc/gen/gdi_object.rb +1 -1
  132. data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
  133. data/lib/wx/doc/gen/graphics_context.rb +1 -1
  134. data/lib/wx/doc/gen/graphics_object.rb +1 -1
  135. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
  136. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
  137. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
  138. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
  139. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
  140. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
  141. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
  142. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
  143. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
  144. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
  145. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
  146. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
  147. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
  148. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
  149. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
  150. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
  151. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
  152. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
  153. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
  154. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
  155. data/lib/wx/doc/gen/grid/grid_ctrl.rb +2716 -2724
  156. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
  157. data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
  158. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
  159. data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
  160. data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
  161. data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
  162. data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
  163. data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
  164. data/lib/wx/doc/gen/grid_sizer.rb +1 -1
  165. data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
  166. data/lib/wx/doc/gen/header_ctrl.rb +1 -2
  167. data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
  168. data/lib/wx/doc/gen/help_controller.rb +1 -1
  169. data/lib/wx/doc/gen/help_provider.rb +1 -1
  170. data/lib/wx/doc/gen/html/html_cell.rb +515 -511
  171. data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
  172. data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
  173. data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
  174. data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
  175. data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
  176. data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
  177. data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
  178. data/lib/wx/doc/gen/html/html_printout.rb +94 -90
  179. data/lib/wx/doc/gen/html/html_window.rb +406 -402
  180. data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
  181. data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
  182. data/lib/wx/doc/gen/icon.rb +1 -1
  183. data/lib/wx/doc/gen/icon_location.rb +1 -1
  184. data/lib/wx/doc/gen/image.rb +1 -3
  185. data/lib/wx/doc/gen/image_list.rb +1 -1
  186. data/lib/wx/doc/gen/info_bar.rb +1 -1
  187. data/lib/wx/doc/gen/keyboard_state.rb +1 -1
  188. data/lib/wx/doc/gen/list_box.rb +1 -1
  189. data/lib/wx/doc/gen/list_ctrl.rb +1 -2
  190. data/lib/wx/doc/gen/list_event.rb +1 -1
  191. data/lib/wx/doc/gen/listbook.rb +1 -1
  192. data/lib/wx/doc/gen/locale.rb +1 -1
  193. data/lib/wx/doc/gen/log.rb +1 -1
  194. data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
  195. data/lib/wx/doc/gen/mdi_frame.rb +1 -1
  196. data/lib/wx/doc/gen/media_ctrl.rb +1 -7
  197. data/lib/wx/doc/gen/media_event.rb +1 -1
  198. data/lib/wx/doc/gen/memory_dc.rb +1 -1
  199. data/lib/wx/doc/gen/menu.rb +1 -3
  200. data/lib/wx/doc/gen/menu_bar.rb +1 -1
  201. data/lib/wx/doc/gen/menu_item.rb +1 -1
  202. data/lib/wx/doc/gen/message_dialog.rb +1 -1
  203. data/lib/wx/doc/gen/mini_frame.rb +1 -1
  204. data/lib/wx/doc/gen/mirror_dc.rb +1 -1
  205. data/lib/wx/doc/gen/mouse_state.rb +1 -1
  206. data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
  207. data/lib/wx/doc/gen/non_owned_window.rb +1 -1
  208. data/lib/wx/doc/gen/notebook.rb +1 -2
  209. data/lib/wx/doc/gen/num_validator.rb +1 -1
  210. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  211. data/lib/wx/doc/gen/object.rb +1 -1
  212. data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
  213. data/lib/wx/doc/gen/paint_dc.rb +1 -1
  214. data/lib/wx/doc/gen/palette.rb +1 -1
  215. data/lib/wx/doc/gen/panel.rb +1 -1
  216. data/lib/wx/doc/gen/pen.rb +1 -1
  217. data/lib/wx/doc/gen/persistence_manager.rb +1 -1
  218. data/lib/wx/doc/gen/persistent_object.rb +1 -1
  219. data/lib/wx/doc/gen/persistent_window.rb +1 -1
  220. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
  221. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
  222. data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
  223. data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
  224. data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
  225. data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
  226. data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1938
  227. data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -273
  228. data/lib/wx/doc/gen/pg/property_grid.rb +708 -706
  229. data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
  230. data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
  231. data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -384
  232. data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -265
  233. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -144
  234. data/lib/wx/doc/gen/picker_base.rb +1 -1
  235. data/lib/wx/doc/gen/platform_info.rb +1 -1
  236. data/lib/wx/doc/gen/popup_window.rb +1 -1
  237. data/lib/wx/doc/gen/progress_dialog.rb +1 -1
  238. data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
  239. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
  240. data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -18
  241. data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
  242. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
  243. data/lib/wx/doc/gen/prt/print_data.rb +637 -633
  244. data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
  245. data/lib/wx/doc/gen/prt/printer.rb +484 -480
  246. data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
  247. data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
  248. data/lib/wx/doc/gen/radio_box.rb +1 -1
  249. data/lib/wx/doc/gen/radio_button.rb +1 -1
  250. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
  251. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
  252. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
  253. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
  254. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
  255. data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
  256. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
  257. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
  258. data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
  259. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
  260. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
  261. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
  262. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
  263. data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
  264. data/lib/wx/doc/gen/rearrange_list.rb +1 -1
  265. data/lib/wx/doc/gen/region.rb +1 -1
  266. data/lib/wx/doc/gen/region_iterator.rb +1 -1
  267. data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
  268. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
  269. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
  270. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
  271. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
  272. data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
  273. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
  274. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
  275. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
  276. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -85
  277. data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
  278. data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
  279. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
  280. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
  281. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -279
  282. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
  283. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -44
  284. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
  285. data/lib/wx/doc/gen/sash_event.rb +1 -1
  286. data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
  287. data/lib/wx/doc/gen/sash_window.rb +1 -1
  288. data/lib/wx/doc/gen/scaled_dc.rb +1 -1
  289. data/lib/wx/doc/gen/screen_dc.rb +1 -1
  290. data/lib/wx/doc/gen/scroll_bar.rb +1 -2
  291. data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
  292. data/lib/wx/doc/gen/scrolled_control.rb +1 -1
  293. data/lib/wx/doc/gen/scrolled_window.rb +1 -1
  294. data/lib/wx/doc/gen/search_ctrl.rb +1 -1
  295. data/lib/wx/doc/gen/simplebook.rb +1 -1
  296. data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
  297. data/lib/wx/doc/gen/sizer.rb +1 -2
  298. data/lib/wx/doc/gen/sizer_item.rb +1 -1
  299. data/lib/wx/doc/gen/slider.rb +1 -2
  300. data/lib/wx/doc/gen/spin_button.rb +1 -1
  301. data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
  302. data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
  303. data/lib/wx/doc/gen/spin_double_event.rb +1 -1
  304. data/lib/wx/doc/gen/spin_event.rb +1 -1
  305. data/lib/wx/doc/gen/splash_screen.rb +2 -2
  306. data/lib/wx/doc/gen/splitter_event.rb +1 -1
  307. data/lib/wx/doc/gen/splitter_window.rb +1 -1
  308. data/lib/wx/doc/gen/static_bitmap.rb +1 -1
  309. data/lib/wx/doc/gen/static_box.rb +1 -1
  310. data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
  311. data/lib/wx/doc/gen/static_line.rb +1 -1
  312. data/lib/wx/doc/gen/static_text.rb +1 -1
  313. data/lib/wx/doc/gen/status_bar.rb +1 -1
  314. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4199
  315. data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7508
  316. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
  317. data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
  318. data/lib/wx/doc/gen/system_options.rb +1 -1
  319. data/lib/wx/doc/gen/system_settings.rb +1 -1
  320. data/lib/wx/doc/gen/task_bar_button.rb +1 -1
  321. data/lib/wx/doc/gen/task_bar_icon.rb +1 -2
  322. data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
  323. data/lib/wx/doc/gen/text_attr.rb +1 -1
  324. data/lib/wx/doc/gen/text_ctrl.rb +1 -6
  325. data/lib/wx/doc/gen/text_entry.rb +1 -1
  326. data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
  327. data/lib/wx/doc/gen/text_validator.rb +1 -1
  328. data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
  329. data/lib/wx/doc/gen/timer.rb +1 -1
  330. data/lib/wx/doc/gen/timer_event.rb +1 -1
  331. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  332. data/lib/wx/doc/gen/toggle_button.rb +1 -1
  333. data/lib/wx/doc/gen/tool_bar.rb +1 -1
  334. data/lib/wx/doc/gen/tool_tip.rb +1 -1
  335. data/lib/wx/doc/gen/toolbook.rb +1 -1
  336. data/lib/wx/doc/gen/top_level_window.rb +1 -1
  337. data/lib/wx/doc/gen/tree_ctrl.rb +1 -3
  338. data/lib/wx/doc/gen/tree_event.rb +1 -1
  339. data/lib/wx/doc/gen/treebook.rb +1 -1
  340. data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
  341. data/lib/wx/doc/gen/utils.rb +1 -1
  342. data/lib/wx/doc/gen/v_list_box.rb +1 -1
  343. data/lib/wx/doc/gen/v_scrolled_window.rb +1 -2
  344. data/lib/wx/doc/gen/validator.rb +1 -1
  345. data/lib/wx/doc/gen/variant.rb +1 -1
  346. data/lib/wx/doc/gen/window.rb +1 -1
  347. data/lib/wx/doc/gen/window_dc.rb +1 -1
  348. data/lib/wx/doc/gen/window_disabler.rb +1 -1
  349. data/lib/wx/doc/gen/with_images.rb +1 -1
  350. data/lib/wx/doc/gen/wizard.rb +1 -2
  351. data/lib/wx/doc/gen/wizard_event.rb +1 -1
  352. data/lib/wx/doc/gen/wizard_page.rb +1 -2
  353. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  354. data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
  355. data/lib/wx/doc/gen/xml_node.rb +1 -1
  356. data/lib/wx/doc/gen/xml_resource.rb +1 -1
  357. data/lib/wx/doc/owner_drawn_combobox.rb +5 -1
  358. data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
  359. data/lib/wx/version.rb +1 -1
  360. data/lib/wx/wxruby/base.rb +6 -4
  361. data/lib/wx/wxruby/cmd/sampler.rb +39 -29
  362. data/lib/wx/wxruby/cmd/setup.rb +122 -0
  363. data/lib/wx/wxruby/cmd/test.rb +56 -6
  364. data/lib/wxruby_aui.so +0 -0
  365. data/lib/wxruby_core.so +0 -0
  366. data/lib/wxruby_grid.so +0 -0
  367. data/lib/wxruby_html.so +0 -0
  368. data/lib/wxruby_pg.so +0 -0
  369. data/lib/wxruby_prt.so +0 -0
  370. data/lib/wxruby_rbn.so +0 -0
  371. data/lib/wxruby_rtc.so +0 -0
  372. data/lib/wxruby_stc.so +0 -0
  373. data/rakelib/install.rb +2 -0
  374. data/rakelib/lib/config/linux.rb +24 -2
  375. data/rakelib/lib/config/macosx.rb +16 -0
  376. data/rakelib/lib/config/mingw.rb +133 -9
  377. data/rakelib/lib/config/pkgman/arch.rb +53 -0
  378. data/rakelib/lib/config/pkgman/base.rb +169 -0
  379. data/rakelib/lib/config/pkgman/debian.rb +66 -0
  380. data/rakelib/lib/config/pkgman/macosx.rb +183 -0
  381. data/rakelib/lib/config/pkgman/rhel.rb +54 -0
  382. data/rakelib/lib/config/pkgman/suse.rb +54 -0
  383. data/rakelib/lib/config/unixish.rb +36 -19
  384. data/rakelib/lib/config.rb +254 -61
  385. data/rakelib/prepost.rake +9 -4
  386. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
  387. data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
  388. data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
  389. data/tests/test_combo_ctrl.rb +196 -0
  390. metadata +25 -4
@@ -6,365 +6,368 @@
6
6
 
7
7
  module Wx::AUI
8
8
 
9
- # {Wx::AUI::AuiManager} is the central class of the {Wx::AUI} class framework.
10
- #
11
- # {Wx::AUI::AuiManager} manages the panes associated with it for a particular {Wx::Frame}, using a pane's {Wx::AUI::AuiPaneInfo} information to determine each pane's docking and floating behaviour.
12
- # {Wx::AUI::AuiManager} uses wxWidgets' sizer mechanism to plan the layout of each frame. It uses a replaceable dock art class to do all drawing, so all drawing is localized in one area, and may be customized depending on an application's specific needs.
13
- # {Wx::AUI::AuiManager} works as follows: the programmer adds panes to the class, or makes changes to existing pane properties (dock position, floating state, show state, etc.). To apply these changes, {Wx::AUI::AuiManager}'s {Wx::AUI::AuiManager#update} function is called. This batch processing can be used to avoid flicker, by modifying more than one pane at a time, and then "committing" all of the changes at once by calling {Wx::AUI::AuiManager#update}.
14
- # Panes can be added quite easily:
15
- #
16
- # ```ruby
17
- # @text1 = Wx::TextCtrl.new(self, -1)
18
- # @text2 = Wx::TextCtrl.new(self, -1)
19
- # @mgr.add_pane(@text1, Wx::LEFT, 'Pane Caption')
20
- # @mgr.add_pane(@text2, Wx::BOTTOM, 'Pane Caption')
21
- # @mgr.update
22
- # ```
23
- #
24
- # Later on, the positions can be modified easily. The following will float an existing pane in a tool window:
25
- #
26
- # ```ruby
27
- # @mgr.get_pane(@text1).float
28
- # ```
29
- #
30
- # ## Layers, Rows and Directions, Positions
31
- #
32
- # Inside {Wx::AUI}, the docking layout is figured out by checking several pane parameters. Four of these are important for determining where a pane will end up:
33
- #
34
- # - Direction: Each docked pane has a direction, Top, Bottom, Left, Right, or Center. This is fairly self-explanatory. The pane will be placed in the location specified by this variable.
35
- #
36
- # - Position: More than one pane can be placed inside of a dock. Imagine two panes being docked on the left side of a window. One pane can be placed over another. In proportionally managed docks, the pane position indicates its sequential position, starting with zero. So, in our scenario with two panes docked on the left side, the top pane in the dock would have position 0, and the second one would occupy position 1.
37
- #
38
- # - Row: A row can allow for two docks to be placed next to each other. One of the most common places for this to happen is in the toolbar. Multiple toolbar rows are allowed, the first row being row 0, and the second row 1. Rows can also be used on vertically docked panes.
39
- #
40
- # - Layer: A layer is akin to an onion. Layer 0 is the very center of the managed pane. Thus, if a pane is in layer 0, it will be closest to the center window (also sometimes known as the "content window"). Increasing layers "swallow up" all layers of a lower value. This can look very similar to multiple rows, but is different because all panes in a lower level yield to panes in higher levels. The best way to understand layers is by running the {Wx::AUI} sample.
41
- #
42
- # ### Styles
43
- #
44
- # This class supports the following styles:
45
- #
46
- # - {Wx::AUI::AuiManagerOption::AUI_MGR_ALLOW_FLOATING}: Allow a pane to be undocked to take the form of a {Wx::MiniFrame}.
47
- #
48
- # - {Wx::AUI::AuiManagerOption::AUI_MGR_ALLOW_ACTIVE_PANE}: Change the color of the title bar of the pane when it is activated.
49
- #
50
- # - {Wx::AUI::AuiManagerOption::AUI_MGR_TRANSPARENT_DRAG}: Make the pane transparent during its movement.
51
- #
52
- # - {Wx::AUI::AuiManagerOption::AUI_MGR_TRANSPARENT_HINT}: The possible location for docking is indicated by a translucent area.
53
- #
54
- # - {Wx::AUI::AuiManagerOption::AUI_MGR_VENETIAN_BLINDS_HINT}: The possible location for docking is indicated by gradually appearing partially transparent hint.
55
- #
56
- # - {Wx::AUI::AuiManagerOption::AUI_MGR_RECTANGLE_HINT}: The possible location for docking is indicated by a rectangular outline.
57
- #
58
- # - {Wx::AUI::AuiManagerOption::AUI_MGR_HINT_FADE}: The translucent area where the pane could be docked appears gradually.
59
- #
60
- # - {Wx::AUI::AuiManagerOption::AUI_MGR_NO_VENETIAN_BLINDS_FADE}: Used in complement of {Wx::AUI::AuiManagerOption::AUI_MGR_VENETIAN_BLINDS_HINT} to show the docking hint immediately.
61
- #
62
- # - {Wx::AUI::AuiManagerOption::AUI_MGR_LIVE_RESIZE}: When a docked pane is resized, its content is refreshed in live (instead of moving the border alone and refreshing the content at the end).
63
- #
64
- # - {Wx::AUI::AuiManagerOption::AUI_MGR_DEFAULT}: Default behaviour, combines: {Wx::AUI::AuiManagerOption::AUI_MGR_ALLOW_FLOATING} | {Wx::AUI::AuiManagerOption::AUI_MGR_TRANSPARENT_HINT} | {Wx::AUI::AuiManagerOption::AUI_MGR_HINT_FADE} | {Wx::AUI::AuiManagerOption::AUI_MGR_NO_VENETIAN_BLINDS_FADE}.
65
- #
66
- # ### Events emitted by this class
67
- #
68
- # The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiManagerEvent} events.
69
- # Event handler methods for events emitted by this class:
70
- #
71
- # - {Wx::EvtHandler#evt_aui_pane_button}(meth = nil, &block): Triggered when any button is pressed for any docked panes.
72
- #
73
- # - {Wx::EvtHandler#evt_aui_pane_close}(meth = nil, &block): Triggered when a docked or floating pane is closed.
74
- #
75
- # - {Wx::EvtHandler#evt_aui_pane_maximize}(meth = nil, &block): Triggered when a pane is maximized.
76
- #
77
- # - {Wx::EvtHandler#evt_aui_pane_restore}(meth = nil, &block): Triggered when a pane is restored.
78
- #
79
- # - {Wx::EvtHandler#evt_aui_pane_activated}(meth = nil, &block): Triggered when a pane is made 'active'. This event is new since wxWidgets 2.9.4.
80
- #
81
- # - {Wx::EvtHandler#evt_aui_render}(meth = nil, &block): This event can be caught to override the default renderer in order to custom draw your {Wx::AUI::AuiManager} window (not recommended).
82
- #
83
- # Category: Window Docking (wxAUI)
84
- # @see wxAUI Overview
85
- # @see Wx::AUI::AuiNotebook
86
- # @see Wx::AUI::AuiDockArt
87
- # @see Wx::AUI::AuiPaneInfo
88
- #
89
- #
90
- # @wxrb_require USE_AUI
91
- class AuiManager < EvtHandler
92
-
93
- # Constructor.
94
- # @param managed_wnd [Wx::Window] Specifies the {Wx::Frame} which should be managed.
95
- # @param flags [Integer] Specifies the frame management behaviour and visual effects with the {Wx::AUI::AuiManagerOption}'s style flags.
96
- # @return [Wx::AUI::AuiManager]
97
- def initialize(managed_wnd=nil, flags=Wx::AUI::AuiManagerOption::AUI_MGR_DEFAULT) end
98
-
99
- # @overload add_pane(window, pane_info)
100
- # {Wx::AUI::AuiManager#add_pane} tells the frame manager to start managing a child window.
101
- #
102
- # There are several versions of this function. The first version allows the full spectrum of pane parameter possibilities. The second version is used for simpler user interfaces which do not require as much configuration. The last version allows a drop position to be specified, which will determine where the pane will be added.
103
- # @param window [Wx::Window]
104
- # @param pane_info [Wx::AUI::AuiPaneInfo]
105
- # @return [Boolean]
106
- # @overload add_pane(window, direction=Wx::Direction::LEFT, caption=(''))
107
- # @param window [Wx::Window]
108
- # @param direction [Integer]
109
- # @param caption [String]
110
- # @return [Boolean]
111
- # @overload add_pane(window, pane_info, drop_pos)
112
- # @param window [Wx::Window]
113
- # @param pane_info [Wx::AUI::AuiPaneInfo]
114
- # @param drop_pos [Array(Integer, Integer), Wx::Point]
115
- # @return [Boolean]
116
- def add_pane(*args) end
117
-
118
- # This function is used by controls to calculate the drop hint rectangle.
119
- #
120
- # The method first calls DoDrop() to determine the exact position the pane would be at were if dropped.
121
- #
122
- # The rectangle hint will be returned in screen coordinates if the pane would indeed become docked at the specified drop point. Otherwise, an empty rectangle is returned.
123
- # @param paneWindow [Wx::Window] The window pointer of the pane being dragged.
124
- # @param pt [Array(Integer, Integer), Wx::Point] The mouse position, in client coordinates.
125
- # @param offset [Array(Integer, Integer), Wx::Point] Describes the offset that the mouse is from the upper-left corner of the item being dragged.
126
- # @return [Wx::Rect]
127
- def calculate_hint_rect(paneWindow, pt, offset) end
128
-
129
- # Check if a key modifier is pressed (actually {Wx::KeyCode::K_CONTROL} or {Wx::KeyCode::K_ALT}) while dragging the frame to not dock the window.
130
- # @param p [Wx::AUI::AuiPaneInfo]
131
- # @return [Boolean]
132
- def can_dock_panel(p) end
133
- alias_method :can_dock_panel?, :can_dock_panel
134
-
135
- # Destroys or hides the given pane depending on its flags.
136
- #
137
- #
138
- # @see Wx::AUI::AuiPaneInfo#destroy_on_close
139
- # @param paneInfo [Wx::AUI::AuiPaneInfo]
140
- # @return [void]
141
- def close_pane(paneInfo) end
142
-
143
- # Creates a floating frame in this {Wx::AUI::AuiManager} with the given parent and {Wx::AUI::AuiPaneInfo}.
144
- # @param parent [Wx::Window]
145
- # @param p [Wx::AUI::AuiPaneInfo]
146
- # @return [Wx::AUI::AuiFloatingFrame]
147
- def create_floating_frame(parent, p) end
148
-
149
- # Tells the {Wx::AUI::AuiManager} to stop managing the pane specified by window.
150
- #
151
- # The window, if in a floated frame, is reparented to the frame managed by {Wx::AUI::AuiManager}.
152
- # @param window [Wx::Window]
153
- # @return [Boolean]
154
- def detach_pane(window) end
155
-
156
- # This function is used by controls to draw the hint window.
157
- #
158
- # It is rarely called, and is mostly used by controls implementing custom pane drag/drop behaviour.
159
- # @param paneWindow [Wx::Window]
160
- # @param pt [Array(Integer, Integer), Wx::Point]
161
- # @param offset [Array(Integer, Integer), Wx::Point]
162
- # @return [void]
163
- def draw_hint_rect(paneWindow, pt, offset) end
164
-
165
- # Returns the current art provider being used.
166
- #
167
- #
168
- # @see Wx::AUI::AuiDockArt.
169
- # @return [Wx::AUI::AuiDockArt]
170
- def get_art_provider; end
171
- alias_method :art_provider, :get_art_provider
172
-
173
- # Returns the current dock constraint values.
174
- #
175
- # See {Wx::AUI::AuiManager#set_dock_size_constraint} for more information.
176
- # @return [Array(Float,Float)]
177
- def get_dock_size_constraint; end
178
- alias_method :dock_size_constraint, :get_dock_size_constraint
179
-
180
- # Returns the current {Wx::AUI::AuiManagerOption}'s flags.
181
- # @return [Integer]
182
- def get_flags; end
183
- alias_method :flags, :get_flags
184
-
185
- # Returns the frame currently being managed by {Wx::AUI::AuiManager}.
186
- # @return [Wx::Window]
187
- def get_managed_window; end
188
- alias_method :managed_window, :get_managed_window
189
-
190
- # @overload get_pane(window)
191
- # {Wx::AUI::AuiManager#get_pane} is used to lookup a {Wx::AUI::AuiPaneInfo} object either by window pointer or by pane name, which acts as a unique id for a window pane.
192
- #
193
- # The returned {Wx::AUI::AuiPaneInfo} object may then be modified to change a pane's look, state or position. After one or more modifications to {Wx::AUI::AuiPaneInfo}, {Wx::AUI::AuiManager#update} should be called to commit the changes to the user interface. If the lookup failed (meaning the pane could not be found in the manager), a call to the returned {Wx::AUI::AuiPaneInfo}'s IsOk() method will return false.
194
- # @param window [Wx::Window]
195
- # @return [Wx::AUI::AuiPaneInfo]
196
- # @overload get_pane(name)
197
- # @param name [String]
198
- # @return [Wx::AUI::AuiPaneInfo]
199
- def get_pane(*args) end
200
- alias_method :pane, :get_pane
201
-
202
- # Returns true if windows are resized live.
203
- #
204
- # This function combines the check for {Wx::AUI::AuiManager.always_uses_live_resize} and, for the platforms where live resizing is optional, the check for {Wx::AUI::AuiManagerOption::AUI_MGR_LIVE_RESIZE} flag.
205
- # Using this accessor allows to verify whether live resizing is being actually used.
206
- # @return [Boolean]
207
- def has_live_resize; end
208
- alias_method :has_live_resize?, :has_live_resize
209
-
210
- # {Wx::AUI::AuiManager#hide_hint} hides any docking hint that may be visible.
211
- # @return [void]
212
- def hide_hint; end
213
-
214
- # This method is used to insert either a previously unmanaged pane window into the frame manager, or to insert a currently managed pane somewhere else.
215
- #
216
- # {Wx::AUI::AuiManager#insert_pane} will push all panes, rows, or docks aside and insert the window into the position specified by insert_location.
217
- # Because insert_location can specify either a pane, dock row, or dock layer, the insert_level parameter is used to disambiguate this. The parameter insert_level can take a value of {Wx::AUI_INSERT_PANE}, {Wx::AUI_INSERT_ROW} or {Wx::AUI_INSERT_DOCK}.
218
- # @param window [Wx::Window]
219
- # @param insert_location [Wx::AUI::AuiPaneInfo]
220
- # @param insert_level [Integer]
221
- # @return [Boolean]
222
- def insert_pane(window, insert_location, insert_level=Wx::AUI_INSERT_PANE) end
223
-
224
- # {Wx::AUI::AuiManager#load_pane_info} is similar to LoadPerspective, with the exception that it only loads information about a single pane.
225
- #
226
- # This method writes the serialized data into the passed pane. Pointers to UI elements are not modified.
227
- #
228
- # <div class="wxrb-note">
229
- # <b>Note:</b>
230
- # <p>This operation also changes the name in the pane information!
231
- # </p>
232
- # </div>
233
- # @see Wx::AUI::AuiManager#load_perspective
234
- #
235
- # @see Wx::AUI::AuiManager#save_pane_info.
236
- #
237
- # @see Wx::AUI::AuiManager#save_perspective
238
- # @param pane_part [String]
239
- # @param pane [Wx::AUI::AuiPaneInfo]
240
- # @return [void]
241
- def load_pane_info(pane_part, pane) end
242
-
243
- # Loads a saved perspective.
244
- #
245
- # A perspective is the layout state of an AUI managed window.
246
- # All currently existing panes that have an object in "perspective" with the same name ("equivalent") will receive the layout parameters of the object in "perspective". Existing panes that do not have an equivalent in "perspective" remain unchanged, objects in "perspective" having no equivalent in the manager are ignored.
247
- # @see Wx::AUI::AuiManager#load_pane_info
248
- #
249
- # @see Wx::AUI::AuiManager#load_perspective
250
- #
251
- # @see Wx::AUI::AuiManager#save_perspective
252
- # @param perspective [String] Serialized layout information of a perspective (excl. pointers to UI elements).
253
- # @param update [Boolean] If update is true, {Wx::AUI::AuiManager#update} is automatically invoked, thus realizing the specified perspective on screen.
254
- # @return [Boolean]
255
- def load_perspective(perspective, update=true) end
256
-
257
- # Maximize the given pane.
258
- # @param paneInfo [Wx::AUI::AuiPaneInfo]
259
- # @return [void]
260
- def maximize_pane(paneInfo) end
261
-
262
- # Restore the last state of the given pane.
263
- # @param paneInfo [Wx::AUI::AuiPaneInfo]
264
- # @return [void]
265
- def restore_pane(paneInfo) end
266
-
267
- # Restore the previously maximized pane.
268
- # @return [void]
269
- def restore_maximized_pane; end
270
-
271
- # {Wx::AUI::AuiManager#save_pane_info} is similar to SavePerspective, with the exception that it only saves information about a single pane.
272
- #
273
- # The serialized layout parameters of the pane are returned within the string. Information about the pointers to UI elements stored in the pane are not serialized.
274
- # @see Wx::AUI::AuiManager#load_pane_info
275
- #
276
- # @see Wx::AUI::AuiManager#load_perspective
277
- #
278
- # @see Wx::AUI::AuiManager#save_perspective
279
- # @param pane [Wx::AUI::AuiPaneInfo] Pane whose layout parameters should be serialized.
280
- # @return [String]
281
- def save_pane_info(pane) end
282
-
283
- # Saves the entire user interface layout into an encoded {Wx::String}, which can then be stored by the application (probably using {Wx::Config}).
9
+ module Wx::AUI
10
+
11
+ # {Wx::AUI::AuiManager} is the central class of the {Wx::AUI} class framework.
284
12
  #
13
+ # {Wx::AUI::AuiManager} manages the panes associated with it for a particular {Wx::Frame}, using a pane's {Wx::AUI::AuiPaneInfo} information to determine each pane's docking and floating behaviour.
14
+ # {Wx::AUI::AuiManager} uses wxWidgets' sizer mechanism to plan the layout of each frame. It uses a replaceable dock art class to do all drawing, so all drawing is localized in one area, and may be customized depending on an application's specific needs.
15
+ # {Wx::AUI::AuiManager} works as follows: the programmer adds panes to the class, or makes changes to existing pane properties (dock position, floating state, show state, etc.). To apply these changes, {Wx::AUI::AuiManager}'s {Wx::AUI::AuiManager#update} function is called. This batch processing can be used to avoid flicker, by modifying more than one pane at a time, and then "committing" all of the changes at once by calling {Wx::AUI::AuiManager#update}.
16
+ # Panes can be added quite easily:
285
17
  #
286
- # @see Wx::AUI::AuiManager#load_perspective
18
+ # ```ruby
19
+ # @text1 = Wx::TextCtrl.new(self, -1)
20
+ # @text2 = Wx::TextCtrl.new(self, -1)
21
+ # @mgr.add_pane(@text1, Wx::LEFT, 'Pane Caption')
22
+ # @mgr.add_pane(@text2, Wx::BOTTOM, 'Pane Caption')
23
+ # @mgr.update
24
+ # ```
287
25
  #
288
- # @see Wx::AUI::AuiManager#load_pane_info
26
+ # Later on, the positions can be modified easily. The following will float an existing pane in a tool window:
289
27
  #
290
- # @see Wx::AUI::AuiManager#save_pane_info
291
- # @return [String]
292
- def save_perspective; end
293
-
294
- # Instructs {Wx::AUI::AuiManager} to use art provider specified by parameter art_provider for all drawing calls.
295
- #
296
- # This allows pluggable look-and-feel features. The previous art provider object, if any, will be deleted by {Wx::AUI::AuiManager}.
297
- # @see Wx::AUI::AuiDockArt.
298
- # @param art_provider [Wx::AUI::AuiDockArt]
299
- # @return [void]
300
- def set_art_provider(art_provider) end
301
- alias_method :art_provider=, :set_art_provider
302
-
303
- # When a user creates a new dock by dragging a window into a docked position, often times the large size of the window will create a dock that is unwieldy large.
304
- #
305
- # {Wx::AUI::AuiManager} by default limits the size of any new dock to 1/3 of the window size. For horizontal docks, this would be 1/3 of the window height. For vertical docks, 1/3 of the width.
306
- # Calling this function will adjust this constraint value. The numbers must be between 0.0 and 1.0. For instance, calling SetDockSizeContraint with 0.5, 0.5 will cause new docks to be limited to half of the size of the entire managed window.
307
- # @param widthpct [Float]
308
- # @param heightpct [Float]
309
- # @return [void]
310
- def set_dock_size_constraint(widthpct, heightpct) end
311
-
312
- # This method is used to specify {Wx::AUI::AuiManagerOption}'s flags.
28
+ # ```ruby
29
+ # @mgr.get_pane(@text1).float
30
+ # ```
313
31
  #
314
- # flags specifies options which allow the frame management behaviour to be modified.
315
- # @param flags [Integer]
316
- # @return [void]
317
- def set_flags(flags) end
318
- alias_method :flags=, :set_flags
319
-
320
- # Called to specify the frame or window which is to be managed by {Wx::AUI::AuiManager}.
32
+ # ## Layers, Rows and Directions, Positions
33
+ # Inside {Wx::AUI}, the docking layout is figured out by checking several pane parameters. Four of these are important for determining where a pane will end up:
321
34
  #
322
- # Frame management is not restricted to just frames. Child windows or custom controls are also allowed.
323
- # @param managed_wnd [Wx::Window]
324
- # @return [void]
325
- def set_managed_window(managed_wnd) end
326
-
327
- # This function is used by controls to explicitly show a hint window at the specified rectangle.
35
+ # - Direction: Each docked pane has a direction, Top, Bottom, Left, Right, or Center. This is fairly self-explanatory. The pane will be placed in the location specified by this variable.
328
36
  #
329
- # It is rarely called, and is mostly used by controls implementing custom pane drag/drop behaviour. The specified rectangle should be in screen coordinates.
330
- # @param rect [Wx::Rect]
331
- # @return [void]
332
- def show_hint(rect) end
333
-
334
- # Mostly used internally to define the drag action parameters.
335
- # @param paneWindow [Wx::Window]
336
- # @param offset [Array(Integer, Integer), Wx::Point]
337
- # @return [void]
338
- def start_pane_drag(paneWindow, offset) end
339
-
340
- # Dissociate the managed window from the manager.
37
+ # - Position: More than one pane can be placed inside of a dock. Imagine two panes being docked on the left side of a window. One pane can be placed over another. In proportionally managed docks, the pane position indicates its sequential position, starting with zero. So, in our scenario with two panes docked on the left side, the top pane in the dock would have position 0, and the second one would occupy position 1.
341
38
  #
342
- # This function may be called before the managed frame or window is destroyed, but, since wxWidgets 3.1.4, it's unnecessary to call it explicitly, as it will be called automatically when this window is destroyed, as well as when the manager itself is.
343
- # @return [void]
344
- def un_init; end
345
-
346
- # This method is called after any number of changes are made to any of the managed panes.
39
+ # - Row: A row can allow for two docks to be placed next to each other. One of the most common places for this to happen is in the toolbar. Multiple toolbar rows are allowed, the first row being row 0, and the second row 1. Rows can also be used on vertically docked panes.
347
40
  #
348
- # {Wx::AUI::AuiManager#update} must be invoked after {Wx::AUI::AuiManager#add_pane} or {Wx::AUI::AuiManager#insert_pane} are called in order to "realize" or "commit" the changes. In addition, any number of changes may be made to {Wx::AUI::AuiPaneInfo} structures (retrieved with {Wx::AUI::AuiManager#get_pane}), but to realize the changes, {Wx::AUI::AuiManager#update} must be called. This construction allows pane flicker to be avoided by updating the whole layout at one time.
349
- # @return [void]
350
- def update; end
351
-
352
- # Returns true if live resize is always used on the current platform.
41
+ # - Layer: A layer is akin to an onion. Layer 0 is the very center of the managed pane. Thus, if a pane is in layer 0, it will be closest to the center window (also sometimes known as the "content window"). Increasing layers "swallow up" all layers of a lower value. This can look very similar to multiple rows, but is different because all panes in a lower level yield to panes in higher levels. The best way to understand layers is by running the {Wx::AUI} sample.
353
42
  #
354
- # If this function returns true, {Wx::AUI::AuiManagerOption::AUI_MGR_LIVE_RESIZE} flag is ignored and live resize is always used, whether it's specified or not.
355
- # Currently this is the case for WXOSX and WXGTK3 ports, as live resizing is the only implemented method there.
356
- # @return [Boolean]
357
- def self.always_uses_live_resize; end
358
-
359
- # Calling this method will return the {Wx::AUI::AuiManager} for a given window.
43
+ # ### Styles
360
44
  #
361
- # The window parameter should specify any child window or sub-child window of the frame or window managed by {Wx::AUI::AuiManager}.
362
- # The window parameter need not be managed by the manager itself, nor does it even need to be a child or sub-child of a managed window. It must however be inside the window hierarchy underneath the managed window.
363
- # @param window [Wx::Window]
364
- # @return [Wx::AUI::AuiManager]
365
- def self.get_manager(window) end
45
+ # This class supports the following styles:
46
+ #
47
+ # - {Wx::AUI::AuiManagerOption::AUI_MGR_ALLOW_FLOATING}: Allow a pane to be undocked to take the form of a {Wx::MiniFrame}.
48
+ #
49
+ # - {Wx::AUI::AuiManagerOption::AUI_MGR_ALLOW_ACTIVE_PANE}: Change the color of the title bar of the pane when it is activated.
50
+ #
51
+ # - {Wx::AUI::AuiManagerOption::AUI_MGR_TRANSPARENT_DRAG}: Make the pane transparent during its movement.
52
+ #
53
+ # - {Wx::AUI::AuiManagerOption::AUI_MGR_TRANSPARENT_HINT}: The possible location for docking is indicated by a translucent area.
54
+ #
55
+ # - {Wx::AUI::AuiManagerOption::AUI_MGR_VENETIAN_BLINDS_HINT}: The possible location for docking is indicated by gradually appearing partially transparent hint.
56
+ #
57
+ # - {Wx::AUI::AuiManagerOption::AUI_MGR_RECTANGLE_HINT}: The possible location for docking is indicated by a rectangular outline.
58
+ #
59
+ # - {Wx::AUI::AuiManagerOption::AUI_MGR_HINT_FADE}: The translucent area where the pane could be docked appears gradually.
60
+ #
61
+ # - {Wx::AUI::AuiManagerOption::AUI_MGR_NO_VENETIAN_BLINDS_FADE}: Used in complement of {Wx::AUI::AuiManagerOption::AUI_MGR_VENETIAN_BLINDS_HINT} to show the docking hint immediately.
62
+ #
63
+ # - {Wx::AUI::AuiManagerOption::AUI_MGR_LIVE_RESIZE}: When a docked pane is resized, its content is refreshed in live (instead of moving the border alone and refreshing the content at the end).
64
+ #
65
+ # - {Wx::AUI::AuiManagerOption::AUI_MGR_DEFAULT}: Default behaviour, combines: {Wx::AUI::AuiManagerOption::AUI_MGR_ALLOW_FLOATING} | {Wx::AUI::AuiManagerOption::AUI_MGR_TRANSPARENT_HINT} | {Wx::AUI::AuiManagerOption::AUI_MGR_HINT_FADE} | {Wx::AUI::AuiManagerOption::AUI_MGR_NO_VENETIAN_BLINDS_FADE}.
66
+ #
67
+ # ### Events emitted by this class
68
+ #
69
+ # The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiManagerEvent} events.
70
+ # Event handler methods for events emitted by this class:
71
+ #
72
+ # - {Wx::EvtHandler#evt_aui_pane_button}(meth = nil, &block): Triggered when any button is pressed for any docked panes.
73
+ #
74
+ # - {Wx::EvtHandler#evt_aui_pane_close}(meth = nil, &block): Triggered when a docked or floating pane is closed.
75
+ #
76
+ # - {Wx::EvtHandler#evt_aui_pane_maximize}(meth = nil, &block): Triggered when a pane is maximized.
77
+ #
78
+ # - {Wx::EvtHandler#evt_aui_pane_restore}(meth = nil, &block): Triggered when a pane is restored.
79
+ #
80
+ # - {Wx::EvtHandler#evt_aui_pane_activated}(meth = nil, &block): Triggered when a pane is made 'active'. This event is new since wxWidgets 2.9.4.
81
+ #
82
+ # - {Wx::EvtHandler#evt_aui_render}(meth = nil, &block): This event can be caught to override the default renderer in order to custom draw your {Wx::AUI::AuiManager} window (not recommended).
83
+ #
84
+ # Category: Window Docking (wxAUI)
85
+ # @see wxAUI Overview
86
+ # @see Wx::AUI::AuiNotebook
87
+ # @see Wx::AUI::AuiDockArt
88
+ # @see Wx::AUI::AuiPaneInfo
89
+ #
90
+ #
91
+ # @wxrb_require USE_AUI
92
+ class AuiManager < EvtHandler
93
+
94
+ # Constructor.
95
+ # @param managed_wnd [Wx::Window] Specifies the {Wx::Frame} which should be managed.
96
+ # @param flags [Integer] Specifies the frame management behaviour and visual effects with the {Wx::AUI::AuiManagerOption}'s style flags.
97
+ # @return [Wx::AUI::AuiManager]
98
+ def initialize(managed_wnd=nil, flags=Wx::AUI::AuiManagerOption::AUI_MGR_DEFAULT) end
99
+
100
+ # @overload add_pane(window, pane_info)
101
+ # {Wx::AUI::AuiManager#add_pane} tells the frame manager to start managing a child window.
102
+ #
103
+ # There are several versions of this function. The first version allows the full spectrum of pane parameter possibilities. The second version is used for simpler user interfaces which do not require as much configuration. The last version allows a drop position to be specified, which will determine where the pane will be added.
104
+ # @param window [Wx::Window]
105
+ # @param pane_info [Wx::AUI::AuiPaneInfo]
106
+ # @return [Boolean]
107
+ # @overload add_pane(window, direction=Wx::Direction::LEFT, caption=(''))
108
+ # @param window [Wx::Window]
109
+ # @param direction [Integer]
110
+ # @param caption [String]
111
+ # @return [Boolean]
112
+ # @overload add_pane(window, pane_info, drop_pos)
113
+ # @param window [Wx::Window]
114
+ # @param pane_info [Wx::AUI::AuiPaneInfo]
115
+ # @param drop_pos [Array(Integer, Integer), Wx::Point]
116
+ # @return [Boolean]
117
+ def add_pane(*args) end
118
+
119
+ # This function is used by controls to calculate the drop hint rectangle.
120
+ #
121
+ # The method first calls DoDrop() to determine the exact position the pane would be at were if dropped.
122
+ #
123
+ # The rectangle hint will be returned in screen coordinates if the pane would indeed become docked at the specified drop point. Otherwise, an empty rectangle is returned.
124
+ # @param paneWindow [Wx::Window] The window pointer of the pane being dragged.
125
+ # @param pt [Array(Integer, Integer), Wx::Point] The mouse position, in client coordinates.
126
+ # @param offset [Array(Integer, Integer), Wx::Point] Describes the offset that the mouse is from the upper-left corner of the item being dragged.
127
+ # @return [Wx::Rect]
128
+ def calculate_hint_rect(paneWindow, pt, offset) end
129
+
130
+ # Check if a key modifier is pressed (actually {Wx::KeyCode::K_CONTROL} or {Wx::KeyCode::K_ALT}) while dragging the frame to not dock the window.
131
+ # @param p [Wx::AUI::AuiPaneInfo]
132
+ # @return [Boolean]
133
+ def can_dock_panel(p) end
134
+ alias_method :can_dock_panel?, :can_dock_panel
135
+
136
+ # Destroys or hides the given pane depending on its flags.
137
+ #
138
+ #
139
+ # @see Wx::AUI::AuiPaneInfo#destroy_on_close
140
+ # @param paneInfo [Wx::AUI::AuiPaneInfo]
141
+ # @return [void]
142
+ def close_pane(paneInfo) end
143
+
144
+ # Creates a floating frame in this {Wx::AUI::AuiManager} with the given parent and {Wx::AUI::AuiPaneInfo}.
145
+ # @param parent [Wx::Window]
146
+ # @param p [Wx::AUI::AuiPaneInfo]
147
+ # @return [Wx::AUI::AuiFloatingFrame]
148
+ def create_floating_frame(parent, p) end
149
+
150
+ # Tells the {Wx::AUI::AuiManager} to stop managing the pane specified by window.
151
+ #
152
+ # The window, if in a floated frame, is reparented to the frame managed by {Wx::AUI::AuiManager}.
153
+ # @param window [Wx::Window]
154
+ # @return [Boolean]
155
+ def detach_pane(window) end
156
+
157
+ # This function is used by controls to draw the hint window.
158
+ #
159
+ # It is rarely called, and is mostly used by controls implementing custom pane drag/drop behaviour.
160
+ # @param paneWindow [Wx::Window]
161
+ # @param pt [Array(Integer, Integer), Wx::Point]
162
+ # @param offset [Array(Integer, Integer), Wx::Point]
163
+ # @return [void]
164
+ def draw_hint_rect(paneWindow, pt, offset) end
165
+
166
+ # Returns the current art provider being used.
167
+ #
168
+ #
169
+ # @see Wx::AUI::AuiDockArt.
170
+ # @return [Wx::AUI::AuiDockArt]
171
+ def get_art_provider; end
172
+ alias_method :art_provider, :get_art_provider
173
+
174
+ # Returns the current dock constraint values.
175
+ #
176
+ # See {Wx::AUI::AuiManager#set_dock_size_constraint} for more information.
177
+ # @return [Array(Float,Float)]
178
+ def get_dock_size_constraint; end
179
+ alias_method :dock_size_constraint, :get_dock_size_constraint
180
+
181
+ # Returns the current {Wx::AUI::AuiManagerOption}'s flags.
182
+ # @return [Integer]
183
+ def get_flags; end
184
+ alias_method :flags, :get_flags
185
+
186
+ # Returns the frame currently being managed by {Wx::AUI::AuiManager}.
187
+ # @return [Wx::Window]
188
+ def get_managed_window; end
189
+ alias_method :managed_window, :get_managed_window
190
+
191
+ # @overload get_pane(window)
192
+ # {Wx::AUI::AuiManager#get_pane} is used to lookup a {Wx::AUI::AuiPaneInfo} object either by window pointer or by pane name, which acts as a unique id for a window pane.
193
+ #
194
+ # The returned {Wx::AUI::AuiPaneInfo} object may then be modified to change a pane's look, state or position. After one or more modifications to {Wx::AUI::AuiPaneInfo}, {Wx::AUI::AuiManager#update} should be called to commit the changes to the user interface. If the lookup failed (meaning the pane could not be found in the manager), a call to the returned {Wx::AUI::AuiPaneInfo}'s IsOk() method will return false.
195
+ # @param window [Wx::Window]
196
+ # @return [Wx::AUI::AuiPaneInfo]
197
+ # @overload get_pane(name)
198
+ # @param name [String]
199
+ # @return [Wx::AUI::AuiPaneInfo]
200
+ def get_pane(*args) end
201
+ alias_method :pane, :get_pane
202
+
203
+ # Returns true if windows are resized live.
204
+ #
205
+ # This function combines the check for {Wx::AUI::AuiManager.always_uses_live_resize} and, for the platforms where live resizing is optional, the check for {Wx::AUI::AuiManagerOption::AUI_MGR_LIVE_RESIZE} flag.
206
+ # Using this accessor allows to verify whether live resizing is being actually used.
207
+ # @return [Boolean]
208
+ def has_live_resize; end
209
+ alias_method :has_live_resize?, :has_live_resize
210
+
211
+ # {Wx::AUI::AuiManager#hide_hint} hides any docking hint that may be visible.
212
+ # @return [void]
213
+ def hide_hint; end
214
+
215
+ # This method is used to insert either a previously unmanaged pane window into the frame manager, or to insert a currently managed pane somewhere else.
216
+ #
217
+ # {Wx::AUI::AuiManager#insert_pane} will push all panes, rows, or docks aside and insert the window into the position specified by insert_location.
218
+ # Because insert_location can specify either a pane, dock row, or dock layer, the insert_level parameter is used to disambiguate this. The parameter insert_level can take a value of {Wx::AUI_INSERT_PANE}, {Wx::AUI_INSERT_ROW} or {Wx::AUI_INSERT_DOCK}.
219
+ # @param window [Wx::Window]
220
+ # @param insert_location [Wx::AUI::AuiPaneInfo]
221
+ # @param insert_level [Integer]
222
+ # @return [Boolean]
223
+ def insert_pane(window, insert_location, insert_level=Wx::AUI_INSERT_PANE) end
224
+
225
+ # {Wx::AUI::AuiManager#load_pane_info} is similar to LoadPerspective, with the exception that it only loads information about a single pane.
226
+ #
227
+ # This method writes the serialized data into the passed pane. Pointers to UI elements are not modified.
228
+ #
229
+ # <div class="wxrb-note">
230
+ # <b>Note:</b>
231
+ # <p>This operation also changes the name in the pane information!
232
+ # </p>
233
+ # </div>
234
+ # @see Wx::AUI::AuiManager#load_perspective
235
+ #
236
+ # @see Wx::AUI::AuiManager#save_pane_info.
237
+ #
238
+ # @see Wx::AUI::AuiManager#save_perspective
239
+ # @param pane_part [String]
240
+ # @param pane [Wx::AUI::AuiPaneInfo]
241
+ # @return [void]
242
+ def load_pane_info(pane_part, pane) end
243
+
244
+ # Loads a saved perspective.
245
+ #
246
+ # A perspective is the layout state of an AUI managed window.
247
+ # All currently existing panes that have an object in "perspective" with the same name ("equivalent") will receive the layout parameters of the object in "perspective". Existing panes that do not have an equivalent in "perspective" remain unchanged, objects in "perspective" having no equivalent in the manager are ignored.
248
+ # @see Wx::AUI::AuiManager#load_pane_info
249
+ #
250
+ # @see Wx::AUI::AuiManager#load_perspective
251
+ #
252
+ # @see Wx::AUI::AuiManager#save_perspective
253
+ # @param perspective [String] Serialized layout information of a perspective (excl. pointers to UI elements).
254
+ # @param update [Boolean] If update is true, {Wx::AUI::AuiManager#update} is automatically invoked, thus realizing the specified perspective on screen.
255
+ # @return [Boolean]
256
+ def load_perspective(perspective, update=true) end
257
+
258
+ # Maximize the given pane.
259
+ # @param paneInfo [Wx::AUI::AuiPaneInfo]
260
+ # @return [void]
261
+ def maximize_pane(paneInfo) end
262
+
263
+ # Restore the last state of the given pane.
264
+ # @param paneInfo [Wx::AUI::AuiPaneInfo]
265
+ # @return [void]
266
+ def restore_pane(paneInfo) end
267
+
268
+ # Restore the previously maximized pane.
269
+ # @return [void]
270
+ def restore_maximized_pane; end
271
+
272
+ # {Wx::AUI::AuiManager#save_pane_info} is similar to SavePerspective, with the exception that it only saves information about a single pane.
273
+ #
274
+ # The serialized layout parameters of the pane are returned within the string. Information about the pointers to UI elements stored in the pane are not serialized.
275
+ # @see Wx::AUI::AuiManager#load_pane_info
276
+ #
277
+ # @see Wx::AUI::AuiManager#load_perspective
278
+ #
279
+ # @see Wx::AUI::AuiManager#save_perspective
280
+ # @param pane [Wx::AUI::AuiPaneInfo] Pane whose layout parameters should be serialized.
281
+ # @return [String]
282
+ def save_pane_info(pane) end
283
+
284
+ # Saves the entire user interface layout into an encoded {Wx::String}, which can then be stored by the application (probably using {Wx::Config}).
285
+ #
286
+ #
287
+ # @see Wx::AUI::AuiManager#load_perspective
288
+ #
289
+ # @see Wx::AUI::AuiManager#load_pane_info
290
+ #
291
+ # @see Wx::AUI::AuiManager#save_pane_info
292
+ # @return [String]
293
+ def save_perspective; end
294
+
295
+ # Instructs {Wx::AUI::AuiManager} to use art provider specified by parameter art_provider for all drawing calls.
296
+ #
297
+ # This allows pluggable look-and-feel features. The previous art provider object, if any, will be deleted by {Wx::AUI::AuiManager}.
298
+ # @see Wx::AUI::AuiDockArt.
299
+ # @param art_provider [Wx::AUI::AuiDockArt]
300
+ # @return [void]
301
+ def set_art_provider(art_provider) end
302
+ alias_method :art_provider=, :set_art_provider
303
+
304
+ # When a user creates a new dock by dragging a window into a docked position, often times the large size of the window will create a dock that is unwieldy large.
305
+ #
306
+ # {Wx::AUI::AuiManager} by default limits the size of any new dock to 1/3 of the window size. For horizontal docks, this would be 1/3 of the window height. For vertical docks, 1/3 of the width.
307
+ # Calling this function will adjust this constraint value. The numbers must be between 0.0 and 1.0. For instance, calling SetDockSizeContraint with 0.5, 0.5 will cause new docks to be limited to half of the size of the entire managed window.
308
+ # @param widthpct [Float]
309
+ # @param heightpct [Float]
310
+ # @return [void]
311
+ def set_dock_size_constraint(widthpct, heightpct) end
312
+
313
+ # This method is used to specify {Wx::AUI::AuiManagerOption}'s flags.
314
+ #
315
+ # flags specifies options which allow the frame management behaviour to be modified.
316
+ # @param flags [Integer]
317
+ # @return [void]
318
+ def set_flags(flags) end
319
+ alias_method :flags=, :set_flags
320
+
321
+ # Called to specify the frame or window which is to be managed by {Wx::AUI::AuiManager}.
322
+ #
323
+ # Frame management is not restricted to just frames. Child windows or custom controls are also allowed.
324
+ # @param managed_wnd [Wx::Window]
325
+ # @return [void]
326
+ def set_managed_window(managed_wnd) end
327
+
328
+ # This function is used by controls to explicitly show a hint window at the specified rectangle.
329
+ #
330
+ # It is rarely called, and is mostly used by controls implementing custom pane drag/drop behaviour. The specified rectangle should be in screen coordinates.
331
+ # @param rect [Wx::Rect]
332
+ # @return [void]
333
+ def show_hint(rect) end
334
+
335
+ # Mostly used internally to define the drag action parameters.
336
+ # @param paneWindow [Wx::Window]
337
+ # @param offset [Array(Integer, Integer), Wx::Point]
338
+ # @return [void]
339
+ def start_pane_drag(paneWindow, offset) end
340
+
341
+ # Dissociate the managed window from the manager.
342
+ #
343
+ # This function may be called before the managed frame or window is destroyed, but, since wxWidgets 3.1.4, it's unnecessary to call it explicitly, as it will be called automatically when this window is destroyed, as well as when the manager itself is.
344
+ # @return [void]
345
+ def un_init; end
346
+
347
+ # This method is called after any number of changes are made to any of the managed panes.
348
+ #
349
+ # {Wx::AUI::AuiManager#update} must be invoked after {Wx::AUI::AuiManager#add_pane} or {Wx::AUI::AuiManager#insert_pane} are called in order to "realize" or "commit" the changes. In addition, any number of changes may be made to {Wx::AUI::AuiPaneInfo} structures (retrieved with {Wx::AUI::AuiManager#get_pane}), but to realize the changes, {Wx::AUI::AuiManager#update} must be called. This construction allows pane flicker to be avoided by updating the whole layout at one time.
350
+ # @return [void]
351
+ def update; end
352
+
353
+ # Returns true if live resize is always used on the current platform.
354
+ #
355
+ # If this function returns true, {Wx::AUI::AuiManagerOption::AUI_MGR_LIVE_RESIZE} flag is ignored and live resize is always used, whether it's specified or not.
356
+ # Currently this is the case for WXOSX and WXGTK3 ports, as live resizing is the only implemented method there.
357
+ # @return [Boolean]
358
+ def self.always_uses_live_resize; end
359
+
360
+ # Calling this method will return the {Wx::AUI::AuiManager} for a given window.
361
+ #
362
+ # The window parameter should specify any child window or sub-child window of the frame or window managed by {Wx::AUI::AuiManager}.
363
+ # The window parameter need not be managed by the manager itself, nor does it even need to be a child or sub-child of a managed window. It must however be inside the window hierarchy underneath the managed window.
364
+ # @param window [Wx::Window]
365
+ # @return [Wx::AUI::AuiManager]
366
+ def self.get_manager(window) end
367
+
368
+ end # AuiManager
366
369
 
367
- end # AuiManager
368
-
369
370
 
370
- end
371
+ end
372
+
373
+ end