wxruby3 0.9.0.pre.rc.2-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 +30 -8
- data/README.md +3 -3
- 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/event_loop.rb +7 -0
- 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/doc/bitmap.rb +11 -15
- 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 +1 -1
- 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 +5 -5
- 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 +33 -18
- 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 +4 -3
- 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 +1 -1
- data/lib/wx/doc/gen/event_filter.rb +5 -2
- data/lib/wx/doc/gen/event_list.rb +15 -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 +16 -7
- 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 +30 -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 +12 -7
- data/lib/wx/doc/gen/hyperlink_event.rb +2 -1
- 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 -4
- 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 -10
- 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/prt/printer_dc.rb +2 -2
- data/lib/wx/doc/scaled_dc.rb +1 -1
- data/lib/wx/doc/text_validator.rb +12 -0
- 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/tests/test_art.rb +9 -0
- data/tests/test_box_sizer.rb +161 -0
- data/tests/test_grid_sizer.rb +148 -0
- data/tests/test_list_ctrl.rb +53 -0
- data/tests/test_log.rb +163 -0
- data/tests/test_std_controls.rb +58 -0
- data/tests/test_timer.rb +95 -0
- metadata +13 -2
@@ -9,24 +9,27 @@ module Wx
|
|
9
9
|
# A static box is a rectangle drawn around other windows to denote a logical grouping of items.
|
10
10
|
# Note that while the previous versions required that windows appearing inside a static box be created as its siblings (i.e. use the same parent as the static box itself), since wxWidgets 2.9.1 it is possible to create them as children of {Wx::StaticBox} itself and doing this is strongly recommended and avoids several different repainting problems that could happen when creating the other windows as siblings of the box.
|
11
11
|
# So the recommended way to create static box and the controls inside it is:
|
12
|
-
# ```
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
12
|
+
# ```ruby
|
13
|
+
# class MyFrame < Wx::Frame
|
14
|
+
#
|
15
|
+
# def create_controls
|
16
|
+
# panel = Wx::Panel.new(self)
|
17
|
+
# box = Wx::StaticBox.new(panel, Wx::ID_ANY, 'StaticBox')
|
18
|
+
#
|
19
|
+
# Wx::StaticText.new(box, Wx::ID_ANY, "This window is a child of the staticbox")
|
19
20
|
# ...
|
20
|
-
#
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
# end
|
21
24
|
# ```
|
22
25
|
#
|
23
26
|
# Creating the windows with the static box parent (i.e. panel in the example above) as parent still works but can result in refresh and repaint problems.
|
24
27
|
# Also note that there is a specialized {Wx::Sizer} class ({Wx::StaticBoxSizer}) which can be used as an easier way to pack items into a static box.
|
25
28
|
# ===
|
26
29
|
#
|
27
|
-
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td>
|
28
|
-
# </td><td>
|
29
|
-
# </td><td>
|
30
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
|
31
|
+
# </td><td> wxGTK Appearance
|
32
|
+
# </td><td> wxOSX Appearance
|
30
33
|
# </td></tr></table></div>
|
31
34
|
# @see Wx::StaticText
|
32
35
|
# @see Wx::StaticBoxSizer
|
@@ -36,7 +39,7 @@ module Wx
|
|
36
39
|
|
37
40
|
# @overload initialize()
|
38
41
|
# Default constructor.
|
39
|
-
# @return [StaticBox]
|
42
|
+
# @return [Wx::StaticBox]
|
40
43
|
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::StaticBoxNameStr)
|
41
44
|
# Constructor, creating and showing a static box.
|
42
45
|
#
|
@@ -46,25 +49,28 @@ module Wx
|
|
46
49
|
# @param label [String] Text to be displayed in the static box, the empty string for no label.
|
47
50
|
# @param pos [Array(Integer, Integer), Wx::Point] Window position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
|
48
51
|
# @param size [Array(Integer, Integer), Wx::Size] Checkbox size. If {Wx::DEFAULT_SIZE} is specified then a default size is chosen.
|
49
|
-
# @param style [Integer] Window style. There are no {Wx::StaticBox}-specific styles, but generic {Wx::Alignment::ALIGN_LEFT}, {Wx::Alignment::ALIGN_CENTRE_HORIZONTAL} and {Wx::Alignment::ALIGN_RIGHT} can be used here to change the position of the static box label when using
|
52
|
+
# @param style [Integer] Window style. There are no {Wx::StaticBox}-specific styles, but generic {Wx::Alignment::ALIGN_LEFT}, {Wx::Alignment::ALIGN_CENTRE_HORIZONTAL} and {Wx::Alignment::ALIGN_RIGHT} can be used here to change the position of the static box label when using wxGTK (these styles are ignored under the other platforms currently).
|
50
53
|
# @param name [String] Window name.
|
51
|
-
# @return [StaticBox]
|
54
|
+
# @return [Wx::StaticBox]
|
52
55
|
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::StaticBoxNameStr)
|
53
56
|
# Constructor for a static box using the given window as label.
|
54
57
|
# This constructor takes a pointer to an arbitrary window (although usually a {Wx::CheckBox} or a {Wx::RadioButton}) instead of just the usual text label and puts this window at the top of the box at the place where the label would be shown.
|
55
58
|
# The label window must be a non-null, fully created window and will become a child of this {Wx::StaticBox}, i.e. it will be owned by this control and will be deleted when the {Wx::StaticBox} itself is deleted.
|
56
59
|
# An example of creating a {Wx::StaticBox} with window as a label:
|
57
|
-
# ```
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
60
|
+
# ```ruby
|
61
|
+
# class MyFrame < Wx::Frame
|
62
|
+
#
|
63
|
+
# def create_controls
|
64
|
+
# panel = Wx::Panel.new(self)
|
65
|
+
# checkbox = Wx::CheckBox.new(panel, Wx::ID_ANY, "Box checkbox")
|
66
|
+
# box = Wx::StaticBox.new(panel, Wx::ID_ANY, checkbox)
|
63
67
|
# ...
|
64
|
-
#
|
68
|
+
# end
|
69
|
+
#
|
70
|
+
# end
|
65
71
|
# ```
|
66
72
|
#
|
67
|
-
# Currently this constructor is only available in
|
73
|
+
# Currently this constructor is only available in wxGTK and wxMSW, use {Wx::HAS_WINDOW_LABEL_IN_STATIC_BOX} to check whether it can be used at compile-time.
|
68
74
|
# @param parent [Wx::Window]
|
69
75
|
# @param id [Integer]
|
70
76
|
# @param label [Wx::Window]
|
@@ -72,7 +78,7 @@ module Wx
|
|
72
78
|
# @param size [Array(Integer, Integer), Wx::Size]
|
73
79
|
# @param style [Integer]
|
74
80
|
# @param name [String]
|
75
|
-
# @return [StaticBox]
|
81
|
+
# @return [Wx::StaticBox]
|
76
82
|
def initialize(*args) end
|
77
83
|
|
78
84
|
# @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::StaticBoxNameStr)
|
@@ -90,7 +96,7 @@ module Wx
|
|
90
96
|
# Creates the static box with the window as a label.
|
91
97
|
# This method can only be called for an object created using its default constructor.
|
92
98
|
# See the constructor documentation for more details.
|
93
|
-
# Currently this overload is only available in
|
99
|
+
# Currently this overload is only available in wxGTK and wxMSW, use {Wx::HAS_WINDOW_LABEL_IN_STATIC_BOX} to check whether it can be used at compile-time.
|
94
100
|
# @param parent [Wx::Window]
|
95
101
|
# @param id [Integer]
|
96
102
|
# @param label [Wx::Window]
|
@@ -104,18 +110,16 @@ module Wx
|
|
104
110
|
# Enables or disables the box without affecting its label window, if any.
|
105
111
|
# {Wx::StaticBox} overrides {Wx::Window#enable} in order to avoid disabling the control used as a label, if this box is using one. This is done in order to allow using a {Wx::CheckBox}, for example, label and enable or disable the box according to the state of the checkbox: if disabling the box also disabled the checkbox in this situation, it would make it impossible for the user to re-enable the box after disabling it, so the checkbox stays enabled even if <code>box->Enable(false)</code> is called.
|
106
112
|
# However with the actual behaviour, implemented in this overridden method, the following code (shown using C++11 only for convenience, this behaviour is not C++11-specific):
|
107
|
-
# ```
|
108
|
-
#
|
109
|
-
#
|
110
|
-
# check
|
111
|
-
# [box](wxCommandEvent& event) {
|
112
|
-
# box->Enable(event.IsChecked());
|
113
|
-
# });
|
113
|
+
# ```ruby
|
114
|
+
# check = Wx::CheckBox.new(parent, Wx::ID_ANY, "Use the box")
|
115
|
+
# box = Wx::StaticBox.new(parent, Wx::ID_ANY, check)
|
116
|
+
# check.evt_checkbox { |event| box.enable(event.checked? }
|
114
117
|
# ```
|
115
118
|
# does work as expected.
|
116
119
|
# Please note that overriding {Wx::StaticBox#enable} to not actually disable this window itself has two possibly unexpected consequences:
|
117
120
|
#
|
118
|
-
# - The box retains its enabled status, i.e. {Wx::StaticBox#is_enabled} still returns true, after calling <code>Enable(false)</code
|
121
|
+
# - The box retains its enabled status, i.e. {Wx::StaticBox#is_enabled} still returns true, after calling <code>Enable(false)</code>.
|
122
|
+
# - The box children are enabled or disabled when the box is, which can result in the loss of their original state. E.g. if a box child is initially disabled, then the box itself is disabled and, finally, the box is enabled again, this child will end up being enabled too (this wouldn't happen with any other parent window as its children would inherit the disabled state from the parent instead of being really disabled themselves when it is disabled). To avoid this problem, consider using {Wx::EVT_UPDATE_UI} to ensure that the child state is always correct or restoring it manually after re-enabling the box.
|
119
123
|
# @param enable [true,false]
|
120
124
|
# @return [true,false]
|
121
125
|
def enable(enable=true) end
|
@@ -10,16 +10,19 @@ module Wx
|
|
10
10
|
# The static box may be either created independently or the sizer may create it itself as a convenience. In any case, the sizer owns the {Wx::StaticBox} control and will delete it in the {Wx::StaticBoxSizer} destructor.
|
11
11
|
# Note that since wxWidgets 2.9.1 you are strongly encouraged to create the windows which are added to {Wx::StaticBoxSizer} as children of {Wx::StaticBox} itself, see this class documentation for more details.
|
12
12
|
# Example of use of this class:
|
13
|
-
# ```
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
13
|
+
# ```ruby
|
14
|
+
# class MyFrame < Wx::Frame
|
15
|
+
#
|
16
|
+
# def create_controls
|
17
|
+
# panel = Wx::Panel.new(self)
|
17
18
|
# ...
|
18
|
-
#
|
19
|
-
# sz
|
20
|
-
#
|
19
|
+
# sz = Wx::StaticBoxSizer.new(Wx::VERTICAL, panel, "Box")
|
20
|
+
# sz.add(Wx::StaticText.new(sz.get_static_box, Wx::ID_ANY,
|
21
|
+
# "This window is a child of the staticbox"))
|
21
22
|
# ...
|
22
|
-
#
|
23
|
+
# end
|
24
|
+
#
|
25
|
+
# end
|
23
26
|
# ```
|
24
27
|
#
|
25
28
|
# ===
|
@@ -37,13 +40,13 @@ module Wx
|
|
37
40
|
# This constructor uses an already existing static box.
|
38
41
|
# @param box [Wx::StaticBox] The static box to associate with the sizer (which will take its ownership).
|
39
42
|
# @param orient [Integer] Can be either {Wx::Orientation::VERTICAL} or {Wx::Orientation::HORIZONTAL}.
|
40
|
-
# @return [StaticBoxSizer]
|
43
|
+
# @return [Wx::StaticBoxSizer]
|
41
44
|
# @overload initialize(orient, parent, label=(''))
|
42
45
|
# This constructor creates a new static box with the given label and parent window.
|
43
46
|
# @param orient [Integer]
|
44
47
|
# @param parent [Wx::Window]
|
45
48
|
# @param label [String]
|
46
|
-
# @return [StaticBoxSizer]
|
49
|
+
# @return [Wx::StaticBoxSizer]
|
47
50
|
def initialize(*args) end
|
48
51
|
|
49
52
|
# Returns the static box associated with the sizer.
|
@@ -7,12 +7,13 @@
|
|
7
7
|
module Wx
|
8
8
|
|
9
9
|
# A static line is just a line which may be used in a dialog to separate the groups of controls.
|
10
|
-
# The line may be only vertical or horizontal. Moreover, not all ports (notably not
|
10
|
+
# The line may be only vertical or horizontal. Moreover, not all ports (notably not wxGTK) support specifying the transversal direction of the line (e.g. height for a horizontal line) so for maximal portability you should specify it as {Wx::DEFAULT_COORD}.
|
11
11
|
# === Styles
|
12
12
|
#
|
13
13
|
# This class supports the following styles:
|
14
|
-
#
|
14
|
+
#
|
15
15
|
# - {Wx::LI_HORIZONTAL}: Creates a horizontal line.
|
16
|
+
#
|
16
17
|
# - {Wx::LI_VERTICAL}: Creates a vertical line.
|
17
18
|
#
|
18
19
|
# ===
|
@@ -25,7 +26,7 @@ module Wx
|
|
25
26
|
|
26
27
|
# @overload initialize()
|
27
28
|
# Default constructor.
|
28
|
-
# @return [StaticLine]
|
29
|
+
# @return [Wx::StaticLine]
|
29
30
|
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LI_HORIZONTAL, name=Wx::StaticLineNameStr)
|
30
31
|
# Constructor, creating and showing a static line.
|
31
32
|
#
|
@@ -36,7 +37,7 @@ module Wx
|
|
36
37
|
# @param size [Array(Integer, Integer), Wx::Size] Size. Note that either the height or the width (depending on whether the line if horizontal or vertical) is ignored.
|
37
38
|
# @param style [Integer] Window style (either {Wx::LI_HORIZONTAL} or {Wx::LI_VERTICAL}).
|
38
39
|
# @param name [String] Window name.
|
39
|
-
# @return [StaticLine]
|
40
|
+
# @return [Wx::StaticLine]
|
40
41
|
def initialize(*args) end
|
41
42
|
|
42
43
|
# Creates the static line for two-step construction.
|
@@ -23,20 +23,26 @@ module Wx
|
|
23
23
|
# === Styles
|
24
24
|
#
|
25
25
|
# This class supports the following styles:
|
26
|
-
#
|
26
|
+
#
|
27
27
|
# - {Wx::Alignment::ALIGN_LEFT}: Align the text to the left.
|
28
|
+
#
|
28
29
|
# - {Wx::Alignment::ALIGN_RIGHT}: Align the text to the right.
|
30
|
+
#
|
29
31
|
# - {Wx::Alignment::ALIGN_CENTRE_HORIZONTAL}: Center the text (horizontally).
|
32
|
+
#
|
30
33
|
# - {Wx::ST_NO_AUTORESIZE}: By default, the control will adjust its size to exactly fit to the size of the text when {Wx::StaticText#set_label} is called. If this style flag is given, the control will not change its size (this style is especially useful with controls which also have the {Wx::Alignment::ALIGN_RIGHT} or the {Wx::Alignment::ALIGN_CENTRE_HORIZONTAL} style because otherwise they won't make sense any longer after a call to {Wx::StaticText#set_label}).
|
34
|
+
#
|
31
35
|
# - {Wx::ST_ELLIPSIZE_START}: If the labeltext width exceeds the control width, replace the beginning of the label with an ellipsis; uses {Wx::Control.ellipsize}.
|
36
|
+
#
|
32
37
|
# - {Wx::ST_ELLIPSIZE_MIDDLE}: If the label text width exceeds the control width, replace the middle of the label with an ellipsis; uses {Wx::Control.ellipsize}.
|
38
|
+
#
|
33
39
|
# - {Wx::ST_ELLIPSIZE_END}: If the label text width exceeds the control width, replace the end of the label with an ellipsis; uses {Wx::Control.ellipsize}.
|
34
40
|
#
|
35
41
|
# ===
|
36
42
|
#
|
37
|
-
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td>
|
38
|
-
# </td><td>
|
39
|
-
# </td><td>
|
43
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> wxMSW Appearance
|
44
|
+
# </td><td> wxGTK Appearance
|
45
|
+
# </td><td> wxOSX Appearance
|
40
46
|
# </td></tr></table></div>
|
41
47
|
# @see Wx::StaticBitmap
|
42
48
|
# @see Wx::StaticBox
|
@@ -46,7 +52,7 @@ module Wx
|
|
46
52
|
|
47
53
|
# @overload initialize()
|
48
54
|
# Default constructor.
|
49
|
-
# @return [StaticText]
|
55
|
+
# @return [Wx::StaticText]
|
50
56
|
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::StaticTextNameStr)
|
51
57
|
# Constructor, creating and showing a text control.
|
52
58
|
#
|
@@ -58,7 +64,7 @@ module Wx
|
|
58
64
|
# @param size [Array(Integer, Integer), Wx::Size] Window size.
|
59
65
|
# @param style [Integer] Window style. See {Wx::StaticText}.
|
60
66
|
# @param name [String] Window name.
|
61
|
-
# @return [StaticText]
|
67
|
+
# @return [Wx::StaticText]
|
62
68
|
def initialize(*args) end
|
63
69
|
|
64
70
|
# Creation function, for two-step construction.
|
@@ -43,12 +43,17 @@ module Wx
|
|
43
43
|
# === Styles
|
44
44
|
#
|
45
45
|
# This class supports the following styles:
|
46
|
-
#
|
46
|
+
#
|
47
47
|
# - {Wx::STB_SIZEGRIP}: Displays a gripper at the right-hand side of the status bar which can be used to resize the parent window.
|
48
|
-
#
|
48
|
+
#
|
49
|
+
# - {Wx::STB_SHOW_TIPS}: Displays tooltips for those panes whose status text has been ellipsized/truncated because the status text doesn't fit the pane width. Note that this style has effect only on wxGTK (with GTK+ >= 2.12) currently.
|
50
|
+
#
|
49
51
|
# - {Wx::STB_ELLIPSIZE_START}: Replace the beginning of the status texts with an ellipsis when the status text widths exceed the status bar pane's widths (uses {Wx::Control.ellipsize}).
|
52
|
+
#
|
50
53
|
# - {Wx::STB_ELLIPSIZE_MIDDLE}: Replace the middle of the status texts with an ellipsis when the status text widths exceed the status bar pane's widths (uses {Wx::Control.ellipsize}).
|
54
|
+
#
|
51
55
|
# - {Wx::STB_ELLIPSIZE_END}: Replace the end of the status texts with an ellipsis when the status text widths exceed the status bar pane's widths (uses {Wx::Control.ellipsize}).
|
56
|
+
#
|
52
57
|
# - {Wx::STB_DEFAULT_STYLE}: The default style: includes <code>wxSTB_SIZEGRIP|wxSTB_SHOW_TIPS|wxSTB_ELLIPSIZE_END|wxFULL_REPAINT_ON_RESIZE</code>.
|
53
58
|
#
|
54
59
|
# It is possible to create controls and other windows on the status bar. Position these windows from an OnSize() event handler.
|
@@ -67,7 +72,7 @@ module Wx
|
|
67
72
|
|
68
73
|
# @overload initialize()
|
69
74
|
# Default ctor.
|
70
|
-
# @return [StatusBar]
|
75
|
+
# @return [Wx::StatusBar]
|
71
76
|
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, style=Wx::STB_DEFAULT_STYLE, name=Wx::StatusBarNameStr)
|
72
77
|
# Constructor, creating the window.
|
73
78
|
#
|
@@ -76,7 +81,7 @@ module Wx
|
|
76
81
|
# @param id [Integer] The window identifier. It may take a value of -1 to indicate a default value.
|
77
82
|
# @param style [Integer] The window style. See {Wx::StatusBar}.
|
78
83
|
# @param name [String] The name of the window. This parameter is used to associate a name with the item, allowing the application user to set Motif resource values for individual windows.
|
79
|
-
# @return [StatusBar]
|
84
|
+
# @return [Wx::StatusBar]
|
80
85
|
def initialize(*args) end
|
81
86
|
|
82
87
|
# Creates the window, for two-step construction.
|
@@ -166,7 +171,11 @@ module Wx
|
|
166
171
|
|
167
172
|
# Sets the styles of the fields in the status line which can make fields appear flat or raised instead of the standard sunken 3D border.
|
168
173
|
# @param styles [Array<Integer>] Contains an array of n integers with the styles for each field. There are four possible styles:
|
169
|
-
#
|
174
|
+
#
|
175
|
+
# - {Wx::SB_NORMAL} (default): The field appears with the default native border.
|
176
|
+
# - {Wx::SB_FLAT}: No border is painted around the field so that it appears flat.
|
177
|
+
# - {Wx::SB_RAISED}: A raised 3D border is painted around the field.
|
178
|
+
# - {Wx::SB_SUNKEN}: A sunken 3D border is painted around the field (this style is new since wxWidgets 2.9.5).
|
170
179
|
# @return [void]
|
171
180
|
def set_status_styles(styles) end
|
172
181
|
|
@@ -15,7 +15,55 @@ module Wx::STC
|
|
15
15
|
# == Index of the member groups
|
16
16
|
#
|
17
17
|
# Links for quick access to the various categories of {Wx::STC::StyledTextCtrl} functions:
|
18
|
-
#
|
18
|
+
#
|
19
|
+
# - Constructors and related methods
|
20
|
+
# - Text retrieval and modification
|
21
|
+
# - Searching and replacing
|
22
|
+
# - Overtype
|
23
|
+
# - Cut copy and paste
|
24
|
+
# - Error handling
|
25
|
+
# - Undo and Redo
|
26
|
+
# - Selection and information
|
27
|
+
# - Multiple Selection and Virtual Space
|
28
|
+
# - Scrolling and automatic scrolling
|
29
|
+
# - White space
|
30
|
+
# - Cursor
|
31
|
+
# - Mouse capture
|
32
|
+
# - Line endings
|
33
|
+
# - Words
|
34
|
+
# - Styling
|
35
|
+
# - Style definition
|
36
|
+
# - Caret selection and hotspot styles
|
37
|
+
# - Character representations
|
38
|
+
# - Margins
|
39
|
+
# - Annotations
|
40
|
+
# - Other settings
|
41
|
+
# - Brace highlighting
|
42
|
+
# - Tabs and Indentation Guides
|
43
|
+
# - Markers
|
44
|
+
# - Indicators
|
45
|
+
# - Autocompletion
|
46
|
+
# - User lists
|
47
|
+
# - Call tips
|
48
|
+
# - Keyboard commands
|
49
|
+
# - Key bindings
|
50
|
+
# - Popup edit menu
|
51
|
+
# - Macro recording
|
52
|
+
# - Printing
|
53
|
+
# - Direct access
|
54
|
+
# - Multiple views
|
55
|
+
# - Background loading and saving
|
56
|
+
# - Folding
|
57
|
+
# - Line wrapping
|
58
|
+
# - Zooming
|
59
|
+
# - Long lines
|
60
|
+
# - Lexer
|
61
|
+
# - Event related items
|
62
|
+
# - Deprecated items
|
63
|
+
# - Additional {Wx::STC::StyledTextCtrl} methods
|
64
|
+
# - Raw variants
|
65
|
+
# - Text entry methods
|
66
|
+
# - Text area methods
|
19
67
|
#
|
20
68
|
# ===
|
21
69
|
#
|
@@ -35,10 +83,10 @@ module Wx::STC
|
|
35
83
|
# @param size [Array(Integer, Integer), Wx::Size]
|
36
84
|
# @param style [Integer]
|
37
85
|
# @param name [String]
|
38
|
-
# @return [StyledTextCtrl]
|
86
|
+
# @return [Wx::STC::StyledTextCtrl]
|
39
87
|
# @overload initialize()
|
40
88
|
# Default ctor.
|
41
|
-
# @return [StyledTextCtrl]
|
89
|
+
# @return [Wx::STC::StyledTextCtrl]
|
42
90
|
def initialize(*args) end
|
43
91
|
|
44
92
|
# Create the UI elements for a STC that was created with the default ctor.
|
@@ -2037,7 +2085,7 @@ module Wx::STC
|
|
2037
2085
|
alias_method :phases_draw=, :set_phases_draw
|
2038
2086
|
|
2039
2087
|
# Choose the quality level for text.
|
2040
|
-
# The input should be one of the wxSTC_EFF_QUALITY_* constants. This method only has any effect with the
|
2088
|
+
# The input should be one of the wxSTC_EFF_QUALITY_* constants. This method only has any effect with the wxMSW port and when technology has been set to {Wx::STC::STC_TECHNOLOGY_DIRECTWRITE}.
|
2041
2089
|
# @param fontQuality [Integer]
|
2042
2090
|
# @return [void]
|
2043
2091
|
def set_font_quality(fontQuality) end
|
@@ -2061,7 +2109,7 @@ module Wx::STC
|
|
2061
2109
|
alias_method :stc_focus, :get_stc_focus
|
2062
2110
|
|
2063
2111
|
# Set the technology used.
|
2064
|
-
# For the
|
2112
|
+
# For the wxMSW port, the input can be either {Wx::STC::STC_TECHNOLOGY_DEFAULT} or {Wx::STC::STC_TECHNOLOGY_DIRECTWRITE}. With other ports, this method has no effect.
|
2065
2113
|
# @param technology [Integer]
|
2066
2114
|
# @return [void]
|
2067
2115
|
def set_technology(technology) end
|
@@ -3918,7 +3966,7 @@ module Wx::STC
|
|
3918
3966
|
alias_method :line_text, :get_line_text
|
3919
3967
|
|
3920
3968
|
# Returns the number of lines in the text control buffer.
|
3921
|
-
# The returned number is the number of logical lines, i.e. just the count of the number of newline characters in the control + 1, for
|
3969
|
+
# The returned number is the number of logical lines, i.e. just the count of the number of newline characters in the control + 1, for wxGTK and wxOSX/Cocoa ports while it is the number of physical lines, i.e. the count of lines actually shown in the control, in wxMSW. Because of this discrepancy, it is not recommended to use this function.
|
3922
3970
|
# Note that even empty text controls have one line (where the insertion point is), so {Wx::STC::StyledTextCtrl#get_number_of_lines} never returns 0.
|
3923
3971
|
# @return [Integer]
|
3924
3972
|
def get_number_of_lines; end
|
@@ -3982,7 +4030,7 @@ module Wx::STC
|
|
3982
4030
|
|
3983
4031
|
# Finds the row and column of the character at the specified point.
|
3984
4032
|
# If the return code is not {Wx::TextCtrlHitTestResult::TE_HT_UNKNOWN} the row and column of the character closest to this position are returned, otherwise the output parameters are not modified.
|
3985
|
-
# Please note that this function is currently only implemented in {Wx::Univ},
|
4033
|
+
# Please note that this function is currently only implemented in {Wx::Univ}, wxMSW and wxGTK2 ports and always returns {Wx::TextCtrlHitTestResult::TE_HT_UNKNOWN} in the other ports.
|
3986
4034
|
# @see Wx::STC::StyledTextCtrl#position_to_xy
|
3987
4035
|
# @see Wx::STC::StyledTextCtrl#xy_to_position
|
3988
4036
|
# @param pt [Array(Integer, Integer), Wx::Point] The position of the point to check, in window device coordinates.
|