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,245 +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
- # Styles used by {Wx::TextValidator}.
10
- #
11
- # Notice that {Wx::FILTER_EXCLUDE}[_CHAR]_LIST pair can be used to document the purpose of the validator only and are not enforced in the implementation of the {Wx::TextValidator}. Therefore, calling the corresponding member functions: {Wx::TextValidator}::{SetExcludes,SetCharExcludes}(), is enough to create the desired validator.
12
- #
13
- # @wxrb_require USE_VALIDATORS
14
- class TextValidatorStyle < Wx::Enum
15
-
16
- # No filtering takes place.
17
- #
18
- FILTER_NONE = Wx::TextValidatorStyle.new(0)
19
-
20
- # Empty strings are filtered out.
21
- #
22
- FILTER_EMPTY = Wx::TextValidatorStyle.new(1)
23
-
24
- # Non-ASCII characters are filtered out. See Wx::String::IsAscii.
25
- #
26
- FILTER_ASCII = Wx::TextValidatorStyle.new(2)
27
-
28
- # Non-alpha characters are filtered out.
29
- #
30
- FILTER_ALPHA = Wx::TextValidatorStyle.new(4)
31
-
32
- # Non-alphanumeric characters are filtered out.
33
- #
34
- FILTER_ALPHANUMERIC = Wx::TextValidatorStyle.new(8)
35
-
36
- # Non-digit characters are filtered out.
37
- #
38
- FILTER_DIGITS = Wx::TextValidatorStyle.new(16)
39
-
40
- # Non-numeric characters are filtered out.
41
- #
42
- FILTER_NUMERIC = Wx::TextValidatorStyle.new(32)
43
-
44
- # Use an include list.
45
- #
46
- FILTER_INCLUDE_LIST = Wx::TextValidatorStyle.new(64)
47
-
48
- # Use an include char list.
49
- #
50
- FILTER_INCLUDE_CHAR_LIST = Wx::TextValidatorStyle.new(128)
51
-
52
- # Use an exclude list.
53
- #
54
- FILTER_EXCLUDE_LIST = Wx::TextValidatorStyle.new(256)
55
-
56
- # Use an exclude char list.
57
- #
58
- FILTER_EXCLUDE_CHAR_LIST = Wx::TextValidatorStyle.new(512)
59
-
60
- # Non-hexadecimal characters are filtered out.
61
- #
62
- FILTER_XDIGITS = Wx::TextValidatorStyle.new(1024)
63
-
64
- # A convenience flag for use with the other flags.
65
- #
66
- FILTER_SPACE = Wx::TextValidatorStyle.new(2048)
67
-
68
- end # TextValidatorStyle
69
-
70
- # {Wx::TextValidator} validates text controls, providing a variety of filtering behaviours.
71
- #
72
- # For more information, please see wxValidator Overview.
73
- #
74
- # Category: {Wx::Validators}
75
- # @see wxValidator Overview
76
- # @see Wx::Validator
77
- # @see Wx::GenericValidator
78
- # @see Wx::IntegerValidator
79
- # @see Wx::FloatingPointValidator
80
- #
81
- #
82
- # @wxrb_require USE_VALIDATORS
83
- class TextValidator < Validator
84
-
85
- # Copy constructor.
86
- # @param validator [Wx::TextValidator]
87
- # @return [Wx::TextValidator]
88
- def initialize(validator) end
89
-
90
- # Clones the text validator using the copy constructor.
91
- # @return [Wx::TextValidator]
92
- def clone; end
93
-
94
- # Returns a copy of the exclude char list (the list of invalid characters).
95
- # @return [String]
96
- def get_char_excludes; end
97
- alias_method :char_excludes, :get_char_excludes
98
-
99
- # Returns a copy of the include char list (the list of additional valid characters).
100
- # @return [String]
101
- def get_char_includes; end
102
- alias_method :char_includes, :get_char_includes
103
-
104
- # Returns a const reference to the exclude list (the list of invalid values).
105
- # @return [Wx::ArrayString]
106
- def get_excludes; end
107
- alias_method :excludes, :get_excludes
108
-
109
- # Returns a const reference to the include list (the list of valid values).
110
- # @return [Wx::ArrayString]
111
- def get_includes; end
112
- alias_method :includes, :get_includes
113
-
114
- # Returns the validator style.
115
- #
116
- #
117
- # @see Wx::TextValidator#has_flag
118
- # @return [Integer]
119
- def get_style; end
120
- alias_method :style, :get_style
121
-
122
- # Returns true if the given style bit is set in the current style.
123
- # @param style [Wx::TextValidatorStyle]
124
- # @return [Boolean]
125
- def has_flag(style) end
126
- alias_method :has_flag?, :has_flag
127
-
128
- # Sets the exclude list (invalid values for the user input).
129
- #
130
- # <div class="wxrb-note">
131
- # <b>Note:</b>
132
- # <p>Beware that exclusion takes priority over inclusion.
133
- # </p>
134
- # </div>
135
- # @param stringList [Array<String>]
136
- # @return [void]
137
- def set_excludes(stringList) end
138
- alias_method :excludes=, :set_excludes
139
-
140
- # Sets the exclude char list (invalid characters for the user input).
141
- #
142
- # <div class="wxrb-note">
143
- # <b>Note:</b>
144
- # <p>Beware that exclusion takes priority over inclusion.
145
- # </p>
146
- # </div>
147
- #
148
- # <div class="wxrb-note">
149
- # <b>Note:</b>
150
- # <p>This function may cancel the effect of {Wx::TextValidatorStyle::FILTER_SPACE} if the passed in string chars contains the <b>space</b> character.
151
- # </p>
152
- # </div>
153
- # @param chars [String]
154
- # @return [void]
155
- def set_char_excludes(chars) end
156
- alias_method :char_excludes=, :set_char_excludes
157
-
158
- # Sets the include list (valid values for the user input).
159
- #
160
- #
161
- # @see Wx::TextValidator#is_included
162
- # @param stringList [Array<String>]
163
- # @return [void]
164
- def set_includes(stringList) end
165
- alias_method :includes=, :set_includes
166
-
167
- # Sets the include char list (additional valid values for the user input).
168
- #
169
- # <div class="wxrb-note">
170
- # <b>Note:</b>
171
- # <p>Any explicitly excluded characters will still be excluded even if they're part of chars.
172
- # </p>
173
- # </div>
174
- # @param chars [String]
175
- # @return [void]
176
- def set_char_includes(chars) end
177
- alias_method :char_includes=, :set_char_includes
178
-
179
- # Adds exclude to the list of excluded values.
180
- #
181
- # <div class="wxrb-note">
182
- # <b>Note:</b>
183
- # <p>Beware that exclusion takes priority over inclusion.
184
- # </p>
185
- # </div>
186
- # @param exclude [String]
187
- # @return [void]
188
- def add_exclude(exclude) end
189
-
190
- # Adds include to the list of included values.
191
- #
192
- # <div class="wxrb-note">
193
- # <b>Note:</b>
194
- # <p>Any explicitly excluded characters will still be excluded.
195
- # </p>
196
- # </div>
197
- # @param include [String]
198
- # @return [void]
199
- def add_include(include) end
200
-
201
- # Adds chars to the list of excluded characters.
202
- #
203
- # <div class="wxrb-note">
204
- # <b>Note:</b>
205
- # <p>Beware that exclusion takes priority over inclusion.
206
- # </p>
207
- # </div>
208
- # @param chars [String]
209
- # @return [void]
210
- def add_char_excludes(chars) end
211
-
212
- # Adds chars to the list of included characters.
213
- #
214
- # <div class="wxrb-note">
215
- # <b>Note:</b>
216
- # <p>Any explicitly excluded characters will still be excluded even if they're part of chars.
217
- # </p>
218
- # </div>
219
- # @param chars [String]
220
- # @return [void]
221
- def add_char_includes(chars) end
222
-
223
- # Sets the validator style which must be a combination of one or more of the {Wx::TextValidatorStyle} values.
224
- #
225
- # Note that not all possible combinations make sense! Also, some combinations have shorter and more idiomatic alternative, e.g. {Wx::TextValidatorStyle::FILTER_ALPHANUMERIC} can be used instead of <code>wxFILTER_ALPHA|wxFILTER_DIGITS</code>.
226
- # @param style [Integer]
227
- # @return [void]
228
- def set_style(style) end
229
- alias_method :style=, :set_style
230
-
231
- # Validates the window contents against the include or exclude lists, depending on the validator style.
232
- # @param parent [Wx::Window]
233
- # @return [Boolean]
234
- def validate(parent) end
235
-
236
- # Returns the error message if the contents of val are invalid or the empty string if val is valid.
237
- # @param val [String]
238
- # @return [String]
239
- def is_valid(val) end
240
- alias_method :valid?, :is_valid
241
-
242
- end # TextValidator
243
-
244
-
245
- end
@@ -1,128 +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
- TP_DEFAULT = 0
12
-
13
- # This control allows the user to enter time.
14
- #
15
- # It is similar to {Wx::DatePickerCtrl} but is used for time, and not date, selection. While {Wx::TimePickerCtrl#get_value} and {Wx::TimePickerCtrl#set_value} still work with values of type {Wx::DateTime} (because wxWidgets doesn't provide a time-only class), their date part is ignored by this control.
16
- # It is only available if {Wx::Setup::USE_TIMEPICKCTRL} is set to 1.
17
- # This control currently doesn't have any specific flags.
18
- #
19
- # <div class="wxrb-note">
20
- # <b>Note:</b>
21
- # <p>In WXMSW this control uses default user date format even if Wx::UILocale#use_default hasn't been called, while under the other platforms it only does it if the default UI locale has been set. For applications targeting international users, it is strongly recommended to call Wx::UILocale#use_default to ensure that the behaviour is consistent across all platforms.
22
- # </p>
23
- # </div>
24
- #
25
- # ### Events emitted by this class
26
- #
27
- # The following event-handler methods redirect the events to member method or handler blocks for {Wx::DateEvent} events.
28
- # Event handler methods for events emitted by this class:
29
- #
30
- # - {Wx::EvtHandler#evt_time_changed}(id, meth = nil, &block): Process a {Wx::EVT_TIME_CHANGED} event, which fires when the user changes the current selection in the control.
31
- #
32
- # Category: Picker 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::DatePickerCtrl
37
- # @see Wx::CalendarCtrl
38
- # @see Wx::DateEvent
39
- #
40
- #
41
- # @wxrb_require USE_TIMEPICKCTRL
42
- class TimePickerCtrl < Control
43
-
44
- # @overload initialize()
45
- # Default constructor.
46
- # @return [Wx::TimePickerCtrl]
47
- # @overload initialize(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TP_DEFAULT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TIME_PICKER_CTRL_NAME_STR)
48
- # Initializes the object and calls {Wx::TimePickerCtrl#create} with all the parameters.
49
- # @param parent [Wx::Window]
50
- # @param id [Integer]
51
- # @param dt [Time,Date,DateTime]
52
- # @param pos [Array(Integer, Integer), Wx::Point]
53
- # @param size [Array(Integer, Integer), Wx::Size]
54
- # @param style [Integer]
55
- # @param validator [Wx::Validator]
56
- # @param name [String]
57
- # @return [Wx::TimePickerCtrl]
58
- # @overload initialize(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TP_DEFAULT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TIME_PICKER_CTRL_NAME_STR, &block)
59
- # Initializes the object and calls {Wx::TimePickerCtrl#create} with all the parameters.
60
- # @param parent [Wx::Window]
61
- # @param id [Integer]
62
- # @param dt [Time,Date,DateTime]
63
- # @param pos [Array(Integer, Integer), Wx::Point]
64
- # @param size [Array(Integer, Integer), Wx::Size]
65
- # @param style [Integer]
66
- # @param validator [Wx::Validator]
67
- # @param name [String]
68
- # @yieldparam [Wx::TimePickerCtrl] win new instance
69
- # @return [Wx::TimePickerCtrl]
70
- def initialize(*args) end
71
-
72
- # Create the control window.
73
- #
74
- # This method should only be used for objects created using default constructor.
75
- #
76
- # true if the control was successfully created or false if creation failed.
77
- # @param parent [Wx::Window] Parent window, must not be non-null.
78
- # @param id [Integer] The identifier for the control.
79
- # @param dt [Time,Date,DateTime] The initial value of the control, if an invalid date (such as the default value) is used, the control is set to current time.
80
- # @param pos [Array(Integer, Integer), Wx::Point] Initial position.
81
- # @param size [Array(Integer, Integer), Wx::Size] Initial size. If left at default value, the control chooses its own best size by using the height approximately equal to a text control and width large enough to show the time fully.
82
- # @param style [Integer] The window style, should be left at 0 as there are no special styles for this control in this version.
83
- # @param validator [Wx::Validator] Validator which can be used for additional checks.
84
- # @param name [String] Control name.
85
- # @return [Boolean]
86
- def create(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TP_DEFAULT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TIME_PICKER_CTRL_NAME_STR) end
87
-
88
- # Returns the currently entered time as hours, minutes and seconds.
89
- #
90
- # All the arguments must be non-null, false is returned otherwise and none of them is modified.
91
- # @see Wx::TimePickerCtrl#set_time
92
- # @return [Array(Boolean,Integer,Integer,Integer)]
93
- def get_time; end
94
- alias_method :time, :get_time
95
-
96
- # Returns the currently entered time.
97
- #
98
- # The date part of the returned {Wx::DateTime} object is always set to today and should be ignored, only the time part is relevant.
99
- # @return [Time,Date,DateTime]
100
- def get_value; end
101
- alias_method :value, :get_value
102
-
103
- # Changes the current time of the control.
104
- #
105
- # Calling this method does not result in a time change event.
106
- #
107
- # true if the time was changed or false on failure, e.g. if the time components were invalid.
108
- # @see Wx::TimePickerCtrl#get_time
109
- # @param hour [Integer] The new hour value in 0..23 interval.
110
- # @param min [Integer] The new minute value in 0..59 interval.
111
- # @param sec [Integer] The new second value in 0..59 interval.
112
- # @return [Boolean]
113
- def set_time(hour, min, sec) end
114
-
115
- # Changes the current value of the control.
116
- #
117
- # The date part of dt is ignored, only the time part is displayed in the control. The dt object must however be valid.
118
- # In particular, notice that it is a bad idea to use default {Wx::DateTime} constructor from hour, minute and second values as it uses the today date for the date part, which means that some values can be invalid if today happens to be the day of DST change. For example, when switching to summer time, the time 2:00 typically doesn't exist as the clocks jump directly to 3:00. To avoid this problem, use a fixed date on which DST is known not to change (e.g. Jan 1, 2012) for the date part of the argument or use {Wx::TimePickerCtrl#set_time}.
119
- # Calling this method does not result in a time change event.
120
- # @param dt [Time,Date,DateTime]
121
- # @return [void]
122
- def set_value(dt) end
123
- alias_method :value=, :set_value
124
-
125
- end # TimePickerCtrl
126
-
127
-
128
- end
@@ -1,119 +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
- # The {Wx::Timer} class allows you to execute code at specified intervals.
10
- #
11
- # Its precision is platform-dependent, but in general will not be better than 1ms nor worse than 1s.
12
- # There are three different ways to use this class:
13
- #
14
- # - You may derive a new class from {Wx::Timer} and override the {Wx::Timer#notify} member to perform the required action.
15
- # - You may redirect the notifications to any {Wx::EvtHandler} derived object by using the non-default constructor or {Wx::Timer#set_owner}. Then {Wx::Timer#bind} {Wx::EVT_TIMER} (or use the EVT_TIMER macro) to connect it to the event handler which will receive {Wx::TimerEvent} notifications.
16
- # - You may use a derived class and {Wx::Timer#bind} {Wx::EVT_TIMER} to connect it to an event handler defined in the derived class. If the default constructor is used, the timer object will be its own owner object, since it is derived from {Wx::EvtHandler}.
17
- #
18
- # In any case, you must start the timer with {Wx::Timer#start} after constructing it before it actually starts sending notifications. It can be stopped later with {Wx::Timer#stop}.
19
- #
20
- # <div class="wxrb-note">
21
- # <b>Note:</b>
22
- # <p>A timer can only be used from the main thread.
23
- # </p>
24
- # </div>
25
- #
26
- # Category: {Wx::Miscellaneous}
27
- # @see Wx::StopWatch
28
- #
29
- #
30
- # @wxrb_require USE_TIMER
31
- class Timer < EvtHandler
32
-
33
- # @overload initialize()
34
- # Default constructor.
35
- #
36
- # If you use it to construct the object and don't call {Wx::Timer#set_owner} later, you must override {Wx::Timer#notify} method to process the notifications.
37
- # @return [Wx::Timer]
38
- # @overload initialize(owner, id=-1)
39
- # Creates a timer and associates it with owner.
40
- #
41
- # Please see {Wx::Timer#set_owner} for the description of parameters.
42
- # @param owner [Wx::EvtHandler]
43
- # @param id [Integer]
44
- # @return [Wx::Timer]
45
- def initialize(*args) end
46
-
47
- # Returns the ID of the events generated by this timer.
48
- # @return [Integer]
49
- def get_id; end
50
- alias_method :id, :get_id
51
-
52
- # Returns the current interval for the timer (in milliseconds).
53
- # @return [Integer]
54
- def get_interval; end
55
- alias_method :interval, :get_interval
56
-
57
- # Returns the current owner of the timer.
58
- #
59
- # If non-null this is the event handler which will receive the timer events (see {Wx::TimerEvent}) when the timer is running.
60
- # @return [Wx::EvtHandler]
61
- def get_owner; end
62
- alias_method :owner, :get_owner
63
-
64
- # Returns true if the timer is one shot, i.e. if it will stop after firing the first notification automatically.
65
- # @return [Boolean]
66
- def is_one_shot; end
67
- alias_method :one_shot?, :is_one_shot
68
-
69
- # Returns true if the timer is running, false if it is stopped.
70
- # @return [Boolean]
71
- def is_running; end
72
- alias_method :running?, :is_running
73
-
74
- # This member should be overridden by the user if the default constructor was used and {Wx::Timer#set_owner} wasn't called.
75
- #
76
- # Perform whatever action which is to be taken periodically here.
77
- # Notice that throwing exceptions from this method is currently not supported, use event-based timer handling approach if an exception can be thrown while handling timer notifications.
78
- # @return [void]
79
- def notify; end
80
-
81
- # Associates the timer with the given owner object.
82
- #
83
- # When the timer is running, the owner will receive timer events (see {Wx::TimerEvent}) with id equal to id specified here.
84
- # @param owner [Wx::EvtHandler]
85
- # @param id [Integer]
86
- # @return [void]
87
- def set_owner(owner, id=-1) end
88
- alias_method :owner=, :set_owner
89
-
90
- # (Re)starts the timer.
91
- #
92
- # If milliseconds parameter is -1 (value by default), the previous value is used. Returns false if the timer could not be started, true otherwise (in MS Windows timers are a limited resource).
93
- # If oneShot is false (the default), the {Wx::Timer#notify} function will be called repeatedly until the timer is stopped. If true, it will be called only once and the timer will stop automatically.
94
- # To make your code more readable you may also use the following symbolic constants:
95
- #
96
- # - {Wx::TIMER_CONTINUOUS}: Start a normal, continuously running, timer
97
- # - {Wx::TIMER_ONE_SHOT}: Start a one shot timer. Alternatively, and preferably, call {Wx::Timer#start_once} instead of this function.
98
- #
99
- # If the timer was already running, it will be stopped by this method before restarting it.
100
- # @param milliseconds [Integer]
101
- # @param oneShot [Boolean]
102
- # @return [Boolean]
103
- def start(milliseconds=-1, oneShot=Wx::TIMER_CONTINUOUS) end
104
-
105
- # Starts the timer for a once-only notification.
106
- #
107
- # This is a simple wrapper for {Wx::Timer#start} with {Wx::TIMER_ONE_SHOT} parameter.
108
- # @param milliseconds [Integer]
109
- # @return [Boolean]
110
- def start_once(milliseconds=-1) end
111
-
112
- # Stops the timer.
113
- # @return [void]
114
- def stop; end
115
-
116
- end # Timer
117
-
118
-
119
- end
@@ -1,68 +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
- TIMER_CONTINUOUS = 0
11
-
12
- #
13
- TIMER_ONE_SHOT = 1
14
-
15
- #
16
- #
17
- EVT_TIMER = 10001
18
-
19
- # {Wx::TimerEvent} object is passed to the event handler of timer events (see {Wx::Timer#set_owner}).
20
- #
21
- # For example:
22
- #
23
- # ```ruby
24
- # class MyFrame < Wx::Frame
25
- #
26
- # def initialize
27
- # super(nil)
28
- # @timer = Wx::Timer.new(self, TIMER_ID)
29
- #
30
- # evt_timer(TIMER_ID, :on_timer)
31
- #
32
- # @timer.start(1000) # 1 second interval
33
- # end
34
- #
35
- # ...
36
- #
37
- # def on_timer(event)
38
- # # do whatever you want to do every second here
39
- # end
40
- #
41
- # end
42
- # ```
43
- #
44
- # Category: {Wx::Events}
45
- # @see Wx::Timer
46
- #
47
- #
48
- # @wxrb_require USE_TIMER
49
- class TimerEvent < Event
50
-
51
- # @param timer [Wx::Timer]
52
- # @return [Wx::TimerEvent]
53
- def initialize(timer) end
54
-
55
- # Returns the interval of the timer which generated this event.
56
- # @return [Integer]
57
- def get_interval; end
58
- alias_method :interval, :get_interval
59
-
60
- # Returns the timer object which generated this event.
61
- # @return [Wx::Timer]
62
- def get_timer; end
63
- alias_method :timer, :get_timer
64
-
65
- end # TimerEvent
66
-
67
-
68
- end
@@ -1,63 +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 function creates a {Wx::TipProvider} which may be used with {show_tip}.
10
- #
11
- #
12
- # @see wxTipProvider Overview
13
- # @param filename [String] The name of the file containing the tips, one per line.
14
- # @param currentTip [Integer] The index of the first tip to show. Normally this index is remembered between the 2 program runs.
15
- # @return [Wx::TipProvider]
16
- def self.create_file_tip_provider(filename, currentTip) end
17
-
18
- # This function shows a "startup tip" to the user.
19
- #
20
- # The return value is the state of the "Show tips at startup" checkbox.
21
- # @see wxTipProvider Overview
22
- # @param parent [Wx::Window] The parent window for the modal dialog.
23
- # @param tipProvider [Wx::TipProvider] An object which is used to get the text of the tips. It may be created with the {create_file_tip_provider} function.
24
- # @param showAtStartup [Boolean] Should be true if startup tips are shown, false otherwise. This is used as the initial value for "Show tips at startup" checkbox which is shown in the tips dialog.
25
- # @return [Boolean]
26
- def self.show_tip(parent, tipProvider, showAtStartup=true) end
27
-
28
- # This is the class used together with {show_tip} function.
29
- #
30
- # It must implement {Wx::TipProvider#get_tip} function and return the current tip from it (different tip each time it is called).
31
- # You will never use this class yourself, but you need it to show startup tips with {show_tip}. Also, if you want to get the tips text from elsewhere than a simple text file, you will want to derive a new class from {Wx::TipProvider} and use it instead of the one returned by {create_file_tip_provider}.
32
- #
33
- # Category: {Wx::Miscellaneous}
34
- # @see wxTipProvider Overview
35
- # @see show_tip
36
- #
37
- #
38
- # @wxrb_require USE_STARTUP_TIPS
39
- class TipProvider < ::Object
40
-
41
- # Constructor.
42
- # @param currentTip [Integer] The starting tip index.
43
- # @return [Wx::TipProvider]
44
- def initialize(currentTip) end
45
-
46
- # Returns the index of the current tip (i.e. the one which would be returned by {Wx::TipProvider#get_tip}).
47
- #
48
- # The program usually remembers the value returned by this function after calling {show_tip}. Note that it is not the same as the value which was passed to {show_tip} + 1 because the user might have pressed the "Next" button in the tip dialog.
49
- # @return [Integer]
50
- def get_current_tip; end
51
- alias_method :current_tip, :get_current_tip
52
-
53
- # Return the text of the current tip and pass to the next one.
54
- #
55
- # This function is pure virtual, it should be implemented in the derived classes.
56
- # @return [String]
57
- def get_tip; end
58
- alias_method :tip, :get_tip
59
-
60
- end # TipProvider
61
-
62
-
63
- end
@@ -1,51 +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
- # Shows simple text in a popup tip window on creation.
10
- #
11
- # This is used by {Wx::SimpleHelpProvider} to show popup help. The window automatically destroys itself when the user clicks on it or it loses the focus.
12
- # You may also use this class to emulate the tooltips when you need finer control over them than what the standard tooltips provide.
13
- #
14
- # Category: Managed Windows
15
- # @see Wx::ToolTip
16
- #
17
- #
18
- # @wxrb_require USE_TIPWINDOW
19
- class TipWindow < Window
20
-
21
- # Replace the deprecated single-step constructor.
22
- #
23
- # See {Wx::TipWindow#create} for parameters
24
- # @see Wx::TipWindow#create
25
- # @param parent [Wx::Window]
26
- # @param text [String]
27
- # @param maxLength [Integer]
28
- # @param rectBound [Wx::Rect]
29
- # @return [Wx::TipWindow::Ref]
30
- def self.new_tip(parent, text, maxLength=100, rectBound=nil) end
31
-
32
- # By default, the tip window disappears when the user clicks the mouse or presses a keyboard key or if it loses focus in any other way - for example because the user switched to another application window.
33
- #
34
- # Additionally, if a non-empty rectBound is provided, the tip window will also automatically close if the mouse leaves this area. This is useful to dismiss the tip mouse when the mouse leaves the object it is associated with.
35
- # @param rectBound [Wx::Rect] The bounding rectangle for the mouse in the screen coordinates
36
- # @return [void]
37
- def set_bounding_rect(rectBound) end
38
- alias_method :bounding_rect=, :set_bounding_rect
39
-
40
- # Constructs a new TipWindow object which is immediately shown.
41
- # Returns a {Wx::TipWindow::Ref}.
42
- # @param parent [Wx::Window] parent window (not nil).
43
- # @param text [String] The text to show, may contain the new line characters.
44
- # @param maxLength [Integer] The length of each line, in pixels. Set to a very large value to avoid wrapping lines.
45
- # @param rectBounds [Wx::Rect] If given, passed to {Wx::TipWindow#set_bounding_rect}, please see its documentation for the description of this parameter.
46
- # @return [Wx::TipWindow::Ref] weak tip window reference
47
- def self.new_tip(parent, text, maxLength = 100, rectBounds = nil) end
48
- end # TipWindow
49
-
50
-
51
- end