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,123 +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
- # A bitmap button is a control that contains a bitmap.
10
- #
11
- # Notice that since wxWidgets 2.9.1 bitmap display is supported by the base {Wx::Button} class itself and the only tiny advantage of using this class is that it allows specifying the bitmap in its constructor, unlike {Wx::Button}. Please see the base class documentation for more information about images support in {Wx::Button}.
12
- # ### Styles
13
- #
14
- # This class supports the following styles:
15
- #
16
- # - {Wx::BU_LEFT}: Left-justifies the bitmap label.
17
- #
18
- # - {Wx::BU_TOP}: Aligns the bitmap label to the top of the button.
19
- #
20
- # - {Wx::BU_RIGHT}: Right-justifies the bitmap label.
21
- #
22
- # - {Wx::BU_BOTTOM}: Aligns the bitmap label to the bottom of the button.
23
- #
24
- # Note that the {Wx::BU_EXACTFIT} style supported by {Wx::Button} is not used by this class as bitmap buttons don't have any minimal standard size by default.
25
- # ### Events emitted by this class
26
- #
27
- # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
28
- # Event handler methods for events emitted by this class:
29
- #
30
- # - {Wx::EvtHandler#evt_button}(id, meth = nil, &block): Process a {Wx::EVT_BUTTON} event, when the button is clicked.
31
- #
32
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
33
- # </td><td> WXGTK Appearance
34
- # </td><td> WXOSX Appearance
35
- # </td></tr></table></div>
36
- # @see Wx::Button
37
- #
38
- #
39
- # @wxrb_require USE_BMPBUTTON
40
- class BitmapButton < Button
41
-
42
- # @overload initialize()
43
- # Default ctor.
44
- # @return [Wx::BitmapButton]
45
- # @overload initialize(parent, id, bitmap, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR)
46
- # Constructor, creating and showing a button.
47
- #
48
- # <div class="wxrb-remark">
49
- # <b>Remark:</b>
50
- # <p>The bitmap parameter is normally the only bitmap you need to provide, and wxWidgets will draw the button correctly in its different states. If you want more control, call any of the functions {Wx::BitmapButton#set_bitmap_pressed}, {Wx::BitmapButton#set_bitmap_focus}, {Wx::BitmapButton#set_bitmap_disabled}.
51
- # </p>
52
- # </div>
53
- # @see Wx::BitmapButton#create
54
- # @see Wx::Validator
55
- # @param parent [Wx::Window] Parent window. Must not be nil.
56
- # @param id [Integer] Button identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
57
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap to be displayed.
58
- # @param pos [Array(Integer, Integer), Wx::Point] Button position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
59
- # @param size [Array(Integer, Integer), Wx::Size] Button size. If {Wx::DEFAULT_SIZE} is specified then the button is sized appropriately for the bitmap.
60
- # @param style [Integer] Window style. See {Wx::BitmapButton}.
61
- # @param validator [Wx::Validator] Window validator.
62
- # @param name [String] Window name.
63
- # @return [Wx::BitmapButton]
64
- # @overload initialize(parent, id, bitmap, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR, &block)
65
- # Constructor, creating and showing a button.
66
- #
67
- # <div class="wxrb-remark">
68
- # <b>Remark:</b>
69
- # <p>The bitmap parameter is normally the only bitmap you need to provide, and wxWidgets will draw the button correctly in its different states. If you want more control, call any of the functions {Wx::BitmapButton#set_bitmap_pressed}, {Wx::BitmapButton#set_bitmap_focus}, {Wx::BitmapButton#set_bitmap_disabled}.
70
- # </p>
71
- # </div>
72
- # @see Wx::BitmapButton#create
73
- # @see Wx::Validator
74
- # @param parent [Wx::Window] Parent window. Must not be nil.
75
- # @param id [Integer] Button identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
76
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap to be displayed.
77
- # @param pos [Array(Integer, Integer), Wx::Point] Button position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
78
- # @param size [Array(Integer, Integer), Wx::Size] Button size. If {Wx::DEFAULT_SIZE} is specified then the button is sized appropriately for the bitmap.
79
- # @param style [Integer] Window style. See {Wx::BitmapButton}.
80
- # @param validator [Wx::Validator] Window validator.
81
- # @param name [String] Window name.
82
- # @yieldparam [Wx::BitmapButton] win new instance
83
- # @return [Wx::BitmapButton]
84
- def initialize(*args) end
85
-
86
- # Button creation function for two-step creation.
87
- #
88
- # For more details, see {Wx::BitmapButton#initialize}.
89
- # @param parent [Wx::Window]
90
- # @param id [Integer]
91
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
92
- # @param pos [Array(Integer, Integer), Wx::Point]
93
- # @param size [Array(Integer, Integer), Wx::Size]
94
- # @param style [Integer]
95
- # @param validator [Wx::Validator]
96
- # @param name [String]
97
- # @return [Boolean]
98
- def create(parent, id, bitmap, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR) end
99
-
100
- # Creation function for two-step creation of "Close" button.
101
- #
102
- # It is usually not necessary to use this function directly as {Wx::BitmapButton.new_close_button} is more convenient, but, if required, it can be called on a default-constructed {Wx::BitmapButton} object to achieve the same effect.
103
- # @param parent [Wx::Window] The button parent window, must be non-null.
104
- # @param winid [Integer] The identifier for the new button.
105
- # @param name [String] The name for the new button.
106
- # @return [Boolean]
107
- def create_close_button(parent, winid, name=('')) end
108
-
109
- # Helper function creating a standard-looking "Close" button.
110
- #
111
- # To get the best results, platform-specific code may need to be used to create a small, title bar-like "Close" button. This function is provided to avoid the need to test for the current platform and creates the button with as native look as possible.
112
- #
113
- # The new button.
114
- # @param parent [Wx::Window] The button parent window, must be non-null.
115
- # @param winid [Integer] The identifier for the new button.
116
- # @param name [String] The name for the new button (available since wxWidgets 3.1.5)
117
- # @return [Wx::BitmapButton]
118
- def self.new_close_button(parent, winid, name=('')) end
119
-
120
- end # BitmapButton
121
-
122
-
123
- end
@@ -1,221 +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
- # A combobox that displays bitmap in front of the list items.
10
- #
11
- # It currently only allows using bitmaps of one size, and resizes itself so that a bitmap can be shown next to the text field.
12
- #
13
- # <div class="wxrb-remark">
14
- # <b>Remark:</b>
15
- # <p>While {Wx::BitmapComboBox} contains the {Wx::ComboBox} API, but it might not actually be derived from that class. In fact, if the platform does not have a native implementation, {Wx::BitmapComboBox} will inherit from {Wx::OwnerDrawnComboBox}. You can determine if the implementation is generic by checking whether {Wx::GENERIC_BITMAPCOMBOBOX} is defined. Currently {Wx::BitmapComboBox} is implemented natively for MSW and GTK+.
16
- # </p>
17
- # </div>
18
- #
19
- # ### Styles
20
- #
21
- # This class supports the following styles:
22
- #
23
- # - {Wx::CB_READONLY}: Creates a combobox without a text editor. On some platforms the control may appear very different when this style is used.
24
- #
25
- # - {Wx::CB_SORT}: Sorts the entries in the list alphabetically.
26
- #
27
- # - {Wx::TE_PROCESS_ENTER}: The control will generate the event {Wx::EVT_TEXT_ENTER} (otherwise pressing Enter key is either processed internally by the control or used for navigation between dialog controls). Windows only.
28
- #
29
- # Todocreate {Wx::CB_PROCESS_ENTER} rather than reusing {Wx::TE_PROCESS_ENTER}!
30
- #
31
- # ### Events emitted by this class
32
- #
33
- # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
34
- # Event handler methods for events emitted by this class:
35
- #
36
- # - {Wx::EvtHandler#evt_combobox}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX} event, when an item on the list is selected.
37
- #
38
- # - {Wx::EvtHandler#evt_text}(id, meth = nil, &block): Process a {Wx::EVT_TEXT} event, when the combobox text changes.
39
- #
40
- # - {Wx::EvtHandler#evt_text_enter}(id, meth = nil, &block): Process a {Wx::EVT_TEXT_ENTER} event, when RETURN is pressed in the combobox.
41
- #
42
- # Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
43
- # </td><td> WXGTK Appearance
44
- # </td><td> WXOSX Appearance
45
- # </td></tr></table></div>
46
- # @see Wx::ComboBox
47
- # @see Wx::Choice
48
- # @see Wx::OwnerDrawnComboBox
49
- # @see Wx::CommandEvent
50
- #
51
- #
52
- # @wxrb_require USE_BITMAPCOMBOBOX
53
- class BitmapComboBox < ComboBox
54
-
55
- # @overload initialize()
56
- # Default ctor.
57
- # @return [Wx::BitmapComboBox]
58
- # @overload initialize(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BITMAP_COMBO_BOX_NAME_STR)
59
- # Constructor, creating and showing a combobox.
60
- #
61
- #
62
- # @see Wx::BitmapComboBox#create
63
- # @see Wx::Validator
64
- # @param parent [Wx::Window] Parent window. Must not be nil.
65
- # @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
66
- # @param value [String] Initial selection string. An empty string indicates no selection.
67
- # @param pos [Array(Integer, Integer), Wx::Point] Initial position.
68
- # @param size [Array(Integer, Integer), Wx::Size] Initial size.
69
- # @param choices [Array<String>] An array of strings with which to initialise the control.
70
- # @param style [Integer] The window style, see {Wx::CB_}* flags.
71
- # @param validator [Wx::Validator] Validator which can be used for additional data checks.
72
- # @param name [String] Control name.
73
- # @return [Wx::BitmapComboBox]
74
- # @overload initialize(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BITMAP_COMBO_BOX_NAME_STR, &block)
75
- # Constructor, creating and showing a combobox.
76
- #
77
- #
78
- # @see Wx::BitmapComboBox#create
79
- # @see Wx::Validator
80
- # @param parent [Wx::Window] Parent window. Must not be nil.
81
- # @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
82
- # @param value [String] Initial selection string. An empty string indicates no selection.
83
- # @param pos [Array(Integer, Integer), Wx::Point] Initial position.
84
- # @param size [Array(Integer, Integer), Wx::Size] Initial size.
85
- # @param choices [Array<String>] An array of strings with which to initialise the control.
86
- # @param style [Integer] The window style, see {Wx::CB_}* flags.
87
- # @param validator [Wx::Validator] Validator which can be used for additional data checks.
88
- # @param name [String] Control name.
89
- # @yieldparam [Wx::BitmapComboBox] win new instance
90
- # @return [Wx::BitmapComboBox]
91
- # @overload initialize(parent, id, value, pos, size, choices, style, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BITMAP_COMBO_BOX_NAME_STR)
92
- # Constructor, creating and showing a combobox.
93
- #
94
- #
95
- # @see Wx::BitmapComboBox#create
96
- # @see Wx::Validator
97
- # @param parent [Wx::Window] Parent window. Must not be nil.
98
- # @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
99
- # @param value [String] Initial selection string. An empty string indicates no selection.
100
- # @param pos [Array(Integer, Integer), Wx::Point] Initial position.
101
- # @param size [Array(Integer, Integer), Wx::Size] Initial size.
102
- # @param choices [Array<String>] A {Wx::ArrayString} with which to initialise the control.
103
- # @param style [Integer] The window style, see {Wx::CB_}* flags.
104
- # @param validator [Wx::Validator] Validator which can be used for additional data checks.
105
- # @param name [String] Control name.
106
- # @return [Wx::BitmapComboBox]
107
- # @overload initialize(parent, id, value, pos, size, choices, style, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BITMAP_COMBO_BOX_NAME_STR, &block)
108
- # Constructor, creating and showing a combobox.
109
- #
110
- #
111
- # @see Wx::BitmapComboBox#create
112
- # @see Wx::Validator
113
- # @param parent [Wx::Window] Parent window. Must not be nil.
114
- # @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
115
- # @param value [String] Initial selection string. An empty string indicates no selection.
116
- # @param pos [Array(Integer, Integer), Wx::Point] Initial position.
117
- # @param size [Array(Integer, Integer), Wx::Size] Initial size.
118
- # @param choices [Array<String>] A {Wx::ArrayString} with which to initialise the control.
119
- # @param style [Integer] The window style, see {Wx::CB_}* flags.
120
- # @param validator [Wx::Validator] Validator which can be used for additional data checks.
121
- # @param name [String] Control name.
122
- # @yieldparam [Wx::BitmapComboBox] win new instance
123
- # @return [Wx::BitmapComboBox]
124
- def initialize(*args) end
125
-
126
- # @overload append(item, bitmap=(Wx::BitmapBundle.new()))
127
- # Adds the item to the end of the combo box.
128
- # @param item [String]
129
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
130
- # @return [Integer]
131
- # @overload append(item, bitmap, clientData)
132
- # Adds the item to the end of the combo box, associating the given untyped, client data pointer clientData with the item.
133
- # @param item [String]
134
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
135
- # @param clientData [Object]
136
- # @return [Integer]
137
- # @overload append(item, bitmap, clientData)
138
- # Adds the item to the end of the combo box, associating the given typed client data pointer clientData with the item.
139
- # @param item [String]
140
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
141
- # @param clientData [Object]
142
- # @return [Integer]
143
- def append(*args) end
144
-
145
- # @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BITMAP_COMBO_BOX_NAME_STR)
146
- # Creates the combobox for two-step construction.
147
- # @param parent [Wx::Window]
148
- # @param id [Integer]
149
- # @param value [String]
150
- # @param pos [Array(Integer, Integer), Wx::Point]
151
- # @param size [Array(Integer, Integer), Wx::Size]
152
- # @param choices [Array<String>]
153
- # @param style [Integer]
154
- # @param validator [Wx::Validator]
155
- # @param name [String]
156
- # @return [Boolean]
157
- # @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BITMAP_COMBO_BOX_NAME_STR)
158
- # Creates the combobox for two-step construction.
159
- # @param parent [Wx::Window]
160
- # @param id [Integer]
161
- # @param value [String]
162
- # @param pos [Array(Integer, Integer), Wx::Point]
163
- # @param size [Array(Integer, Integer), Wx::Size]
164
- # @param choices [Array<String>]
165
- # @param style [Integer]
166
- # @param validator [Wx::Validator]
167
- # @param name [String]
168
- # @return [Boolean]
169
- def create(*args) end
170
-
171
- # Returns the size of the bitmaps used in the combo box.
172
- #
173
- # If the combo box is empty, then {Wx::DEFAULT_SIZE} is returned.
174
- # @return [Wx::Size]
175
- def get_bitmap_size; end
176
- alias_method :bitmap_size, :get_bitmap_size
177
-
178
- # Returns the bitmap of the item with the given index.
179
- # @param n [Integer]
180
- # @return [Wx::Bitmap]
181
- def get_item_bitmap(n) end
182
- alias_method :item_bitmap, :get_item_bitmap
183
-
184
- # @overload insert(item, bitmap, pos)
185
- # Inserts the item into the list before pos.
186
- #
187
- # Not valid for {Wx::CB_SORT} style, use {Wx::BitmapComboBox#append} instead.
188
- # @param item [String]
189
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
190
- # @param pos [Integer]
191
- # @return [Integer]
192
- # @overload insert(item, bitmap, pos, clientData)
193
- # Inserts the item into the list before pos, associating the given untyped, client data pointer with the item.
194
- #
195
- # Not valid for {Wx::CB_SORT} style, use {Wx::BitmapComboBox#append} instead.
196
- # @param item [String]
197
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
198
- # @param pos [Integer]
199
- # @param clientData [Object]
200
- # @return [Integer]
201
- # @overload insert(item, bitmap, pos, clientData)
202
- # Inserts the item into the list before pos, associating the given typed client data pointer with the item.
203
- #
204
- # Not valid for {Wx::CB_SORT} style, use {Wx::BitmapComboBox#append} instead.
205
- # @param item [String]
206
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
207
- # @param pos [Integer]
208
- # @param clientData [Object]
209
- # @return [Integer]
210
- def insert(*args) end
211
-
212
- # Sets the bitmap for the given item.
213
- # @param n [Integer]
214
- # @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
215
- # @return [void]
216
- def set_item_bitmap(n, bitmap) end
217
-
218
- end # BitmapComboBox
219
-
220
-
221
- end
@@ -1,274 +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
- BK_DEFAULT = 0
11
-
12
- #
13
- BK_TOP = 16
14
-
15
- #
16
- BK_BOTTOM = 32
17
-
18
- #
19
- BK_LEFT = 64
20
-
21
- #
22
- BK_RIGHT = 128
23
-
24
- #
25
- BK_ALIGN_MASK = 240
26
-
27
- # No tab at the specified point.
28
- #
29
- BK_HITTEST_NOWHERE = 1
30
-
31
- # The point is over an icon.
32
- #
33
- BK_HITTEST_ONICON = 2
34
-
35
- # The point is over a tab label.
36
- #
37
- BK_HITTEST_ONLABEL = 4
38
-
39
- # The point if over a tab item but not over its icon or label.
40
- #
41
- BK_HITTEST_ONITEM = 16
42
-
43
- # The point is over the page area.
44
- #
45
- BK_HITTEST_ONPAGE = 8
46
-
47
- # A book control is a convenient way of displaying multiple pages of information, displayed one page at a time.
48
- #
49
- # wxWidgets has five variants of this control:
50
- #
51
- # - {Wx::Choicebook}: controlled by a {Wx::Choice}
52
- #
53
- # - {Wx::Listbook}: controlled by a {Wx::ListCtrl}
54
- #
55
- # - {Wx::Notebook}: uses a row of tabs
56
- #
57
- # - {Wx::Treebook}: controlled by a {Wx::TreeCtrl}
58
- #
59
- # - {Wx::Toolbook}: controlled by a {Wx::ToolBar}
60
- #
61
- # This abstract class is the parent of all these book controls, and provides their basic interface. This is a pure virtual class so you cannot allocate it directly.
62
- #
63
- # Category: Book Controls
64
- # @see wxBookCtrl Overview
65
- #
66
- #
67
- # @wxrb_require USE_AUI|USE_NOTEBOOK|USE_LISTBOOK|USE_CHOICEBOOK|USE_TOOLBOOK|USE_TREEBOOK
68
- class BookCtrlBase < Control
69
-
70
- include Wx::WithImages
71
-
72
- # Symbolic constant indicating that no image should be used.
73
- #
74
- NO_IMAGE = -1
75
-
76
- # Returns the image index for the given page.
77
- # @param nPage [Integer]
78
- # @return [Integer]
79
- def get_page_image(nPage) end
80
- alias_method :page_image, :get_page_image
81
-
82
- # Sets the image index for the given page.
83
- #
84
- # image is an index into the image list which was set with {Wx::BookCtrlBase#set_image_list}.
85
- # @param page [Integer]
86
- # @param image [Integer]
87
- # @return [Boolean]
88
- def set_page_image(page, image) end
89
-
90
- # Returns the string for the given page.
91
- # @param nPage [Integer]
92
- # @return [String]
93
- def get_page_text(nPage) end
94
- alias_method :page_text, :get_page_text
95
-
96
- # Sets the text for the given page.
97
- #
98
- # The text may contain mnemonics, i.e. accelerator characters preceded by the ampersand (<code>&</code>) character. If you need to include a literal ampersand in the text, you need to double it, i.e. use <code>&&</code>.
99
- # @param page [Integer]
100
- # @param text [String]
101
- # @return [Boolean]
102
- def set_page_text(page, text) end
103
-
104
- # Returns the currently selected page, or {Wx::NOT_FOUND} if none was selected.
105
- #
106
- # Note that this method may return either the previously or newly selected page when called from the EVT_BOOKCTRL_PAGE_CHANGED handler depending on the platform and so {Wx::BookCtrlEvent#get_selection} should be used instead in this case.
107
- # @return [Integer]
108
- def get_selection; end
109
- alias_method :selection, :get_selection
110
-
111
- # Returns the currently selected page or nil.
112
- # @return [Wx::Window]
113
- def get_current_page; end
114
- alias_method :current_page, :get_current_page
115
-
116
- # Sets the selection to the given page, returning the previous selection.
117
- #
118
- # Notice that the call to this function generates the page changing events, use the {Wx::BookCtrlBase#change_selection} function if you don't want these events to be generated.
119
- # @see Wx::BookCtrlBase#get_selection
120
- # @param page [Integer]
121
- # @return [Integer]
122
- def set_selection(page) end
123
- alias_method :selection=, :set_selection
124
-
125
- # Cycles through the tabs.
126
- #
127
- # The call to this function generates the page changing events.
128
- # @param forward [Boolean]
129
- # @return [void]
130
- def advance_selection(forward=true) end
131
-
132
- # Changes the selection to the given page, returning the previous selection.
133
- #
134
- # This function behaves as {Wx::BookCtrlBase#set_selection} but does not generate the page changing events.
135
- # See User Generated Events vs Programmatically Generated Events for more information.
136
- # @param page [Integer]
137
- # @return [Integer]
138
- def change_selection(page) end
139
-
140
- # Returns the index of the specified tab window or {Wx::NOT_FOUND} if not found.
141
- #
142
- # The zero-based tab index or {Wx::NOT_FOUND} if not found.
143
- # @param page [Wx::Window] One of the control pages.
144
- # @return [Integer]
145
- def find_page(page) end
146
-
147
- # Adds a new page.
148
- #
149
- # The page must have the book control itself as the parent and must not have been added to this control previously.
150
- # The call to this function will generate the page changing and page changed events if select is true, but not when inserting the very first page (as there is no previous page selection to switch from in this case and so it wouldn't make sense to e.g. veto such event).
151
- #
152
- # true if successful, false otherwise.
153
- #
154
- # <div class="wxrb-remark">
155
- # <b>Remark:</b>
156
- # <p>Do not delete the page, it will be deleted by the book control.
157
- # </p>
158
- # </div>
159
- # @see Wx::BookCtrlBase#insert_page
160
- # @param page [Wx::Window] Specifies the new page.
161
- # @param text [String] Specifies the text of the new page. Note that it may contain mnemonic characters, see {Wx::BookCtrlBase#set_page_text} for more information.
162
- # @param select [Boolean] Specifies whether the page should be selected.
163
- # @param imageId [Integer] Specifies the optional image index for the new page.
164
- # @return [Boolean]
165
- def add_page(page, text, select=false, imageId=Wx::AUI::AuiNotebook::NO_IMAGE) end
166
-
167
- # Deletes all pages.
168
- # @return [Boolean]
169
- def delete_all_pages; end
170
-
171
- # Deletes the specified page, and the associated window.
172
- #
173
- # The call to this function generates the page changing events when deleting the currently selected page or a page preceding it in the index order, but it does not send any events when deleting the last page: while in this case the selection also changes, it becomes invalid and for compatibility reasons the control never generates events with the invalid selection index.
174
- # @param page [Integer]
175
- # @return [Boolean]
176
- def delete_page(page) end
177
-
178
- # Inserts a new page at the specified position.
179
- #
180
- # true if successful, false otherwise.
181
- #
182
- # <div class="wxrb-remark">
183
- # <b>Remark:</b>
184
- # <p>Do not delete the page, it will be deleted by the book control.
185
- # </p>
186
- # </div>
187
- # @see Wx::BookCtrlBase#add_page
188
- # @param index [Integer] Specifies the position for the new page.
189
- # @param page [Wx::Window] Specifies the new page.
190
- # @param text [String] Specifies the text of the new page. Note that it may contain mnemonic characters, see {Wx::BookCtrlBase#set_page_text} for more information.
191
- # @param select [Boolean] Specifies whether the page should be selected.
192
- # @param imageId [Integer] Specifies the optional image index for the new page.
193
- # @return [Boolean]
194
- def insert_page(index, page, text, select=false, imageId=Wx::AUI::AuiNotebook::NO_IMAGE) end
195
-
196
- # Deletes the specified page, without deleting the associated window The window will be hidden, though, so you may need to call {Wx::BookCtrlBase#show} after e.g.
197
- #
198
- # reparenting it.
199
- # See {Wx::BookCtrlBase#delete_page} for a note about the events generated by this function.
200
- # @param page [Integer]
201
- # @return [Boolean]
202
- def remove_page(page) end
203
-
204
- # Returns the number of pages in the control.
205
- # @return [Integer]
206
- def get_page_count; end
207
- alias_method :page_count, :get_page_count
208
-
209
- # Returns the window at the given page position.
210
- # @param page [Integer]
211
- # @return [Wx::Window]
212
- def get_page(page) end
213
- alias_method :page, :get_page
214
-
215
- # Returns the sizer containing the control for page selection, if any.
216
- #
217
- # Some derived classes, e.g. {Wx::Choicebook}, use a separate control for switching the currently selected page and this function returns the sizer used for positioning this control and the pages themselves inside the book control.
218
- # Note that many classes, notably {Wx::Notebook}, do not use any such control, and this function simply returns nil for them.
219
- # Non-owning pointer to the sizer or nil.
220
- # @return [Wx::Sizer]
221
- def get_control_sizer; end
222
- alias_method :control_sizer, :get_control_sizer
223
-
224
- # @overload initialize()
225
- # Default ctor.
226
- # @return [Wx::BookCtrlBase]
227
- # @overload initialize(parent, winid, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=(''))
228
- # Constructs the book control with the given parameters.
229
- #
230
- # See {Wx::BookCtrlBase#create} for two-step construction.
231
- # @param parent [Wx::Window]
232
- # @param winid [Integer]
233
- # @param pos [Array(Integer, Integer), Wx::Point]
234
- # @param size [Array(Integer, Integer), Wx::Size]
235
- # @param style [Integer]
236
- # @param name [String]
237
- # @return [Wx::BookCtrlBase]
238
- def initialize(*args) end
239
-
240
- # Constructs the book control with the given parameters.
241
- # @param parent [Wx::Window]
242
- # @param winid [Integer]
243
- # @param pos [Array(Integer, Integer), Wx::Point]
244
- # @param size [Array(Integer, Integer), Wx::Size]
245
- # @param style [Integer]
246
- # @param name [String]
247
- # @return [Boolean]
248
- def create(parent, winid, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=('')) end
249
-
250
- # Sets the width and height of the pages.
251
- #
252
- # <div class="wxrb-note">
253
- # <b>Note:</b>
254
- # <p>This method is currently not implemented for WXGTK.
255
- # </p>
256
- # </div>
257
- # @param size [Array(Integer, Integer), Wx::Size]
258
- # @return [void]
259
- def set_page_size(size) end
260
- alias_method :page_size=, :set_page_size
261
-
262
- # Returns the index of the tab at the specified position or {Wx::NOT_FOUND} if none.
263
- #
264
- # If flags parameter is non-null, the position of the point inside the tab is returned as well.
265
- #
266
- # Returns the zero-based tab index or {Wx::NOT_FOUND} if there is no tab at the specified position.
267
- # @param pt [Array(Integer, Integer), Wx::Point] Specifies the point for the hit test.
268
- # @return [Array(Integer,Integer)]
269
- def hit_test(pt) end
270
-
271
- end # BookCtrlBase
272
-
273
-
274
- end
@@ -1,66 +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
- # This class represents the events generated by book controls ({Wx::Notebook}, {Wx::Listbook}, {Wx::Choicebook}, {Wx::Treebook}, {Wx::AUI::AuiNotebook}).
10
- #
11
- # The page CHANGING events are sent before the current page is changed. It allows the program to examine the current page (which can be retrieved with {Wx::BookCtrlEvent#get_old_selection}) and to veto the page change by calling {Wx::NotifyEvent#veto} if, for example, the current values in the controls of the old page are invalid. However the handler for this event does not have access to the new page being selected as this information is not always provided by the underlying native control.
12
- # The page CHANGED events are sent after the page has been changed and the program cannot veto it any more, it just informs it about the page change. However the handler for this event has access to the newly selected page.
13
- # To summarize, if the program is interested in validating the page values before allowing the user to change it, it should process the page changing event. If it just needs to react to the page change after it happened, handling page changed events is enough. It is also perfectly possible to handle both of these events, for different purposes.
14
- #
15
- # Category: {Wx::Events}, Book Controls
16
- # @see Wx::Notebook
17
- # @see Wx::Listbook
18
- # @see Wx::Choicebook
19
- # @see Wx::Treebook
20
- # @see Wx::Toolbook
21
- # @see Wx::AUI::AuiNotebook
22
- #
23
- #
24
- # @wxrb_require USE_AUI|USE_NOTEBOOK|USE_LISTBOOK|USE_CHOICEBOOK|USE_TOOLBOOK|USE_TREEBOOK
25
- class BookCtrlEvent < NotifyEvent
26
-
27
- # Constructor (used internally by wxWidgets only).
28
- # @param eventType [Wx::TipWindow::EventType]
29
- # @param id [Integer]
30
- # @param sel [Integer]
31
- # @param oldSel [Integer]
32
- # @return [Wx::BookCtrlEvent]
33
- def initialize(eventType=Wx::EVT_NULL, id=0, sel=Wx::NOT_FOUND, oldSel=Wx::NOT_FOUND) end
34
-
35
- # Returns the page that was selected before the change, {Wx::NOT_FOUND} if none was selected.
36
- # @return [Integer]
37
- def get_old_selection; end
38
- alias_method :old_selection, :get_old_selection
39
-
40
- # Returns the currently selected page, or {Wx::NOT_FOUND} if none was selected.
41
- #
42
- # <div class="wxrb-note">
43
- # <b>Note:</b>
44
- # <p>under Windows, {Wx::BookCtrlEvent#get_selection} will return the same value as {Wx::BookCtrlEvent#get_old_selection} when called from the EVT_BOOKCTRL_PAGE_CHANGING handler and not the page which is going to be selected.
45
- # </p>
46
- # </div>
47
- # @return [Integer]
48
- def get_selection; end
49
- alias_method :selection, :get_selection
50
-
51
- # Sets the id of the page selected before the change.
52
- # @param page [Integer]
53
- # @return [void]
54
- def set_old_selection(page) end
55
- alias_method :old_selection=, :set_old_selection
56
-
57
- # Sets the selection member variable.
58
- # @param page [Integer]
59
- # @return [void]
60
- def set_selection(page) end
61
- alias_method :selection=, :set_selection
62
-
63
- end # BookCtrlEvent
64
-
65
-
66
- end