wxruby3 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/ext/wxruby3/include/wxRubyApp.h +338 -0
  4. data/ext/wxruby3/include/wxruby-Config.h +6 -6
  5. data/ext/wxruby3/swig/common.i +1 -1
  6. data/lib/wx/aui/aui_tab_ctrl.rb +18 -0
  7. data/lib/wx/aui/auinotebook.rb +6 -2
  8. data/lib/wx/aui/require.rb +1 -0
  9. data/lib/wx/core/app.rb +2 -2
  10. data/lib/wx/core/collapsible_pane.rb +1 -1
  11. data/lib/wx/core/controlwithitems.rb +8 -6
  12. data/lib/wx/core/menu.rb +10 -0
  13. data/lib/wx/core/notebook.rb +6 -2
  14. data/lib/wx/core/sizer.rb +11 -0
  15. data/lib/wx/core/task_bar_button.rb +19 -0
  16. data/lib/wx/core/textctrl.rb +11 -1
  17. data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
  18. data/lib/wx/core/window.rb +10 -0
  19. data/lib/wx/doc/app.rb +48 -38
  20. data/lib/wx/doc/art_locator.rb +47 -43
  21. data/lib/wx/doc/aui/auimanager.rb +16 -8
  22. data/lib/wx/doc/aui/auinotebook.rb +20 -5
  23. data/lib/wx/doc/clipboard.rb +11 -7
  24. data/lib/wx/doc/colour_dialog.rb +14 -10
  25. data/lib/wx/doc/controlwithitems.rb +17 -7
  26. data/lib/wx/doc/data_object.rb +2 -2
  27. data/lib/wx/doc/evthandler.rb +113 -108
  28. data/lib/wx/doc/font.rb +1 -0
  29. data/lib/wx/doc/gc_dc.rb +6 -1
  30. data/lib/wx/doc/graphics_context.rb +1 -0
  31. data/lib/wx/doc/grid/grid.rb +22 -1
  32. data/lib/wx/doc/help_controller.rb +11 -7
  33. data/lib/wx/doc/html/html_help_controller.rb +12 -4
  34. data/lib/wx/doc/list_ctrl.rb +33 -29
  35. data/lib/wx/doc/menu.rb +20 -0
  36. data/lib/wx/doc/notebook.rb +21 -0
  37. data/lib/wx/doc/pg/events.rb +13 -9
  38. data/lib/wx/doc/pg/pg_property.rb +18 -0
  39. data/lib/wx/doc/progress_dialog.rb +36 -32
  40. data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
  41. data/lib/wx/doc/prt/print_data.rb +13 -5
  42. data/lib/wx/doc/prt/print_dialog.rb +31 -23
  43. data/lib/wx/doc/prt/printer.rb +20 -12
  44. data/lib/wx/doc/radio_box.rb +19 -15
  45. data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
  46. data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
  47. data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
  48. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
  49. data/lib/wx/doc/region_iterator.rb +32 -28
  50. data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
  51. data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
  52. data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
  53. data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
  54. data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
  55. data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
  56. data/lib/wx/doc/sizer.rb +20 -0
  57. data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
  58. data/lib/wx/doc/stream.rb +39 -35
  59. data/lib/wx/doc/system_settings.rb +30 -26
  60. data/lib/wx/doc/text_validator.rb +12 -8
  61. data/lib/wx/doc/textctrl.rb +16 -0
  62. data/lib/wx/doc/tree_ctrl.rb +95 -0
  63. data/lib/wx/doc/treebook.rb +9 -5
  64. data/lib/wx/doc/v_list_box.rb +9 -5
  65. data/lib/wx/doc/variant.rb +164 -160
  66. data/lib/wx/doc/window.rb +57 -47
  67. data/lib/wx/doc/window_disabler.rb +10 -6
  68. data/lib/wx/grid/grid.rb +27 -4
  69. data/lib/wx/pg/pg_property.rb +22 -0
  70. data/lib/wx/rtc/require.rb +3 -0
  71. data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
  72. data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
  73. data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
  74. data/lib/wx/stc/require.rb +1 -0
  75. data/lib/wx/stc/styled_text_ctrl.rb +25 -0
  76. data/lib/wx/version.rb +1 -1
  77. data/rakelib/lib/config/linux.rb +0 -3
  78. data/rakelib/lib/config/macosx.rb +2 -2
  79. data/rakelib/lib/config/mingw.rb +1 -1
  80. data/rakelib/lib/config/unixish.rb +1 -1
  81. data/rakelib/lib/config.rb +14 -4
  82. data/rakelib/lib/core/package.rb +14 -7
  83. data/rakelib/lib/core/spec.rb +6 -1
  84. data/rakelib/lib/director/accelerator.rb +2 -3
  85. data/rakelib/lib/director/accessible.rb +47 -0
  86. data/rakelib/lib/director/app.rb +12 -319
  87. data/rakelib/lib/director/app_traits.rb +10 -12
  88. data/rakelib/lib/director/ctrl_with_items.rb +17 -5
  89. data/rakelib/lib/director/data_format.rb +1 -1
  90. data/rakelib/lib/director/derived_dc.rb +1 -1
  91. data/rakelib/lib/director/dialog.rb +1 -0
  92. data/rakelib/lib/director/drag_image.rb +2 -3
  93. data/rakelib/lib/director/event.rb +2 -2
  94. data/rakelib/lib/director/frame.rb +1 -3
  95. data/rakelib/lib/director/gdicommon.rb +8 -10
  96. data/rakelib/lib/director/graphics_context.rb +2 -4
  97. data/rakelib/lib/director/grid_ctrl.rb +34 -3
  98. data/rakelib/lib/director/icon.rb +5 -2
  99. data/rakelib/lib/director/list_ctrl.rb +5 -6
  100. data/rakelib/lib/director/locale.rb +1 -3
  101. data/rakelib/lib/director/log.rb +1 -4
  102. data/rakelib/lib/director/media_ctrl.rb +54 -0
  103. data/rakelib/lib/director/menu.rb +16 -1
  104. data/rakelib/lib/director/menu_item.rb +2 -2
  105. data/rakelib/lib/director/pgproperties.rb +1 -1
  106. data/rakelib/lib/director/pgproperty.rb +24 -1
  107. data/rakelib/lib/director/property_grid_interface.rb +5 -10
  108. data/rakelib/lib/director/richtext_composite_object.rb +25 -0
  109. data/rakelib/lib/director/richtext_ctrl.rb +14 -4
  110. data/rakelib/lib/director/richtext_formatting_dialog.rb +7 -5
  111. data/rakelib/lib/director/richtext_paragraph_layout_box.rb +9 -7
  112. data/rakelib/lib/director/sizer.rb +15 -0
  113. data/rakelib/lib/director/static_box.rb +4 -5
  114. data/rakelib/lib/director/styled_text_ctrl.rb +12 -0
  115. data/rakelib/lib/director/task_bar_button.rb +30 -0
  116. data/rakelib/lib/director/task_bar_icon.rb +5 -13
  117. data/rakelib/lib/director/textctrl.rb +12 -1
  118. data/rakelib/lib/director/tool_tip.rb +1 -1
  119. data/rakelib/lib/director/top_level_window.rb +4 -5
  120. data/rakelib/lib/director/tree_ctrl.rb +5 -6
  121. data/rakelib/lib/director/variant.rb +1 -1
  122. data/rakelib/lib/director/window.rb +24 -5
  123. data/rakelib/lib/director.rb +4 -4
  124. data/rakelib/lib/extractor/function.rb +6 -6
  125. data/rakelib/lib/extractor.rb +34 -5
  126. data/rakelib/lib/generate/analyzer.rb +8 -3
  127. data/rakelib/lib/generate/doc/busy_info.yaml +0 -2
  128. data/rakelib/lib/generate/doc/clipboard.yaml +0 -2
  129. data/rakelib/lib/generate/doc/cursor.yaml +0 -2
  130. data/rakelib/lib/generate/doc/panel.yaml +7 -0
  131. data/rakelib/lib/generate/doc.rb +76 -14
  132. data/rakelib/lib/specs/interfaces.rb +161 -160
  133. data/rakelib/lib/typemap/common.rb +30 -1
  134. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
  135. data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
  136. data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
  137. data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
  138. data/rakelib/yard/templates/default/tags/setup.rb +16 -0
  139. data/rakelib/yard/yard-custom-templates.rb +3 -0
  140. data/samples/treectrl/treectrl.rb +1 -1
  141. data/tests/media/beep_lo.wav +0 -0
  142. data/tests/test_list_ctrl.rb +1 -1
  143. data/tests/test_media_ctrl.rb +38 -0
  144. data/tests/test_menu.rb +69 -0
  145. data/tests/test_pg.rb +27 -0
  146. data/tests/test_richtext.rb +45 -0
  147. data/tests/test_sizer.rb +16 -0
  148. data/tests/test_std_controls.rb +42 -1
  149. data/tests/test_styled_text_ctrl.rb +46 -0
  150. data/tests/test_tree_ctrl.rb +138 -0
  151. data/tests/test_window.rb +12 -0
  152. data/tests/testapp_noframe.rb +1 -1
  153. metadata +31 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wxruby3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Corino
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-29 00:00:00.000000000 Z
11
+ date: 2023-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -97,6 +97,7 @@ files:
97
97
  - assets/repo-social-preview.png
98
98
  - bin/wxruby
99
99
  - ext/mkrf_conf_srcgem.rb
100
+ - ext/wxruby3/include/wxRubyApp.h
100
101
  - ext/wxruby3/include/wxruby-Config.h
101
102
  - ext/wxruby3/include/wxruby-ScaledDC.h
102
103
  - ext/wxruby3/include/wxruby-runtime.h
@@ -120,6 +121,7 @@ files:
120
121
  - lib/wx.rb
121
122
  - lib/wx/accessors.rb
122
123
  - lib/wx/aui.rb
124
+ - lib/wx/aui/aui_tab_ctrl.rb
123
125
  - lib/wx/aui/auifloatframe.rb
124
126
  - lib/wx/aui/auimanager.rb
125
127
  - lib/wx/aui/auinotebook.rb
@@ -193,12 +195,13 @@ files:
193
195
  - lib/wx/core/size.rb
194
196
  - lib/wx/core/sizer.rb
195
197
  - lib/wx/core/splash_screen.rb
198
+ - lib/wx/core/task_bar_button.rb
196
199
  - lib/wx/core/text_entry.rb
197
200
  - lib/wx/core/textctrl.rb
198
201
  - lib/wx/core/timer.rb
199
202
  - lib/wx/core/toolbar.rb
200
203
  - lib/wx/core/toolbartool.rb
201
- - lib/wx/core/treectrl.rb
204
+ - lib/wx/core/tree_ctrl.rb
202
205
  - lib/wx/core/v_list_box.rb
203
206
  - lib/wx/core/validator.rb
204
207
  - lib/wx/core/variant.rb
@@ -259,7 +262,9 @@ files:
259
262
  - lib/wx/doc/list_ctrl.rb
260
263
  - lib/wx/doc/log.rb
261
264
  - lib/wx/doc/memory_dc.rb
265
+ - lib/wx/doc/menu.rb
262
266
  - lib/wx/doc/mirror_dc.rb
267
+ - lib/wx/doc/notebook.rb
263
268
  - lib/wx/doc/pen.rb
264
269
  - lib/wx/doc/pg/events.rb
265
270
  - lib/wx/doc/pg/pg_property.rb
@@ -278,18 +283,24 @@ files:
278
283
  - lib/wx/doc/rbn/ribbon_gallery.rb
279
284
  - lib/wx/doc/rbn/ribbon_tool_bar.rb
280
285
  - lib/wx/doc/region_iterator.rb
286
+ - lib/wx/doc/rtc/rich_text_composite_object.rb
287
+ - lib/wx/doc/rtc/rich_text_ctrl.rb
288
+ - lib/wx/doc/rtc/rich_text_paragraph.rb
281
289
  - lib/wx/doc/rtc/richtext_buffer.rb
282
290
  - lib/wx/doc/rtc/richtext_formatting_dialog.rb
283
291
  - lib/wx/doc/rtc/richtext_printing.rb
284
292
  - lib/wx/doc/rtc/richtext_style_sheet.rb
285
293
  - lib/wx/doc/scaled_dc.rb
286
294
  - lib/wx/doc/screen_dc.rb
295
+ - lib/wx/doc/sizer.rb
296
+ - lib/wx/doc/stc/styled_text_ctrl.rb
287
297
  - lib/wx/doc/stock_objects.rb
288
298
  - lib/wx/doc/stream.rb
289
299
  - lib/wx/doc/svg_file_dc.rb
290
300
  - lib/wx/doc/system_settings.rb
291
301
  - lib/wx/doc/text_validator.rb
292
302
  - lib/wx/doc/textctrl.rb
303
+ - lib/wx/doc/tree_ctrl.rb
293
304
  - lib/wx/doc/tree_event.rb
294
305
  - lib/wx/doc/treebook.rb
295
306
  - lib/wx/doc/v_list_box.rb
@@ -342,6 +353,9 @@ files:
342
353
  - lib/wx/rtc/ext.rb
343
354
  - lib/wx/rtc/keyword_defs.rb
344
355
  - lib/wx/rtc/require.rb
356
+ - lib/wx/rtc/rich_text_composite_object.rb
357
+ - lib/wx/rtc/rich_text_ctrl.rb
358
+ - lib/wx/rtc/rich_text_paragraph.rb
345
359
  - lib/wx/rtc/richtext_buffer.rb
346
360
  - lib/wx/rtc/richtext_formatting_dialog.rb
347
361
  - lib/wx/rtc/richtext_style_organiser_dialog.rb
@@ -349,6 +363,7 @@ files:
349
363
  - lib/wx/stc.rb
350
364
  - lib/wx/stc/keyword_defs.rb
351
365
  - lib/wx/stc/require.rb
366
+ - lib/wx/stc/styled_text_ctrl.rb
352
367
  - lib/wx/version.rb
353
368
  - lib/wx/wxruby/base.rb
354
369
  - lib/wx/wxruby/cmd/sampler.rb
@@ -383,6 +398,7 @@ files:
383
398
  - rakelib/lib/director.rb
384
399
  - rakelib/lib/director/about_dialog_info.rb
385
400
  - rakelib/lib/director/accelerator.rb
401
+ - rakelib/lib/director/accessible.rb
386
402
  - rakelib/lib/director/animation.rb
387
403
  - rakelib/lib/director/animation_ctrl.rb
388
404
  - rakelib/lib/director/any_button.rb
@@ -583,6 +599,7 @@ files:
583
599
  - rakelib/lib/director/styled_text_event.rb
584
600
  - rakelib/lib/director/system_options.rb
585
601
  - rakelib/lib/director/system_settings.rb
602
+ - rakelib/lib/director/task_bar_button.rb
586
603
  - rakelib/lib/director/task_bar_icon.rb
587
604
  - rakelib/lib/director/text_attr.rb
588
605
  - rakelib/lib/director/text_entry.rb
@@ -669,6 +686,7 @@ files:
669
686
  - rakelib/lib/generate/doc/message_dialog.yaml
670
687
  - rakelib/lib/generate/doc/non_owned_window.yaml
671
688
  - rakelib/lib/generate/doc/notebook.yaml
689
+ - rakelib/lib/generate/doc/panel.yaml
672
690
  - rakelib/lib/generate/doc/pen.yaml
673
691
  - rakelib/lib/generate/doc/pg_editor.yaml
674
692
  - rakelib/lib/generate/doc/pg_multi_button.yaml
@@ -731,7 +749,11 @@ files:
731
749
  - rakelib/prepost.rb
732
750
  - rakelib/run.rake
733
751
  - rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css
752
+ - rakelib/yard/templates/default/fulldoc/html/full_list.erb
753
+ - rakelib/yard/templates/default/fulldoc/html/setup.rb
734
754
  - rakelib/yard/templates/default/layout/html/setup.rb
755
+ - rakelib/yard/templates/default/tags/html/wxrb_require.erb
756
+ - rakelib/yard/templates/default/tags/setup.rb
735
757
  - rakelib/yard/yard-custom-templates.rb
736
758
  - rakelib/yard/yard-relative_markdown_links.rb
737
759
  - rakelib/yard/yard/relative_markdown_links.rb
@@ -1085,6 +1107,7 @@ files:
1085
1107
  - tests/lib/text_entry_tests.rb
1086
1108
  - tests/lib/wxapp_runner.rb
1087
1109
  - tests/lib/wxframe_runner.rb
1110
+ - tests/media/beep_lo.wav
1088
1111
  - tests/test_app_event_filter.rb
1089
1112
  - tests/test_app_exit_exception.rb
1090
1113
  - tests/test_app_init_exception.rb
@@ -1112,11 +1135,16 @@ files:
1112
1135
  - tests/test_item_data.rb
1113
1136
  - tests/test_list_ctrl.rb
1114
1137
  - tests/test_log.rb
1138
+ - tests/test_media_ctrl.rb
1139
+ - tests/test_menu.rb
1140
+ - tests/test_pg.rb
1115
1141
  - tests/test_proof_check.rb
1116
1142
  - tests/test_richtext.rb
1117
1143
  - tests/test_sizer.rb
1118
1144
  - tests/test_std_controls.rb
1145
+ - tests/test_styled_text_ctrl.rb
1119
1146
  - tests/test_timer.rb
1147
+ - tests/test_tree_ctrl.rb
1120
1148
  - tests/test_variant.rb
1121
1149
  - tests/test_window.rb
1122
1150
  - tests/testapp.rb