wxruby3 0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (837) hide show
  1. checksums.yaml +7 -0
  2. data/.wxconfig +17 -0
  3. data/.yardopts +13 -0
  4. data/CREDITS.md +52 -0
  5. data/LICENSE +21 -0
  6. data/README.md +139 -0
  7. data/bin/wxruby +9 -0
  8. data/bin/wxruby.bat +20 -0
  9. data/ext/mkrf_conf_bingem.rb +18 -0
  10. data/ext/wxbase32u_gcc_custom.dll +0 -0
  11. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  12. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  20. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  21. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  22. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  23. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  24. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  25. data/lib/wx/accessors.rb +63 -0
  26. data/lib/wx/aui/auimanager.rb +17 -0
  27. data/lib/wx/aui/auinotebook.rb +9 -0
  28. data/lib/wx/aui/events/evt_list.rb +143 -0
  29. data/lib/wx/aui/require.rb +9 -0
  30. data/lib/wx/aui.rb +14 -0
  31. data/lib/wx/core/acceleratortable.rb +28 -0
  32. data/lib/wx/core/animation.rb +18 -0
  33. data/lib/wx/core/app.rb +89 -0
  34. data/lib/wx/core/artprovider.rb +31 -0
  35. data/lib/wx/core/bitmap.rb +59 -0
  36. data/lib/wx/core/busycursor.rb +12 -0
  37. data/lib/wx/core/choice.rb +4 -0
  38. data/lib/wx/core/choicedlg.rb +54 -0
  39. data/lib/wx/core/clientdc.rb +13 -0
  40. data/lib/wx/core/clipboard.rb +56 -0
  41. data/lib/wx/core/collapsible_pane.rb +12 -0
  42. data/lib/wx/core/colour.rb +34 -0
  43. data/lib/wx/core/combobox.rb +4 -0
  44. data/lib/wx/core/controlwithitems.rb +10 -0
  45. data/lib/wx/core/data_object.rb +10 -0
  46. data/lib/wx/core/dataformat.rb +26 -0
  47. data/lib/wx/core/dc.rb +68 -0
  48. data/lib/wx/core/dialog.rb +50 -0
  49. data/lib/wx/core/event.rb +16 -0
  50. data/lib/wx/core/events/evt_list.rb +1378 -0
  51. data/lib/wx/core/evthandler.rb +240 -0
  52. data/lib/wx/core/ext.rb +58 -0
  53. data/lib/wx/core/font/encoding.rb +113 -0
  54. data/lib/wx/core/font.rb +22 -0
  55. data/lib/wx/core/functions.rb +44 -0
  56. data/lib/wx/core/gauge.rb +12 -0
  57. data/lib/wx/core/genericdirctrl.rb +36 -0
  58. data/lib/wx/core/hboxsizer.rb +6 -0
  59. data/lib/wx/core/helpcontroller.rb +5 -0
  60. data/lib/wx/core/helpcontrollerhelpprovider.rb +24 -0
  61. data/lib/wx/core/helpprovider.rb +15 -0
  62. data/lib/wx/core/icon.rb +40 -0
  63. data/lib/wx/core/image.rb +68 -0
  64. data/lib/wx/core/imagelist.rb +3 -0
  65. data/lib/wx/core/listbox.rb +4 -0
  66. data/lib/wx/core/listctrl.rb +33 -0
  67. data/lib/wx/core/locale.rb +73 -0
  68. data/lib/wx/core/log.rb +20 -0
  69. data/lib/wx/core/menu.rb +78 -0
  70. data/lib/wx/core/menu_bar.rb +20 -0
  71. data/lib/wx/core/menuitem.rb +7 -0
  72. data/lib/wx/core/notebook.rb +9 -0
  73. data/lib/wx/core/object.rb +14 -0
  74. data/lib/wx/core/pen_info.rb +11 -0
  75. data/lib/wx/core/platform_info.rb +13 -0
  76. data/lib/wx/core/point.rb +92 -0
  77. data/lib/wx/core/real_point.rb +92 -0
  78. data/lib/wx/core/rect.rb +57 -0
  79. data/lib/wx/core/simplehelpprovider.rb +38 -0
  80. data/lib/wx/core/size.rb +86 -0
  81. data/lib/wx/core/sizer.rb +43 -0
  82. data/lib/wx/core/splash_screen.rb +44 -0
  83. data/lib/wx/core/textctrl.rb +8 -0
  84. data/lib/wx/core/timer.rb +105 -0
  85. data/lib/wx/core/toolbar.rb +37 -0
  86. data/lib/wx/core/toolbartool.rb +4 -0
  87. data/lib/wx/core/treectrl.rb +46 -0
  88. data/lib/wx/core/validator.rb +8 -0
  89. data/lib/wx/core/variant.rb +62 -0
  90. data/lib/wx/core/vboxsizer.rb +6 -0
  91. data/lib/wx/core/window.rb +95 -0
  92. data/lib/wx/core/window_update_locker.rb +12 -0
  93. data/lib/wx/core/xmlresource.rb +56 -0
  94. data/lib/wx/core.rb +61 -0
  95. data/lib/wx/doc/aui/auimanager.rb +12 -0
  96. data/lib/wx/doc/aui/auinotebook.rb +9 -0
  97. data/lib/wx/doc/colour_dialog.rb +15 -0
  98. data/lib/wx/doc/dc.rb +49 -0
  99. data/lib/wx/doc/enum.rb +66 -0
  100. data/lib/wx/doc/evthandler.rb +84 -0
  101. data/lib/wx/doc/extra/00_starting.md +154 -0
  102. data/lib/wx/doc/extra/01_packages.md +179 -0
  103. data/lib/wx/doc/extra/02_lifecycles.md +116 -0
  104. data/lib/wx/doc/extra/03_dialogs.md +57 -0
  105. data/lib/wx/doc/extra/04_enums.md +143 -0
  106. data/lib/wx/doc/extra/05_event-handling.md +166 -0
  107. data/lib/wx/doc/extra/06_geometry.md +56 -0
  108. data/lib/wx/doc/extra/07_colour_and_font.md +52 -0
  109. data/lib/wx/doc/extra/08_extensions.md +144 -0
  110. data/lib/wx/doc/extra/09_exceptions.md +54 -0
  111. data/lib/wx/doc/functions.rb +221 -0
  112. data/lib/wx/doc/gdi_common.rb +181 -0
  113. data/lib/wx/doc/gen/about_dialog_info.rb +315 -0
  114. data/lib/wx/doc/gen/accelerator.rb +172 -0
  115. data/lib/wx/doc/gen/accessible.rb +817 -0
  116. data/lib/wx/doc/gen/animation.rb +253 -0
  117. data/lib/wx/doc/gen/animation_ctrl.rb +129 -0
  118. data/lib/wx/doc/gen/any_button.rb +170 -0
  119. data/lib/wx/doc/gen/app.rb +363 -0
  120. data/lib/wx/doc/gen/art_provider.rb +497 -0
  121. data/lib/wx/doc/gen/aui/aui_dock_art.rb +421 -0
  122. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +39 -0
  123. data/lib/wx/doc/gen/aui/aui_manager.rb +323 -0
  124. data/lib/wx/doc/gen/aui/aui_manager_event.rb +112 -0
  125. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +163 -0
  126. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +46 -0
  127. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -0
  128. data/lib/wx/doc/gen/aui/aui_notebook.rb +329 -0
  129. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +179 -0
  130. data/lib/wx/doc/gen/aui/aui_pane_info.rb +665 -0
  131. data/lib/wx/doc/gen/aui/aui_tab_art.rb +372 -0
  132. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +147 -0
  133. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +437 -0
  134. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +272 -0
  135. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +195 -0
  136. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +224 -0
  137. data/lib/wx/doc/gen/aui/event_list.rb +162 -0
  138. data/lib/wx/doc/gen/auto_buffered_paint_dc.rb +47 -0
  139. data/lib/wx/doc/gen/bitmap.rb +638 -0
  140. data/lib/wx/doc/gen/bitmap_button.rb +91 -0
  141. data/lib/wx/doc/gen/book_ctrl_base.rb +240 -0
  142. data/lib/wx/doc/gen/book_ctrl_event.rb +60 -0
  143. data/lib/wx/doc/gen/box_sizer.rb +66 -0
  144. data/lib/wx/doc/gen/brush.rb +219 -0
  145. data/lib/wx/doc/gen/buffered_dc.rb +95 -0
  146. data/lib/wx/doc/gen/buffered_paint_dc.rb +55 -0
  147. data/lib/wx/doc/gen/busy_info.rb +141 -0
  148. data/lib/wx/doc/gen/button.rb +133 -0
  149. data/lib/wx/doc/gen/calculate_layout_event.rb +59 -0
  150. data/lib/wx/doc/gen/calendar_ctrl.rb +236 -0
  151. data/lib/wx/doc/gen/calendar_date_attr.rb +137 -0
  152. data/lib/wx/doc/gen/calendar_event.rb +150 -0
  153. data/lib/wx/doc/gen/caret.rb +99 -0
  154. data/lib/wx/doc/gen/check_box.rb +145 -0
  155. data/lib/wx/doc/gen/check_list_box.rb +96 -0
  156. data/lib/wx/doc/gen/choice.rb +143 -0
  157. data/lib/wx/doc/gen/choicebook.rb +100 -0
  158. data/lib/wx/doc/gen/client_dc.rb +49 -0
  159. data/lib/wx/doc/gen/clipboard.rb +128 -0
  160. data/lib/wx/doc/gen/collapsible_pane.rb +120 -0
  161. data/lib/wx/doc/gen/collapsible_pane_event.rb +45 -0
  162. data/lib/wx/doc/gen/colour.rb +289 -0
  163. data/lib/wx/doc/gen/colour_data.rb +96 -0
  164. data/lib/wx/doc/gen/colour_dialog.rb +84 -0
  165. data/lib/wx/doc/gen/colour_picker_ctrl.rb +89 -0
  166. data/lib/wx/doc/gen/colour_picker_event.rb +74 -0
  167. data/lib/wx/doc/gen/combo_box.rb +228 -0
  168. data/lib/wx/doc/gen/context_help_button.rb +34 -0
  169. data/lib/wx/doc/gen/control.rb +245 -0
  170. data/lib/wx/doc/gen/control_with_items.rb +339 -0
  171. data/lib/wx/doc/gen/core.rb +42 -0
  172. data/lib/wx/doc/gen/cursor.rb +127 -0
  173. data/lib/wx/doc/gen/data_format.rb +94 -0
  174. data/lib/wx/doc/gen/data_object.rb +439 -0
  175. data/lib/wx/doc/gen/date_event.rb +48 -0
  176. data/lib/wx/doc/gen/date_picker_ctrl.rb +127 -0
  177. data/lib/wx/doc/gen/dc.rb +1278 -0
  178. data/lib/wx/doc/gen/defs.rb +2832 -0
  179. data/lib/wx/doc/gen/dialog.rb +426 -0
  180. data/lib/wx/doc/gen/dir_dialog.rb +134 -0
  181. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +80 -0
  182. data/lib/wx/doc/gen/dir_picker_ctrl.rb +103 -0
  183. data/lib/wx/doc/gen/drag_drop.rb +292 -0
  184. data/lib/wx/doc/gen/drag_image.rb +123 -0
  185. data/lib/wx/doc/gen/editable_list_box.rb +89 -0
  186. data/lib/wx/doc/gen/event.rb +911 -0
  187. data/lib/wx/doc/gen/event_list.rb +1512 -0
  188. data/lib/wx/doc/gen/events.rb +2499 -0
  189. data/lib/wx/doc/gen/evt_handler.rb +224 -0
  190. data/lib/wx/doc/gen/ext_help_controller.rb +100 -0
  191. data/lib/wx/doc/gen/file_dialog.rb +294 -0
  192. data/lib/wx/doc/gen/file_dir_picker_event.rb +98 -0
  193. data/lib/wx/doc/gen/file_picker_ctrl.rb +107 -0
  194. data/lib/wx/doc/gen/find_dialog_event.rb +119 -0
  195. data/lib/wx/doc/gen/find_replace_data.rb +59 -0
  196. data/lib/wx/doc/gen/find_replace_dialog.rb +44 -0
  197. data/lib/wx/doc/gen/flex_grid_sizer.rb +145 -0
  198. data/lib/wx/doc/gen/font.rb +1282 -0
  199. data/lib/wx/doc/gen/font_data.rb +132 -0
  200. data/lib/wx/doc/gen/font_dialog.rb +71 -0
  201. data/lib/wx/doc/gen/font_picker_ctrl.rb +120 -0
  202. data/lib/wx/doc/gen/font_picker_event.rb +64 -0
  203. data/lib/wx/doc/gen/frame.rb +276 -0
  204. data/lib/wx/doc/gen/fs_file.rb +269 -0
  205. data/lib/wx/doc/gen/functions.rb +10 -0
  206. data/lib/wx/doc/gen/gauge.rb +127 -0
  207. data/lib/wx/doc/gen/gb_sizer_item.rb +78 -0
  208. data/lib/wx/doc/gen/gcdc.rb +61 -0
  209. data/lib/wx/doc/gen/gdi_common.rb +1108 -0
  210. data/lib/wx/doc/gen/gdi_object.rb +29 -0
  211. data/lib/wx/doc/gen/generic_dir_ctrl.rb +198 -0
  212. data/lib/wx/doc/gen/graphics_context.rb +764 -0
  213. data/lib/wx/doc/gen/graphics_object.rb +494 -0
  214. data/lib/wx/doc/gen/grid/event_list.rb +173 -0
  215. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +33 -0
  216. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +279 -0
  217. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +31 -0
  218. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +32 -0
  219. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +44 -0
  220. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +31 -0
  221. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +48 -0
  222. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +33 -0
  223. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +40 -0
  224. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +35 -0
  225. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +181 -0
  226. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +34 -0
  227. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +39 -0
  228. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +41 -0
  229. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +74 -0
  230. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +41 -0
  231. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +31 -0
  232. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +98 -0
  233. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +31 -0
  234. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +45 -0
  235. data/lib/wx/doc/gen/grid/grid_ctrl.rb +2381 -0
  236. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +87 -0
  237. data/lib/wx/doc/gen/grid/grid_event.rb +96 -0
  238. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +96 -0
  239. data/lib/wx/doc/gen/grid/grid_size_event.rb +71 -0
  240. data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -0
  241. data/lib/wx/doc/gen/grid/grid_table_base.rb +288 -0
  242. data/lib/wx/doc/gen/grid/grid_table_message.rb +73 -0
  243. data/lib/wx/doc/gen/grid_bag_sizer.rb +298 -0
  244. data/lib/wx/doc/gen/grid_sizer.rb +135 -0
  245. data/lib/wx/doc/gen/help_controller.rb +136 -0
  246. data/lib/wx/doc/gen/help_provider.rb +80 -0
  247. data/lib/wx/doc/gen/html/event_list.rb +46 -0
  248. data/lib/wx/doc/gen/html/html_cell.rb +441 -0
  249. data/lib/wx/doc/gen/html/html_cell_event.rb +62 -0
  250. data/lib/wx/doc/gen/html/html_easy_printing.rb +169 -0
  251. data/lib/wx/doc/gen/html/html_help_controller.rb +256 -0
  252. data/lib/wx/doc/gen/html/html_help_data.rb +144 -0
  253. data/lib/wx/doc/gen/html/html_help_frame.rb +112 -0
  254. data/lib/wx/doc/gen/html/html_help_window.rb +230 -0
  255. data/lib/wx/doc/gen/html/html_link_event.rb +36 -0
  256. data/lib/wx/doc/gen/html/html_list_box.rb +150 -0
  257. data/lib/wx/doc/gen/html/html_printout.rb +87 -0
  258. data/lib/wx/doc/gen/html/html_window.rb +386 -0
  259. data/lib/wx/doc/gen/icon.rb +267 -0
  260. data/lib/wx/doc/gen/icon_location.rb +38 -0
  261. data/lib/wx/doc/gen/image.rb +1144 -0
  262. data/lib/wx/doc/gen/image_list.rb +181 -0
  263. data/lib/wx/doc/gen/keyboard_state.rb +124 -0
  264. data/lib/wx/doc/gen/list_box.rb +260 -0
  265. data/lib/wx/doc/gen/list_ctrl.rb +1542 -0
  266. data/lib/wx/doc/gen/list_event.rb +177 -0
  267. data/lib/wx/doc/gen/listbook.rb +100 -0
  268. data/lib/wx/doc/gen/locale.rb +4143 -0
  269. data/lib/wx/doc/gen/log.rb +505 -0
  270. data/lib/wx/doc/gen/mdi_client_window.rb +38 -0
  271. data/lib/wx/doc/gen/mdi_frame.rb +235 -0
  272. data/lib/wx/doc/gen/media_ctrl.rb +225 -0
  273. data/lib/wx/doc/gen/media_event.rb +109 -0
  274. data/lib/wx/doc/gen/memory_dc.rb +95 -0
  275. data/lib/wx/doc/gen/menu.rb +493 -0
  276. data/lib/wx/doc/gen/menu_bar.rb +247 -0
  277. data/lib/wx/doc/gen/menu_item.rb +333 -0
  278. data/lib/wx/doc/gen/message_dialog.rb +195 -0
  279. data/lib/wx/doc/gen/mini_frame.rb +72 -0
  280. data/lib/wx/doc/gen/mirror_dc.rb +29 -0
  281. data/lib/wx/doc/gen/mouse_state.rb +108 -0
  282. data/lib/wx/doc/gen/multi_choice_dialog.rb +58 -0
  283. data/lib/wx/doc/gen/non_owned_window.rb +46 -0
  284. data/lib/wx/doc/gen/notebook.rb +220 -0
  285. data/lib/wx/doc/gen/number_entry_dialog.rb +75 -0
  286. data/lib/wx/doc/gen/object.rb +69 -0
  287. data/lib/wx/doc/gen/paint_dc.rb +34 -0
  288. data/lib/wx/doc/gen/palette.rb +90 -0
  289. data/lib/wx/doc/gen/panel.rb +96 -0
  290. data/lib/wx/doc/gen/pen.rb +484 -0
  291. data/lib/wx/doc/gen/pg/event_list.rb +102 -0
  292. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +47 -0
  293. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +295 -0
  294. data/lib/wx/doc/gen/pg/pg_cell.rb +166 -0
  295. data/lib/wx/doc/gen/pg/pg_editor.rb +569 -0
  296. data/lib/wx/doc/gen/pg/pg_multi_button.rb +161 -0
  297. data/lib/wx/doc/gen/pg/pg_properties.rb +2193 -0
  298. data/lib/wx/doc/gen/pg/pg_property.rb +1852 -0
  299. data/lib/wx/doc/gen/pg/pg_validation_info.rb +327 -0
  300. data/lib/wx/doc/gen/pg/property_grid.rb +619 -0
  301. data/lib/wx/doc/gen/pg/property_grid_event.rb +135 -0
  302. data/lib/wx/doc/gen/pg/property_grid_interface.rb +847 -0
  303. data/lib/wx/doc/gen/pg/property_grid_manager.rb +349 -0
  304. data/lib/wx/doc/gen/pg/property_grid_page.rb +265 -0
  305. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +155 -0
  306. data/lib/wx/doc/gen/picker_base.rb +143 -0
  307. data/lib/wx/doc/gen/platform_info.rb +379 -0
  308. data/lib/wx/doc/gen/popup_window.rb +93 -0
  309. data/lib/wx/doc/gen/progress_dialog.rb +106 -0
  310. data/lib/wx/doc/gen/property_sheet_dialog.rb +185 -0
  311. data/lib/wx/doc/gen/prt/event_list.rb +13 -0
  312. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +38 -0
  313. data/lib/wx/doc/gen/prt/post_script_dc.rb +32 -0
  314. data/lib/wx/doc/gen/prt/preview_frame.rb +39 -0
  315. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +127 -0
  316. data/lib/wx/doc/gen/prt/print_data.rb +598 -0
  317. data/lib/wx/doc/gen/prt/print_dialog.rb +47 -0
  318. data/lib/wx/doc/gen/prt/printer.rb +428 -0
  319. data/lib/wx/doc/gen/prt/printer_dc.rb +35 -0
  320. data/lib/wx/doc/gen/query_layout_info_event.rb +98 -0
  321. data/lib/wx/doc/gen/radio_box.rb +258 -0
  322. data/lib/wx/doc/gen/radio_button.rb +128 -0
  323. data/lib/wx/doc/gen/rbn/event_list.rb +132 -0
  324. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1652 -0
  325. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +227 -0
  326. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +40 -0
  327. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +400 -0
  328. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +58 -0
  329. data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -0
  330. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +208 -0
  331. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +51 -0
  332. data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -0
  333. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +232 -0
  334. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +41 -0
  335. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +321 -0
  336. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +36 -0
  337. data/lib/wx/doc/gen/region.rb +299 -0
  338. data/lib/wx/doc/gen/rtc/event_list.rb +121 -0
  339. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +2052 -0
  340. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +2031 -0
  341. data/lib/wx/doc/gen/rtc/rich_text_event.rb +146 -0
  342. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +171 -0
  343. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +180 -0
  344. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +104 -0
  345. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +241 -0
  346. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +55 -0
  347. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +153 -0
  348. data/lib/wx/doc/gen/sash_event.rb +133 -0
  349. data/lib/wx/doc/gen/sash_layout_window.rb +203 -0
  350. data/lib/wx/doc/gen/sash_window.rb +154 -0
  351. data/lib/wx/doc/gen/screen_dc.rb +27 -0
  352. data/lib/wx/doc/gen/scrolled_canvas.rb +317 -0
  353. data/lib/wx/doc/gen/scrolled_control.rb +317 -0
  354. data/lib/wx/doc/gen/scrolled_window.rb +337 -0
  355. data/lib/wx/doc/gen/simplebook.rb +93 -0
  356. data/lib/wx/doc/gen/single_choice_dialog.rb +74 -0
  357. data/lib/wx/doc/gen/sizer.rb +847 -0
  358. data/lib/wx/doc/gen/sizer_item.rb +227 -0
  359. data/lib/wx/doc/gen/slider.rb +316 -0
  360. data/lib/wx/doc/gen/spin_button.rb +124 -0
  361. data/lib/wx/doc/gen/spin_ctrl.rb +170 -0
  362. data/lib/wx/doc/gen/spin_event.rb +47 -0
  363. data/lib/wx/doc/gen/splash_screen.rb +83 -0
  364. data/lib/wx/doc/gen/splitter_event.rb +87 -0
  365. data/lib/wx/doc/gen/splitter_window.rb +357 -0
  366. data/lib/wx/doc/gen/static_bitmap.rb +126 -0
  367. data/lib/wx/doc/gen/static_box.rb +123 -0
  368. data/lib/wx/doc/gen/static_box_sizer.rb +67 -0
  369. data/lib/wx/doc/gen/static_line.rb +66 -0
  370. data/lib/wx/doc/gen/static_text.rb +98 -0
  371. data/lib/wx/doc/gen/status_bar.rb +203 -0
  372. data/lib/wx/doc/gen/stc/event_list.rb +217 -0
  373. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4000 -0
  374. data/lib/wx/doc/gen/stc/styled_text_event.rb +7319 -0
  375. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +74 -0
  376. data/lib/wx/doc/gen/svg_file_dc.rb +153 -0
  377. data/lib/wx/doc/gen/system_options.rb +109 -0
  378. data/lib/wx/doc/gen/system_settings.rb +481 -0
  379. data/lib/wx/doc/gen/task_bar_icon.rb +94 -0
  380. data/lib/wx/doc/gen/task_bar_icon_event.rb +86 -0
  381. data/lib/wx/doc/gen/text_attr.rb +645 -0
  382. data/lib/wx/doc/gen/text_ctrl.rb +841 -0
  383. data/lib/wx/doc/gen/text_entry.rb +389 -0
  384. data/lib/wx/doc/gen/text_entry_dialog.rb +170 -0
  385. data/lib/wx/doc/gen/text_validator.rb +212 -0
  386. data/lib/wx/doc/gen/time_picker_ctrl.rb +103 -0
  387. data/lib/wx/doc/gen/timer.rb +103 -0
  388. data/lib/wx/doc/gen/timer_event.rb +73 -0
  389. data/lib/wx/doc/gen/tip_provider.rb +60 -0
  390. data/lib/wx/doc/gen/toggle_button.rb +84 -0
  391. data/lib/wx/doc/gen/tool_bar.rb +744 -0
  392. data/lib/wx/doc/gen/tool_tip.rb +73 -0
  393. data/lib/wx/doc/gen/toolbook.rb +103 -0
  394. data/lib/wx/doc/gen/top_level_window.rb +462 -0
  395. data/lib/wx/doc/gen/tree_ctrl.rb +863 -0
  396. data/lib/wx/doc/gen/tree_event.rb +101 -0
  397. data/lib/wx/doc/gen/treebook.rb +154 -0
  398. data/lib/wx/doc/gen/utils.rb +257 -0
  399. data/lib/wx/doc/gen/v_list_box.rb +224 -0
  400. data/lib/wx/doc/gen/v_scrolled_window.rb +224 -0
  401. data/lib/wx/doc/gen/validator.rb +73 -0
  402. data/lib/wx/doc/gen/variant.rb +340 -0
  403. data/lib/wx/doc/gen/window.rb +2414 -0
  404. data/lib/wx/doc/gen/window_dc.rb +35 -0
  405. data/lib/wx/doc/gen/window_disabler.rb +24 -0
  406. data/lib/wx/doc/gen/with_images.rb +73 -0
  407. data/lib/wx/doc/gen/wizard.rb +197 -0
  408. data/lib/wx/doc/gen/wizard_event.rb +105 -0
  409. data/lib/wx/doc/gen/wizard_page.rb +61 -0
  410. data/lib/wx/doc/gen/wizard_page_simple.rb +72 -0
  411. data/lib/wx/doc/gen/xml_node.rb +282 -0
  412. data/lib/wx/doc/gen/xml_resource.rb +304 -0
  413. data/lib/wx/doc/grid/grid.rb +20 -0
  414. data/lib/wx/doc/help_controller.rb +14 -0
  415. data/lib/wx/doc/html/html_help_controller.rb +8 -0
  416. data/lib/wx/doc/pg/events.rb +15 -0
  417. data/lib/wx/doc/pg/pg_property.rb +8 -0
  418. data/lib/wx/doc/pg/pgeditor.rb +21 -0
  419. data/lib/wx/doc/pg/property_grid.rb +48 -0
  420. data/lib/wx/doc/pg/property_grid_interface.rb +64 -0
  421. data/lib/wx/doc/prt/page_setup_dialog.rb +15 -0
  422. data/lib/wx/doc/prt/print_data.rb +9 -0
  423. data/lib/wx/doc/prt/print_dialog.rb +26 -0
  424. data/lib/wx/doc/prt/printer.rb +15 -0
  425. data/lib/wx/doc/rbn/ribbon_bar.rb +9 -0
  426. data/lib/wx/doc/rbn/ribbon_button_bar.rb +9 -0
  427. data/lib/wx/doc/rbn/ribbon_gallery.rb +9 -0
  428. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +9 -0
  429. data/lib/wx/doc/rtc/richtext_printing.rb +14 -0
  430. data/lib/wx/doc/screen_dc.rb +10 -0
  431. data/lib/wx/doc/stock_objects.rb +98 -0
  432. data/lib/wx/doc/stream.rb +38 -0
  433. data/lib/wx/doc/system_settings.rb +29 -0
  434. data/lib/wx/doc/treebook.rb +9 -0
  435. data/lib/wx/doc/variant.rb +163 -0
  436. data/lib/wx/doc/xml_resource.rb +19 -0
  437. data/lib/wx/global_const.rb +84 -0
  438. data/lib/wx/grid/events/evt_list.rb +156 -0
  439. data/lib/wx/grid/grid.rb +7 -0
  440. data/lib/wx/grid/keyword_defs.rb +10 -0
  441. data/lib/wx/grid/require.rb +9 -0
  442. data/lib/wx/grid.rb +14 -0
  443. data/lib/wx/helpers.rb +65 -0
  444. data/lib/wx/html/events/evt_list.rb +37 -0
  445. data/lib/wx/html/htmlhelpcontroller.rb +6 -0
  446. data/lib/wx/html/htmlwindow.rb +19 -0
  447. data/lib/wx/html/keyword_defs.rb +22 -0
  448. data/lib/wx/html/require.rb +10 -0
  449. data/lib/wx/html.rb +15 -0
  450. data/lib/wx/keyword_ctors.rb +226 -0
  451. data/lib/wx/keyword_defs.rb +487 -0
  452. data/lib/wx/pg/events/evt_list.rb +73 -0
  453. data/lib/wx/pg/events.rb +14 -0
  454. data/lib/wx/pg/keyword_defs.rb +15 -0
  455. data/lib/wx/pg/pg_editor.rb +13 -0
  456. data/lib/wx/pg/pg_properties.rb +24 -0
  457. data/lib/wx/pg/pg_property.rb +26 -0
  458. data/lib/wx/pg/property_grid.rb +56 -0
  459. data/lib/wx/pg/property_grid_interface.rb +33 -0
  460. data/lib/wx/pg/require.rb +12 -0
  461. data/lib/wx/pg.rb +14 -0
  462. data/lib/wx/prt/keyword_defs.rb +8 -0
  463. data/lib/wx/prt/page_setup_dialog.rb +15 -0
  464. data/lib/wx/prt/previewframe.rb +13 -0
  465. data/lib/wx/prt/require.rb +8 -0
  466. data/lib/wx/prt.rb +14 -0
  467. data/lib/wx/rbn/events/evt_list.rb +102 -0
  468. data/lib/wx/rbn/events.rb +4 -0
  469. data/lib/wx/rbn/keyword_defs.rb +43 -0
  470. data/lib/wx/rbn/require.rb +12 -0
  471. data/lib/wx/rbn/ribbon_art_provider.rb +10 -0
  472. data/lib/wx/rbn/ribbon_bar.rb +12 -0
  473. data/lib/wx/rbn/ribbon_button_bar.rb +26 -0
  474. data/lib/wx/rbn/ribbon_control.rb +25 -0
  475. data/lib/wx/rbn/ribbon_gallery.rb +26 -0
  476. data/lib/wx/rbn/ribbon_page.rb +15 -0
  477. data/lib/wx/rbn/ribbon_panel.rb +15 -0
  478. data/lib/wx/rbn/ribbon_tool_bar.rb +26 -0
  479. data/lib/wx/rbn.rb +14 -0
  480. data/lib/wx/rtc/events/evt_list.rb +98 -0
  481. data/lib/wx/rtc/ext/rich_text_ctrl.rb +24 -0
  482. data/lib/wx/rtc/ext.rb +15 -0
  483. data/lib/wx/rtc/keyword_defs.rb +17 -0
  484. data/lib/wx/rtc/require.rb +8 -0
  485. data/lib/wx/rtc.rb +15 -0
  486. data/lib/wx/stc/events/evt_list.rb +178 -0
  487. data/lib/wx/stc/keyword_defs.rb +8 -0
  488. data/lib/wx/stc/require.rb +7 -0
  489. data/lib/wx/stc.rb +14 -0
  490. data/lib/wx/version.rb +3 -0
  491. data/lib/wx/wxruby/base.rb +87 -0
  492. data/lib/wx/wxruby/cmd/sampler.rb +68 -0
  493. data/lib/wx/wxruby/cmd/test.rb +27 -0
  494. data/lib/wx.rb +14 -0
  495. data/lib/wxruby_aui.so +0 -0
  496. data/lib/wxruby_core.so +0 -0
  497. data/lib/wxruby_grid.so +0 -0
  498. data/lib/wxruby_html.so +0 -0
  499. data/lib/wxruby_pg.so +0 -0
  500. data/lib/wxruby_prt.so +0 -0
  501. data/lib/wxruby_rbn.so +0 -0
  502. data/lib/wxruby_rtc.so +0 -0
  503. data/lib/wxruby_stc.so +0 -0
  504. data/rakelib/install.rb +220 -0
  505. data/rakelib/lib/config/cygwin.rb +6 -0
  506. data/rakelib/lib/config/linux.rb +78 -0
  507. data/rakelib/lib/config/macosx.rb +6 -0
  508. data/rakelib/lib/config/mingw.rb +133 -0
  509. data/rakelib/lib/config/netbsd.rb +6 -0
  510. data/rakelib/lib/config/unixish.rb +187 -0
  511. data/rakelib/lib/config.rb +673 -0
  512. data/rakelib/lib/ext/enum_chain.rb +22 -0
  513. data/rakelib/prepost.rake +91 -0
  514. data/rakelib/prepost.rb +26 -0
  515. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +7 -0
  516. data/rakelib/yard/templates/default/layout/html/setup.rb +5 -0
  517. data/rakelib/yard/yard/relative_markdown_links/version.rb +8 -0
  518. data/rakelib/yard/yard/relative_markdown_links.rb +39 -0
  519. data/rakelib/yard/yard-custom-templates.rb +2 -0
  520. data/rakelib/yard/yard-relative_markdown_links.rb +4 -0
  521. data/samples/art/wxruby-128x128.png +0 -0
  522. data/samples/art/wxruby-256x256.png +0 -0
  523. data/samples/art/wxruby-64x64.png +0 -0
  524. data/samples/art/wxruby.ico +0 -0
  525. data/samples/art/wxruby.png +0 -0
  526. data/samples/aui/aui.rb +1321 -0
  527. data/samples/aui/tn_aui.png +0 -0
  528. data/samples/bigdemo/About.rbw +39 -0
  529. data/samples/bigdemo/ColorPanel.rbw +23 -0
  530. data/samples/bigdemo/GridSimple.rbw +78 -0
  531. data/samples/bigdemo/MDIDemo.rbw +57 -0
  532. data/samples/bigdemo/PopupMenu.rbw +146 -0
  533. data/samples/bigdemo/ShapedWindow.rbw +128 -0
  534. data/samples/bigdemo/Sizers.rbw +541 -0
  535. data/samples/bigdemo/bigdemo.rb +810 -0
  536. data/samples/bigdemo/demoTemplate.rbw +33 -0
  537. data/samples/bigdemo/helpfile.htb +0 -0
  538. data/samples/bigdemo/icons/Test 015.jpg +0 -0
  539. data/samples/bigdemo/icons/Test 015.png +0 -0
  540. data/samples/bigdemo/icons/choice.bmp +0 -0
  541. data/samples/bigdemo/icons/choice.xpm +27 -0
  542. data/samples/bigdemo/icons/combo.bmp +0 -0
  543. data/samples/bigdemo/icons/combo.xpm +27 -0
  544. data/samples/bigdemo/icons/copy.xpm +25 -0
  545. data/samples/bigdemo/icons/cut.xpm +24 -0
  546. data/samples/bigdemo/icons/gauge.bmp +0 -0
  547. data/samples/bigdemo/icons/gauge.xpm +27 -0
  548. data/samples/bigdemo/icons/help.xpm +25 -0
  549. data/samples/bigdemo/icons/list.bmp +0 -0
  550. data/samples/bigdemo/icons/list.xpm +27 -0
  551. data/samples/bigdemo/icons/mondrian.ico +0 -0
  552. data/samples/bigdemo/icons/mondrian.xpm +44 -0
  553. data/samples/bigdemo/icons/new.xpm +24 -0
  554. data/samples/bigdemo/icons/ogl.ico +0 -0
  555. data/samples/bigdemo/icons/ogl.xpm +45 -0
  556. data/samples/bigdemo/icons/open.xpm +26 -0
  557. data/samples/bigdemo/icons/paste.bmp +0 -0
  558. data/samples/bigdemo/icons/paste.xpm +38 -0
  559. data/samples/bigdemo/icons/pointy.png +0 -0
  560. data/samples/bigdemo/icons/preview.xpm +26 -0
  561. data/samples/bigdemo/icons/print.xpm +26 -0
  562. data/samples/bigdemo/icons/radio.bmp +0 -0
  563. data/samples/bigdemo/icons/radio.xpm +27 -0
  564. data/samples/bigdemo/icons/robert.xpm +415 -0
  565. data/samples/bigdemo/icons/sashtest.ico +0 -0
  566. data/samples/bigdemo/icons/save.xpm +25 -0
  567. data/samples/bigdemo/icons/smiles.bmp +0 -0
  568. data/samples/bigdemo/icons/smiles.xpm +39 -0
  569. data/samples/bigdemo/icons/smiley.ico +0 -0
  570. data/samples/bigdemo/icons/smiley.xpm +42 -0
  571. data/samples/bigdemo/icons/stattext.xpm +24 -0
  572. data/samples/bigdemo/icons/test2.bmp +0 -0
  573. data/samples/bigdemo/icons/test2.png +0 -0
  574. data/samples/bigdemo/icons/test2.xpm +79 -0
  575. data/samples/bigdemo/icons/text.bmp +0 -0
  576. data/samples/bigdemo/icons/text.xpm +27 -0
  577. data/samples/bigdemo/icons/tog1.bmp +0 -0
  578. data/samples/bigdemo/icons/tog1.xpm +38 -0
  579. data/samples/bigdemo/icons/tog2.bmp +0 -0
  580. data/samples/bigdemo/icons/tog2.xpm +38 -0
  581. data/samples/bigdemo/icons/wxruby-128x128.png +0 -0
  582. data/samples/bigdemo/icons/wxwin.ico +0 -0
  583. data/samples/bigdemo/icons/wxwin16x16.png +0 -0
  584. data/samples/bigdemo/icons/wxwin16x16.xpm +25 -0
  585. data/samples/bigdemo/icons/wxwin32x32.png +0 -0
  586. data/samples/bigdemo/icons/wxwin48x48.png +0 -0
  587. data/samples/bigdemo/run.rb +91 -0
  588. data/samples/bigdemo/tips.txt +7 -0
  589. data/samples/bigdemo/utils.rb +12 -0
  590. data/samples/bigdemo/wxArtProvider.rbw +281 -0
  591. data/samples/bigdemo/wxBitmapButton.rbw +65 -0
  592. data/samples/bigdemo/wxButton.rbw +64 -0
  593. data/samples/bigdemo/wxCalendarCtrl.rbw +59 -0
  594. data/samples/bigdemo/wxCheckBox.rbw +50 -0
  595. data/samples/bigdemo/wxCheckListBox.rbw +65 -0
  596. data/samples/bigdemo/wxChoice.rbw +47 -0
  597. data/samples/bigdemo/wxChoicebook.rbw +78 -0
  598. data/samples/bigdemo/wxColourDialog.rbw +33 -0
  599. data/samples/bigdemo/wxComboBox.rbw +77 -0
  600. data/samples/bigdemo/wxCursor.rbw +136 -0
  601. data/samples/bigdemo/wxDialog.rbw +74 -0
  602. data/samples/bigdemo/wxDirDialog.rbw +29 -0
  603. data/samples/bigdemo/wxDragImage.rbw +70 -0
  604. data/samples/bigdemo/wxFileDialog.rbw +37 -0
  605. data/samples/bigdemo/wxFileDialog_Save.rbw +35 -0
  606. data/samples/bigdemo/wxFindReplaceDialog.rbw +82 -0
  607. data/samples/bigdemo/wxFontDialog.rbw +200 -0
  608. data/samples/bigdemo/wxFrame.rbw +53 -0
  609. data/samples/bigdemo/wxGauge.rbw +65 -0
  610. data/samples/bigdemo/wxGenericDirCtrl.rbw +74 -0
  611. data/samples/bigdemo/wxGrid.rbw +66 -0
  612. data/samples/bigdemo/wxHtmlHelpController.rbw +52 -0
  613. data/samples/bigdemo/wxListBox.rbw +140 -0
  614. data/samples/bigdemo/wxListCtrl_virtual.rbw +112 -0
  615. data/samples/bigdemo/wxMDIWindows.rbw +50 -0
  616. data/samples/bigdemo/wxMenu.rbw +247 -0
  617. data/samples/bigdemo/wxMessageDialog.rbw +27 -0
  618. data/samples/bigdemo/wxMiniFrame.rbw +70 -0
  619. data/samples/bigdemo/wxMultipleChoiceDialog.rbw +29 -0
  620. data/samples/bigdemo/wxNotebook.rbw +136 -0
  621. data/samples/bigdemo/wxProgressDialog.rbw +43 -0
  622. data/samples/bigdemo/wxRadioBox.rbw +72 -0
  623. data/samples/bigdemo/wxRadioButton.rbw +125 -0
  624. data/samples/bigdemo/wxSashWindow.rbw +141 -0
  625. data/samples/bigdemo/wxScrolledMessageDialog.rbw +57 -0
  626. data/samples/bigdemo/wxScrolledWindow.rbw +199 -0
  627. data/samples/bigdemo/wxSingleChoiceDialog.rbw +33 -0
  628. data/samples/bigdemo/wxSlider.rbw +42 -0
  629. data/samples/bigdemo/wxSpinButton.rbw +50 -0
  630. data/samples/bigdemo/wxSpinCtrl.rbw +51 -0
  631. data/samples/bigdemo/wxSplitterWindow.rbw +63 -0
  632. data/samples/bigdemo/wxStaticBitmap.rbw +47 -0
  633. data/samples/bigdemo/wxStaticText.rbw +55 -0
  634. data/samples/bigdemo/wxStatusBar.rbw +126 -0
  635. data/samples/bigdemo/wxTextCtrl.rbw +149 -0
  636. data/samples/bigdemo/wxTextEntryDialog.rbw +31 -0
  637. data/samples/bigdemo/wxToggleButton.rbw +49 -0
  638. data/samples/bigdemo/wxToolBar.rbw +131 -0
  639. data/samples/bigdemo/wxTreeCtrl.rbw +191 -0
  640. data/samples/calendar/calendar.rb +363 -0
  641. data/samples/calendar/tn_calendar.png +0 -0
  642. data/samples/caret/caret.rb +293 -0
  643. data/samples/caret/mondrian.xpm +44 -0
  644. data/samples/caret/tn_caret.png +0 -0
  645. data/samples/controls/books.rb +183 -0
  646. data/samples/controls/controls.rb +1143 -0
  647. data/samples/controls/get_item_sample.rb +117 -0
  648. data/samples/controls/icons/choice.xpm +27 -0
  649. data/samples/controls/icons/combo.xpm +27 -0
  650. data/samples/controls/icons/gauge.xpm +27 -0
  651. data/samples/controls/icons/list.xpm +27 -0
  652. data/samples/controls/icons/radio.xpm +27 -0
  653. data/samples/controls/icons/stattext.xpm +24 -0
  654. data/samples/controls/icons/text.xpm +27 -0
  655. data/samples/controls/mondrian.ico +0 -0
  656. data/samples/controls/mondrian.xpm +44 -0
  657. data/samples/controls/test2.bmp +0 -0
  658. data/samples/controls/tn_books.png +0 -0
  659. data/samples/controls/tn_controls.png +0 -0
  660. data/samples/controls/tn_get_item_sample.png +0 -0
  661. data/samples/dialogs/dialogs.rb +879 -0
  662. data/samples/dialogs/tips.txt +18 -0
  663. data/samples/dialogs/tn_dialogs.png +0 -0
  664. data/samples/dialogs/tn_wizard.png +0 -0
  665. data/samples/dialogs/wizard.rb +89 -0
  666. data/samples/dragdrop/dragdrop.rb +200 -0
  667. data/samples/dragdrop/tn_dragdrop.png +0 -0
  668. data/samples/drawing/SVGlogo24.xpm +310 -0
  669. data/samples/drawing/bitmap.rb +76 -0
  670. data/samples/drawing/bitmap_image.rb +131 -0
  671. data/samples/drawing/graphics_drawing.rb +257 -0
  672. data/samples/drawing/maths_images.rb +327 -0
  673. data/samples/drawing/rmagic_bitmap_image.rb +139 -0
  674. data/samples/drawing/ruby-logo.jpg +0 -0
  675. data/samples/drawing/svgtest.rb +373 -0
  676. data/samples/drawing/tn_bitmap.png +0 -0
  677. data/samples/drawing/tn_bitmap_image.png +0 -0
  678. data/samples/drawing/tn_graphics_drawing.png +0 -0
  679. data/samples/drawing/tn_maths_images.png +0 -0
  680. data/samples/drawing/tn_rmagic_bitmap_image.png +0 -0
  681. data/samples/drawing/tn_svgtest.png +0 -0
  682. data/samples/etc/choice.rb +82 -0
  683. data/samples/etc/miniframe.rb +92 -0
  684. data/samples/etc/sash.rb +140 -0
  685. data/samples/etc/scrollwin.rb +120 -0
  686. data/samples/etc/system_settings.rb +263 -0
  687. data/samples/etc/tn_choice.png +0 -0
  688. data/samples/etc/tn_miniframe.png +0 -0
  689. data/samples/etc/tn_sash.png +0 -0
  690. data/samples/etc/tn_scrollwin.png +0 -0
  691. data/samples/etc/tn_system_settings.png +0 -0
  692. data/samples/event/activation.rb +129 -0
  693. data/samples/event/event.rb +220 -0
  694. data/samples/event/threaded.rb +141 -0
  695. data/samples/event/tn_activation.png +0 -0
  696. data/samples/event/tn_event.png +0 -0
  697. data/samples/event/tn_threaded.png +0 -0
  698. data/samples/event/tn_update_ui_event.png +0 -0
  699. data/samples/event/update_ui_event.rb +91 -0
  700. data/samples/grid/grid.rb +224 -0
  701. data/samples/grid/gridtablebase.rb +178 -0
  702. data/samples/grid/tn_grid.png +0 -0
  703. data/samples/grid/tn_gridtablebase.png +0 -0
  704. data/samples/html/8859_2.htm +14 -0
  705. data/samples/html/cp1250.htm +19 -0
  706. data/samples/html/foo.png +0 -0
  707. data/samples/html/html.rb +278 -0
  708. data/samples/html/i18n.gif +0 -0
  709. data/samples/html/imagemap.htm +20 -0
  710. data/samples/html/imagemap.png +0 -0
  711. data/samples/html/listtest.htm +28 -0
  712. data/samples/html/pic.png +0 -0
  713. data/samples/html/pic2.bmp +0 -0
  714. data/samples/html/regres.htm +20 -0
  715. data/samples/html/subsup.html +42 -0
  716. data/samples/html/tables.htm +255 -0
  717. data/samples/html/test.htm +375 -0
  718. data/samples/html/tn_html.png +0 -0
  719. data/samples/mdi/mdi.rb +118 -0
  720. data/samples/mdi/tn_mdi.png +0 -0
  721. data/samples/minimal/minimal.rb +95 -0
  722. data/samples/minimal/mondrian.ico +0 -0
  723. data/samples/minimal/mondrian.png +0 -0
  724. data/samples/minimal/nothing.rb +38 -0
  725. data/samples/minimal/tn_minimal.png +0 -0
  726. data/samples/minimal/tn_nothing.png +0 -0
  727. data/samples/printing/mondrian.ico +0 -0
  728. data/samples/printing/mondrian.xpm +44 -0
  729. data/samples/printing/printing.rb +499 -0
  730. data/samples/printing/printing2.rb +251 -0
  731. data/samples/printing/sample-text.txt +213 -0
  732. data/samples/printing/tn_printing.png +0 -0
  733. data/samples/printing/tn_printing2.png +0 -0
  734. data/samples/propgrid/propgrid.rb +2707 -0
  735. data/samples/propgrid/propgrid_minimal.rb +106 -0
  736. data/samples/propgrid/sample_props.rb +434 -0
  737. data/samples/propgrid/tn_propgrid.png +0 -0
  738. data/samples/propgrid/tn_propgrid_minimal.png +0 -0
  739. data/samples/ribbon/align_center.xpm +21 -0
  740. data/samples/ribbon/align_left.xpm +21 -0
  741. data/samples/ribbon/align_right.xpm +21 -0
  742. data/samples/ribbon/aui_style.xpm +53 -0
  743. data/samples/ribbon/auto_crop_selection.xpm +55 -0
  744. data/samples/ribbon/auto_crop_selection_small.xpm +33 -0
  745. data/samples/ribbon/circle.xpm +38 -0
  746. data/samples/ribbon/circle_small.xpm +22 -0
  747. data/samples/ribbon/colours.xpm +25 -0
  748. data/samples/ribbon/cross.xpm +38 -0
  749. data/samples/ribbon/empty.xpm +23 -0
  750. data/samples/ribbon/expand_selection_h.xpm +46 -0
  751. data/samples/ribbon/expand_selection_v.xpm +46 -0
  752. data/samples/ribbon/eye.xpm +26 -0
  753. data/samples/ribbon/hexagon.xpm +38 -0
  754. data/samples/ribbon/msw_style.xpm +65 -0
  755. data/samples/ribbon/position_left.xpm +22 -0
  756. data/samples/ribbon/position_top.xpm +22 -0
  757. data/samples/ribbon/ribbon.rb +900 -0
  758. data/samples/ribbon/ribbon.xpm +54 -0
  759. data/samples/ribbon/selection_panel.xpm +23 -0
  760. data/samples/ribbon/square.xpm +38 -0
  761. data/samples/ribbon/tn_ribbon.png +0 -0
  762. data/samples/ribbon/triangle.xpm +38 -0
  763. data/samples/sample.xpm +475 -0
  764. data/samples/sampler/back.xpm +21 -0
  765. data/samples/sampler/copy.xpm +44 -0
  766. data/samples/sampler/cut.xpm +46 -0
  767. data/samples/sampler/editor.rb +534 -0
  768. data/samples/sampler/ext.rb +51 -0
  769. data/samples/sampler/filesave.xpm +42 -0
  770. data/samples/sampler/find.xpm +62 -0
  771. data/samples/sampler/findrepl.xpm +63 -0
  772. data/samples/sampler/forward.xpm +21 -0
  773. data/samples/sampler/paste.xpm +46 -0
  774. data/samples/sampler/play.xpm +24 -0
  775. data/samples/sampler/redo.xpm +58 -0
  776. data/samples/sampler/sample.rb +337 -0
  777. data/samples/sampler/stc_editor.rb +326 -0
  778. data/samples/sampler/txt_editor.rb +135 -0
  779. data/samples/sampler/undo.xpm +58 -0
  780. data/samples/sampler.rb +401 -0
  781. data/samples/splash/mobile.xpm +1835 -0
  782. data/samples/splash/splash.png +0 -0
  783. data/samples/splash/splash.rb +164 -0
  784. data/samples/splash/tn_splash.png +0 -0
  785. data/samples/text/document-open.png +0 -0
  786. data/samples/text/document-save.png +0 -0
  787. data/samples/text/edit-copy.png +0 -0
  788. data/samples/text/edit-cut.png +0 -0
  789. data/samples/text/edit-paste.png +0 -0
  790. data/samples/text/edit-redo.png +0 -0
  791. data/samples/text/edit-undo.png +0 -0
  792. data/samples/text/format-text-bold.png +0 -0
  793. data/samples/text/format-text-italic.png +0 -0
  794. data/samples/text/format-text-underline.png +0 -0
  795. data/samples/text/mondrian.ico +0 -0
  796. data/samples/text/mondrian.xpm +44 -0
  797. data/samples/text/preferences-desktop-font.png +0 -0
  798. data/samples/text/rich_textctrl.rb +326 -0
  799. data/samples/text/scintilla.rb +179 -0
  800. data/samples/text/textctrl.rb +124 -0
  801. data/samples/text/tn_rich_textctrl.png +0 -0
  802. data/samples/text/tn_scintilla.png +0 -0
  803. data/samples/text/tn_textctrl.png +0 -0
  804. data/samples/text/tn_unicode.png +0 -0
  805. data/samples/text/unicode.rb +238 -0
  806. data/samples/text/utf8.txt +15 -0
  807. data/samples/treectrl/checked.xpm +54 -0
  808. data/samples/treectrl/icon1.xpm +79 -0
  809. data/samples/treectrl/icon2.xpm +53 -0
  810. data/samples/treectrl/icon3.xpm +79 -0
  811. data/samples/treectrl/icon4.xpm +43 -0
  812. data/samples/treectrl/icon5.xpm +79 -0
  813. data/samples/treectrl/state1.xpm +145 -0
  814. data/samples/treectrl/state2.xpm +144 -0
  815. data/samples/treectrl/state3.xpm +142 -0
  816. data/samples/treectrl/state4.xpm +145 -0
  817. data/samples/treectrl/state5.xpm +85 -0
  818. data/samples/treectrl/tn_treectrl.png +0 -0
  819. data/samples/treectrl/treectrl.rb +1720 -0
  820. data/samples/treectrl/unchecked.xpm +30 -0
  821. data/samples/xrc/custom_dialog.xrc +46 -0
  822. data/samples/xrc/custom_xrc_sample.rb +84 -0
  823. data/samples/xrc/samples.xrc +46 -0
  824. data/samples/xrc/tn_xrc_sample.png +0 -0
  825. data/samples/xrc/xrc_sample.rb +86 -0
  826. data/tests/test_basic.rb +20 -0
  827. data/tests/test_clipboard.rb +241 -0
  828. data/tests/test_dialog.rb +28 -0
  829. data/tests/test_event_handling.rb +103 -0
  830. data/tests/test_events.rb +45 -0
  831. data/tests/test_geometry.rb +141 -0
  832. data/tests/test_intl.rb +107 -0
  833. data/tests/test_item_data.rb +120 -0
  834. data/tests/test_variant.rb +151 -0
  835. data/tests/testapp.rb +40 -0
  836. data/tests/testapp_noframe.rb +28 -0
  837. metadata +928 -0
@@ -0,0 +1,744 @@
1
+ # :stopdoc:
2
+ # This file is automatically generated by the WXRuby3 documentation
3
+ # generator. Do not alter this file.
4
+ # :startdoc:
5
+
6
+
7
+ module Wx
8
+
9
+ #
10
+ #
11
+ #
12
+ #
13
+ class ToolBarToolStyle < Wx::Enum
14
+
15
+ #
16
+ #
17
+ TOOL_STYLE_BUTTON = Wx::ToolBarToolStyle.new(1)
18
+
19
+ #
20
+ #
21
+ TOOL_STYLE_SEPARATOR = Wx::ToolBarToolStyle.new(2)
22
+
23
+ #
24
+ #
25
+ TOOL_STYLE_CONTROL = Wx::ToolBarToolStyle.new(3)
26
+
27
+ end # ToolBarToolStyle
28
+
29
+ # lay out the toolbar horizontally
30
+ #
31
+ TB_HORIZONTAL = 4
32
+
33
+ #
34
+ #
35
+ TB_TOP = 4
36
+
37
+ # lay out the toolbar vertically
38
+ #
39
+ TB_VERTICAL = 8
40
+
41
+ #
42
+ #
43
+ TB_LEFT = 8
44
+
45
+ # "flat" buttons (Win32/GTK only)
46
+ #
47
+ TB_FLAT = 32
48
+
49
+ # dockable toolbar (GTK only)
50
+ #
51
+ TB_DOCKABLE = 64
52
+
53
+ # don't show the icons (they're shown by default)
54
+ #
55
+ TB_NOICONS = 128
56
+
57
+ # show the text (not shown by default)
58
+ #
59
+ TB_TEXT = 256
60
+
61
+ # don't show the divider between toolbar and the window (Win32 only)
62
+ #
63
+ TB_NODIVIDER = 512
64
+
65
+ # no automatic alignment (Win32 only, useless)
66
+ #
67
+ TB_NOALIGN = 1024
68
+
69
+ # show the text and the icons alongside, not vertically stacked (Win32/GTK)
70
+ #
71
+ TB_HORZ_LAYOUT = 2048
72
+
73
+ #
74
+ #
75
+ TB_HORZ_TEXT = 2304
76
+
77
+ # don't show the toolbar short help tooltips
78
+ #
79
+ TB_NO_TOOLTIPS = 4096
80
+
81
+ # lay out toolbar at the bottom of the window
82
+ #
83
+ TB_BOTTOM = 8192
84
+
85
+ # lay out toolbar at the right edge of the window
86
+ #
87
+ TB_RIGHT = 16384
88
+
89
+ # flags that are closest to the native look
90
+ #
91
+ TB_DEFAULT_STYLE = 4
92
+
93
+ # A toolbar is a bar of buttons and/or other controls usually placed below the menu bar in a {Wx::Frame}.
94
+ # You may create a toolbar that is managed by a frame calling {Wx::Frame#create_tool_bar}. Under Pocket PC, you should always use this function for creating the toolbar to be managed by the frame, so that wxWidgets can use a combined menubar and toolbar. Where you manage your own toolbars, create {Wx::ToolBar} as usual.
95
+ # There are several different types of tools you can add to a toolbar. These types are controlled by the {Wx::ItemKind} enumeration.
96
+ # Note that many methods in {Wx::ToolBar} such as {Wx::ToolBar#add_tool} return a <code>wxToolBarToolBase*</code> object. This should be regarded as an opaque handle representing the newly added toolbar item, providing access to its id and position within the toolbar. Changes to the item's state should be made through calls to {Wx::ToolBar} methods, for example {Wx::ToolBar#enable_tool}. Calls to {Wx::ToolBarToolBase} methods (undocumented by purpose) will not change the visible state of the item within the tool bar.
97
+ # After you have added all the tools you need, you must call {Wx::ToolBar#realize} to effectively construct and display the toolbar.
98
+ # <b>{Wx::MSW} note</b>: Note that under {Wx::MSW} toolbar paints tools to reflect system-wide colours. If you use more than 16 colours in your tool bitmaps, you may wish to suppress this behaviour, otherwise system colours in your bitmaps will inadvertently be mapped to system colours. To do this, set the msw.remap system option before creating the toolbar:
99
+ #
100
+ # wxSystemOptions::SetOption("msw.remap", 0);
101
+ # If you wish to use 32-bit images (which include an alpha channel for transparency) use:
102
+ #
103
+ # wxSystemOptions::SetOption("msw.remap", 2);
104
+ # Then colour remapping is switched off, and a transparent background used. But only use this option under Windows XP with true colour:
105
+ #
106
+ # if (wxTheApp->GetComCtl32Version() >= 600 && ::wxDisplayDepth() >= 32)
107
+ #
108
+ # === Styles
109
+ #
110
+ # This class supports the following styles:
111
+ #
112
+ # - {Wx::TB_FLAT}: Gives the toolbar a flat look (Windows and GTK only).
113
+ # - {Wx::TB_DOCKABLE}: Makes the toolbar floatable and dockable (GTK only).
114
+ # - {Wx::TB_HORIZONTAL}: Specifies horizontal layout (default).
115
+ # - {Wx::TB_VERTICAL}: Specifies vertical layout.
116
+ # - {Wx::TB_TEXT}: Shows the text in the toolbar buttons; by default only icons are shown.
117
+ # - {Wx::TB_NOICONS}: Specifies no icons in the toolbar buttons; by default they are shown.
118
+ # - {Wx::TB_NODIVIDER}: Specifies no divider (border) above the toolbar (Windows only)
119
+ # - {Wx::TB_NOALIGN}: Specifies no alignment with the parent window (Windows only, not very useful).
120
+ # - {Wx::TB_HORZ_LAYOUT}: Shows the text and the icons alongside, not vertically stacked (Windows and GTK 2 only). This style must be used with {Wx::TB_TEXT}.
121
+ # - {Wx::TB_HORZ_TEXT}: Combination of {Wx::TB_HORZ_LAYOUT} and {Wx::TB_TEXT}.
122
+ # - {Wx::TB_NO_TOOLTIPS}: Don't show the short help tooltips for the tools when the mouse hovers over them.
123
+ # - {Wx::TB_BOTTOM}: Align the toolbar at the bottom of parent window.
124
+ # - {Wx::TB_RIGHT}: Align the toolbar at the right side of parent window.
125
+ # - {Wx::TB_DEFAULT_STYLE}: The {Wx::TB_HORIZONTAL} style. This style is new since wxWidgets 2.9.5.
126
+ #
127
+ # See also Window Styles. Note that the {Wx::MSW} native toolbar ignores {Wx::TB_NOICONS} style. Also, toggling the {Wx::TB_TEXT} works only if the style was initially on.
128
+ # === Events emitted by this class
129
+ #
130
+ # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
131
+ # Event handler methods for events emitted by this class:
132
+ # - {Wx::EvtHandler#evt_tool}(id, meth = nil, &block): Process a {Wx::EVT_TOOL} event (a synonym for {Wx::EVT_MENU}). Pass the id of the tool.
133
+ # - {Wx::EvtHandler#evt_menu}(id, meth = nil, &block): The same as EVT_TOOL().
134
+ # - {Wx::EvtHandler#evt_tool_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_TOOL} event for a range of identifiers. Pass the ids of the tools.
135
+ # - {Wx::EvtHandler#evt_menu_range}(id1, id2, meth = nil, &block): The same as EVT_TOOL_RANGE().
136
+ # - {Wx::EvtHandler#evt_tool_rclicked}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_RCLICKED} event. Pass the id of the tool. (Not available on {Wx::OSX}.)
137
+ # - {Wx::EvtHandler#evt_tool_rclicked_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_TOOL_RCLICKED} event for a range of ids. Pass the ids of the tools. (Not available on {Wx::OSX}.)
138
+ # - {Wx::EvtHandler#evt_tool_enter}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_ENTER} event. Pass the id of the toolbar itself. The value of {Wx::CommandEvent#get_selection} is the tool id, or -1 if the mouse cursor has moved off a tool. (Not available on {Wx::OSX}.)
139
+ # - {Wx::EvtHandler#evt_tool_dropdown}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_DROPDOWN} event. If unhandled, displays the default dropdown menu set using {Wx::ToolBar#set_dropdown_menu}.
140
+ #
141
+ # The toolbar class emits menu commands in the same way that a frame menubar does, so you can use one EVT_MENU() macro for both a menu item and a toolbar button. The event handler functions take a {Wx::CommandEvent} argument. For most event macros, the identifier of the tool is passed, but for EVT_TOOL_ENTER() the toolbar window identifier is passed and the tool identifier is retrieved from the {Wx::CommandEvent}. This is because the identifier may be {Wx::StandardID::ID_ANY} when the mouse moves off a tool, and {Wx::StandardID::ID_ANY} is not allowed as an identifier in the event system.
142
+ # ===
143
+ #
144
+ # Category: Miscellaneous Windows
145
+ # @see Toolbar Overview
146
+ #
147
+ #
148
+ class ToolBar < Control
149
+
150
+ # @overload add_tool(toolId, label, bitmap, shortHelp=Wx::EMPTY_STRING, kind=Wx::ITEM_NORMAL)
151
+ # Adds a tool to the toolbar.
152
+ # This most commonly used version has fewer parameters than the full version below which specifies the more rarely used button features.
153
+ #
154
+ # After you have added tools to a toolbar, you must call {Wx::ToolBar#realize} in order to have the tools appear.
155
+ # @see Wx::ToolBar#add_separator
156
+ # @see Wx::ToolBar#add_check_tool
157
+ # @see Wx::ToolBar#add_radio_tool
158
+ # @see Wx::ToolBar#insert_tool
159
+ # @see Wx::ToolBar#delete_tool
160
+ # @see Wx::ToolBar#realize
161
+ # @see Wx::ToolBar#set_dropdown_menu
162
+ # @param toolId [Integer] An integer by which the tool may be identified in subsequent operations.
163
+ # @param label [String] The string to be displayed with the tool. This string may include mnemonics, i.e. characters prefixed by an ampersand ("&"), but they are stripped from it and not actually shown in the toolbar as tools can't be activated from keyboard.
164
+ # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] The primary tool bitmap.
165
+ # @param shortHelp [String] This string is used for the tools tooltip.
166
+ # @param kind [ItemKind] May be {Wx::ItemKind::ITEM_NORMAL} for a normal button (default), {Wx::ItemKind::ITEM_CHECK} for a checkable tool (such tool stays pressed after it had been toggled) or {Wx::ItemKind::ITEM_RADIO} for a checkable tool which makes part of a radio group of tools each of which is automatically unchecked whenever another button in the group is checked. {Wx::ItemKind::ITEM_DROPDOWN} specifies that a drop-down menu button will appear next to the tool button (only GTK+ and MSW). Call {Wx::ToolBar#set_dropdown_menu} afterwards.
167
+ # @return [Wx::ToolBarToolBase]
168
+ # @overload add_tool(toolId, label, bitmap, bmpDisabled, kind=Wx::ITEM_NORMAL, shortHelp=Wx::EMPTY_STRING, longHelp=Wx::EMPTY_STRING, clientData=nil)
169
+ # Adds a tool to the toolbar.
170
+ # After you have added tools to a toolbar, you must call {Wx::ToolBar#realize} in order to have the tools appear.
171
+ # @see Wx::ToolBar#add_separator
172
+ # @see Wx::ToolBar#add_check_tool
173
+ # @see Wx::ToolBar#add_radio_tool
174
+ # @see Wx::ToolBar#insert_tool
175
+ # @see Wx::ToolBar#delete_tool
176
+ # @see Wx::ToolBar#realize
177
+ # @see Wx::ToolBar#set_dropdown_menu
178
+ # @param toolId [Integer] An integer by which the tool may be identified in subsequent operations.
179
+ # @param label [String] The string to be displayed with the tool.
180
+ # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] The primary tool bitmap.
181
+ # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] The bitmap used when the tool is disabled. If it is equal to {Wx::NULL_BITMAP} (default), the disabled bitmap is automatically generated by greying the normal one.
182
+ # @param kind [ItemKind] May be {Wx::ItemKind::ITEM_NORMAL} for a normal button (default), {Wx::ItemKind::ITEM_CHECK} for a checkable tool (such tool stays pressed after it had been toggled) or {Wx::ItemKind::ITEM_RADIO} for a checkable tool which makes part of a radio group of tools each of which is automatically unchecked whenever another button in the group is checked. {Wx::ItemKind::ITEM_DROPDOWN} specifies that a drop-down menu button will appear next to the tool button (only GTK+ and MSW). Call {Wx::ToolBar#set_dropdown_menu} afterwards.
183
+ # @param shortHelp [String] This string is used for the tools tooltip.
184
+ # @param longHelp [String] This string is shown in the statusbar (if any) of the parent frame when the mouse pointer is inside the tool.
185
+ # @param clientData [Wx::Object] An optional pointer to client data which can be retrieved later using {Wx::ToolBar#get_tool_client_data}.
186
+ # @return [Wx::ToolBarToolBase]
187
+ def add_tool(*args) end
188
+
189
+ # Inserts the tool with the specified attributes into the toolbar at the given position.
190
+ # You must call {Wx::ToolBar#realize} for the change to take place.
191
+ #
192
+ # The newly inserted tool or NULL on failure. Notice that with the overload taking tool parameter the caller is responsible for deleting the tool in the latter case.
193
+ # @see Wx::ToolBar#add_tool
194
+ # @see Wx::ToolBar#insert_control
195
+ # @see Wx::ToolBar#insert_separator
196
+ # @param pos [Integer]
197
+ # @param toolId [Integer]
198
+ # @param label [String]
199
+ # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
200
+ # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
201
+ # @param kind [ItemKind]
202
+ # @param shortHelp [String]
203
+ # @param longHelp [String]
204
+ # @param clientData [Wx::Object]
205
+ # @return [Wx::ToolBarToolBase]
206
+ def insert_tool(pos, toolId, label, bitmap, bmpDisabled=Wx::NULL_BITMAP, kind=Wx::ITEM_NORMAL, shortHelp=Wx::EMPTY_STRING, longHelp=Wx::EMPTY_STRING, clientData=nil) end
207
+
208
+ # @overload set_margins(x, y)
209
+ # Set the values to be used as margins for the toolbar.
210
+ # This must be called before the tools are added if absolute positioning is to be used, and the default (zero-size) margins are to be overridden.
211
+ # @see Wx::ToolBar#get_margins
212
+ # @param x [Integer] Left margin, right margin and inter-tool separation value.
213
+ # @param y [Integer] Top margin, bottom margin and inter-tool separation value.
214
+ # @return [void]
215
+ # @overload set_margins(size)
216
+ # Set the margins for the toolbar.
217
+ # This must be called before the tools are added if absolute positioning is to be used, and the default (zero-size) margins are to be overridden.
218
+ # @see Wx::ToolBar#get_margins
219
+ # @see Wx::Size
220
+ # @param size [Array(Integer, Integer), Wx::Size] Margin size.
221
+ # @return [void]
222
+ def set_margins(*args) end
223
+ alias_method :margins=, :set_margins
224
+
225
+ # @overload initialize()
226
+ # Default constructor.
227
+ # @return [ToolBar]
228
+ # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TB_HORIZONTAL, name=Wx::TOOL_BAR_NAME_STR)
229
+ # Constructs a toolbar.
230
+ # After a toolbar is created, you use {Wx::ToolBar#add_tool} and perhaps {Wx::ToolBar#add_separator}, and then you must call {Wx::ToolBar#realize} to construct and display the toolbar tools.
231
+ # @param parent [Wx::Window] Pointer to a parent window.
232
+ # @param id [Integer] Window identifier. If -1, will automatically create an identifier.
233
+ # @param pos [Array(Integer, Integer), Wx::Point] Window position. {Wx::DEFAULT_POSITION} indicates that wxWidgets should generate a default position for the window. If using the {Wx::Window} class directly, supply an actual position.
234
+ # @param size [Array(Integer, Integer), Wx::Size] Window size. {Wx::DEFAULT_SIZE} indicates that wxWidgets should generate a default size for the window.
235
+ # @param style [Integer] Window style. See {Wx::ToolBar} initial description for details.
236
+ # @param name [String] Window name.
237
+ # @return [ToolBar]
238
+ def initialize(*args) end
239
+
240
+ # Adds a new check (or toggle) tool to the toolbar.
241
+ # The parameters are the same as in {Wx::ToolBar#add_tool}.
242
+ # @see Wx::ToolBar#add_tool
243
+ # @param toolId [Integer]
244
+ # @param label [String]
245
+ # @param bitmap1 [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
246
+ # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
247
+ # @param shortHelp [String]
248
+ # @param longHelp [String]
249
+ # @param clientData [Wx::Object]
250
+ # @return [Wx::ToolBarToolBase]
251
+ def add_check_tool(toolId, label, bitmap1, bmpDisabled=Wx::NULL_BITMAP, shortHelp=Wx::EMPTY_STRING, longHelp=Wx::EMPTY_STRING, clientData=nil) end
252
+
253
+ # Adds any control to the toolbar, typically e.g. a {Wx::ComboBox}.
254
+ # {Wx::Mac}: labels are only displayed if wxWidgets is built with {Wx::MAC_USE_NATIVE_TOOLBAR} set to 1
255
+ # @param control [Wx::Control] The control to be added.
256
+ # @param label [String] Text to be displayed near the control.
257
+ # @return [Wx::ToolBarToolBase]
258
+ def add_control(control, label=Wx::EMPTY_STRING) end
259
+
260
+ # Adds a new radio tool to the toolbar.
261
+ # Consecutive radio tools form a radio group such that exactly one button in the group is pressed at any moment, in other words whenever a button in the group is pressed the previously pressed button is automatically released. You should avoid having the radio groups of only one element as it would be impossible for the user to use such button.
262
+ # By default, the first button in the radio group is initially pressed, the others are not.
263
+ # @see Wx::ToolBar#add_tool
264
+ # @param toolId [Integer]
265
+ # @param label [String]
266
+ # @param bitmap1 [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
267
+ # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
268
+ # @param shortHelp [String]
269
+ # @param longHelp [String]
270
+ # @param clientData [Wx::Object]
271
+ # @return [Wx::ToolBarToolBase]
272
+ def add_radio_tool(toolId, label, bitmap1, bmpDisabled=Wx::NULL_BITMAP, shortHelp=Wx::EMPTY_STRING, longHelp=Wx::EMPTY_STRING, clientData=nil) end
273
+
274
+ # Adds a separator for spacing groups of tools.
275
+ # Notice that the separator uses the look appropriate for the current platform so it can be a vertical line (MSW, some versions of GTK) or just an empty space or something else.
276
+ # @see Wx::ToolBar#add_tool
277
+ # @see Wx::ToolBar#set_tool_separation
278
+ # @see Wx::ToolBar#add_stretchable_space
279
+ # @return [Wx::ToolBarToolBase]
280
+ def add_separator; end
281
+
282
+ # Adds a stretchable space to the toolbar.
283
+ # Any space not taken up by the fixed items (all items except for stretchable spaces) is distributed in equal measure between the stretchable spaces in the toolbar. The most common use for this method is to add a single stretchable space before the items which should be right-aligned in the toolbar, but more exotic possibilities are possible, e.g. a stretchable space may be added in the beginning and the end of the toolbar to centre all toolbar items.
284
+ # @see Wx::ToolBar#add_tool
285
+ # @see Wx::ToolBar#add_separator
286
+ # @see Wx::ToolBar#insert_stretchable_space
287
+ # @return [Wx::ToolBarToolBase]
288
+ def add_stretchable_space; end
289
+
290
+ # Deletes all the tools in the toolbar.
291
+ # @return [void]
292
+ def clear_tools; end
293
+
294
+ # Removes the specified tool from the toolbar and deletes it.
295
+ # If you don't want to delete the tool, but just to remove it from the toolbar (to possibly add it back later), you may use {Wx::ToolBar#remove_tool} instead.
296
+ # It is unnecessary to call {Wx::ToolBar#realize} for the change to take place, it will happen immediately.
297
+ #
298
+ # true if the tool was deleted, false otherwise.
299
+ # @see Wx::ToolBar#delete_tool_by_pos
300
+ # @param toolId [Integer]
301
+ # @return [true,false]
302
+ def delete_tool(toolId) end
303
+
304
+ # This function behaves like {Wx::ToolBar#delete_tool} but it deletes the tool at the specified position and not the one with the given id.
305
+ # @param pos [Integer]
306
+ # @return [true,false]
307
+ def delete_tool_by_pos(pos) end
308
+
309
+ # Enables or disables the tool.
310
+ # Some implementations will change the visible state of the tool to indicate that it is disabled.
311
+ # @see Wx::ToolBar#get_tool_enabled
312
+ # @see Wx::ToolBar#toggle_tool
313
+ # @param toolId [Integer] ID of the tool to enable or disable, as passed to {Wx::ToolBar#add_tool}.
314
+ # @param enable [true,false] If true, enables the tool, otherwise disables it.
315
+ # @return [void]
316
+ def enable_tool(toolId, enable) end
317
+
318
+ # Returns a pointer to the tool identified by id or NULL if no corresponding tool is found.
319
+ # @param id [Integer]
320
+ # @return [Wx::ToolBarToolBase]
321
+ def find_by_id(id) end
322
+
323
+ # Returns a pointer to the control identified by id or NULL if no corresponding control is found.
324
+ # @param id [Integer]
325
+ # @return [Wx::Control]
326
+ def find_control(id) end
327
+
328
+ # Finds a tool for the given mouse position.
329
+ # A pointer to a tool if a tool is found, or NULL otherwise.
330
+ #
331
+ # Currently not implemented in {Wx::GTK} (always returns NULL there).
332
+ # @param x [Integer] X position.
333
+ # @param y [Integer] Y position.
334
+ # @return [Wx::ToolBarToolBase]
335
+ def find_tool_for_position(x, y) end
336
+
337
+ # Returns the left/right and top/bottom margins, which are also used for inter-toolspacing.
338
+ #
339
+ # @see Wx::ToolBar#set_margins
340
+ # @return [Wx::Size]
341
+ def get_margins; end
342
+ alias_method :margins, :get_margins
343
+
344
+ # Returns the size of bitmap that the toolbar expects to have.
345
+ # The default bitmap size is platform-dependent: for example, it is 16*15 for MSW and 24*24 for GTK. This size does not necessarily indicate the best size to use for the toolbars on the given platform, for this you should use <code>wxArtProvider::GetNativeSizeHint(wxART_TOOLBAR)</code> but in any case, as the bitmap size is deduced automatically from the size of the bitmaps associated with the tools added to the toolbar, it is usually unnecessary to call either this function or {Wx::ToolBar#set_tool_bitmap_size} at all.
346
+ # This function returns the size in logical pixels, for consistency with {Wx::ToolBar#set_tool_bitmap_size} which takes size in logical pixels. See High DPI Support in wxWidgets for more information about the different pixel types and how to convert between them.
347
+ # Note that this is the size of the bitmap you pass to {Wx::ToolBar#add_tool}, and not the eventual size of the tool button.
348
+ # @see Wx::ToolBar#set_tool_bitmap_size
349
+ # @see Wx::ToolBar#get_tool_size
350
+ # @return [Wx::Size]
351
+ def get_tool_bitmap_size; end
352
+ alias_method :tool_bitmap_size, :get_tool_bitmap_size
353
+
354
+ # @overload get_tool_by_pos(pos)
355
+ # Returns a pointer to the tool at ordinal position pos.
356
+ # Don't confuse this with {Wx::ToolBar#find_tool_for_position}.
357
+ # @see Wx::ToolBar#get_tools_count
358
+ # @param pos [Integer]
359
+ # @return [Wx::ToolBarToolBase]
360
+ # @overload get_tool_by_pos(pos)
361
+ # @param pos [Integer]
362
+ # @return [Wx::ToolBarToolBase]
363
+ def get_tool_by_pos(*args) end
364
+ alias_method :tool_by_pos, :get_tool_by_pos
365
+
366
+ # Get any client data associated with the tool.
367
+ # Client data, or NULL if there is none.
368
+ # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
369
+ # @return [Wx::Object]
370
+ def get_tool_client_data(toolId) end
371
+ alias_method :tool_client_data, :get_tool_client_data
372
+
373
+ # Called to determine whether a tool is enabled (responds to user input).
374
+ # true if the tool is enabled, false otherwise.
375
+ # @see Wx::ToolBar#enable_tool
376
+ # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
377
+ # @return [true,false]
378
+ def get_tool_enabled(toolId) end
379
+ alias_method :tool_enabled, :get_tool_enabled
380
+
381
+ # Returns the long help for the given tool.
382
+ #
383
+ # @see Wx::ToolBar#set_tool_long_help
384
+ # @see Wx::ToolBar#set_tool_short_help
385
+ # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
386
+ # @return [String]
387
+ def get_tool_long_help(toolId) end
388
+ alias_method :tool_long_help, :get_tool_long_help
389
+
390
+ # Returns the value used for packing tools.
391
+ #
392
+ # @see Wx::ToolBar#set_tool_packing
393
+ # @return [Integer]
394
+ def get_tool_packing; end
395
+ alias_method :tool_packing, :get_tool_packing
396
+
397
+ # Returns the tool position in the toolbar, or {Wx::NOT_FOUND} if the tool is not found.
398
+ # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
399
+ # @return [Integer]
400
+ def get_tool_pos(toolId) end
401
+ alias_method :tool_pos, :get_tool_pos
402
+
403
+ # Returns the default separator size.
404
+ #
405
+ # @see Wx::ToolBar#set_tool_separation
406
+ # @return [Integer]
407
+ def get_tool_separation; end
408
+ alias_method :tool_separation, :get_tool_separation
409
+
410
+ # Returns the short help for the given tool.
411
+ #
412
+ # @see Wx::ToolBar#get_tool_long_help
413
+ # @see Wx::ToolBar#set_tool_short_help
414
+ # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
415
+ # @return [String]
416
+ def get_tool_short_help(toolId) end
417
+ alias_method :tool_short_help, :get_tool_short_help
418
+
419
+ # Returns the size of a whole button, which is usually larger than a tool bitmap because of added 3D effects.
420
+ #
421
+ # @see Wx::ToolBar#set_tool_bitmap_size
422
+ # @see Wx::ToolBar#get_tool_bitmap_size
423
+ # @return [Wx::Size]
424
+ def get_tool_size; end
425
+ alias_method :tool_size, :get_tool_size
426
+
427
+ # Gets the on/off state of a toggle tool.
428
+ # true if the tool is toggled on, false otherwise.
429
+ # @see Wx::ToolBar#toggle_tool
430
+ # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
431
+ # @return [true,false]
432
+ def get_tool_state(toolId) end
433
+ alias_method :tool_state, :get_tool_state
434
+
435
+ # Returns the number of tools in the toolbar.
436
+ # @return [Integer]
437
+ def get_tools_count; end
438
+ alias_method :tools_count, :get_tools_count
439
+
440
+ # Inserts the control into the toolbar at the given position.
441
+ # You must call {Wx::ToolBar#realize} for the change to take place.
442
+ # @see Wx::ToolBar#add_control
443
+ # @see Wx::ToolBar#insert_tool
444
+ # @param pos [Integer]
445
+ # @param control [Wx::Control]
446
+ # @param label [String]
447
+ # @return [Wx::ToolBarToolBase]
448
+ def insert_control(pos, control, label=Wx::EMPTY_STRING) end
449
+
450
+ # Inserts the separator into the toolbar at the given position.
451
+ # You must call {Wx::ToolBar#realize} for the change to take place.
452
+ # @see Wx::ToolBar#add_separator
453
+ # @see Wx::ToolBar#insert_tool
454
+ # @param pos [Integer]
455
+ # @return [Wx::ToolBarToolBase]
456
+ def insert_separator(pos) end
457
+
458
+ # Inserts a stretchable space at the given position.
459
+ # See {Wx::ToolBar#add_stretchable_space} for details about stretchable spaces.
460
+ # @see Wx::ToolBar#insert_tool
461
+ # @see Wx::ToolBar#insert_separator
462
+ # @param pos [Integer]
463
+ # @return [Wx::ToolBarToolBase]
464
+ def insert_stretchable_space(pos) end
465
+
466
+ # Called when the user clicks on a tool with the left mouse button.
467
+ # This is the old way of detecting tool clicks; although it will still work, you should use the EVT_MENU() or EVT_TOOL() macro instead.
468
+ #
469
+ # If the tool is a toggle and this function returns false, the toggle state (internal and visual) will not be changed. This provides a way of specifying that toggle operations are not permitted in some circumstances.
470
+ # @see Wx::ToolBar#on_mouse_enter
471
+ # @see Wx::ToolBar#on_right_click
472
+ # @param toolId [Integer] The identifier passed to {Wx::ToolBar#add_tool}.
473
+ # @param toggleDown [true,false] true if the tool is a toggle and the toggle is down, otherwise is false.
474
+ # @return [true,false]
475
+ def on_left_click(toolId, toggleDown) end
476
+
477
+ # This is called when the mouse cursor moves into a tool or out of the toolbar.
478
+ # This is the old way of detecting mouse enter events; although it will still work, you should use the EVT_TOOL_ENTER() macro instead.
479
+ #
480
+ # With some derived toolbar classes, if the mouse moves quickly out of the toolbar, wxWidgets may not be able to detect it. Therefore this function may not always be called when expected.
481
+ # @param toolId [Integer] Greater than -1 if the mouse cursor has moved into the tool, or -1 if the mouse cursor has moved. The programmer can override this to provide extra information about the tool, such as a short description on the status line.
482
+ # @return [void]
483
+ def on_mouse_enter(toolId) end
484
+
485
+ # This function should be called after you have added tools.
486
+ # @return [true,false]
487
+ def realize; end
488
+
489
+ # Removes the given tool from the toolbar but doesn't delete it.
490
+ # This allows inserting/adding this tool back to this (or another) toolbar later.
491
+ # It is unnecessary to call {Wx::ToolBar#realize} for the change to take place, it will happen immediately.
492
+ # @see Wx::ToolBar#delete_tool
493
+ # @param id [Integer]
494
+ # @return [Wx::ToolBarToolBase]
495
+ def remove_tool(id) end
496
+
497
+ # Sets the dropdown menu for the tool given by its id.
498
+ # The tool itself will delete the menu when it's no longer needed. Only supported under GTK+ und MSW.
499
+ # If you define a EVT_TOOL_DROPDOWN() handler in your program, you must call {Wx::Event#skip} from it or the menu won't be displayed.
500
+ # @param id [Integer]
501
+ # @param menu [Wx::Menu]
502
+ # @return [true,false]
503
+ def set_dropdown_menu(id, menu) end
504
+
505
+ # Sets the default size of each tool bitmap.
506
+ # It is usually unnecessary to call this function, as the tools will always be made big enough to fit the size of the bitmaps used in them. Moreover, calling it forces {Wx::ToolBar} to scale its images in high DPI using the provided size, instead of letting {Wx::BitmapBundle} used for the tool bitmaps determine the best suitable bitmap size, which may result in suboptimal appearance.
507
+ # If you do call it, it must be done before toolbar is {Wx::ToolBar#realize}'d.
508
+ # Example of using this function to force the bitmaps to be at least 32 pixels wide and tall (at normal DPI):
509
+ #
510
+ # toolbar->SetToolBitmapSize(FromDIP(wxSize(32, 32)));
511
+ # toolbar->AddTool(wxID_NEW, "New", wxBitmapBundle::FromXXX(...));
512
+ # ...
513
+ # toolbar->Realize();
514
+ # @see Wx::ToolBar#get_tool_bitmap_size
515
+ # @see Wx::ToolBar#get_tool_size
516
+ # @param size [Array(Integer, Integer), Wx::Size] The size of the bitmaps in the toolbar in logical pixels.
517
+ # @return [void]
518
+ def set_tool_bitmap_size(size) end
519
+ alias_method :tool_bitmap_size=, :set_tool_bitmap_size
520
+
521
+ # Sets the client data associated with the tool.
522
+ # @param id [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
523
+ # @param clientData [Wx::Object] The client data to use.
524
+ # @return [void]
525
+ def set_tool_client_data(id, clientData) end
526
+
527
+ # Sets the bitmap to be used by the tool with the given ID when the tool is in a disabled state.
528
+ # This can only be used on Button tools, not controls.
529
+ #
530
+ # The native toolbar classes on the main platforms all synthesize the disabled bitmap from the normal bitmap, so this function will have no effect on those platforms.
531
+ # @param id [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
532
+ # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap to use for disabled tools.
533
+ # @return [void]
534
+ def set_tool_disabled_bitmap(id, bitmap) end
535
+
536
+ # Sets the long help for the given tool.
537
+ # You might use the long help for displaying the tool purpose on the status line.
538
+ # @see Wx::ToolBar#get_tool_long_help
539
+ # @see Wx::ToolBar#set_tool_short_help
540
+ # @see
541
+ # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
542
+ # @param helpString [String] A string for the long help.
543
+ # @return [void]
544
+ def set_tool_long_help(toolId, helpString) end
545
+
546
+ # Sets the bitmap to be used by the tool with the given ID.
547
+ # This can only be used on Button tools, not controls.
548
+ # @param id [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
549
+ # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap to use for normals tools.
550
+ # @return [void]
551
+ def set_tool_normal_bitmap(id, bitmap) end
552
+
553
+ # Sets the value used for spacing tools.
554
+ # The default value is 1.
555
+ #
556
+ # The packing is used for spacing in the vertical direction if the toolbar is horizontal, and for spacing in the horizontal direction if the toolbar is vertical.
557
+ # @see Wx::ToolBar#get_tool_packing
558
+ # @param packing [Integer] The value for packing.
559
+ # @return [void]
560
+ def set_tool_packing(packing) end
561
+ alias_method :tool_packing=, :set_tool_packing
562
+
563
+ # Sets the default separator size.
564
+ # The default value is 5.
565
+ # @see Wx::ToolBar#add_separator
566
+ # @param separation [Integer] The separator size.
567
+ # @return [void]
568
+ def set_tool_separation(separation) end
569
+ alias_method :tool_separation=, :set_tool_separation
570
+
571
+ # Sets the short help for the given tool.
572
+ # An application might use short help for identifying the tool purpose in a tooltip.
573
+ # @see Wx::ToolBar#get_tool_short_help
574
+ # @see Wx::ToolBar#set_tool_long_help
575
+ # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
576
+ # @param helpString [String] The string for the short help.
577
+ # @return [void]
578
+ def set_tool_short_help(toolId, helpString) end
579
+
580
+ # Toggles a tool on or off.
581
+ # This does not cause any event to get emitted.
582
+ #
583
+ # Only applies to a tool that has been specified as a toggle tool.
584
+ # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
585
+ # @param toggle [true,false] If true, toggles the tool on, otherwise toggles it off.
586
+ # @return [void]
587
+ def toggle_tool(toolId, toggle) end
588
+
589
+ # @overload create_tool(toolId, label, bmpNormal, bmpDisabled=Wx::NULL_BITMAP, kind=Wx::ITEM_NORMAL, clientData=nil, shortHelp=Wx::EMPTY_STRING, longHelp=Wx::EMPTY_STRING)
590
+ # Factory function to create a new toolbar tool.
591
+ # @param toolId [Integer]
592
+ # @param label [String]
593
+ # @param bmpNormal [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
594
+ # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
595
+ # @param kind [ItemKind]
596
+ # @param clientData [Wx::Object]
597
+ # @param shortHelp [String]
598
+ # @param longHelp [String]
599
+ # @return [Wx::ToolBarToolBase]
600
+ # @overload create_tool(control, label)
601
+ # Factory function to create a new control toolbar tool.
602
+ # @param control [Wx::Control]
603
+ # @param label [String]
604
+ # @return [Wx::ToolBarToolBase]
605
+ def create_tool(*args) end
606
+
607
+ # Factory function to create a new separator toolbar tool.
608
+ # @return [Wx::ToolBarToolBase]
609
+ def create_separator; end
610
+
611
+ end # ToolBar
612
+
613
+ # A toolbar tool represents one item on the toolbar.
614
+ # It has a unique id (except for the separators), the style (telling whether it is a normal button, separator or a control), the state (toggled or not, enabled or not) and short and long help strings. The default implementations use the short help string for the tooltip text which is popped up when the mouse pointer enters the tool and the long help string for the applications status bar.
615
+ # Notice that the toolbar can not be modified by changing its tools via the (intentionally undocumented here) setter methods of this class, all the modifications must be done using the methods of {Wx::ToolBar} itself.
616
+ #
617
+ class ToolBarToolBase < Object
618
+
619
+ # @overload initialize(tbar=nil, toolid=Wx::ID_SEPARATOR, label=Wx::EMPTY_STRING, bmpNormal=Wx::NULL_BITMAP, bmpDisabled=Wx::NULL_BITMAP, kind=Wx::ITEM_NORMAL, clientData=nil, shortHelpString=Wx::EMPTY_STRING, longHelpString=Wx::EMPTY_STRING)
620
+ # @param tbar [Wx::ToolBarBase]
621
+ # @param toolid [Integer]
622
+ # @param label [String]
623
+ # @param bmpNormal [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
624
+ # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
625
+ # @param kind [ItemKind]
626
+ # @param clientData [Wx::Object]
627
+ # @param shortHelpString [String]
628
+ # @param longHelpString [String]
629
+ # @return [ToolBarToolBase]
630
+ # @overload initialize(tbar, control, label)
631
+ # @param tbar [Wx::ToolBarBase]
632
+ # @param control [Wx::Control]
633
+ # @param label [String]
634
+ # @return [ToolBarToolBase]
635
+ def initialize(*args) end
636
+
637
+ # @return [Integer]
638
+ def get_id; end
639
+ alias_method :id, :get_id
640
+
641
+ # @return [Wx::Control]
642
+ def get_control; end
643
+ alias_method :control, :get_control
644
+
645
+ # @return [Wx::ToolBarBase]
646
+ def get_tool_bar; end
647
+ alias_method :tool_bar, :get_tool_bar
648
+
649
+ # @return [true,false]
650
+ def is_stretchable; end
651
+ alias_method :stretchable?, :is_stretchable
652
+
653
+ # @return [true,false]
654
+ def is_button; end
655
+ alias_method :button?, :is_button
656
+
657
+ # @return [true,false]
658
+ def is_control; end
659
+ alias_method :control?, :is_control
660
+
661
+ # @return [true,false]
662
+ def is_separator; end
663
+ alias_method :separator?, :is_separator
664
+
665
+ # @return [true,false]
666
+ def is_stretchable_space; end
667
+ alias_method :stretchable_space?, :is_stretchable_space
668
+
669
+ # @return [Integer]
670
+ def get_style; end
671
+ alias_method :style, :get_style
672
+
673
+ # @return [ItemKind]
674
+ def get_kind; end
675
+ alias_method :kind, :get_kind
676
+
677
+ # @return [void]
678
+ def make_stretchable; end
679
+
680
+ # @return [true,false]
681
+ def is_enabled; end
682
+ alias_method :enabled?, :is_enabled
683
+
684
+ # @return [true,false]
685
+ def is_toggled; end
686
+ alias_method :toggled?, :is_toggled
687
+
688
+ # @return [true,false]
689
+ def can_be_toggled; end
690
+ alias_method :can_be_toggled?, :can_be_toggled
691
+
692
+ # Return the bundle containing normal tool bitmaps.
693
+ # This bundle may be invalid if the tool doesn't show a bitmap.
694
+ # @return [Wx::BitmapBundle]
695
+ def get_normal_bitmap_bundle; end
696
+ alias_method :normal_bitmap_bundle, :get_normal_bitmap_bundle
697
+
698
+ # Return the bundle containing disabled tool bitmaps.
699
+ # This bundle may be invalid if the tool doesn't show a bitmap or doesn't have a specific disabled bitmap creates one automatically from the normal bitmap.
700
+ # @return [Wx::BitmapBundle]
701
+ def get_disabled_bitmap_bundle; end
702
+ alias_method :disabled_bitmap_bundle, :get_disabled_bitmap_bundle
703
+
704
+ # @return [Wx::Bitmap]
705
+ def get_normal_bitmap; end
706
+ alias_method :normal_bitmap, :get_normal_bitmap
707
+
708
+ # @return [Wx::Bitmap]
709
+ def get_disabled_bitmap; end
710
+ alias_method :disabled_bitmap, :get_disabled_bitmap
711
+
712
+ # @return [Wx::Bitmap]
713
+ def get_bitmap; end
714
+ alias_method :bitmap, :get_bitmap
715
+
716
+ # @return [Wx::String]
717
+ def get_label; end
718
+ alias_method :label, :get_label
719
+
720
+ # @return [Wx::String]
721
+ def get_short_help; end
722
+ alias_method :short_help, :get_short_help
723
+
724
+ # @return [Wx::String]
725
+ def get_long_help; end
726
+ alias_method :long_help, :get_long_help
727
+
728
+ # @return [Wx::Object]
729
+ def get_client_data; end
730
+ alias_method :client_data, :get_client_data
731
+
732
+ # @param menu [Wx::Menu]
733
+ # @return [void]
734
+ def set_dropdown_menu(menu) end
735
+ alias_method :dropdown_menu=, :set_dropdown_menu
736
+
737
+ # @return [Wx::Menu]
738
+ def get_dropdown_menu; end
739
+ alias_method :dropdown_menu, :get_dropdown_menu
740
+
741
+ end # ToolBarToolBase
742
+
743
+
744
+ end