wxruby3 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/wx/doc/stream.rb +7 -3
- data/lib/wx/version.rb +1 -1
- data/lib/wx/wxruby/cmd/test.rb +8 -2
- data/rakelib/lib/config/pkgman/linux.rb +4 -2
- data/rakelib/lib/director/derived_dc.rb +41 -32
- data/rakelib/lib/director/editable_listbox.rb +10 -8
- data/rakelib/lib/director/fs_file.rb +23 -0
- data/rakelib/lib/director/ribbon_page.rb +11 -0
- data/rakelib/lib/director/top_level_window.rb +12 -4
- data/rakelib/lib/specs/interfaces.rb +2 -2
- data/tests/test_webview.rb +5 -5
- metadata +2 -380
- data/assets/repo-social-preview.odg +0 -0
- data/assets/repo-social-preview.xcf +0 -0
- data/lib/wx/aui/events/evt_list.rb +0 -148
- data/lib/wx/core/events/evt_list.rb +0 -1458
- data/lib/wx/core/font/encoding.rb +0 -113
- data/lib/wx/doc/gen/about_dialog_info.rb +0 -330
- data/lib/wx/doc/gen/accelerator.rb +0 -178
- data/lib/wx/doc/gen/activity_indicator.rb +0 -83
- data/lib/wx/doc/gen/affine_matrix2d.rb +0 -286
- data/lib/wx/doc/gen/animation.rb +0 -275
- data/lib/wx/doc/gen/animation_ctrl.rb +0 -300
- data/lib/wx/doc/gen/any_button.rb +0 -191
- data/lib/wx/doc/gen/app.rb +0 -463
- data/lib/wx/doc/gen/app_traits.rb +0 -396
- data/lib/wx/doc/gen/art_provider.rb +0 -617
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +0 -455
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +0 -54
- data/lib/wx/doc/gen/aui/aui_manager.rb +0 -847
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +0 -131
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +0 -180
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +0 -59
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +0 -130
- data/lib/wx/doc/gen/aui/aui_notebook.rb +0 -631
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +0 -233
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +0 -769
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +0 -352
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +0 -14
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +0 -510
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +0 -340
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +0 -244
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +0 -257
- data/lib/wx/doc/gen/aui/event_list.rb +0 -179
- data/lib/wx/doc/gen/banner_window.rb +0 -124
- data/lib/wx/doc/gen/bitmap.rb +0 -731
- data/lib/wx/doc/gen/bitmap_button.rb +0 -123
- data/lib/wx/doc/gen/bitmap_combo_box.rb +0 -221
- data/lib/wx/doc/gen/book_ctrl_base.rb +0 -274
- data/lib/wx/doc/gen/book_ctrl_event.rb +0 -66
- data/lib/wx/doc/gen/box_sizer.rb +0 -85
- data/lib/wx/doc/gen/brush.rb +0 -251
- data/lib/wx/doc/gen/busy_info.rb +0 -157
- data/lib/wx/doc/gen/button.rb +0 -182
- data/lib/wx/doc/gen/calculate_layout_event.rb +0 -62
- data/lib/wx/doc/gen/calendar_ctrl.rb +0 -505
- data/lib/wx/doc/gen/calendar_date_attr.rb +0 -138
- data/lib/wx/doc/gen/calendar_event.rb +0 -147
- data/lib/wx/doc/gen/caret.rb +0 -97
- data/lib/wx/doc/gen/check_box.rb +0 -175
- data/lib/wx/doc/gen/check_list_box.rb +0 -121
- data/lib/wx/doc/gen/choice.rb +0 -175
- data/lib/wx/doc/gen/choicebook.rb +0 -116
- data/lib/wx/doc/gen/client_dc.rb +0 -43
- data/lib/wx/doc/gen/clipboard.rb +0 -144
- data/lib/wx/doc/gen/collapsible_pane.rb +0 -138
- data/lib/wx/doc/gen/collapsible_pane_event.rb +0 -46
- data/lib/wx/doc/gen/colour.rb +0 -333
- data/lib/wx/doc/gen/colour_dialog.rb +0 -190
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +0 -110
- data/lib/wx/doc/gen/colour_picker_event.rb +0 -77
- data/lib/wx/doc/gen/combo_box.rb +0 -292
- data/lib/wx/doc/gen/combo_ctrl.rb +0 -662
- data/lib/wx/doc/gen/command_link_button.rb +0 -134
- data/lib/wx/doc/gen/config_base.rb +0 -10
- data/lib/wx/doc/gen/context_help_button.rb +0 -56
- data/lib/wx/doc/gen/control.rb +0 -277
- data/lib/wx/doc/gen/control_with_items.rb +0 -253
- data/lib/wx/doc/gen/core.rb +0 -45
- data/lib/wx/doc/gen/credential_entry_dialog.rb +0 -137
- data/lib/wx/doc/gen/cursor.rb +0 -193
- data/lib/wx/doc/gen/data_format.rb +0 -85
- data/lib/wx/doc/gen/data_object.rb +0 -436
- data/lib/wx/doc/gen/data_object_simple_base.rb +0 -10
- data/lib/wx/doc/gen/date_event.rb +0 -49
- data/lib/wx/doc/gen/date_picker_ctrl.rb +0 -161
- data/lib/wx/doc/gen/dc.rb +0 -1631
- data/lib/wx/doc/gen/dc_overlay.rb +0 -102
- data/lib/wx/doc/gen/defs.rb +0 -2802
- data/lib/wx/doc/gen/dial_up_event.rb +0 -45
- data/lib/wx/doc/gen/dial_up_manager.rb +0 -149
- data/lib/wx/doc/gen/dialog.rb +0 -541
- data/lib/wx/doc/gen/dir_dialog.rb +0 -164
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +0 -90
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +0 -125
- data/lib/wx/doc/gen/display.rb +0 -238
- data/lib/wx/doc/gen/drag_drop.rb +0 -299
- data/lib/wx/doc/gen/drag_image.rb +0 -116
- data/lib/wx/doc/gen/editable_list_box.rb +0 -109
- data/lib/wx/doc/gen/event.rb +0 -990
- data/lib/wx/doc/gen/event_blocker.rb +0 -50
- data/lib/wx/doc/gen/event_filter.rb +0 -92
- data/lib/wx/doc/gen/event_list.rb +0 -1644
- data/lib/wx/doc/gen/events.rb +0 -2809
- data/lib/wx/doc/gen/evt_handler.rb +0 -229
- data/lib/wx/doc/gen/ext_help_controller.rb +0 -155
- data/lib/wx/doc/gen/file_ctrl.rb +0 -231
- data/lib/wx/doc/gen/file_ctrl_event.rb +0 -83
- data/lib/wx/doc/gen/file_dialog.rb +0 -353
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +0 -165
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +0 -158
- data/lib/wx/doc/gen/file_dir_picker_event.rb +0 -100
- data/lib/wx/doc/gen/file_picker_ctrl.rb +0 -132
- data/lib/wx/doc/gen/file_system.rb +0 -232
- data/lib/wx/doc/gen/find_dialog_event.rb +0 -126
- data/lib/wx/doc/gen/find_replace_data.rb +0 -60
- data/lib/wx/doc/gen/find_replace_dialog.rb +0 -58
- data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -199
- data/lib/wx/doc/gen/font.rb +0 -1379
- data/lib/wx/doc/gen/font_data.rb +0 -151
- data/lib/wx/doc/gen/font_dialog.rb +0 -88
- data/lib/wx/doc/gen/font_picker_ctrl.rb +0 -143
- data/lib/wx/doc/gen/font_picker_event.rb +0 -65
- data/lib/wx/doc/gen/frame.rb +0 -352
- data/lib/wx/doc/gen/fs_file.rb +0 -337
- data/lib/wx/doc/gen/functions.rb +0 -10
- data/lib/wx/doc/gen/gauge.rb +0 -157
- data/lib/wx/doc/gen/gb_sizer_item.rb +0 -68
- data/lib/wx/doc/gen/gcdc.rb +0 -46
- data/lib/wx/doc/gen/gdi_common.rb +0 -1271
- data/lib/wx/doc/gen/gdi_object.rb +0 -31
- data/lib/wx/doc/gen/generic_about_dialog.rb +0 -140
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +0 -223
- data/lib/wx/doc/gen/geometry.rb +0 -661
- data/lib/wx/doc/gen/graphics_context.rb +0 -1184
- data/lib/wx/doc/gen/graphics_object.rb +0 -750
- data/lib/wx/doc/gen/grid/event_list.rb +0 -191
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +0 -40
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +0 -280
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +0 -35
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +0 -37
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +0 -49
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +0 -35
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +0 -46
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +0 -38
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +0 -45
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +0 -40
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +0 -197
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +0 -39
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +0 -44
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +0 -45
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +0 -79
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +0 -46
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +0 -35
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +0 -108
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +0 -35
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +0 -49
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +0 -3037
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +0 -95
- data/lib/wx/doc/gen/grid/grid_event.rb +0 -129
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +0 -104
- data/lib/wx/doc/gen/grid/grid_size_event.rb +0 -85
- data/lib/wx/doc/gen/grid/grid_string_table.rb +0 -142
- data/lib/wx/doc/gen/grid/grid_table_base.rb +0 -317
- data/lib/wx/doc/gen/grid/grid_table_message.rb +0 -81
- data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -323
- data/lib/wx/doc/gen/grid_sizer.rb +0 -195
- data/lib/wx/doc/gen/gui_event_loop.rb +0 -159
- data/lib/wx/doc/gen/h_scrolled_window.rb +0 -562
- data/lib/wx/doc/gen/header_ctrl.rb +0 -880
- data/lib/wx/doc/gen/header_ctrl_event.rb +0 -133
- data/lib/wx/doc/gen/help_controller.rb +0 -238
- data/lib/wx/doc/gen/help_provider.rb +0 -98
- data/lib/wx/doc/gen/html/event_list.rb +0 -38
- data/lib/wx/doc/gen/html/html_cell.rb +0 -536
- data/lib/wx/doc/gen/html/html_cell_event.rb +0 -69
- data/lib/wx/doc/gen/html/html_data_object.rb +0 -42
- data/lib/wx/doc/gen/html/html_easy_printing.rb +0 -203
- data/lib/wx/doc/gen/html/html_help_controller.rb +0 -382
- data/lib/wx/doc/gen/html/html_help_data.rb +0 -159
- data/lib/wx/doc/gen/html/html_help_window.rb +0 -258
- data/lib/wx/doc/gen/html/html_link_event.rb +0 -41
- data/lib/wx/doc/gen/html/html_list_box.rb +0 -346
- data/lib/wx/doc/gen/html/html_printout.rb +0 -109
- data/lib/wx/doc/gen/html/html_window.rb +0 -461
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +0 -311
- data/lib/wx/doc/gen/hyperlink_event.rb +0 -44
- data/lib/wx/doc/gen/icon.rb +0 -267
- data/lib/wx/doc/gen/icon_location.rb +0 -40
- data/lib/wx/doc/gen/image.rb +0 -1371
- data/lib/wx/doc/gen/image_list.rb +0 -168
- data/lib/wx/doc/gen/info_bar.rb +0 -195
- data/lib/wx/doc/gen/keyboard_state.rb +0 -140
- data/lib/wx/doc/gen/list_box.rb +0 -304
- data/lib/wx/doc/gen/list_ctrl.rb +0 -1774
- data/lib/wx/doc/gen/list_event.rb +0 -208
- data/lib/wx/doc/gen/listbook.rb +0 -116
- data/lib/wx/doc/gen/locale.rb +0 -4293
- data/lib/wx/doc/gen/log.rb +0 -603
- data/lib/wx/doc/gen/mb_conv.rb +0 -10
- data/lib/wx/doc/gen/mdi_client_window.rb +0 -47
- data/lib/wx/doc/gen/mdi_frame.rb +0 -324
- data/lib/wx/doc/gen/media_ctrl.rb +0 -269
- data/lib/wx/doc/gen/media_event.rb +0 -117
- data/lib/wx/doc/gen/memory_dc.rb +0 -174
- data/lib/wx/doc/gen/menu.rb +0 -509
- data/lib/wx/doc/gen/menu_bar.rb +0 -287
- data/lib/wx/doc/gen/menu_item.rb +0 -362
- data/lib/wx/doc/gen/message_dialog.rb +0 -238
- data/lib/wx/doc/gen/mini_frame.rb +0 -108
- data/lib/wx/doc/gen/mirror_dc.rb +0 -22
- data/lib/wx/doc/gen/mouse_state.rb +0 -150
- data/lib/wx/doc/gen/multi_choice_dialog.rb +0 -80
- data/lib/wx/doc/gen/non_owned_window.rb +0 -49
- data/lib/wx/doc/gen/notebook.rb +0 -278
- data/lib/wx/doc/gen/num_validator.rb +0 -37
- data/lib/wx/doc/gen/number_entry_dialog.rb +0 -93
- data/lib/wx/doc/gen/object.rb +0 -59
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +0 -395
- data/lib/wx/doc/gen/paint_dc.rb +0 -27
- data/lib/wx/doc/gen/palette.rb +0 -92
- data/lib/wx/doc/gen/panel.rb +0 -127
- data/lib/wx/doc/gen/pen.rb +0 -511
- data/lib/wx/doc/gen/persistence_manager.rb +0 -135
- data/lib/wx/doc/gen/persistent_object.rb +0 -52
- data/lib/wx/doc/gen/persistent_window.rb +0 -241
- data/lib/wx/doc/gen/pg/event_list.rb +0 -106
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +0 -54
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +0 -292
- data/lib/wx/doc/gen/pg/pg_cell.rb +0 -177
- data/lib/wx/doc/gen/pg/pg_editor.rb +0 -721
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +0 -152
- data/lib/wx/doc/gen/pg/pg_properties.rb +0 -2829
- data/lib/wx/doc/gen/pg/pg_property.rb +0 -2078
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +0 -344
- data/lib/wx/doc/gen/pg/property_grid.rb +0 -740
- data/lib/wx/doc/gen/pg/property_grid_event.rb +0 -184
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +0 -1098
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +0 -415
- data/lib/wx/doc/gen/pg/property_grid_page.rb +0 -354
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +0 -165
- data/lib/wx/doc/gen/picker_base.rb +0 -152
- data/lib/wx/doc/gen/platform_info.rb +0 -622
- data/lib/wx/doc/gen/popup_window.rb +0 -107
- data/lib/wx/doc/gen/progress_dialog.rb +0 -100
- data/lib/wx/doc/gen/property_sheet_dialog.rb +0 -216
- data/lib/wx/doc/gen/prt/event_list.rb +0 -17
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +0 -44
- data/lib/wx/doc/gen/prt/post_script_dc.rb +0 -30
- data/lib/wx/doc/gen/prt/preview_frame.rb +0 -78
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +0 -151
- data/lib/wx/doc/gen/prt/print_data.rb +0 -804
- data/lib/wx/doc/gen/prt/print_dialog.rb +0 -55
- data/lib/wx/doc/gen/prt/printer.rb +0 -518
- data/lib/wx/doc/gen/prt/printer_dc.rb +0 -37
- data/lib/wx/doc/gen/query_layout_info_event.rb +0 -106
- data/lib/wx/doc/gen/radio_box.rb +0 -306
- data/lib/wx/doc/gen/radio_button.rb +0 -159
- data/lib/wx/doc/gen/rbn/event_list.rb +0 -136
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +0 -1142
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +0 -308
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +0 -45
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +0 -458
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +0 -63
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +0 -143
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +0 -229
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +0 -55
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +0 -174
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +0 -270
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +0 -45
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +0 -360
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +0 -42
- data/lib/wx/doc/gen/rearrange_ctrl.rb +0 -78
- data/lib/wx/doc/gen/rearrange_list.rb +0 -123
- data/lib/wx/doc/gen/region.rb +0 -380
- data/lib/wx/doc/gen/region_iterator.rb +0 -76
- data/lib/wx/doc/gen/rich_tool_tip.rb +0 -154
- data/lib/wx/doc/gen/rt/event_list.rb +0 -17
- data/lib/wx/doc/gen/rt/shared_evt_handler.rb +0 -14
- data/lib/wx/doc/gen/rt/thread_event.rb +0 -71
- data/lib/wx/doc/gen/rtc/event_list.rb +0 -125
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +0 -445
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +0 -1188
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +0 -41
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +0 -538
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +0 -2103
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +0 -173
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +0 -181
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +0 -319
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +0 -193
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +0 -102
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +0 -337
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +0 -2922
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +0 -1240
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +0 -258
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +0 -344
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +0 -227
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +0 -59
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +0 -169
- data/lib/wx/doc/gen/sash_event.rb +0 -147
- data/lib/wx/doc/gen/sash_layout_window.rb +0 -232
- data/lib/wx/doc/gen/sash_window.rb +0 -171
- data/lib/wx/doc/gen/scaled_dc.rb +0 -10
- data/lib/wx/doc/gen/screen_dc.rb +0 -30
- data/lib/wx/doc/gen/scroll_bar.rb +0 -204
- data/lib/wx/doc/gen/scrolled_canvas.rb +0 -410
- data/lib/wx/doc/gen/scrolled_control.rb +0 -410
- data/lib/wx/doc/gen/scrolled_window.rb +0 -430
- data/lib/wx/doc/gen/search_ctrl.rb +0 -159
- data/lib/wx/doc/gen/secret_store.rb +0 -116
- data/lib/wx/doc/gen/simplebook.rb +0 -110
- data/lib/wx/doc/gen/single_choice_dialog.rb +0 -89
- data/lib/wx/doc/gen/sizer.rb +0 -945
- data/lib/wx/doc/gen/sizer_item.rb +0 -244
- data/lib/wx/doc/gen/slider.rb +0 -342
- data/lib/wx/doc/gen/spin_button.rb +0 -157
- data/lib/wx/doc/gen/spin_ctrl.rb +0 -231
- data/lib/wx/doc/gen/spin_ctrl_double.rb +0 -192
- data/lib/wx/doc/gen/spin_double_event.rb +0 -55
- data/lib/wx/doc/gen/spin_event.rb +0 -51
- data/lib/wx/doc/gen/splash_screen.rb +0 -113
- data/lib/wx/doc/gen/splitter_event.rb +0 -99
- data/lib/wx/doc/gen/splitter_window.rb +0 -498
- data/lib/wx/doc/gen/static_bitmap.rb +0 -256
- data/lib/wx/doc/gen/static_box.rb +0 -180
- data/lib/wx/doc/gen/static_box_sizer.rb +0 -85
- data/lib/wx/doc/gen/static_line.rb +0 -83
- data/lib/wx/doc/gen/static_text.rb +0 -127
- data/lib/wx/doc/gen/status_bar.rb +0 -290
- data/lib/wx/doc/gen/stc/event_list.rb +0 -221
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +0 -4474
- data/lib/wx/doc/gen/stc/styled_text_event.rb +0 -8762
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -129
- data/lib/wx/doc/gen/svg_file_dc.rb +0 -164
- data/lib/wx/doc/gen/system_options.rb +0 -129
- data/lib/wx/doc/gen/system_settings.rb +0 -507
- data/lib/wx/doc/gen/task_bar_icon.rb +0 -127
- data/lib/wx/doc/gen/task_bar_icon_event.rb +0 -88
- data/lib/wx/doc/gen/text_attr.rb +0 -756
- data/lib/wx/doc/gen/text_ctrl.rb +0 -1033
- data/lib/wx/doc/gen/text_entry.rb +0 -441
- data/lib/wx/doc/gen/text_entry_dialog.rb +0 -220
- data/lib/wx/doc/gen/text_validator.rb +0 -245
- data/lib/wx/doc/gen/time_picker_ctrl.rb +0 -128
- data/lib/wx/doc/gen/timer.rb +0 -119
- data/lib/wx/doc/gen/timer_event.rb +0 -68
- data/lib/wx/doc/gen/tip_provider.rb +0 -63
- data/lib/wx/doc/gen/tip_window.rb +0 -51
- data/lib/wx/doc/gen/toggle_button.rb +0 -182
- data/lib/wx/doc/gen/tool_bar.rb +0 -890
- data/lib/wx/doc/gen/tool_tip.rb +0 -86
- data/lib/wx/doc/gen/toolbook.rb +0 -118
- data/lib/wx/doc/gen/top_level_window.rb +0 -516
- data/lib/wx/doc/gen/tree_ctrl.rb +0 -1052
- data/lib/wx/doc/gen/tree_event.rb +0 -127
- data/lib/wx/doc/gen/treebook.rb +0 -180
- data/lib/wx/doc/gen/ui_action_simulator.rb +0 -109
- data/lib/wx/doc/gen/utils.rb +0 -273
- data/lib/wx/doc/gen/v_list_box.rb +0 -272
- data/lib/wx/doc/gen/v_scrolled_canvas.rb +0 -195
- data/lib/wx/doc/gen/v_scrolled_window.rb +0 -191
- data/lib/wx/doc/gen/validator.rb +0 -68
- data/lib/wx/doc/gen/variant.rb +0 -294
- data/lib/wx/doc/gen/web/event_list.rb +0 -95
- data/lib/wx/doc/gen/web/web_view.rb +0 -1136
- data/lib/wx/doc/gen/web/web_view_event.rb +0 -210
- data/lib/wx/doc/gen/web/web_view_handler.rb +0 -318
- data/lib/wx/doc/gen/window.rb +0 -2917
- data/lib/wx/doc/gen/window_dc.rb +0 -38
- data/lib/wx/doc/gen/window_disabler.rb +0 -30
- data/lib/wx/doc/gen/with_images.rb +0 -84
- data/lib/wx/doc/gen/wizard.rb +0 -257
- data/lib/wx/doc/gen/wizard_event.rb +0 -113
- data/lib/wx/doc/gen/wizard_page.rb +0 -65
- data/lib/wx/doc/gen/wizard_page_simple.rb +0 -88
- data/lib/wx/doc/gen/wrap_sizer.rb +0 -79
- data/lib/wx/doc/gen/xml_node.rb +0 -316
- data/lib/wx/doc/gen/xml_resource.rb +0 -320
- data/lib/wx/grid/events/evt_list.rb +0 -166
- data/lib/wx/html/events/evt_list.rb +0 -27
- data/lib/wx/pg/events/evt_list.rb +0 -73
- data/lib/wx/rbn/events/evt_list.rb +0 -102
- data/lib/wx/rt/events/evt_list.rb +0 -8
- data/lib/wx/rtc/events/evt_list.rb +0 -98
- data/lib/wx/rtc/ext/rich_text_ctrl.rb +0 -24
- data/lib/wx/stc/events/evt_list.rb +0 -178
- data/lib/wx/web/events/evt_list.rb +0 -74
- data/samples/art/wxruby-512x512.png +0 -0
- data/tests/assets/test.css +0 -1
- data/tests/assets/test.html +0 -9
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
# :stopdoc:
|
|
2
|
-
# This file is automatically generated by the WXRuby3 documentation
|
|
3
|
-
# generator. Do not alter this file.
|
|
4
|
-
# :startdoc:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
module Wx
|
|
8
|
-
|
|
9
|
-
# A class that can handle events from the windowing system.
|
|
10
|
-
#
|
|
11
|
-
# {Wx::Window} is (and therefore all window classes are) derived from this class.
|
|
12
|
-
# When events are received, {Wx::EvtHandler} invokes the method listed in the event table using itself as the object. When using multiple inheritance <b>it is imperative that the {Wx::EvtHandler}(-derived) class is the first class inherited</b> such that the this pointer for the overall object will be identical to the this pointer of the {Wx::EvtHandler} portion.
|
|
13
|
-
#
|
|
14
|
-
# Category: {Wx::Events}
|
|
15
|
-
# @see How Events are Processed
|
|
16
|
-
# @see Wx::EventBlocker
|
|
17
|
-
# @see Wx::EventLoopBase
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
class EvtHandler < Object
|
|
21
|
-
|
|
22
|
-
# Queue event for a later processing.
|
|
23
|
-
#
|
|
24
|
-
# This method is similar to {Wx::EvtHandler#process_event} but while the latter is synchronous, i.e. the event is processed immediately, before the function returns, this one is asynchronous and returns immediately while the event will be processed at some later time (usually during the next event loop iteration).
|
|
25
|
-
# Another important difference is that this method takes ownership of the event parameter. This implies that the event (or any of it's member objects) should not be used/changed after the function returns (as it can be handled and subsequently discarded at any moment).
|
|
26
|
-
#
|
|
27
|
-
# Finally, notice that this method automatically wakes up the event loop if it is currently idle by calling {wake_up_idle} so there is no need to do it manually when using it.
|
|
28
|
-
# @param event [Wx::Event] A heap-allocated event to be queued, {Wx::EvtHandler#queue_event} takes ownership of it. This parameter shouldn't be nil.
|
|
29
|
-
# @return [void]
|
|
30
|
-
def queue_event(event) end
|
|
31
|
-
|
|
32
|
-
# Post an event to be processed later.
|
|
33
|
-
#
|
|
34
|
-
# This function is similar to {Wx::EvtHandler#queue_event}.
|
|
35
|
-
# Other than {Wx::EvtHandler#queue_event} this method creates a (shallow) copy of event before queueing the copied event. In case (user defined) event classes require deep copying of Ruby member object these classes should override the #initialize_clone method (**NOT** #clone as wxRuby3 does not currently support overriding event class #clone methods).
|
|
36
|
-
# @param event [Wx::Event] Event to add to the pending events queue.
|
|
37
|
-
# @return [void]
|
|
38
|
-
def add_pending_event(event) end
|
|
39
|
-
|
|
40
|
-
# Try to process the event in this handler and all those chained to it.
|
|
41
|
-
#
|
|
42
|
-
# As explained in {Wx::EvtHandler#process_event} documentation, the event handlers may be chained in a doubly-linked list. This function tries to process the event in this handler (including performing any pre-processing done in {Wx::EvtHandler#try_before}, e.g. applying validators) and all those following it in the chain until the event is processed or the chain is exhausted.
|
|
43
|
-
# This function is called from {Wx::EvtHandler#process_event} and, in turn, calls {Wx::EvtHandler#try_before} and {Wx::EvtHandler#try_after}. It is not virtual and so cannot be overridden but can, and should, be called to forward an event to another handler instead of {Wx::EvtHandler#process_event} which would result in a duplicate call to {Wx::EvtHandler#try_after}, e.g. resulting in all unprocessed events being sent to the application object multiple times.
|
|
44
|
-
#
|
|
45
|
-
# true if this handler of one of those chained to it processed the event.
|
|
46
|
-
# @param event [Wx::Event] Event to process.
|
|
47
|
-
# @return [Boolean]
|
|
48
|
-
def process_event_locally(event) end
|
|
49
|
-
|
|
50
|
-
# Processes an event by calling {Wx::EvtHandler#process_event} and handles any exceptions that occur in the process.
|
|
51
|
-
#
|
|
52
|
-
# If an exception is thrown in event handler, {Wx::App::OnExceptionInMainLoop} is called.
|
|
53
|
-
#
|
|
54
|
-
# true if the event was processed, false if no handler was found or an exception was thrown.
|
|
55
|
-
# @see Wx::Window#handle_window_event
|
|
56
|
-
# @param event [Wx::Event] Event to process.
|
|
57
|
-
# @return [Boolean]
|
|
58
|
-
def safely_process_event(event) end
|
|
59
|
-
|
|
60
|
-
# Processes the pending events previously queued using {Wx::EvtHandler#queue_event} or {Wx::EvtHandler#add_pending_event}; you must call this function only if you are sure there are pending events for this handler, otherwise a {Wx::CHECK} will fail.
|
|
61
|
-
#
|
|
62
|
-
# The real processing still happens in {Wx::EvtHandler#process_event} which is called by this function.
|
|
63
|
-
# Note that this function needs a valid application object (see Wx::AppConsole#get_instance) because {Wx::App} holds the list of the event handlers with pending events and this function manipulates that list.
|
|
64
|
-
# @return [void]
|
|
65
|
-
def process_pending_events; end
|
|
66
|
-
|
|
67
|
-
# Deletes all events queued on this event handler using {Wx::EvtHandler#queue_event} or {Wx::EvtHandler#add_pending_event}.
|
|
68
|
-
#
|
|
69
|
-
# Use with care because the events which are deleted are (obviously) not processed and this may have unwanted consequences (e.g. user actions events will be lost).
|
|
70
|
-
# @return [void]
|
|
71
|
-
def delete_pending_events; end
|
|
72
|
-
|
|
73
|
-
# Returns a pointer to the user-supplied client data object.
|
|
74
|
-
#
|
|
75
|
-
#
|
|
76
|
-
# @see Wx::EvtHandler#set_client_object
|
|
77
|
-
# @see Wx::ClientData
|
|
78
|
-
# @return [Object]
|
|
79
|
-
def get_client_object; end
|
|
80
|
-
alias_method :client_object, :get_client_object
|
|
81
|
-
|
|
82
|
-
# Set the client data object.
|
|
83
|
-
#
|
|
84
|
-
# Any previous object will be deleted.
|
|
85
|
-
# @see Wx::EvtHandler#get_client_object
|
|
86
|
-
# @see Wx::ClientData
|
|
87
|
-
# @param data [Object]
|
|
88
|
-
# @return [void]
|
|
89
|
-
def set_client_object(data) end
|
|
90
|
-
alias_method :client_object=, :set_client_object
|
|
91
|
-
|
|
92
|
-
# Returns true if the event handler is enabled, false otherwise.
|
|
93
|
-
#
|
|
94
|
-
#
|
|
95
|
-
# @see Wx::EvtHandler#set_evt_handler_enabled
|
|
96
|
-
# @return [Boolean]
|
|
97
|
-
def get_evt_handler_enabled; end
|
|
98
|
-
alias_method :evt_handler_enabled, :get_evt_handler_enabled
|
|
99
|
-
|
|
100
|
-
# Returns the pointer to the next handler in the chain.
|
|
101
|
-
#
|
|
102
|
-
#
|
|
103
|
-
# @see Wx::EvtHandler#set_next_handler
|
|
104
|
-
# @see Wx::EvtHandler#get_previous_handler
|
|
105
|
-
# @see Wx::EvtHandler#set_previous_handler
|
|
106
|
-
# @see Wx::Window#push_event_handler
|
|
107
|
-
# @see Wx::Window#pop_event_handler
|
|
108
|
-
# @return [Wx::EvtHandler]
|
|
109
|
-
def get_next_handler; end
|
|
110
|
-
alias_method :next_handler, :get_next_handler
|
|
111
|
-
|
|
112
|
-
# Returns the pointer to the previous handler in the chain.
|
|
113
|
-
#
|
|
114
|
-
#
|
|
115
|
-
# @see Wx::EvtHandler#set_previous_handler
|
|
116
|
-
# @see Wx::EvtHandler#get_next_handler
|
|
117
|
-
# @see Wx::EvtHandler#set_next_handler
|
|
118
|
-
# @see Wx::Window#push_event_handler
|
|
119
|
-
# @see Wx::Window#pop_event_handler
|
|
120
|
-
# @return [Wx::EvtHandler]
|
|
121
|
-
def get_previous_handler; end
|
|
122
|
-
alias_method :previous_handler, :get_previous_handler
|
|
123
|
-
|
|
124
|
-
# Enables or disables the event handler.
|
|
125
|
-
#
|
|
126
|
-
# <div class="wxrb-remark">
|
|
127
|
-
# <b>Remark:</b>
|
|
128
|
-
# <p>You can use this function to avoid having to remove the event handler from the chain, for example when implementing a dialog editor and changing from edit to test mode.
|
|
129
|
-
# </p>
|
|
130
|
-
# </div>
|
|
131
|
-
# @see Wx::EvtHandler#get_evt_handler_enabled
|
|
132
|
-
# @param enabled [Boolean] true if the event handler is to be enabled, false if it is to be disabled.
|
|
133
|
-
# @return [void]
|
|
134
|
-
def set_evt_handler_enabled(enabled) end
|
|
135
|
-
alias_method :evt_handler_enabled=, :set_evt_handler_enabled
|
|
136
|
-
|
|
137
|
-
# Inserts the given handler as the next handler in the chain.
|
|
138
|
-
#
|
|
139
|
-
# In wxRuby this fully handles double linking, i.e. wxRuby will take care of pointing the handler given
|
|
140
|
-
# back to this handler as well. There is no need to call set_previous_handler so this method is not supported
|
|
141
|
-
# in wxRuby3.
|
|
142
|
-
# @param handler [Wx::EvtHandler] The event handler to be set as the next handler. Cannot be nil.
|
|
143
|
-
# @return [void]
|
|
144
|
-
def set_next_handler(handler) end
|
|
145
|
-
alias_method :next_handler=, :set_next_handler
|
|
146
|
-
|
|
147
|
-
# Unlinks this event handler from the chain it's part of (if any); then links the "previous" event handler to the "next" one (so that the chain won't be interrupted).
|
|
148
|
-
#
|
|
149
|
-
# E.g. if before calling {Wx::EvtHandler#unlink} you have the following chain:
|
|
150
|
-
# then after calling <code>B->Wx::EvtHandler#unlink</code> you'll have:
|
|
151
|
-
# @return [void]
|
|
152
|
-
def unlink; end
|
|
153
|
-
|
|
154
|
-
# Returns true if the next and the previous handler pointers of this event handler instance are nil.
|
|
155
|
-
#
|
|
156
|
-
#
|
|
157
|
-
# @see Wx::EvtHandler#set_previous_handler
|
|
158
|
-
# @see Wx::EvtHandler#set_next_handler
|
|
159
|
-
# @return [Boolean]
|
|
160
|
-
def is_unlinked; end
|
|
161
|
-
alias_method :unlinked?, :is_unlinked
|
|
162
|
-
|
|
163
|
-
# Add an event filter whose FilterEvent() method will be called for each and every event processed by wxWidgets.
|
|
164
|
-
#
|
|
165
|
-
# The filters are called in LIFO order and {Wx::App} is registered as an event filter by default. The pointer must remain valid until it's removed with {Wx::EvtHandler.remove_filter} and is not deleted by {Wx::EvtHandler}.
|
|
166
|
-
# @param filter [Wx::EventFilter,Wx::App]
|
|
167
|
-
# @return [void]
|
|
168
|
-
def self.add_filter(filter) end
|
|
169
|
-
|
|
170
|
-
# Remove a filter previously installed with {Wx::EvtHandler.add_filter}.
|
|
171
|
-
#
|
|
172
|
-
# It's an error to remove a filter that hadn't been previously added or was already removed.
|
|
173
|
-
# @param filter [Wx::EventFilter,Wx::App]
|
|
174
|
-
# @return [void]
|
|
175
|
-
def self.remove_filter(filter) end
|
|
176
|
-
|
|
177
|
-
# Constructor.
|
|
178
|
-
# @return [Wx::EvtHandler]
|
|
179
|
-
def initialize; end
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
protected
|
|
183
|
-
|
|
184
|
-
# Method called by {Wx::EvtHandler#process_event} before examining this object event tables.
|
|
185
|
-
#
|
|
186
|
-
# This method can be overridden to hook into the event processing logic as early as possible. You should usually call the base class version when overriding this method, even if {Wx::EvtHandler} itself does nothing here, some derived classes do use this method, e.g. {Wx::Window} implements support for {Wx::Validator} in it.
|
|
187
|
-
# Example:
|
|
188
|
-
# ```ruby
|
|
189
|
-
# class MyClass < BaseClass # inheriting from Wx::EvtHandler
|
|
190
|
-
# ...
|
|
191
|
-
# protected
|
|
192
|
-
# def try_before(event)
|
|
193
|
-
# if my_pre_process(event)
|
|
194
|
-
# return true
|
|
195
|
-
#
|
|
196
|
-
# super
|
|
197
|
-
# end
|
|
198
|
-
# end
|
|
199
|
-
# ```
|
|
200
|
-
# @see Wx::EvtHandler#process_event
|
|
201
|
-
# @param event [Wx::Event]
|
|
202
|
-
# @return [Boolean]
|
|
203
|
-
def try_before(event) end
|
|
204
|
-
|
|
205
|
-
# Method called by {Wx::EvtHandler#process_event} as last resort.
|
|
206
|
-
#
|
|
207
|
-
# This method can be overridden to implement post-processing for the events which were not processed anywhere else.
|
|
208
|
-
# The base class version handles forwarding the unprocessed events to {Wx::App} at {Wx::EvtHandler} level and propagating them upwards the window child-parent chain at {Wx::Window} level and so should usually be called when overriding this method:
|
|
209
|
-
# ```ruby
|
|
210
|
-
# class MyClass < BaseClass # inheriting from Wx::EvtHandler
|
|
211
|
-
# ...
|
|
212
|
-
# protected
|
|
213
|
-
# def try_after(event)
|
|
214
|
-
# if super
|
|
215
|
-
# return true
|
|
216
|
-
#
|
|
217
|
-
# my_post_process(event)
|
|
218
|
-
# end
|
|
219
|
-
# end
|
|
220
|
-
# ```
|
|
221
|
-
# @see Wx::EvtHandler#process_event
|
|
222
|
-
# @param event [Wx::Event]
|
|
223
|
-
# @return [Boolean]
|
|
224
|
-
def try_after(event) end
|
|
225
|
-
|
|
226
|
-
end # EvtHandler
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
end
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
# :stopdoc:
|
|
2
|
-
# This file is automatically generated by the WXRuby3 documentation
|
|
3
|
-
# generator. Do not alter this file.
|
|
4
|
-
# :startdoc:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
module Wx
|
|
8
|
-
|
|
9
|
-
# This class implements help via an external browser.
|
|
10
|
-
#
|
|
11
|
-
# It requires the name of a directory containing the documentation and a file mapping numerical Section numbers to relative URLS.
|
|
12
|
-
# The map file contains two or three fields per line: numeric_id relative_URL [; comment/documentation]
|
|
13
|
-
# The numeric_id is the id used to look up the entry in {Wx::ExtHelpController#display_section}/DisplayBlock(). The relative_URL is a filename of an html file, relative to the help directory. The optional comment/documentation field (after a ';') is used for keyword searches, so some meaningful text here does not hurt. If the documentation itself contains a ';', only the part before that will be displayed in the listbox, but all of it used for search.
|
|
14
|
-
# Lines starting with ';' will be ignored.
|
|
15
|
-
#
|
|
16
|
-
# Category: {Wx::HELP}
|
|
17
|
-
# @see Wx::HelpController
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
# @wxrb_require USE_HELP
|
|
21
|
-
class ExtHelpController < Object
|
|
22
|
-
|
|
23
|
-
# @param parentWindow [Wx::Window]
|
|
24
|
-
# @return [Wx::ExtHelpController]
|
|
25
|
-
def initialize(parentWindow=nil) end
|
|
26
|
-
|
|
27
|
-
# Tell it which browser to use.
|
|
28
|
-
#
|
|
29
|
-
# The Netscape support will check whether Netscape is already running (by looking at the .netscape/lock file in the user's home directory) and tell it to load the page into the existing window.
|
|
30
|
-
# @param viewer [String] The command to call a browser/html viewer.
|
|
31
|
-
# @param flags [Integer] Set this to {Wx::HTML::HELP_NETSCAPE} if the browser is some variant of Netscape.
|
|
32
|
-
# @return [void]
|
|
33
|
-
def set_viewer(viewer=(''), flags=Wx::HTML::HELP_NETSCAPE) end
|
|
34
|
-
alias_method :viewer=, :set_viewer
|
|
35
|
-
|
|
36
|
-
# This must be called to tell the controller where to find the documentation.
|
|
37
|
-
#
|
|
38
|
-
# If a locale is set, look in file/localename, i.e. If passed "/usr/local/myapp/help" and the current {Wx::Locale} is set to be "de", then look in "/usr/local/myapp/help/de/" first and fall back to "/usr/local/myapp/help" if that doesn't exist.
|
|
39
|
-
#
|
|
40
|
-
# true on success
|
|
41
|
-
# @param dir [String] directory name where to fine the help files
|
|
42
|
-
# @return [Boolean]
|
|
43
|
-
def init(dir) end
|
|
44
|
-
|
|
45
|
-
# Does nothing.
|
|
46
|
-
# @return [void]
|
|
47
|
-
def on_quit; end
|
|
48
|
-
|
|
49
|
-
# Call the browser using a relative URL.
|
|
50
|
-
# @param relativeURL [String]
|
|
51
|
-
# @return [Boolean]
|
|
52
|
-
def display_help(relativeURL) end
|
|
53
|
-
|
|
54
|
-
# Allows one to override the default settings for the help frame.
|
|
55
|
-
# @param titleFormat [String]
|
|
56
|
-
# @param size [Array(Integer, Integer), Wx::Size]
|
|
57
|
-
# @param pos [Array(Integer, Integer), Wx::Point]
|
|
58
|
-
# @param newFrameEachTime [Boolean]
|
|
59
|
-
# @return [void]
|
|
60
|
-
def set_frame_parameters(titleFormat, size, pos=Wx::DEFAULT_POSITION, newFrameEachTime=false) end
|
|
61
|
-
|
|
62
|
-
# If the help viewer is not running, runs it and displays the file at the given block number.
|
|
63
|
-
#
|
|
64
|
-
# - WinHelp: Refers to the context number.
|
|
65
|
-
# - MS HTML Help: Refers to the context number.
|
|
66
|
-
# - External HTML help: the same as for {display_section}.
|
|
67
|
-
# - {Wx::HTML::HtmlHelpController}: sectionNo is an identifier as specified in the <code></code>.hhc file. See Help Files Format.
|
|
68
|
-
# DeprecatedThis function is for backward compatibility only, and applications should use {display_section} instead.
|
|
69
|
-
# @param blockNo [Integer]
|
|
70
|
-
# @return [Boolean]
|
|
71
|
-
def display_block(blockNo) end
|
|
72
|
-
|
|
73
|
-
# If the help viewer is not running, runs it and displays the contents.
|
|
74
|
-
# @return [Boolean]
|
|
75
|
-
def display_contents; end
|
|
76
|
-
|
|
77
|
-
# Displays the section as a popup window using a context id.
|
|
78
|
-
#
|
|
79
|
-
# Returns false if unsuccessful or not implemented.
|
|
80
|
-
# @param contextId [Integer]
|
|
81
|
-
# @return [Boolean]
|
|
82
|
-
def display_context_popup(contextId) end
|
|
83
|
-
|
|
84
|
-
# @overload display_section(section)
|
|
85
|
-
# If the help viewer is not running, runs it and displays the given section.
|
|
86
|
-
#
|
|
87
|
-
# The interpretation of section differs between help viewers. For most viewers, this call is equivalent to KeywordSearch. For MS HTML Help, {Wx::HTML} help and external HTML help, if section has a .htm or .html extension, that HTML file will be displayed; otherwise a keyword search is done.
|
|
88
|
-
# @param section [String]
|
|
89
|
-
# @return [Boolean]
|
|
90
|
-
# @overload display_section(sectionNo)
|
|
91
|
-
# If the help viewer is not running, runs it and displays the given section.
|
|
92
|
-
#
|
|
93
|
-
# - WinHelp, MS HTML Help sectionNo is a context id.
|
|
94
|
-
# - MS HTML Help: Pass -1 in sectionNo to display the index.
|
|
95
|
-
# - External HTML help: {Wx::ExtHelpController} implements sectionNo as an id in a map file, which is of the form:
|
|
96
|
-
# - {Wx::HTML::HtmlHelpController}: sectionNo is an identifier as specified in the <code></code>.hhc file. See Help Files Format. See also the help sample for notes on how to specify section numbers for various help file formats.
|
|
97
|
-
# @param sectionNo [Integer]
|
|
98
|
-
# @return [Boolean]
|
|
99
|
-
def display_section(*args) end
|
|
100
|
-
|
|
101
|
-
# Displays the text in a popup window, if possible.
|
|
102
|
-
#
|
|
103
|
-
# Returns false if unsuccessful or not implemented.
|
|
104
|
-
# @param text [String]
|
|
105
|
-
# @param pos [Array(Integer, Integer), Wx::Point]
|
|
106
|
-
# @return [Boolean]
|
|
107
|
-
def display_text_popup(text, pos) end
|
|
108
|
-
|
|
109
|
-
# Returns the window to be used as the parent for the help window.
|
|
110
|
-
#
|
|
111
|
-
# This window is used by {Wx::CHMHelpController}, {Wx::WinHelpController} and {Wx::HTML::HtmlHelpController}.
|
|
112
|
-
# @return [Wx::Window]
|
|
113
|
-
def get_parent_window; end
|
|
114
|
-
alias_method :parent_window, :get_parent_window
|
|
115
|
-
|
|
116
|
-
# If the help viewer is not running, runs it, and searches for sections matching the given keyword.
|
|
117
|
-
#
|
|
118
|
-
# If one match is found, the file is displayed at this section. The optional parameter allows searching the index ({Wx::HelpSearchMode::HELP_SEARCH_INDEX}) but this currently is only supported by the {Wx::HTML::HtmlHelpController}.
|
|
119
|
-
#
|
|
120
|
-
# - WinHelp, MS HTML Help: If more than one match is found, the first topic is displayed.
|
|
121
|
-
# - MS HTML Help: Pass an empty string to display the search page.
|
|
122
|
-
# - External HTML help, simple {Wx::HTML} help: If more than one match is found, a choice of topics is displayed.
|
|
123
|
-
# - {Wx::HTML::HtmlHelpController}: see {Wx::HTML::HtmlHelpController::KeywordSearch}.
|
|
124
|
-
# @param keyWord [String]
|
|
125
|
-
# @param mode [Wx::HelpSearchMode]
|
|
126
|
-
# @return [Boolean]
|
|
127
|
-
def keyword_search(keyWord, mode=Wx::HelpSearchMode::HELP_SEARCH_ALL) end
|
|
128
|
-
|
|
129
|
-
# If the help viewer is not running, runs it and loads the given file.
|
|
130
|
-
#
|
|
131
|
-
# If the filename is not supplied or is empty, the file specified in {initialize} is used.
|
|
132
|
-
# If the viewer is already displaying the specified file, it will not be reloaded. This member function may be used before each display call in case the user has opened another file.
|
|
133
|
-
# {Wx::HTML::HtmlHelpController} ignores this call.
|
|
134
|
-
# @param file [String]
|
|
135
|
-
# @return [Boolean]
|
|
136
|
-
def load_file(file=('')) end
|
|
137
|
-
|
|
138
|
-
# If the viewer is running, quits it by disconnecting.
|
|
139
|
-
#
|
|
140
|
-
# For Windows Help, the viewer will only close if no other application is using it.
|
|
141
|
-
# @return [Boolean]
|
|
142
|
-
def quit; end
|
|
143
|
-
|
|
144
|
-
# Sets the window to be used as the parent for the help window.
|
|
145
|
-
#
|
|
146
|
-
# This is used by {Wx::CHMHelpController}, {Wx::WinHelpController} and {Wx::HTML::HtmlHelpController}.
|
|
147
|
-
# @param parentWindow [Wx::Window]
|
|
148
|
-
# @return [void]
|
|
149
|
-
def set_parent_window(parentWindow) end
|
|
150
|
-
alias_method :parent_window=, :set_parent_window
|
|
151
|
-
|
|
152
|
-
end # ExtHelpController
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
end
|
data/lib/wx/doc/gen/file_ctrl.rb
DELETED
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
# :stopdoc:
|
|
2
|
-
# This file is automatically generated by the WXRuby3 documentation
|
|
3
|
-
# generator. Do not alter this file.
|
|
4
|
-
# :startdoc:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
module Wx
|
|
8
|
-
|
|
9
|
-
#
|
|
10
|
-
FC_DEFAULT_STYLE = 1
|
|
11
|
-
|
|
12
|
-
#
|
|
13
|
-
#
|
|
14
|
-
FC_OPEN = 1
|
|
15
|
-
|
|
16
|
-
#
|
|
17
|
-
#
|
|
18
|
-
FC_SAVE = 2
|
|
19
|
-
|
|
20
|
-
#
|
|
21
|
-
#
|
|
22
|
-
FC_MULTIPLE = 4
|
|
23
|
-
|
|
24
|
-
#
|
|
25
|
-
#
|
|
26
|
-
FC_NOSHOWHIDDEN = 8
|
|
27
|
-
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
EVT_FILECTRL_SELECTIONCHANGED = 10161
|
|
31
|
-
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
EVT_FILECTRL_FILEACTIVATED = 10162
|
|
35
|
-
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
EVT_FILECTRL_FOLDERCHANGED = 10163
|
|
39
|
-
|
|
40
|
-
#
|
|
41
|
-
#
|
|
42
|
-
EVT_FILECTRL_FILTERCHANGED = 10164
|
|
43
|
-
|
|
44
|
-
# This control allows the user to select a file.
|
|
45
|
-
#
|
|
46
|
-
# Two implementations of this class exist, one for Gtk and another generic one for all the other ports.
|
|
47
|
-
# This class is only available if {Wx::Setup::USE_FILECTRL} is set to 1.
|
|
48
|
-
# ### Styles
|
|
49
|
-
#
|
|
50
|
-
# This class supports the following styles:
|
|
51
|
-
#
|
|
52
|
-
# - {Wx::FC_DEFAULT_STYLE}: The default style: {Wx::FC_OPEN}
|
|
53
|
-
#
|
|
54
|
-
# - {Wx::FC_OPEN}: Creates an file control suitable for opening files. Cannot be combined with {Wx::FC_SAVE}.
|
|
55
|
-
#
|
|
56
|
-
# - {Wx::FC_SAVE}: Creates an file control suitable for saving files. Cannot be combined with {Wx::FC_OPEN}.
|
|
57
|
-
#
|
|
58
|
-
# - {Wx::FC_MULTIPLE}: For open control only, Allows selecting multiple files. Cannot be combined with {Wx::FC_SAVE}
|
|
59
|
-
#
|
|
60
|
-
# - {Wx::FC_NOSHOWHIDDEN}: Hides the "Show Hidden Files" checkbox (Generic only)
|
|
61
|
-
#
|
|
62
|
-
# ### Events emitted by this class
|
|
63
|
-
#
|
|
64
|
-
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::FileCtrlEvent} events.
|
|
65
|
-
# Event handler methods for events emitted by this class:
|
|
66
|
-
#
|
|
67
|
-
# - {Wx::EvtHandler#evt_filectrl_fileactivated}(id, meth = nil, &block): The user activated a file(by double-clicking or pressing Enter)
|
|
68
|
-
#
|
|
69
|
-
# - {Wx::EvtHandler#evt_filectrl_selectionchanged}(id, meth = nil, &block): The user changed the current selection(by selecting or deselecting a file)
|
|
70
|
-
#
|
|
71
|
-
# - {Wx::EvtHandler#evt_filectrl_folderchanged}(id, meth = nil, &block): The current folder of the file control has been changed
|
|
72
|
-
#
|
|
73
|
-
# - {Wx::EvtHandler#evt_filectrl_filterchanged}(id, meth = nil, &block): The current file filter of the file control has been changed.
|
|
74
|
-
#
|
|
75
|
-
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
|
76
|
-
# </td><td> WXGTK Appearance
|
|
77
|
-
# </td><td> WXOSX Appearance
|
|
78
|
-
# </td></tr></table></div>
|
|
79
|
-
# Implementations: native under WXGTK port; a generic implementation is used elsewhere.
|
|
80
|
-
# @see Wx::GenericDirCtrl
|
|
81
|
-
#
|
|
82
|
-
#
|
|
83
|
-
# @wxrb_require USE_FILECTRL
|
|
84
|
-
class FileCtrl < Control
|
|
85
|
-
|
|
86
|
-
# @overload initialize()
|
|
87
|
-
# @return [Wx::FileCtrl]
|
|
88
|
-
# @overload initialize(parent, id, defaultDirectory=(''), defaultFilename=(''), wildCard=Wx::FILE_SELECTOR_DEFAULT_WILDCARD_STR, style=Wx::FC_DEFAULT_STYLE, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, name=Wx::FILE_CTRL_NAME_STR)
|
|
89
|
-
# Constructs the window.
|
|
90
|
-
# @param parent [Wx::Window] Parent window, must not be non-null.
|
|
91
|
-
# @param id [Integer] The identifier for the control.
|
|
92
|
-
# @param defaultDirectory [String] The initial directory shown in the control. Must be a valid path to a directory or the empty string. In case it is the empty string, the current working directory is used.
|
|
93
|
-
# @param defaultFilename [String] The default filename, or the empty string.
|
|
94
|
-
# @param wildCard [String] A wildcard specifying which files can be selected, such as "*.*" or "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif".
|
|
95
|
-
# @param style [Integer] The window style, see {Wx::FC_}* flags.
|
|
96
|
-
# @param pos [Array(Integer, Integer), Wx::Point] Initial position.
|
|
97
|
-
# @param size [Array(Integer, Integer), Wx::Size] Initial size.
|
|
98
|
-
# @param name [String] Control name.
|
|
99
|
-
# @return [Wx::FileCtrl]
|
|
100
|
-
# @overload initialize(parent, id, defaultDirectory=(''), defaultFilename=(''), wildCard=Wx::FILE_SELECTOR_DEFAULT_WILDCARD_STR, style=Wx::FC_DEFAULT_STYLE, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, name=Wx::FILE_CTRL_NAME_STR, &block)
|
|
101
|
-
# Constructs the window.
|
|
102
|
-
# @param parent [Wx::Window] Parent window, must not be non-null.
|
|
103
|
-
# @param id [Integer] The identifier for the control.
|
|
104
|
-
# @param defaultDirectory [String] The initial directory shown in the control. Must be a valid path to a directory or the empty string. In case it is the empty string, the current working directory is used.
|
|
105
|
-
# @param defaultFilename [String] The default filename, or the empty string.
|
|
106
|
-
# @param wildCard [String] A wildcard specifying which files can be selected, such as "*.*" or "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif".
|
|
107
|
-
# @param style [Integer] The window style, see {Wx::FC_}* flags.
|
|
108
|
-
# @param pos [Array(Integer, Integer), Wx::Point] Initial position.
|
|
109
|
-
# @param size [Array(Integer, Integer), Wx::Size] Initial size.
|
|
110
|
-
# @param name [String] Control name.
|
|
111
|
-
# @yieldparam [Wx::FileCtrl] win new instance
|
|
112
|
-
# @return [Wx::FileCtrl]
|
|
113
|
-
def initialize(*args) end
|
|
114
|
-
|
|
115
|
-
# Create function for two-step construction.
|
|
116
|
-
#
|
|
117
|
-
# See {Wx::FileCtrl#initialize} for details.
|
|
118
|
-
# true if the control was successfully created or false if creation failed.
|
|
119
|
-
# @param parent [Wx::Window]
|
|
120
|
-
# @param id [Integer]
|
|
121
|
-
# @param defaultDirectory [String]
|
|
122
|
-
# @param defaultFilename [String]
|
|
123
|
-
# @param wildCard [String]
|
|
124
|
-
# @param style [Integer]
|
|
125
|
-
# @param pos [Array(Integer, Integer), Wx::Point]
|
|
126
|
-
# @param size [Array(Integer, Integer), Wx::Size]
|
|
127
|
-
# @param name [String]
|
|
128
|
-
# @return [Boolean]
|
|
129
|
-
def create(parent, id, defaultDirectory=(''), defaultFilename=(''), wildCard=Wx::FILE_SELECTOR_DEFAULT_WILDCARD_STR, style=Wx::FC_DEFAULT_STYLE, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, name=Wx::FILE_CTRL_NAME_STR) end
|
|
130
|
-
|
|
131
|
-
# Returns the current directory of the file control (i.e. the directory shown by it).
|
|
132
|
-
# @return [String]
|
|
133
|
-
def get_directory; end
|
|
134
|
-
alias_method :directory, :get_directory
|
|
135
|
-
|
|
136
|
-
# Returns the currently selected filename.
|
|
137
|
-
#
|
|
138
|
-
# For the controls having the {Wx::FC_MULTIPLE} style, use {Wx::FileCtrl#get_filenames} instead.
|
|
139
|
-
# @return [String]
|
|
140
|
-
def get_filename; end
|
|
141
|
-
alias_method :filename, :get_filename
|
|
142
|
-
|
|
143
|
-
# Fills the array filenames with the filenames only of selected items.
|
|
144
|
-
#
|
|
145
|
-
# This function should only be used with the controls having the {Wx::FC_MULTIPLE} style, use {Wx::FileCtrl#get_filename} for the others.
|
|
146
|
-
#
|
|
147
|
-
# <div class="wxrb-remark">
|
|
148
|
-
# <b>Remark:</b>
|
|
149
|
-
# <p>filenames is emptied first.
|
|
150
|
-
# </p>
|
|
151
|
-
# </div>
|
|
152
|
-
# @return [Array<String>]
|
|
153
|
-
def get_filenames; end
|
|
154
|
-
alias_method :filenames, :get_filenames
|
|
155
|
-
|
|
156
|
-
# Returns the zero-based index of the currently selected filter.
|
|
157
|
-
# @return [Integer]
|
|
158
|
-
def get_filter_index; end
|
|
159
|
-
alias_method :filter_index, :get_filter_index
|
|
160
|
-
|
|
161
|
-
# Returns the full path (directory and filename) of the currently selected file.
|
|
162
|
-
#
|
|
163
|
-
# For the controls having the {Wx::FC_MULTIPLE} style, use {Wx::FileCtrl#get_paths} instead.
|
|
164
|
-
# @return [String]
|
|
165
|
-
def get_path; end
|
|
166
|
-
alias_method :path, :get_path
|
|
167
|
-
|
|
168
|
-
# Fills the array paths with the full paths of the files chosen.
|
|
169
|
-
#
|
|
170
|
-
# This function should be used with the controls having the {Wx::FC_MULTIPLE} style, use {Wx::FileCtrl#get_path} otherwise.
|
|
171
|
-
#
|
|
172
|
-
# <div class="wxrb-remark">
|
|
173
|
-
# <b>Remark:</b>
|
|
174
|
-
# <p>paths is emptied first.
|
|
175
|
-
# </p>
|
|
176
|
-
# </div>
|
|
177
|
-
# @return [Array<String>]
|
|
178
|
-
def get_paths; end
|
|
179
|
-
alias_method :paths, :get_paths
|
|
180
|
-
|
|
181
|
-
# Returns the current wildcard.
|
|
182
|
-
# @return [String]
|
|
183
|
-
def get_wildcard; end
|
|
184
|
-
alias_method :wildcard, :get_wildcard
|
|
185
|
-
|
|
186
|
-
# Sets(changes) the current directory displayed in the control.
|
|
187
|
-
#
|
|
188
|
-
# Returns true on success, false otherwise.
|
|
189
|
-
# @param directory [String]
|
|
190
|
-
# @return [Boolean]
|
|
191
|
-
def set_directory(directory) end
|
|
192
|
-
alias_method :directory=, :set_directory
|
|
193
|
-
|
|
194
|
-
# Selects a certain file.
|
|
195
|
-
#
|
|
196
|
-
# Returns true on success, false otherwise
|
|
197
|
-
# @param filename [String]
|
|
198
|
-
# @return [Boolean]
|
|
199
|
-
def set_filename(filename) end
|
|
200
|
-
alias_method :filename=, :set_filename
|
|
201
|
-
|
|
202
|
-
# Changes to a certain directory and selects a certain file.
|
|
203
|
-
#
|
|
204
|
-
# If path includes the directory part, it must exist, otherwise false is returned and nothing else is done.
|
|
205
|
-
# Returns true on success, false otherwise
|
|
206
|
-
# @param path [String]
|
|
207
|
-
# @return [Boolean]
|
|
208
|
-
def set_path(path) end
|
|
209
|
-
alias_method :path=, :set_path
|
|
210
|
-
|
|
211
|
-
# Sets the current filter index, starting from zero.
|
|
212
|
-
# @param filterIndex [Integer]
|
|
213
|
-
# @return [void]
|
|
214
|
-
def set_filter_index(filterIndex) end
|
|
215
|
-
alias_method :filter_index=, :set_filter_index
|
|
216
|
-
|
|
217
|
-
# Sets the wildcard, which can contain multiple file types, for example: "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif".
|
|
218
|
-
# @param wildCard [String]
|
|
219
|
-
# @return [void]
|
|
220
|
-
def set_wildcard(wildCard) end
|
|
221
|
-
alias_method :wildcard=, :set_wildcard
|
|
222
|
-
|
|
223
|
-
# Sets whether hidden files and folders are shown or not.
|
|
224
|
-
# @param show [Boolean]
|
|
225
|
-
# @return [void]
|
|
226
|
-
def show_hidden(show) end
|
|
227
|
-
|
|
228
|
-
end # FileCtrl
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
end
|