wxruby3 0.9.0.pre.beta.1-x64-mingw-ucrt-3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.wxconfig +17 -0
- data/.yardopts +13 -0
- data/CREDITS.md +52 -0
- data/LICENSE +21 -0
- data/README.md +138 -0
- data/bin/wxruby +9 -0
- data/bin/wxruby.bat +20 -0
- data/ext/mkrf_conf_bingem.rb +18 -0
- data/lib/wx/accessors.rb +63 -0
- data/lib/wx/aui/auimanager.rb +17 -0
- data/lib/wx/aui/auinotebook.rb +9 -0
- data/lib/wx/aui/events/evt_list.rb +143 -0
- data/lib/wx/aui/require.rb +9 -0
- data/lib/wx/aui.rb +14 -0
- data/lib/wx/core/acceleratortable.rb +28 -0
- data/lib/wx/core/animation.rb +18 -0
- data/lib/wx/core/app.rb +89 -0
- data/lib/wx/core/artprovider.rb +31 -0
- data/lib/wx/core/bitmap.rb +59 -0
- data/lib/wx/core/busycursor.rb +12 -0
- data/lib/wx/core/choice.rb +4 -0
- data/lib/wx/core/choicedlg.rb +54 -0
- data/lib/wx/core/clientdc.rb +13 -0
- data/lib/wx/core/clipboard.rb +56 -0
- data/lib/wx/core/collapsible_pane.rb +12 -0
- data/lib/wx/core/colour.rb +34 -0
- data/lib/wx/core/combobox.rb +4 -0
- data/lib/wx/core/controlwithitems.rb +10 -0
- data/lib/wx/core/data_object.rb +10 -0
- data/lib/wx/core/dataformat.rb +26 -0
- data/lib/wx/core/dc.rb +68 -0
- data/lib/wx/core/dialog.rb +50 -0
- data/lib/wx/core/event.rb +16 -0
- data/lib/wx/core/events/evt_list.rb +1378 -0
- data/lib/wx/core/evthandler.rb +240 -0
- data/lib/wx/core/ext.rb +58 -0
- data/lib/wx/core/font/encoding.rb +113 -0
- data/lib/wx/core/font.rb +22 -0
- data/lib/wx/core/functions.rb +44 -0
- data/lib/wx/core/gauge.rb +12 -0
- data/lib/wx/core/genericdirctrl.rb +36 -0
- data/lib/wx/core/hboxsizer.rb +6 -0
- data/lib/wx/core/helpcontroller.rb +5 -0
- data/lib/wx/core/helpcontrollerhelpprovider.rb +24 -0
- data/lib/wx/core/helpprovider.rb +15 -0
- data/lib/wx/core/icon.rb +40 -0
- data/lib/wx/core/image.rb +68 -0
- data/lib/wx/core/imagelist.rb +3 -0
- data/lib/wx/core/listbox.rb +4 -0
- data/lib/wx/core/listctrl.rb +33 -0
- data/lib/wx/core/locale.rb +73 -0
- data/lib/wx/core/log.rb +20 -0
- data/lib/wx/core/menu.rb +78 -0
- data/lib/wx/core/menu_bar.rb +20 -0
- data/lib/wx/core/menuitem.rb +7 -0
- data/lib/wx/core/notebook.rb +9 -0
- data/lib/wx/core/object.rb +14 -0
- data/lib/wx/core/pen_info.rb +11 -0
- data/lib/wx/core/platform_info.rb +13 -0
- data/lib/wx/core/point.rb +92 -0
- data/lib/wx/core/real_point.rb +92 -0
- data/lib/wx/core/rect.rb +57 -0
- data/lib/wx/core/simplehelpprovider.rb +38 -0
- data/lib/wx/core/size.rb +86 -0
- data/lib/wx/core/sizer.rb +43 -0
- data/lib/wx/core/splash_screen.rb +44 -0
- data/lib/wx/core/textctrl.rb +8 -0
- data/lib/wx/core/timer.rb +105 -0
- data/lib/wx/core/toolbar.rb +37 -0
- data/lib/wx/core/toolbartool.rb +4 -0
- data/lib/wx/core/treectrl.rb +46 -0
- data/lib/wx/core/validator.rb +8 -0
- data/lib/wx/core/variant.rb +62 -0
- data/lib/wx/core/vboxsizer.rb +6 -0
- data/lib/wx/core/window.rb +95 -0
- data/lib/wx/core/window_update_locker.rb +12 -0
- data/lib/wx/core/xmlresource.rb +56 -0
- data/lib/wx/core.rb +61 -0
- data/lib/wx/doc/aui/auimanager.rb +12 -0
- data/lib/wx/doc/aui/auinotebook.rb +9 -0
- data/lib/wx/doc/colour_dialog.rb +15 -0
- data/lib/wx/doc/dc.rb +49 -0
- data/lib/wx/doc/enum.rb +66 -0
- data/lib/wx/doc/evthandler.rb +84 -0
- data/lib/wx/doc/extra/00_starting.md +154 -0
- data/lib/wx/doc/extra/01_packages.md +179 -0
- data/lib/wx/doc/extra/02_lifecycles.md +116 -0
- data/lib/wx/doc/extra/03_dialogs.md +57 -0
- data/lib/wx/doc/extra/04_enums.md +143 -0
- data/lib/wx/doc/extra/05_event-handling.md +166 -0
- data/lib/wx/doc/extra/06_geometry.md +56 -0
- data/lib/wx/doc/extra/07_colour_and_font.md +52 -0
- data/lib/wx/doc/extra/08_extensions.md +144 -0
- data/lib/wx/doc/extra/09_exceptions.md +54 -0
- data/lib/wx/doc/functions.rb +221 -0
- data/lib/wx/doc/gdi_common.rb +181 -0
- data/lib/wx/doc/gen/about_dialog_info.rb +315 -0
- data/lib/wx/doc/gen/accelerator.rb +172 -0
- data/lib/wx/doc/gen/accessible.rb +817 -0
- data/lib/wx/doc/gen/animation.rb +253 -0
- data/lib/wx/doc/gen/animation_ctrl.rb +129 -0
- data/lib/wx/doc/gen/any_button.rb +170 -0
- data/lib/wx/doc/gen/app.rb +363 -0
- data/lib/wx/doc/gen/art_provider.rb +497 -0
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +421 -0
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +39 -0
- data/lib/wx/doc/gen/aui/aui_manager.rb +323 -0
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +112 -0
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +163 -0
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +46 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -0
- data/lib/wx/doc/gen/aui/aui_notebook.rb +329 -0
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +179 -0
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +665 -0
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +372 -0
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +147 -0
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +437 -0
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +272 -0
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +195 -0
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +224 -0
- data/lib/wx/doc/gen/aui/event_list.rb +162 -0
- data/lib/wx/doc/gen/auto_buffered_paint_dc.rb +47 -0
- data/lib/wx/doc/gen/bitmap.rb +638 -0
- data/lib/wx/doc/gen/bitmap_button.rb +91 -0
- data/lib/wx/doc/gen/book_ctrl_base.rb +240 -0
- data/lib/wx/doc/gen/book_ctrl_event.rb +60 -0
- data/lib/wx/doc/gen/box_sizer.rb +66 -0
- data/lib/wx/doc/gen/brush.rb +219 -0
- data/lib/wx/doc/gen/buffered_dc.rb +95 -0
- data/lib/wx/doc/gen/buffered_paint_dc.rb +55 -0
- data/lib/wx/doc/gen/busy_info.rb +141 -0
- data/lib/wx/doc/gen/button.rb +133 -0
- data/lib/wx/doc/gen/calculate_layout_event.rb +59 -0
- data/lib/wx/doc/gen/calendar_ctrl.rb +236 -0
- data/lib/wx/doc/gen/calendar_date_attr.rb +137 -0
- data/lib/wx/doc/gen/calendar_event.rb +150 -0
- data/lib/wx/doc/gen/caret.rb +99 -0
- data/lib/wx/doc/gen/check_box.rb +145 -0
- data/lib/wx/doc/gen/check_list_box.rb +96 -0
- data/lib/wx/doc/gen/choice.rb +143 -0
- data/lib/wx/doc/gen/choicebook.rb +100 -0
- data/lib/wx/doc/gen/client_dc.rb +49 -0
- data/lib/wx/doc/gen/clipboard.rb +128 -0
- data/lib/wx/doc/gen/collapsible_pane.rb +120 -0
- data/lib/wx/doc/gen/collapsible_pane_event.rb +45 -0
- data/lib/wx/doc/gen/colour.rb +289 -0
- data/lib/wx/doc/gen/colour_data.rb +96 -0
- data/lib/wx/doc/gen/colour_dialog.rb +84 -0
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +89 -0
- data/lib/wx/doc/gen/colour_picker_event.rb +74 -0
- data/lib/wx/doc/gen/combo_box.rb +228 -0
- data/lib/wx/doc/gen/context_help_button.rb +34 -0
- data/lib/wx/doc/gen/control.rb +245 -0
- data/lib/wx/doc/gen/control_with_items.rb +339 -0
- data/lib/wx/doc/gen/core.rb +42 -0
- data/lib/wx/doc/gen/cursor.rb +127 -0
- data/lib/wx/doc/gen/data_format.rb +94 -0
- data/lib/wx/doc/gen/data_object.rb +439 -0
- data/lib/wx/doc/gen/date_event.rb +48 -0
- data/lib/wx/doc/gen/date_picker_ctrl.rb +127 -0
- data/lib/wx/doc/gen/dc.rb +1278 -0
- data/lib/wx/doc/gen/defs.rb +2832 -0
- data/lib/wx/doc/gen/dialog.rb +426 -0
- data/lib/wx/doc/gen/dir_dialog.rb +134 -0
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +80 -0
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +103 -0
- data/lib/wx/doc/gen/drag_drop.rb +292 -0
- data/lib/wx/doc/gen/drag_image.rb +123 -0
- data/lib/wx/doc/gen/editable_list_box.rb +89 -0
- data/lib/wx/doc/gen/event.rb +911 -0
- data/lib/wx/doc/gen/event_list.rb +1512 -0
- data/lib/wx/doc/gen/events.rb +2499 -0
- data/lib/wx/doc/gen/evt_handler.rb +224 -0
- data/lib/wx/doc/gen/ext_help_controller.rb +100 -0
- data/lib/wx/doc/gen/file_dialog.rb +294 -0
- data/lib/wx/doc/gen/file_dir_picker_event.rb +98 -0
- data/lib/wx/doc/gen/file_picker_ctrl.rb +107 -0
- data/lib/wx/doc/gen/find_dialog_event.rb +119 -0
- data/lib/wx/doc/gen/find_replace_data.rb +59 -0
- data/lib/wx/doc/gen/find_replace_dialog.rb +44 -0
- data/lib/wx/doc/gen/flex_grid_sizer.rb +145 -0
- data/lib/wx/doc/gen/font.rb +1282 -0
- data/lib/wx/doc/gen/font_data.rb +132 -0
- data/lib/wx/doc/gen/font_dialog.rb +71 -0
- data/lib/wx/doc/gen/font_picker_ctrl.rb +120 -0
- data/lib/wx/doc/gen/font_picker_event.rb +64 -0
- data/lib/wx/doc/gen/frame.rb +276 -0
- data/lib/wx/doc/gen/fs_file.rb +269 -0
- data/lib/wx/doc/gen/functions.rb +10 -0
- data/lib/wx/doc/gen/gauge.rb +127 -0
- data/lib/wx/doc/gen/gb_sizer_item.rb +78 -0
- data/lib/wx/doc/gen/gcdc.rb +61 -0
- data/lib/wx/doc/gen/gdi_common.rb +1108 -0
- data/lib/wx/doc/gen/gdi_object.rb +29 -0
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +198 -0
- data/lib/wx/doc/gen/graphics_context.rb +764 -0
- data/lib/wx/doc/gen/graphics_object.rb +494 -0
- data/lib/wx/doc/gen/grid/event_list.rb +173 -0
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +33 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +279 -0
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +31 -0
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +32 -0
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +44 -0
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +31 -0
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +48 -0
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +33 -0
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +40 -0
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +35 -0
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +181 -0
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +34 -0
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +39 -0
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +41 -0
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +74 -0
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +41 -0
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +31 -0
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +98 -0
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +31 -0
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +45 -0
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +2381 -0
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +87 -0
- data/lib/wx/doc/gen/grid/grid_event.rb +96 -0
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +96 -0
- data/lib/wx/doc/gen/grid/grid_size_event.rb +71 -0
- data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -0
- data/lib/wx/doc/gen/grid/grid_table_base.rb +288 -0
- data/lib/wx/doc/gen/grid/grid_table_message.rb +73 -0
- data/lib/wx/doc/gen/grid_bag_sizer.rb +298 -0
- data/lib/wx/doc/gen/grid_sizer.rb +135 -0
- data/lib/wx/doc/gen/help_controller.rb +136 -0
- data/lib/wx/doc/gen/help_provider.rb +80 -0
- data/lib/wx/doc/gen/html/event_list.rb +46 -0
- data/lib/wx/doc/gen/html/html_cell.rb +441 -0
- data/lib/wx/doc/gen/html/html_cell_event.rb +62 -0
- data/lib/wx/doc/gen/html/html_easy_printing.rb +169 -0
- data/lib/wx/doc/gen/html/html_help_controller.rb +256 -0
- data/lib/wx/doc/gen/html/html_help_data.rb +144 -0
- data/lib/wx/doc/gen/html/html_help_frame.rb +112 -0
- data/lib/wx/doc/gen/html/html_help_window.rb +230 -0
- data/lib/wx/doc/gen/html/html_link_event.rb +36 -0
- data/lib/wx/doc/gen/html/html_list_box.rb +150 -0
- data/lib/wx/doc/gen/html/html_printout.rb +87 -0
- data/lib/wx/doc/gen/html/html_window.rb +386 -0
- data/lib/wx/doc/gen/icon.rb +267 -0
- data/lib/wx/doc/gen/icon_location.rb +38 -0
- data/lib/wx/doc/gen/image.rb +1144 -0
- data/lib/wx/doc/gen/image_list.rb +181 -0
- data/lib/wx/doc/gen/keyboard_state.rb +124 -0
- data/lib/wx/doc/gen/list_box.rb +260 -0
- data/lib/wx/doc/gen/list_ctrl.rb +1542 -0
- data/lib/wx/doc/gen/list_event.rb +177 -0
- data/lib/wx/doc/gen/listbook.rb +100 -0
- data/lib/wx/doc/gen/locale.rb +4143 -0
- data/lib/wx/doc/gen/log.rb +505 -0
- data/lib/wx/doc/gen/mdi_client_window.rb +38 -0
- data/lib/wx/doc/gen/mdi_frame.rb +235 -0
- data/lib/wx/doc/gen/media_ctrl.rb +225 -0
- data/lib/wx/doc/gen/media_event.rb +109 -0
- data/lib/wx/doc/gen/memory_dc.rb +95 -0
- data/lib/wx/doc/gen/menu.rb +493 -0
- data/lib/wx/doc/gen/menu_bar.rb +247 -0
- data/lib/wx/doc/gen/menu_item.rb +333 -0
- data/lib/wx/doc/gen/message_dialog.rb +195 -0
- data/lib/wx/doc/gen/mini_frame.rb +72 -0
- data/lib/wx/doc/gen/mirror_dc.rb +29 -0
- data/lib/wx/doc/gen/mouse_state.rb +108 -0
- data/lib/wx/doc/gen/multi_choice_dialog.rb +58 -0
- data/lib/wx/doc/gen/non_owned_window.rb +46 -0
- data/lib/wx/doc/gen/notebook.rb +220 -0
- data/lib/wx/doc/gen/number_entry_dialog.rb +75 -0
- data/lib/wx/doc/gen/object.rb +69 -0
- data/lib/wx/doc/gen/paint_dc.rb +34 -0
- data/lib/wx/doc/gen/palette.rb +90 -0
- data/lib/wx/doc/gen/panel.rb +96 -0
- data/lib/wx/doc/gen/pen.rb +484 -0
- data/lib/wx/doc/gen/pg/event_list.rb +102 -0
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +47 -0
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +295 -0
- data/lib/wx/doc/gen/pg/pg_cell.rb +166 -0
- data/lib/wx/doc/gen/pg/pg_editor.rb +569 -0
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +161 -0
- data/lib/wx/doc/gen/pg/pg_properties.rb +2193 -0
- data/lib/wx/doc/gen/pg/pg_property.rb +1852 -0
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +327 -0
- data/lib/wx/doc/gen/pg/property_grid.rb +619 -0
- data/lib/wx/doc/gen/pg/property_grid_event.rb +135 -0
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +847 -0
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +349 -0
- data/lib/wx/doc/gen/pg/property_grid_page.rb +265 -0
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +155 -0
- data/lib/wx/doc/gen/picker_base.rb +143 -0
- data/lib/wx/doc/gen/platform_info.rb +379 -0
- data/lib/wx/doc/gen/popup_window.rb +93 -0
- data/lib/wx/doc/gen/progress_dialog.rb +106 -0
- data/lib/wx/doc/gen/property_sheet_dialog.rb +185 -0
- data/lib/wx/doc/gen/prt/event_list.rb +13 -0
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +38 -0
- data/lib/wx/doc/gen/prt/post_script_dc.rb +32 -0
- data/lib/wx/doc/gen/prt/preview_frame.rb +39 -0
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +127 -0
- data/lib/wx/doc/gen/prt/print_data.rb +598 -0
- data/lib/wx/doc/gen/prt/print_dialog.rb +47 -0
- data/lib/wx/doc/gen/prt/printer.rb +428 -0
- data/lib/wx/doc/gen/prt/printer_dc.rb +35 -0
- data/lib/wx/doc/gen/query_layout_info_event.rb +98 -0
- data/lib/wx/doc/gen/radio_box.rb +258 -0
- data/lib/wx/doc/gen/radio_button.rb +128 -0
- data/lib/wx/doc/gen/rbn/event_list.rb +132 -0
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1652 -0
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +227 -0
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +40 -0
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +400 -0
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +58 -0
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -0
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +208 -0
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +51 -0
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -0
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +232 -0
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +41 -0
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +321 -0
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +36 -0
- data/lib/wx/doc/gen/region.rb +299 -0
- data/lib/wx/doc/gen/rtc/event_list.rb +121 -0
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +2052 -0
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +2031 -0
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +146 -0
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +171 -0
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +180 -0
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +104 -0
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +241 -0
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +55 -0
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +153 -0
- data/lib/wx/doc/gen/sash_event.rb +133 -0
- data/lib/wx/doc/gen/sash_layout_window.rb +203 -0
- data/lib/wx/doc/gen/sash_window.rb +154 -0
- data/lib/wx/doc/gen/screen_dc.rb +27 -0
- data/lib/wx/doc/gen/scrolled_canvas.rb +317 -0
- data/lib/wx/doc/gen/scrolled_control.rb +317 -0
- data/lib/wx/doc/gen/scrolled_window.rb +337 -0
- data/lib/wx/doc/gen/simplebook.rb +93 -0
- data/lib/wx/doc/gen/single_choice_dialog.rb +74 -0
- data/lib/wx/doc/gen/sizer.rb +847 -0
- data/lib/wx/doc/gen/sizer_item.rb +227 -0
- data/lib/wx/doc/gen/slider.rb +316 -0
- data/lib/wx/doc/gen/spin_button.rb +124 -0
- data/lib/wx/doc/gen/spin_ctrl.rb +170 -0
- data/lib/wx/doc/gen/spin_event.rb +47 -0
- data/lib/wx/doc/gen/splash_screen.rb +83 -0
- data/lib/wx/doc/gen/splitter_event.rb +87 -0
- data/lib/wx/doc/gen/splitter_window.rb +357 -0
- data/lib/wx/doc/gen/static_bitmap.rb +126 -0
- data/lib/wx/doc/gen/static_box.rb +123 -0
- data/lib/wx/doc/gen/static_box_sizer.rb +67 -0
- data/lib/wx/doc/gen/static_line.rb +66 -0
- data/lib/wx/doc/gen/static_text.rb +98 -0
- data/lib/wx/doc/gen/status_bar.rb +203 -0
- data/lib/wx/doc/gen/stc/event_list.rb +217 -0
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4000 -0
- data/lib/wx/doc/gen/stc/styled_text_event.rb +7319 -0
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +74 -0
- data/lib/wx/doc/gen/svg_file_dc.rb +153 -0
- data/lib/wx/doc/gen/system_options.rb +109 -0
- data/lib/wx/doc/gen/system_settings.rb +481 -0
- data/lib/wx/doc/gen/task_bar_icon.rb +94 -0
- data/lib/wx/doc/gen/task_bar_icon_event.rb +86 -0
- data/lib/wx/doc/gen/text_attr.rb +645 -0
- data/lib/wx/doc/gen/text_ctrl.rb +841 -0
- data/lib/wx/doc/gen/text_entry.rb +389 -0
- data/lib/wx/doc/gen/text_entry_dialog.rb +170 -0
- data/lib/wx/doc/gen/text_validator.rb +212 -0
- data/lib/wx/doc/gen/time_picker_ctrl.rb +103 -0
- data/lib/wx/doc/gen/timer.rb +103 -0
- data/lib/wx/doc/gen/timer_event.rb +73 -0
- data/lib/wx/doc/gen/tip_provider.rb +60 -0
- data/lib/wx/doc/gen/toggle_button.rb +84 -0
- data/lib/wx/doc/gen/tool_bar.rb +744 -0
- data/lib/wx/doc/gen/tool_tip.rb +73 -0
- data/lib/wx/doc/gen/toolbook.rb +103 -0
- data/lib/wx/doc/gen/top_level_window.rb +462 -0
- data/lib/wx/doc/gen/tree_ctrl.rb +863 -0
- data/lib/wx/doc/gen/tree_event.rb +101 -0
- data/lib/wx/doc/gen/treebook.rb +154 -0
- data/lib/wx/doc/gen/utils.rb +257 -0
- data/lib/wx/doc/gen/v_list_box.rb +224 -0
- data/lib/wx/doc/gen/v_scrolled_window.rb +224 -0
- data/lib/wx/doc/gen/validator.rb +73 -0
- data/lib/wx/doc/gen/variant.rb +340 -0
- data/lib/wx/doc/gen/window.rb +2414 -0
- data/lib/wx/doc/gen/window_dc.rb +35 -0
- data/lib/wx/doc/gen/window_disabler.rb +24 -0
- data/lib/wx/doc/gen/with_images.rb +73 -0
- data/lib/wx/doc/gen/wizard.rb +197 -0
- data/lib/wx/doc/gen/wizard_event.rb +105 -0
- data/lib/wx/doc/gen/wizard_page.rb +61 -0
- data/lib/wx/doc/gen/wizard_page_simple.rb +72 -0
- data/lib/wx/doc/gen/xml_node.rb +282 -0
- data/lib/wx/doc/gen/xml_resource.rb +304 -0
- data/lib/wx/doc/grid/grid.rb +20 -0
- data/lib/wx/doc/help_controller.rb +14 -0
- data/lib/wx/doc/html/html_help_controller.rb +8 -0
- data/lib/wx/doc/pg/events.rb +15 -0
- data/lib/wx/doc/pg/pg_property.rb +8 -0
- data/lib/wx/doc/pg/pgeditor.rb +21 -0
- data/lib/wx/doc/pg/property_grid.rb +48 -0
- data/lib/wx/doc/pg/property_grid_interface.rb +64 -0
- data/lib/wx/doc/prt/page_setup_dialog.rb +15 -0
- data/lib/wx/doc/prt/print_data.rb +9 -0
- data/lib/wx/doc/prt/print_dialog.rb +26 -0
- data/lib/wx/doc/prt/printer.rb +15 -0
- data/lib/wx/doc/rbn/ribbon_bar.rb +9 -0
- data/lib/wx/doc/rbn/ribbon_button_bar.rb +9 -0
- data/lib/wx/doc/rbn/ribbon_gallery.rb +9 -0
- data/lib/wx/doc/rbn/ribbon_tool_bar.rb +9 -0
- data/lib/wx/doc/rtc/richtext_printing.rb +14 -0
- data/lib/wx/doc/screen_dc.rb +10 -0
- data/lib/wx/doc/stock_objects.rb +98 -0
- data/lib/wx/doc/stream.rb +38 -0
- data/lib/wx/doc/system_settings.rb +29 -0
- data/lib/wx/doc/treebook.rb +9 -0
- data/lib/wx/doc/variant.rb +163 -0
- data/lib/wx/doc/xml_resource.rb +19 -0
- data/lib/wx/global_const.rb +84 -0
- data/lib/wx/grid/events/evt_list.rb +156 -0
- data/lib/wx/grid/grid.rb +7 -0
- data/lib/wx/grid/keyword_defs.rb +10 -0
- data/lib/wx/grid/require.rb +9 -0
- data/lib/wx/grid.rb +14 -0
- data/lib/wx/helpers.rb +65 -0
- data/lib/wx/html/events/evt_list.rb +37 -0
- data/lib/wx/html/htmlhelpcontroller.rb +6 -0
- data/lib/wx/html/htmlwindow.rb +19 -0
- data/lib/wx/html/keyword_defs.rb +22 -0
- data/lib/wx/html/require.rb +10 -0
- data/lib/wx/html.rb +15 -0
- data/lib/wx/keyword_ctors.rb +226 -0
- data/lib/wx/keyword_defs.rb +487 -0
- data/lib/wx/pg/events/evt_list.rb +73 -0
- data/lib/wx/pg/events.rb +14 -0
- data/lib/wx/pg/keyword_defs.rb +15 -0
- data/lib/wx/pg/pg_editor.rb +13 -0
- data/lib/wx/pg/pg_properties.rb +24 -0
- data/lib/wx/pg/pg_property.rb +26 -0
- data/lib/wx/pg/property_grid.rb +56 -0
- data/lib/wx/pg/property_grid_interface.rb +33 -0
- data/lib/wx/pg/require.rb +12 -0
- data/lib/wx/pg.rb +14 -0
- data/lib/wx/prt/keyword_defs.rb +8 -0
- data/lib/wx/prt/page_setup_dialog.rb +15 -0
- data/lib/wx/prt/previewframe.rb +13 -0
- data/lib/wx/prt/require.rb +8 -0
- data/lib/wx/prt.rb +14 -0
- data/lib/wx/rbn/events/evt_list.rb +102 -0
- data/lib/wx/rbn/events.rb +4 -0
- data/lib/wx/rbn/keyword_defs.rb +43 -0
- data/lib/wx/rbn/require.rb +12 -0
- data/lib/wx/rbn/ribbon_art_provider.rb +10 -0
- data/lib/wx/rbn/ribbon_bar.rb +12 -0
- data/lib/wx/rbn/ribbon_button_bar.rb +26 -0
- data/lib/wx/rbn/ribbon_control.rb +25 -0
- data/lib/wx/rbn/ribbon_gallery.rb +26 -0
- data/lib/wx/rbn/ribbon_page.rb +15 -0
- data/lib/wx/rbn/ribbon_panel.rb +15 -0
- data/lib/wx/rbn/ribbon_tool_bar.rb +26 -0
- data/lib/wx/rbn.rb +14 -0
- data/lib/wx/rtc/events/evt_list.rb +98 -0
- data/lib/wx/rtc/ext/rich_text_ctrl.rb +24 -0
- data/lib/wx/rtc/ext.rb +15 -0
- data/lib/wx/rtc/keyword_defs.rb +17 -0
- data/lib/wx/rtc/require.rb +8 -0
- data/lib/wx/rtc.rb +15 -0
- data/lib/wx/stc/events/evt_list.rb +178 -0
- data/lib/wx/stc/keyword_defs.rb +8 -0
- data/lib/wx/stc/require.rb +7 -0
- data/lib/wx/stc.rb +14 -0
- data/lib/wx/version.rb +3 -0
- data/lib/wx/wxruby/base.rb +87 -0
- data/lib/wx/wxruby/cmd/sampler.rb +68 -0
- data/lib/wx/wxruby/cmd/test.rb +27 -0
- data/lib/wx.rb +14 -0
- 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 +220 -0
- data/rakelib/lib/config/cygwin.rb +6 -0
- data/rakelib/lib/config/linux.rb +78 -0
- data/rakelib/lib/config/macosx.rb +6 -0
- data/rakelib/lib/config/mingw.rb +133 -0
- data/rakelib/lib/config/netbsd.rb +6 -0
- data/rakelib/lib/config/unixish.rb +187 -0
- data/rakelib/lib/config.rb +673 -0
- data/rakelib/lib/ext/enum_chain.rb +22 -0
- data/rakelib/prepost.rake +91 -0
- data/rakelib/prepost.rb +26 -0
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +7 -0
- data/rakelib/yard/templates/default/layout/html/setup.rb +5 -0
- data/rakelib/yard/yard/relative_markdown_links/version.rb +8 -0
- data/rakelib/yard/yard/relative_markdown_links.rb +39 -0
- data/rakelib/yard/yard-custom-templates.rb +2 -0
- data/rakelib/yard/yard-relative_markdown_links.rb +4 -0
- data/samples/art/wxruby-128x128.png +0 -0
- data/samples/art/wxruby-256x256.png +0 -0
- data/samples/art/wxruby-64x64.png +0 -0
- data/samples/art/wxruby.ico +0 -0
- data/samples/art/wxruby.png +0 -0
- data/samples/aui/aui.rb +1321 -0
- data/samples/aui/tn_aui.png +0 -0
- data/samples/bigdemo/About.rbw +39 -0
- data/samples/bigdemo/ColorPanel.rbw +23 -0
- data/samples/bigdemo/GridSimple.rbw +78 -0
- data/samples/bigdemo/MDIDemo.rbw +57 -0
- data/samples/bigdemo/PopupMenu.rbw +146 -0
- data/samples/bigdemo/ShapedWindow.rbw +128 -0
- data/samples/bigdemo/Sizers.rbw +541 -0
- data/samples/bigdemo/bigdemo.rb +810 -0
- data/samples/bigdemo/demoTemplate.rbw +33 -0
- data/samples/bigdemo/helpfile.htb +0 -0
- data/samples/bigdemo/icons/Test 015.jpg +0 -0
- data/samples/bigdemo/icons/Test 015.png +0 -0
- data/samples/bigdemo/icons/choice.bmp +0 -0
- data/samples/bigdemo/icons/choice.xpm +27 -0
- data/samples/bigdemo/icons/combo.bmp +0 -0
- data/samples/bigdemo/icons/combo.xpm +27 -0
- data/samples/bigdemo/icons/copy.xpm +25 -0
- data/samples/bigdemo/icons/cut.xpm +24 -0
- data/samples/bigdemo/icons/gauge.bmp +0 -0
- data/samples/bigdemo/icons/gauge.xpm +27 -0
- data/samples/bigdemo/icons/help.xpm +25 -0
- data/samples/bigdemo/icons/list.bmp +0 -0
- data/samples/bigdemo/icons/list.xpm +27 -0
- data/samples/bigdemo/icons/mondrian.ico +0 -0
- data/samples/bigdemo/icons/mondrian.xpm +44 -0
- data/samples/bigdemo/icons/new.xpm +24 -0
- data/samples/bigdemo/icons/ogl.ico +0 -0
- data/samples/bigdemo/icons/ogl.xpm +45 -0
- data/samples/bigdemo/icons/open.xpm +26 -0
- data/samples/bigdemo/icons/paste.bmp +0 -0
- data/samples/bigdemo/icons/paste.xpm +38 -0
- data/samples/bigdemo/icons/pointy.png +0 -0
- data/samples/bigdemo/icons/preview.xpm +26 -0
- data/samples/bigdemo/icons/print.xpm +26 -0
- data/samples/bigdemo/icons/radio.bmp +0 -0
- data/samples/bigdemo/icons/radio.xpm +27 -0
- data/samples/bigdemo/icons/robert.xpm +415 -0
- data/samples/bigdemo/icons/sashtest.ico +0 -0
- data/samples/bigdemo/icons/save.xpm +25 -0
- data/samples/bigdemo/icons/smiles.bmp +0 -0
- data/samples/bigdemo/icons/smiles.xpm +39 -0
- data/samples/bigdemo/icons/smiley.ico +0 -0
- data/samples/bigdemo/icons/smiley.xpm +42 -0
- data/samples/bigdemo/icons/stattext.xpm +24 -0
- data/samples/bigdemo/icons/test2.bmp +0 -0
- data/samples/bigdemo/icons/test2.png +0 -0
- data/samples/bigdemo/icons/test2.xpm +79 -0
- data/samples/bigdemo/icons/text.bmp +0 -0
- data/samples/bigdemo/icons/text.xpm +27 -0
- data/samples/bigdemo/icons/tog1.bmp +0 -0
- data/samples/bigdemo/icons/tog1.xpm +38 -0
- data/samples/bigdemo/icons/tog2.bmp +0 -0
- data/samples/bigdemo/icons/tog2.xpm +38 -0
- data/samples/bigdemo/icons/wxruby-128x128.png +0 -0
- data/samples/bigdemo/icons/wxwin.ico +0 -0
- data/samples/bigdemo/icons/wxwin16x16.png +0 -0
- data/samples/bigdemo/icons/wxwin16x16.xpm +25 -0
- data/samples/bigdemo/icons/wxwin32x32.png +0 -0
- data/samples/bigdemo/icons/wxwin48x48.png +0 -0
- data/samples/bigdemo/run.rb +91 -0
- data/samples/bigdemo/tips.txt +7 -0
- data/samples/bigdemo/utils.rb +12 -0
- data/samples/bigdemo/wxArtProvider.rbw +281 -0
- data/samples/bigdemo/wxBitmapButton.rbw +65 -0
- data/samples/bigdemo/wxButton.rbw +64 -0
- data/samples/bigdemo/wxCalendarCtrl.rbw +59 -0
- data/samples/bigdemo/wxCheckBox.rbw +50 -0
- data/samples/bigdemo/wxCheckListBox.rbw +65 -0
- data/samples/bigdemo/wxChoice.rbw +47 -0
- data/samples/bigdemo/wxChoicebook.rbw +78 -0
- data/samples/bigdemo/wxColourDialog.rbw +33 -0
- data/samples/bigdemo/wxComboBox.rbw +77 -0
- data/samples/bigdemo/wxCursor.rbw +136 -0
- data/samples/bigdemo/wxDialog.rbw +74 -0
- data/samples/bigdemo/wxDirDialog.rbw +29 -0
- data/samples/bigdemo/wxDragImage.rbw +70 -0
- data/samples/bigdemo/wxFileDialog.rbw +37 -0
- data/samples/bigdemo/wxFileDialog_Save.rbw +35 -0
- data/samples/bigdemo/wxFindReplaceDialog.rbw +82 -0
- data/samples/bigdemo/wxFontDialog.rbw +200 -0
- data/samples/bigdemo/wxFrame.rbw +53 -0
- data/samples/bigdemo/wxGauge.rbw +65 -0
- data/samples/bigdemo/wxGenericDirCtrl.rbw +74 -0
- data/samples/bigdemo/wxGrid.rbw +66 -0
- data/samples/bigdemo/wxHtmlHelpController.rbw +52 -0
- data/samples/bigdemo/wxListBox.rbw +140 -0
- data/samples/bigdemo/wxListCtrl_virtual.rbw +112 -0
- data/samples/bigdemo/wxMDIWindows.rbw +50 -0
- data/samples/bigdemo/wxMenu.rbw +247 -0
- data/samples/bigdemo/wxMessageDialog.rbw +27 -0
- data/samples/bigdemo/wxMiniFrame.rbw +70 -0
- data/samples/bigdemo/wxMultipleChoiceDialog.rbw +29 -0
- data/samples/bigdemo/wxNotebook.rbw +136 -0
- data/samples/bigdemo/wxProgressDialog.rbw +43 -0
- data/samples/bigdemo/wxRadioBox.rbw +72 -0
- data/samples/bigdemo/wxRadioButton.rbw +125 -0
- data/samples/bigdemo/wxSashWindow.rbw +141 -0
- data/samples/bigdemo/wxScrolledMessageDialog.rbw +57 -0
- data/samples/bigdemo/wxScrolledWindow.rbw +199 -0
- data/samples/bigdemo/wxSingleChoiceDialog.rbw +33 -0
- data/samples/bigdemo/wxSlider.rbw +42 -0
- data/samples/bigdemo/wxSpinButton.rbw +50 -0
- data/samples/bigdemo/wxSpinCtrl.rbw +51 -0
- data/samples/bigdemo/wxSplitterWindow.rbw +63 -0
- data/samples/bigdemo/wxStaticBitmap.rbw +47 -0
- data/samples/bigdemo/wxStaticText.rbw +55 -0
- data/samples/bigdemo/wxStatusBar.rbw +126 -0
- data/samples/bigdemo/wxTextCtrl.rbw +149 -0
- data/samples/bigdemo/wxTextEntryDialog.rbw +31 -0
- data/samples/bigdemo/wxToggleButton.rbw +49 -0
- data/samples/bigdemo/wxToolBar.rbw +131 -0
- data/samples/bigdemo/wxTreeCtrl.rbw +191 -0
- data/samples/calendar/calendar.rb +363 -0
- data/samples/calendar/tn_calendar.png +0 -0
- data/samples/caret/caret.rb +293 -0
- data/samples/caret/mondrian.xpm +44 -0
- data/samples/caret/tn_caret.png +0 -0
- data/samples/controls/books.rb +183 -0
- data/samples/controls/controls.rb +1143 -0
- data/samples/controls/get_item_sample.rb +117 -0
- data/samples/controls/icons/choice.xpm +27 -0
- data/samples/controls/icons/combo.xpm +27 -0
- data/samples/controls/icons/gauge.xpm +27 -0
- data/samples/controls/icons/list.xpm +27 -0
- data/samples/controls/icons/radio.xpm +27 -0
- data/samples/controls/icons/stattext.xpm +24 -0
- data/samples/controls/icons/text.xpm +27 -0
- data/samples/controls/mondrian.ico +0 -0
- data/samples/controls/mondrian.xpm +44 -0
- data/samples/controls/test2.bmp +0 -0
- data/samples/controls/tn_books.png +0 -0
- data/samples/controls/tn_controls.png +0 -0
- data/samples/controls/tn_get_item_sample.png +0 -0
- data/samples/dialogs/dialogs.rb +879 -0
- data/samples/dialogs/tips.txt +18 -0
- data/samples/dialogs/tn_dialogs.png +0 -0
- data/samples/dialogs/tn_wizard.png +0 -0
- data/samples/dialogs/wizard.rb +89 -0
- data/samples/dragdrop/dragdrop.rb +200 -0
- data/samples/dragdrop/tn_dragdrop.png +0 -0
- data/samples/drawing/SVGlogo24.xpm +310 -0
- data/samples/drawing/bitmap.rb +76 -0
- data/samples/drawing/bitmap_image.rb +131 -0
- data/samples/drawing/graphics_drawing.rb +257 -0
- data/samples/drawing/maths_images.rb +327 -0
- data/samples/drawing/rmagic_bitmap_image.rb +139 -0
- data/samples/drawing/ruby-logo.jpg +0 -0
- data/samples/drawing/svgtest.rb +373 -0
- data/samples/drawing/tn_bitmap.png +0 -0
- data/samples/drawing/tn_bitmap_image.png +0 -0
- data/samples/drawing/tn_graphics_drawing.png +0 -0
- data/samples/drawing/tn_maths_images.png +0 -0
- data/samples/drawing/tn_rmagic_bitmap_image.png +0 -0
- data/samples/drawing/tn_svgtest.png +0 -0
- data/samples/etc/choice.rb +82 -0
- data/samples/etc/miniframe.rb +92 -0
- data/samples/etc/sash.rb +140 -0
- data/samples/etc/scrollwin.rb +120 -0
- data/samples/etc/system_settings.rb +263 -0
- data/samples/etc/tn_choice.png +0 -0
- data/samples/etc/tn_miniframe.png +0 -0
- data/samples/etc/tn_sash.png +0 -0
- data/samples/etc/tn_scrollwin.png +0 -0
- data/samples/etc/tn_system_settings.png +0 -0
- data/samples/event/activation.rb +129 -0
- data/samples/event/event.rb +220 -0
- data/samples/event/threaded.rb +141 -0
- data/samples/event/tn_activation.png +0 -0
- data/samples/event/tn_event.png +0 -0
- data/samples/event/tn_threaded.png +0 -0
- data/samples/event/tn_update_ui_event.png +0 -0
- data/samples/event/update_ui_event.rb +91 -0
- data/samples/grid/grid.rb +224 -0
- data/samples/grid/gridtablebase.rb +178 -0
- data/samples/grid/tn_grid.png +0 -0
- data/samples/grid/tn_gridtablebase.png +0 -0
- data/samples/html/8859_2.htm +14 -0
- data/samples/html/cp1250.htm +19 -0
- data/samples/html/foo.png +0 -0
- data/samples/html/html.rb +278 -0
- data/samples/html/i18n.gif +0 -0
- data/samples/html/imagemap.htm +20 -0
- data/samples/html/imagemap.png +0 -0
- data/samples/html/listtest.htm +28 -0
- data/samples/html/pic.png +0 -0
- data/samples/html/pic2.bmp +0 -0
- data/samples/html/regres.htm +20 -0
- data/samples/html/subsup.html +42 -0
- data/samples/html/tables.htm +255 -0
- data/samples/html/test.htm +375 -0
- data/samples/html/tn_html.png +0 -0
- data/samples/mdi/mdi.rb +118 -0
- data/samples/mdi/tn_mdi.png +0 -0
- data/samples/minimal/minimal.rb +95 -0
- data/samples/minimal/mondrian.ico +0 -0
- data/samples/minimal/mondrian.png +0 -0
- data/samples/minimal/nothing.rb +38 -0
- data/samples/minimal/tn_minimal.png +0 -0
- data/samples/minimal/tn_nothing.png +0 -0
- data/samples/printing/mondrian.ico +0 -0
- data/samples/printing/mondrian.xpm +44 -0
- data/samples/printing/printing.rb +499 -0
- data/samples/printing/printing2.rb +251 -0
- data/samples/printing/sample-text.txt +213 -0
- data/samples/printing/tn_printing.png +0 -0
- data/samples/printing/tn_printing2.png +0 -0
- data/samples/propgrid/propgrid.rb +2707 -0
- data/samples/propgrid/propgrid_minimal.rb +106 -0
- data/samples/propgrid/sample_props.rb +434 -0
- data/samples/propgrid/tn_propgrid.png +0 -0
- data/samples/propgrid/tn_propgrid_minimal.png +0 -0
- data/samples/ribbon/align_center.xpm +21 -0
- data/samples/ribbon/align_left.xpm +21 -0
- data/samples/ribbon/align_right.xpm +21 -0
- data/samples/ribbon/aui_style.xpm +53 -0
- data/samples/ribbon/auto_crop_selection.xpm +55 -0
- data/samples/ribbon/auto_crop_selection_small.xpm +33 -0
- data/samples/ribbon/circle.xpm +38 -0
- data/samples/ribbon/circle_small.xpm +22 -0
- data/samples/ribbon/colours.xpm +25 -0
- data/samples/ribbon/cross.xpm +38 -0
- data/samples/ribbon/empty.xpm +23 -0
- data/samples/ribbon/expand_selection_h.xpm +46 -0
- data/samples/ribbon/expand_selection_v.xpm +46 -0
- data/samples/ribbon/eye.xpm +26 -0
- data/samples/ribbon/hexagon.xpm +38 -0
- data/samples/ribbon/msw_style.xpm +65 -0
- data/samples/ribbon/position_left.xpm +22 -0
- data/samples/ribbon/position_top.xpm +22 -0
- data/samples/ribbon/ribbon.rb +900 -0
- data/samples/ribbon/ribbon.xpm +54 -0
- data/samples/ribbon/selection_panel.xpm +23 -0
- data/samples/ribbon/square.xpm +38 -0
- data/samples/ribbon/tn_ribbon.png +0 -0
- data/samples/ribbon/triangle.xpm +38 -0
- data/samples/sample.xpm +475 -0
- data/samples/sampler/back.xpm +21 -0
- data/samples/sampler/copy.xpm +44 -0
- data/samples/sampler/cut.xpm +46 -0
- data/samples/sampler/editor.rb +534 -0
- data/samples/sampler/ext.rb +51 -0
- data/samples/sampler/filesave.xpm +42 -0
- data/samples/sampler/find.xpm +62 -0
- data/samples/sampler/findrepl.xpm +63 -0
- data/samples/sampler/forward.xpm +21 -0
- data/samples/sampler/paste.xpm +46 -0
- data/samples/sampler/play.xpm +24 -0
- data/samples/sampler/redo.xpm +58 -0
- data/samples/sampler/sample.rb +337 -0
- data/samples/sampler/stc_editor.rb +326 -0
- data/samples/sampler/txt_editor.rb +135 -0
- data/samples/sampler/undo.xpm +58 -0
- data/samples/sampler.rb +401 -0
- data/samples/splash/mobile.xpm +1835 -0
- data/samples/splash/splash.png +0 -0
- data/samples/splash/splash.rb +164 -0
- data/samples/splash/tn_splash.png +0 -0
- data/samples/text/document-open.png +0 -0
- data/samples/text/document-save.png +0 -0
- data/samples/text/edit-copy.png +0 -0
- data/samples/text/edit-cut.png +0 -0
- data/samples/text/edit-paste.png +0 -0
- data/samples/text/edit-redo.png +0 -0
- data/samples/text/edit-undo.png +0 -0
- data/samples/text/format-text-bold.png +0 -0
- data/samples/text/format-text-italic.png +0 -0
- data/samples/text/format-text-underline.png +0 -0
- data/samples/text/mondrian.ico +0 -0
- data/samples/text/mondrian.xpm +44 -0
- data/samples/text/preferences-desktop-font.png +0 -0
- data/samples/text/rich_textctrl.rb +326 -0
- data/samples/text/scintilla.rb +179 -0
- data/samples/text/textctrl.rb +124 -0
- data/samples/text/tn_rich_textctrl.png +0 -0
- data/samples/text/tn_scintilla.png +0 -0
- data/samples/text/tn_textctrl.png +0 -0
- data/samples/text/tn_unicode.png +0 -0
- data/samples/text/unicode.rb +238 -0
- data/samples/text/utf8.txt +15 -0
- data/samples/treectrl/checked.xpm +54 -0
- data/samples/treectrl/icon1.xpm +79 -0
- data/samples/treectrl/icon2.xpm +53 -0
- data/samples/treectrl/icon3.xpm +79 -0
- data/samples/treectrl/icon4.xpm +43 -0
- data/samples/treectrl/icon5.xpm +79 -0
- data/samples/treectrl/state1.xpm +145 -0
- data/samples/treectrl/state2.xpm +144 -0
- data/samples/treectrl/state3.xpm +142 -0
- data/samples/treectrl/state4.xpm +145 -0
- data/samples/treectrl/state5.xpm +85 -0
- data/samples/treectrl/tn_treectrl.png +0 -0
- data/samples/treectrl/treectrl.rb +1720 -0
- data/samples/treectrl/unchecked.xpm +30 -0
- data/samples/xrc/custom_dialog.xrc +46 -0
- data/samples/xrc/custom_xrc_sample.rb +84 -0
- data/samples/xrc/samples.xrc +46 -0
- data/samples/xrc/tn_xrc_sample.png +0 -0
- data/samples/xrc/xrc_sample.rb +86 -0
- data/tests/test_basic.rb +20 -0
- data/tests/test_clipboard.rb +241 -0
- data/tests/test_dialog.rb +28 -0
- data/tests/test_event_handling.rb +103 -0
- data/tests/test_events.rb +45 -0
- data/tests/test_geometry.rb +141 -0
- data/tests/test_intl.rb +107 -0
- data/tests/test_item_data.rb +120 -0
- data/tests/test_variant.rb +151 -0
- data/tests/testapp.rb +40 -0
- data/tests/testapp_noframe.rb +28 -0
- metadata +912 -0
@@ -0,0 +1,357 @@
|
|
1
|
+
# :stopdoc:
|
2
|
+
# This file is automatically generated by the WXRuby3 documentation
|
3
|
+
# generator. Do not alter this file.
|
4
|
+
# :startdoc:
|
5
|
+
|
6
|
+
|
7
|
+
module Wx
|
8
|
+
|
9
|
+
#
|
10
|
+
SP_NOBORDER = 0
|
11
|
+
|
12
|
+
#
|
13
|
+
SP_THIN_SASH = 0
|
14
|
+
|
15
|
+
#
|
16
|
+
SP_NOSASH = 16
|
17
|
+
|
18
|
+
#
|
19
|
+
SP_PERMIT_UNSPLIT = 64
|
20
|
+
|
21
|
+
#
|
22
|
+
SP_LIVE_UPDATE = 128
|
23
|
+
|
24
|
+
#
|
25
|
+
SP_3DSASH = 256
|
26
|
+
|
27
|
+
#
|
28
|
+
SP_3DBORDER = 512
|
29
|
+
|
30
|
+
#
|
31
|
+
SP_NO_XP_THEME = 1024
|
32
|
+
|
33
|
+
#
|
34
|
+
SP_BORDER = 512
|
35
|
+
|
36
|
+
#
|
37
|
+
SP_3D = 768
|
38
|
+
|
39
|
+
#
|
40
|
+
#
|
41
|
+
#
|
42
|
+
#
|
43
|
+
class SplitMode < Wx::Enum
|
44
|
+
|
45
|
+
#
|
46
|
+
#
|
47
|
+
SPLIT_HORIZONTAL = Wx::SplitMode.new(1)
|
48
|
+
|
49
|
+
#
|
50
|
+
#
|
51
|
+
SPLIT_VERTICAL = Wx::SplitMode.new(2)
|
52
|
+
|
53
|
+
end # SplitMode
|
54
|
+
|
55
|
+
#
|
56
|
+
#
|
57
|
+
SPLIT_DRAG_NONE = 0
|
58
|
+
|
59
|
+
#
|
60
|
+
#
|
61
|
+
SPLIT_DRAG_DRAGGING = 1
|
62
|
+
|
63
|
+
#
|
64
|
+
#
|
65
|
+
SPLIT_DRAG_LEFT_DOWN = 2
|
66
|
+
|
67
|
+
#
|
68
|
+
#
|
69
|
+
EVT_SPLITTER_SASH_POS_CHANGED = 10092
|
70
|
+
|
71
|
+
#
|
72
|
+
#
|
73
|
+
EVT_SPLITTER_SASH_POS_CHANGING = 10093
|
74
|
+
|
75
|
+
#
|
76
|
+
#
|
77
|
+
EVT_SPLITTER_SASH_POS_RESIZE = 10094
|
78
|
+
|
79
|
+
#
|
80
|
+
#
|
81
|
+
EVT_SPLITTER_DOUBLECLICKED = 10095
|
82
|
+
|
83
|
+
#
|
84
|
+
#
|
85
|
+
EVT_SPLITTER_UNSPLIT = 10096
|
86
|
+
|
87
|
+
# This class manages up to two subwindows.
|
88
|
+
# The current view can be split into two programmatically (perhaps from a menu command), and unsplit either programmatically or via the {Wx::SplitterWindow} user interface.
|
89
|
+
# === Styles
|
90
|
+
#
|
91
|
+
# This class supports the following styles:
|
92
|
+
#
|
93
|
+
# - {Wx::SP_3D}: Draws a 3D effect border and sash.
|
94
|
+
# - {Wx::SP_THIN_SASH}: Draws a thin sash.
|
95
|
+
# - {Wx::SP_3DSASH}: Draws a 3D effect sash (part of default style).
|
96
|
+
# - {Wx::SP_3DBORDER}: Synonym for {Wx::SP_BORDER}.
|
97
|
+
# - {Wx::SP_BORDER}: Draws a standard border.
|
98
|
+
# - {Wx::SP_NOBORDER}: No border (default).
|
99
|
+
# - {Wx::SP_NO_XP_THEME}: Under Windows, switches off the attempt to draw the splitter using Windows theming, so the borders and sash will take on the pre-XP look.
|
100
|
+
# - {Wx::SP_PERMIT_UNSPLIT}: Always allow to unsplit, even with the minimum pane size other than zero.
|
101
|
+
# - {Wx::SP_LIVE_UPDATE}: Don't draw XOR line but resize the child windows immediately.
|
102
|
+
#
|
103
|
+
# === Events emitted by this class
|
104
|
+
#
|
105
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::SplitterEvent} events.
|
106
|
+
# Event handler methods for events emitted by this class:
|
107
|
+
# - {Wx::EvtHandler#evt_splitter_sash_pos_changing}(id, meth = nil, &block): The sash position is in the process of being changed. May be used to modify the position of the tracking bar to properly reflect the position that would be set if the drag were to be completed at this point. Processes a {Wx::EVT_SPLITTER_SASH_POS_CHANGING} event.
|
108
|
+
# - {Wx::EvtHandler#evt_splitter_sash_pos_resize}(id, meth = nil, &block): The sash position is in the process of being updated. May be used to modify the position of the tracking bar to properly reflect the position that would be set if the update were to be completed. This can happen e.g. when the window is resized and the sash is moved according to the gravity setting. This event is sent when the window is resized and allows the application to select the desired new sash position. If it doesn't process the event, the position is determined by the gravity setting. Processes a {Wx::EVT_SPLITTER_SASH_POS_RESIZE} event and is only available in wxWidgets 3.1.6 or newer.
|
109
|
+
# - {Wx::EvtHandler#evt_splitter_sash_pos_changed}(id, meth = nil, &block): The sash position was changed. May be used to modify the sash position before it is set, or to prevent the change from taking place. Processes a {Wx::EVT_SPLITTER_SASH_POS_CHANGED} event.
|
110
|
+
# - {Wx::EvtHandler#evt_splitter_unsplit}(id, meth = nil, &block): The splitter has been just unsplit. Processes a {Wx::EVT_SPLITTER_UNSPLIT} event.
|
111
|
+
# - {Wx::EvtHandler#evt_splitter_dclick}(id, meth = nil, &block): The sash was double clicked. The default behaviour is to unsplit the window when this happens (unless the minimum pane size has been set to a value greater than zero). Processes a {Wx::EVT_SPLITTER_DOUBLECLICKED} event.
|
112
|
+
#
|
113
|
+
# ===
|
114
|
+
#
|
115
|
+
# Category: Miscellaneous Windows
|
116
|
+
# @see Wx::SplitterEvent
|
117
|
+
# @see wxSplitterWindow Overview
|
118
|
+
#
|
119
|
+
#
|
120
|
+
class SplitterWindow < Window
|
121
|
+
|
122
|
+
# @overload initialize()
|
123
|
+
# Default constructor.
|
124
|
+
# @return [SplitterWindow]
|
125
|
+
# @overload initialize(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=wxSP_3D, name=("Wx::SPLITTER_WINDOW"))
|
126
|
+
# Constructor for creating the window.
|
127
|
+
# After using this constructor, you must create either one or two subwindows with the splitter window as parent, and then call one of {Wx::SplitterWindow#initialize}, {Wx::SplitterWindow#split_vertically} and {Wx::SplitterWindow#split_horizontally} in order to set the pane(s). You can create two windows, with one hidden when not being shown; or you can create and delete the second pane on demand.
|
128
|
+
# @see Wx::SplitterWindow#initialize
|
129
|
+
# @see Wx::SplitterWindow#split_vertically
|
130
|
+
# @see Wx::SplitterWindow#split_horizontally
|
131
|
+
# @see Wx::SplitterWindow#create
|
132
|
+
# @param parent [Wx::Window] The parent of the splitter window.
|
133
|
+
# @param id [Integer] The window identifier.
|
134
|
+
# @param pos [Array(Integer, Integer), Wx::Point] The window position.
|
135
|
+
# @param size [Array(Integer, Integer), Wx::Size] The window size.
|
136
|
+
# @param style [Integer] The window style. See {Wx::SplitterWindow}.
|
137
|
+
# @param name [String] The window name.
|
138
|
+
# @return [SplitterWindow]
|
139
|
+
def initialize(*args) end
|
140
|
+
|
141
|
+
# Creation function, for two-step construction.
|
142
|
+
# See {Wx::SplitterWindow#splitter_window} for details.
|
143
|
+
# @param parent [Wx::Window]
|
144
|
+
# @param id [Integer]
|
145
|
+
# @param point [Array(Integer, Integer), Wx::Point]
|
146
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
147
|
+
# @param style [Integer]
|
148
|
+
# @param name [String]
|
149
|
+
# @return [true,false]
|
150
|
+
def create(parent, id=Wx::ID_ANY, point=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=wxSP_3D, name=("Wx::SPLITTER")) end
|
151
|
+
|
152
|
+
# Returns the current minimum pane size (defaults to zero).
|
153
|
+
#
|
154
|
+
# @see Wx::SplitterWindow#set_minimum_pane_size
|
155
|
+
# @return [Integer]
|
156
|
+
def get_minimum_pane_size; end
|
157
|
+
alias_method :minimum_pane_size, :get_minimum_pane_size
|
158
|
+
|
159
|
+
# Returns the current sash gravity.
|
160
|
+
#
|
161
|
+
# @see Wx::SplitterWindow#set_sash_gravity
|
162
|
+
# @return [Float]
|
163
|
+
def get_sash_gravity; end
|
164
|
+
alias_method :sash_gravity, :get_sash_gravity
|
165
|
+
|
166
|
+
# Returns the current sash position.
|
167
|
+
#
|
168
|
+
# @see Wx::SplitterWindow#set_sash_position
|
169
|
+
# @return [Integer]
|
170
|
+
def get_sash_position; end
|
171
|
+
alias_method :sash_position, :get_sash_position
|
172
|
+
|
173
|
+
# Returns the default sash size in pixels or 0 if it is invisible.
|
174
|
+
#
|
175
|
+
# @see Wx::SplitterWindow#get_default_sash_size
|
176
|
+
# @see Wx::SplitterWindow#is_sash_invisible
|
177
|
+
# @return [Integer]
|
178
|
+
def get_sash_size; end
|
179
|
+
alias_method :sash_size, :get_sash_size
|
180
|
+
|
181
|
+
# Returns the default sash size in pixels.
|
182
|
+
# The size of the sash is its width for a vertically split window and its height for a horizontally split one. Its other direction is the same as the client size of the window in the corresponding direction.
|
183
|
+
# The default sash size is platform-dependent because it conforms to the current platform look-and-feel and cannot be changed.
|
184
|
+
# @return [Integer]
|
185
|
+
def get_default_sash_size; end
|
186
|
+
alias_method :default_sash_size, :get_default_sash_size
|
187
|
+
|
188
|
+
# Gets the split mode.
|
189
|
+
#
|
190
|
+
# @see Wx::SplitterWindow#set_split_mode
|
191
|
+
# @see Wx::SplitterWindow#split_vertically
|
192
|
+
# @see Wx::SplitterWindow#split_horizontally.
|
193
|
+
# @return [SplitMode]
|
194
|
+
def get_split_mode; end
|
195
|
+
alias_method :split_mode, :get_split_mode
|
196
|
+
|
197
|
+
# Returns the left/top or only pane.
|
198
|
+
# @return [Wx::Window]
|
199
|
+
def get_window1; end
|
200
|
+
alias_method :window1, :get_window1
|
201
|
+
|
202
|
+
# Returns the right/bottom pane.
|
203
|
+
# @return [Wx::Window]
|
204
|
+
def get_window2; end
|
205
|
+
alias_method :window2, :get_window2
|
206
|
+
|
207
|
+
# Initializes the splitter window to have one pane.
|
208
|
+
# The child window is shown if it is currently hidden.
|
209
|
+
#
|
210
|
+
# This should be called if you wish to initially view only a single pane in the splitter window.
|
211
|
+
# @see Wx::SplitterWindow#split_vertically
|
212
|
+
# @see Wx::SplitterWindow#split_horizontally
|
213
|
+
# @param window [Wx::Window] The pane for the unsplit window.
|
214
|
+
# @return [void]
|
215
|
+
def init(window) end
|
216
|
+
|
217
|
+
# Returns true if the sash is invisible even when the window is split, false otherwise.
|
218
|
+
# This is a shortcut for HasFlag({Wx::SP_NOSASH})
|
219
|
+
# @see Wx::SplitterWindow#set_sash_invisible
|
220
|
+
# @return [true,false]
|
221
|
+
def is_sash_invisible; end
|
222
|
+
alias_method :sash_invisible?, :is_sash_invisible
|
223
|
+
|
224
|
+
# Returns true if the window is split, false otherwise.
|
225
|
+
# @return [true,false]
|
226
|
+
def is_split; end
|
227
|
+
alias_method :split?, :is_split
|
228
|
+
|
229
|
+
# Application-overridable function called when the sash is double-clicked with the left mouse button.
|
230
|
+
# The default implementation of this function calls Unsplit if the minimum pane size is zero.
|
231
|
+
# @see Wx::SplitterWindow#unsplit
|
232
|
+
# @param x [Integer] The x position of the mouse cursor.
|
233
|
+
# @param y [Integer] The y position of the mouse cursor.
|
234
|
+
# @return [void]
|
235
|
+
def on_double_click_sash(x, y) end
|
236
|
+
|
237
|
+
# Application-overridable function called when the sash position is changed by user.
|
238
|
+
# It may return false to prevent the change or true to allow it.
|
239
|
+
#
|
240
|
+
# The default implementation of this function verifies that the sizes of both panes of the splitter are greater than minimum pane size.
|
241
|
+
# @param newSashPosition [Integer] The new sash position (always positive or zero)
|
242
|
+
# @return [true,false]
|
243
|
+
def on_sash_position_change(newSashPosition) end
|
244
|
+
|
245
|
+
# Application-overridable function called when the window is unsplit, either programmatically or using the {Wx::SplitterWindow} user interface.
|
246
|
+
# The default implementation of this function simply hides removed. You may wish to delete the window.
|
247
|
+
# @param removed [Wx::Window] The window being removed.
|
248
|
+
# @return [void]
|
249
|
+
def on_unsplit(removed) end
|
250
|
+
|
251
|
+
# This function replaces one of the windows managed by the {Wx::SplitterWindow} with another one.
|
252
|
+
# It is in general better to use it instead of calling {Wx::SplitterWindow#unsplit} and then resplitting the window back because it will provoke much less flicker (if any). It is valid to call this function whether the splitter has two windows or only one.
|
253
|
+
# Both parameters should be non-NULL and winOld must specify one of the windows managed by the splitter. If the parameters are incorrect or the window couldn't be replaced, false is returned. Otherwise the function will return true, but please notice that it will not delete the replaced window and you may wish to do it yourself.
|
254
|
+
# @see Wx::SplitterWindow#get_minimum_pane_size
|
255
|
+
# @param winOld [Wx::Window]
|
256
|
+
# @param winNew [Wx::Window]
|
257
|
+
# @return [true,false]
|
258
|
+
def replace_window(winOld, winNew) end
|
259
|
+
|
260
|
+
# Sets the minimum pane size.
|
261
|
+
# The default minimum pane size is zero, which means that either pane can be reduced to zero by dragging the sash, thus removing one of the panes. To prevent this behaviour (and veto out-of-range sash dragging), set a minimum size, for example 20 pixels. If the {Wx::SP_PERMIT_UNSPLIT} style is used when a splitter window is created, the window may be unsplit even if minimum size is non-zero.
|
262
|
+
# @see Wx::SplitterWindow#get_minimum_pane_size
|
263
|
+
# @param paneSize [Integer] Minimum pane size in pixels.
|
264
|
+
# @return [void]
|
265
|
+
def set_minimum_pane_size(paneSize) end
|
266
|
+
alias_method :minimum_pane_size=, :set_minimum_pane_size
|
267
|
+
|
268
|
+
# Sets the sash gravity.
|
269
|
+
# Gravity is real factor which controls position of sash while resizing {Wx::SplitterWindow}. Gravity tells {Wx::SplitterWindow} how much will left/top window grow while resizing. Example values:
|
270
|
+
# - 0.0: only the bottom/right window is automatically resized- 0.5: both windows grow by equal size- 1.0: only left/top window grows Gravity should be a real value between 0.0 and 1.0. Default value of sash gravity is 0.0. That value is compatible with previous (before gravity was introduced) behaviour of {Wx::SplitterWindow}.
|
271
|
+
#
|
272
|
+
# Notice that when sash gravity for a newly created splitter window, it is often necessary to explicitly set the splitter size using {Wx::SplitterWindow#set_size} to ensure that is big enough for its initial sash position. Otherwise, i.e. if the window is created with the default tiny size and only resized to its correct size later, the initial sash position will be affected by the gravity and typically result in sash being at the rightmost position for the gravity of 1. See the example code creating {Wx::SplitterWindow} in the splitter sample for more details.
|
273
|
+
# @see Wx::SplitterWindow#get_sash_gravity
|
274
|
+
# @param gravity [Float] The sash gravity. Value between 0.0 and 1.0.
|
275
|
+
# @return [void]
|
276
|
+
def set_sash_gravity(gravity) end
|
277
|
+
alias_method :sash_gravity=, :set_sash_gravity
|
278
|
+
|
279
|
+
# Sets the sash position.
|
280
|
+
# Does not currently check for an out-of-range value.
|
281
|
+
# @see Wx::SplitterWindow#get_sash_position
|
282
|
+
# @param position [Integer] The sash position in pixels.
|
283
|
+
# @param redraw [true,false] If true, resizes the panes and redraws the sash and border.
|
284
|
+
# @return [void]
|
285
|
+
def set_sash_position(position, redraw=true) end
|
286
|
+
alias_method :sash_position=, :set_sash_position
|
287
|
+
|
288
|
+
# Sets the split mode.
|
289
|
+
# Only sets the internal variable; does not update the display.
|
290
|
+
# @see Wx::SplitterWindow#get_split_mode
|
291
|
+
# @see Wx::SplitterWindow#split_vertically
|
292
|
+
# @see Wx::SplitterWindow#split_horizontally.
|
293
|
+
# @param mode [Integer] Can be {Wx::SplitMode::SPLIT_VERTICAL} or {Wx::SplitMode::SPLIT_HORIZONTAL}.
|
294
|
+
# @return [void]
|
295
|
+
def set_split_mode(mode) end
|
296
|
+
alias_method :split_mode=, :set_split_mode
|
297
|
+
|
298
|
+
# Sets whether the sash should be invisible, even when the window is split.
|
299
|
+
# When the sash is invisible, it doesn't appear on the screen at all and, in particular, doesn't allow the user to resize the windows.
|
300
|
+
# Only sets the internal variable; does not update the display.
|
301
|
+
# @see Wx::SplitterWindow#is_sash_invisible
|
302
|
+
# @param invisible [true,false] If true, the sash is always invisible, else it is shown when the window is split.
|
303
|
+
# @return [void]
|
304
|
+
def set_sash_invisible(invisible=true) end
|
305
|
+
alias_method :sash_invisible=, :set_sash_invisible
|
306
|
+
|
307
|
+
# Initializes the top and bottom panes of the splitter window.
|
308
|
+
# The child windows are shown if they are currently hidden.
|
309
|
+
#
|
310
|
+
# true if successful, false otherwise (the window was already split).
|
311
|
+
#
|
312
|
+
# This should be called if you wish to initially view two panes. It can also be called at any subsequent time, but the application should check that the window is not currently split using {Wx::SplitterWindow#is_split}.
|
313
|
+
# @see Wx::SplitterWindow#split_vertically
|
314
|
+
# @see Wx::SplitterWindow#is_split
|
315
|
+
# @see Wx::SplitterWindow#unsplit
|
316
|
+
# @param window1 [Wx::Window] The top pane.
|
317
|
+
# @param window2 [Wx::Window] The bottom pane.
|
318
|
+
# @param sashPosition [Integer] The initial position of the sash. If this value is positive, it specifies the size of the upper pane. If it is negative, its absolute value gives the size of the lower pane. Finally, specify 0 (default) to choose the default position (half of the total window height).
|
319
|
+
# @return [true,false]
|
320
|
+
def split_horizontally(window1, window2, sashPosition=0) end
|
321
|
+
|
322
|
+
# Initializes the left and right panes of the splitter window.
|
323
|
+
# The child windows are shown if they are currently hidden.
|
324
|
+
#
|
325
|
+
# true if successful, false otherwise (the window was already split).
|
326
|
+
#
|
327
|
+
# This should be called if you wish to initially view two panes. It can also be called at any subsequent time, but the application should check that the window is not currently split using {Wx::SplitterWindow#is_split}.
|
328
|
+
# @see Wx::SplitterWindow#split_horizontally
|
329
|
+
# @see Wx::SplitterWindow#is_split
|
330
|
+
# @see Wx::SplitterWindow#unsplit.
|
331
|
+
# @param window1 [Wx::Window] The left pane.
|
332
|
+
# @param window2 [Wx::Window] The right pane.
|
333
|
+
# @param sashPosition [Integer] The initial position of the sash. If this value is positive, it specifies the size of the left pane. If it is negative, it is absolute value gives the size of the right pane. Finally, specify 0 (default) to choose the default position (half of the total window width).
|
334
|
+
# @return [true,false]
|
335
|
+
def split_vertically(window1, window2, sashPosition=0) end
|
336
|
+
|
337
|
+
# Unsplits the window.
|
338
|
+
# true if successful, false otherwise (the window was not split).
|
339
|
+
#
|
340
|
+
# This call will not actually delete the pane being removed; it calls {Wx::SplitterWindow#on_unsplit} which can be overridden for the desired behaviour. By default, the pane being removed is hidden.
|
341
|
+
# @see Wx::SplitterWindow#split_horizontally
|
342
|
+
# @see Wx::SplitterWindow#split_vertically
|
343
|
+
# @see Wx::SplitterWindow#is_split
|
344
|
+
# @see Wx::SplitterWindow#on_unsplit
|
345
|
+
# @param toRemove [Wx::Window] The pane to remove, or NULL to remove the right or bottom pane.
|
346
|
+
# @return [true,false]
|
347
|
+
def unsplit(toRemove=nil) end
|
348
|
+
|
349
|
+
# Causes any pending sizing of the sash and child panes to take place immediately.
|
350
|
+
# Such resizing normally takes place in idle time, in order to wait for layout to be completed. However, this can cause unacceptable flicker as the panes are resized after the window has been shown. To work around this, you can perform window layout (for example by sending a size event to the parent window), and then call this function, before showing the top-level window.
|
351
|
+
# @return [void]
|
352
|
+
def update_size; end
|
353
|
+
|
354
|
+
end # SplitterWindow
|
355
|
+
|
356
|
+
|
357
|
+
end
|
@@ -0,0 +1,126 @@
|
|
1
|
+
# :stopdoc:
|
2
|
+
# This file is automatically generated by the WXRuby3 documentation
|
3
|
+
# generator. Do not alter this file.
|
4
|
+
# :startdoc:
|
5
|
+
|
6
|
+
|
7
|
+
module Wx
|
8
|
+
|
9
|
+
# A static bitmap control displays a bitmap.
|
10
|
+
# Native implementations on some platforms are only meant for display of the small icons in the dialog boxes.
|
11
|
+
# If you want to display larger images portably, you may use generic implementation {Wx::GenericStaticBitmap} declared in <wx/generic/statbmpg.h>.
|
12
|
+
# Notice that for the best results, the size of the control should be the same as the size of the image displayed in it, as happens by default if it's not resized explicitly. Otherwise, behaviour depends on the platform: under MSW, the bitmap is drawn centred inside the control, while elsewhere it is drawn at the origin of the control. You can use {Wx::StaticBitmap#set_scale_mode} to control how the image is scaled inside the control.
|
13
|
+
# ===
|
14
|
+
#
|
15
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
|
16
|
+
# </td><td> {Wx::GTK} Appearance
|
17
|
+
# </td><td> {Wx::OSX} Appearance
|
18
|
+
# </td></tr></table></div>
|
19
|
+
# @see Wx::Bitmap
|
20
|
+
#
|
21
|
+
#
|
22
|
+
class StaticBitmap < Control
|
23
|
+
|
24
|
+
# Specify how the bitmap should be scaled in the control.
|
25
|
+
#
|
26
|
+
#
|
27
|
+
# @see Wx::StaticBitmap#set_scale_mode
|
28
|
+
# @see Wx::StaticBitmap#get_scale_mode
|
29
|
+
#
|
30
|
+
#
|
31
|
+
class ScaleMode < Wx::Enum
|
32
|
+
|
33
|
+
# The bitmap is displayed in original size.
|
34
|
+
#
|
35
|
+
Scale_None = Wx::StaticBitmap::ScaleMode.new(0)
|
36
|
+
|
37
|
+
# Scale the bitmap to fit the size of the control by changing the aspect ratio of the bitmap if necessary.
|
38
|
+
#
|
39
|
+
Scale_Fill = Wx::StaticBitmap::ScaleMode.new(1)
|
40
|
+
|
41
|
+
# Scale the bitmap to fit the size of the control by maintaining the aspect ratio.
|
42
|
+
#
|
43
|
+
Scale_AspectFit = Wx::StaticBitmap::ScaleMode.new(2)
|
44
|
+
|
45
|
+
# Scale the bitmap to fill the size of the control.
|
46
|
+
#
|
47
|
+
Scale_AspectFill = Wx::StaticBitmap::ScaleMode.new(3)
|
48
|
+
|
49
|
+
end # ScaleMode
|
50
|
+
|
51
|
+
# @overload initialize()
|
52
|
+
# Default constructor.
|
53
|
+
# @return [StaticBitmap]
|
54
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BITMAP_NAME_STR)
|
55
|
+
# Constructor, creating and showing a static bitmap control.
|
56
|
+
#
|
57
|
+
# @see Wx::StaticBitmap#create
|
58
|
+
# @param parent [Wx::Window] Parent window. Should not be NULL.
|
59
|
+
# @param id [Integer] Control identifier. A value of -1 denotes a default value.
|
60
|
+
# @param label [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap label.
|
61
|
+
# @param pos [Array(Integer, Integer), Wx::Point] Window position.
|
62
|
+
# @param size [Array(Integer, Integer), Wx::Size] Window size.
|
63
|
+
# @param style [Integer] Window style. See {Wx::StaticBitmap}.
|
64
|
+
# @param name [String] Window name.
|
65
|
+
# @return [StaticBitmap]
|
66
|
+
def initialize(*args) end
|
67
|
+
|
68
|
+
# Creation function, for two-step construction.
|
69
|
+
# For details see {Wx::StaticBitmap#static_bitmap}.
|
70
|
+
# @param parent [Wx::Window]
|
71
|
+
# @param id [Integer]
|
72
|
+
# @param label [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
73
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
74
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
75
|
+
# @param style [Integer]
|
76
|
+
# @param name [String]
|
77
|
+
# @return [true,false]
|
78
|
+
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BITMAP_NAME_STR) end
|
79
|
+
|
80
|
+
# Returns the bitmap currently used in the control.
|
81
|
+
# Notice that this method can be called even if {Wx::StaticBitmap#set_icon} had been used.
|
82
|
+
# @see Wx::StaticBitmap#set_bitmap
|
83
|
+
# @return [Wx::Bitmap]
|
84
|
+
def get_bitmap; end
|
85
|
+
alias_method :bitmap, :get_bitmap
|
86
|
+
|
87
|
+
# Returns the icon currently used in the control.
|
88
|
+
# Notice that this method can only be called if {Wx::StaticBitmap#set_icon} had been used: an icon can't be retrieved from the control if a bitmap had been set (using {Wx::StaticBitmap#set_bitmap}).
|
89
|
+
# @see Wx::StaticBitmap#set_icon
|
90
|
+
# @return [Wx::Icon]
|
91
|
+
def get_icon; end
|
92
|
+
alias_method :icon, :get_icon
|
93
|
+
|
94
|
+
# Sets the bitmap label.
|
95
|
+
#
|
96
|
+
# @see Wx::StaticBitmap#get_bitmap
|
97
|
+
# @param label [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] The new bitmap.
|
98
|
+
# @return [void]
|
99
|
+
def set_bitmap(label) end
|
100
|
+
alias_method :bitmap=, :set_bitmap
|
101
|
+
|
102
|
+
# Sets the label to the given icon.
|
103
|
+
# @param label [Wx::Icon] The new icon.
|
104
|
+
# @return [void]
|
105
|
+
def set_icon(label) end
|
106
|
+
alias_method :icon=, :set_icon
|
107
|
+
|
108
|
+
# Sets the scale mode.
|
109
|
+
# Currently only the generic implementation supports all scaling modes. You may use generic implementation {Wx::GenericStaticBitmap} declared in <wx/generic/statbmpg.h> in all ports.
|
110
|
+
# @see Wx::StaticBitmap#get_scale_mode
|
111
|
+
# @param scaleMode [ScaleMode] Controls how the bitmap is scaled inside the control.
|
112
|
+
# @return [void]
|
113
|
+
def set_scale_mode(scaleMode) end
|
114
|
+
alias_method :scale_mode=, :set_scale_mode
|
115
|
+
|
116
|
+
# Returns the scale mode currently used in the control.
|
117
|
+
#
|
118
|
+
# @see Wx::StaticBitmap#set_scale_mode
|
119
|
+
# @return [ScaleMode]
|
120
|
+
def get_scale_mode; end
|
121
|
+
alias_method :scale_mode, :get_scale_mode
|
122
|
+
|
123
|
+
end # StaticBitmap
|
124
|
+
|
125
|
+
|
126
|
+
end
|
@@ -0,0 +1,123 @@
|
|
1
|
+
# :stopdoc:
|
2
|
+
# This file is automatically generated by the WXRuby3 documentation
|
3
|
+
# generator. Do not alter this file.
|
4
|
+
# :startdoc:
|
5
|
+
|
6
|
+
|
7
|
+
module Wx
|
8
|
+
|
9
|
+
# A static box is a rectangle drawn around other windows to denote a logical grouping of items.
|
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
|
+
# So the recommended way to create static box and the controls inside it is:
|
12
|
+
#
|
13
|
+
# void MyFrame::CreateControls()
|
14
|
+
# {
|
15
|
+
# wxPanel *panel = new wxPanel(this);
|
16
|
+
# wxStaticBox *box = new wxStaticBox(panel, wxID_ANY, "StaticBox");
|
17
|
+
#
|
18
|
+
# new wxStaticText(box, wxID_ANY, "This window is a child of the staticbox");
|
19
|
+
# ...
|
20
|
+
# }
|
21
|
+
#
|
22
|
+
# 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.
|
23
|
+
# 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.
|
24
|
+
# ===
|
25
|
+
#
|
26
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> {Wx::MSW} Appearance
|
27
|
+
# </td><td> {Wx::GTK} Appearance
|
28
|
+
# </td><td> {Wx::OSX} Appearance
|
29
|
+
# </td></tr></table></div>
|
30
|
+
# @see Wx::StaticText
|
31
|
+
# @see Wx::StaticBoxSizer
|
32
|
+
#
|
33
|
+
#
|
34
|
+
class StaticBox < Control
|
35
|
+
|
36
|
+
# @overload initialize()
|
37
|
+
# Default constructor.
|
38
|
+
# @return [StaticBox]
|
39
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BOX_NAME_STR)
|
40
|
+
# Constructor, creating and showing a static box.
|
41
|
+
#
|
42
|
+
# @see Wx::StaticBox#create
|
43
|
+
# @param parent [Wx::Window] Parent window. Must not be NULL.
|
44
|
+
# @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
|
45
|
+
# @param label [String] Text to be displayed in the static box, the empty string for no label.
|
46
|
+
# @param pos [Array(Integer, Integer), Wx::Point] Window position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
|
47
|
+
# @param size [Array(Integer, Integer), Wx::Size] Checkbox size. If {Wx::DEFAULT_SIZE} is specified then a default size is chosen.
|
48
|
+
# @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 {Wx::GTK} (these styles are ignored under the other platforms currently).
|
49
|
+
# @param name [String] Window name.
|
50
|
+
# @return [StaticBox]
|
51
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BOX_NAME_STR)
|
52
|
+
# Constructor for a static box using the given window as label.
|
53
|
+
# 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.
|
54
|
+
# 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.
|
55
|
+
# An example of creating a {Wx::StaticBox} with window as a label:
|
56
|
+
#
|
57
|
+
# void MyFrame::CreateControls()
|
58
|
+
# {
|
59
|
+
# wxPanel* panel = new wxPanel(this);
|
60
|
+
# wxCheckBox* checkbox = new wxCheckBox(panel, wxID_ANY, "Box checkbox");
|
61
|
+
# wxStaticBox* box = new wxStaticBox(panel, wxID_ANY, checkbox);
|
62
|
+
# ...
|
63
|
+
# }
|
64
|
+
#
|
65
|
+
# Currently this constructor is only available in {Wx::GTK} and {Wx::MSW}, use {Wx::HAS_WINDOW_LABEL_IN_STATIC_BOX} to check whether it can be used at compile-time.
|
66
|
+
# @param parent [Wx::Window]
|
67
|
+
# @param id [Integer]
|
68
|
+
# @param label [Wx::Window]
|
69
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
70
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
71
|
+
# @param style [Integer]
|
72
|
+
# @param name [String]
|
73
|
+
# @return [StaticBox]
|
74
|
+
def initialize(*args) end
|
75
|
+
|
76
|
+
# @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BOX_NAME_STR)
|
77
|
+
# Creates the static box for two-step construction.
|
78
|
+
# See {Wx::StaticBox#static_box} for further details.
|
79
|
+
# @param parent [Wx::Window]
|
80
|
+
# @param id [Integer]
|
81
|
+
# @param label [String]
|
82
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
83
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
84
|
+
# @param style [Integer]
|
85
|
+
# @param name [String]
|
86
|
+
# @return [true,false]
|
87
|
+
# @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BOX_NAME_STR)
|
88
|
+
# Creates the static box with the window as a label.
|
89
|
+
# This method can only be called for an object created using its default constructor.
|
90
|
+
# See the constructor documentation for more details.
|
91
|
+
# Currently this overload is only available in {Wx::GTK} and {Wx::MSW}, use {Wx::HAS_WINDOW_LABEL_IN_STATIC_BOX} to check whether it can be used at compile-time.
|
92
|
+
# @param parent [Wx::Window]
|
93
|
+
# @param id [Integer]
|
94
|
+
# @param label [Wx::Window]
|
95
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
96
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
97
|
+
# @param style [Integer]
|
98
|
+
# @param name [String]
|
99
|
+
# @return [true,false]
|
100
|
+
def create(*args) end
|
101
|
+
|
102
|
+
# Enables or disables the box without affecting its label window, if any.
|
103
|
+
# {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.
|
104
|
+
# 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):
|
105
|
+
#
|
106
|
+
# auto check = new wxCheckBox(parent, wxID_ANY, "Use the box");
|
107
|
+
# auto box = new wxStaticBox(parent, wxID_ANY, check);
|
108
|
+
# check->Bind(wxEVT_CHECKBOX,
|
109
|
+
# [box](wxCommandEvent& event) {
|
110
|
+
# box->Enable(event.IsChecked());
|
111
|
+
# });
|
112
|
+
# does work as expected.
|
113
|
+
# Please note that overriding {Wx::StaticBox#enable} to not actually disable this window itself has two possibly unexpected consequences:
|
114
|
+
#
|
115
|
+
# - The box retains its enabled status, i.e. {Wx::StaticBox#is_enabled} still returns true, after calling <code>Enable(false)</code>.- 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.
|
116
|
+
# @param enable [true,false]
|
117
|
+
# @return [true,false]
|
118
|
+
def enable(enable=true) end
|
119
|
+
|
120
|
+
end # StaticBox
|
121
|
+
|
122
|
+
|
123
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# :stopdoc:
|
2
|
+
# This file is automatically generated by the WXRuby3 documentation
|
3
|
+
# generator. Do not alter this file.
|
4
|
+
# :startdoc:
|
5
|
+
|
6
|
+
|
7
|
+
module Wx
|
8
|
+
|
9
|
+
# {Wx::StaticBoxSizer} is a sizer derived from {Wx::BoxSizer} but adds a static box around the sizer.
|
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
|
+
# 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
|
+
# Example of use of this class:
|
13
|
+
#
|
14
|
+
# void MyFrame::CreateControls()
|
15
|
+
# {
|
16
|
+
# wxPanel *panel = new wxPanel(this);
|
17
|
+
# ...
|
18
|
+
# wxStaticBoxSizer *sz = new wxStaticBoxSizer(wxVERTICAL, panel, "Box");
|
19
|
+
# sz->Add(new wxStaticText(sz->GetStaticBox(), wxID_ANY,
|
20
|
+
# "This window is a child of the staticbox"));
|
21
|
+
# ...
|
22
|
+
# }
|
23
|
+
#
|
24
|
+
# ===
|
25
|
+
#
|
26
|
+
# Category: Window Layout
|
27
|
+
# @see Wx::Sizer
|
28
|
+
# @see Wx::StaticBox
|
29
|
+
# @see Wx::BoxSizer
|
30
|
+
# @see Sizers Overview
|
31
|
+
#
|
32
|
+
#
|
33
|
+
class StaticBoxSizer < BoxSizer
|
34
|
+
|
35
|
+
# @overload initialize(box, orient)
|
36
|
+
# This constructor uses an already existing static box.
|
37
|
+
# @param box [Wx::StaticBox] The static box to associate with the sizer (which will take its ownership).
|
38
|
+
# @param orient [Integer] Can be either {Wx::Orientation::VERTICAL} or {Wx::Orientation::HORIZONTAL}.
|
39
|
+
# @return [StaticBoxSizer]
|
40
|
+
# @overload initialize(orient, parent, label=Wx::EMPTY_STRING)
|
41
|
+
# This constructor creates a new static box with the given label and parent window.
|
42
|
+
# @param orient [Integer]
|
43
|
+
# @param parent [Wx::Window]
|
44
|
+
# @param label [String]
|
45
|
+
# @return [StaticBoxSizer]
|
46
|
+
def initialize(*args) end
|
47
|
+
|
48
|
+
# Returns the static box associated with the sizer.
|
49
|
+
# @return [Wx::StaticBox]
|
50
|
+
def get_static_box; end
|
51
|
+
alias_method :static_box, :get_static_box
|
52
|
+
|
53
|
+
# Implements the calculation of a box sizer's minimal.
|
54
|
+
# It is used internally only and must not be called by the user. Documented for information.
|
55
|
+
# @return [Wx::Size]
|
56
|
+
def calc_min; end
|
57
|
+
|
58
|
+
# Method which must be overridden in the derived sizer classes.
|
59
|
+
# The implementation should reposition the children using the current total size available to the sizer (m_size) and the size computed by the last call to {Wx::StaticBoxSizer#calc_min}.
|
60
|
+
# @param minSize [Array(Integer, Integer), Wx::Size]
|
61
|
+
# @return [void]
|
62
|
+
def reposition_children(minSize) end
|
63
|
+
|
64
|
+
end # StaticBoxSizer
|
65
|
+
|
66
|
+
|
67
|
+
end
|