wxruby3 1.7.0 → 1.8.0

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 (220) hide show
  1. checksums.yaml +4 -4
  2. data/INSTALL.md +27 -2
  3. data/README.md +15 -15
  4. data/ext/wxruby3/include/wxRubyApp.h +145 -46
  5. data/ext/wxruby3/include/wxruby-ComboPopup.h +25 -8
  6. data/ext/wxruby3/include/wxruby-GCTracking.h +262 -0
  7. data/ext/wxruby3/include/wxruby-MBConv.h +190 -0
  8. data/ext/wxruby3/include/wxruby-SharedEventHandler.h +183 -0
  9. data/ext/wxruby3/include/wxruby-SharedPtr.h +104 -0
  10. data/ext/wxruby3/include/wxruby-runtime.h +29 -0
  11. data/ext/wxruby3/swig/custom/rubytracking.swg +8 -22
  12. data/ext/wxruby3/swig/custom/wx_ruby_shared_ptr.i +434 -0
  13. data/ext/wxruby3/swig/custom/wx_shared_ptr.i +431 -0
  14. data/ext/wxruby3/swig/mark_free_impl.i +7 -132
  15. data/ext/wxruby3/swig/memory_management.i +8 -44
  16. data/ext/wxruby3/swig/wx.i +46 -73
  17. data/lib/wx/core/const.rb +0 -1
  18. data/lib/wx/core/context_help.rb +17 -0
  19. data/lib/wx/core/cursor.rb +1 -0
  20. data/lib/wx/core/helpcontrollerhelpprovider.rb +10 -2
  21. data/lib/wx/core/mbconv.rb +11 -0
  22. data/lib/wx/core/media_ctrl.rb +31 -0
  23. data/lib/wx/core/top_level_window.rb +7 -0
  24. data/lib/wx/core.rb +6 -0
  25. data/lib/wx/doc/art_provider.rb +17 -0
  26. data/lib/wx/doc/context_help.rb +42 -0
  27. data/lib/wx/doc/core.rb +0 -5
  28. data/lib/wx/doc/functions.rb +10 -0
  29. data/lib/wx/doc/gen/affine_matrix2d.rb +2 -0
  30. data/lib/wx/doc/gen/art_provider.rb +12 -0
  31. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +15 -15
  32. data/lib/wx/doc/gen/aui/aui_pane_info.rb +8 -8
  33. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -5
  34. data/lib/wx/doc/gen/book_ctrl_base.rb +2 -1
  35. data/lib/wx/doc/gen/calendar_event.rb +5 -5
  36. data/lib/wx/doc/gen/choicebook.rb +2 -2
  37. data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
  38. data/lib/wx/doc/gen/colour_dialog.rb +1 -1
  39. data/lib/wx/doc/gen/colour_picker_event.rb +3 -3
  40. data/lib/wx/doc/gen/context_help_button.rb +0 -53
  41. data/lib/wx/doc/gen/core.rb +4 -4
  42. data/lib/wx/doc/gen/credential_entry_dialog.rb +2 -2
  43. data/lib/wx/doc/gen/date_event.rb +2 -2
  44. data/lib/wx/doc/gen/dial_up_event.rb +2 -2
  45. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
  46. data/lib/wx/doc/gen/event.rb +58 -58
  47. data/lib/wx/doc/gen/ext_help_controller.rb +62 -16
  48. data/lib/wx/doc/gen/file_ctrl.rb +4 -4
  49. data/lib/wx/doc/gen/file_dir_picker_event.rb +2 -2
  50. data/lib/wx/doc/gen/file_system.rb +1 -1
  51. data/lib/wx/doc/gen/find_dialog_event.rb +5 -5
  52. data/lib/wx/doc/gen/font_picker_event.rb +1 -1
  53. data/lib/wx/doc/gen/grid/grid_ctrl.rb +67 -32
  54. data/lib/wx/doc/gen/header_ctrl_event.rb +13 -13
  55. data/lib/wx/doc/gen/help_controller.rb +45 -2
  56. data/lib/wx/doc/gen/html/html_help_controller.rb +74 -32
  57. data/lib/wx/doc/gen/html/html_help_window.rb +3 -3
  58. data/lib/wx/doc/gen/html/html_window.rb +4 -4
  59. data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
  60. data/lib/wx/doc/gen/list_ctrl.rb +22 -22
  61. data/lib/wx/doc/gen/listbook.rb +2 -2
  62. data/lib/wx/doc/gen/mb_conv.rb +10 -0
  63. data/lib/wx/doc/gen/media_event.rb +6 -6
  64. data/lib/wx/doc/gen/notebook.rb +2 -2
  65. data/lib/wx/doc/gen/pg/pg_validation_info.rb +14 -14
  66. data/lib/wx/doc/gen/pg/property_grid_interface.rb +2 -2
  67. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -9
  68. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +2 -2
  69. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +3 -3
  70. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +2 -2
  71. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -2
  72. data/lib/wx/doc/gen/rt/event_list.rb +17 -0
  73. data/lib/wx/doc/gen/rt/shared_evt_handler.rb +14 -0
  74. data/lib/wx/doc/gen/rt/thread_event.rb +71 -0
  75. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +19 -19
  76. data/lib/wx/doc/gen/sash_event.rb +2 -2
  77. data/lib/wx/doc/gen/sash_layout_window.rb +2 -2
  78. data/lib/wx/doc/gen/search_ctrl.rb +2 -2
  79. data/lib/wx/doc/gen/spin_ctrl.rb +2 -2
  80. data/lib/wx/doc/gen/splitter_window.rb +6 -6
  81. data/lib/wx/doc/gen/stc/styled_text_event.rb +34 -34
  82. data/lib/wx/doc/gen/task_bar_icon_event.rb +10 -10
  83. data/lib/wx/doc/gen/text_ctrl.rb +4 -4
  84. data/lib/wx/doc/gen/toggle_button.rb +1 -1
  85. data/lib/wx/doc/gen/toolbook.rb +2 -2
  86. data/lib/wx/doc/gen/top_level_window.rb +19 -0
  87. data/lib/wx/doc/gen/tree_ctrl.rb +21 -21
  88. data/lib/wx/doc/gen/treebook.rb +4 -4
  89. data/lib/wx/doc/gen/utils.rb +2 -2
  90. data/lib/wx/doc/gen/web/event_list.rb +95 -0
  91. data/lib/wx/doc/gen/web/web_view.rb +1136 -0
  92. data/lib/wx/doc/gen/web/web_view_event.rb +210 -0
  93. data/lib/wx/doc/gen/web/web_view_handler.rb +318 -0
  94. data/lib/wx/doc/gen/window.rb +1 -1
  95. data/lib/wx/doc/gen/wizard_event.rb +7 -7
  96. data/lib/wx/doc/html/html_help_controller.rb +23 -1
  97. data/lib/wx/doc/mbconv.rb +108 -0
  98. data/lib/wx/doc/rt/shared_event_handler.rb +49 -0
  99. data/lib/wx/doc/rt/thread_event.rb +28 -0
  100. data/lib/wx/doc/webview.rb +40 -0
  101. data/lib/wx/helpers.rb +1 -1
  102. data/lib/wx/html/htmlhelpcontroller.rb +10 -0
  103. data/lib/wx/keyword_defs.rb +11 -0
  104. data/lib/wx/rt/events/evt_list.rb +8 -0
  105. data/lib/wx/rt/require.rb +8 -0
  106. data/lib/wx/rt/thread_event.rb +14 -0
  107. data/lib/wx/rt.rb +16 -0
  108. data/lib/wx/version.rb +1 -1
  109. data/lib/wx/web/events/evt_list.rb +74 -0
  110. data/lib/wx/web/require.rb +8 -0
  111. data/lib/wx/web/webview.rb +106 -0
  112. data/lib/wx/web.rb +17 -0
  113. data/lib/wx/wxruby/cmd/setup.rb +15 -0
  114. data/lib/wx.rb +2 -0
  115. data/rakelib/configure.rb +24 -0
  116. data/rakelib/gem.rb +3 -2
  117. data/rakelib/install.rb +54 -27
  118. data/rakelib/lib/config/macosx.rb +7 -5
  119. data/rakelib/lib/config/mingw.rb +66 -5
  120. data/rakelib/lib/config/pkgman/mingw.rb +1 -1
  121. data/rakelib/lib/config/unixish.rb +4 -2
  122. data/rakelib/lib/config.rb +37 -3
  123. data/rakelib/lib/core/include/client_data.inc +38 -17
  124. data/rakelib/lib/core/include/funcall.inc +1 -1
  125. data/rakelib/lib/core/include/swigdirector.inc +3 -3
  126. data/rakelib/lib/core/include/swigrubyrun.inc +14 -26
  127. data/rakelib/lib/core/package.rb +0 -2
  128. data/rakelib/lib/director/app.rb +1 -8
  129. data/rakelib/lib/director/art_provider.rb +7 -3
  130. data/rakelib/lib/director/comboctrl.rb +0 -7
  131. data/rakelib/lib/director/context_help_button.rb +35 -2
  132. data/rakelib/lib/director/event_handler.rb +32 -28
  133. data/rakelib/lib/director/fs_file.rb +15 -10
  134. data/rakelib/lib/director/functions.rb +8 -0
  135. data/rakelib/lib/director/grid_cell_attr.rb +1 -3
  136. data/rakelib/lib/director/grid_cell_editor.rb +14 -12
  137. data/rakelib/lib/director/grid_cell_renderer.rb +11 -8
  138. data/rakelib/lib/director/grid_ctrl.rb +140 -121
  139. data/rakelib/lib/director/help_controller.rb +70 -2
  140. data/rakelib/lib/director/mb_conv.rb +30 -0
  141. data/rakelib/lib/director/menu.rb +92 -42
  142. data/rakelib/lib/director/menu_bar.rb +84 -45
  143. data/rakelib/lib/director/menu_item.rb +2 -2
  144. data/rakelib/lib/director/persistence_manager.rb +3 -2
  145. data/rakelib/lib/director/preview_frame.rb +2 -2
  146. data/rakelib/lib/director/richtext_buffer.rb +5 -2
  147. data/rakelib/lib/director/shared_evt_handler.rb +30 -0
  148. data/rakelib/lib/director/sizer.rb +8 -17
  149. data/rakelib/lib/director/sizer_item.rb +3 -4
  150. data/rakelib/lib/director/task_bar_icon.rb +7 -7
  151. data/rakelib/lib/director/thread_event.rb +33 -0
  152. data/rakelib/lib/director/validator.rb +3 -1
  153. data/rakelib/lib/director/variant.rb +16 -12
  154. data/rakelib/lib/director/webview.rb +166 -0
  155. data/rakelib/lib/director/webview_event.rb +37 -0
  156. data/rakelib/lib/director/webview_handler.rb +63 -0
  157. data/rakelib/lib/generate/doc/thread_event.yaml +20 -0
  158. data/rakelib/lib/generate/doc/web_view.yaml +135 -0
  159. data/rakelib/lib/generate/doc/web_view_event.yaml +38 -0
  160. data/rakelib/lib/generate/doc/web_view_handler.yaml +58 -0
  161. data/rakelib/lib/specs/interfaces.rb +12 -0
  162. data/rakelib/lib/typemap/common.rb +34 -1
  163. data/rakelib/lib/typemap/mb_conv.rb +58 -0
  164. data/rakelib/prepost.rake +23 -31
  165. data/rakelib/prepost.rb +20 -0
  166. data/samples/event/threaded.rb +295 -42
  167. data/samples/event/tn_threaded.png +0 -0
  168. data/samples/help/doc/back.gif +0 -0
  169. data/samples/help/doc/contents.gif +0 -0
  170. data/samples/help/doc/cshelp.txt +9 -0
  171. data/samples/help/doc/doc.chm +0 -0
  172. data/samples/help/doc/doc.cnt +8 -0
  173. data/samples/help/doc/doc.h +7 -0
  174. data/samples/help/doc/doc.hhc +40 -0
  175. data/samples/help/doc/doc.hhk +31 -0
  176. data/samples/help/doc/doc.hhp +33 -0
  177. data/samples/help/doc/doc.hpj +21 -0
  178. data/samples/help/doc/doc.htm +27 -0
  179. data/samples/help/doc/doc1.htm +24 -0
  180. data/samples/help/doc/doc2.htm +12 -0
  181. data/samples/help/doc/doc3.htm +12 -0
  182. data/samples/help/doc/doc4.htm +12 -0
  183. data/samples/help/doc/doc5.htm +14 -0
  184. data/samples/help/doc/forward.gif +0 -0
  185. data/samples/help/doc/up.gif +0 -0
  186. data/samples/help/doc.chm +0 -0
  187. data/samples/help/doc.chw +0 -0
  188. data/samples/help/doc.zip +0 -0
  189. data/samples/help/help.rb +352 -0
  190. data/samples/help/tn_help.png +0 -0
  191. data/samples/webview/handler_advanced.html +55 -0
  192. data/samples/webview/tn_webview.png +0 -0
  193. data/samples/webview/webview.rb +1264 -0
  194. data/tests/assets/handler_advanced.html +55 -0
  195. data/tests/assets/test.css +1 -0
  196. data/tests/assets/test.html +9 -0
  197. data/tests/assets/test.zip +0 -0
  198. data/tests/lib/text_entry_tests.rb +2 -2
  199. data/tests/lib/wxapp_runner.rb +40 -0
  200. data/tests/lib/wxframe_runner.rb +17 -2
  201. data/tests/test_art.rb +8 -8
  202. data/tests/test_clipboard.rb +4 -4
  203. data/tests/test_config.rb +6 -6
  204. data/tests/test_exceptions.rb +8 -6
  205. data/tests/test_ext_controls.rb +3 -3
  206. data/tests/test_file_dialog.rb +5 -5
  207. data/tests/test_font.rb +7 -7
  208. data/tests/test_grid_ctrl.rb +133 -0
  209. data/tests/test_help.rb +88 -0
  210. data/tests/test_intl.rb +1 -1
  211. data/tests/test_media_ctrl.rb +14 -6
  212. data/tests/test_menu.rb +94 -86
  213. data/tests/test_persistence.rb +1 -1
  214. data/tests/test_proof_check.rb +5 -5
  215. data/tests/test_propgrid.rb +1 -1
  216. data/tests/test_shared_event_handler.rb +141 -0
  217. data/tests/test_std_controls.rb +5 -5
  218. data/tests/test_webview.rb +492 -0
  219. data/tests/test_window.rb +3 -3
  220. metadata +78 -2
@@ -8,11 +8,11 @@ module Wx
8
8
 
9
9
  #
10
10
  #
11
- EVT_SPINCTRL = 10202
11
+ EVT_SPINCTRL = 10205
12
12
 
13
13
  #
14
14
  #
15
- EVT_SPINCTRLDOUBLE = 10203
15
+ EVT_SPINCTRLDOUBLE = 10206
16
16
 
17
17
  # {Wx::SpinCtrl} combines {Wx::TextCtrl} and {Wx::SpinButton} in one control.
18
18
  #
@@ -67,26 +67,26 @@ module Wx
67
67
 
68
68
  #
69
69
  #
70
- EVT_SPLITTER_SASH_POS_CHANGED = 10238
70
+ EVT_SPLITTER_SASH_POS_CHANGED = 10241
71
71
 
72
72
  #
73
73
  #
74
- EVT_SPLITTER_SASH_POS_CHANGING = 10239
74
+ EVT_SPLITTER_SASH_POS_CHANGING = 10242
75
75
 
76
76
  #
77
77
  #
78
- EVT_SPLITTER_SASH_POS_RESIZE = 10240
78
+ EVT_SPLITTER_SASH_POS_RESIZE = 10243
79
79
 
80
80
  #
81
81
  #
82
- EVT_SPLITTER_DOUBLECLICKED = 10241
82
+ EVT_SPLITTER_DOUBLECLICKED = 10244
83
83
 
84
84
  #
85
85
  #
86
- EVT_SPLITTER_UNSPLIT = 10242
86
+ EVT_SPLITTER_UNSPLIT = 10245
87
87
 
88
88
  # wxRuby specific alias for Wx::EVT_SPLITTER_DOUBLECLICKED
89
- EVT_SPLITTER_DCLICK = 10241
89
+ EVT_SPLITTER_DCLICK = 10244
90
90
 
91
91
  # This class manages up to two subwindows.
92
92
  #
@@ -7900,139 +7900,139 @@ module Wx
7900
7900
 
7901
7901
  #
7902
7902
  #
7903
- EVT_STC_CHANGE = 10425
7903
+ EVT_STC_CHANGE = 10428
7904
7904
 
7905
7905
  #
7906
7906
  #
7907
- EVT_STC_STYLENEEDED = 10426
7907
+ EVT_STC_STYLENEEDED = 10429
7908
7908
 
7909
7909
  #
7910
7910
  #
7911
- EVT_STC_CHARADDED = 10427
7911
+ EVT_STC_CHARADDED = 10430
7912
7912
 
7913
7913
  #
7914
7914
  #
7915
- EVT_STC_SAVEPOINTREACHED = 10428
7915
+ EVT_STC_SAVEPOINTREACHED = 10431
7916
7916
 
7917
7917
  #
7918
7918
  #
7919
- EVT_STC_SAVEPOINTLEFT = 10429
7919
+ EVT_STC_SAVEPOINTLEFT = 10432
7920
7920
 
7921
7921
  #
7922
7922
  #
7923
- EVT_STC_ROMODIFYATTEMPT = 10430
7923
+ EVT_STC_ROMODIFYATTEMPT = 10433
7924
7924
 
7925
7925
  #
7926
7926
  #
7927
- EVT_STC_DOUBLECLICK = 10432
7927
+ EVT_STC_DOUBLECLICK = 10435
7928
7928
 
7929
7929
  #
7930
7930
  #
7931
- EVT_STC_UPDATEUI = 10433
7931
+ EVT_STC_UPDATEUI = 10436
7932
7932
 
7933
7933
  #
7934
7934
  #
7935
- EVT_STC_MODIFIED = 10434
7935
+ EVT_STC_MODIFIED = 10437
7936
7936
 
7937
7937
  #
7938
7938
  #
7939
- EVT_STC_MACRORECORD = 10435
7939
+ EVT_STC_MACRORECORD = 10438
7940
7940
 
7941
7941
  #
7942
7942
  #
7943
- EVT_STC_MARGINCLICK = 10436
7943
+ EVT_STC_MARGINCLICK = 10439
7944
7944
 
7945
7945
  #
7946
7946
  #
7947
- EVT_STC_NEEDSHOWN = 10437
7947
+ EVT_STC_NEEDSHOWN = 10440
7948
7948
 
7949
7949
  #
7950
7950
  #
7951
- EVT_STC_PAINTED = 10438
7951
+ EVT_STC_PAINTED = 10441
7952
7952
 
7953
7953
  #
7954
7954
  #
7955
- EVT_STC_USERLISTSELECTION = 10439
7955
+ EVT_STC_USERLISTSELECTION = 10442
7956
7956
 
7957
7957
  #
7958
7958
  #
7959
- EVT_STC_DWELLSTART = 10441
7959
+ EVT_STC_DWELLSTART = 10444
7960
7960
 
7961
7961
  #
7962
7962
  #
7963
- EVT_STC_DWELLEND = 10442
7963
+ EVT_STC_DWELLEND = 10445
7964
7964
 
7965
7965
  #
7966
7966
  #
7967
- EVT_STC_START_DRAG = 10443
7967
+ EVT_STC_START_DRAG = 10446
7968
7968
 
7969
7969
  #
7970
7970
  #
7971
- EVT_STC_DRAG_OVER = 10444
7971
+ EVT_STC_DRAG_OVER = 10447
7972
7972
 
7973
7973
  #
7974
7974
  #
7975
- EVT_STC_DO_DROP = 10445
7975
+ EVT_STC_DO_DROP = 10448
7976
7976
 
7977
7977
  #
7978
7978
  #
7979
- EVT_STC_ZOOM = 10446
7979
+ EVT_STC_ZOOM = 10449
7980
7980
 
7981
7981
  #
7982
7982
  #
7983
- EVT_STC_HOTSPOT_CLICK = 10447
7983
+ EVT_STC_HOTSPOT_CLICK = 10450
7984
7984
 
7985
7985
  #
7986
7986
  #
7987
- EVT_STC_HOTSPOT_DCLICK = 10448
7987
+ EVT_STC_HOTSPOT_DCLICK = 10451
7988
7988
 
7989
7989
  #
7990
7990
  #
7991
- EVT_STC_CALLTIP_CLICK = 10449
7991
+ EVT_STC_CALLTIP_CLICK = 10452
7992
7992
 
7993
7993
  #
7994
7994
  #
7995
- EVT_STC_AUTOCOMP_SELECTION = 10450
7995
+ EVT_STC_AUTOCOMP_SELECTION = 10453
7996
7996
 
7997
7997
  #
7998
7998
  #
7999
- EVT_STC_INDICATOR_CLICK = 10451
7999
+ EVT_STC_INDICATOR_CLICK = 10454
8000
8000
 
8001
8001
  #
8002
8002
  #
8003
- EVT_STC_INDICATOR_RELEASE = 10452
8003
+ EVT_STC_INDICATOR_RELEASE = 10455
8004
8004
 
8005
8005
  #
8006
8006
  #
8007
- EVT_STC_AUTOCOMP_CANCELLED = 10453
8007
+ EVT_STC_AUTOCOMP_CANCELLED = 10456
8008
8008
 
8009
8009
  #
8010
8010
  #
8011
- EVT_STC_AUTOCOMP_CHAR_DELETED = 10454
8011
+ EVT_STC_AUTOCOMP_CHAR_DELETED = 10457
8012
8012
 
8013
8013
  #
8014
8014
  #
8015
- EVT_STC_HOTSPOT_RELEASE_CLICK = 10455
8015
+ EVT_STC_HOTSPOT_RELEASE_CLICK = 10458
8016
8016
 
8017
8017
  #
8018
8018
  #
8019
- EVT_STC_CLIPBOARD_COPY = 10456
8019
+ EVT_STC_CLIPBOARD_COPY = 10459
8020
8020
 
8021
8021
  #
8022
8022
  #
8023
- EVT_STC_CLIPBOARD_PASTE = 10457
8023
+ EVT_STC_CLIPBOARD_PASTE = 10460
8024
8024
 
8025
8025
  #
8026
8026
  #
8027
- EVT_STC_AUTOCOMP_COMPLETED = 10458
8027
+ EVT_STC_AUTOCOMP_COMPLETED = 10461
8028
8028
 
8029
8029
  #
8030
8030
  #
8031
- EVT_STC_MARGIN_RIGHT_CLICK = 10459
8031
+ EVT_STC_MARGIN_RIGHT_CLICK = 10462
8032
8032
 
8033
8033
  #
8034
8034
  #
8035
- EVT_STC_AUTOCOMP_SELECTION_CHANGE = 10460
8035
+ EVT_STC_AUTOCOMP_SELECTION_CHANGE = 10463
8036
8036
 
8037
8037
  # The type of events sent from {Wx::STC::StyledTextCtrl}.
8038
8038
  #
@@ -29,43 +29,43 @@ module Wx
29
29
 
30
30
  #
31
31
  #
32
- EVT_TASKBAR_MOVE = 10136
32
+ EVT_TASKBAR_MOVE = 10139
33
33
 
34
34
  #
35
35
  #
36
- EVT_TASKBAR_LEFT_DOWN = 10137
36
+ EVT_TASKBAR_LEFT_DOWN = 10140
37
37
 
38
38
  #
39
39
  #
40
- EVT_TASKBAR_LEFT_UP = 10138
40
+ EVT_TASKBAR_LEFT_UP = 10141
41
41
 
42
42
  #
43
43
  #
44
- EVT_TASKBAR_RIGHT_DOWN = 10139
44
+ EVT_TASKBAR_RIGHT_DOWN = 10142
45
45
 
46
46
  #
47
47
  #
48
- EVT_TASKBAR_RIGHT_UP = 10140
48
+ EVT_TASKBAR_RIGHT_UP = 10143
49
49
 
50
50
  #
51
51
  #
52
- EVT_TASKBAR_LEFT_DCLICK = 10141
52
+ EVT_TASKBAR_LEFT_DCLICK = 10144
53
53
 
54
54
  #
55
55
  #
56
- EVT_TASKBAR_RIGHT_DCLICK = 10142
56
+ EVT_TASKBAR_RIGHT_DCLICK = 10145
57
57
 
58
58
  #
59
59
  #
60
- EVT_TASKBAR_CLICK = 10139
60
+ EVT_TASKBAR_CLICK = 10142
61
61
 
62
62
  #
63
63
  #
64
- EVT_TASKBAR_BALLOON_TIMEOUT = 10143
64
+ EVT_TASKBAR_BALLOON_TIMEOUT = 10146
65
65
 
66
66
  #
67
67
  #
68
- EVT_TASKBAR_BALLOON_CLICK = 10144
68
+ EVT_TASKBAR_BALLOON_CLICK = 10147
69
69
 
70
70
  # The event class used by {Wx::TaskBarIcon}.
71
71
  #
@@ -479,19 +479,19 @@ module Wx
479
479
 
480
480
  #
481
481
  #
482
- EVT_TEXT = 10206
482
+ EVT_TEXT = 10209
483
483
 
484
484
  #
485
485
  #
486
- EVT_TEXT_ENTER = 10207
486
+ EVT_TEXT_ENTER = 10210
487
487
 
488
488
  #
489
489
  #
490
- EVT_TEXT_URL = 10208
490
+ EVT_TEXT_URL = 10211
491
491
 
492
492
  #
493
493
  #
494
- EVT_TEXT_MAXLEN = 10209
494
+ EVT_TEXT_MAXLEN = 10212
495
495
 
496
496
  # A text control allows text to be displayed and edited.
497
497
  #
@@ -8,7 +8,7 @@ module Wx
8
8
 
9
9
  #
10
10
  #
11
- EVT_TOGGLEBUTTON = 10146
11
+ EVT_TOGGLEBUTTON = 10149
12
12
 
13
13
  # {Wx::ToggleButton} is a button that stays pressed when clicked by the user.
14
14
  #
@@ -14,11 +14,11 @@ module Wx
14
14
 
15
15
  #
16
16
  #
17
- EVT_TOOLBOOK_PAGE_CHANGED = 10244
17
+ EVT_TOOLBOOK_PAGE_CHANGED = 10247
18
18
 
19
19
  #
20
20
  #
21
- EVT_TOOLBOOK_PAGE_CHANGING = 10243
21
+ EVT_TOOLBOOK_PAGE_CHANGING = 10246
22
22
 
23
23
  # {Wx::Toolbook} is a class similar to {Wx::Notebook} but which uses a {Wx::ToolBar} to show the labels instead of the tabs.
24
24
  #
@@ -452,6 +452,25 @@ module Wx
452
452
  # @return [void]
453
453
  def show_without_activating; end
454
454
 
455
+ # Enables the zoom button to toggle full screen mode.
456
+ #
457
+ # This function is currently only implemented in WXOSX and simply returns false in the other ports.
458
+ # A {Wx::FullScreenEvent} is generated when the users enters or exits full screen via the enter/exit full screen button.
459
+ #
460
+ # true if the button behaviour has been changed, false if running under unsupported OS.
461
+ #
462
+ # <div class="wxrb-note">
463
+ # <b>Note:</b>
464
+ # <p>Having the button is also required to let {Wx::TopLevelWindow#show_full_screen} make use of the full screen API: a full screen window gets its own space and entering and exiting the mode is animated. If the button is not present the old way of switching to full screen is used. Only {Wx::FULLSCREEN_NOTOOLBAR} and {Wx::FULLSCREEN_NOMENUBAR} will be used when using the fullscreen API (other values are ignored).
465
+ # </p>
466
+ # </div>
467
+ # @see Wx::TopLevelWindow#show_full_screen
468
+ # @see Wx::FullScreenEvent
469
+ # @param enable [Boolean] If true (default) make the zoom button toggle full screen; if false the button does only toggle zoom.
470
+ # @param style [Integer] This parameter sets which elements will be hidden when the user presses the full screen button. See {Wx::TopLevelWindow#show_full_screen} for possible values. It is available since wxWidgets 3.1.6.
471
+ # @return [Boolean]
472
+ def enable_full_screen_view(enable=true, style=Wx::FULLSCREEN_ALL) end
473
+
455
474
  # Depending on the value of show parameter the window is either shown full screen or restored to its normal state.
456
475
  #
457
476
  # style is a bit list containing some or all of the following values, which indicate what elements of the window to hide in full-screen mode:
@@ -147,87 +147,87 @@ module Wx
147
147
 
148
148
  #
149
149
  #
150
- EVT_TREE_BEGIN_DRAG = 10210
150
+ EVT_TREE_BEGIN_DRAG = 10213
151
151
 
152
152
  #
153
153
  #
154
- EVT_TREE_BEGIN_RDRAG = 10211
154
+ EVT_TREE_BEGIN_RDRAG = 10214
155
155
 
156
156
  #
157
157
  #
158
- EVT_TREE_BEGIN_LABEL_EDIT = 10212
158
+ EVT_TREE_BEGIN_LABEL_EDIT = 10215
159
159
 
160
160
  #
161
161
  #
162
- EVT_TREE_END_LABEL_EDIT = 10213
162
+ EVT_TREE_END_LABEL_EDIT = 10216
163
163
 
164
164
  #
165
165
  #
166
- EVT_TREE_DELETE_ITEM = 10214
166
+ EVT_TREE_DELETE_ITEM = 10217
167
167
 
168
168
  #
169
169
  #
170
- EVT_TREE_GET_INFO = 10215
170
+ EVT_TREE_GET_INFO = 10218
171
171
 
172
172
  #
173
173
  #
174
- EVT_TREE_SET_INFO = 10216
174
+ EVT_TREE_SET_INFO = 10219
175
175
 
176
176
  #
177
177
  #
178
- EVT_TREE_ITEM_EXPANDED = 10217
178
+ EVT_TREE_ITEM_EXPANDED = 10220
179
179
 
180
180
  #
181
181
  #
182
- EVT_TREE_ITEM_EXPANDING = 10218
182
+ EVT_TREE_ITEM_EXPANDING = 10221
183
183
 
184
184
  #
185
185
  #
186
- EVT_TREE_ITEM_COLLAPSED = 10219
186
+ EVT_TREE_ITEM_COLLAPSED = 10222
187
187
 
188
188
  #
189
189
  #
190
- EVT_TREE_ITEM_COLLAPSING = 10220
190
+ EVT_TREE_ITEM_COLLAPSING = 10223
191
191
 
192
192
  #
193
193
  #
194
- EVT_TREE_SEL_CHANGED = 10221
194
+ EVT_TREE_SEL_CHANGED = 10224
195
195
 
196
196
  #
197
197
  #
198
- EVT_TREE_SEL_CHANGING = 10222
198
+ EVT_TREE_SEL_CHANGING = 10225
199
199
 
200
200
  #
201
201
  #
202
- EVT_TREE_KEY_DOWN = 10223
202
+ EVT_TREE_KEY_DOWN = 10226
203
203
 
204
204
  #
205
205
  #
206
- EVT_TREE_ITEM_ACTIVATED = 10224
206
+ EVT_TREE_ITEM_ACTIVATED = 10227
207
207
 
208
208
  #
209
209
  #
210
- EVT_TREE_ITEM_RIGHT_CLICK = 10225
210
+ EVT_TREE_ITEM_RIGHT_CLICK = 10228
211
211
 
212
212
  #
213
213
  #
214
- EVT_TREE_ITEM_MIDDLE_CLICK = 10226
214
+ EVT_TREE_ITEM_MIDDLE_CLICK = 10229
215
215
 
216
216
  #
217
217
  #
218
- EVT_TREE_END_DRAG = 10227
218
+ EVT_TREE_END_DRAG = 10230
219
219
 
220
220
  #
221
221
  #
222
- EVT_TREE_STATE_IMAGE_CLICK = 10228
222
+ EVT_TREE_STATE_IMAGE_CLICK = 10231
223
223
 
224
224
  #
225
225
  #
226
- EVT_TREE_ITEM_GETTOOLTIP = 10229
226
+ EVT_TREE_ITEM_GETTOOLTIP = 10232
227
227
 
228
228
  #
229
229
  #
230
- EVT_TREE_ITEM_MENU = 10230
230
+ EVT_TREE_ITEM_MENU = 10233
231
231
 
232
232
  # A tree control presents information as a hierarchy, with items that may be expanded to show further items.
233
233
  #
@@ -8,19 +8,19 @@ module Wx
8
8
 
9
9
  #
10
10
  #
11
- EVT_TREEBOOK_PAGE_CHANGED = 10246
11
+ EVT_TREEBOOK_PAGE_CHANGED = 10249
12
12
 
13
13
  #
14
14
  #
15
- EVT_TREEBOOK_PAGE_CHANGING = 10245
15
+ EVT_TREEBOOK_PAGE_CHANGING = 10248
16
16
 
17
17
  #
18
18
  #
19
- EVT_TREEBOOK_NODE_COLLAPSED = 10247
19
+ EVT_TREEBOOK_NODE_COLLAPSED = 10250
20
20
 
21
21
  #
22
22
  #
23
- EVT_TREEBOOK_NODE_EXPANDED = 10248
23
+ EVT_TREEBOOK_NODE_EXPANDED = 10251
24
24
 
25
25
  # This class is an extension of the {Wx::Notebook} class that allows a tree structured set of pages to be shown in a control.
26
26
  #
@@ -199,14 +199,14 @@ module Wx
199
199
 
200
200
  # Returns the string containing the description of the current platform in a user-readable form.
201
201
  #
202
- # For example, this function may return strings like "Windows 10 (build 10240), 64-bit edition" or "Linux 4.1.4 i386".
202
+ # For example, this function may return strings like "Windows 10 (build 10240), 64-bit edition", "AlmaLinux 10.1 (Heliotrope Lion), 6.12.0-55.9.1.el10_0.x86_64", or "Linux 4.1.4 i386".
203
203
  # @see get_os_version
204
204
  # @return [String]
205
205
  def self.get_os_description; end
206
206
 
207
207
  # Returns true if the version of the operating system on which the program is running under is the same or later than the given version.
208
208
  #
209
- #
209
+ # For Unix-like systems (except macOS), this is the kernel version, not the marketing/distribution version.
210
210
  # @see get_os_version
211
211
  # @see Wx::PlatformInfo
212
212
  # @param majorVsn [Integer]
@@ -0,0 +1,95 @@
1
+ # ----------------------------------------------------------------------------
2
+ # This file is automatically generated by the WXRuby3 documentation
3
+ # generator. Do not alter this file.
4
+ # ----------------------------------------------------------------------------
5
+
6
+
7
+ module Wx
8
+
9
+ class EvtHandler
10
+
11
+ # @!group WEB Event handler methods
12
+
13
+ # Process a {Wx::WEB::EVT_WEBVIEW_CREATED} event, generated when the object is fully initialized. For the backends using asynchronous initialization, such as {Wx::WebViewChromium}, most of this class member functions can be only used once this event is received.
14
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
15
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
16
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
17
+ def evt_webview_created(id, meth = nil, &block) end
18
+
19
+ # Process a {Wx::WEB::EVT_WEBVIEW_NAVIGATING} event, generated before trying to get a resource. This event may be vetoed to prevent navigating to this resource. Note that if the displayed HTML document has several frames, one such event will be generated per frame.
20
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
21
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
22
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
23
+ def evt_webview_navigating(id, meth = nil, &block) end
24
+
25
+ # Process a {Wx::WEB::EVT_WEBVIEW_NAVIGATED} event generated after it was confirmed that a resource would be requested. This event may not be vetoed. Note that if the displayed HTML document has several frames, one such event will be generated per frame.
26
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
27
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
28
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
29
+ def evt_webview_navigated(id, meth = nil, &block) end
30
+
31
+ # Process a {Wx::WEB::EVT_WEBVIEW_LOADED} event generated when the document is fully loaded and displayed. Note that if the displayed HTML document has several frames, one such event will be generated per frame.
32
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
33
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
34
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
35
+ def evt_webview_loaded(id, meth = nil, &block) end
36
+
37
+ # Process a {Wx::WEB::EVT_WEBVIEW_ERROR} event generated when a navigation error occurs. The integer associated with this event will be a {Wx::WEB::WebViewNavigationError} item. The string associated with this event may contain a backend-specific more precise error message/code.
38
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
39
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
40
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
41
+ def evt_webview_error(id, meth = nil, &block) end
42
+
43
+ # Process a {Wx::WEB::EVT_WEBVIEW_NEWWINDOW} event, generated when a new window is created. You must handle this event if you want anything to happen, for example to load the page in a new window or tab. For usage details see {Wx::WEB::WebViewWindowFeatures}.
44
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
45
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
46
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
47
+ def evt_webview_newwindow(id, meth = nil, &block) end
48
+
49
+ # Process a {Wx::WEB::EVT_WEBVIEW_NEWWINDOW_FEATURES} event, generated when window features are available for the new window. For usage details see {Wx::WEB::WebViewWindowFeatures}. only available in wxWidgets 3.3.0 or later.
50
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
51
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
52
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
53
+ def evt_webview_newwindow_features(id, meth = nil, &block) end
54
+
55
+ # Process a {Wx::WEB::EVT_WEBVIEW_WINDOW_CLOSE_REQUESTED} event, generated when a window is requested to be closed. only available in wxWidgets 3.3.0 or later.
56
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
57
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
58
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
59
+ def evt_webview_window_close_requested(id, meth = nil, &block) end
60
+
61
+ # Process a {Wx::WEB::EVT_WEBVIEW_TITLE_CHANGED} event, generated when the page title changes. Use GetString to get the title.
62
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
63
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
64
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
65
+ def evt_webview_title_changed(id, meth = nil, &block) end
66
+
67
+ # Process a {Wx::WEB::EVT_WEBVIEW_FULLSCREEN_CHANGED} event, generated when the page wants to enter or leave fullscreen. Use GetInt to get the status. Not implemented for the IE backend and is only available in wxWidgets 3.1.5 or later.
68
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
69
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
70
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
71
+ def evt_webview_fullscreen_changed(id, meth = nil, &block) end
72
+
73
+ # Process a {Wx::WEB::EVT_WEBVIEW_SCRIPT_MESSAGE_RECEIVED} event only available in wxWidgets 3.1.5 or later. For usage details see {Wx::WEB::WebView#add_script_message_handler}.
74
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
75
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
76
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
77
+ def evt_webview_script_message_received(id, meth = nil, &block) end
78
+
79
+ # Process a {Wx::WEB::EVT_WEBVIEW_SCRIPT_RESULT} event only available in wxWidgets 3.1.6 or later. For usage details see {Wx::WEB::WebView#run_script_async}.
80
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
81
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
82
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
83
+ def evt_webview_script_result(id, meth = nil, &block) end
84
+
85
+ # Processes a {Wx::WEB::EVT_WEBVIEW_BROWSING_DATA_CLEARED} event.
86
+ # @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
87
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
88
+ # @yieldparam [Wx::WEB::WebViewEvent] event the event to handle
89
+ def evt_webview_browsing_data_cleared(id, meth = nil, &block) end
90
+
91
+ # @!endgroup
92
+
93
+ end
94
+
95
+ end