wxruby3 0.9.0.pre.rc.1-x64-mingw-ucrt → 0.9.0.pre.rc.3-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/INSTALL.md +73 -22
- data/README.md +40 -8
- data/assets/hello_button-macos.png +0 -0
- data/assets/hello_button-msw.png +0 -0
- data/assets/hello_button_clicked-macos.png +0 -0
- data/assets/hello_button_clicked-msw.png +0 -0
- data/assets/hello_button_clicked_combi.png +0 -0
- data/assets/hello_world-macos.png +0 -0
- data/assets/hello_world-msw.png +0 -0
- data/assets/hello_world_combi.png +0 -0
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/core/brush.rb +6 -0
- data/lib/wx/core/event_loop.rb +7 -0
- data/lib/wx/core/events/evt_list.rb +7 -0
- data/lib/wx/core/evthandler.rb +12 -2
- data/lib/wx/core/font.rb +22 -14
- data/lib/wx/core/helpprovider.rb +2 -2
- data/lib/wx/core/image.rb +33 -0
- data/lib/wx/core/listctrl.rb +17 -13
- data/lib/wx/core/log.rb +90 -0
- data/lib/wx/core/menu.rb +5 -0
- data/lib/wx/core/pen.rb +6 -0
- data/lib/wx/core/window.rb +28 -1
- data/lib/wx/doc/app.rb +40 -0
- data/lib/wx/doc/bitmap.rb +11 -15
- data/lib/wx/doc/brush.rb +17 -0
- data/lib/wx/doc/event_loop.rb +7 -0
- data/lib/wx/doc/extra/00_starting.md +6 -6
- data/lib/wx/doc/extra/02_lifecycles.md +9 -8
- data/lib/wx/doc/extra/09_exceptions.md +1 -1
- data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
- data/lib/wx/doc/font.rb +27 -0
- data/lib/wx/doc/functions.rb +51 -23
- data/lib/wx/doc/gc_dc.rb +1 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
- data/lib/wx/doc/gen/accelerator.rb +6 -6
- data/lib/wx/doc/gen/accessible.rb +6 -2
- data/lib/wx/doc/gen/activity_indicator.rb +65 -0
- data/lib/wx/doc/gen/animation.rb +7 -7
- data/lib/wx/doc/gen/animation_ctrl.rb +7 -6
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/app.rb +17 -11
- data/lib/wx/doc/gen/art_provider.rb +61 -1
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +12 -12
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_manager.rb +45 -27
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +12 -6
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +10 -10
- data/lib/wx/doc/gen/aui/aui_notebook.rb +34 -7
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +17 -2
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +51 -51
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +35 -20
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +16 -16
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +4 -4
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +4 -4
- data/lib/wx/doc/gen/bitmap.rb +32 -26
- data/lib/wx/doc/gen/bitmap_button.rb +10 -6
- data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -7
- data/lib/wx/doc/gen/book_ctrl_base.rb +7 -3
- data/lib/wx/doc/gen/book_ctrl_event.rb +2 -2
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +16 -4
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +19 -7
- data/lib/wx/doc/gen/calculate_layout_event.rb +2 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +28 -16
- data/lib/wx/doc/gen/calendar_date_attr.rb +2 -2
- data/lib/wx/doc/gen/calendar_event.rb +3 -3
- data/lib/wx/doc/gen/caret.rb +2 -2
- data/lib/wx/doc/gen/check_box.rb +10 -6
- data/lib/wx/doc/gen/check_list_box.rb +8 -7
- data/lib/wx/doc/gen/choice.rb +7 -6
- data/lib/wx/doc/gen/choicebook.rb +12 -6
- data/lib/wx/doc/gen/client_dc.rb +1 -1
- data/lib/wx/doc/gen/clipboard.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane.rb +9 -6
- data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -1
- data/lib/wx/doc/gen/colour.rb +16 -6
- data/lib/wx/doc/gen/colour_dialog.rb +6 -6
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +15 -9
- data/lib/wx/doc/gen/colour_picker_event.rb +7 -4
- data/lib/wx/doc/gen/combo_box.rb +22 -13
- data/lib/wx/doc/gen/context_help_button.rb +50 -1
- data/lib/wx/doc/gen/control.rb +9 -6
- data/lib/wx/doc/gen/core.rb +5 -2
- data/lib/wx/doc/gen/cursor.rb +16 -11
- data/lib/wx/doc/gen/data_format.rb +2 -2
- data/lib/wx/doc/gen/data_object.rb +23 -16
- data/lib/wx/doc/gen/date_event.rb +3 -3
- data/lib/wx/doc/gen/date_picker_ctrl.rb +11 -6
- data/lib/wx/doc/gen/dc.rb +37 -12
- data/lib/wx/doc/gen/defs.rb +16 -16
- data/lib/wx/doc/gen/dialog.rb +19 -5
- data/lib/wx/doc/gen/dir_dialog.rb +6 -2
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +14 -9
- data/lib/wx/doc/gen/drag_drop.rb +15 -15
- data/lib/wx/doc/gen/drag_image.rb +6 -6
- data/lib/wx/doc/gen/editable_list_box.rb +7 -3
- data/lib/wx/doc/gen/event.rb +44 -13
- data/lib/wx/doc/gen/event_blocker.rb +19 -17
- data/lib/wx/doc/gen/event_filter.rb +43 -47
- data/lib/wx/doc/gen/event_list.rb +22 -15
- data/lib/wx/doc/gen/events.rb +215 -79
- data/lib/wx/doc/gen/evt_handler.rb +1 -1
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_dialog.rb +64 -56
- data/lib/wx/doc/gen/file_dir_picker_event.rb +5 -3
- data/lib/wx/doc/gen/file_picker_ctrl.rb +16 -8
- data/lib/wx/doc/gen/find_dialog_event.rb +7 -2
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +12 -6
- data/lib/wx/doc/gen/font.rb +39 -29
- data/lib/wx/doc/gen/font_data.rb +9 -5
- data/lib/wx/doc/gen/font_dialog.rb +3 -3
- data/lib/wx/doc/gen/font_picker_ctrl.rb +10 -6
- data/lib/wx/doc/gen/font_picker_event.rb +2 -1
- data/lib/wx/doc/gen/frame.rb +34 -11
- data/lib/wx/doc/gen/fs_file.rb +4 -17
- data/lib/wx/doc/gen/gauge.rb +11 -7
- data/lib/wx/doc/gen/gcdc.rb +5 -1
- data/lib/wx/doc/gen/gdi_common.rb +35 -33
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +13 -7
- data/lib/wx/doc/gen/graphics_context.rb +29 -28
- data/lib/wx/doc/gen/graphics_object.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +10 -10
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +13 -10
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +12 -12
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +32 -18
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +5 -3
- data/lib/wx/doc/gen/grid/grid_event.rb +20 -3
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +7 -3
- data/lib/wx/doc/gen/grid/grid_size_event.rb +9 -3
- data/lib/wx/doc/gen/grid/grid_string_table.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_table_base.rb +7 -7
- data/lib/wx/doc/gen/grid/grid_table_message.rb +5 -5
- data/lib/wx/doc/gen/grid_bag_sizer.rb +5 -5
- data/lib/wx/doc/gen/grid_sizer.rb +4 -4
- data/lib/wx/doc/gen/gui_event_loop.rb +132 -0
- data/lib/wx/doc/gen/help_controller.rb +18 -12
- data/lib/wx/doc/gen/html/html_cell.rb +36 -18
- data/lib/wx/doc/gen/html/html_cell_event.rb +5 -3
- data/lib/wx/doc/gen/html/html_easy_printing.rb +9 -4
- data/lib/wx/doc/gen/html/html_help_controller.rb +34 -8
- data/lib/wx/doc/gen/html/html_help_data.rb +3 -3
- data/lib/wx/doc/gen/html/html_help_frame.rb +6 -6
- data/lib/wx/doc/gen/html/html_help_window.rb +12 -8
- data/lib/wx/doc/gen/html/html_link_event.rb +4 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +15 -7
- data/lib/wx/doc/gen/html/html_printout.rb +15 -5
- data/lib/wx/doc/gen/html/html_window.rb +19 -8
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +152 -0
- data/lib/wx/doc/gen/hyperlink_event.rb +44 -0
- data/lib/wx/doc/gen/icon.rb +14 -14
- data/lib/wx/doc/gen/image.rb +119 -64
- data/lib/wx/doc/gen/image_list.rb +10 -6
- data/lib/wx/doc/gen/keyboard_state.rb +7 -7
- data/lib/wx/doc/gen/list_box.rb +30 -21
- data/lib/wx/doc/gen/list_ctrl.rb +169 -78
- data/lib/wx/doc/gen/list_event.rb +24 -2
- data/lib/wx/doc/gen/listbook.rb +12 -6
- data/lib/wx/doc/gen/locale.rb +11 -36
- data/lib/wx/doc/gen/log.rb +122 -45
- data/lib/wx/doc/gen/mdi_client_window.rb +2 -2
- data/lib/wx/doc/gen/mdi_frame.rb +15 -9
- data/lib/wx/doc/gen/media_ctrl.rb +7 -4
- data/lib/wx/doc/gen/media_event.rb +8 -2
- data/lib/wx/doc/gen/memory_dc.rb +23 -27
- data/lib/wx/doc/gen/menu.rb +9 -9
- data/lib/wx/doc/gen/menu_bar.rb +4 -10
- data/lib/wx/doc/gen/menu_item.rb +115 -34
- data/lib/wx/doc/gen/message_dialog.rb +48 -30
- data/lib/wx/doc/gen/mini_frame.rb +12 -3
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +4 -2
- data/lib/wx/doc/gen/non_owned_window.rb +6 -7
- data/lib/wx/doc/gen/notebook.rb +20 -15
- data/lib/wx/doc/gen/number_entry_dialog.rb +2 -2
- data/lib/wx/doc/gen/object.rb +2 -2
- data/lib/wx/doc/gen/palette.rb +3 -3
- data/lib/wx/doc/gen/panel.rb +4 -3
- data/lib/wx/doc/gen/pen.rb +25 -12
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +1 -1
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +3 -3
- data/lib/wx/doc/gen/pg/pg_cell.rb +12 -12
- data/lib/wx/doc/gen/pg/pg_editor.rb +76 -74
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +3 -3
- data/lib/wx/doc/gen/pg/pg_properties.rb +221 -138
- data/lib/wx/doc/gen/pg/pg_property.rb +103 -54
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +1 -1
- data/lib/wx/doc/gen/pg/property_grid.rb +19 -19
- data/lib/wx/doc/gen/pg/property_grid_event.rb +18 -5
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +36 -24
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +12 -12
- data/lib/wx/doc/gen/pg/property_grid_page.rb +12 -11
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +8 -8
- data/lib/wx/doc/gen/picker_base.rb +12 -11
- data/lib/wx/doc/gen/platform_info.rb +7 -7
- data/lib/wx/doc/gen/popup_window.rb +6 -6
- data/lib/wx/doc/gen/progress_dialog.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +19 -17
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +4 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/print_data.rb +24 -18
- data/lib/wx/doc/gen/prt/print_dialog.rb +4 -4
- data/lib/wx/doc/gen/prt/printer.rb +22 -22
- data/lib/wx/doc/gen/query_layout_info_event.rb +2 -1
- data/lib/wx/doc/gen/radio_box.rb +12 -18
- data/lib/wx/doc/gen/radio_button.rb +8 -6
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +39 -39
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +25 -7
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +9 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +4 -4
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +6 -2
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -6
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +4 -2
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +5 -5
- data/lib/wx/doc/gen/region.rb +9 -8
- data/lib/wx/doc/gen/region_iterator.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +92 -92
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +56 -34
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +23 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +6 -6
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +9 -5
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +6 -2
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +12 -12
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
- data/lib/wx/doc/gen/sash_event.rb +3 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +5 -3
- data/lib/wx/doc/gen/sash_window.rb +8 -3
- data/lib/wx/doc/gen/scroll_bar.rb +29 -8
- data/lib/wx/doc/gen/scrolled_canvas.rb +41 -23
- data/lib/wx/doc/gen/scrolled_control.rb +41 -23
- data/lib/wx/doc/gen/scrolled_window.rb +41 -23
- data/lib/wx/doc/gen/search_ctrl.rb +15 -8
- data/lib/wx/doc/gen/simplebook.rb +2 -2
- data/lib/wx/doc/gen/single_choice_dialog.rb +4 -2
- data/lib/wx/doc/gen/sizer.rb +29 -28
- data/lib/wx/doc/gen/slider.rb +49 -16
- data/lib/wx/doc/gen/spin_button.rb +15 -9
- data/lib/wx/doc/gen/spin_ctrl.rb +12 -6
- data/lib/wx/doc/gen/spin_event.rb +5 -2
- data/lib/wx/doc/gen/splash_screen.rb +16 -12
- data/lib/wx/doc/gen/splitter_event.rb +6 -2
- data/lib/wx/doc/gen/splitter_window.rb +20 -4
- data/lib/wx/doc/gen/static_bitmap.rb +5 -5
- data/lib/wx/doc/gen/static_box.rb +36 -32
- data/lib/wx/doc/gen/static_box_sizer.rb +13 -10
- data/lib/wx/doc/gen/static_line.rb +5 -4
- data/lib/wx/doc/gen/static_text.rb +12 -6
- data/lib/wx/doc/gen/status_bar.rb +14 -5
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +55 -7
- data/lib/wx/doc/gen/stc/styled_text_event.rb +224 -49
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +11 -2
- data/lib/wx/doc/gen/svg_file_dc.rb +3 -3
- data/lib/wx/doc/gen/system_options.rb +11 -1
- data/lib/wx/doc/gen/system_settings.rb +3 -3
- data/lib/wx/doc/gen/task_bar_icon.rb +10 -2
- data/lib/wx/doc/gen/task_bar_icon_event.rb +3 -3
- data/lib/wx/doc/gen/text_attr.rb +11 -7
- data/lib/wx/doc/gen/text_ctrl.rb +61 -92
- data/lib/wx/doc/gen/text_entry.rb +28 -40
- data/lib/wx/doc/gen/text_entry_dialog.rb +19 -19
- data/lib/wx/doc/gen/text_validator.rb +0 -11
- data/lib/wx/doc/gen/time_picker_ctrl.rb +6 -5
- data/lib/wx/doc/gen/timer.rb +8 -4
- data/lib/wx/doc/gen/timer_event.rb +19 -26
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +6 -5
- data/lib/wx/doc/gen/tool_bar.rb +41 -24
- data/lib/wx/doc/gen/tool_tip.rb +2 -2
- data/lib/wx/doc/gen/toolbook.rb +6 -3
- data/lib/wx/doc/gen/top_level_window.rb +35 -25
- data/lib/wx/doc/gen/tree_ctrl.rb +63 -13
- data/lib/wx/doc/gen/tree_event.rb +23 -2
- data/lib/wx/doc/gen/treebook.rb +6 -2
- data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
- data/lib/wx/doc/gen/utils.rb +9 -3
- data/lib/wx/doc/gen/v_list_box.rb +2 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
- data/lib/wx/doc/gen/validator.rb +7 -5
- data/lib/wx/doc/gen/variant.rb +34 -97
- data/lib/wx/doc/gen/window.rb +157 -102
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +17 -4
- data/lib/wx/doc/gen/wizard_event.rb +9 -2
- data/lib/wx/doc/gen/wizard_page.rb +1 -1
- data/lib/wx/doc/gen/wizard_page_simple.rb +7 -7
- data/lib/wx/doc/gen/xml_node.rb +3 -3
- data/lib/wx/doc/gen/xml_resource.rb +12 -9
- data/lib/wx/doc/image.rb +42 -12
- data/lib/wx/doc/list_ctrl.rb +32 -0
- data/lib/wx/doc/log.rb +28 -0
- data/lib/wx/doc/pen.rb +17 -0
- data/lib/wx/doc/prt/printer_dc.rb +2 -2
- data/lib/wx/doc/radio_box.rb +20 -0
- data/lib/wx/doc/scaled_dc.rb +1 -1
- data/lib/wx/doc/text_validator.rb +12 -0
- data/lib/wx/doc/window.rb +27 -0
- data/lib/wx/keyword_defs.rb +77 -76
- data/lib/wx/prt/keyword_defs.rb +5 -1
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/install.rb +17 -6
- data/rakelib/lib/config/linux.rb +4 -2
- data/rakelib/lib/config/macosx.rb +120 -1
- data/rakelib/lib/config/mingw.rb +6 -1
- data/rakelib/lib/config/unixish.rb +26 -11
- data/rakelib/lib/config.rb +15 -6
- data/samples/aui/aui.rb +432 -363
- data/samples/propgrid/propgrid.rb +3 -0
- data/samples/sampler/editor.rb +33 -25
- data/samples/sampler/sample.rb +2 -2
- data/samples/sampler/stc_editor.rb +4 -2
- data/tests/lib/item_container_tests.rb +82 -0
- data/tests/lib/text_entry_tests.rb +80 -0
- data/tests/lib/wxapp_runner.rb +12 -0
- data/tests/lib/wxframe_runner.rb +89 -4
- data/tests/test_art.rb +9 -0
- data/tests/test_box_sizer.rb +161 -0
- data/tests/test_ext_controls.rb +28 -0
- data/tests/test_font.rb +239 -0
- data/tests/test_grid_sizer.rb +148 -0
- data/tests/test_intl.rb +5 -1
- data/tests/test_list_ctrl.rb +53 -0
- data/tests/test_log.rb +163 -0
- data/tests/test_std_controls.rb +321 -37
- data/tests/test_timer.rb +95 -0
- data/tests/test_window.rb +340 -0
- metadata +36 -2
@@ -6797,39 +6797,73 @@ module Wx::STC
|
|
6797
6797
|
#
|
6798
6798
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::STC::StyledTextEvent} events.
|
6799
6799
|
# Event handler methods:
|
6800
|
+
#
|
6800
6801
|
# - {Wx::EvtHandler#evt_stc_autocomp_cancelled}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_AUTOCOMP_CANCELLED} event.
|
6802
|
+
#
|
6801
6803
|
# - {Wx::EvtHandler#evt_stc_autocomp_char_deleted}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_AUTOCOMP_CHAR_DELETED} event.
|
6804
|
+
#
|
6802
6805
|
# - {Wx::EvtHandler#evt_stc_autocomp_completed}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_AUTOCOMP_COMPLETED} event.
|
6806
|
+
#
|
6803
6807
|
# - {Wx::EvtHandler#evt_stc_autocomp_selection}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_AUTOCOMP_SELECTION} event.
|
6808
|
+
#
|
6804
6809
|
# - {Wx::EvtHandler#evt_stc_autocomp_selection_change}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_AUTOCOMP_SELECTION_CHANGE} event.
|
6810
|
+
#
|
6805
6811
|
# - {Wx::EvtHandler#evt_stc_calltip_click}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_CALLTIP_CLICK} event.
|
6812
|
+
#
|
6806
6813
|
# - {Wx::EvtHandler#evt_stc_change}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_CHANGE} event.
|
6814
|
+
#
|
6807
6815
|
# - {Wx::EvtHandler#evt_stc_charadded}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_CHARADDED} event.
|
6816
|
+
#
|
6808
6817
|
# - {Wx::EvtHandler#evt_stc_clipboard_copy}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_CLIPBOARD_COPY} event.
|
6818
|
+
#
|
6809
6819
|
# - {Wx::EvtHandler#evt_stc_clipboard_paste}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_CLIPBOARD_PASTE} event.
|
6820
|
+
#
|
6810
6821
|
# - {Wx::EvtHandler#evt_stc_do_drop}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_DO_DROP} event.
|
6822
|
+
#
|
6811
6823
|
# - {Wx::EvtHandler#evt_stc_doubleclick}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_DOUBLECLICK} event.
|
6824
|
+
#
|
6812
6825
|
# - {Wx::EvtHandler#evt_stc_drag_over}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_DRAG_OVER} event.
|
6826
|
+
#
|
6813
6827
|
# - {Wx::EvtHandler#evt_stc_dwellend}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_DWELLEND} event.
|
6828
|
+
#
|
6814
6829
|
# - {Wx::EvtHandler#evt_stc_dwellstart}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_DWELLSTART} event.
|
6830
|
+
#
|
6815
6831
|
# - {Wx::EvtHandler#evt_stc_hotspot_click}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_HOTSPOT_CLICK} event.
|
6832
|
+
#
|
6816
6833
|
# - {Wx::EvtHandler#evt_stc_hotspot_dclick}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_HOTSPOT_DCLICK} event.
|
6834
|
+
#
|
6817
6835
|
# - {Wx::EvtHandler#evt_stc_hotspot_release_click}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_HOTSPOT_RELEASE_CLICK} event.
|
6836
|
+
#
|
6818
6837
|
# - {Wx::EvtHandler#evt_stc_indicator_click}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_INDICATOR_CLICK} event.
|
6838
|
+
#
|
6819
6839
|
# - {Wx::EvtHandler#evt_stc_indicator_release}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_INDICATOR_RELEASE} event.
|
6840
|
+
#
|
6820
6841
|
# - {Wx::EvtHandler#evt_stc_macrorecord}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_MACRORECORD} event.
|
6842
|
+
#
|
6821
6843
|
# - {Wx::EvtHandler#evt_stc_margin_right_click}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_MARGIN_RIGHT_CLICK} event.
|
6844
|
+
#
|
6822
6845
|
# - {Wx::EvtHandler#evt_stc_marginclick}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_MARGINCLICK} event.
|
6846
|
+
#
|
6823
6847
|
# - {Wx::EvtHandler#evt_stc_modified}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_MODIFIED} event.
|
6848
|
+
#
|
6824
6849
|
# - {Wx::EvtHandler#evt_stc_needshown}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_NEEDSHOWN} event.
|
6850
|
+
#
|
6825
6851
|
# - {Wx::EvtHandler#evt_stc_painted}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_PAINTED} event.
|
6852
|
+
#
|
6826
6853
|
# - {Wx::EvtHandler#evt_stc_romodifyattempt}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_ROMODIFYATTEMPT} event.
|
6854
|
+
#
|
6827
6855
|
# - {Wx::EvtHandler#evt_stc_savepointleft}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_SAVEPOINTLEFT} event.
|
6856
|
+
#
|
6828
6857
|
# - {Wx::EvtHandler#evt_stc_savepointreached}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_SAVEPOINTREACHED} event.
|
6858
|
+
#
|
6829
6859
|
# - {Wx::EvtHandler#evt_stc_start_drag}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_START_DRAG} event.
|
6860
|
+
#
|
6830
6861
|
# - {Wx::EvtHandler#evt_stc_styleneeded}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_STYLENEEDED} event.
|
6862
|
+
#
|
6831
6863
|
# - {Wx::EvtHandler#evt_stc_updateui}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_UPDATEUI} event.
|
6864
|
+
#
|
6832
6865
|
# - {Wx::EvtHandler#evt_stc_userlistselection}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_USERLISTSELECTION} event.
|
6866
|
+
#
|
6833
6867
|
# - {Wx::EvtHandler#evt_stc_zoom}(id, meth = nil, &block): Process a {Wx::STC::EVT_STC_ZOOM} event.
|
6834
6868
|
#
|
6835
6869
|
# Most of the Scintilla notifications are mapped to a similarly named {Wx::STC::StyledTextEvent}. However a few of the notifications would only offer information available in other wxWidgets event types, and in those cases a corresponding {Wx::STC::StyledTextEvent} is not defined. Currently, the {Wx::EVT_KEY_DOWN} event is used instead of the SCN_KEY notification. The regular wxWidgets drag and drop functionality can be used instead of the SCN_URIDROPPED notification. The {Wx::EVT_SET_FOCUS} event is used instead of the SCN_FOCUSIN notification. And the {Wx::EVT_KILL_FOCUS} event is used instead of the SCN_FOCUSOUT notification.
|
@@ -6839,139 +6873,188 @@ module Wx::STC
|
|
6839
6873
|
# The following is a brief description of when the control generates these events and a list of which methods provide relevant information. Additional details can be found in the Scintilla documentation (http://www.scintilla.org/ScintillaDoc.html#Notifications).
|
6840
6874
|
# {Wx::STC::EVT_STC_AUTOCOMP_CANCELLED}
|
6841
6875
|
#
|
6842
|
-
# - Generated when an autocompletion list has been canceled
|
6876
|
+
# - Generated when an autocompletion list has been canceled.
|
6877
|
+
# - Valid event functions: none.
|
6843
6878
|
#
|
6844
6879
|
# {Wx::STC::EVT_STC_AUTOCOMP_CHAR_DELETED}
|
6845
6880
|
#
|
6846
|
-
# - Generated when a character has been deleted from an autocompletion list
|
6881
|
+
# - Generated when a character has been deleted from an autocompletion list.
|
6882
|
+
# - Valid event functions: none.
|
6847
6883
|
#
|
6848
6884
|
# {Wx::STC::EVT_STC_AUTOCOMP_COMPLETED}
|
6849
6885
|
#
|
6850
|
-
# - Generated after an autocompletion list has closed and inserted its text into the control
|
6886
|
+
# - Generated after an autocompletion list has closed and inserted its text into the control.
|
6887
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_key}, {Wx::STC::StyledTextEvent#get_position}, {Wx::GetString}, {Wx::STC::StyledTextEvent#get_list_completion_method}.
|
6851
6888
|
#
|
6852
6889
|
# {Wx::STC::EVT_STC_AUTOCOMP_SELECTION}
|
6853
6890
|
#
|
6854
|
-
# - Generated when an entry has been selected in an autocompletion list but before the text has been inserted
|
6891
|
+
# - Generated when an entry has been selected in an autocompletion list but before the text has been inserted.
|
6892
|
+
# - To prevent the insertion, call {Wx::STC::StyledTextCtrl#auto_comp_cancel} in the event handler.
|
6893
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_key}, {Wx::STC::StyledTextEvent#get_position}, {Wx::GetString}, {Wx::STC::StyledTextEvent#get_list_completion_method}.
|
6855
6894
|
#
|
6856
6895
|
# {Wx::STC::EVT_STC_AUTOCOMP_SELECTION_CHANGE}
|
6857
6896
|
#
|
6858
|
-
# - Generated when items are highlighted in an autocompletion or user list
|
6897
|
+
# - Generated when items are highlighted in an autocompletion or user list.
|
6898
|
+
# - {Wx::STC::StyledTextEvent#get_position} will return the position at which the list is being shown.
|
6899
|
+
# - For a user list, {Wx::STC::StyledTextEvent#get_list_type} will return the list type. The list type is a value input in to the {Wx::STC::StyledTextCtrl#user_list_show} method when a user list is created.
|
6900
|
+
# - For an autocompletion list, {Wx::STC::StyledTextEvent#get_list_type} will always return zero.
|
6901
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_list_type}, {Wx::STC::StyledTextEvent#get_position}, {Wx::GetString}.
|
6859
6902
|
#
|
6860
6903
|
# {Wx::STC::EVT_STC_CALLTIP_CLICK}
|
6861
6904
|
#
|
6862
|
-
# - Generated when a calltip has been clicked
|
6905
|
+
# - Generated when a calltip has been clicked.
|
6906
|
+
# - {Wx::STC::StyledTextEvent#get_position} will return 1 if the up arrow has been clicked, 2 if the down arrow has been clicked, and 0 for all other clicks.
|
6907
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_position}.
|
6863
6908
|
#
|
6864
6909
|
# {Wx::STC::EVT_STC_CHANGE}
|
6865
6910
|
#
|
6866
|
-
# - Generated when the text of the document has changed
|
6911
|
+
# - Generated when the text of the document has changed.
|
6912
|
+
# - This an older style event and should probably not be used in new code. Use {Wx::STC::EVT_STC_MODIFIED} instead.
|
6913
|
+
# - Valid event functions: none.
|
6867
6914
|
#
|
6868
6915
|
# {Wx::STC::EVT_STC_CHARADDED}
|
6869
6916
|
#
|
6870
|
-
# - Generated when a character has been added to the control
|
6917
|
+
# - Generated when a character has been added to the control.
|
6918
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_key}.
|
6871
6919
|
#
|
6872
6920
|
# {Wx::STC::EVT_STC_CLIPBOARD_COPY}
|
6873
6921
|
#
|
6874
|
-
# - Generated when text is being cut or copied to the clipboard
|
6922
|
+
# - Generated when text is being cut or copied to the clipboard.
|
6923
|
+
# - Use {Wx::STC::StyledTextEvent#set_string} to modify the text that will be placed on the clipboard.
|
6924
|
+
# - Valid event functions: {Wx::GetString}, {Wx::SetString}.
|
6875
6925
|
#
|
6876
6926
|
# {Wx::STC::EVT_STC_CLIPBOARD_PASTE}
|
6877
6927
|
#
|
6878
|
-
# - Generated when text is being pasted from the clipboard
|
6928
|
+
# - Generated when text is being pasted from the clipboard.
|
6929
|
+
# - Use {Wx::STC::StyledTextEvent#set_string} to modify the text that will be inserted into the control.
|
6930
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_position}, {Wx::GetString}, {Wx::SetString}.
|
6879
6931
|
#
|
6880
6932
|
# {Wx::STC::EVT_STC_DO_DROP}
|
6881
6933
|
#
|
6882
|
-
# - Generated when text is being dropped into the control
|
6934
|
+
# - Generated when text is being dropped into the control.
|
6935
|
+
# - Details of the drag may be altered by changing the respective fields of the event.
|
6936
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_drag_result}, {Wx::STC::StyledTextEvent#set_drag_result}, {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#set_position}, {Wx::GetString}, {Wx::SetString}, {Wx::STC::StyledTextEvent#get_x}, {Wx::STC::StyledTextEvent#get_y}.
|
6883
6937
|
#
|
6884
6938
|
# {Wx::STC::EVT_STC_DOUBLECLICK}
|
6885
6939
|
#
|
6886
|
-
# - Generated when the control has been double-clicked
|
6940
|
+
# - Generated when the control has been double-clicked.
|
6941
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_line}, {Wx::STC::StyledTextEvent#get_modifiers}, {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_alt}, {Wx::STC::StyledTextEvent#get_control}, {Wx::STC::StyledTextEvent#get_shift}.
|
6887
6942
|
#
|
6888
6943
|
# {Wx::STC::EVT_STC_DRAG_OVER}
|
6889
6944
|
#
|
6890
|
-
# - Generated repeatedly as text is being dragged inside the control
|
6945
|
+
# - Generated repeatedly as text is being dragged inside the control.
|
6946
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_drag_result}, {Wx::STC::StyledTextEvent#set_drag_result}, {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_x}, {Wx::STC::StyledTextEvent#get_y}.
|
6891
6947
|
#
|
6892
6948
|
# {Wx::STC::EVT_STC_DWELLEND}
|
6893
6949
|
#
|
6894
|
-
# - Generated when the mouse has been moved after a {Wx::STC::EVT_STC_DWELLSTART} event
|
6950
|
+
# - Generated when the mouse has been moved after a {Wx::STC::EVT_STC_DWELLSTART} event.
|
6951
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_x}, {Wx::STC::StyledTextEvent#get_y}.
|
6895
6952
|
#
|
6896
6953
|
# {Wx::STC::EVT_STC_DWELLSTART}
|
6897
6954
|
#
|
6898
|
-
# - Generated when the mouse has remained still for a certain amount of time
|
6955
|
+
# - Generated when the mouse has remained still for a certain amount of time.
|
6956
|
+
# - The amount of time can be specified with {Wx::STC::StyledTextCtrl#set_mouse_dwell_time}.
|
6957
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_x}, {Wx::STC::StyledTextEvent#get_y}.
|
6899
6958
|
#
|
6900
6959
|
# {Wx::STC::EVT_STC_HOTSPOT_CLICK}
|
6901
6960
|
#
|
6902
|
-
# - Generated when a hotspot has been clicked
|
6961
|
+
# - Generated when a hotspot has been clicked.
|
6962
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_modifiers}, {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_alt}, {Wx::STC::StyledTextEvent#get_control}, {Wx::STC::StyledTextEvent#get_shift}.
|
6903
6963
|
#
|
6904
6964
|
# {Wx::STC::EVT_STC_HOTSPOT_DCLICK}
|
6905
6965
|
#
|
6906
|
-
# - Generated when a hotspot has been double-clicked
|
6966
|
+
# - Generated when a hotspot has been double-clicked.
|
6967
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_modifiers}, {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_alt}, {Wx::STC::StyledTextEvent#get_control}, {Wx::STC::StyledTextEvent#get_shift}.
|
6907
6968
|
#
|
6908
6969
|
# {Wx::STC::EVT_STC_HOTSPOT_RELEASE_CLICK}
|
6909
6970
|
#
|
6910
|
-
# - Generated when a click-over hotspot has been released
|
6971
|
+
# - Generated when a click-over hotspot has been released.
|
6972
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_modifiers}, {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_alt}, {Wx::STC::StyledTextEvent#get_control}, {Wx::STC::StyledTextEvent#get_shift}.
|
6911
6973
|
#
|
6912
6974
|
# {Wx::STC::EVT_STC_INDICATOR_CLICK}
|
6913
6975
|
#
|
6914
|
-
# - Generated when an indicator has been clicked
|
6976
|
+
# - Generated when an indicator has been clicked.
|
6977
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_modifiers}, {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_alt}, {Wx::STC::StyledTextEvent#get_control}, {Wx::STC::StyledTextEvent#get_shift}.
|
6915
6978
|
#
|
6916
6979
|
# {Wx::STC::EVT_STC_INDICATOR_RELEASE}
|
6917
6980
|
#
|
6918
|
-
# - Generated when a click over an indicator has been released
|
6981
|
+
# - Generated when a click over an indicator has been released.
|
6982
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_modifiers}, {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_alt}, {Wx::STC::StyledTextEvent#get_control}, {Wx::STC::StyledTextEvent#get_shift}.
|
6919
6983
|
#
|
6920
6984
|
# {Wx::STC::EVT_STC_MACRORECORD}
|
6921
6985
|
#
|
6922
|
-
# - Generated while macro recording is in progress
|
6986
|
+
# - Generated while macro recording is in progress.
|
6987
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_message}, {Wx::STC::StyledTextEvent#get_l_param}, {Wx::STC::StyledTextEvent#get_w_param}.
|
6923
6988
|
#
|
6924
6989
|
# {Wx::STC::EVT_STC_MARGIN_RIGHT_CLICK}
|
6925
6990
|
#
|
6926
|
-
# - Generated when one of the margins is clicked with the right mouse button
|
6991
|
+
# - Generated when one of the margins is clicked with the right mouse button.
|
6992
|
+
# - This event is only generated if {Wx::SetMarginSensitive} has been called for one or more of the margins.
|
6993
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_margin}, {Wx::STC::StyledTextEvent#get_modifiers}, {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_alt}, {Wx::STC::StyledTextEvent#get_control}, {Wx::STC::StyledTextEvent#get_shift}.
|
6927
6994
|
#
|
6928
6995
|
# {Wx::STC::EVT_STC_MARGINCLICK}
|
6929
6996
|
#
|
6930
|
-
# - Generated when one of the margins is clicked
|
6997
|
+
# - Generated when one of the margins is clicked.
|
6998
|
+
# - This event is only generated if {Wx::SetMarginSensitive} has been called for one or more of the margins.
|
6999
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_margin}, {Wx::STC::StyledTextEvent#get_modifiers}, {Wx::STC::StyledTextEvent#get_position}, {Wx::STC::StyledTextEvent#get_alt}, {Wx::STC::StyledTextEvent#get_control}, {Wx::STC::StyledTextEvent#get_shift}.
|
6931
7000
|
#
|
6932
7001
|
# {Wx::STC::EVT_STC_MODIFIED}
|
6933
7002
|
#
|
6934
|
-
# - Generated when the contents of the control have changed or are about to change
|
7003
|
+
# - Generated when the contents of the control have changed or are about to change.
|
7004
|
+
# - You should not attempt to make any changes to the control inside a handler for this event.
|
7005
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_annotations_lines_added}, {Wx::STC::StyledTextEvent#get_fold_level_now}, {Wx::STC::StyledTextEvent#get_fold_level_prev}, {Wx::STC::StyledTextEvent#get_length}, {Wx::STC::StyledTextEvent#get_line}, {Wx::STC::StyledTextEvent#get_lines_added}, {Wx::STC::StyledTextEvent#get_modification_type}, {Wx::STC::StyledTextEvent#get_position}, {Wx::GetString}, {Wx::STC::StyledTextEvent#get_token}.
|
6935
7006
|
#
|
6936
7007
|
# {Wx::STC::EVT_STC_NEEDSHOWN}
|
6937
7008
|
#
|
6938
|
-
# - Generated when certain lines should be made visible by scrolling the text in the control
|
7009
|
+
# - Generated when certain lines should be made visible by scrolling the text in the control.
|
7010
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_length}, {Wx::STC::StyledTextEvent#get_position}.
|
6939
7011
|
#
|
6940
7012
|
# {Wx::STC::EVT_STC_PAINTED}
|
6941
7013
|
#
|
6942
|
-
# - Generated when the control has been refreshed
|
7014
|
+
# - Generated when the control has been refreshed.
|
7015
|
+
# - Valid event functions: none.
|
6943
7016
|
#
|
6944
7017
|
# {Wx::STC::EVT_STC_ROMODIFYATTEMPT}
|
6945
7018
|
#
|
6946
|
-
# - Generated when an attempt has been made to change the control's text after it has been set read-only
|
7019
|
+
# - Generated when an attempt has been made to change the control's text after it has been set read-only.
|
7020
|
+
# - Valid event functions: none.
|
6947
7021
|
#
|
6948
7022
|
# {Wx::STC::EVT_STC_SAVEPOINTREACHED}
|
6949
7023
|
#
|
6950
|
-
# - Generated when the undo history has been made empty
|
7024
|
+
# - Generated when the undo history has been made empty.
|
7025
|
+
# - Valid event functions: none.
|
6951
7026
|
#
|
6952
7027
|
# {Wx::STC::EVT_STC_SAVEPOINTLEFT}
|
6953
7028
|
#
|
6954
|
-
# - Generated when the undo history is no longer empty
|
7029
|
+
# - Generated when the undo history is no longer empty.
|
7030
|
+
# - Valid event functions: none.
|
6955
7031
|
#
|
6956
7032
|
# {Wx::STC::EVT_STC_START_DRAG}
|
6957
7033
|
#
|
6958
|
-
# - Generated when text is being dragged from the control
|
7034
|
+
# - Generated when text is being dragged from the control.
|
7035
|
+
# - Details of the drag may be altered by changing the respective fields of the event; in particular, set an empty string to prohibit the drag entirely.
|
7036
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_drag_flags}, {Wx::STC::StyledTextEvent#set_drag_flags}, {Wx::STC::StyledTextEvent#get_position}, {Wx::GetString}, {Wx::SetString}.
|
6959
7037
|
#
|
6960
7038
|
# {Wx::STC::EVT_STC_STYLENEEDED}
|
6961
7039
|
#
|
6962
|
-
# - Generated when the control has determined that style bytes should be set for a portion of the document
|
7040
|
+
# - Generated when the control has determined that style bytes should be set for a portion of the document.
|
7041
|
+
# - These events are only sent if the lexer is set to {Wx::STC::STC_LEX_CONTAINER}.
|
7042
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_position}.
|
6963
7043
|
#
|
6964
7044
|
# {Wx::STC::EVT_STC_UPDATEUI}
|
6965
7045
|
#
|
6966
|
-
# - Generated when the text, style, cursor position, selection, or scrolling of the control has changed
|
7046
|
+
# - Generated when the text, style, cursor position, selection, or scrolling of the control has changed.
|
7047
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_updated}.
|
6967
7048
|
#
|
6968
7049
|
# {Wx::STC::EVT_STC_USERLISTSELECTION}
|
6969
7050
|
#
|
6970
|
-
# - Generated when a selection has been made from a user list
|
7051
|
+
# - Generated when a selection has been made from a user list.
|
7052
|
+
# - Valid event functions: {Wx::STC::StyledTextEvent#get_list_type}, {Wx::STC::StyledTextEvent#get_position}, {Wx::GetString}, {Wx::STC::StyledTextEvent#get_key}, {Wx::STC::StyledTextEvent#get_list_completion_method}.
|
6971
7053
|
#
|
6972
7054
|
# {Wx::STC::EVT_STC_ZOOM}
|
6973
7055
|
#
|
6974
|
-
# - Generated when the zoom factor of the control has been changed either by the user or a call to {Wx::STC::StyledTextCtrl#zoom_in}/{Wx::ZoomOut}
|
7056
|
+
# - Generated when the zoom factor of the control has been changed either by the user or a call to {Wx::STC::StyledTextCtrl#zoom_in}/{Wx::ZoomOut}.
|
7057
|
+
# - Valid event functions: none.
|
6975
7058
|
#
|
6976
7059
|
# ===
|
6977
7060
|
#
|
@@ -6981,18 +7064,26 @@ module Wx::STC
|
|
6981
7064
|
|
6982
7065
|
# @overload initialize(commandType=0, id=0)
|
6983
7066
|
# Constructor.
|
6984
|
-
# @param commandType [
|
7067
|
+
# @param commandType [Wx::AUI::AuiMDIChildFrame::EventType]
|
6985
7068
|
# @param id [Integer]
|
6986
|
-
# @return [StyledTextEvent]
|
7069
|
+
# @return [Wx::STC::StyledTextEvent]
|
6987
7070
|
# @overload initialize(event)
|
6988
7071
|
# Copy constructor.
|
6989
|
-
# @param event [Wx::StyledTextEvent]
|
6990
|
-
# @return [StyledTextEvent]
|
7072
|
+
# @param event [Wx::STC::StyledTextEvent]
|
7073
|
+
# @return [Wx::STC::StyledTextEvent]
|
6991
7074
|
def initialize(*args) end
|
6992
7075
|
|
6993
7076
|
# Returns true if the Alt key is pressed.
|
6994
7077
|
# This method is valid for the following event types:
|
6995
|
-
#
|
7078
|
+
#
|
7079
|
+
# - {Wx::STC::EVT_STC_DOUBLECLICK}
|
7080
|
+
# - {Wx::STC::EVT_STC_MARGINCLICK}
|
7081
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_CLICK}
|
7082
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_DCLICK}
|
7083
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_RELEASE_CLICK}
|
7084
|
+
# - {Wx::STC::EVT_STC_INDICATOR_CLICK}
|
7085
|
+
# - {Wx::STC::EVT_STC_INDICATOR_RELEASE}
|
7086
|
+
# - {Wx::STC::EVT_STC_MARGIN_RIGHT_CLICK}
|
6996
7087
|
# @return [true,false]
|
6997
7088
|
def get_alt; end
|
6998
7089
|
alias_method :alt, :get_alt
|
@@ -7005,7 +7096,15 @@ module Wx::STC
|
|
7005
7096
|
|
7006
7097
|
# Returns true if the Control key is pressed.
|
7007
7098
|
# This method is valid for the following event types:
|
7008
|
-
#
|
7099
|
+
#
|
7100
|
+
# - {Wx::STC::EVT_STC_DOUBLECLICK}
|
7101
|
+
# - {Wx::STC::EVT_STC_MARGINCLICK}
|
7102
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_CLICK}
|
7103
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_DCLICK}
|
7104
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_RELEASE_CLICK}
|
7105
|
+
# - {Wx::STC::EVT_STC_INDICATOR_CLICK}
|
7106
|
+
# - {Wx::STC::EVT_STC_INDICATOR_RELEASE}
|
7107
|
+
# - {Wx::STC::EVT_STC_MARGIN_RIGHT_CLICK}
|
7009
7108
|
# @return [true,false]
|
7010
7109
|
def get_control; end
|
7011
7110
|
alias_method :control, :get_control
|
@@ -7036,7 +7135,11 @@ module Wx::STC
|
|
7036
7135
|
|
7037
7136
|
# Returns the key code of the key that generated this event.
|
7038
7137
|
# This method is valid for the following event types:
|
7039
|
-
#
|
7138
|
+
#
|
7139
|
+
# - {Wx::STC::EVT_STC_CHARADDED}
|
7140
|
+
# - {Wx::STC::EVT_STC_USERLISTSELECTION}
|
7141
|
+
# - {Wx::STC::EVT_STC_AUTOCOMP_SELECTION}
|
7142
|
+
# - {Wx::STC::EVT_STC_AUTOCOMP_COMPLETED}
|
7040
7143
|
# @return [Integer]
|
7041
7144
|
def get_key; end
|
7042
7145
|
alias_method :key, :get_key
|
@@ -7111,7 +7214,28 @@ module Wx::STC
|
|
7111
7214
|
# Returns the modification type for this event.
|
7112
7215
|
# The modification type is a bit list that describes the change that generated this event. It may contain one or more of the following values:
|
7113
7216
|
#
|
7114
|
-
# - wxSTC_MOD_INSERTTEXT
|
7217
|
+
# - wxSTC_MOD_INSERTTEXT
|
7218
|
+
# - wxSTC_MOD_DELETETEXT
|
7219
|
+
# - wxSTC_MOD_CHANGESTYLE
|
7220
|
+
# - wxSTC_MOD_CHANGEFOLD
|
7221
|
+
# - wxSTC_PERFORMED_USER
|
7222
|
+
# - wxSTC_PERFORMED_UNDO
|
7223
|
+
# - wxSTC_PERFORMED_REDO
|
7224
|
+
# - wxSTC_MULTISTEPUNDOREDO
|
7225
|
+
# - wxSTC_LASTSTEPINUNDOREDO
|
7226
|
+
# - wxSTC_MOD_CHANGEMARKER
|
7227
|
+
# - wxSTC_MOD_BEFOREINSERT
|
7228
|
+
# - wxSTC_MOD_BEFOREDELETE
|
7229
|
+
# - wxSTC_MULTILINEUNDOREDO
|
7230
|
+
# - wxSTC_STARTACTION
|
7231
|
+
# - wxSTC_MOD_CHANGEINDICATOR
|
7232
|
+
# - wxSTC_MOD_CHANGELINESTATE
|
7233
|
+
# - wxSTC_MOD_CHANGEMARGIN
|
7234
|
+
# - wxSTC_MOD_CHANGEANNOTATION
|
7235
|
+
# - wxSTC_MOD_CONTAINER
|
7236
|
+
# - wxSTC_MOD_LEXERSTATE
|
7237
|
+
# - wxSTC_MOD_INSERTCHECK
|
7238
|
+
# - wxSTC_MOD_CHANGETABSTOPS
|
7115
7239
|
#
|
7116
7240
|
# This method is valid for {Wx::STC::EVT_STC_MODIFIED} events.
|
7117
7241
|
# @return [Integer]
|
@@ -7121,25 +7245,63 @@ module Wx::STC
|
|
7121
7245
|
# Returns the modifiers of the key press or mouse click for this event.
|
7122
7246
|
# The returned value is a bit list that may contain one or more of the following values:
|
7123
7247
|
#
|
7124
|
-
# - wxSTC_KEYMOD_SHIFT
|
7248
|
+
# - wxSTC_KEYMOD_SHIFT
|
7249
|
+
# - wxSTC_KEYMOD_CTRL
|
7250
|
+
# - wxSTC_KEYMOD_ALT
|
7251
|
+
# - wxSTC_KEYMOD_SUPER
|
7252
|
+
# - wxSTC_KEYMOD_META
|
7125
7253
|
#
|
7126
7254
|
# In addition, the value can be checked for equality with wxSTC_KEYMOD_NORM to test if no modifiers are present.
|
7127
7255
|
# This method is valid for the following event types:
|
7128
|
-
#
|
7256
|
+
#
|
7257
|
+
# - {Wx::STC::EVT_STC_DOUBLECLICK}
|
7258
|
+
# - {Wx::STC::EVT_STC_MARGINCLICK}
|
7259
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_CLICK}
|
7260
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_DCLICK}
|
7261
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_RELEASE_CLICK}
|
7262
|
+
# - {Wx::STC::EVT_STC_INDICATOR_CLICK}
|
7263
|
+
# - {Wx::STC::EVT_STC_INDICATOR_RELEASE}
|
7264
|
+
# - {Wx::STC::EVT_STC_MARGIN_RIGHT_CLICK}
|
7129
7265
|
# @return [Integer]
|
7130
7266
|
def get_modifiers; end
|
7131
7267
|
alias_method :modifiers, :get_modifiers
|
7132
7268
|
|
7133
7269
|
# Returns the zero-based text position associated this event.
|
7134
7270
|
# This method is valid for the following event types:
|
7135
|
-
#
|
7271
|
+
#
|
7272
|
+
# - {Wx::STC::EVT_STC_STYLENEEDED}
|
7273
|
+
# - {Wx::STC::EVT_STC_DOUBLECLICK}
|
7274
|
+
# - {Wx::STC::EVT_STC_MODIFIED}
|
7275
|
+
# - {Wx::STC::EVT_STC_MARGINCLICK}
|
7276
|
+
# - {Wx::STC::EVT_STC_NEEDSHOWN}
|
7277
|
+
# - {Wx::STC::EVT_STC_USERLISTSELECTION}
|
7278
|
+
# - {Wx::STC::EVT_STC_DWELLSTART}
|
7279
|
+
# - {Wx::STC::EVT_STC_DWELLEND}
|
7280
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_CLICK}
|
7281
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_DCLICK}
|
7282
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_RELEASE_CLICK}
|
7283
|
+
# - {Wx::STC::EVT_STC_INDICATOR_CLICK}
|
7284
|
+
# - {Wx::STC::EVT_STC_INDICATOR_RELEASE}
|
7285
|
+
# - {Wx::STC::EVT_STC_CALLTIP_CLICK}
|
7286
|
+
# - {Wx::STC::EVT_STC_AUTOCOMP_SELECTION}
|
7287
|
+
# - {Wx::STC::EVT_STC_AUTOCOMP_SELECTION_CHANGE}
|
7288
|
+
# - {Wx::STC::EVT_STC_AUTOCOMP_COMPLETED}
|
7289
|
+
# - {Wx::STC::EVT_STC_MARGIN_RIGHT_CLICK}
|
7136
7290
|
# @return [Integer]
|
7137
7291
|
def get_position; end
|
7138
7292
|
alias_method :position, :get_position
|
7139
7293
|
|
7140
7294
|
# Returns true if the Shift key is pressed.
|
7141
7295
|
# This method is valid for the following event types:
|
7142
|
-
#
|
7296
|
+
#
|
7297
|
+
# - {Wx::STC::EVT_STC_DOUBLECLICK}
|
7298
|
+
# - {Wx::STC::EVT_STC_MARGINCLICK}
|
7299
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_CLICK}
|
7300
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_DCLICK}
|
7301
|
+
# - {Wx::STC::EVT_STC_HOTSPOT_RELEASE_CLICK}
|
7302
|
+
# - {Wx::STC::EVT_STC_INDICATOR_CLICK}
|
7303
|
+
# - {Wx::STC::EVT_STC_INDICATOR_RELEASE}
|
7304
|
+
# - {Wx::STC::EVT_STC_MARGIN_RIGHT_CLICK}
|
7143
7305
|
# @return [true,false]
|
7144
7306
|
def get_shift; end
|
7145
7307
|
alias_method :shift, :get_shift
|
@@ -7154,7 +7316,10 @@ module Wx::STC
|
|
7154
7316
|
# Returns the value of the updated field for this event.
|
7155
7317
|
# The value of this field is a bit list that describes the change that generated this event. It may contain one or more of the following values:
|
7156
7318
|
#
|
7157
|
-
# - wxSTC_UPDATE_CONTENT
|
7319
|
+
# - wxSTC_UPDATE_CONTENT
|
7320
|
+
# - wxSTC_UPDATE_SELECTION
|
7321
|
+
# - wxSTC_UPDATE_V_SCROLL
|
7322
|
+
# - wxSTC_UPDATE_H_SCROLL
|
7158
7323
|
#
|
7159
7324
|
# This method is valid for {Wx::STC::EVT_STC_UPDATEUI} events.
|
7160
7325
|
# @return [Integer]
|
@@ -7169,14 +7334,24 @@ module Wx::STC
|
|
7169
7334
|
|
7170
7335
|
# Returns the X coordinate of the mouse for this event.
|
7171
7336
|
# This method is valid for the following event types:
|
7172
|
-
#
|
7337
|
+
#
|
7338
|
+
# - {Wx::STC::EVT_STC_DWELLSTART}
|
7339
|
+
# - {Wx::STC::EVT_STC_DWELLEND}
|
7340
|
+
# - {Wx::STC::EVT_STC_START_DRAG}
|
7341
|
+
# - {Wx::STC::EVT_STC_DRAG_OVER}
|
7342
|
+
# - {Wx::STC::EVT_STC_DO_DROP}
|
7173
7343
|
# @return [Integer]
|
7174
7344
|
def get_x; end
|
7175
7345
|
alias_method :x, :get_x
|
7176
7346
|
|
7177
7347
|
# Returns the Y coordinate of the mouse for this event.
|
7178
7348
|
# This method is valid for the following event types:
|
7179
|
-
#
|
7349
|
+
#
|
7350
|
+
# - {Wx::STC::EVT_STC_DWELLSTART}
|
7351
|
+
# - {Wx::STC::EVT_STC_DWELLEND}
|
7352
|
+
# - {Wx::STC::EVT_STC_START_DRAG}
|
7353
|
+
# - {Wx::STC::EVT_STC_DRAG_OVER}
|
7354
|
+
# - {Wx::STC::EVT_STC_DO_DROP}
|
7180
7355
|
# @return [Integer]
|
7181
7356
|
def get_y; end
|
7182
7357
|
alias_method :y, :get_y
|
@@ -22,12 +22,21 @@ module Wx
|
|
22
22
|
class StdDialogButtonSizer < BoxSizer
|
23
23
|
|
24
24
|
# Constructor for a {Wx::StdDialogButtonSizer}.
|
25
|
-
# @return [StdDialogButtonSizer]
|
25
|
+
# @return [Wx::StdDialogButtonSizer]
|
26
26
|
def initialize; end
|
27
27
|
|
28
28
|
# Adds a button to the {Wx::StdDialogButtonSizer}.
|
29
29
|
# The button must have one of the following identifiers:
|
30
|
-
#
|
30
|
+
#
|
31
|
+
# - {Wx::StandardID::ID_OK}
|
32
|
+
# - {Wx::StandardID::ID_YES}
|
33
|
+
# - {Wx::StandardID::ID_SAVE}
|
34
|
+
# - {Wx::StandardID::ID_APPLY}
|
35
|
+
# - {Wx::StandardID::ID_CLOSE}
|
36
|
+
# - {Wx::StandardID::ID_NO}
|
37
|
+
# - {Wx::StandardID::ID_CANCEL}
|
38
|
+
# - {Wx::StandardID::ID_HELP}
|
39
|
+
# - {Wx::StandardID::ID_CONTEXT_HELP}
|
31
40
|
# @param button [Wx::Button]
|
32
41
|
# @return [void]
|
33
42
|
def add_button(button) end
|
@@ -53,8 +53,8 @@ module Wx
|
|
53
53
|
|
54
54
|
# Replaces the default bitmap handler with handler.
|
55
55
|
# By default, an object of {Wx::SVGBitmapFileHandler} class is used as bitmap handler. You may want to replace it with an object of predefined {Wx::SVGBitmapEmbedHandler} class to embed the bitmaps in the generated SVG instead of storing them in separate files like this:
|
56
|
-
# ```
|
57
|
-
# mySVGFileDC
|
56
|
+
# ```ruby
|
57
|
+
# mySVGFileDC.set_bitmap_handler(Wx::SVGBitmapEmbedHandler.new)
|
58
58
|
# ```
|
59
59
|
#
|
60
60
|
# or derive your own bitmap handler class and use it if you need to customize the bitmap handling further.
|
@@ -112,7 +112,7 @@ module Wx
|
|
112
112
|
|
113
113
|
# Create a {Wx::SVGBitmapFileHandler} and specify the location where the file will be saved.
|
114
114
|
# @param path [Wx::FileName] The path of the save location. If path contains a filename, the autogenerated filename will be appended to this name.
|
115
|
-
# @return [SVGBitmapFileHandler]
|
115
|
+
# @return [Wx::SVGBitmapFileHandler]
|
116
116
|
def initialize(path) end
|
117
117
|
|
118
118
|
# Writes the bitmap representation as SVG to the given stream.
|
@@ -19,23 +19,33 @@ module Wx
|
|
19
19
|
# == Windows
|
20
20
|
#
|
21
21
|
# - no-maskblt: 1 to never use WIN32's MaskBlt function, 0 to allow it to be used where possible. Default: 0. In some circumstances the MaskBlt function can be slower than using the fallback code, especially if using DC caching. By default, MaskBlt will be used where it is implemented by the operating system and driver.
|
22
|
+
#
|
22
23
|
# - msw.remap: If 1 (the default), {Wx::ToolBar} bitmap colours will be remapped to the current theme's values. Set this to 0 to disable this functionality, for example if you're using more than 16 colours in your tool bitmaps.
|
24
|
+
#
|
23
25
|
# - msw.window.no-clip-children: If 1, windows will not automatically get the WS_CLIPCHILDREN style. This restores the way windows are refreshed back to the method used in versions of wxWidgets earlier than 2.5.4, and for some complex window hierarchies it can reduce apparent refresh delays. You may still specify {Wx::CLIP_CHILDREN} for individual windows.
|
26
|
+
#
|
24
27
|
# - msw.notebook.themed-background: If set to 0, globally disables themed backgrounds on notebook pages. Note that this won't disable the theme on the actual notebook background (noticeable only if there are no pages).
|
28
|
+
#
|
25
29
|
# - msw.staticbox.optimized-paint: If set to 0, switches off optimized {Wx::StaticBox} painting. Setting this to 0 causes more flicker, but allows applications to paint graphics on the parent of a static box (the optimized refresh causes any such drawing to disappear).
|
30
|
+
#
|
26
31
|
# - msw.font.no-proof-quality: If set to 1, use default fonts quality instead of proof quality when creating fonts. With proof quality the fonts have slightly better appearance but not all fonts are available in this quality, e.g. the Terminal font in small sizes is not and this option may be used if wider fonts selection is more important than higher quality.
|
27
32
|
#
|
28
33
|
# == GTK+
|
29
34
|
#
|
30
35
|
# - gtk.tlw.can-set-transparent: {Wx::TopLevelWindow#can_set_transparent} method normally tries to detect automatically whether transparency for top level windows is currently supported, however this may sometimes fail and this option allows overriding the automatic detection. Setting it to 1 makes the transparency be always available (setting it can still fail, of course) and setting it to 0 makes it always unavailable.
|
36
|
+
#
|
31
37
|
# - gtk.desktop: This option can be set to override the default desktop environment determination. Supported values are GNOME and KDE.
|
38
|
+
#
|
32
39
|
# - gtk.window.force-background-colour: If 1, the backgrounds of windows with the {Wx::BackgroundStyle::BG_STYLE_COLOUR} background style are cleared forcibly instead of relying on the underlying GTK+ window colour. This works around a display problem when running applications under KDE with the gtk-qt theme installed (0.6 and below).
|
33
40
|
#
|
34
41
|
# == Mac
|
35
42
|
#
|
36
43
|
# - mac.window-plain-transition: If 1, uses a plainer transition when showing a window. You can also use the symbol {Wx::MAC_WINDOW_PLAIN_TRANSITION}.
|
44
|
+
#
|
37
45
|
# - window-default-variant: The default variant used by windows (cast to integer from the {Wx::WindowVariant} enum). Also known as {Wx::WINDOW_DEFAULT_VARIANT}.
|
46
|
+
#
|
38
47
|
# - mac.textcontrol-use-spell-checker: If 1 activates the spell checking in {Wx::TextCtrl}.
|
48
|
+
#
|
39
49
|
# - osx.openfiledialog.always-show-types: Per default a {Wx::FileDialog} with {Wx::FD_OPEN} does not show a types-popup on macOS but allows the selection of files from any of the supported types. Setting this to 1 shows a {Wx::Choice} for selection (if there is more than one supported filetype).
|
40
50
|
#
|
41
51
|
# == Motif
|
@@ -67,7 +77,7 @@ module Wx
|
|
67
77
|
|
68
78
|
# Default constructor.
|
69
79
|
# You don't need to create an instance of {Wx::SystemOptions} since all of its functions are static.
|
70
|
-
# @return [SystemOptions]
|
80
|
+
# @return [Wx::SystemOptions]
|
71
81
|
def initialize; end
|
72
82
|
|
73
83
|
# Gets an option.
|
@@ -8,7 +8,7 @@ module Wx
|
|
8
8
|
|
9
9
|
# Possible values for {Wx::SystemSettings.get_font} parameter.
|
10
10
|
#
|
11
|
-
# These values map 1:1 the native values supported by the Windows' GetStockObject function. Note that other ports (other than
|
11
|
+
# These values map 1:1 the native values supported by the Windows' GetStockObject function. Note that other ports (other than wxMSW) will try to provide meaningful fonts but they usually map the same font to various <code>wxSYS_*_FONT</code> values.
|
12
12
|
#
|
13
13
|
class SystemFont < Wx::Enum
|
14
14
|
|
@@ -40,7 +40,7 @@ module Wx
|
|
40
40
|
|
41
41
|
# Possible values for {Wx::SystemSettings.get_colour} parameter.
|
42
42
|
#
|
43
|
-
# These values map 1:1 the native values supported by the Windows' GetSysColor function. Note that other ports (other than
|
43
|
+
# These values map 1:1 the native values supported by the Windows' GetSysColor function. Note that other ports (other than wxMSW) will try to provide meaningful colours but they usually map the same colour to various <code>wxSYS_COLOUR_*</code> values.
|
44
44
|
#
|
45
45
|
class SystemColour < Wx::Enum
|
46
46
|
|
@@ -440,7 +440,7 @@ module Wx
|
|
440
440
|
|
441
441
|
# Default constructor.
|
442
442
|
# You don't need to create an instance of {Wx::SystemSettings} since all of its functions are static.
|
443
|
-
# @return [SystemSettings]
|
443
|
+
# @return [Wx::SystemSettings]
|
444
444
|
def initialize; end
|
445
445
|
|
446
446
|
# Returns a system colour.
|