wxruby3 1.8.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (391) hide show
  1. checksums.yaml +4 -4
  2. data/lib/wx/doc/stream.rb +7 -3
  3. data/lib/wx/version.rb +1 -1
  4. data/lib/wx/wxruby/cmd/test.rb +8 -2
  5. data/rakelib/lib/config/pkgman/linux.rb +4 -2
  6. data/rakelib/lib/director/derived_dc.rb +41 -32
  7. data/rakelib/lib/director/editable_listbox.rb +10 -8
  8. data/rakelib/lib/director/fs_file.rb +23 -0
  9. data/rakelib/lib/director/ribbon_page.rb +11 -0
  10. data/rakelib/lib/director/top_level_window.rb +12 -4
  11. data/rakelib/lib/specs/interfaces.rb +2 -2
  12. data/tests/test_webview.rb +5 -5
  13. metadata +2 -380
  14. data/assets/repo-social-preview.odg +0 -0
  15. data/assets/repo-social-preview.xcf +0 -0
  16. data/lib/wx/aui/events/evt_list.rb +0 -148
  17. data/lib/wx/core/events/evt_list.rb +0 -1458
  18. data/lib/wx/core/font/encoding.rb +0 -113
  19. data/lib/wx/doc/gen/about_dialog_info.rb +0 -330
  20. data/lib/wx/doc/gen/accelerator.rb +0 -178
  21. data/lib/wx/doc/gen/activity_indicator.rb +0 -83
  22. data/lib/wx/doc/gen/affine_matrix2d.rb +0 -286
  23. data/lib/wx/doc/gen/animation.rb +0 -275
  24. data/lib/wx/doc/gen/animation_ctrl.rb +0 -300
  25. data/lib/wx/doc/gen/any_button.rb +0 -191
  26. data/lib/wx/doc/gen/app.rb +0 -463
  27. data/lib/wx/doc/gen/app_traits.rb +0 -396
  28. data/lib/wx/doc/gen/art_provider.rb +0 -617
  29. data/lib/wx/doc/gen/aui/aui_dock_art.rb +0 -455
  30. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +0 -54
  31. data/lib/wx/doc/gen/aui/aui_manager.rb +0 -847
  32. data/lib/wx/doc/gen/aui/aui_manager_event.rb +0 -131
  33. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +0 -180
  34. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +0 -59
  35. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +0 -130
  36. data/lib/wx/doc/gen/aui/aui_notebook.rb +0 -631
  37. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +0 -233
  38. data/lib/wx/doc/gen/aui/aui_pane_info.rb +0 -769
  39. data/lib/wx/doc/gen/aui/aui_tab_art.rb +0 -352
  40. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +0 -14
  41. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +0 -510
  42. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +0 -340
  43. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +0 -244
  44. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +0 -257
  45. data/lib/wx/doc/gen/aui/event_list.rb +0 -179
  46. data/lib/wx/doc/gen/banner_window.rb +0 -124
  47. data/lib/wx/doc/gen/bitmap.rb +0 -731
  48. data/lib/wx/doc/gen/bitmap_button.rb +0 -123
  49. data/lib/wx/doc/gen/bitmap_combo_box.rb +0 -221
  50. data/lib/wx/doc/gen/book_ctrl_base.rb +0 -274
  51. data/lib/wx/doc/gen/book_ctrl_event.rb +0 -66
  52. data/lib/wx/doc/gen/box_sizer.rb +0 -85
  53. data/lib/wx/doc/gen/brush.rb +0 -251
  54. data/lib/wx/doc/gen/busy_info.rb +0 -157
  55. data/lib/wx/doc/gen/button.rb +0 -182
  56. data/lib/wx/doc/gen/calculate_layout_event.rb +0 -62
  57. data/lib/wx/doc/gen/calendar_ctrl.rb +0 -505
  58. data/lib/wx/doc/gen/calendar_date_attr.rb +0 -138
  59. data/lib/wx/doc/gen/calendar_event.rb +0 -147
  60. data/lib/wx/doc/gen/caret.rb +0 -97
  61. data/lib/wx/doc/gen/check_box.rb +0 -175
  62. data/lib/wx/doc/gen/check_list_box.rb +0 -121
  63. data/lib/wx/doc/gen/choice.rb +0 -175
  64. data/lib/wx/doc/gen/choicebook.rb +0 -116
  65. data/lib/wx/doc/gen/client_dc.rb +0 -43
  66. data/lib/wx/doc/gen/clipboard.rb +0 -144
  67. data/lib/wx/doc/gen/collapsible_pane.rb +0 -138
  68. data/lib/wx/doc/gen/collapsible_pane_event.rb +0 -46
  69. data/lib/wx/doc/gen/colour.rb +0 -333
  70. data/lib/wx/doc/gen/colour_dialog.rb +0 -190
  71. data/lib/wx/doc/gen/colour_picker_ctrl.rb +0 -110
  72. data/lib/wx/doc/gen/colour_picker_event.rb +0 -77
  73. data/lib/wx/doc/gen/combo_box.rb +0 -292
  74. data/lib/wx/doc/gen/combo_ctrl.rb +0 -662
  75. data/lib/wx/doc/gen/command_link_button.rb +0 -134
  76. data/lib/wx/doc/gen/config_base.rb +0 -10
  77. data/lib/wx/doc/gen/context_help_button.rb +0 -56
  78. data/lib/wx/doc/gen/control.rb +0 -277
  79. data/lib/wx/doc/gen/control_with_items.rb +0 -253
  80. data/lib/wx/doc/gen/core.rb +0 -45
  81. data/lib/wx/doc/gen/credential_entry_dialog.rb +0 -137
  82. data/lib/wx/doc/gen/cursor.rb +0 -193
  83. data/lib/wx/doc/gen/data_format.rb +0 -85
  84. data/lib/wx/doc/gen/data_object.rb +0 -436
  85. data/lib/wx/doc/gen/data_object_simple_base.rb +0 -10
  86. data/lib/wx/doc/gen/date_event.rb +0 -49
  87. data/lib/wx/doc/gen/date_picker_ctrl.rb +0 -161
  88. data/lib/wx/doc/gen/dc.rb +0 -1631
  89. data/lib/wx/doc/gen/dc_overlay.rb +0 -102
  90. data/lib/wx/doc/gen/defs.rb +0 -2802
  91. data/lib/wx/doc/gen/dial_up_event.rb +0 -45
  92. data/lib/wx/doc/gen/dial_up_manager.rb +0 -149
  93. data/lib/wx/doc/gen/dialog.rb +0 -541
  94. data/lib/wx/doc/gen/dir_dialog.rb +0 -164
  95. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +0 -90
  96. data/lib/wx/doc/gen/dir_picker_ctrl.rb +0 -125
  97. data/lib/wx/doc/gen/display.rb +0 -238
  98. data/lib/wx/doc/gen/drag_drop.rb +0 -299
  99. data/lib/wx/doc/gen/drag_image.rb +0 -116
  100. data/lib/wx/doc/gen/editable_list_box.rb +0 -109
  101. data/lib/wx/doc/gen/event.rb +0 -990
  102. data/lib/wx/doc/gen/event_blocker.rb +0 -50
  103. data/lib/wx/doc/gen/event_filter.rb +0 -92
  104. data/lib/wx/doc/gen/event_list.rb +0 -1644
  105. data/lib/wx/doc/gen/events.rb +0 -2809
  106. data/lib/wx/doc/gen/evt_handler.rb +0 -229
  107. data/lib/wx/doc/gen/ext_help_controller.rb +0 -155
  108. data/lib/wx/doc/gen/file_ctrl.rb +0 -231
  109. data/lib/wx/doc/gen/file_ctrl_event.rb +0 -83
  110. data/lib/wx/doc/gen/file_dialog.rb +0 -353
  111. data/lib/wx/doc/gen/file_dialog_custom_control.rb +0 -165
  112. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +0 -158
  113. data/lib/wx/doc/gen/file_dir_picker_event.rb +0 -100
  114. data/lib/wx/doc/gen/file_picker_ctrl.rb +0 -132
  115. data/lib/wx/doc/gen/file_system.rb +0 -232
  116. data/lib/wx/doc/gen/find_dialog_event.rb +0 -126
  117. data/lib/wx/doc/gen/find_replace_data.rb +0 -60
  118. data/lib/wx/doc/gen/find_replace_dialog.rb +0 -58
  119. data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -199
  120. data/lib/wx/doc/gen/font.rb +0 -1379
  121. data/lib/wx/doc/gen/font_data.rb +0 -151
  122. data/lib/wx/doc/gen/font_dialog.rb +0 -88
  123. data/lib/wx/doc/gen/font_picker_ctrl.rb +0 -143
  124. data/lib/wx/doc/gen/font_picker_event.rb +0 -65
  125. data/lib/wx/doc/gen/frame.rb +0 -352
  126. data/lib/wx/doc/gen/fs_file.rb +0 -337
  127. data/lib/wx/doc/gen/functions.rb +0 -10
  128. data/lib/wx/doc/gen/gauge.rb +0 -157
  129. data/lib/wx/doc/gen/gb_sizer_item.rb +0 -68
  130. data/lib/wx/doc/gen/gcdc.rb +0 -46
  131. data/lib/wx/doc/gen/gdi_common.rb +0 -1271
  132. data/lib/wx/doc/gen/gdi_object.rb +0 -31
  133. data/lib/wx/doc/gen/generic_about_dialog.rb +0 -140
  134. data/lib/wx/doc/gen/generic_dir_ctrl.rb +0 -223
  135. data/lib/wx/doc/gen/geometry.rb +0 -661
  136. data/lib/wx/doc/gen/graphics_context.rb +0 -1184
  137. data/lib/wx/doc/gen/graphics_object.rb +0 -750
  138. data/lib/wx/doc/gen/grid/event_list.rb +0 -191
  139. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +0 -40
  140. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +0 -280
  141. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +0 -35
  142. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +0 -37
  143. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +0 -49
  144. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +0 -35
  145. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +0 -46
  146. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +0 -38
  147. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +0 -45
  148. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +0 -40
  149. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +0 -197
  150. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +0 -39
  151. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +0 -44
  152. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +0 -45
  153. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +0 -79
  154. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +0 -46
  155. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +0 -35
  156. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +0 -108
  157. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +0 -35
  158. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +0 -49
  159. data/lib/wx/doc/gen/grid/grid_ctrl.rb +0 -3037
  160. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +0 -95
  161. data/lib/wx/doc/gen/grid/grid_event.rb +0 -129
  162. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +0 -104
  163. data/lib/wx/doc/gen/grid/grid_size_event.rb +0 -85
  164. data/lib/wx/doc/gen/grid/grid_string_table.rb +0 -142
  165. data/lib/wx/doc/gen/grid/grid_table_base.rb +0 -317
  166. data/lib/wx/doc/gen/grid/grid_table_message.rb +0 -81
  167. data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -323
  168. data/lib/wx/doc/gen/grid_sizer.rb +0 -195
  169. data/lib/wx/doc/gen/gui_event_loop.rb +0 -159
  170. data/lib/wx/doc/gen/h_scrolled_window.rb +0 -562
  171. data/lib/wx/doc/gen/header_ctrl.rb +0 -880
  172. data/lib/wx/doc/gen/header_ctrl_event.rb +0 -133
  173. data/lib/wx/doc/gen/help_controller.rb +0 -238
  174. data/lib/wx/doc/gen/help_provider.rb +0 -98
  175. data/lib/wx/doc/gen/html/event_list.rb +0 -38
  176. data/lib/wx/doc/gen/html/html_cell.rb +0 -536
  177. data/lib/wx/doc/gen/html/html_cell_event.rb +0 -69
  178. data/lib/wx/doc/gen/html/html_data_object.rb +0 -42
  179. data/lib/wx/doc/gen/html/html_easy_printing.rb +0 -203
  180. data/lib/wx/doc/gen/html/html_help_controller.rb +0 -382
  181. data/lib/wx/doc/gen/html/html_help_data.rb +0 -159
  182. data/lib/wx/doc/gen/html/html_help_window.rb +0 -258
  183. data/lib/wx/doc/gen/html/html_link_event.rb +0 -41
  184. data/lib/wx/doc/gen/html/html_list_box.rb +0 -346
  185. data/lib/wx/doc/gen/html/html_printout.rb +0 -109
  186. data/lib/wx/doc/gen/html/html_window.rb +0 -461
  187. data/lib/wx/doc/gen/hyperlink_ctrl.rb +0 -311
  188. data/lib/wx/doc/gen/hyperlink_event.rb +0 -44
  189. data/lib/wx/doc/gen/icon.rb +0 -267
  190. data/lib/wx/doc/gen/icon_location.rb +0 -40
  191. data/lib/wx/doc/gen/image.rb +0 -1371
  192. data/lib/wx/doc/gen/image_list.rb +0 -168
  193. data/lib/wx/doc/gen/info_bar.rb +0 -195
  194. data/lib/wx/doc/gen/keyboard_state.rb +0 -140
  195. data/lib/wx/doc/gen/list_box.rb +0 -304
  196. data/lib/wx/doc/gen/list_ctrl.rb +0 -1774
  197. data/lib/wx/doc/gen/list_event.rb +0 -208
  198. data/lib/wx/doc/gen/listbook.rb +0 -116
  199. data/lib/wx/doc/gen/locale.rb +0 -4293
  200. data/lib/wx/doc/gen/log.rb +0 -603
  201. data/lib/wx/doc/gen/mb_conv.rb +0 -10
  202. data/lib/wx/doc/gen/mdi_client_window.rb +0 -47
  203. data/lib/wx/doc/gen/mdi_frame.rb +0 -324
  204. data/lib/wx/doc/gen/media_ctrl.rb +0 -269
  205. data/lib/wx/doc/gen/media_event.rb +0 -117
  206. data/lib/wx/doc/gen/memory_dc.rb +0 -174
  207. data/lib/wx/doc/gen/menu.rb +0 -509
  208. data/lib/wx/doc/gen/menu_bar.rb +0 -287
  209. data/lib/wx/doc/gen/menu_item.rb +0 -362
  210. data/lib/wx/doc/gen/message_dialog.rb +0 -238
  211. data/lib/wx/doc/gen/mini_frame.rb +0 -108
  212. data/lib/wx/doc/gen/mirror_dc.rb +0 -22
  213. data/lib/wx/doc/gen/mouse_state.rb +0 -150
  214. data/lib/wx/doc/gen/multi_choice_dialog.rb +0 -80
  215. data/lib/wx/doc/gen/non_owned_window.rb +0 -49
  216. data/lib/wx/doc/gen/notebook.rb +0 -278
  217. data/lib/wx/doc/gen/num_validator.rb +0 -37
  218. data/lib/wx/doc/gen/number_entry_dialog.rb +0 -93
  219. data/lib/wx/doc/gen/object.rb +0 -59
  220. data/lib/wx/doc/gen/owner_drawn_combo_box.rb +0 -395
  221. data/lib/wx/doc/gen/paint_dc.rb +0 -27
  222. data/lib/wx/doc/gen/palette.rb +0 -92
  223. data/lib/wx/doc/gen/panel.rb +0 -127
  224. data/lib/wx/doc/gen/pen.rb +0 -511
  225. data/lib/wx/doc/gen/persistence_manager.rb +0 -135
  226. data/lib/wx/doc/gen/persistent_object.rb +0 -52
  227. data/lib/wx/doc/gen/persistent_window.rb +0 -241
  228. data/lib/wx/doc/gen/pg/event_list.rb +0 -106
  229. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +0 -54
  230. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +0 -292
  231. data/lib/wx/doc/gen/pg/pg_cell.rb +0 -177
  232. data/lib/wx/doc/gen/pg/pg_editor.rb +0 -721
  233. data/lib/wx/doc/gen/pg/pg_multi_button.rb +0 -152
  234. data/lib/wx/doc/gen/pg/pg_properties.rb +0 -2829
  235. data/lib/wx/doc/gen/pg/pg_property.rb +0 -2078
  236. data/lib/wx/doc/gen/pg/pg_validation_info.rb +0 -344
  237. data/lib/wx/doc/gen/pg/property_grid.rb +0 -740
  238. data/lib/wx/doc/gen/pg/property_grid_event.rb +0 -184
  239. data/lib/wx/doc/gen/pg/property_grid_interface.rb +0 -1098
  240. data/lib/wx/doc/gen/pg/property_grid_manager.rb +0 -415
  241. data/lib/wx/doc/gen/pg/property_grid_page.rb +0 -354
  242. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +0 -165
  243. data/lib/wx/doc/gen/picker_base.rb +0 -152
  244. data/lib/wx/doc/gen/platform_info.rb +0 -622
  245. data/lib/wx/doc/gen/popup_window.rb +0 -107
  246. data/lib/wx/doc/gen/progress_dialog.rb +0 -100
  247. data/lib/wx/doc/gen/property_sheet_dialog.rb +0 -216
  248. data/lib/wx/doc/gen/prt/event_list.rb +0 -17
  249. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +0 -44
  250. data/lib/wx/doc/gen/prt/post_script_dc.rb +0 -30
  251. data/lib/wx/doc/gen/prt/preview_frame.rb +0 -78
  252. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +0 -151
  253. data/lib/wx/doc/gen/prt/print_data.rb +0 -804
  254. data/lib/wx/doc/gen/prt/print_dialog.rb +0 -55
  255. data/lib/wx/doc/gen/prt/printer.rb +0 -518
  256. data/lib/wx/doc/gen/prt/printer_dc.rb +0 -37
  257. data/lib/wx/doc/gen/query_layout_info_event.rb +0 -106
  258. data/lib/wx/doc/gen/radio_box.rb +0 -306
  259. data/lib/wx/doc/gen/radio_button.rb +0 -159
  260. data/lib/wx/doc/gen/rbn/event_list.rb +0 -136
  261. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +0 -1142
  262. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +0 -308
  263. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +0 -45
  264. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +0 -458
  265. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +0 -63
  266. data/lib/wx/doc/gen/rbn/ribbon_control.rb +0 -143
  267. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +0 -229
  268. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +0 -55
  269. data/lib/wx/doc/gen/rbn/ribbon_page.rb +0 -174
  270. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +0 -270
  271. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +0 -45
  272. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +0 -360
  273. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +0 -42
  274. data/lib/wx/doc/gen/rearrange_ctrl.rb +0 -78
  275. data/lib/wx/doc/gen/rearrange_list.rb +0 -123
  276. data/lib/wx/doc/gen/region.rb +0 -380
  277. data/lib/wx/doc/gen/region_iterator.rb +0 -76
  278. data/lib/wx/doc/gen/rich_tool_tip.rb +0 -154
  279. data/lib/wx/doc/gen/rt/event_list.rb +0 -17
  280. data/lib/wx/doc/gen/rt/shared_evt_handler.rb +0 -14
  281. data/lib/wx/doc/gen/rt/thread_event.rb +0 -71
  282. data/lib/wx/doc/gen/rtc/event_list.rb +0 -125
  283. data/lib/wx/doc/gen/rtc/rich_text_box.rb +0 -445
  284. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +0 -1188
  285. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +0 -41
  286. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +0 -538
  287. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +0 -2103
  288. data/lib/wx/doc/gen/rtc/rich_text_event.rb +0 -173
  289. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +0 -181
  290. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +0 -319
  291. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +0 -193
  292. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +0 -102
  293. data/lib/wx/doc/gen/rtc/rich_text_image.rb +0 -337
  294. data/lib/wx/doc/gen/rtc/rich_text_object.rb +0 -2922
  295. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +0 -1240
  296. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +0 -258
  297. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +0 -344
  298. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +0 -227
  299. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +0 -59
  300. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +0 -169
  301. data/lib/wx/doc/gen/sash_event.rb +0 -147
  302. data/lib/wx/doc/gen/sash_layout_window.rb +0 -232
  303. data/lib/wx/doc/gen/sash_window.rb +0 -171
  304. data/lib/wx/doc/gen/scaled_dc.rb +0 -10
  305. data/lib/wx/doc/gen/screen_dc.rb +0 -30
  306. data/lib/wx/doc/gen/scroll_bar.rb +0 -204
  307. data/lib/wx/doc/gen/scrolled_canvas.rb +0 -410
  308. data/lib/wx/doc/gen/scrolled_control.rb +0 -410
  309. data/lib/wx/doc/gen/scrolled_window.rb +0 -430
  310. data/lib/wx/doc/gen/search_ctrl.rb +0 -159
  311. data/lib/wx/doc/gen/secret_store.rb +0 -116
  312. data/lib/wx/doc/gen/simplebook.rb +0 -110
  313. data/lib/wx/doc/gen/single_choice_dialog.rb +0 -89
  314. data/lib/wx/doc/gen/sizer.rb +0 -945
  315. data/lib/wx/doc/gen/sizer_item.rb +0 -244
  316. data/lib/wx/doc/gen/slider.rb +0 -342
  317. data/lib/wx/doc/gen/spin_button.rb +0 -157
  318. data/lib/wx/doc/gen/spin_ctrl.rb +0 -231
  319. data/lib/wx/doc/gen/spin_ctrl_double.rb +0 -192
  320. data/lib/wx/doc/gen/spin_double_event.rb +0 -55
  321. data/lib/wx/doc/gen/spin_event.rb +0 -51
  322. data/lib/wx/doc/gen/splash_screen.rb +0 -113
  323. data/lib/wx/doc/gen/splitter_event.rb +0 -99
  324. data/lib/wx/doc/gen/splitter_window.rb +0 -498
  325. data/lib/wx/doc/gen/static_bitmap.rb +0 -256
  326. data/lib/wx/doc/gen/static_box.rb +0 -180
  327. data/lib/wx/doc/gen/static_box_sizer.rb +0 -85
  328. data/lib/wx/doc/gen/static_line.rb +0 -83
  329. data/lib/wx/doc/gen/static_text.rb +0 -127
  330. data/lib/wx/doc/gen/status_bar.rb +0 -290
  331. data/lib/wx/doc/gen/stc/event_list.rb +0 -221
  332. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +0 -4474
  333. data/lib/wx/doc/gen/stc/styled_text_event.rb +0 -8762
  334. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -129
  335. data/lib/wx/doc/gen/svg_file_dc.rb +0 -164
  336. data/lib/wx/doc/gen/system_options.rb +0 -129
  337. data/lib/wx/doc/gen/system_settings.rb +0 -507
  338. data/lib/wx/doc/gen/task_bar_icon.rb +0 -127
  339. data/lib/wx/doc/gen/task_bar_icon_event.rb +0 -88
  340. data/lib/wx/doc/gen/text_attr.rb +0 -756
  341. data/lib/wx/doc/gen/text_ctrl.rb +0 -1033
  342. data/lib/wx/doc/gen/text_entry.rb +0 -441
  343. data/lib/wx/doc/gen/text_entry_dialog.rb +0 -220
  344. data/lib/wx/doc/gen/text_validator.rb +0 -245
  345. data/lib/wx/doc/gen/time_picker_ctrl.rb +0 -128
  346. data/lib/wx/doc/gen/timer.rb +0 -119
  347. data/lib/wx/doc/gen/timer_event.rb +0 -68
  348. data/lib/wx/doc/gen/tip_provider.rb +0 -63
  349. data/lib/wx/doc/gen/tip_window.rb +0 -51
  350. data/lib/wx/doc/gen/toggle_button.rb +0 -182
  351. data/lib/wx/doc/gen/tool_bar.rb +0 -890
  352. data/lib/wx/doc/gen/tool_tip.rb +0 -86
  353. data/lib/wx/doc/gen/toolbook.rb +0 -118
  354. data/lib/wx/doc/gen/top_level_window.rb +0 -516
  355. data/lib/wx/doc/gen/tree_ctrl.rb +0 -1052
  356. data/lib/wx/doc/gen/tree_event.rb +0 -127
  357. data/lib/wx/doc/gen/treebook.rb +0 -180
  358. data/lib/wx/doc/gen/ui_action_simulator.rb +0 -109
  359. data/lib/wx/doc/gen/utils.rb +0 -273
  360. data/lib/wx/doc/gen/v_list_box.rb +0 -272
  361. data/lib/wx/doc/gen/v_scrolled_canvas.rb +0 -195
  362. data/lib/wx/doc/gen/v_scrolled_window.rb +0 -191
  363. data/lib/wx/doc/gen/validator.rb +0 -68
  364. data/lib/wx/doc/gen/variant.rb +0 -294
  365. data/lib/wx/doc/gen/web/event_list.rb +0 -95
  366. data/lib/wx/doc/gen/web/web_view.rb +0 -1136
  367. data/lib/wx/doc/gen/web/web_view_event.rb +0 -210
  368. data/lib/wx/doc/gen/web/web_view_handler.rb +0 -318
  369. data/lib/wx/doc/gen/window.rb +0 -2917
  370. data/lib/wx/doc/gen/window_dc.rb +0 -38
  371. data/lib/wx/doc/gen/window_disabler.rb +0 -30
  372. data/lib/wx/doc/gen/with_images.rb +0 -84
  373. data/lib/wx/doc/gen/wizard.rb +0 -257
  374. data/lib/wx/doc/gen/wizard_event.rb +0 -113
  375. data/lib/wx/doc/gen/wizard_page.rb +0 -65
  376. data/lib/wx/doc/gen/wizard_page_simple.rb +0 -88
  377. data/lib/wx/doc/gen/wrap_sizer.rb +0 -79
  378. data/lib/wx/doc/gen/xml_node.rb +0 -316
  379. data/lib/wx/doc/gen/xml_resource.rb +0 -320
  380. data/lib/wx/grid/events/evt_list.rb +0 -166
  381. data/lib/wx/html/events/evt_list.rb +0 -27
  382. data/lib/wx/pg/events/evt_list.rb +0 -73
  383. data/lib/wx/rbn/events/evt_list.rb +0 -102
  384. data/lib/wx/rt/events/evt_list.rb +0 -8
  385. data/lib/wx/rtc/events/evt_list.rb +0 -98
  386. data/lib/wx/rtc/ext/rich_text_ctrl.rb +0 -24
  387. data/lib/wx/stc/events/evt_list.rb +0 -178
  388. data/lib/wx/web/events/evt_list.rb +0 -74
  389. data/samples/art/wxruby-512x512.png +0 -0
  390. data/tests/assets/test.css +0 -1
  391. data/tests/assets/test.html +0 -9
@@ -1,890 +0,0 @@
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
- # @wxrb_require USE_TOOLBAR
14
- class ToolBarToolStyle < Wx::Enum
15
-
16
- #
17
- #
18
- TOOL_STYLE_BUTTON = Wx::ToolBarToolStyle.new(1)
19
-
20
- #
21
- #
22
- TOOL_STYLE_SEPARATOR = Wx::ToolBarToolStyle.new(2)
23
-
24
- #
25
- #
26
- TOOL_STYLE_CONTROL = Wx::ToolBarToolStyle.new(3)
27
-
28
- end # ToolBarToolStyle
29
-
30
- # lay out the toolbar horizontally
31
- #
32
- TB_HORIZONTAL = 4
33
-
34
- #
35
- #
36
- TB_TOP = 4
37
-
38
- # lay out the toolbar vertically
39
- #
40
- TB_VERTICAL = 8
41
-
42
- #
43
- #
44
- TB_LEFT = 8
45
-
46
- # "flat" buttons (Win32/GTK only)
47
- #
48
- TB_FLAT = 32
49
-
50
- # dockable toolbar (GTK only)
51
- #
52
- TB_DOCKABLE = 64
53
-
54
- # don't show the icons (they're shown by default)
55
- #
56
- TB_NOICONS = 128
57
-
58
- # show the text (not shown by default)
59
- #
60
- TB_TEXT = 256
61
-
62
- # don't show the divider between toolbar and the window (Win32 only)
63
- #
64
- TB_NODIVIDER = 512
65
-
66
- # no automatic alignment (Win32 only, useless)
67
- #
68
- TB_NOALIGN = 1024
69
-
70
- # show the text and the icons alongside, not vertically stacked (Win32/GTK)
71
- #
72
- TB_HORZ_LAYOUT = 2048
73
-
74
- #
75
- #
76
- TB_HORZ_TEXT = 2304
77
-
78
- # don't show the toolbar short help tooltips
79
- #
80
- TB_NO_TOOLTIPS = 4096
81
-
82
- # lay out toolbar at the bottom of the window
83
- #
84
- TB_BOTTOM = 8192
85
-
86
- # lay out toolbar at the right edge of the window
87
- #
88
- TB_RIGHT = 16384
89
-
90
- # flags that are closest to the native look
91
- #
92
- TB_DEFAULT_STYLE = 4
93
-
94
- # A toolbar is a bar of buttons and/or other controls usually placed below the menu bar in a {Wx::Frame}.
95
- #
96
- # You may create a toolbar that is managed by a frame calling {Wx::Frame#create_tool_bar}. Where you manage your own toolbars, create {Wx::ToolBar} as usual.
97
- # There are several different types of tools you can add to a toolbar. These types are controlled by the {Wx::ItemKind} enumeration.
98
- # 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.
99
- # After you have added all the tools you need, you must call {Wx::ToolBar#realize} to effectively construct and display the toolbar.
100
- # <b>WXMSW note</b>: Note that under WXMSW 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:
101
- # ```ruby
102
- # Wx::SystemOptions.set_option('msw.remap', 0)
103
- # ```
104
- # If you wish to use 32-bit images (which include an alpha channel for transparency) use:
105
- # ```ruby
106
- # Wx::SystemOptions.set_option('msw.remap', 2)
107
- # ```
108
- # Then colour remapping is switched off, and a transparent background used.
109
- # ### Styles
110
- #
111
- # This class supports the following styles:
112
- #
113
- # - {Wx::TB_FLAT}: Gives the toolbar a flat look (Windows and GTK only).
114
- #
115
- # - {Wx::TB_DOCKABLE}: Makes the toolbar floatable and dockable (GTK only).
116
- #
117
- # - {Wx::TB_HORIZONTAL}: Specifies horizontal layout (default).
118
- #
119
- # - {Wx::TB_VERTICAL}: Specifies vertical layout.
120
- #
121
- # - {Wx::TB_TEXT}: Shows the text in the toolbar buttons; by default only icons are shown.
122
- #
123
- # - {Wx::TB_NOICONS}: Specifies no icons in the toolbar buttons; by default they are shown.
124
- #
125
- # - {Wx::TB_NODIVIDER}: Specifies no divider (border) above the toolbar (Windows only)
126
- #
127
- # - {Wx::TB_NOALIGN}: Specifies no alignment with the parent window (Windows only, not very useful).
128
- #
129
- # - {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}.
130
- #
131
- # - {Wx::TB_HORZ_TEXT}: Combination of {Wx::TB_HORZ_LAYOUT} and {Wx::TB_TEXT}.
132
- #
133
- # - {Wx::TB_NO_TOOLTIPS}: Don't show the short help tooltips for the tools when the mouse hovers over them.
134
- #
135
- # - {Wx::TB_BOTTOM}: Align the toolbar at the bottom of parent window.
136
- #
137
- # - {Wx::TB_RIGHT}: Align the toolbar at the right side of parent window.
138
- #
139
- # - {Wx::TB_DEFAULT_STYLE}: The {Wx::TB_HORIZONTAL} style. This style is new since wxWidgets 2.9.5.
140
- #
141
- # See also Window Styles. Note that the WXMSW native toolbar ignores {Wx::TB_NOICONS} style. Also, toggling the {Wx::TB_TEXT} works only if the style was initially on.
142
- # ### Events emitted by this class
143
- #
144
- # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
145
- # Event handler methods for events emitted by this class:
146
- #
147
- # - {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.
148
- #
149
- # - {Wx::EvtHandler#evt_menu}(id, meth = nil, &block): The same as EVT_TOOL().
150
- #
151
- # - {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.
152
- #
153
- # - {Wx::EvtHandler#evt_menu_range}(id1, id2, meth = nil, &block): The same as EVT_TOOL_RANGE().
154
- #
155
- # - {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 WXOSX.)
156
- #
157
- # - {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 WXOSX.)
158
- #
159
- # - {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 WXOSX.)
160
- #
161
- # - {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}.
162
- #
163
- # 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.
164
- #
165
- # Category: Miscellaneous Windows
166
- # @see Toolbar Overview
167
- #
168
- #
169
- # @wxrb_require USE_TOOLBAR
170
- class ToolBar < Control
171
-
172
- # @overload add_tool(toolId, label, bitmap, shortHelp=(''), kind=Wx::ItemKind::ITEM_NORMAL)
173
- # Adds a tool to the toolbar.
174
- #
175
- # This most commonly used version has fewer parameters than the full version below which specifies the more rarely used button features.
176
- #
177
- # <div class="wxrb-remark">
178
- # <b>Remark:</b>
179
- # <p>After you have added tools to a toolbar, you must call {Wx::ToolBar#realize} in order to have the tools appear.
180
- # </p>
181
- # </div>
182
- # @see Wx::ToolBar#add_separator
183
- # @see Wx::ToolBar#add_check_tool
184
- # @see Wx::ToolBar#add_radio_tool
185
- # @see Wx::ToolBar#insert_tool
186
- # @see Wx::ToolBar#delete_tool
187
- # @see Wx::ToolBar#realize
188
- # @see Wx::ToolBar#set_dropdown_menu
189
- # @param toolId [Integer] An integer by which the tool may be identified in subsequent operations.
190
- # @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.
191
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] The primary tool bitmap.
192
- # @param shortHelp [String] This string is used for the tools tooltip.
193
- # @param kind [Wx::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.
194
- # @return [Wx::ToolBarToolBase]
195
- # @overload add_tool(toolId, label, bitmap, bmpDisabled, kind=Wx::ItemKind::ITEM_NORMAL, shortHelp=(''), longHelp=(''), clientData=nil)
196
- # Adds a tool to the toolbar.
197
- #
198
- # <div class="wxrb-remark">
199
- # <b>Remark:</b>
200
- # <p>After you have added tools to a toolbar, you must call {Wx::ToolBar#realize} in order to have the tools appear.
201
- # </p>
202
- # </div>
203
- # @see Wx::ToolBar#add_separator
204
- # @see Wx::ToolBar#add_check_tool
205
- # @see Wx::ToolBar#add_radio_tool
206
- # @see Wx::ToolBar#insert_tool
207
- # @see Wx::ToolBar#delete_tool
208
- # @see Wx::ToolBar#realize
209
- # @see Wx::ToolBar#set_dropdown_menu
210
- # @param toolId [Integer] An integer by which the tool may be identified in subsequent operations.
211
- # @param label [String] The string to be displayed with the tool.
212
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] The primary tool bitmap.
213
- # @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.
214
- # @param kind [Wx::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.
215
- # @param shortHelp [String] This string is used for the tools tooltip.
216
- # @param longHelp [String] This string is shown in the statusbar (if any) of the parent frame when the mouse pointer is inside the tool.
217
- # @param clientData [Wx::Object] An optional pointer to client data which can be retrieved later using {Wx::ToolBar#get_tool_client_data}.
218
- # @return [Wx::ToolBarToolBase]
219
- def add_tool(*args) end
220
-
221
- # Inserts the tool with the specified attributes into the toolbar at the given position.
222
- #
223
- # You must call {Wx::ToolBar#realize} for the change to take place.
224
- #
225
- # The newly inserted tool or nil on failure. Notice that with the overload taking tool parameter the caller is responsible for deleting the tool in the latter case.
226
- # @see Wx::ToolBar#add_tool
227
- # @see Wx::ToolBar#insert_control
228
- # @see Wx::ToolBar#insert_separator
229
- # @param pos [Integer]
230
- # @param toolId [Integer]
231
- # @param label [String]
232
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
233
- # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
234
- # @param kind [Wx::ItemKind]
235
- # @param shortHelp [String]
236
- # @param longHelp [String]
237
- # @param clientData [Wx::Object]
238
- # @return [Wx::ToolBarToolBase]
239
- def insert_tool(pos, toolId, label, bitmap, bmpDisabled=Wx::NULL_BITMAP, kind=Wx::ItemKind::ITEM_NORMAL, shortHelp=(''), longHelp=(''), clientData=nil) end
240
-
241
- # @overload set_margins(x, y)
242
- # Set the values to be used as margins for the toolbar.
243
- #
244
- # <div class="wxrb-remark">
245
- # <b>Remark:</b>
246
- # <p>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.
247
- # </p>
248
- # </div>
249
- # @see Wx::ToolBar#get_margins
250
- # @param x [Integer] Left margin, right margin and inter-tool separation value.
251
- # @param y [Integer] Top margin, bottom margin and inter-tool separation value.
252
- # @return [void]
253
- # @overload set_margins(size)
254
- # Set the margins for the toolbar.
255
- #
256
- # <div class="wxrb-remark">
257
- # <b>Remark:</b>
258
- # <p>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.
259
- # </p>
260
- # </div>
261
- # @see Wx::ToolBar#get_margins
262
- # @see Wx::Size
263
- # @param size [Array(Integer, Integer), Wx::Size] Margin size.
264
- # @return [void]
265
- def set_margins(*args) end
266
- alias_method :margins=, :set_margins
267
-
268
- # @overload initialize()
269
- # Default constructor.
270
- # @return [Wx::ToolBar]
271
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TB_HORIZONTAL, name=Wx::TOOL_BAR_NAME_STR)
272
- # Constructs a toolbar.
273
- #
274
- # <div class="wxrb-remark">
275
- # <b>Remark:</b>
276
- # <p>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.
277
- # </p>
278
- # </div>
279
- # @param parent [Wx::Window] Pointer to a parent window.
280
- # @param id [Integer] Window identifier. If -1, will automatically create an identifier.
281
- # @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.
282
- # @param size [Array(Integer, Integer), Wx::Size] Window size. {Wx::DEFAULT_SIZE} indicates that wxWidgets should generate a default size for the window.
283
- # @param style [Integer] Window style. See {Wx::ToolBar} initial description for details.
284
- # @param name [String] Window name.
285
- # @return [Wx::ToolBar]
286
- # @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TB_HORIZONTAL, name=Wx::TOOL_BAR_NAME_STR, &block)
287
- # Constructs a toolbar.
288
- #
289
- # <div class="wxrb-remark">
290
- # <b>Remark:</b>
291
- # <p>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.
292
- # </p>
293
- # </div>
294
- # @param parent [Wx::Window] Pointer to a parent window.
295
- # @param id [Integer] Window identifier. If -1, will automatically create an identifier.
296
- # @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.
297
- # @param size [Array(Integer, Integer), Wx::Size] Window size. {Wx::DEFAULT_SIZE} indicates that wxWidgets should generate a default size for the window.
298
- # @param style [Integer] Window style. See {Wx::ToolBar} initial description for details.
299
- # @param name [String] Window name.
300
- # @yieldparam [Wx::ToolBar] win new instance
301
- # @return [Wx::ToolBar]
302
- def initialize(*args) end
303
-
304
- # Adds a new check (or toggle) tool to the toolbar.
305
- #
306
- # The parameters are the same as in {Wx::ToolBar#add_tool}.
307
- # @see Wx::ToolBar#add_tool
308
- # @param toolId [Integer]
309
- # @param label [String]
310
- # @param bitmap1 [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
311
- # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
312
- # @param shortHelp [String]
313
- # @param longHelp [String]
314
- # @param clientData [Wx::Object]
315
- # @return [Wx::ToolBarToolBase]
316
- def add_check_tool(toolId, label, bitmap1, bmpDisabled=Wx::NULL_BITMAP, shortHelp=(''), longHelp=(''), clientData=nil) end
317
-
318
- # Adds any control to the toolbar, typically e.g. a {Wx::ComboBox}.
319
- #
320
- # <div class="wxrb-remark">
321
- # <b>Remark:</b>
322
- # <p>WXOSX: labels are only displayed if wxWidgets is built with WXOSX_USE_NATIVE_TOOLBAR set to 1 (which is the default).
323
- # </p>
324
- # </div>
325
- # @param control [Wx::Control] The control to be added.
326
- # @param label [String] Text to be displayed near the control.
327
- # @return [Wx::ToolBarToolBase]
328
- def add_control(control, label=('')) end
329
-
330
- # Adds a new radio tool to the toolbar.
331
- #
332
- # 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.
333
- # By default, the first button in the radio group is initially pressed, the others are not.
334
- # @see Wx::ToolBar#add_tool
335
- # @param toolId [Integer]
336
- # @param label [String]
337
- # @param bitmap1 [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
338
- # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
339
- # @param shortHelp [String]
340
- # @param longHelp [String]
341
- # @param clientData [Wx::Object]
342
- # @return [Wx::ToolBarToolBase]
343
- def add_radio_tool(toolId, label, bitmap1, bmpDisabled=Wx::NULL_BITMAP, shortHelp=(''), longHelp=(''), clientData=nil) end
344
-
345
- # Adds a separator for spacing groups of tools.
346
- #
347
- # 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.
348
- # @see Wx::ToolBar#add_tool
349
- # @see Wx::ToolBar#set_tool_separation
350
- # @see Wx::ToolBar#add_stretchable_space
351
- # @return [Wx::ToolBarToolBase]
352
- def add_separator; end
353
-
354
- # Adds a stretchable space to the toolbar.
355
- #
356
- # 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.
357
- # @see Wx::ToolBar#add_tool
358
- # @see Wx::ToolBar#add_separator
359
- # @see Wx::ToolBar#insert_stretchable_space
360
- # @return [Wx::ToolBarToolBase]
361
- def add_stretchable_space; end
362
-
363
- # Deletes all the tools in the toolbar.
364
- # @return [void]
365
- def clear_tools; end
366
-
367
- # Removes the specified tool from the toolbar and deletes it.
368
- #
369
- # 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.
370
- #
371
- # <div class="wxrb-note">
372
- # <b>Note:</b>
373
- # <p>It is unnecessary to call {Wx::ToolBar#realize} for the change to take place, it will happen immediately.
374
- # </p>
375
- # </div>
376
- #
377
- # true if the tool was deleted, false otherwise.
378
- # @see Wx::ToolBar#delete_tool_by_pos
379
- # @param toolId [Integer]
380
- # @return [Boolean]
381
- def delete_tool(toolId) end
382
-
383
- # 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.
384
- # @param pos [Integer]
385
- # @return [Boolean]
386
- def delete_tool_by_pos(pos) end
387
-
388
- # Enables or disables the tool.
389
- #
390
- # <div class="wxrb-remark">
391
- # <b>Remark:</b>
392
- # <p>Some implementations will change the visible state of the tool to indicate that it is disabled.
393
- # </p>
394
- # </div>
395
- # @see Wx::ToolBar#get_tool_enabled
396
- # @see Wx::ToolBar#toggle_tool
397
- # @param toolId [Integer] ID of the tool to enable or disable, as passed to {Wx::ToolBar#add_tool}.
398
- # @param enable [Boolean] If true, enables the tool, otherwise disables it.
399
- # @return [void]
400
- def enable_tool(toolId, enable) end
401
-
402
- # Returns a pointer to the tool identified by id or nil if no corresponding tool is found.
403
- # @param id [Integer]
404
- # @return [Wx::ToolBarToolBase]
405
- def find_by_id(id) end
406
-
407
- # Returns a pointer to the control identified by id or nil if no corresponding control is found.
408
- # @param id [Integer]
409
- # @return [Wx::Control]
410
- def find_control(id) end
411
-
412
- # Finds a tool for the given mouse position.
413
- #
414
- # A pointer to a tool if a tool is found, or nil otherwise.
415
- #
416
- # <div class="wxrb-remark">
417
- # <b>Remark:</b>
418
- # <p>Currently not implemented in WXGTK (always returns nil there).
419
- # </p>
420
- # </div>
421
- # @param x [Integer] X position.
422
- # @param y [Integer] Y position.
423
- # @return [Wx::ToolBarToolBase]
424
- def find_tool_for_position(x, y) end
425
-
426
- # Returns the left/right and top/bottom margins, which are also used for inter-toolspacing.
427
- #
428
- #
429
- # @see Wx::ToolBar#set_margins
430
- # @return [Wx::Size]
431
- def get_margins; end
432
- alias_method :margins, :get_margins
433
-
434
- # Returns the size of bitmap that the toolbar expects to have.
435
- #
436
- # 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.
437
- # 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.
438
- #
439
- # <div class="wxrb-remark">
440
- # <b>Remark:</b>
441
- # <p>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.
442
- # </p>
443
- # </div>
444
- # @see Wx::ToolBar#set_tool_bitmap_size
445
- # @see Wx::ToolBar#get_tool_size
446
- # @return [Wx::Size]
447
- def get_tool_bitmap_size; end
448
- alias_method :tool_bitmap_size, :get_tool_bitmap_size
449
-
450
- # @param pos [Integer]
451
- # @return [Wx::ToolBarToolBase]
452
- def get_tool_by_pos(pos) end
453
- alias_method :tool_by_pos, :get_tool_by_pos
454
-
455
- # Get any client data associated with the tool.
456
- #
457
- # Client data, or nil if there is none.
458
- # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
459
- # @return [Wx::Object]
460
- def get_tool_client_data(toolId) end
461
- alias_method :tool_client_data, :get_tool_client_data
462
-
463
- # Called to determine whether a tool is enabled (responds to user input).
464
- #
465
- # true if the tool is enabled, false otherwise.
466
- # @see Wx::ToolBar#enable_tool
467
- # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
468
- # @return [Boolean]
469
- def get_tool_enabled(toolId) end
470
- alias_method :tool_enabled, :get_tool_enabled
471
-
472
- # Returns the long help for the given tool.
473
- #
474
- #
475
- # @see Wx::ToolBar#set_tool_long_help
476
- # @see Wx::ToolBar#set_tool_short_help
477
- # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
478
- # @return [String]
479
- def get_tool_long_help(toolId) end
480
- alias_method :tool_long_help, :get_tool_long_help
481
-
482
- # Returns the value used for packing tools.
483
- #
484
- #
485
- # @see Wx::ToolBar#set_tool_packing
486
- # @return [Integer]
487
- def get_tool_packing; end
488
- alias_method :tool_packing, :get_tool_packing
489
-
490
- # Returns the tool position in the toolbar, or {Wx::NOT_FOUND} if the tool is not found.
491
- # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
492
- # @return [Integer]
493
- def get_tool_pos(toolId) end
494
- alias_method :tool_pos, :get_tool_pos
495
-
496
- # Returns the default separator size.
497
- #
498
- #
499
- # @see Wx::ToolBar#set_tool_separation
500
- # @return [Integer]
501
- def get_tool_separation; end
502
- alias_method :tool_separation, :get_tool_separation
503
-
504
- # Returns the short help for the given tool.
505
- #
506
- #
507
- # @see Wx::ToolBar#get_tool_long_help
508
- # @see Wx::ToolBar#set_tool_short_help
509
- # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
510
- # @return [String]
511
- def get_tool_short_help(toolId) end
512
- alias_method :tool_short_help, :get_tool_short_help
513
-
514
- # Returns the size of a whole button, which is usually larger than a tool bitmap because of added 3D effects.
515
- #
516
- #
517
- # @see Wx::ToolBar#set_tool_bitmap_size
518
- # @see Wx::ToolBar#get_tool_bitmap_size
519
- # @return [Wx::Size]
520
- def get_tool_size; end
521
- alias_method :tool_size, :get_tool_size
522
-
523
- # Gets the on/off state of a toggle tool.
524
- #
525
- # true if the tool is toggled on, false otherwise.
526
- # @see Wx::ToolBar#toggle_tool
527
- # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
528
- # @return [Boolean]
529
- def get_tool_state(toolId) end
530
- alias_method :tool_state, :get_tool_state
531
-
532
- # Returns the number of tools in the toolbar.
533
- # @return [Integer]
534
- def get_tools_count; end
535
- alias_method :tools_count, :get_tools_count
536
-
537
- # Inserts the control into the toolbar at the given position.
538
- #
539
- # You must call {Wx::ToolBar#realize} for the change to take place.
540
- # @see Wx::ToolBar#add_control
541
- # @see Wx::ToolBar#insert_tool
542
- # @param pos [Integer]
543
- # @param control [Wx::Control]
544
- # @param label [String]
545
- # @return [Wx::ToolBarToolBase]
546
- def insert_control(pos, control, label=('')) end
547
-
548
- # Inserts the separator into the toolbar at the given position.
549
- #
550
- # You must call {Wx::ToolBar#realize} for the change to take place.
551
- # @see Wx::ToolBar#add_separator
552
- # @see Wx::ToolBar#insert_tool
553
- # @param pos [Integer]
554
- # @return [Wx::ToolBarToolBase]
555
- def insert_separator(pos) end
556
-
557
- # Inserts a stretchable space at the given position.
558
- #
559
- # See {Wx::ToolBar#add_stretchable_space} for details about stretchable spaces.
560
- # @see Wx::ToolBar#insert_tool
561
- # @see Wx::ToolBar#insert_separator
562
- # @param pos [Integer]
563
- # @return [Wx::ToolBarToolBase]
564
- def insert_stretchable_space(pos) end
565
-
566
- # Called when the user clicks on a tool with the left mouse button.
567
- #
568
- # 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.
569
- #
570
- # 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.
571
- # @see Wx::ToolBar#on_mouse_enter
572
- # @see Wx::ToolBar#on_right_click
573
- # @param toolId [Integer] The identifier passed to {Wx::ToolBar#add_tool}.
574
- # @param toggleDown [Boolean] true if the tool is a toggle and the toggle is down, otherwise is false.
575
- # @return [Boolean]
576
- def on_left_click(toolId, toggleDown) end
577
-
578
- # This is called when the mouse cursor moves into a tool or out of the toolbar.
579
- #
580
- # This is the old way of detecting mouse enter events; although it will still work, you should use the EVT_TOOL_ENTER() macro instead.
581
- #
582
- # <div class="wxrb-remark">
583
- # <b>Remark:</b>
584
- # <p>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.
585
- # </p>
586
- # </div>
587
- # @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.
588
- # @return [void]
589
- def on_mouse_enter(toolId) end
590
-
591
- # This function should be called after you have added tools.
592
- # @return [Boolean]
593
- def realize; end
594
-
595
- # Removes the given tool from the toolbar but doesn't delete it.
596
- #
597
- # This allows inserting/adding this tool back to this (or another) toolbar later.
598
- #
599
- # <div class="wxrb-note">
600
- # <b>Note:</b>
601
- # <p>It is unnecessary to call {Wx::ToolBar#realize} for the change to take place, it will happen immediately.
602
- # </p>
603
- # </div>
604
- # @see Wx::ToolBar#delete_tool
605
- # @param id [Integer]
606
- # @return [Wx::ToolBarToolBase]
607
- def remove_tool(id) end
608
-
609
- # Sets the dropdown menu for the tool given by its id.
610
- #
611
- # The tool itself will delete the menu when it's no longer needed. Only supported under GTK+ and MSW.
612
- # 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.
613
- # @param id [Integer]
614
- # @param menu [Wx::Menu]
615
- # @return [Boolean]
616
- def set_dropdown_menu(id, menu) end
617
-
618
- # Sets the default size of each tool bitmap.
619
- #
620
- # 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.
621
- # If you do call it, it must be done before toolbar is {Wx::ToolBar#realize}'d.
622
- # Example of using this function to force the bitmaps to be at least 32 pixels wide and tall (at normal DPI):
623
- # ```ruby
624
- # toolbar.set_tool_bitmap_size(from_dip(Wx::Size.new(32, 32)))
625
- # toolbar.add_tool(Wx::ID_NEW, 'New', Wx::BitmapBundle.from_XXX(...))
626
- # ...
627
- # toolbar.realize
628
- # ```
629
- # @see Wx::ToolBar#get_tool_bitmap_size
630
- # @see Wx::ToolBar#get_tool_size
631
- # @param size [Array(Integer, Integer), Wx::Size] The size of the bitmaps in the toolbar in logical pixels.
632
- # @return [void]
633
- def set_tool_bitmap_size(size) end
634
- alias_method :tool_bitmap_size=, :set_tool_bitmap_size
635
-
636
- # Sets the client data associated with the tool.
637
- # @param id [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
638
- # @param clientData [Wx::Object] The client data to use.
639
- # @return [void]
640
- def set_tool_client_data(id, clientData) end
641
-
642
- # Sets the bitmap to be used by the tool with the given ID when the tool is in a disabled state.
643
- #
644
- # This can only be used on Button tools, not controls.
645
- #
646
- # <div class="wxrb-note">
647
- # <b>Note:</b>
648
- # <p>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.
649
- # </p>
650
- # </div>
651
- # @param id [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
652
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap to use for disabled tools.
653
- # @return [void]
654
- def set_tool_disabled_bitmap(id, bitmap) end
655
-
656
- # Sets the long help for the given tool.
657
- #
658
- # <div class="wxrb-remark">
659
- # <b>Remark:</b>
660
- # <p>You might use the long help for displaying the tool purpose on the status line.
661
- # </p>
662
- # </div>
663
- # @see Wx::ToolBar#get_tool_long_help
664
- # @see Wx::ToolBar#set_tool_short_help
665
- # @see
666
- # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
667
- # @param helpString [String] A string for the long help.
668
- # @return [void]
669
- def set_tool_long_help(toolId, helpString) end
670
-
671
- # Sets the bitmap to be used by the tool with the given ID.
672
- #
673
- # This can only be used on Button tools, not controls.
674
- # @param id [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
675
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap to use for normals tools.
676
- # @return [void]
677
- def set_tool_normal_bitmap(id, bitmap) end
678
-
679
- # Sets the value used for spacing tools.
680
- #
681
- # The default value is 1.
682
- #
683
- # <div class="wxrb-remark">
684
- # <b>Remark:</b>
685
- # <p>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.
686
- # </p>
687
- # </div>
688
- # @see Wx::ToolBar#get_tool_packing
689
- # @param packing [Integer] The value for packing.
690
- # @return [void]
691
- def set_tool_packing(packing) end
692
- alias_method :tool_packing=, :set_tool_packing
693
-
694
- # Sets the default separator size.
695
- #
696
- # The default value is 5.
697
- # @see Wx::ToolBar#add_separator
698
- # @param separation [Integer] The separator size.
699
- # @return [void]
700
- def set_tool_separation(separation) end
701
- alias_method :tool_separation=, :set_tool_separation
702
-
703
- # Sets the short help for the given tool.
704
- #
705
- # <div class="wxrb-remark">
706
- # <b>Remark:</b>
707
- # <p>An application might use short help for identifying the tool purpose in a tooltip.
708
- # </p>
709
- # </div>
710
- # @see Wx::ToolBar#get_tool_short_help
711
- # @see Wx::ToolBar#set_tool_long_help
712
- # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
713
- # @param helpString [String] The string for the short help.
714
- # @return [void]
715
- def set_tool_short_help(toolId, helpString) end
716
-
717
- # Toggles a tool on or off.
718
- #
719
- # This does not cause any event to get emitted.
720
- #
721
- # <div class="wxrb-remark">
722
- # <b>Remark:</b>
723
- # <p>Only applies to a tool that has been specified as a toggle tool.
724
- # </p>
725
- # </div>
726
- # @param toolId [Integer] ID of the tool in question, as passed to {Wx::ToolBar#add_tool}.
727
- # @param toggle [Boolean] If true, toggles the tool on, otherwise toggles it off.
728
- # @return [void]
729
- def toggle_tool(toolId, toggle) end
730
-
731
- # @overload create_tool(toolId, label, bmpNormal, bmpDisabled=Wx::NULL_BITMAP, kind=Wx::ItemKind::ITEM_NORMAL, clientData=nil, shortHelp=(''), longHelp=(''))
732
- # Factory function to create a new toolbar tool.
733
- # @param toolId [Integer]
734
- # @param label [String]
735
- # @param bmpNormal [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
736
- # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
737
- # @param kind [Wx::ItemKind]
738
- # @param clientData [Wx::Object]
739
- # @param shortHelp [String]
740
- # @param longHelp [String]
741
- # @return [Wx::ToolBarToolBase]
742
- # @overload create_tool(control, label)
743
- # Factory function to create a new control toolbar tool.
744
- # @param control [Wx::Control]
745
- # @param label [String]
746
- # @return [Wx::ToolBarToolBase]
747
- def create_tool(*args) end
748
-
749
- # Factory function to create a new separator toolbar tool.
750
- # @return [Wx::ToolBarToolBase]
751
- def create_separator; end
752
-
753
- end # ToolBar
754
-
755
- # A toolbar tool represents one item on the toolbar.
756
- #
757
- # 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.
758
- # 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.
759
- #
760
- # @wxrb_require USE_TOOLBAR
761
- class ToolBarToolBase < Object
762
-
763
- # @overload initialize(tbar=nil, toolid=Wx::StandardID::ID_SEPARATOR, label=(''), bmpNormal=Wx::NULL_BITMAP, bmpDisabled=Wx::NULL_BITMAP, kind=Wx::ItemKind::ITEM_NORMAL, clientData=nil, shortHelpString=(''), longHelpString=(''))
764
- # @param tbar [Wx::ToolBar]
765
- # @param toolid [Integer]
766
- # @param label [String]
767
- # @param bmpNormal [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
768
- # @param bmpDisabled [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
769
- # @param kind [Wx::ItemKind]
770
- # @param clientData [Wx::Object]
771
- # @param shortHelpString [String]
772
- # @param longHelpString [String]
773
- # @return [Wx::ToolBarToolBase]
774
- # @overload initialize(tbar, control, label)
775
- # @param tbar [Wx::ToolBar]
776
- # @param control [Wx::Control]
777
- # @param label [String]
778
- # @return [Wx::ToolBarToolBase]
779
- def initialize(*args) end
780
-
781
- # @return [Integer]
782
- def get_id; end
783
- alias_method :id, :get_id
784
-
785
- # @return [Wx::Control]
786
- def get_control; end
787
- alias_method :control, :get_control
788
-
789
- # @return [Wx::ToolBar]
790
- def get_tool_bar; end
791
- alias_method :tool_bar, :get_tool_bar
792
-
793
- # @return [Boolean]
794
- def is_stretchable; end
795
- alias_method :stretchable?, :is_stretchable
796
-
797
- # @return [Boolean]
798
- def is_button; end
799
- alias_method :button?, :is_button
800
-
801
- # @return [Boolean]
802
- def is_control; end
803
- alias_method :control?, :is_control
804
-
805
- # @return [Boolean]
806
- def is_separator; end
807
- alias_method :separator?, :is_separator
808
-
809
- # @return [Boolean]
810
- def is_stretchable_space; end
811
- alias_method :stretchable_space?, :is_stretchable_space
812
-
813
- # @return [Integer]
814
- def get_style; end
815
- alias_method :style, :get_style
816
-
817
- # @return [Wx::ItemKind]
818
- def get_kind; end
819
- alias_method :kind, :get_kind
820
-
821
- # @return [void]
822
- def make_stretchable; end
823
-
824
- # @return [Boolean]
825
- def is_enabled; end
826
- alias_method :enabled?, :is_enabled
827
-
828
- # @return [Boolean]
829
- def is_toggled; end
830
- alias_method :toggled?, :is_toggled
831
-
832
- # @return [Boolean]
833
- def can_be_toggled; end
834
- alias_method :can_be_toggled?, :can_be_toggled
835
-
836
- # Return the bundle containing normal tool bitmaps.
837
- #
838
- # This bundle may be invalid if the tool doesn't show a bitmap.
839
- # @return [Wx::BitmapBundle]
840
- def get_normal_bitmap_bundle; end
841
- alias_method :normal_bitmap_bundle, :get_normal_bitmap_bundle
842
-
843
- # Return the bundle containing disabled tool bitmaps.
844
- #
845
- # 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.
846
- # @return [Wx::BitmapBundle]
847
- def get_disabled_bitmap_bundle; end
848
- alias_method :disabled_bitmap_bundle, :get_disabled_bitmap_bundle
849
-
850
- # @return [Wx::Bitmap]
851
- def get_normal_bitmap; end
852
- alias_method :normal_bitmap, :get_normal_bitmap
853
-
854
- # @return [Wx::Bitmap]
855
- def get_disabled_bitmap; end
856
- alias_method :disabled_bitmap, :get_disabled_bitmap
857
-
858
- # @return [Wx::Bitmap]
859
- def get_bitmap; end
860
- alias_method :bitmap, :get_bitmap
861
-
862
- # @return [Wx::String]
863
- def get_label; end
864
- alias_method :label, :get_label
865
-
866
- # @return [Wx::String]
867
- def get_short_help; end
868
- alias_method :short_help, :get_short_help
869
-
870
- # @return [Wx::String]
871
- def get_long_help; end
872
- alias_method :long_help, :get_long_help
873
-
874
- # @return [Wx::Object]
875
- def get_client_data; end
876
- alias_method :client_data, :get_client_data
877
-
878
- # @param menu [Wx::Menu]
879
- # @return [void]
880
- def set_dropdown_menu(menu) end
881
- alias_method :dropdown_menu=, :set_dropdown_menu
882
-
883
- # @return [Wx::Menu]
884
- def get_dropdown_menu; end
885
- alias_method :dropdown_menu, :get_dropdown_menu
886
-
887
- end # ToolBarToolBase
888
-
889
-
890
- end