wxruby3 0.9.0.pre.beta.2-x64-mingw-ucrt-3.2-3.2.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 +139 -0
- data/bin/wxruby +9 -0
- data/bin/wxruby.bat +20 -0
- data/ext/mkrf_conf_bingem.rb +18 -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/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 +928 -0
@@ -0,0 +1,1108 @@
|
|
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
|
+
# Bitmap type flags.
|
10
|
+
#
|
11
|
+
# See {Wx::Bitmap} and {Wx::Image} classes.
|
12
|
+
#
|
13
|
+
class BitmapType < Wx::Enum
|
14
|
+
|
15
|
+
#
|
16
|
+
#
|
17
|
+
BITMAP_TYPE_INVALID = Wx::BitmapType.new(0)
|
18
|
+
|
19
|
+
#
|
20
|
+
#
|
21
|
+
BITMAP_TYPE_BMP = Wx::BitmapType.new(1)
|
22
|
+
|
23
|
+
#
|
24
|
+
#
|
25
|
+
BITMAP_TYPE_ICO = Wx::BitmapType.new(3)
|
26
|
+
|
27
|
+
#
|
28
|
+
#
|
29
|
+
BITMAP_TYPE_CUR = Wx::BitmapType.new(5)
|
30
|
+
|
31
|
+
#
|
32
|
+
#
|
33
|
+
BITMAP_TYPE_XBM = Wx::BitmapType.new(7)
|
34
|
+
|
35
|
+
#
|
36
|
+
#
|
37
|
+
BITMAP_TYPE_XBM_DATA = Wx::BitmapType.new(8)
|
38
|
+
|
39
|
+
#
|
40
|
+
#
|
41
|
+
BITMAP_TYPE_XPM = Wx::BitmapType.new(9)
|
42
|
+
|
43
|
+
#
|
44
|
+
#
|
45
|
+
BITMAP_TYPE_XPM_DATA = Wx::BitmapType.new(10)
|
46
|
+
|
47
|
+
#
|
48
|
+
#
|
49
|
+
BITMAP_TYPE_TIFF = Wx::BitmapType.new(11)
|
50
|
+
|
51
|
+
#
|
52
|
+
#
|
53
|
+
BITMAP_TYPE_TIF = Wx::BitmapType.new(11)
|
54
|
+
|
55
|
+
#
|
56
|
+
#
|
57
|
+
BITMAP_TYPE_GIF = Wx::BitmapType.new(13)
|
58
|
+
|
59
|
+
#
|
60
|
+
#
|
61
|
+
BITMAP_TYPE_PNG = Wx::BitmapType.new(15)
|
62
|
+
|
63
|
+
#
|
64
|
+
#
|
65
|
+
BITMAP_TYPE_JPEG = Wx::BitmapType.new(17)
|
66
|
+
|
67
|
+
#
|
68
|
+
#
|
69
|
+
BITMAP_TYPE_PNM = Wx::BitmapType.new(19)
|
70
|
+
|
71
|
+
#
|
72
|
+
#
|
73
|
+
BITMAP_TYPE_PCX = Wx::BitmapType.new(21)
|
74
|
+
|
75
|
+
#
|
76
|
+
#
|
77
|
+
BITMAP_TYPE_PICT = Wx::BitmapType.new(23)
|
78
|
+
|
79
|
+
#
|
80
|
+
#
|
81
|
+
BITMAP_TYPE_ICON = Wx::BitmapType.new(25)
|
82
|
+
|
83
|
+
#
|
84
|
+
#
|
85
|
+
BITMAP_TYPE_ANI = Wx::BitmapType.new(27)
|
86
|
+
|
87
|
+
#
|
88
|
+
#
|
89
|
+
BITMAP_TYPE_IFF = Wx::BitmapType.new(28)
|
90
|
+
|
91
|
+
#
|
92
|
+
#
|
93
|
+
BITMAP_TYPE_TGA = Wx::BitmapType.new(29)
|
94
|
+
|
95
|
+
#
|
96
|
+
#
|
97
|
+
BITMAP_TYPE_MACCURSOR = Wx::BitmapType.new(30)
|
98
|
+
|
99
|
+
#
|
100
|
+
#
|
101
|
+
BITMAP_TYPE_ANY = Wx::BitmapType.new(50)
|
102
|
+
|
103
|
+
end # BitmapType
|
104
|
+
|
105
|
+
# Polygon filling mode.
|
106
|
+
#
|
107
|
+
# See {Wx::DC#draw_polygon}.
|
108
|
+
#
|
109
|
+
class PolygonFillMode < Wx::Enum
|
110
|
+
|
111
|
+
#
|
112
|
+
#
|
113
|
+
ODDEVEN_RULE = Wx::PolygonFillMode.new(1)
|
114
|
+
|
115
|
+
#
|
116
|
+
#
|
117
|
+
WINDING_RULE = Wx::PolygonFillMode.new(2)
|
118
|
+
|
119
|
+
end # PolygonFillMode
|
120
|
+
|
121
|
+
# Standard cursors.
|
122
|
+
#
|
123
|
+
# Notice that under {Wx::MSW} 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
|
+
# See {Wx::Cursor}.
|
125
|
+
#
|
126
|
+
class StockCursor < Wx::Enum
|
127
|
+
|
128
|
+
#
|
129
|
+
#
|
130
|
+
CURSOR_NONE = Wx::StockCursor.new(0)
|
131
|
+
|
132
|
+
# A standard arrow cursor.
|
133
|
+
#
|
134
|
+
CURSOR_ARROW = Wx::StockCursor.new(1)
|
135
|
+
|
136
|
+
# A standard arrow cursor pointing to the right.
|
137
|
+
#
|
138
|
+
CURSOR_RIGHT_ARROW = Wx::StockCursor.new(2)
|
139
|
+
|
140
|
+
# Bullseye cursor.
|
141
|
+
#
|
142
|
+
CURSOR_BULLSEYE = Wx::StockCursor.new(3)
|
143
|
+
|
144
|
+
# Rectangular character cursor.
|
145
|
+
#
|
146
|
+
CURSOR_CHAR = Wx::StockCursor.new(4)
|
147
|
+
|
148
|
+
# A cross cursor.
|
149
|
+
#
|
150
|
+
CURSOR_CROSS = Wx::StockCursor.new(5)
|
151
|
+
|
152
|
+
# A hand cursor.
|
153
|
+
#
|
154
|
+
CURSOR_HAND = Wx::StockCursor.new(6)
|
155
|
+
|
156
|
+
# An I-beam cursor (vertical line).
|
157
|
+
#
|
158
|
+
CURSOR_IBEAM = Wx::StockCursor.new(7)
|
159
|
+
|
160
|
+
# Represents a mouse with the left button depressed.
|
161
|
+
#
|
162
|
+
CURSOR_LEFT_BUTTON = Wx::StockCursor.new(8)
|
163
|
+
|
164
|
+
# A magnifier icon.
|
165
|
+
#
|
166
|
+
CURSOR_MAGNIFIER = Wx::StockCursor.new(9)
|
167
|
+
|
168
|
+
# Represents a mouse with the middle button depressed.
|
169
|
+
#
|
170
|
+
CURSOR_MIDDLE_BUTTON = Wx::StockCursor.new(10)
|
171
|
+
|
172
|
+
# A no-entry sign cursor.
|
173
|
+
#
|
174
|
+
CURSOR_NO_ENTRY = Wx::StockCursor.new(11)
|
175
|
+
|
176
|
+
# A paintbrush cursor.
|
177
|
+
#
|
178
|
+
CURSOR_PAINT_BRUSH = Wx::StockCursor.new(12)
|
179
|
+
|
180
|
+
# A pencil cursor.
|
181
|
+
#
|
182
|
+
CURSOR_PENCIL = Wx::StockCursor.new(13)
|
183
|
+
|
184
|
+
# A cursor that points left.
|
185
|
+
#
|
186
|
+
CURSOR_POINT_LEFT = Wx::StockCursor.new(14)
|
187
|
+
|
188
|
+
# A cursor that points right.
|
189
|
+
#
|
190
|
+
CURSOR_POINT_RIGHT = Wx::StockCursor.new(15)
|
191
|
+
|
192
|
+
# An arrow and question mark.
|
193
|
+
#
|
194
|
+
CURSOR_QUESTION_ARROW = Wx::StockCursor.new(16)
|
195
|
+
|
196
|
+
# Represents a mouse with the right button depressed.
|
197
|
+
#
|
198
|
+
CURSOR_RIGHT_BUTTON = Wx::StockCursor.new(17)
|
199
|
+
|
200
|
+
# A sizing cursor pointing NE-SW.
|
201
|
+
#
|
202
|
+
CURSOR_SIZENESW = Wx::StockCursor.new(18)
|
203
|
+
|
204
|
+
# A sizing cursor pointing N-S.
|
205
|
+
#
|
206
|
+
CURSOR_SIZENS = Wx::StockCursor.new(19)
|
207
|
+
|
208
|
+
# A sizing cursor pointing NW-SE.
|
209
|
+
#
|
210
|
+
CURSOR_SIZENWSE = Wx::StockCursor.new(20)
|
211
|
+
|
212
|
+
# A sizing cursor pointing W-E.
|
213
|
+
#
|
214
|
+
CURSOR_SIZEWE = Wx::StockCursor.new(21)
|
215
|
+
|
216
|
+
# A general sizing cursor.
|
217
|
+
#
|
218
|
+
CURSOR_SIZING = Wx::StockCursor.new(22)
|
219
|
+
|
220
|
+
# A spraycan cursor.
|
221
|
+
#
|
222
|
+
CURSOR_SPRAYCAN = Wx::StockCursor.new(23)
|
223
|
+
|
224
|
+
# A wait cursor.
|
225
|
+
#
|
226
|
+
CURSOR_WAIT = Wx::StockCursor.new(24)
|
227
|
+
|
228
|
+
# A watch cursor.
|
229
|
+
#
|
230
|
+
CURSOR_WATCH = Wx::StockCursor.new(25)
|
231
|
+
|
232
|
+
# Transparent cursor.
|
233
|
+
#
|
234
|
+
CURSOR_BLANK = Wx::StockCursor.new(26)
|
235
|
+
|
236
|
+
# A wait cursor with a standard arrow.
|
237
|
+
#
|
238
|
+
CURSOR_ARROWWAIT = Wx::StockCursor.new(27)
|
239
|
+
|
240
|
+
#
|
241
|
+
#
|
242
|
+
CURSOR_MAX = Wx::StockCursor.new(28)
|
243
|
+
|
244
|
+
end # StockCursor
|
245
|
+
|
246
|
+
# Flags used by {Wx::Control.ellipsize} function.
|
247
|
+
#
|
248
|
+
#
|
249
|
+
#
|
250
|
+
class EllipsizeFlags < Wx::Enum
|
251
|
+
|
252
|
+
# No special flags.
|
253
|
+
#
|
254
|
+
ELLIPSIZE_FLAGS_NONE = Wx::EllipsizeFlags.new(0)
|
255
|
+
|
256
|
+
# Take mnemonics into account when calculating the text width.
|
257
|
+
#
|
258
|
+
ELLIPSIZE_FLAGS_PROCESS_MNEMONICS = Wx::EllipsizeFlags.new(1)
|
259
|
+
|
260
|
+
# Expand tabs in spaces when calculating the text width.
|
261
|
+
#
|
262
|
+
ELLIPSIZE_FLAGS_EXPAND_TABS = Wx::EllipsizeFlags.new(2)
|
263
|
+
|
264
|
+
# The default flags for {Wx::Control.ellipsize}.
|
265
|
+
#
|
266
|
+
ELLIPSIZE_FLAGS_DEFAULT = Wx::EllipsizeFlags.new(3)
|
267
|
+
|
268
|
+
end # EllipsizeFlags
|
269
|
+
|
270
|
+
# The different ellipsization modes supported by the {Wx::Control.ellipsize} and Wx::RendererNative#draw_item_text functions.
|
271
|
+
#
|
272
|
+
#
|
273
|
+
#
|
274
|
+
class EllipsizeMode < Wx::Enum
|
275
|
+
|
276
|
+
# Don't ellipsize the text at all.
|
277
|
+
#
|
278
|
+
ELLIPSIZE_NONE = Wx::EllipsizeMode.new(0)
|
279
|
+
|
280
|
+
# Put the ellipsis at the start of the string, if the string needs ellipsization.
|
281
|
+
#
|
282
|
+
ELLIPSIZE_START = Wx::EllipsizeMode.new(1)
|
283
|
+
|
284
|
+
# Put the ellipsis in the middle of the string, if the string needs ellipsization.
|
285
|
+
#
|
286
|
+
ELLIPSIZE_MIDDLE = Wx::EllipsizeMode.new(2)
|
287
|
+
|
288
|
+
# Put the ellipsis at the end of the string, if the string needs ellipsization.
|
289
|
+
#
|
290
|
+
ELLIPSIZE_END = Wx::EllipsizeMode.new(3)
|
291
|
+
|
292
|
+
end # EllipsizeMode
|
293
|
+
|
294
|
+
# Global instance of a {Wx::Point} initialized with values (-1,-1).
|
295
|
+
#
|
296
|
+
DEFAULT_POSITION = nil
|
297
|
+
|
298
|
+
# Global instance of a {Wx::Size} object initialized to (-1,-1).
|
299
|
+
#
|
300
|
+
DEFAULT_SIZE = nil
|
301
|
+
|
302
|
+
# Returns true if the display is colour, false otherwise.
|
303
|
+
# 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.
|
304
|
+
#
|
305
|
+
# Include file: #include <wx/gdicmn.h>
|
306
|
+
# @return [true,false]
|
307
|
+
def self.colour_display; end
|
308
|
+
|
309
|
+
# Returns the depth of the display (a value of 1 denotes a monochrome display).
|
310
|
+
# 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.
|
311
|
+
#
|
312
|
+
# Include file: #include <wx/gdicmn.h>
|
313
|
+
# @return [Integer]
|
314
|
+
def self.display_depth; end
|
315
|
+
|
316
|
+
# Globally sets the cursor; only has an effect on Windows, Mac and GTK+.
|
317
|
+
# You should call this function with {Wx::NULL_CURSOR} to restore the system cursor.
|
318
|
+
#
|
319
|
+
# Include file: #include <wx/gdicmn.h>
|
320
|
+
# @see Wx::Cursor
|
321
|
+
# @see Wx::Window#set_cursor
|
322
|
+
# @param cursor [Wx::Cursor]
|
323
|
+
# @return [void]
|
324
|
+
def self.set_cursor(cursor) end
|
325
|
+
|
326
|
+
# Returns the dimensions of the work area on the display.
|
327
|
+
# On Windows this means the area not covered by the taskbar, etc. Other platforms are currently defaulting to the whole display until a way is found to provide this info for all window managers, etc.
|
328
|
+
#
|
329
|
+
# Include file: #include <wx/gdicmn.h>
|
330
|
+
# @see Wx::Display
|
331
|
+
# @return [Wx::Rect]
|
332
|
+
def self.get_client_display_rect; end
|
333
|
+
|
334
|
+
# Returns the display resolution in pixels per inch.
|
335
|
+
# The x component of the returned {Wx::Size} object contains the horizontal resolution and the y one the vertical resolution.
|
336
|
+
# 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.
|
337
|
+
#
|
338
|
+
# Include file: #include <wx/gdicmn.h>
|
339
|
+
# @see Wx::Display
|
340
|
+
# @return [Wx::Size]
|
341
|
+
def self.get_display_ppi; end
|
342
|
+
|
343
|
+
# Returns the display size in pixels.
|
344
|
+
# 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.
|
345
|
+
#
|
346
|
+
# Include file: #include <wx/gdicmn.h>
|
347
|
+
# @see Wx::Display
|
348
|
+
# @return [Wx::Size]
|
349
|
+
def self.get_display_size; end
|
350
|
+
|
351
|
+
# Returns the display size in millimeters.
|
352
|
+
# Include file: #include <wx/gdicmn.h>
|
353
|
+
# @see Wx::Display
|
354
|
+
# @return [Wx::Size]
|
355
|
+
def self.get_display_size_mm; end
|
356
|
+
|
357
|
+
# A {Wx::Point} is a useful data structure for graphics operations.
|
358
|
+
# It contains integer x and y members. See {Wx::RealPoint} for a floating point version.
|
359
|
+
# 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).
|
360
|
+
# ===
|
361
|
+
#
|
362
|
+
# Category: Data Structures
|
363
|
+
# Predefined objects/pointers: {Wx::DEFAULT_POSITION}
|
364
|
+
# @see Wx::RealPoint
|
365
|
+
#
|
366
|
+
#
|
367
|
+
class Point < ::Object
|
368
|
+
|
369
|
+
# Returns true if neither of the point components is equal to {Wx::DEFAULT_COORD}.
|
370
|
+
# This method is typically used before calling {Wx::Point#set_defaults}.
|
371
|
+
# @return [true,false]
|
372
|
+
def is_fully_specified; end
|
373
|
+
alias_method :fully_specified?, :is_fully_specified
|
374
|
+
|
375
|
+
# Combine this object with another one replacing the uninitialized values.
|
376
|
+
# It is typically used like this:
|
377
|
+
#
|
378
|
+
# if ( !pos.IsFullySpecified() )
|
379
|
+
# {
|
380
|
+
# pos.SetDefaults(GetDefaultPosition());
|
381
|
+
# }
|
382
|
+
# @see Wx::Point#is_fully_specified
|
383
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
384
|
+
# @return [void]
|
385
|
+
def set_defaults(pt) end
|
386
|
+
alias_method :defaults=, :set_defaults
|
387
|
+
|
388
|
+
# x member.
|
389
|
+
#
|
390
|
+
#
|
391
|
+
# @return [Integer]
|
392
|
+
def x; end
|
393
|
+
# x member.
|
394
|
+
#
|
395
|
+
#
|
396
|
+
# @param val [Integer]
|
397
|
+
# @return [void]
|
398
|
+
def x=(val); end
|
399
|
+
|
400
|
+
# y member.
|
401
|
+
#
|
402
|
+
#
|
403
|
+
# @return [Integer]
|
404
|
+
def y; end
|
405
|
+
# y member.
|
406
|
+
#
|
407
|
+
#
|
408
|
+
# @param val [Integer]
|
409
|
+
# @return [void]
|
410
|
+
def y=(val); end
|
411
|
+
|
412
|
+
# @overload initialize()
|
413
|
+
# Constructs a point.
|
414
|
+
# Initializes the internal x and y coordinates to zero.
|
415
|
+
# @return [Point]
|
416
|
+
# @overload initialize(x, y)
|
417
|
+
# Initializes the point object with the given x and y coordinates.
|
418
|
+
# @param x [Integer]
|
419
|
+
# @param y [Integer]
|
420
|
+
# @return [Point]
|
421
|
+
# @overload initialize(pt)
|
422
|
+
# Converts the given {Wx::RealPoint} (with floating point coordinates) to a {Wx::Point} instance.
|
423
|
+
# Notice that this truncates the floating point values of pt components, if you want to round them instead you need to do it manually, e.g.
|
424
|
+
#
|
425
|
+
# #include <wx/math.h> // for wxRound()
|
426
|
+
#
|
427
|
+
# wxRealPoint rp = ...;
|
428
|
+
# wxPoint p(wxRound(rp.x), wxRound(rp.y));
|
429
|
+
# @param pt [Wx::RealPoint]
|
430
|
+
# @return [Point]
|
431
|
+
def initialize(*args) end
|
432
|
+
|
433
|
+
end # Point
|
434
|
+
|
435
|
+
# A {Wx::Size} is a useful data structure for graphics operations.
|
436
|
+
# It simply contains integer x and y members.
|
437
|
+
# 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.
|
438
|
+
# {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.
|
439
|
+
# ===
|
440
|
+
#
|
441
|
+
# Category: Data Structures
|
442
|
+
# Predefined objects/pointers: {Wx::DEFAULT_SIZE}
|
443
|
+
# @see Wx::Point
|
444
|
+
# @see Wx::RealPoint
|
445
|
+
#
|
446
|
+
#
|
447
|
+
class Size < ::Object
|
448
|
+
|
449
|
+
# @overload dec_by(pt)
|
450
|
+
# Decreases the size in both x and y directions.
|
451
|
+
#
|
452
|
+
# @see Wx::Size#inc_by
|
453
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
454
|
+
# @return [void]
|
455
|
+
# @overload dec_by(size)
|
456
|
+
# Decreases the size in both x and y directions.
|
457
|
+
#
|
458
|
+
# @see Wx::Size#inc_by
|
459
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
460
|
+
# @return [void]
|
461
|
+
# @overload dec_by(dx, dy)
|
462
|
+
# Decreases the size in both x and y directions.
|
463
|
+
#
|
464
|
+
# @see Wx::Size#inc_by
|
465
|
+
# @param dx [Integer]
|
466
|
+
# @param dy [Integer]
|
467
|
+
# @return [void]
|
468
|
+
# @overload dec_by(d)
|
469
|
+
# Decreases the size in both x and y directions.
|
470
|
+
#
|
471
|
+
# @see Wx::Size#inc_by
|
472
|
+
# @param d [Integer]
|
473
|
+
# @return [void]
|
474
|
+
def dec_by(*args) end
|
475
|
+
|
476
|
+
# @overload inc_by(pt)
|
477
|
+
# Increases the size in both x and y directions.
|
478
|
+
#
|
479
|
+
# @see Wx::Size#dec_by
|
480
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
481
|
+
# @return [void]
|
482
|
+
# @overload inc_by(size)
|
483
|
+
# Increases the size in both x and y directions.
|
484
|
+
#
|
485
|
+
# @see Wx::Size#dec_by
|
486
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
487
|
+
# @return [void]
|
488
|
+
# @overload inc_by(dx, dy)
|
489
|
+
# Increases the size in both x and y directions.
|
490
|
+
#
|
491
|
+
# @see Wx::Size#dec_by
|
492
|
+
# @param dx [Integer]
|
493
|
+
# @param dy [Integer]
|
494
|
+
# @return [void]
|
495
|
+
# @overload inc_by(d)
|
496
|
+
# Increases the size in both x and y directions.
|
497
|
+
#
|
498
|
+
# @see Wx::Size#dec_by
|
499
|
+
# @param d [Integer]
|
500
|
+
# @return [void]
|
501
|
+
def inc_by(*args) end
|
502
|
+
|
503
|
+
# @overload initialize()
|
504
|
+
# Initializes this size object with zero width and height.
|
505
|
+
# @return [Size]
|
506
|
+
# @overload initialize(width, height)
|
507
|
+
# Initializes this size object with the given width and height.
|
508
|
+
# @param width [Integer]
|
509
|
+
# @param height [Integer]
|
510
|
+
# @return [Size]
|
511
|
+
def initialize(*args) end
|
512
|
+
|
513
|
+
# Decrements this object so that both of its dimensions are not greater than the corresponding dimensions of the size.
|
514
|
+
#
|
515
|
+
# @see Wx::Size#inc_to
|
516
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
517
|
+
# @return [void]
|
518
|
+
def dec_to(size) end
|
519
|
+
|
520
|
+
# Decrements this object to be not bigger than the given size ignoring non-specified components.
|
521
|
+
# This is similar to {Wx::Size#dec_to} but doesn't do anything for x or y component if the same component of size is not specified, i.e. set to {Wx::DEFAULT_COORD}.
|
522
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
523
|
+
# @return [void]
|
524
|
+
def dec_to_if_specified(size) end
|
525
|
+
|
526
|
+
# Gets the height member.
|
527
|
+
# @return [Integer]
|
528
|
+
def get_height; end
|
529
|
+
alias_method :height, :get_height
|
530
|
+
|
531
|
+
# Gets the width member.
|
532
|
+
# @return [Integer]
|
533
|
+
def get_width; end
|
534
|
+
alias_method :width, :get_width
|
535
|
+
|
536
|
+
# Increments this object so that both of its dimensions are not less than the corresponding dimensions of the size.
|
537
|
+
#
|
538
|
+
# @see Wx::Size#dec_to
|
539
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
540
|
+
# @return [void]
|
541
|
+
def inc_to(size) end
|
542
|
+
|
543
|
+
# Returns true if neither of the size object components is equal to -1, which is used as default for the size values in wxWidgets (hence the predefined {Wx::DEFAULT_SIZE} has both of its components equal to -1).
|
544
|
+
# This method is typically used before calling {Wx::Size#set_defaults}.
|
545
|
+
# @return [true,false]
|
546
|
+
def is_fully_specified; end
|
547
|
+
alias_method :fully_specified?, :is_fully_specified
|
548
|
+
|
549
|
+
# Scales the dimensions of this object by the given factors.
|
550
|
+
# If you want to scale both dimensions by the same factor you can also use {Wx::operator*=()}.
|
551
|
+
# A reference to this object (so that you can concatenate other operations in the same line).
|
552
|
+
# @param xscale [Float]
|
553
|
+
# @param yscale [Float]
|
554
|
+
# @return [Wx::Size]
|
555
|
+
def scale(xscale, yscale) end
|
556
|
+
|
557
|
+
# Sets the width and height members.
|
558
|
+
# @param width [Integer]
|
559
|
+
# @param height [Integer]
|
560
|
+
# @return [void]
|
561
|
+
def set(width, height) end
|
562
|
+
|
563
|
+
# Combine this size object with another one replacing the default (i.e. equal to -1) components of this object with those of the other.
|
564
|
+
# It is typically used like this:
|
565
|
+
#
|
566
|
+
# if ( !size.IsFullySpecified() )
|
567
|
+
# {
|
568
|
+
# size.SetDefaults(GetDefaultSize());
|
569
|
+
# }
|
570
|
+
# @see Wx::Size#is_fully_specified
|
571
|
+
# @param sizeDefault [Array(Integer, Integer), Wx::Size]
|
572
|
+
# @return [void]
|
573
|
+
def set_defaults(sizeDefault) end
|
574
|
+
alias_method :defaults=, :set_defaults
|
575
|
+
|
576
|
+
# Sets the height.
|
577
|
+
# @param height [Integer]
|
578
|
+
# @return [void]
|
579
|
+
def set_height(height) end
|
580
|
+
alias_method :height=, :set_height
|
581
|
+
|
582
|
+
# Sets the width.
|
583
|
+
# @param width [Integer]
|
584
|
+
# @return [void]
|
585
|
+
def set_width(width) end
|
586
|
+
alias_method :width=, :set_width
|
587
|
+
|
588
|
+
end # Size
|
589
|
+
|
590
|
+
# Represents a rectangle with integer coordinates.
|
591
|
+
# x and y members specify the coordinates of the rectangle top-left corner and width and height specify its width and height respectively. The usual C++ semi-open interval convention is used: point p lies inside the rectangle if and only if both conditions below are satisfied:
|
592
|
+
#
|
593
|
+
# x <= p.x < x + width
|
594
|
+
# y <= p.y < y + height
|
595
|
+
#
|
596
|
+
# 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.
|
597
|
+
# Note that the x and y coordinates may be negative, but width and height are always strictly positive for non-empty rectangles.
|
598
|
+
# ===
|
599
|
+
#
|
600
|
+
# Category: Data Structures
|
601
|
+
# @see Wx::Point
|
602
|
+
# @see Wx::Size
|
603
|
+
#
|
604
|
+
#
|
605
|
+
class Rect < ::Object
|
606
|
+
|
607
|
+
# Returns the rectangle having the same size as this one but centered relatively to the given rectangle r.
|
608
|
+
# By default, rectangle is centred in both directions but if dir includes only {Wx::Orientation::VERTICAL} or only {Wx::Orientation::HORIZONTAL}, then it is only centered in this direction while the other component of its position remains unchanged.
|
609
|
+
# @param r [Wx::Rect]
|
610
|
+
# @param dir [Integer]
|
611
|
+
# @return [Wx::Rect]
|
612
|
+
def centre_in(r, dir=Wx::BOTH) end
|
613
|
+
|
614
|
+
# Returns the rectangle having the same size as this one but centered relatively to the given rectangle r.
|
615
|
+
# By default, rectangle is centred in both directions but if dir includes only {Wx::Orientation::VERTICAL} or only {Wx::Orientation::HORIZONTAL}, then it is only centered in this direction while the other component of its position remains unchanged.
|
616
|
+
# @param r [Wx::Rect]
|
617
|
+
# @param dir [Integer]
|
618
|
+
# @return [Wx::Rect]
|
619
|
+
def center_in(r, dir=Wx::BOTH) end
|
620
|
+
|
621
|
+
# @overload deflate(diff)
|
622
|
+
# Decrease the rectangle size.
|
623
|
+
# This method is the opposite from {Wx::Rect#inflate}: Deflate(a, b) is equivalent to Inflate(-a, -b). Please refer to {Wx::Rect#inflate} for full description.
|
624
|
+
# @param diff [Array(Integer, Integer), Wx::Size]
|
625
|
+
# @return [Wx::Rect]
|
626
|
+
# @overload deflate(diff)
|
627
|
+
# Decrease the rectangle size.
|
628
|
+
# This method is the opposite from {Wx::Rect#inflate}: Deflate(a, b) is equivalent to Inflate(-a, -b). Please refer to {Wx::Rect#inflate} for full description.
|
629
|
+
# @param diff [Integer]
|
630
|
+
# @return [Wx::Rect]
|
631
|
+
def deflate(*args) end
|
632
|
+
|
633
|
+
# @overload inflate(diff)
|
634
|
+
# Increases the size of the rectangle.
|
635
|
+
# The left border is moved farther left and the right border is moved farther right by dx. The upper border is moved farther up and the bottom border is moved farther down by dy. (Note that the width and height of the rectangle thus change by 2*dx and 2*dy, respectively.) If one or both of dx and dy are negative, the opposite happens: the rectangle size decreases in the respective direction.
|
636
|
+
# Inflating and deflating behaves "naturally". Defined more precisely, that means:
|
637
|
+
# - "Real" inflates (that is, dx and/or dy = 0) are not constrained. Thus inflating a rectangle can cause its upper left corner to move into the negative numbers. (2.5.4 and older forced the top left coordinate to not fall below (0, 0), which implied a forced move of the rectangle.)- Deflates are clamped to not reduce the width or height of the rectangle below zero. In such cases, the top-left corner is nonetheless handled properly. For example, a rectangle at (10, 10) with size (20, 40) that is inflated by (-15, -15) will become located at (20, 25) at size (0, 10). Finally, observe that the width and height are treated independently. In the above example, the width is reduced by 20, whereas the height is reduced by the full 30 (rather than also stopping at 20, when the width reached zero).
|
638
|
+
# @see Wx::Rect#deflate
|
639
|
+
# @param diff [Array(Integer, Integer), Wx::Size]
|
640
|
+
# @return [Wx::Rect]
|
641
|
+
# @overload inflate(diff)
|
642
|
+
# Increases the size of the rectangle.
|
643
|
+
# The left border is moved farther left and the right border is moved farther right by dx. The upper border is moved farther up and the bottom border is moved farther down by dy. (Note that the width and height of the rectangle thus change by 2*dx and 2*dy, respectively.) If one or both of dx and dy are negative, the opposite happens: the rectangle size decreases in the respective direction.
|
644
|
+
# Inflating and deflating behaves "naturally". Defined more precisely, that means:
|
645
|
+
# - "Real" inflates (that is, dx and/or dy = 0) are not constrained. Thus inflating a rectangle can cause its upper left corner to move into the negative numbers. (2.5.4 and older forced the top left coordinate to not fall below (0, 0), which implied a forced move of the rectangle.)- Deflates are clamped to not reduce the width or height of the rectangle below zero. In such cases, the top-left corner is nonetheless handled properly. For example, a rectangle at (10, 10) with size (20, 40) that is inflated by (-15, -15) will become located at (20, 25) at size (0, 10). Finally, observe that the width and height are treated independently. In the above example, the width is reduced by 20, whereas the height is reduced by the full 30 (rather than also stopping at 20, when the width reached zero).
|
646
|
+
# @see Wx::Rect#deflate
|
647
|
+
# @param diff [Integer]
|
648
|
+
# @return [Wx::Rect]
|
649
|
+
def inflate(*args) end
|
650
|
+
|
651
|
+
# Moves the rectangle by the specified offset.
|
652
|
+
# If dx is positive, the rectangle is moved to the right, if dy is positive, it is moved to the bottom, otherwise it is moved to the left or top respectively.
|
653
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
654
|
+
# @return [void]
|
655
|
+
def offset(pt) end
|
656
|
+
|
657
|
+
# Modifies the rectangle to contain the bounding box of this rectangle and the one passed in as parameter.
|
658
|
+
# @param rect [Wx::Rect]
|
659
|
+
# @return [Wx::Rect]
|
660
|
+
def union(rect) end
|
661
|
+
|
662
|
+
# @overload initialize()
|
663
|
+
# Default constructor.
|
664
|
+
# Initializes to zero the internal x, y, width and height members.
|
665
|
+
# @return [Rect]
|
666
|
+
# @overload initialize(x, y, width, height)
|
667
|
+
# Creates a {Wx::Rect} object from x, y, width and height values.
|
668
|
+
# @param x [Integer]
|
669
|
+
# @param y [Integer]
|
670
|
+
# @param width [Integer]
|
671
|
+
# @param height [Integer]
|
672
|
+
# @return [Rect]
|
673
|
+
# @overload initialize(topLeft, bottomRight)
|
674
|
+
# Creates a {Wx::Rect} object from top-left and bottom-right points.
|
675
|
+
# The width of the rectangle will be <code>bottomRight.x-topLeft.x+1</code> and the height will be <code>bottomRight.y-topLeft.y+1</code>.
|
676
|
+
# @param topLeft [Wx::Point]
|
677
|
+
# @param bottomRight [Wx::Point]
|
678
|
+
# @return [Rect]
|
679
|
+
# @overload initialize(pos, size)
|
680
|
+
# Creates a {Wx::Rect} object from position pos and size values.
|
681
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
682
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
683
|
+
# @return [Rect]
|
684
|
+
# @overload initialize(size)
|
685
|
+
# Creates a {Wx::Rect} object from size values at the origin.
|
686
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
687
|
+
# @return [Rect]
|
688
|
+
def initialize(*args) end
|
689
|
+
|
690
|
+
# @overload contains(x, y)
|
691
|
+
# Returns true if the given point is inside the rectangle (or on its boundary) and false otherwise.
|
692
|
+
# @param x [Integer]
|
693
|
+
# @param y [Integer]
|
694
|
+
# @return [true,false]
|
695
|
+
# @overload contains(pt)
|
696
|
+
# Returns true if the given point is inside the rectangle (or on its boundary) and false otherwise.
|
697
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
698
|
+
# @return [true,false]
|
699
|
+
# @overload contains(rect)
|
700
|
+
# Returns true if the given rectangle is completely inside this rectangle (or touches its boundary) and false otherwise.
|
701
|
+
# @param rect [Wx::Rect]
|
702
|
+
# @return [true,false]
|
703
|
+
def contains(*args) end
|
704
|
+
|
705
|
+
# Gets the bottom point of the rectangle.
|
706
|
+
# @return [Integer]
|
707
|
+
def get_bottom; end
|
708
|
+
alias_method :bottom, :get_bottom
|
709
|
+
|
710
|
+
# Gets the position of the bottom left corner.
|
711
|
+
# @return [Wx::Point]
|
712
|
+
def get_bottom_left; end
|
713
|
+
alias_method :bottom_left, :get_bottom_left
|
714
|
+
|
715
|
+
# Gets the position of the bottom right corner.
|
716
|
+
# @return [Wx::Point]
|
717
|
+
def get_bottom_right; end
|
718
|
+
alias_method :bottom_right, :get_bottom_right
|
719
|
+
|
720
|
+
# Gets the height member.
|
721
|
+
# @return [Integer]
|
722
|
+
def get_height; end
|
723
|
+
alias_method :height, :get_height
|
724
|
+
|
725
|
+
# Gets the left point of the rectangle (the same as {Wx::Rect#get_x}).
|
726
|
+
# @return [Integer]
|
727
|
+
def get_left; end
|
728
|
+
alias_method :left, :get_left
|
729
|
+
|
730
|
+
# Gets the position.
|
731
|
+
# @return [Wx::Point]
|
732
|
+
def get_position; end
|
733
|
+
alias_method :position, :get_position
|
734
|
+
|
735
|
+
# Gets the right point of the rectangle.
|
736
|
+
# @return [Integer]
|
737
|
+
def get_right; end
|
738
|
+
alias_method :right, :get_right
|
739
|
+
|
740
|
+
# Gets the size.
|
741
|
+
#
|
742
|
+
# @see Wx::Rect#set_size
|
743
|
+
# @return [Wx::Size]
|
744
|
+
def get_size; end
|
745
|
+
alias_method :size, :get_size
|
746
|
+
|
747
|
+
# Gets the top point of the rectangle (the same as {Wx::Rect#get_y}).
|
748
|
+
# @return [Integer]
|
749
|
+
def get_top; end
|
750
|
+
alias_method :top, :get_top
|
751
|
+
|
752
|
+
# Gets the position of the top left corner of the rectangle, same as {Wx::Rect#get_position}.
|
753
|
+
# @return [Wx::Point]
|
754
|
+
def get_top_left; end
|
755
|
+
alias_method :top_left, :get_top_left
|
756
|
+
|
757
|
+
# Gets the position of the top right corner.
|
758
|
+
# @return [Wx::Point]
|
759
|
+
def get_top_right; end
|
760
|
+
alias_method :top_right, :get_top_right
|
761
|
+
|
762
|
+
# Gets the width member.
|
763
|
+
# @return [Integer]
|
764
|
+
def get_width; end
|
765
|
+
alias_method :width, :get_width
|
766
|
+
|
767
|
+
# Gets the x member.
|
768
|
+
# @return [Integer]
|
769
|
+
def get_x; end
|
770
|
+
alias_method :x, :get_x
|
771
|
+
|
772
|
+
# Gets the y member.
|
773
|
+
# @return [Integer]
|
774
|
+
def get_y; end
|
775
|
+
alias_method :y, :get_y
|
776
|
+
|
777
|
+
# Returns the overlapping portion of this rectangle and the one passed in as parameter.
|
778
|
+
# @param rect [Wx::Rect]
|
779
|
+
# @return [Wx::Rect]
|
780
|
+
def intersect(rect) end
|
781
|
+
|
782
|
+
# Returns true if this rectangle has a non-empty intersection with the rectangle rect and false otherwise.
|
783
|
+
# @param rect [Wx::Rect]
|
784
|
+
# @return [true,false]
|
785
|
+
def intersects(rect) end
|
786
|
+
|
787
|
+
# Returns true if this rectangle has a width or height less than or equal to 0 and false otherwise.
|
788
|
+
# @return [true,false]
|
789
|
+
def is_empty; end
|
790
|
+
alias_method :empty?, :is_empty
|
791
|
+
|
792
|
+
# Sets the height.
|
793
|
+
# @param height [Integer]
|
794
|
+
# @return [void]
|
795
|
+
def set_height(height) end
|
796
|
+
alias_method :height=, :set_height
|
797
|
+
|
798
|
+
# Sets the position.
|
799
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
800
|
+
# @return [void]
|
801
|
+
def set_position(pos) end
|
802
|
+
alias_method :position=, :set_position
|
803
|
+
|
804
|
+
# Sets the size.
|
805
|
+
#
|
806
|
+
# @see Wx::Rect#get_size
|
807
|
+
# @param s [Array(Integer, Integer), Wx::Size]
|
808
|
+
# @return [void]
|
809
|
+
def set_size(s) end
|
810
|
+
alias_method :size=, :set_size
|
811
|
+
|
812
|
+
# Sets the width.
|
813
|
+
# @param width [Integer]
|
814
|
+
# @return [void]
|
815
|
+
def set_width(width) end
|
816
|
+
alias_method :width=, :set_width
|
817
|
+
|
818
|
+
# Sets the x position.
|
819
|
+
# @param x [Integer]
|
820
|
+
# @return [void]
|
821
|
+
def set_x(x) end
|
822
|
+
alias_method :x=, :set_x
|
823
|
+
|
824
|
+
# Sets the y position.
|
825
|
+
# @param y [Integer]
|
826
|
+
# @return [void]
|
827
|
+
def set_y(y) end
|
828
|
+
alias_method :y=, :set_y
|
829
|
+
|
830
|
+
# Set the left side of the rectangle.
|
831
|
+
# Notice that because the rectangle stores its left side and width, calling {Wx::Rect#set_left} changes the right side position too but does preserve the width.
|
832
|
+
# @param left [Integer]
|
833
|
+
# @return [void]
|
834
|
+
def set_left(left) end
|
835
|
+
alias_method :left=, :set_left
|
836
|
+
|
837
|
+
# Set the right side of the rectangle.
|
838
|
+
# Notice that this doesn't affect {Wx::Rect#get_left} return value but changes the rectangle width to set its right side to the given position.
|
839
|
+
# @param right [Integer]
|
840
|
+
# @return [void]
|
841
|
+
def set_right(right) end
|
842
|
+
alias_method :right=, :set_right
|
843
|
+
|
844
|
+
# Set the top edge of the rectangle.
|
845
|
+
# Notice that because the rectangle stores its top side and height, calling {Wx::Rect#set_top} changes the bottom side position too but does preserve the height.
|
846
|
+
# @param top [Integer]
|
847
|
+
# @return [void]
|
848
|
+
def set_top(top) end
|
849
|
+
alias_method :top=, :set_top
|
850
|
+
|
851
|
+
# Set the bottom edge of the rectangle.
|
852
|
+
# Notice that this doesn't affect {Wx::Rect#get_top} return value but changes the rectangle height to set its bottom side to the given position.
|
853
|
+
# @param bottom [Integer]
|
854
|
+
# @return [void]
|
855
|
+
def set_bottom(bottom) end
|
856
|
+
alias_method :bottom=, :set_bottom
|
857
|
+
|
858
|
+
# Set the top-left point of the rectangle.
|
859
|
+
# @param p [Array(Integer, Integer), Wx::Point]
|
860
|
+
# @return [void]
|
861
|
+
def set_top_left(p) end
|
862
|
+
alias_method :top_left=, :set_top_left
|
863
|
+
|
864
|
+
# Set the bottom-right point of the rectangle.
|
865
|
+
# @param p [Array(Integer, Integer), Wx::Point]
|
866
|
+
# @return [void]
|
867
|
+
def set_bottom_right(p) end
|
868
|
+
alias_method :bottom_right=, :set_bottom_right
|
869
|
+
|
870
|
+
# Set the top-right point of the rectangle.
|
871
|
+
# @param p [Array(Integer, Integer), Wx::Point]
|
872
|
+
# @return [void]
|
873
|
+
def set_top_right(p) end
|
874
|
+
alias_method :top_right=, :set_top_right
|
875
|
+
|
876
|
+
# Set the bottom-left point of the rectangle.
|
877
|
+
# @param p [Array(Integer, Integer), Wx::Point]
|
878
|
+
# @return [void]
|
879
|
+
def set_bottom_left(p) end
|
880
|
+
alias_method :bottom_left=, :set_bottom_left
|
881
|
+
|
882
|
+
end # Rect
|
883
|
+
|
884
|
+
# A {Wx::RealPoint} is a useful data structure for graphics operations.
|
885
|
+
# It contains floating point x and y members. See {Wx::Point} for an integer version.
|
886
|
+
# 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.
|
887
|
+
# ===
|
888
|
+
#
|
889
|
+
# Category: Data Structures
|
890
|
+
# @see Wx::Point
|
891
|
+
#
|
892
|
+
#
|
893
|
+
class RealPoint < ::Object
|
894
|
+
|
895
|
+
# X coordinate of this point.
|
896
|
+
#
|
897
|
+
#
|
898
|
+
# @return [Float]
|
899
|
+
def x; end
|
900
|
+
# X coordinate of this point.
|
901
|
+
#
|
902
|
+
#
|
903
|
+
# @param val [Float]
|
904
|
+
# @return [void]
|
905
|
+
def x=(val); end
|
906
|
+
|
907
|
+
# Y coordinate of this point.
|
908
|
+
#
|
909
|
+
#
|
910
|
+
# @return [Float]
|
911
|
+
def y; end
|
912
|
+
# Y coordinate of this point.
|
913
|
+
#
|
914
|
+
#
|
915
|
+
# @param val [Float]
|
916
|
+
# @return [void]
|
917
|
+
def y=(val); end
|
918
|
+
|
919
|
+
# @overload initialize()
|
920
|
+
# Initializes to zero the x and y members.
|
921
|
+
# @return [RealPoint]
|
922
|
+
# @overload initialize(x, y)
|
923
|
+
# Initializes the point with the given coordinates.
|
924
|
+
# @param x [Float]
|
925
|
+
# @param y [Float]
|
926
|
+
# @return [RealPoint]
|
927
|
+
# @overload initialize(pt)
|
928
|
+
# Converts the given {Wx::Point} (with integer coordinates) to a {Wx::RealPoint}.
|
929
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
930
|
+
# @return [RealPoint]
|
931
|
+
def initialize(*args) end
|
932
|
+
|
933
|
+
end # RealPoint
|
934
|
+
|
935
|
+
# wxWidgets maintains a database of standard RGB colours for a predefined set of named colours.
|
936
|
+
# The application may add to this set if desired by using {Wx::ColourDatabase#add_colour} and may use it to look up colours by names using {Wx::ColourDatabase#find} or find the names for the standard colour using {Wx::ColourDatabase#find_name}.
|
937
|
+
# There is one predefined, global instance of this class called {Wx::TheColourDatabase}.
|
938
|
+
# The standard database contains at least the following colours:
|
939
|
+
#
|
940
|
+
# AQUAMARINE
|
941
|
+
#
|
942
|
+
# BLACK
|
943
|
+
#
|
944
|
+
# BLUE
|
945
|
+
#
|
946
|
+
# BLUE VIOLET
|
947
|
+
#
|
948
|
+
# BROWN
|
949
|
+
#
|
950
|
+
# CADET BLUE
|
951
|
+
#
|
952
|
+
# CORAL
|
953
|
+
#
|
954
|
+
# CORNFLOWER BLUE
|
955
|
+
#
|
956
|
+
# CYAN
|
957
|
+
#
|
958
|
+
# DARK GREY
|
959
|
+
#
|
960
|
+
# DARK GREEN
|
961
|
+
#
|
962
|
+
# DARK OLIVE GREEN
|
963
|
+
#
|
964
|
+
# DARK ORCHID
|
965
|
+
#
|
966
|
+
# DARK SLATE BLUE
|
967
|
+
#
|
968
|
+
# DARK SLATE GREY
|
969
|
+
#
|
970
|
+
# DARK TURQUOISE
|
971
|
+
#
|
972
|
+
# DIM GREY
|
973
|
+
# FIREBRICK
|
974
|
+
#
|
975
|
+
# FOREST GREEN
|
976
|
+
#
|
977
|
+
# GOLD
|
978
|
+
#
|
979
|
+
# GOLDENROD
|
980
|
+
#
|
981
|
+
# GREY
|
982
|
+
#
|
983
|
+
# GREEN
|
984
|
+
#
|
985
|
+
# GREEN YELLOW
|
986
|
+
#
|
987
|
+
# INDIAN RED
|
988
|
+
#
|
989
|
+
# KHAKI
|
990
|
+
#
|
991
|
+
# LIGHT BLUE
|
992
|
+
#
|
993
|
+
# LIGHT GREY
|
994
|
+
#
|
995
|
+
# LIGHT STEEL BLUE
|
996
|
+
#
|
997
|
+
# LIME GREEN
|
998
|
+
#
|
999
|
+
# MAGENTA
|
1000
|
+
#
|
1001
|
+
# MAROON
|
1002
|
+
#
|
1003
|
+
# MEDIUM AQUAMARINE
|
1004
|
+
#
|
1005
|
+
# MEDIUM BLUE
|
1006
|
+
# MEDIUM FOREST GREEN
|
1007
|
+
#
|
1008
|
+
# MEDIUM GOLDENROD
|
1009
|
+
#
|
1010
|
+
# MEDIUM ORCHID
|
1011
|
+
#
|
1012
|
+
# MEDIUM SEA GREEN
|
1013
|
+
#
|
1014
|
+
# MEDIUM SLATE BLUE
|
1015
|
+
#
|
1016
|
+
# MEDIUM SPRING GREEN
|
1017
|
+
#
|
1018
|
+
# MEDIUM TURQUOISE
|
1019
|
+
#
|
1020
|
+
# MEDIUM VIOLET RED
|
1021
|
+
#
|
1022
|
+
# MIDNIGHT BLUE
|
1023
|
+
#
|
1024
|
+
# NAVY
|
1025
|
+
#
|
1026
|
+
# ORANGE
|
1027
|
+
#
|
1028
|
+
# ORANGE RED
|
1029
|
+
#
|
1030
|
+
# ORCHID
|
1031
|
+
#
|
1032
|
+
# PALE GREEN
|
1033
|
+
#
|
1034
|
+
# PINK
|
1035
|
+
#
|
1036
|
+
# PLUM
|
1037
|
+
#
|
1038
|
+
# PURPLE
|
1039
|
+
# RED
|
1040
|
+
#
|
1041
|
+
# SALMON
|
1042
|
+
#
|
1043
|
+
# SEA GREEN
|
1044
|
+
#
|
1045
|
+
# SIENNA
|
1046
|
+
#
|
1047
|
+
# SKY BLUE
|
1048
|
+
#
|
1049
|
+
# SLATE BLUE
|
1050
|
+
#
|
1051
|
+
# SPRING GREEN
|
1052
|
+
#
|
1053
|
+
# STEEL BLUE
|
1054
|
+
#
|
1055
|
+
# TAN
|
1056
|
+
#
|
1057
|
+
# THISTLE
|
1058
|
+
#
|
1059
|
+
# TURQUOISE
|
1060
|
+
#
|
1061
|
+
# VIOLET
|
1062
|
+
#
|
1063
|
+
# VIOLET RED
|
1064
|
+
#
|
1065
|
+
# WHEAT
|
1066
|
+
#
|
1067
|
+
# WHITE
|
1068
|
+
#
|
1069
|
+
# YELLOW
|
1070
|
+
#
|
1071
|
+
# YELLOW GREEN
|
1072
|
+
#
|
1073
|
+
# ===
|
1074
|
+
#
|
1075
|
+
# Category: Graphics Device Interface (GDI)
|
1076
|
+
# @see Wx::Colour
|
1077
|
+
#
|
1078
|
+
#
|
1079
|
+
class ColourDatabase < ::Object
|
1080
|
+
|
1081
|
+
# Constructs the colour database.
|
1082
|
+
# It will be initialized at the first use.
|
1083
|
+
# @return [ColourDatabase]
|
1084
|
+
def initialize; end
|
1085
|
+
|
1086
|
+
# Adds a colour to the database.
|
1087
|
+
# If a colour with the same name already exists, it is replaced.
|
1088
|
+
# @param colourName [String]
|
1089
|
+
# @param colour [Wx::Colour,String,Symbol]
|
1090
|
+
# @return [void]
|
1091
|
+
def add_colour(colourName, colour) end
|
1092
|
+
|
1093
|
+
# Finds a colour given the name.
|
1094
|
+
# Returns an invalid colour object (that is, {Wx::Colour#is_ok} will return false) if the colour wasn't found in the database.
|
1095
|
+
# @param colourName [String]
|
1096
|
+
# @return [Wx::Colour]
|
1097
|
+
def find(colourName) end
|
1098
|
+
|
1099
|
+
# Finds a colour name given the colour.
|
1100
|
+
# Returns an empty string if the colour is not found in the database.
|
1101
|
+
# @param colour [Wx::Colour,String,Symbol]
|
1102
|
+
# @return [String]
|
1103
|
+
def find_name(colour) end
|
1104
|
+
|
1105
|
+
end # ColourDatabase
|
1106
|
+
|
1107
|
+
|
1108
|
+
end
|