wxruby3 0.9.1-x64-mingw-ucrt → 0.9.2-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/.yardopts +1 -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/aui/aui_tab_ctrl.rb +18 -0
- data/lib/wx/aui/auinotebook.rb +6 -2
- data/lib/wx/aui/require.rb +1 -0
- data/lib/wx/core/app.rb +2 -2
- data/lib/wx/core/collapsible_pane.rb +1 -1
- data/lib/wx/core/controlwithitems.rb +8 -6
- data/lib/wx/core/menu.rb +10 -0
- data/lib/wx/core/notebook.rb +6 -2
- data/lib/wx/core/sizer.rb +11 -0
- data/lib/wx/core/task_bar_button.rb +19 -0
- data/lib/wx/core/textctrl.rb +11 -1
- data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
- data/lib/wx/core/window.rb +10 -0
- data/lib/wx/doc/app.rb +48 -38
- data/lib/wx/doc/art_locator.rb +47 -43
- data/lib/wx/doc/aui/auimanager.rb +16 -8
- data/lib/wx/doc/aui/auinotebook.rb +20 -5
- data/lib/wx/doc/clipboard.rb +11 -7
- data/lib/wx/doc/colour_dialog.rb +14 -10
- data/lib/wx/doc/controlwithitems.rb +17 -7
- data/lib/wx/doc/data_object.rb +2 -2
- data/lib/wx/doc/evthandler.rb +113 -108
- data/lib/wx/doc/font.rb +1 -0
- data/lib/wx/doc/gc_dc.rb +6 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
- data/lib/wx/doc/gen/accelerator.rb +14 -5
- data/lib/wx/doc/gen/accessible.rb +35 -47
- data/lib/wx/doc/gen/activity_indicator.rb +4 -5
- data/lib/wx/doc/gen/animation.rb +7 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +6 -7
- data/lib/wx/doc/gen/any_button.rb +6 -1
- data/lib/wx/doc/gen/app.rb +7 -5
- data/lib/wx/doc/gen/app_traits.rb +27 -10
- data/lib/wx/doc/gen/art_provider.rb +19 -7
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +6 -1
- data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
- data/lib/wx/doc/gen/aui/event_list.rb +164 -160
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +33 -16
- data/lib/wx/doc/gen/bitmap_button.rb +11 -8
- data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -8
- data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
- data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
- data/lib/wx/doc/gen/box_sizer.rb +0 -1
- data/lib/wx/doc/gen/brush.rb +5 -2
- data/lib/wx/doc/gen/busy_info.rb +2 -2
- data/lib/wx/doc/gen/button.rb +23 -11
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
- data/lib/wx/doc/gen/calendar_ctrl.rb +16 -13
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +4 -3
- data/lib/wx/doc/gen/caret.rb +0 -1
- data/lib/wx/doc/gen/check_box.rb +7 -7
- data/lib/wx/doc/gen/check_list_box.rb +5 -6
- data/lib/wx/doc/gen/choice.rb +16 -9
- data/lib/wx/doc/gen/choicebook.rb +6 -7
- data/lib/wx/doc/gen/client_dc.rb +5 -2
- data/lib/wx/doc/gen/clipboard.rb +7 -3
- data/lib/wx/doc/gen/collapsible_pane.rb +6 -7
- data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
- data/lib/wx/doc/gen/colour.rb +8 -4
- data/lib/wx/doc/gen/colour_dialog.rb +6 -8
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +9 -10
- data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
- data/lib/wx/doc/gen/combo_box.rb +16 -13
- data/lib/wx/doc/gen/combo_ctrl.rb +95 -32
- data/lib/wx/doc/gen/command_link_button.rb +4 -5
- data/lib/wx/doc/gen/context_help_button.rb +7 -3
- data/lib/wx/doc/gen/control.rb +10 -8
- data/lib/wx/doc/gen/control_with_items.rb +0 -1
- data/lib/wx/doc/gen/core.rb +4 -4
- data/lib/wx/doc/gen/cursor.rb +6 -8
- data/lib/wx/doc/gen/data_format.rb +6 -1
- data/lib/wx/doc/gen/data_object.rb +15 -13
- data/lib/wx/doc/gen/date_event.rb +2 -2
- data/lib/wx/doc/gen/date_picker_ctrl.rb +12 -8
- data/lib/wx/doc/gen/dc.rb +155 -37
- data/lib/wx/doc/gen/defs.rb +51 -51
- data/lib/wx/doc/gen/dial_up_event.rb +1 -2
- data/lib/wx/doc/gen/dial_up_manager.rb +13 -5
- data/lib/wx/doc/gen/dialog.rb +33 -13
- data/lib/wx/doc/gen/dir_dialog.rb +17 -5
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +9 -10
- data/lib/wx/doc/gen/drag_drop.rb +11 -10
- data/lib/wx/doc/gen/drag_image.rb +6 -2
- data/lib/wx/doc/gen/editable_list_box.rb +2 -2
- data/lib/wx/doc/gen/event.rb +35 -19
- data/lib/wx/doc/gen/event_blocker.rb +1 -3
- data/lib/wx/doc/gen/event_list.rb +1656 -1652
- data/lib/wx/doc/gen/events.rb +162 -169
- data/lib/wx/doc/gen/evt_handler.rb +11 -3
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +19 -10
- data/lib/wx/doc/gen/file_ctrl_event.rb +3 -4
- data/lib/wx/doc/gen/file_dialog.rb +31 -14
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
- data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
- data/lib/wx/doc/gen/file_picker_ctrl.rb +8 -9
- data/lib/wx/doc/gen/file_system.rb +38 -15
- data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
- 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 +0 -1
- data/lib/wx/doc/gen/font.rb +31 -20
- data/lib/wx/doc/gen/font_data.rb +3 -4
- data/lib/wx/doc/gen/font_dialog.rb +1 -2
- data/lib/wx/doc/gen/font_picker_ctrl.rb +6 -7
- data/lib/wx/doc/gen/font_picker_event.rb +2 -3
- data/lib/wx/doc/gen/frame.rb +56 -15
- data/lib/wx/doc/gen/fs_file.rb +17 -10
- data/lib/wx/doc/gen/gauge.rb +11 -8
- data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -2
- data/lib/wx/doc/gen/gdi_common.rb +30 -11
- data/lib/wx/doc/gen/gdi_object.rb +0 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +6 -7
- data/lib/wx/doc/gen/graphics_context.rb +58 -11
- data/lib/wx/doc/gen/graphics_object.rb +11 -6
- data/lib/wx/doc/gen/grid/event_list.rb +168 -164
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
- 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 -2
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -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 +1 -1
- 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 -2
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +27 -5
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
- data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
- data/lib/wx/doc/gen/grid_sizer.rb +0 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
- data/lib/wx/doc/gen/header_ctrl.rb +4 -11
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
- data/lib/wx/doc/gen/help_controller.rb +3 -3
- data/lib/wx/doc/gen/help_provider.rb +12 -3
- data/lib/wx/doc/gen/html/event_list.rb +41 -37
- data/lib/wx/doc/gen/html/html_cell.rb +23 -6
- data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
- data/lib/wx/doc/gen/html/html_easy_printing.rb +7 -2
- data/lib/wx/doc/gen/html/html_help_controller.rb +8 -2
- data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
- data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
- data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +5 -7
- data/lib/wx/doc/gen/html/html_printout.rb +1 -2
- data/lib/wx/doc/gen/html/html_window.rb +12 -6
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +7 -7
- data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
- data/lib/wx/doc/gen/icon.rb +5 -29
- data/lib/wx/doc/gen/icon_location.rb +0 -1
- data/lib/wx/doc/gen/image.rb +83 -17
- data/lib/wx/doc/gen/image_list.rb +15 -6
- data/lib/wx/doc/gen/info_bar.rb +2 -2
- data/lib/wx/doc/gen/keyboard_state.rb +0 -1
- data/lib/wx/doc/gen/list_box.rb +29 -17
- data/lib/wx/doc/gen/list_ctrl.rb +76 -29
- data/lib/wx/doc/gen/list_event.rb +3 -4
- data/lib/wx/doc/gen/listbook.rb +6 -7
- data/lib/wx/doc/gen/locale.rb +46 -4
- data/lib/wx/doc/gen/log.rb +16 -12
- data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
- data/lib/wx/doc/gen/mdi_frame.rb +28 -7
- data/lib/wx/doc/gen/media_ctrl.rb +26 -18
- data/lib/wx/doc/gen/media_event.rb +5 -4
- data/lib/wx/doc/gen/memory_dc.rb +6 -6
- data/lib/wx/doc/gen/menu.rb +37 -23
- data/lib/wx/doc/gen/menu_bar.rb +52 -12
- data/lib/wx/doc/gen/menu_item.rb +41 -19
- data/lib/wx/doc/gen/message_dialog.rb +7 -8
- data/lib/wx/doc/gen/mini_frame.rb +11 -5
- data/lib/wx/doc/gen/mirror_dc.rb +0 -2
- data/lib/wx/doc/gen/mouse_state.rb +0 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +17 -9
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +0 -1
- data/lib/wx/doc/gen/paint_dc.rb +0 -1
- data/lib/wx/doc/gen/palette.rb +0 -1
- data/lib/wx/doc/gen/panel.rb +17 -8
- data/lib/wx/doc/gen/pen.rb +17 -8
- data/lib/wx/doc/gen/pg/event_list.rb +97 -93
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
- data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
- data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
- data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
- data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
- data/lib/wx/doc/gen/pg/property_grid.rb +81 -20
- data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +214 -36
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +40 -10
- data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
- data/lib/wx/doc/gen/picker_base.rb +12 -5
- data/lib/wx/doc/gen/platform_info.rb +4 -9
- data/lib/wx/doc/gen/popup_window.rb +2 -5
- data/lib/wx/doc/gen/progress_dialog.rb +1 -0
- data/lib/wx/doc/gen/property_sheet_dialog.rb +13 -3
- data/lib/wx/doc/gen/prt/event_list.rb +8 -4
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +1 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +3 -0
- data/lib/wx/doc/gen/prt/print_data.rb +4 -3
- data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/printer.rb +50 -11
- data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
- data/lib/wx/doc/gen/radio_box.rb +9 -10
- data/lib/wx/doc/gen/radio_button.rb +13 -9
- data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -2
- data/lib/wx/doc/gen/rearrange_list.rb +3 -4
- data/lib/wx/doc/gen/region.rb +75 -17
- data/lib/wx/doc/gen/region_iterator.rb +0 -1
- data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +10 -7
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +2 -4
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +2 -3
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +5 -5
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +2 -3
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +1 -2
- data/lib/wx/doc/gen/sash_event.rb +9 -4
- data/lib/wx/doc/gen/sash_layout_window.rb +11 -4
- data/lib/wx/doc/gen/sash_window.rb +3 -4
- data/lib/wx/doc/gen/screen_dc.rb +0 -1
- data/lib/wx/doc/gen/scroll_bar.rb +19 -10
- data/lib/wx/doc/gen/scrolled_canvas.rb +32 -10
- data/lib/wx/doc/gen/scrolled_control.rb +32 -10
- data/lib/wx/doc/gen/scrolled_window.rb +32 -10
- data/lib/wx/doc/gen/search_ctrl.rb +8 -9
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/sizer.rb +12 -7
- data/lib/wx/doc/gen/sizer_item.rb +5 -2
- data/lib/wx/doc/gen/slider.rb +27 -17
- data/lib/wx/doc/gen/spin_button.rb +15 -10
- data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
- data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
- data/lib/wx/doc/gen/spin_double_event.rb +3 -4
- data/lib/wx/doc/gen/spin_event.rb +3 -3
- data/lib/wx/doc/gen/splash_screen.rb +1 -2
- data/lib/wx/doc/gen/splitter_event.rb +3 -4
- data/lib/wx/doc/gen/splitter_window.rb +76 -18
- data/lib/wx/doc/gen/static_bitmap.rb +10 -5
- data/lib/wx/doc/gen/static_box.rb +9 -7
- data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
- data/lib/wx/doc/gen/static_line.rb +3 -4
- data/lib/wx/doc/gen/static_text.rb +5 -6
- data/lib/wx/doc/gen/status_bar.rb +19 -9
- data/lib/wx/doc/gen/stc/event_list.rb +212 -208
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +39 -13
- data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
- data/lib/wx/doc/gen/system_options.rb +6 -6
- data/lib/wx/doc/gen/system_settings.rb +2 -3
- data/lib/wx/doc/gen/task_bar_button.rb +312 -0
- data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
- data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
- data/lib/wx/doc/gen/text_attr.rb +20 -5
- data/lib/wx/doc/gen/text_ctrl.rb +90 -25
- data/lib/wx/doc/gen/text_entry.rb +31 -11
- data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
- data/lib/wx/doc/gen/text_validator.rb +43 -10
- data/lib/wx/doc/gen/time_picker_ctrl.rb +5 -6
- data/lib/wx/doc/gen/timer.rb +6 -2
- data/lib/wx/doc/gen/timer_event.rb +1 -2
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +5 -6
- data/lib/wx/doc/gen/tool_bar.rb +98 -25
- data/lib/wx/doc/gen/tool_tip.rb +35 -5
- data/lib/wx/doc/gen/toolbook.rb +3 -4
- data/lib/wx/doc/gen/top_level_window.rb +69 -23
- data/lib/wx/doc/gen/tree_ctrl.rb +40 -16
- data/lib/wx/doc/gen/tree_event.rb +3 -4
- data/lib/wx/doc/gen/treebook.rb +7 -4
- data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
- data/lib/wx/doc/gen/utils.rb +39 -7
- data/lib/wx/doc/gen/v_list_box.rb +6 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +6 -4
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -0
- data/lib/wx/doc/gen/window.rb +195 -45
- data/lib/wx/doc/gen/window_dc.rb +0 -1
- data/lib/wx/doc/gen/window_disabler.rb +5 -2
- data/lib/wx/doc/gen/with_images.rb +6 -1
- data/lib/wx/doc/gen/wizard.rb +4 -4
- data/lib/wx/doc/gen/wizard_event.rb +3 -4
- data/lib/wx/doc/gen/wizard_page.rb +2 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +0 -1
- data/lib/wx/doc/gen/xml_node.rb +19 -4
- data/lib/wx/doc/gen/xml_resource.rb +18 -5
- data/lib/wx/doc/graphics_context.rb +1 -0
- data/lib/wx/doc/grid/grid.rb +22 -1
- data/lib/wx/doc/help_controller.rb +11 -7
- data/lib/wx/doc/html/html_help_controller.rb +12 -4
- data/lib/wx/doc/list_ctrl.rb +33 -29
- data/lib/wx/doc/menu.rb +20 -0
- data/lib/wx/doc/notebook.rb +21 -0
- data/lib/wx/doc/pg/events.rb +13 -9
- data/lib/wx/doc/pg/pg_property.rb +18 -0
- data/lib/wx/doc/progress_dialog.rb +36 -32
- data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
- data/lib/wx/doc/prt/print_data.rb +13 -5
- data/lib/wx/doc/prt/print_dialog.rb +31 -23
- data/lib/wx/doc/prt/printer.rb +20 -12
- data/lib/wx/doc/radio_box.rb +19 -15
- data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
- data/lib/wx/doc/region_iterator.rb +32 -28
- data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
- data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
- data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
- data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
- data/lib/wx/doc/sizer.rb +20 -0
- data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
- data/lib/wx/doc/stream.rb +39 -35
- data/lib/wx/doc/system_settings.rb +30 -26
- data/lib/wx/doc/text_validator.rb +12 -8
- data/lib/wx/doc/textctrl.rb +16 -0
- data/lib/wx/doc/tree_ctrl.rb +95 -0
- data/lib/wx/doc/treebook.rb +9 -5
- data/lib/wx/doc/v_list_box.rb +9 -5
- data/lib/wx/doc/variant.rb +164 -160
- data/lib/wx/doc/window.rb +57 -47
- data/lib/wx/doc/window_disabler.rb +10 -6
- data/lib/wx/grid/grid.rb +27 -4
- data/lib/wx/pg/pg_property.rb +22 -0
- data/lib/wx/rtc/require.rb +3 -0
- data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
- data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
- data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
- data/lib/wx/stc/require.rb +1 -0
- data/lib/wx/stc/styled_text_ctrl.rb +25 -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/rakelib/lib/config/linux.rb +0 -3
- data/rakelib/lib/config/macosx.rb +2 -2
- data/rakelib/lib/config/mingw.rb +1 -1
- data/rakelib/lib/config/unixish.rb +1 -1
- data/rakelib/lib/config.rb +14 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
- data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
- data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
- data/rakelib/yard/templates/default/tags/setup.rb +16 -0
- data/rakelib/yard/yard-custom-templates.rb +3 -0
- data/samples/treectrl/treectrl.rb +1 -1
- data/tests/media/beep_lo.wav +0 -0
- data/tests/test_list_ctrl.rb +1 -1
- data/tests/test_media_ctrl.rb +38 -0
- data/tests/test_menu.rb +69 -0
- data/tests/test_pg.rb +27 -0
- data/tests/test_richtext.rb +45 -0
- data/tests/test_sizer.rb +16 -0
- data/tests/test_std_controls.rb +42 -1
- data/tests/test_styled_text_ctrl.rb +46 -0
- data/tests/test_tree_ctrl.rb +138 -0
- data/tests/test_window.rb +12 -0
- data/tests/testapp_noframe.rb +1 -1
- metadata +28 -3
@@ -120,7 +120,7 @@ module Wx
|
|
120
120
|
|
121
121
|
# Standard cursors.
|
122
122
|
#
|
123
|
-
# Notice that under
|
123
|
+
# Notice that under WXMSW some of these cursors are defined in wx.rc file and not by the system itself so you should include this file from your own resource file (possibly creating a trivial resource file just containing a single include line if you don't need it otherwise) to be able to use them.
|
124
124
|
# See {Wx::Cursor}.
|
125
125
|
#
|
126
126
|
class StockCursor < Wx::Enum
|
@@ -300,12 +300,24 @@ module Wx
|
|
300
300
|
DEFAULT_SIZE = nil
|
301
301
|
|
302
302
|
# Returns true if the display is colour, false otherwise.
|
303
|
-
#
|
303
|
+
# <div class="wxrb-note">
|
304
|
+
# <b>Note:</b>
|
305
|
+
# <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_depth to retrieve the depth of the appropriate display and compare it with 1 instead.
|
306
|
+
# </p>
|
307
|
+
# </div>
|
308
|
+
#
|
309
|
+
# Include file: \#include <wx/gdicmn.h>
|
304
310
|
# @return [Boolean]
|
305
311
|
def self.colour_display; end
|
306
312
|
|
307
313
|
# Returns the depth of the display (a value of 1 denotes a monochrome display).
|
308
|
-
#
|
314
|
+
# <div class="wxrb-note">
|
315
|
+
# <b>Note:</b>
|
316
|
+
# <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_depth to retrieve the depth of the appropriate display instead.
|
317
|
+
# </p>
|
318
|
+
# </div>
|
319
|
+
#
|
320
|
+
# Include file: \#include <wx/gdicmn.h>
|
309
321
|
# @return [Integer]
|
310
322
|
def self.display_depth; end
|
311
323
|
|
@@ -325,13 +337,26 @@ module Wx
|
|
325
337
|
|
326
338
|
# Returns the display resolution in pixels per inch.
|
327
339
|
# The x component of the returned {Wx::Size} object contains the horizontal resolution and the y one the vertical resolution.
|
328
|
-
#
|
340
|
+
#
|
341
|
+
# <div class="wxrb-note">
|
342
|
+
# <b>Note:</b>
|
343
|
+
# <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_ppi to retrieve the resolution of the appropriate display instead.
|
344
|
+
# </p>
|
345
|
+
# </div>
|
346
|
+
#
|
347
|
+
# Include file: \#include <wx/gdicmn.h>
|
329
348
|
# @see Wx::Display
|
330
349
|
# @return [Wx::Size]
|
331
350
|
def self.get_display_ppi; end
|
332
351
|
|
333
352
|
# Returns the display size in pixels.
|
334
|
-
#
|
353
|
+
# <div class="wxrb-note">
|
354
|
+
# <b>Note:</b>
|
355
|
+
# <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_geometry to retrieve the size of the appropriate display instead.
|
356
|
+
# </p>
|
357
|
+
# </div>
|
358
|
+
#
|
359
|
+
# Include file: \#include <wx/gdicmn.h>
|
335
360
|
# @see Wx::Display
|
336
361
|
# @return [Wx::Size]
|
337
362
|
def self.get_display_size; end
|
@@ -345,7 +370,6 @@ module Wx
|
|
345
370
|
# A {Wx::Point} is a useful data structure for graphics operations.
|
346
371
|
# It contains integer x and y members. See {Wx::RealPoint} for a floating point version.
|
347
372
|
# Note that the width and height stored inside a {Wx::Point} object may be negative and that {Wx::Point} functions do not perform any check against negative values (this is used to e.g. store the special -1 value in {Wx::DEFAULT_POSITION} instance).
|
348
|
-
# ===
|
349
373
|
#
|
350
374
|
# Category: Data Structures
|
351
375
|
# Predefined objects/pointers: {Wx::DEFAULT_POSITION}
|
@@ -426,7 +450,6 @@ module Wx
|
|
426
450
|
# It simply contains integer x and y members.
|
427
451
|
# Note that the width and height stored inside a {Wx::Size} object may be negative and that {Wx::Size} functions do not perform any check against negative values (this is used to e.g. store the special -1 value in {Wx::DEFAULT_SIZE} instance). See also {Wx::Size#is_fully_specified} and {Wx::Size#set_defaults} for utility functions regarding the special -1 value.
|
428
452
|
# {Wx::Size} is used throughout wxWidgets as well as {Wx::Point} which, although almost equivalent to {Wx::Size}, has a different meaning: {Wx::Point} represents a position while {Wx::Size} represents the size.
|
429
|
-
# ===
|
430
453
|
#
|
431
454
|
# Category: Data Structures
|
432
455
|
# Predefined objects/pointers: {Wx::DEFAULT_SIZE}
|
@@ -589,7 +612,6 @@ module Wx
|
|
589
612
|
#
|
590
613
|
# In other words, the rectangle left and right boundaries are at x and <code>x+width-1</code> and its top and bottom boundaries are at y and <code>y+height-1</code> respectively.
|
591
614
|
# Note that the x and y coordinates may be negative, but width and height are always strictly positive for non-empty rectangles.
|
592
|
-
# ===
|
593
615
|
#
|
594
616
|
# Category: Data Structures
|
595
617
|
# @see Wx::Point
|
@@ -895,7 +917,6 @@ module Wx
|
|
895
917
|
# A {Wx::RealPoint} is a useful data structure for graphics operations.
|
896
918
|
# It contains floating point x and y members. See {Wx::Point} for an integer version.
|
897
919
|
# Note that the coordinates stored inside a {Wx::RealPoint} object may be negative and that {Wx::RealPoint} functions do not perform any check against negative values.
|
898
|
-
# ===
|
899
920
|
#
|
900
921
|
# Category: Data Structures
|
901
922
|
# @see Wx::Point
|
@@ -1083,8 +1104,6 @@ module Wx
|
|
1083
1104
|
#
|
1084
1105
|
# YELLOW GREEN
|
1085
1106
|
#
|
1086
|
-
# ===
|
1087
|
-
#
|
1088
1107
|
# Category: Graphics Device Interface (GDI)
|
1089
1108
|
# @see Wx::Colour
|
1090
1109
|
#
|
@@ -9,7 +9,6 @@ module Wx
|
|
9
9
|
# This class allows platforms to implement functionality to optimise GDI objects, such as {Wx::Pen}, {Wx::Brush} and {Wx::Font}.
|
10
10
|
# On Windows, the underling GDI objects are a scarce resource and are cleaned up when a usage count goes to zero. On some platforms this class may not have any special functionality.
|
11
11
|
# Since the functionality of this class is platform-specific, it is not documented here in detail.
|
12
|
-
# ===
|
13
12
|
#
|
14
13
|
# Category: Graphics Device Interface (GDI)
|
15
14
|
# @see Wx::Pen
|
@@ -8,7 +8,7 @@ module Wx
|
|
8
8
|
|
9
9
|
# This control can be used to place a directory listing (with optional files) on an arbitrary window.
|
10
10
|
# The control contains a {Wx::TreeCtrl} window representing the directory hierarchy, and optionally, a {Wx::Choice} window containing a list of filters.
|
11
|
-
#
|
11
|
+
# ### Styles
|
12
12
|
#
|
13
13
|
# This class supports the following styles:
|
14
14
|
#
|
@@ -24,13 +24,11 @@ module Wx
|
|
24
24
|
#
|
25
25
|
# - {Wx::DIRCTRL_MULTIPLE}: Allows multiple files and folders to be selected.
|
26
26
|
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
# </td><td> wxGTK Appearance
|
31
|
-
# </td><td> wxOSX Appearance
|
27
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
28
|
+
# </td><td> WXGTK Appearance
|
29
|
+
# </td><td> WXOSX Appearance
|
32
30
|
# </td></tr></table></div>
|
33
|
-
#
|
31
|
+
# ### Events emitted by this class
|
34
32
|
#
|
35
33
|
# Event handler methods for events emitted by this class:
|
36
34
|
#
|
@@ -38,6 +36,7 @@ module Wx
|
|
38
36
|
#
|
39
37
|
# - {Wx::EvtHandler#evt_dirctrl_fileactivated}(id, meth = nil, &block): The user activated a file by double-clicking or pressing Enter. Available since wxWidgets 2.9.5.
|
40
38
|
#
|
39
|
+
# @wxrb_require USE_DIRDLG|USE_FILEDLG
|
41
40
|
class GenericDirCtrl < Control
|
42
41
|
|
43
42
|
# @overload initialize()
|
@@ -10,6 +10,7 @@ module Wx
|
|
10
10
|
#
|
11
11
|
#
|
12
12
|
#
|
13
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
13
14
|
class AntialiasMode < Wx::Enum
|
14
15
|
|
15
16
|
# No anti-aliasing.
|
@@ -26,6 +27,7 @@ module Wx
|
|
26
27
|
#
|
27
28
|
#
|
28
29
|
#
|
30
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
29
31
|
class InterpolationQuality < Wx::Enum
|
30
32
|
|
31
33
|
# default interpolation, based on type of context, in general medium quality
|
@@ -54,6 +56,7 @@ module Wx
|
|
54
56
|
#
|
55
57
|
# The description give a short equation on how the values of a resulting pixel are calculated. R = Result, S = Source, D = Destination, colors premultiplied with alpha Ra, Sa, Da their alpha components
|
56
58
|
#
|
59
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
57
60
|
class CompositionMode < Wx::Enum
|
58
61
|
|
59
62
|
# Indicates invalid or unsupported composition mode.
|
@@ -122,6 +125,7 @@ module Wx
|
|
122
125
|
#
|
123
126
|
#
|
124
127
|
#
|
128
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
125
129
|
class GradientType < Wx::Enum
|
126
130
|
|
127
131
|
#
|
@@ -192,9 +196,11 @@ module Wx
|
|
192
196
|
# end
|
193
197
|
# ```
|
194
198
|
#
|
195
|
-
#
|
196
|
-
#
|
197
|
-
#
|
199
|
+
# <div class="wxrb-remark">
|
200
|
+
# <b>Remark:</b>
|
201
|
+
# <p>For some renderers (like Direct2D or Cairo) processing of drawing operations may be deferred (Direct2D render target normally builds up a batch of rendering commands but defers processing of these commands, Cairo operates on a separate surface) so to make drawing results visible you need to update the content of the context by calling {Wx::GraphicsContext#flush} or by destroying the context.
|
202
|
+
# </p>
|
203
|
+
# </div>>
|
198
204
|
#
|
199
205
|
# Category: Graphics Device Interface (GDI), Device Contexts
|
200
206
|
# @see Wx::GraphicsRenderer#create_context
|
@@ -204,8 +210,18 @@ module Wx
|
|
204
210
|
#
|
205
211
|
#
|
206
212
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
213
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
207
214
|
class GraphicsContext < GraphicsObject
|
208
215
|
|
216
|
+
# Creates a {Wx::GraphicsContext} from a {Wx::PRT::PrinterDC}.
|
217
|
+
# Under GTK+, this will only work when using the GtkPrint printing backend which is available since GTK+ 2.10.
|
218
|
+
# @see Wx::GraphicsRenderer#create_context
|
219
|
+
# @see Printing Under Unix (GTK+)
|
220
|
+
# @param printerDC [Wx::PRT::PrinterDC]
|
221
|
+
# @return [Wx::GraphicsContext]
|
222
|
+
# @wxrb_require WXMSW|WXOSX|USE_GTKPRINT
|
223
|
+
def self.create(printerDC) end
|
224
|
+
|
209
225
|
# Resets the clipping to original shape.
|
210
226
|
# @return [void]
|
211
227
|
def reset_clip; end
|
@@ -214,10 +230,17 @@ module Wx
|
|
214
230
|
# Sets the clipping region to the intersection of the given region and the previously set clipping region.
|
215
231
|
# The clipping region is an area to which drawing is restricted.
|
216
232
|
#
|
233
|
+
# <div class="wxrb-remark">
|
234
|
+
# <b>Remark:</b>
|
235
|
+
# <p>
|
236
|
+
#
|
217
237
|
# - Clipping region should be given in logical coordinates.
|
218
238
|
# - Calling this function can only make the clipping region smaller, never larger.
|
219
239
|
# - You need to call {Wx::GraphicsContext#reset_clip} first if you want to set the clipping region exactly to the region specified.
|
220
|
-
# - If resulting clipping region is empty, then all drawing upon the context is clipped out (all changes made by drawing operations are masked out).
|
240
|
+
# - If resulting clipping region is empty, then all drawing upon the context is clipped out (all changes made by drawing operations are masked out).
|
241
|
+
#
|
242
|
+
# </p>
|
243
|
+
# </div>>
|
221
244
|
# @param region [Wx::Region]
|
222
245
|
# @return [void]
|
223
246
|
# @overload clip(x, y, w, h)
|
@@ -230,7 +253,14 @@ module Wx
|
|
230
253
|
def clip(*args) end
|
231
254
|
|
232
255
|
# Returns bounding box of the current clipping region.
|
256
|
+
# <div class="wxrb-remark">
|
257
|
+
# <b>Remark:</b>
|
258
|
+
# <p>
|
259
|
+
#
|
233
260
|
# - If clipping region is empty, then empty rectangle is returned (x, y, w, h are set to zero).
|
261
|
+
#
|
262
|
+
# </p>
|
263
|
+
# </div>>
|
234
264
|
# @return [Array(Float,Float,Float,Float)]
|
235
265
|
def get_clip_box; end
|
236
266
|
alias_method :clip_box, :get_clip_box
|
@@ -482,14 +512,23 @@ module Wx
|
|
482
512
|
|
483
513
|
# @overload create_font(font, col=Wx::BLACK)
|
484
514
|
# Creates a native graphics font from a {Wx::Font} and a text colour.
|
485
|
-
#
|
515
|
+
# <div class="wxrb-remark">
|
516
|
+
# <b>Remark:</b>
|
517
|
+
# <p>For Direct2D graphics fonts can be created from TrueType fonts only.
|
518
|
+
# </p>
|
519
|
+
# </div>>
|
486
520
|
# @param font [Wx::Font,Wx::FontInfo]
|
487
521
|
# @param col [Wx::Colour,String,Symbol]
|
488
522
|
# @return [Wx::GraphicsFont]
|
489
523
|
# @overload create_font(sizeInPixels, facename, flags=Wx::FontFlag::FONTFLAG_DEFAULT, col=Wx::BLACK)
|
490
524
|
# Creates a font object with the specified attributes.
|
491
525
|
# The use of overload taking {Wx::Font} is preferred, see Wx::GraphicsRenderer#create_font for more details.
|
492
|
-
#
|
526
|
+
#
|
527
|
+
# <div class="wxrb-remark">
|
528
|
+
# <b>Remark:</b>
|
529
|
+
# <p>For Direct2D graphics fonts can be created from TrueType fonts only.
|
530
|
+
# </p>
|
531
|
+
# </div>>
|
493
532
|
# @param sizeInPixels [Float]
|
494
533
|
# @param facename [String]
|
495
534
|
# @param flags [Integer]
|
@@ -499,7 +538,11 @@ module Wx
|
|
499
538
|
|
500
539
|
# @overload set_font(font, colour)
|
501
540
|
# Sets the font for drawing text.
|
502
|
-
#
|
541
|
+
# <div class="wxrb-remark">
|
542
|
+
# <b>Remark:</b>
|
543
|
+
# <p>For Direct2D only TrueType fonts can be used.
|
544
|
+
# </p>
|
545
|
+
# </div>>
|
503
546
|
# @param font [Wx::Font,Wx::FontInfo]
|
504
547
|
# @param colour [Wx::Colour,String,Symbol]
|
505
548
|
# @return [void]
|
@@ -602,7 +645,11 @@ module Wx
|
|
602
645
|
alias_method :antialias_mode, :get_antialias_mode
|
603
646
|
|
604
647
|
# Sets the interpolation quality, returns true if it is supported.
|
605
|
-
#
|
648
|
+
# <div class="wxrb-remark">
|
649
|
+
# <b>Remark:</b>
|
650
|
+
# <p>Not implemented in Cairo backend currently.
|
651
|
+
# </p>
|
652
|
+
# </div>>
|
606
653
|
# @param interpolation [Wx::InterpolationQuality]
|
607
654
|
# @return [Boolean]
|
608
655
|
def set_interpolation_quality(interpolation) end
|
@@ -694,12 +741,11 @@ module Wx
|
|
694
741
|
end # GraphicsContext
|
695
742
|
|
696
743
|
# Represents a single gradient stop in a collection of gradient stops as represented by {Wx::GraphicsGradientStops}.
|
697
|
-
# ===
|
698
|
-
#
|
699
744
|
# Category: Graphics Device Interface (GDI)
|
700
745
|
#
|
701
746
|
#
|
702
747
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
748
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
703
749
|
class GraphicsGradientStop < ::Object
|
704
750
|
|
705
751
|
# Return the stop colour.
|
@@ -729,12 +775,12 @@ module Wx
|
|
729
775
|
# Represents a collection of {Wx::GraphicGradientStop} values for use with CreateLinearGradientBrush and CreateRadialGradientBrush.
|
730
776
|
# The stops are maintained in order of position. If two or more stops are added with the same position then the one(s) added later come later. This can be useful for producing discontinuities in the colour gradient.
|
731
777
|
# Notice that this class is write-once, you can't modify the stops once they had been added.
|
732
|
-
# ===
|
733
778
|
#
|
734
779
|
# Category: Graphics Device Interface (GDI)
|
735
780
|
#
|
736
781
|
#
|
737
782
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
783
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
738
784
|
class GraphicsGradientStops < ::Object
|
739
785
|
|
740
786
|
# @overload add(stop)
|
@@ -799,6 +845,7 @@ module Wx
|
|
799
845
|
#
|
800
846
|
#
|
801
847
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
848
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
802
849
|
class GraphicsPenInfo < ::Object
|
803
850
|
|
804
851
|
# @param colour [Wx::Colour,String,Symbol]
|
@@ -10,6 +10,7 @@ module Wx
|
|
10
10
|
#
|
11
11
|
#
|
12
12
|
#
|
13
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
13
14
|
class AntialiasMode < Wx::Enum
|
14
15
|
|
15
16
|
# No anti-aliasing.
|
@@ -26,6 +27,7 @@ module Wx
|
|
26
27
|
#
|
27
28
|
#
|
28
29
|
#
|
30
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
29
31
|
class InterpolationQuality < Wx::Enum
|
30
32
|
|
31
33
|
# default interpolation, based on type of context, in general medium quality
|
@@ -54,6 +56,7 @@ module Wx
|
|
54
56
|
#
|
55
57
|
# The description give a short equation on how the values of a resulting pixel are calculated. R = Result, S = Source, D = Destination, colors premultiplied with alpha Ra, Sa, Da their alpha components
|
56
58
|
#
|
59
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
57
60
|
class CompositionMode < Wx::Enum
|
58
61
|
|
59
62
|
# Indicates invalid or unsupported composition mode.
|
@@ -122,6 +125,7 @@ module Wx
|
|
122
125
|
#
|
123
126
|
#
|
124
127
|
#
|
128
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
125
129
|
class GradientType < Wx::Enum
|
126
130
|
|
127
131
|
#
|
@@ -164,7 +168,6 @@ module Wx
|
|
164
168
|
|
165
169
|
# This class is the superclass of native graphics objects like pens etc.
|
166
170
|
# It allows reference counting. Not instantiated by user code.
|
167
|
-
# ===
|
168
171
|
#
|
169
172
|
# Category: Graphics Device Interface (GDI)
|
170
173
|
# @see Wx::GraphicsBrush
|
@@ -173,6 +176,7 @@ module Wx
|
|
173
176
|
# @see Wx::GraphicsPath
|
174
177
|
#
|
175
178
|
#
|
179
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
176
180
|
class GraphicsObject < Object
|
177
181
|
|
178
182
|
#
|
@@ -185,30 +189,30 @@ module Wx
|
|
185
189
|
|
186
190
|
# A {Wx::GraphicsPen} is a native representation of a pen.
|
187
191
|
# The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via {Wx::GraphicsContext#create_pen} or Wx::GraphicsRenderer#create_pen.
|
188
|
-
# ===
|
189
192
|
#
|
190
193
|
# Category: Graphics Device Interface (GDI)
|
191
194
|
#
|
195
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
192
196
|
class GraphicsPen < GraphicsObject
|
193
197
|
|
194
198
|
end # GraphicsPen
|
195
199
|
|
196
200
|
# A {Wx::GraphicsBrush} is a native representation of a brush.
|
197
201
|
# The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via {Wx::GraphicsContext#create_brush} or Wx::GraphicsRenderer#create_brush.
|
198
|
-
# ===
|
199
202
|
#
|
200
203
|
# Category: Graphics Device Interface (GDI)
|
201
204
|
#
|
205
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
202
206
|
class GraphicsBrush < GraphicsObject
|
203
207
|
|
204
208
|
end # GraphicsBrush
|
205
209
|
|
206
210
|
# A {Wx::GraphicsPath} is a native representation of a geometric path.
|
207
211
|
# The contents are specific and private to the respective renderer. Instances are reference counted and can therefore be assigned as usual. The only way to get a valid instance is by using {Wx::GraphicsContext#create_path} or Wx::GraphicsRenderer#create_path.
|
208
|
-
# ===
|
209
212
|
#
|
210
213
|
# Category: Graphics Device Interface (GDI)
|
211
214
|
#
|
215
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
212
216
|
class GraphicsPath < GraphicsObject
|
213
217
|
|
214
218
|
# Adds an arc of a circle.
|
@@ -338,20 +342,20 @@ module Wx
|
|
338
342
|
|
339
343
|
# A {Wx::GraphicsFont} is a native representation of a font.
|
340
344
|
# The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via {Wx::GraphicsContext#create_font} or Wx::GraphicsRenderer#create_font.
|
341
|
-
# ===
|
342
345
|
#
|
343
346
|
# Category: Graphics Device Interface (GDI)
|
344
347
|
#
|
348
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
345
349
|
class GraphicsFont < GraphicsObject
|
346
350
|
|
347
351
|
end # GraphicsFont
|
348
352
|
|
349
353
|
# A {Wx::GraphicsMatrix} is a native representation of an affine matrix.
|
350
354
|
# The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via {Wx::GraphicsContext#create_matrix} or Wx::GraphicsRenderer#create_matrix.
|
351
|
-
# ===
|
352
355
|
#
|
353
356
|
# Category: Graphics Device Interface (GDI)
|
354
357
|
#
|
358
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
355
359
|
class GraphicsMatrix < GraphicsObject
|
356
360
|
|
357
361
|
# Concatenates the matrix passed with the current matrix.
|
@@ -424,6 +428,7 @@ module Wx
|
|
424
428
|
# Represents a bitmap.
|
425
429
|
# The objects of this class are not created directly but only via {Wx::GraphicsContext} or {Wx::GraphicsRenderer} CreateBitmap(), CreateBitmapFromImage() or CreateSubBitmap() methods. They can subsequently be used with {Wx::GraphicsContext#draw_bitmap}. The only other operation is testing for the bitmap validity which can be performed using {Wx::GraphicsBitmap#is_null} method inherited from the base class.
|
426
430
|
#
|
431
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
427
432
|
class GraphicsBitmap < GraphicsObject
|
428
433
|
|
429
434
|
# Default constructor creates an invalid bitmap.
|