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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (390) hide show
  1. checksums.yaml +4 -4
  2. data/.wxconfig +9 -8
  3. data/INSTALL.md +315 -78
  4. data/README.md +32 -21
  5. data/ext/wxbase32u_gcc_custom.dll +0 -0
  6. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  7. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  8. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  9. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  10. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  11. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  12. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  20. data/lib/wx/core/combo_ctrl.rb +171 -0
  21. data/lib/wx/core/ext.rb +22 -3
  22. data/lib/wx/doc/comboctrl.rb +128 -3
  23. data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
  24. data/lib/wx/doc/gen/accelerator.rb +1 -1
  25. data/lib/wx/doc/gen/accessible.rb +1 -1
  26. data/lib/wx/doc/gen/activity_indicator.rb +1 -1
  27. data/lib/wx/doc/gen/animation.rb +1 -1
  28. data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
  29. data/lib/wx/doc/gen/any_button.rb +1 -1
  30. data/lib/wx/doc/gen/app.rb +1 -1
  31. data/lib/wx/doc/gen/app_traits.rb +3 -55
  32. data/lib/wx/doc/gen/art_provider.rb +1 -3
  33. data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
  34. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
  35. data/lib/wx/doc/gen/aui/aui_manager.rb +352 -349
  36. data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
  37. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
  38. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -37
  39. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
  40. data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
  41. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
  42. data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
  43. data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
  44. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
  45. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
  46. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
  47. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
  48. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
  49. data/lib/wx/doc/gen/banner_window.rb +1 -1
  50. data/lib/wx/doc/gen/bitmap.rb +1 -1
  51. data/lib/wx/doc/gen/bitmap_button.rb +1 -1
  52. data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
  53. data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
  54. data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
  55. data/lib/wx/doc/gen/box_sizer.rb +1 -1
  56. data/lib/wx/doc/gen/brush.rb +1 -1
  57. data/lib/wx/doc/gen/busy_info.rb +1 -1
  58. data/lib/wx/doc/gen/button.rb +1 -1
  59. data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
  60. data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
  61. data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
  62. data/lib/wx/doc/gen/calendar_event.rb +1 -1
  63. data/lib/wx/doc/gen/caret.rb +1 -1
  64. data/lib/wx/doc/gen/check_box.rb +1 -1
  65. data/lib/wx/doc/gen/check_list_box.rb +1 -1
  66. data/lib/wx/doc/gen/choice.rb +1 -1
  67. data/lib/wx/doc/gen/choicebook.rb +1 -1
  68. data/lib/wx/doc/gen/client_dc.rb +1 -1
  69. data/lib/wx/doc/gen/clipboard.rb +1 -1
  70. data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
  71. data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
  72. data/lib/wx/doc/gen/colour.rb +1 -2
  73. data/lib/wx/doc/gen/colour_dialog.rb +2 -2
  74. data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
  75. data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
  76. data/lib/wx/doc/gen/combo_box.rb +4 -3
  77. data/lib/wx/doc/gen/combo_ctrl.rb +92 -228
  78. data/lib/wx/doc/gen/command_link_button.rb +1 -1
  79. data/lib/wx/doc/gen/config_base.rb +1 -1
  80. data/lib/wx/doc/gen/context_help_button.rb +1 -1
  81. data/lib/wx/doc/gen/control.rb +1 -1
  82. data/lib/wx/doc/gen/control_with_items.rb +1 -1
  83. data/lib/wx/doc/gen/core.rb +5 -5
  84. data/lib/wx/doc/gen/cursor.rb +1 -1
  85. data/lib/wx/doc/gen/data_format.rb +1 -1
  86. data/lib/wx/doc/gen/data_object.rb +1 -1
  87. data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
  88. data/lib/wx/doc/gen/date_event.rb +1 -1
  89. data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
  90. data/lib/wx/doc/gen/dc.rb +1 -4
  91. data/lib/wx/doc/gen/defs.rb +1 -1
  92. data/lib/wx/doc/gen/dial_up_event.rb +1 -1
  93. data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
  94. data/lib/wx/doc/gen/dialog.rb +1 -2
  95. data/lib/wx/doc/gen/dir_dialog.rb +1 -1
  96. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
  97. data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
  98. data/lib/wx/doc/gen/drag_drop.rb +1 -1
  99. data/lib/wx/doc/gen/drag_image.rb +1 -1
  100. data/lib/wx/doc/gen/editable_list_box.rb +1 -1
  101. data/lib/wx/doc/gen/event.rb +1 -1
  102. data/lib/wx/doc/gen/event_blocker.rb +1 -1
  103. data/lib/wx/doc/gen/event_filter.rb +1 -1
  104. data/lib/wx/doc/gen/events.rb +3 -25
  105. data/lib/wx/doc/gen/evt_handler.rb +1 -1
  106. data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
  107. data/lib/wx/doc/gen/file_ctrl.rb +1 -1
  108. data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
  109. data/lib/wx/doc/gen/file_dialog.rb +1 -3
  110. data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
  111. data/lib/wx/doc/gen/file_dialog_customize_hook.rb +54 -62
  112. data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
  113. data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
  114. data/lib/wx/doc/gen/file_system.rb +2 -59
  115. data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
  116. data/lib/wx/doc/gen/find_replace_data.rb +1 -1
  117. data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
  118. data/lib/wx/doc/gen/flex_grid_sizer.rb +1 -1
  119. data/lib/wx/doc/gen/font.rb +1 -1
  120. data/lib/wx/doc/gen/font_data.rb +1 -1
  121. data/lib/wx/doc/gen/font_dialog.rb +1 -1
  122. data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
  123. data/lib/wx/doc/gen/font_picker_event.rb +1 -1
  124. data/lib/wx/doc/gen/frame.rb +1 -2
  125. data/lib/wx/doc/gen/fs_file.rb +1 -1
  126. data/lib/wx/doc/gen/functions.rb +1 -1
  127. data/lib/wx/doc/gen/gauge.rb +1 -1
  128. data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
  129. data/lib/wx/doc/gen/gcdc.rb +1 -1
  130. data/lib/wx/doc/gen/gdi_common.rb +3 -3
  131. data/lib/wx/doc/gen/gdi_object.rb +1 -1
  132. data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
  133. data/lib/wx/doc/gen/graphics_context.rb +1 -1
  134. data/lib/wx/doc/gen/graphics_object.rb +1 -1
  135. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
  136. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
  137. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
  138. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
  139. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
  140. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
  141. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
  142. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
  143. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
  144. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
  145. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
  146. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
  147. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
  148. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
  149. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
  150. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
  151. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
  152. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
  153. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
  154. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
  155. data/lib/wx/doc/gen/grid/grid_ctrl.rb +2716 -2724
  156. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
  157. data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
  158. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
  159. data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
  160. data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
  161. data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
  162. data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
  163. data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
  164. data/lib/wx/doc/gen/grid_sizer.rb +1 -1
  165. data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
  166. data/lib/wx/doc/gen/header_ctrl.rb +1 -2
  167. data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
  168. data/lib/wx/doc/gen/help_controller.rb +1 -1
  169. data/lib/wx/doc/gen/help_provider.rb +1 -1
  170. data/lib/wx/doc/gen/html/html_cell.rb +515 -511
  171. data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
  172. data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
  173. data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
  174. data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
  175. data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
  176. data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
  177. data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
  178. data/lib/wx/doc/gen/html/html_printout.rb +94 -90
  179. data/lib/wx/doc/gen/html/html_window.rb +406 -402
  180. data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
  181. data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
  182. data/lib/wx/doc/gen/icon.rb +1 -1
  183. data/lib/wx/doc/gen/icon_location.rb +1 -1
  184. data/lib/wx/doc/gen/image.rb +1 -3
  185. data/lib/wx/doc/gen/image_list.rb +1 -1
  186. data/lib/wx/doc/gen/info_bar.rb +1 -1
  187. data/lib/wx/doc/gen/keyboard_state.rb +1 -1
  188. data/lib/wx/doc/gen/list_box.rb +1 -1
  189. data/lib/wx/doc/gen/list_ctrl.rb +1 -2
  190. data/lib/wx/doc/gen/list_event.rb +1 -1
  191. data/lib/wx/doc/gen/listbook.rb +1 -1
  192. data/lib/wx/doc/gen/locale.rb +1 -1
  193. data/lib/wx/doc/gen/log.rb +1 -1
  194. data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
  195. data/lib/wx/doc/gen/mdi_frame.rb +1 -1
  196. data/lib/wx/doc/gen/media_ctrl.rb +1 -7
  197. data/lib/wx/doc/gen/media_event.rb +1 -1
  198. data/lib/wx/doc/gen/memory_dc.rb +1 -1
  199. data/lib/wx/doc/gen/menu.rb +1 -3
  200. data/lib/wx/doc/gen/menu_bar.rb +1 -1
  201. data/lib/wx/doc/gen/menu_item.rb +1 -1
  202. data/lib/wx/doc/gen/message_dialog.rb +1 -1
  203. data/lib/wx/doc/gen/mini_frame.rb +1 -1
  204. data/lib/wx/doc/gen/mirror_dc.rb +1 -1
  205. data/lib/wx/doc/gen/mouse_state.rb +1 -1
  206. data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
  207. data/lib/wx/doc/gen/non_owned_window.rb +1 -1
  208. data/lib/wx/doc/gen/notebook.rb +1 -2
  209. data/lib/wx/doc/gen/num_validator.rb +1 -1
  210. data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
  211. data/lib/wx/doc/gen/object.rb +1 -1
  212. data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
  213. data/lib/wx/doc/gen/paint_dc.rb +1 -1
  214. data/lib/wx/doc/gen/palette.rb +1 -1
  215. data/lib/wx/doc/gen/panel.rb +1 -1
  216. data/lib/wx/doc/gen/pen.rb +1 -1
  217. data/lib/wx/doc/gen/persistence_manager.rb +1 -1
  218. data/lib/wx/doc/gen/persistent_object.rb +1 -1
  219. data/lib/wx/doc/gen/persistent_window.rb +1 -1
  220. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
  221. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
  222. data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
  223. data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
  224. data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
  225. data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
  226. data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1938
  227. data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -273
  228. data/lib/wx/doc/gen/pg/property_grid.rb +708 -706
  229. data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
  230. data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
  231. data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -384
  232. data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -265
  233. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -144
  234. data/lib/wx/doc/gen/picker_base.rb +1 -1
  235. data/lib/wx/doc/gen/platform_info.rb +1 -1
  236. data/lib/wx/doc/gen/popup_window.rb +1 -1
  237. data/lib/wx/doc/gen/progress_dialog.rb +1 -1
  238. data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
  239. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
  240. data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -18
  241. data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
  242. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
  243. data/lib/wx/doc/gen/prt/print_data.rb +637 -633
  244. data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
  245. data/lib/wx/doc/gen/prt/printer.rb +484 -480
  246. data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
  247. data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
  248. data/lib/wx/doc/gen/radio_box.rb +1 -1
  249. data/lib/wx/doc/gen/radio_button.rb +1 -1
  250. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
  251. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
  252. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
  253. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
  254. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
  255. data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
  256. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
  257. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
  258. data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
  259. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
  260. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
  261. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
  262. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
  263. data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
  264. data/lib/wx/doc/gen/rearrange_list.rb +1 -1
  265. data/lib/wx/doc/gen/region.rb +1 -1
  266. data/lib/wx/doc/gen/region_iterator.rb +1 -1
  267. data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
  268. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
  269. data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
  270. data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
  271. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
  272. data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
  273. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
  274. data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
  275. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
  276. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -85
  277. data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
  278. data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
  279. data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
  280. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
  281. data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -279
  282. data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
  283. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -44
  284. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
  285. data/lib/wx/doc/gen/sash_event.rb +1 -1
  286. data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
  287. data/lib/wx/doc/gen/sash_window.rb +1 -1
  288. data/lib/wx/doc/gen/scaled_dc.rb +1 -1
  289. data/lib/wx/doc/gen/screen_dc.rb +1 -1
  290. data/lib/wx/doc/gen/scroll_bar.rb +1 -2
  291. data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
  292. data/lib/wx/doc/gen/scrolled_control.rb +1 -1
  293. data/lib/wx/doc/gen/scrolled_window.rb +1 -1
  294. data/lib/wx/doc/gen/search_ctrl.rb +1 -1
  295. data/lib/wx/doc/gen/simplebook.rb +1 -1
  296. data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
  297. data/lib/wx/doc/gen/sizer.rb +1 -2
  298. data/lib/wx/doc/gen/sizer_item.rb +1 -1
  299. data/lib/wx/doc/gen/slider.rb +1 -2
  300. data/lib/wx/doc/gen/spin_button.rb +1 -1
  301. data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
  302. data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
  303. data/lib/wx/doc/gen/spin_double_event.rb +1 -1
  304. data/lib/wx/doc/gen/spin_event.rb +1 -1
  305. data/lib/wx/doc/gen/splash_screen.rb +2 -2
  306. data/lib/wx/doc/gen/splitter_event.rb +1 -1
  307. data/lib/wx/doc/gen/splitter_window.rb +1 -1
  308. data/lib/wx/doc/gen/static_bitmap.rb +1 -1
  309. data/lib/wx/doc/gen/static_box.rb +1 -1
  310. data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
  311. data/lib/wx/doc/gen/static_line.rb +1 -1
  312. data/lib/wx/doc/gen/static_text.rb +1 -1
  313. data/lib/wx/doc/gen/status_bar.rb +1 -1
  314. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4199
  315. data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7508
  316. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
  317. data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
  318. data/lib/wx/doc/gen/system_options.rb +1 -1
  319. data/lib/wx/doc/gen/system_settings.rb +1 -1
  320. data/lib/wx/doc/gen/task_bar_button.rb +1 -1
  321. data/lib/wx/doc/gen/task_bar_icon.rb +1 -2
  322. data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
  323. data/lib/wx/doc/gen/text_attr.rb +1 -1
  324. data/lib/wx/doc/gen/text_ctrl.rb +1 -6
  325. data/lib/wx/doc/gen/text_entry.rb +1 -1
  326. data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
  327. data/lib/wx/doc/gen/text_validator.rb +1 -1
  328. data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
  329. data/lib/wx/doc/gen/timer.rb +1 -1
  330. data/lib/wx/doc/gen/timer_event.rb +1 -1
  331. data/lib/wx/doc/gen/tip_provider.rb +1 -1
  332. data/lib/wx/doc/gen/toggle_button.rb +1 -1
  333. data/lib/wx/doc/gen/tool_bar.rb +1 -1
  334. data/lib/wx/doc/gen/tool_tip.rb +1 -1
  335. data/lib/wx/doc/gen/toolbook.rb +1 -1
  336. data/lib/wx/doc/gen/top_level_window.rb +1 -1
  337. data/lib/wx/doc/gen/tree_ctrl.rb +1 -3
  338. data/lib/wx/doc/gen/tree_event.rb +1 -1
  339. data/lib/wx/doc/gen/treebook.rb +1 -1
  340. data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
  341. data/lib/wx/doc/gen/utils.rb +1 -1
  342. data/lib/wx/doc/gen/v_list_box.rb +1 -1
  343. data/lib/wx/doc/gen/v_scrolled_window.rb +1 -2
  344. data/lib/wx/doc/gen/validator.rb +1 -1
  345. data/lib/wx/doc/gen/variant.rb +1 -1
  346. data/lib/wx/doc/gen/window.rb +1 -1
  347. data/lib/wx/doc/gen/window_dc.rb +1 -1
  348. data/lib/wx/doc/gen/window_disabler.rb +1 -1
  349. data/lib/wx/doc/gen/with_images.rb +1 -1
  350. data/lib/wx/doc/gen/wizard.rb +1 -2
  351. data/lib/wx/doc/gen/wizard_event.rb +1 -1
  352. data/lib/wx/doc/gen/wizard_page.rb +1 -2
  353. data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
  354. data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
  355. data/lib/wx/doc/gen/xml_node.rb +1 -1
  356. data/lib/wx/doc/gen/xml_resource.rb +1 -1
  357. data/lib/wx/doc/owner_drawn_combobox.rb +5 -1
  358. data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
  359. data/lib/wx/version.rb +1 -1
  360. data/lib/wx/wxruby/base.rb +6 -4
  361. data/lib/wx/wxruby/cmd/sampler.rb +39 -29
  362. data/lib/wx/wxruby/cmd/setup.rb +122 -0
  363. data/lib/wx/wxruby/cmd/test.rb +56 -6
  364. data/lib/wxruby_aui.so +0 -0
  365. data/lib/wxruby_core.so +0 -0
  366. data/lib/wxruby_grid.so +0 -0
  367. data/lib/wxruby_html.so +0 -0
  368. data/lib/wxruby_pg.so +0 -0
  369. data/lib/wxruby_prt.so +0 -0
  370. data/lib/wxruby_rbn.so +0 -0
  371. data/lib/wxruby_rtc.so +0 -0
  372. data/lib/wxruby_stc.so +0 -0
  373. data/rakelib/install.rb +2 -0
  374. data/rakelib/lib/config/linux.rb +24 -2
  375. data/rakelib/lib/config/macosx.rb +16 -0
  376. data/rakelib/lib/config/mingw.rb +133 -9
  377. data/rakelib/lib/config/pkgman/arch.rb +53 -0
  378. data/rakelib/lib/config/pkgman/base.rb +169 -0
  379. data/rakelib/lib/config/pkgman/debian.rb +66 -0
  380. data/rakelib/lib/config/pkgman/macosx.rb +183 -0
  381. data/rakelib/lib/config/pkgman/rhel.rb +54 -0
  382. data/rakelib/lib/config/pkgman/suse.rb +54 -0
  383. data/rakelib/lib/config/unixish.rb +36 -19
  384. data/rakelib/lib/config.rb +254 -61
  385. data/rakelib/prepost.rake +9 -4
  386. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
  387. data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
  388. data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
  389. data/tests/test_combo_ctrl.rb +196 -0
  390. metadata +25 -4
@@ -6,522 +6,526 @@
6
6
 
7
7
  module Wx::HTML
8
8
 
9
- #
10
- HTML_ALIGN_LEFT = 0
11
-
12
- #
13
- HTML_ALIGN_RIGHT = 2
14
-
15
- #
16
- HTML_ALIGN_JUSTIFY = 16
17
-
18
- #
19
- HTML_ALIGN_TOP = 4
20
-
21
- #
22
- HTML_ALIGN_BOTTOM = 8
23
-
24
- #
25
- HTML_ALIGN_CENTER = 1
26
-
27
- #
28
- HTML_CLR_FOREGROUND = 1
29
-
30
- #
31
- HTML_CLR_BACKGROUND = 2
32
-
33
- #
34
- HTML_CLR_TRANSPARENT_BACKGROUND = 4
35
-
36
- #
37
- HTML_UNITS_PIXELS = 1
38
-
39
- #
40
- HTML_UNITS_PERCENT = 2
41
-
42
- #
43
- HTML_INDENT_LEFT = 16
44
-
45
- #
46
- HTML_INDENT_RIGHT = 32
47
-
48
- #
49
- HTML_INDENT_TOP = 64
50
-
51
- #
52
- HTML_INDENT_BOTTOM = 128
53
-
54
- #
55
- HTML_INDENT_HORIZONTAL = 48
56
-
57
- #
58
- HTML_INDENT_VERTICAL = 192
59
-
60
- #
61
- HTML_INDENT_ALL = 240
62
-
63
- #
64
- HTML_COND_ISANCHOR = 1
65
-
66
- #
67
- HTML_COND_ISIMAGEMAP = 2
68
-
69
- #
70
- HTML_COND_USER = 10000
71
-
72
- #
73
- #
74
- #
75
- #
76
- # @wxrb_require USE_HTML
77
- class HtmlSelectionState < Wx::Enum
78
-
79
- #
80
- #
81
- HTML_SEL_OUT = Wx::HTML::HtmlSelectionState.new(0)
82
-
83
- #
84
- #
85
- HTML_SEL_IN = Wx::HTML::HtmlSelectionState.new(1)
86
-
87
- #
88
- #
89
- HTML_SEL_CHANGING = Wx::HTML::HtmlSelectionState.new(2)
90
-
91
- end # HtmlSelectionState
92
-
93
- #
94
- #
95
- HTML_FIND_EXACT = 1
96
-
97
- #
98
- #
99
- HTML_FIND_NEAREST_BEFORE = 2
100
-
101
- #
102
- #
103
- HTML_FIND_NEAREST_AFTER = 4
104
-
105
- #
106
- #
107
- #
108
- #
109
- # @wxrb_require USE_HTML
110
- class HtmlScriptMode < Wx::Enum
111
-
112
- #
113
- #
114
- HTML_SCRIPT_NORMAL = Wx::HTML::HtmlScriptMode.new(0)
115
-
116
- #
117
- #
118
- HTML_SCRIPT_SUB = Wx::HTML::HtmlScriptMode.new(1)
119
-
120
- #
121
- #
122
- HTML_SCRIPT_SUP = Wx::HTML::HtmlScriptMode.new(2)
123
-
124
- end # HtmlScriptMode
125
-
126
- # Internal data structure.
127
- #
128
- # It represents fragments of parsed HTML page, the so-called <b>cell</b> - a word, picture, table, horizontal line and so on. It is used by {Wx::HTML::HtmlWindow} and {Wx::HtmlWinParser} to represent HTML page in memory.
129
- # You can divide cells into two groups : visible cells with non-zero width and height and helper cells (usually with zero width and height) that perform special actions such as color or font change.
130
- #
131
- # Category: {Wx::HTML}
132
- # @see Cells and Containers
133
- # @see Wx::HTML::HtmlContainerCell
134
- #
135
- #
136
- # @wxrb_require USE_HTML
137
- class HtmlCell < Object
138
-
139
- # Constructor.
140
- # @return [Wx::HTML::HtmlCell]
141
- def initialize; end
142
-
143
- # Find a cell inside this cell positioned at the given coordinates (relative to this's positions).
144
- #
145
- # Returns NULL if no such cell exists. The flag can be used to specify whether to look for terminal or nonterminal cells or both. In either case, returned cell is deepest cell in cells tree that contains [x,y].
146
- # @param x [Integer]
147
- # @param y [Integer]
148
- # @param flags [unsigned]
149
- # @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell]
150
- def find_cell_by_pos(x, y, flags=Wx::HTML::HTML_FIND_EXACT) end
151
-
152
- # Returns descent value of the cell (m_Descent member).
153
- #
154
- # See explanation:
155
- # @return [Integer]
156
- def get_descent; end
157
- alias_method :descent, :get_descent
158
-
159
- # Returns pointer to the first cell in the list.
9
+ module Wx::HTML
10
+
160
11
  #
161
- # You can then use child's {Wx::HTML::HtmlCell#get_next} method to obtain pointer to the next cell in list.
12
+ HTML_ALIGN_LEFT = 0
13
+
162
14
  #
163
- # <div class="wxrb-note">
164
- # <b>Note:</b>
165
- # <p>This shouldn't be used by the end user. If you need some way of finding particular cell in the list, try {Wx::HTML::HtmlCell#find} method instead.
166
- # </p>
167
- # </div>
168
- # @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell]
169
- def get_first_child; end
170
- alias_method :first_child, :get_first_child
171
-
172
- # Returns height of the cell (m_Height member).
173
- # @return [Integer]
174
- def get_height; end
175
- alias_method :height, :get_height
176
-
177
- # Returns unique cell identifier if there is any, the empty string otherwise.
178
- # @return [Wx::String]
179
- def get_id; end
180
- alias_method :id, :get_id
181
-
182
- # Returns hypertext link if associated with this cell or NULL otherwise.
183
- #
184
- # See {Wx::HTML::HtmlLinkInfo}. (Note: this makes sense only for visible tags).
185
- # @param x [Integer] Coordinates of position where the user pressed mouse button. These coordinates are used e.g. by COLORMAP. Values are relative to the upper left corner of THIS cell (i.e. from 0 to m_Width or m_Height)
186
- # @param y [Integer]
187
- # @return [Wx::HTML::HtmlLinkInfo]
188
- def get_link(x=0, y=0) end
189
- alias_method :link, :get_link
190
-
191
- # Returns pointer to the next cell in list (see {Wx::htmlcell.h} if you're interested in details).
192
- # @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell]
193
- def get_next; end
194
- alias_method :next_, :get_next
195
-
196
- # Returns pointer to parent container.
197
- # @return [Wx::HTML::HtmlContainerCell]
198
- def get_parent; end
199
- alias_method :parent, :get_parent
200
-
201
- # Returns X position within parent (the value is relative to parent's upper left corner).
202
- #
203
- # The returned value is meaningful only if parent's {Wx::HTML::HtmlCell#layout} was called before!
204
- # @return [Integer]
205
- def get_pos_x; end
206
- alias_method :pos_x, :get_pos_x
207
-
208
- # Returns Y position within parent (the value is relative to parent's upper left corner).
209
- #
210
- # The returned value is meaningful only if parent's {Wx::HTML::HtmlCell#layout} was called before!
211
- # @return [Integer]
212
- def get_pos_y; end
213
- alias_method :pos_y, :get_pos_y
214
-
215
- # Returns width of the cell (m_Width member).
216
- # @return [Integer]
217
- def get_width; end
218
- alias_method :width, :get_width
219
-
220
- # Sets unique cell identifier.
221
- #
222
- # Default value is no identifier, i.e. empty string.
223
- # @param id [String]
224
- # @return [void]
225
- def set_id(id) end
226
- alias_method :id=, :set_id
227
-
228
- # Sets the hypertext link associated with this cell.
229
- #
230
- # (Default value is {Wx::HTML::HtmlLinkInfo}("", "") (no link))
231
- # @param link [Wx::HTML::HtmlLinkInfo]
232
- # @return [void]
233
- def set_link(link) end
234
- alias_method :link=, :set_link
235
-
236
- # Sets the next cell in the list.
237
- #
238
- # This shouldn't be called by user - it is to be used only by {Wx::HTML::HtmlContainerCell#insert_cell}.
239
- # @param cell [Wx::HTML::HtmlCell]
240
- # @return [void]
241
- def set_next(cell) end
242
- alias_method :next_=, :set_next
243
-
244
- # Sets parent container of this cell.
245
- #
246
- # This is called from {Wx::HTML::HtmlContainerCell#insert_cell}.
247
- # @param p [Wx::HTML::HtmlContainerCell]
248
- # @return [void]
249
- def set_parent(p) end
250
- alias_method :parent=, :set_parent
251
-
252
- # Sets the cell's position within parent container.
253
- # @param x [Integer]
254
- # @param y [Integer]
255
- # @return [void]
256
- def set_pos(x, y) end
257
-
258
- # Converts the cell into text representation.
259
- #
260
- # If sel != NULL then only part of the cell inside the selection is converted.
261
- # @param sel [Wx::HTML::HtmlSelection]
262
- # @return [String]
263
- def convert_to_text(sel) end
264
-
265
- end # HtmlCell
266
-
267
- # This class stores all necessary information about hypertext links (as represented by <A> tag in HTML documents).
268
- #
269
- # In current implementation it stores URL and target frame name.
270
- #
271
- # <div class="wxrb-note">
272
- # <b>Note:</b>
273
- # <p>Frames are not currently supported by {Wx::HTML}!
274
- # </p>
275
- # </div>
276
- #
277
- # Category: {Wx::HTML}
278
- #
279
- #
280
- # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
281
- # @wxrb_require USE_HTML
282
- class HtmlLinkInfo < Object
283
-
284
- # @overload initialize()
285
- # Default ctor.
286
- # @return [Wx::HTML::HtmlLinkInfo]
287
- # @overload initialize(href, target=(''))
288
- # Construct hypertext link from HREF (aka URL) and TARGET (name of target frame).
289
- # @param href [String]
290
- # @param target [String]
291
- # @return [Wx::HTML::HtmlLinkInfo]
292
- def initialize(*args) end
293
-
294
- # Return pointer to event that generated OnLinkClicked() event.
295
- #
296
- # Valid only within {Wx::HTML::HtmlWindow#on_link_clicked}, NULL otherwise.
297
- # @return [Wx::MouseEvent]
298
- def get_event; end
299
- alias_method :event, :get_event
300
-
301
- # Return HREF value of the <A> tag.
302
- # @return [String]
303
- def get_href; end
304
- alias_method :href, :get_href
305
-
306
- # Return pointer to the cell that was clicked.
307
- #
308
- # Valid only within {Wx::HTML::HtmlWindow#on_link_clicked}, NULL otherwise.
309
- # @return [Wx::HTML::HtmlCell]
310
- def get_html_cell; end
311
- alias_method :html_cell, :get_html_cell
312
-
313
- # Return TARGET value of the <A> tag (this value is used to specify in which frame should be the page pointed by {Wx::HTML::HtmlLinkInfo#get_href} Href opened).
314
- # @return [String]
315
- def get_target; end
316
- alias_method :target, :get_target
317
-
318
- end # HtmlLinkInfo
319
-
320
- # The {Wx::HTML::HtmlContainerCell} class is an implementation of a cell that may contain more cells in it.
321
- #
322
- # It is heavily used in the {Wx::HTML} layout algorithm.
323
- #
324
- # Category: {Wx::HTML}
325
- # @see Cells and Containers
326
- #
327
- #
328
- # @wxrb_require USE_HTML
329
- class HtmlContainerCell < HtmlCell
330
-
331
- # Constructor.
332
- #
333
- # parent is pointer to parent container or NULL.
334
- # @param parent [Wx::HTML::HtmlContainerCell]
335
- # @return [Wx::HTML::HtmlContainerCell]
336
- def initialize(parent) end
337
-
338
- # Detach a child cell.
339
- #
340
- # Detaching a cell removes it from this container and allows reattaching it to another one by using {Wx::HTML::HtmlContainerCell#insert_cell}. Alternatively, this method can be used to selectively remove some elements of the HTML document tree by deleting the cell after calling it.
341
- # @param cell [Wx::HTML::HtmlCell] Must be non-null and an immediate child of this cell.
342
- # @return [void]
343
- def detach(cell) end
344
-
345
- # Returns container's horizontal alignment.
346
- # @return [Integer]
347
- def get_align_hor; end
348
- alias_method :align_hor, :get_align_hor
349
-
350
- # Returns container's vertical alignment.
351
- # @return [Integer]
352
- def get_align_ver; end
353
- alias_method :align_ver, :get_align_ver
354
-
355
- # Returns the background colour of the container or {Wx::NULL_COLOUR} if no background colour is set.
356
- # @return [Wx::Colour]
357
- def get_background_colour; end
358
- alias_method :background_colour, :get_background_colour
359
-
360
- # Returns the indentation.
361
- #
362
- # ind is one of the <b>{Wx::HTML_INDENT_}*</b> constants.
15
+ HTML_ALIGN_RIGHT = 2
16
+
17
+ #
18
+ HTML_ALIGN_JUSTIFY = 16
19
+
20
+ #
21
+ HTML_ALIGN_TOP = 4
22
+
23
+ #
24
+ HTML_ALIGN_BOTTOM = 8
25
+
26
+ #
27
+ HTML_ALIGN_CENTER = 1
28
+
29
+ #
30
+ HTML_CLR_FOREGROUND = 1
31
+
32
+ #
33
+ HTML_CLR_BACKGROUND = 2
34
+
35
+ #
36
+ HTML_CLR_TRANSPARENT_BACKGROUND = 4
37
+
38
+ #
39
+ HTML_UNITS_PIXELS = 1
40
+
41
+ #
42
+ HTML_UNITS_PERCENT = 2
43
+
44
+ #
45
+ HTML_INDENT_LEFT = 16
46
+
47
+ #
48
+ HTML_INDENT_RIGHT = 32
49
+
50
+ #
51
+ HTML_INDENT_TOP = 64
52
+
53
+ #
54
+ HTML_INDENT_BOTTOM = 128
55
+
56
+ #
57
+ HTML_INDENT_HORIZONTAL = 48
58
+
59
+ #
60
+ HTML_INDENT_VERTICAL = 192
61
+
62
+ #
63
+ HTML_INDENT_ALL = 240
64
+
65
+ #
66
+ HTML_COND_ISANCHOR = 1
67
+
68
+ #
69
+ HTML_COND_ISIMAGEMAP = 2
70
+
71
+ #
72
+ HTML_COND_USER = 10000
73
+
74
+ #
75
+ #
76
+ #
77
+ #
78
+ # @wxrb_require USE_HTML
79
+ class HtmlSelectionState < Wx::Enum
80
+
81
+ #
82
+ #
83
+ HTML_SEL_OUT = Wx::HTML::HtmlSelectionState.new(0)
84
+
85
+ #
86
+ #
87
+ HTML_SEL_IN = Wx::HTML::HtmlSelectionState.new(1)
88
+
89
+ #
90
+ #
91
+ HTML_SEL_CHANGING = Wx::HTML::HtmlSelectionState.new(2)
92
+
93
+ end # HtmlSelectionState
94
+
95
+ #
96
+ #
97
+ HTML_FIND_EXACT = 1
98
+
99
+ #
100
+ #
101
+ HTML_FIND_NEAREST_BEFORE = 2
102
+
103
+ #
104
+ #
105
+ HTML_FIND_NEAREST_AFTER = 4
106
+
107
+ #
108
+ #
109
+ #
110
+ #
111
+ # @wxrb_require USE_HTML
112
+ class HtmlScriptMode < Wx::Enum
113
+
114
+ #
115
+ #
116
+ HTML_SCRIPT_NORMAL = Wx::HTML::HtmlScriptMode.new(0)
117
+
118
+ #
119
+ #
120
+ HTML_SCRIPT_SUB = Wx::HTML::HtmlScriptMode.new(1)
121
+
122
+ #
123
+ #
124
+ HTML_SCRIPT_SUP = Wx::HTML::HtmlScriptMode.new(2)
125
+
126
+ end # HtmlScriptMode
127
+
128
+ # Internal data structure.
129
+ #
130
+ # It represents fragments of parsed HTML page, the so-called <b>cell</b> - a word, picture, table, horizontal line and so on. It is used by {Wx::HTML::HtmlWindow} and {Wx::HtmlWinParser} to represent HTML page in memory.
131
+ # You can divide cells into two groups : visible cells with non-zero width and height and helper cells (usually with zero width and height) that perform special actions such as color or font change.
132
+ #
133
+ # Category: {Wx::HTML}
134
+ # @see Cells and Containers
135
+ # @see Wx::HTML::HtmlContainerCell
136
+ #
137
+ #
138
+ # @wxrb_require USE_HTML
139
+ class HtmlCell < Object
140
+
141
+ # Constructor.
142
+ # @return [Wx::HTML::HtmlCell]
143
+ def initialize; end
144
+
145
+ # Find a cell inside this cell positioned at the given coordinates (relative to this's positions).
146
+ #
147
+ # Returns NULL if no such cell exists. The flag can be used to specify whether to look for terminal or nonterminal cells or both. In either case, returned cell is deepest cell in cells tree that contains [x,y].
148
+ # @param x [Integer]
149
+ # @param y [Integer]
150
+ # @param flags [unsigned]
151
+ # @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell]
152
+ def find_cell_by_pos(x, y, flags=Wx::HTML::HTML_FIND_EXACT) end
153
+
154
+ # Returns descent value of the cell (m_Descent member).
155
+ #
156
+ # See explanation:
157
+ # @return [Integer]
158
+ def get_descent; end
159
+ alias_method :descent, :get_descent
160
+
161
+ # Returns pointer to the first cell in the list.
162
+ #
163
+ # You can then use child's {Wx::HTML::HtmlCell#get_next} method to obtain pointer to the next cell in list.
164
+ #
165
+ # <div class="wxrb-note">
166
+ # <b>Note:</b>
167
+ # <p>This shouldn't be used by the end user. If you need some way of finding particular cell in the list, try {Wx::HTML::HtmlCell#find} method instead.
168
+ # </p>
169
+ # </div>
170
+ # @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell]
171
+ def get_first_child; end
172
+ alias_method :first_child, :get_first_child
173
+
174
+ # Returns height of the cell (m_Height member).
175
+ # @return [Integer]
176
+ def get_height; end
177
+ alias_method :height, :get_height
178
+
179
+ # Returns unique cell identifier if there is any, the empty string otherwise.
180
+ # @return [Wx::String]
181
+ def get_id; end
182
+ alias_method :id, :get_id
183
+
184
+ # Returns hypertext link if associated with this cell or NULL otherwise.
185
+ #
186
+ # See {Wx::HTML::HtmlLinkInfo}. (Note: this makes sense only for visible tags).
187
+ # @param x [Integer] Coordinates of position where the user pressed mouse button. These coordinates are used e.g. by COLORMAP. Values are relative to the upper left corner of THIS cell (i.e. from 0 to m_Width or m_Height)
188
+ # @param y [Integer]
189
+ # @return [Wx::HTML::HtmlLinkInfo]
190
+ def get_link(x=0, y=0) end
191
+ alias_method :link, :get_link
192
+
193
+ # Returns pointer to the next cell in list (see {Wx::htmlcell.h} if you're interested in details).
194
+ # @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell]
195
+ def get_next; end
196
+ alias_method :next_, :get_next
197
+
198
+ # Returns pointer to parent container.
199
+ # @return [Wx::HTML::HtmlContainerCell]
200
+ def get_parent; end
201
+ alias_method :parent, :get_parent
202
+
203
+ # Returns X position within parent (the value is relative to parent's upper left corner).
204
+ #
205
+ # The returned value is meaningful only if parent's {Wx::HTML::HtmlCell#layout} was called before!
206
+ # @return [Integer]
207
+ def get_pos_x; end
208
+ alias_method :pos_x, :get_pos_x
209
+
210
+ # Returns Y position within parent (the value is relative to parent's upper left corner).
211
+ #
212
+ # The returned value is meaningful only if parent's {Wx::HTML::HtmlCell#layout} was called before!
213
+ # @return [Integer]
214
+ def get_pos_y; end
215
+ alias_method :pos_y, :get_pos_y
216
+
217
+ # Returns width of the cell (m_Width member).
218
+ # @return [Integer]
219
+ def get_width; end
220
+ alias_method :width, :get_width
221
+
222
+ # Sets unique cell identifier.
223
+ #
224
+ # Default value is no identifier, i.e. empty string.
225
+ # @param id [String]
226
+ # @return [void]
227
+ def set_id(id) end
228
+ alias_method :id=, :set_id
229
+
230
+ # Sets the hypertext link associated with this cell.
231
+ #
232
+ # (Default value is {Wx::HTML::HtmlLinkInfo}("", "") (no link))
233
+ # @param link [Wx::HTML::HtmlLinkInfo]
234
+ # @return [void]
235
+ def set_link(link) end
236
+ alias_method :link=, :set_link
237
+
238
+ # Sets the next cell in the list.
239
+ #
240
+ # This shouldn't be called by user - it is to be used only by {Wx::HTML::HtmlContainerCell#insert_cell}.
241
+ # @param cell [Wx::HTML::HtmlCell]
242
+ # @return [void]
243
+ def set_next(cell) end
244
+ alias_method :next_=, :set_next
245
+
246
+ # Sets parent container of this cell.
247
+ #
248
+ # This is called from {Wx::HTML::HtmlContainerCell#insert_cell}.
249
+ # @param p [Wx::HTML::HtmlContainerCell]
250
+ # @return [void]
251
+ def set_parent(p) end
252
+ alias_method :parent=, :set_parent
253
+
254
+ # Sets the cell's position within parent container.
255
+ # @param x [Integer]
256
+ # @param y [Integer]
257
+ # @return [void]
258
+ def set_pos(x, y) end
259
+
260
+ # Converts the cell into text representation.
261
+ #
262
+ # If sel != NULL then only part of the cell inside the selection is converted.
263
+ # @param sel [Wx::HTML::HtmlSelection]
264
+ # @return [String]
265
+ def convert_to_text(sel) end
266
+
267
+ end # HtmlCell
268
+
269
+ # This class stores all necessary information about hypertext links (as represented by <A> tag in HTML documents).
270
+ #
271
+ # In current implementation it stores URL and target frame name.
363
272
  #
364
273
  # <div class="wxrb-note">
365
274
  # <b>Note:</b>
366
- # <p>You must call {Wx::HTML::HtmlContainerCell#get_indent_units} with same ind parameter in order to correctly interpret the returned integer value. It is NOT always in pixels!
275
+ # <p>Frames are not currently supported by {Wx::HTML}!
367
276
  # </p>
368
277
  # </div>
369
- # @param ind [Integer]
370
- # @return [Integer]
371
- def get_indent(ind) end
372
- alias_method :indent, :get_indent
373
-
374
- # Returns the units of indentation for ind where ind is one of the <b>{Wx::HTML_INDENT_}*</b> constants.
375
- # @param ind [Integer]
376
- # @return [Integer]
377
- def get_indent_units(ind) end
378
- alias_method :indent_units, :get_indent_units
379
-
380
- # Inserts a new cell into the container.
381
- #
382
- # Note that the container takes ownership of the cell and will delete it when it itself is destroyed.
383
- # @param cell [Wx::HTML::HtmlCell]
384
- # @return [void]
385
- def insert_cell(cell) end
386
-
387
- # Sets the container's horizontal alignment.
388
- #
389
- # During {Wx::HTML::HtmlCell#layout} each line is aligned according to al value.
390
- # @param al [Integer] new horizontal alignment. May be one of these values:
391
- #
392
- # - {Wx::HTML::HTML_ALIGN_LEFT}: lines are left-aligned (default)
393
- # - {Wx::HTML::HTML_ALIGN_JUSTIFY}: lines are justified
394
- # - {Wx::HTML::HTML_ALIGN_CENTER}: lines are centered
395
- # - {Wx::HTML::HTML_ALIGN_RIGHT}: lines are right-aligned
396
- # @return [void]
397
- def set_align_hor(al) end
398
- alias_method :align_hor=, :set_align_hor
399
-
400
- # Sets the container's vertical alignment.
401
- #
402
- # This is per-line alignment!
403
- # @param al [Integer] new vertical alignment. May be one of these values:
404
- #
405
- # - {Wx::HTML::HTML_ALIGN_BOTTOM}: cells are over the line (default)
406
- # - {Wx::HTML::HTML_ALIGN_CENTER}: cells are centered on line
407
- # - {Wx::HTML::HTML_ALIGN_TOP}: cells are under the line
408
- # @return [void]
409
- def set_align_ver(al) end
410
- alias_method :align_ver=, :set_align_ver
411
-
412
- # Sets the background colour for this container.
413
- # @param clr [Wx::Colour,String,Symbol]
414
- # @return [void]
415
- def set_background_colour(clr) end
416
- alias_method :background_colour=, :set_background_colour
417
-
418
- # Sets the border (frame) colours.
419
- #
420
- # A border is a rectangle around the container.
421
- # @param clr1 [Wx::Colour,String,Symbol] Colour of top and left lines
422
- # @param clr2 [Wx::Colour,String,Symbol] Colour of bottom and right lines
423
- # @param border [Integer] Size of the border in pixels
424
- # @return [void]
425
- def set_border(clr1, clr2, border=1) end
426
-
427
- # Sets the indentation (free space between borders of container and subcells).
428
- # @param i [Integer] Indentation value.
429
- # @param what [Integer] Determines which of the four borders we're setting. It is OR combination of following constants:
430
- #
431
- # - {Wx::HTML::HTML_INDENT_TOP}: top border
432
- # - {Wx::HTML::HTML_INDENT_BOTTOM}: bottom
433
- # - {Wx::HTML::HTML_INDENT_LEFT}: left
434
- # - {Wx::HTML::HTML_INDENT_RIGHT}: right
435
- # - {Wx::HTML::HTML_INDENT_HORIZONTAL}: left and right
436
- # - {Wx::HTML::HTML_INDENT_VERTICAL}: top and bottom
437
- # - {Wx::HTML::HTML_INDENT_ALL}: all 4 borders
438
- # @param units [Integer] Units of i. This parameter affects interpretation of value.
439
- #
440
- # - {Wx::HTML::HTML_UNITS_PIXELS}: i is number of pixels
441
- # - {Wx::HTML::HTML_UNITS_PERCENT}: i is interpreted as percents of width of parent container
442
- # @return [void]
443
- def set_indent(i, what, units=Wx::HTML::HTML_UNITS_PIXELS) end
444
-
445
- # Sets minimal height of the container.
446
- #
447
- # When container's {Wx::HTML::HtmlCell#layout} is called, m_Height is set depending on layout of subcells to the height of area covered by layed-out subcells. Calling this method guarantees you that the height of container is never smaller than h - even if the subcells cover much smaller area.
448
- # @param h [Integer] The minimal height.
449
- # @param align [Integer] If height of the container is lower than the minimum height, empty space must be inserted somewhere in order to ensure minimal height. This parameter is one of {Wx::HTML::HTML_ALIGN_TOP}, {Wx::HTML::HTML_ALIGN_BOTTOM}, {Wx::HTML::HTML_ALIGN_CENTER}. It refers to the contents, not to the empty place.
450
- # @return [void]
451
- def set_min_height(h, align=Wx::HTML::HTML_ALIGN_TOP) end
452
- alias_method :min_height=, :set_min_height
453
-
454
- end # HtmlContainerCell
455
-
456
- #
457
- #
458
- #
459
- #
460
- #
461
- # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
462
- # @wxrb_require USE_HTML
463
- class HtmlSelection < ::Object
464
-
465
- # @return [Wx::HTML::HtmlSelection]
466
- def initialize; end
467
-
468
- # @overload set(fromPos, fromCell, toPos, toCell)
469
- # @param fromPos [Array(Integer, Integer), Wx::Point]
470
- # @param fromCell [Wx::HTML::HtmlCell]
471
- # @param toPos [Array(Integer, Integer), Wx::Point]
472
- # @param toCell [Wx::HTML::HtmlCell]
473
- # @return [void]
474
- # @overload set(fromCell, toCell)
475
- # @param fromCell [Wx::HTML::HtmlCell]
476
- # @param toCell [Wx::HTML::HtmlCell]
477
- # @return [void]
478
- def set(*args) end
479
-
480
- # @return [Wx::HTML::HtmlCell]
481
- def get_from_cell; end
482
- alias_method :from_cell, :get_from_cell
483
-
484
- # @return [Wx::HTML::HtmlCell]
485
- def get_to_cell; end
486
- alias_method :to_cell, :get_to_cell
487
-
488
- # @return [Wx::Point]
489
- def get_from_pos; end
490
- alias_method :from_pos, :get_from_pos
491
-
492
- # @return [Wx::Point]
493
- def get_to_pos; end
494
- alias_method :to_pos, :get_to_pos
495
-
496
- # @return [void]
497
- def clear_from_to_character_pos; end
498
-
499
- # @return [Boolean]
500
- def are_from_to_character_pos_set; end
501
-
502
- # @param pos [Integer]
503
- # @return [void]
504
- def set_from_character_pos(pos) end
505
- alias_method :from_character_pos=, :set_from_character_pos
506
-
507
- # @param pos [Integer]
508
- # @return [void]
509
- def set_to_character_pos(pos) end
510
- alias_method :to_character_pos=, :set_to_character_pos
511
-
512
- # @return [Integer]
513
- def get_from_character_pos; end
514
- alias_method :from_character_pos, :get_from_character_pos
515
-
516
- # @return [Integer]
517
- def get_to_character_pos; end
518
- alias_method :to_character_pos, :get_to_character_pos
519
-
520
- # @return [Boolean]
521
- def is_empty; end
522
- alias_method :empty?, :is_empty
523
-
524
- end # HtmlSelection
525
-
278
+ #
279
+ # Category: {Wx::HTML}
280
+ #
281
+ #
282
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
283
+ # @wxrb_require USE_HTML
284
+ class HtmlLinkInfo < Object
285
+
286
+ # @overload initialize()
287
+ # Default ctor.
288
+ # @return [Wx::HTML::HtmlLinkInfo]
289
+ # @overload initialize(href, target=(''))
290
+ # Construct hypertext link from HREF (aka URL) and TARGET (name of target frame).
291
+ # @param href [String]
292
+ # @param target [String]
293
+ # @return [Wx::HTML::HtmlLinkInfo]
294
+ def initialize(*args) end
295
+
296
+ # Return pointer to event that generated OnLinkClicked() event.
297
+ #
298
+ # Valid only within {Wx::HTML::HtmlWindow#on_link_clicked}, NULL otherwise.
299
+ # @return [Wx::MouseEvent]
300
+ def get_event; end
301
+ alias_method :event, :get_event
302
+
303
+ # Return HREF value of the <A> tag.
304
+ # @return [String]
305
+ def get_href; end
306
+ alias_method :href, :get_href
307
+
308
+ # Return pointer to the cell that was clicked.
309
+ #
310
+ # Valid only within {Wx::HTML::HtmlWindow#on_link_clicked}, NULL otherwise.
311
+ # @return [Wx::HTML::HtmlCell]
312
+ def get_html_cell; end
313
+ alias_method :html_cell, :get_html_cell
314
+
315
+ # Return TARGET value of the <A> tag (this value is used to specify in which frame should be the page pointed by {Wx::HTML::HtmlLinkInfo#get_href} Href opened).
316
+ # @return [String]
317
+ def get_target; end
318
+ alias_method :target, :get_target
319
+
320
+ end # HtmlLinkInfo
321
+
322
+ # The {Wx::HTML::HtmlContainerCell} class is an implementation of a cell that may contain more cells in it.
323
+ #
324
+ # It is heavily used in the {Wx::HTML} layout algorithm.
325
+ #
326
+ # Category: {Wx::HTML}
327
+ # @see Cells and Containers
328
+ #
329
+ #
330
+ # @wxrb_require USE_HTML
331
+ class HtmlContainerCell < HtmlCell
332
+
333
+ # Constructor.
334
+ #
335
+ # parent is pointer to parent container or NULL.
336
+ # @param parent [Wx::HTML::HtmlContainerCell]
337
+ # @return [Wx::HTML::HtmlContainerCell]
338
+ def initialize(parent) end
339
+
340
+ # Detach a child cell.
341
+ #
342
+ # Detaching a cell removes it from this container and allows reattaching it to another one by using {Wx::HTML::HtmlContainerCell#insert_cell}. Alternatively, this method can be used to selectively remove some elements of the HTML document tree by deleting the cell after calling it.
343
+ # @param cell [Wx::HTML::HtmlCell] Must be non-null and an immediate child of this cell.
344
+ # @return [void]
345
+ def detach(cell) end
346
+
347
+ # Returns container's horizontal alignment.
348
+ # @return [Integer]
349
+ def get_align_hor; end
350
+ alias_method :align_hor, :get_align_hor
351
+
352
+ # Returns container's vertical alignment.
353
+ # @return [Integer]
354
+ def get_align_ver; end
355
+ alias_method :align_ver, :get_align_ver
356
+
357
+ # Returns the background colour of the container or {Wx::NULL_COLOUR} if no background colour is set.
358
+ # @return [Wx::Colour]
359
+ def get_background_colour; end
360
+ alias_method :background_colour, :get_background_colour
361
+
362
+ # Returns the indentation.
363
+ #
364
+ # ind is one of the <b>{Wx::HTML_INDENT_}*</b> constants.
365
+ #
366
+ # <div class="wxrb-note">
367
+ # <b>Note:</b>
368
+ # <p>You must call {Wx::HTML::HtmlContainerCell#get_indent_units} with same ind parameter in order to correctly interpret the returned integer value. It is NOT always in pixels!
369
+ # </p>
370
+ # </div>
371
+ # @param ind [Integer]
372
+ # @return [Integer]
373
+ def get_indent(ind) end
374
+ alias_method :indent, :get_indent
375
+
376
+ # Returns the units of indentation for ind where ind is one of the <b>{Wx::HTML_INDENT_}*</b> constants.
377
+ # @param ind [Integer]
378
+ # @return [Integer]
379
+ def get_indent_units(ind) end
380
+ alias_method :indent_units, :get_indent_units
381
+
382
+ # Inserts a new cell into the container.
383
+ #
384
+ # Note that the container takes ownership of the cell and will delete it when it itself is destroyed.
385
+ # @param cell [Wx::HTML::HtmlCell]
386
+ # @return [void]
387
+ def insert_cell(cell) end
388
+
389
+ # Sets the container's horizontal alignment.
390
+ #
391
+ # During {Wx::HTML::HtmlCell#layout} each line is aligned according to al value.
392
+ # @param al [Integer] new horizontal alignment. May be one of these values:
393
+ #
394
+ # - {Wx::HTML::HTML_ALIGN_LEFT}: lines are left-aligned (default)
395
+ # - {Wx::HTML::HTML_ALIGN_JUSTIFY}: lines are justified
396
+ # - {Wx::HTML::HTML_ALIGN_CENTER}: lines are centered
397
+ # - {Wx::HTML::HTML_ALIGN_RIGHT}: lines are right-aligned
398
+ # @return [void]
399
+ def set_align_hor(al) end
400
+ alias_method :align_hor=, :set_align_hor
401
+
402
+ # Sets the container's vertical alignment.
403
+ #
404
+ # This is per-line alignment!
405
+ # @param al [Integer] new vertical alignment. May be one of these values:
406
+ #
407
+ # - {Wx::HTML::HTML_ALIGN_BOTTOM}: cells are over the line (default)
408
+ # - {Wx::HTML::HTML_ALIGN_CENTER}: cells are centered on line
409
+ # - {Wx::HTML::HTML_ALIGN_TOP}: cells are under the line
410
+ # @return [void]
411
+ def set_align_ver(al) end
412
+ alias_method :align_ver=, :set_align_ver
413
+
414
+ # Sets the background colour for this container.
415
+ # @param clr [Wx::Colour,String,Symbol]
416
+ # @return [void]
417
+ def set_background_colour(clr) end
418
+ alias_method :background_colour=, :set_background_colour
419
+
420
+ # Sets the border (frame) colours.
421
+ #
422
+ # A border is a rectangle around the container.
423
+ # @param clr1 [Wx::Colour,String,Symbol] Colour of top and left lines
424
+ # @param clr2 [Wx::Colour,String,Symbol] Colour of bottom and right lines
425
+ # @param border [Integer] Size of the border in pixels
426
+ # @return [void]
427
+ def set_border(clr1, clr2, border=1) end
428
+
429
+ # Sets the indentation (free space between borders of container and subcells).
430
+ # @param i [Integer] Indentation value.
431
+ # @param what [Integer] Determines which of the four borders we're setting. It is OR combination of following constants:
432
+ #
433
+ # - {Wx::HTML::HTML_INDENT_TOP}: top border
434
+ # - {Wx::HTML::HTML_INDENT_BOTTOM}: bottom
435
+ # - {Wx::HTML::HTML_INDENT_LEFT}: left
436
+ # - {Wx::HTML::HTML_INDENT_RIGHT}: right
437
+ # - {Wx::HTML::HTML_INDENT_HORIZONTAL}: left and right
438
+ # - {Wx::HTML::HTML_INDENT_VERTICAL}: top and bottom
439
+ # - {Wx::HTML::HTML_INDENT_ALL}: all 4 borders
440
+ # @param units [Integer] Units of i. This parameter affects interpretation of value.
441
+ #
442
+ # - {Wx::HTML::HTML_UNITS_PIXELS}: i is number of pixels
443
+ # - {Wx::HTML::HTML_UNITS_PERCENT}: i is interpreted as percents of width of parent container
444
+ # @return [void]
445
+ def set_indent(i, what, units=Wx::HTML::HTML_UNITS_PIXELS) end
446
+
447
+ # Sets minimal height of the container.
448
+ #
449
+ # When container's {Wx::HTML::HtmlCell#layout} is called, m_Height is set depending on layout of subcells to the height of area covered by layed-out subcells. Calling this method guarantees you that the height of container is never smaller than h - even if the subcells cover much smaller area.
450
+ # @param h [Integer] The minimal height.
451
+ # @param align [Integer] If height of the container is lower than the minimum height, empty space must be inserted somewhere in order to ensure minimal height. This parameter is one of {Wx::HTML::HTML_ALIGN_TOP}, {Wx::HTML::HTML_ALIGN_BOTTOM}, {Wx::HTML::HTML_ALIGN_CENTER}. It refers to the contents, not to the empty place.
452
+ # @return [void]
453
+ def set_min_height(h, align=Wx::HTML::HTML_ALIGN_TOP) end
454
+ alias_method :min_height=, :set_min_height
455
+
456
+ end # HtmlContainerCell
457
+
458
+ #
459
+ #
460
+ #
461
+ #
462
+ #
463
+ # @note This class is <b>untracked</b> and should not be derived from nor instances extended!
464
+ # @wxrb_require USE_HTML
465
+ class HtmlSelection < ::Object
466
+
467
+ # @return [Wx::HTML::HtmlSelection]
468
+ def initialize; end
469
+
470
+ # @overload set(fromPos, fromCell, toPos, toCell)
471
+ # @param fromPos [Array(Integer, Integer), Wx::Point]
472
+ # @param fromCell [Wx::HTML::HtmlCell]
473
+ # @param toPos [Array(Integer, Integer), Wx::Point]
474
+ # @param toCell [Wx::HTML::HtmlCell]
475
+ # @return [void]
476
+ # @overload set(fromCell, toCell)
477
+ # @param fromCell [Wx::HTML::HtmlCell]
478
+ # @param toCell [Wx::HTML::HtmlCell]
479
+ # @return [void]
480
+ def set(*args) end
481
+
482
+ # @return [Wx::HTML::HtmlCell]
483
+ def get_from_cell; end
484
+ alias_method :from_cell, :get_from_cell
485
+
486
+ # @return [Wx::HTML::HtmlCell]
487
+ def get_to_cell; end
488
+ alias_method :to_cell, :get_to_cell
489
+
490
+ # @return [Wx::Point]
491
+ def get_from_pos; end
492
+ alias_method :from_pos, :get_from_pos
493
+
494
+ # @return [Wx::Point]
495
+ def get_to_pos; end
496
+ alias_method :to_pos, :get_to_pos
497
+
498
+ # @return [void]
499
+ def clear_from_to_character_pos; end
500
+
501
+ # @return [Boolean]
502
+ def are_from_to_character_pos_set; end
503
+
504
+ # @param pos [Integer]
505
+ # @return [void]
506
+ def set_from_character_pos(pos) end
507
+ alias_method :from_character_pos=, :set_from_character_pos
508
+
509
+ # @param pos [Integer]
510
+ # @return [void]
511
+ def set_to_character_pos(pos) end
512
+ alias_method :to_character_pos=, :set_to_character_pos
513
+
514
+ # @return [Integer]
515
+ def get_from_character_pos; end
516
+ alias_method :from_character_pos, :get_from_character_pos
517
+
518
+ # @return [Integer]
519
+ def get_to_character_pos; end
520
+ alias_method :to_character_pos, :get_to_character_pos
521
+
522
+ # @return [Boolean]
523
+ def is_empty; end
524
+ alias_method :empty?, :is_empty
525
+
526
+ end # HtmlSelection
527
+
528
+
529
+ end
526
530
 
527
- end
531
+ end