wxruby3 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CREDITS.md +32 -25
- data/INSTALL.md +21 -6
- data/README.md +5 -5
- data/assets/repo-social-preview.odg +0 -0
- data/assets/repo-social-preview.xcf +0 -0
- data/ext/wxruby3/include/wxRubyApp.h +58 -45
- data/ext/wxruby3/include/wxruby-runtime.h +78 -1
- data/ext/wxruby3/swig/common.i +2 -2
- data/ext/wxruby3/swig/custom/director.swg +2 -2
- data/ext/wxruby3/swig/custom/rubyprimtypes.swg +59 -15
- data/ext/wxruby3/swig/custom/rubyrun.swg +4 -0
- data/ext/wxruby3/swig/custom/rubytracking.swg +4 -0
- data/ext/wxruby3/swig/custom/swiglabels.swg +129 -0
- data/ext/wxruby3/swig/custom/swigrun.swg +15 -0
- data/ext/wxruby3/swig/custom/typemaps/swigtypemaps.swg +20 -0
- data/ext/wxruby3/swig/mark_free_impl.i +154 -88
- data/ext/wxruby3/swig/memory_management.i +1 -0
- data/ext/wxruby3/swig/wx.i +73 -44
- data/lib/wx/aui/events/evt_list.rb +148 -0
- data/lib/wx/aui/require.rb +0 -1
- data/lib/wx/core/calendar_ctrl.rb +15 -0
- data/lib/wx/core/clipboard.rb +9 -13
- data/lib/wx/core/config.rb +1 -1
- data/lib/wx/core/events/evt_list.rb +1458 -0
- data/lib/wx/core/font/encoding.rb +113 -0
- data/lib/wx/core/generic_validator.rb +83 -31
- data/lib/wx/core/tipwindow.rb +16 -0
- data/lib/wx/core/variant.rb +6 -0
- data/lib/wx/doc/aui/auitabctrl.rb +35 -0
- data/lib/wx/doc/config.rb +2 -2
- data/lib/wx/doc/functions.rb +1 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +330 -0
- data/lib/wx/doc/gen/accelerator.rb +178 -0
- data/lib/wx/doc/gen/activity_indicator.rb +83 -0
- data/lib/wx/doc/gen/affine_matrix2d.rb +284 -0
- data/lib/wx/doc/gen/animation.rb +275 -0
- data/lib/wx/doc/gen/animation_ctrl.rb +300 -0
- data/lib/wx/doc/gen/any_button.rb +191 -0
- data/lib/wx/doc/gen/app.rb +463 -0
- data/lib/wx/doc/gen/app_traits.rb +396 -0
- data/lib/wx/doc/gen/art_provider.rb +605 -0
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +455 -0
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +54 -0
- data/lib/wx/doc/gen/aui/aui_manager.rb +847 -0
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +131 -0
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +180 -0
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +59 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +130 -0
- data/lib/wx/doc/gen/aui/aui_notebook.rb +631 -0
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +233 -0
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +769 -0
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +352 -0
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +14 -0
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +510 -0
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +340 -0
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +244 -0
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +257 -0
- data/lib/wx/doc/gen/aui/event_list.rb +179 -0
- data/lib/wx/doc/gen/banner_window.rb +124 -0
- data/lib/wx/doc/gen/bitmap.rb +731 -0
- data/lib/wx/doc/gen/bitmap_button.rb +123 -0
- data/lib/wx/doc/gen/bitmap_combo_box.rb +221 -0
- data/lib/wx/doc/gen/book_ctrl_base.rb +273 -0
- data/lib/wx/doc/gen/book_ctrl_event.rb +66 -0
- data/lib/wx/doc/gen/box_sizer.rb +85 -0
- data/lib/wx/doc/gen/brush.rb +251 -0
- data/lib/wx/doc/gen/busy_info.rb +157 -0
- data/lib/wx/doc/gen/button.rb +182 -0
- data/lib/wx/doc/gen/calculate_layout_event.rb +62 -0
- data/lib/wx/doc/gen/calendar_ctrl.rb +505 -0
- data/lib/wx/doc/gen/calendar_date_attr.rb +138 -0
- data/lib/wx/doc/gen/calendar_event.rb +147 -0
- data/lib/wx/doc/gen/caret.rb +97 -0
- data/lib/wx/doc/gen/check_box.rb +175 -0
- data/lib/wx/doc/gen/check_list_box.rb +121 -0
- data/lib/wx/doc/gen/choice.rb +175 -0
- data/lib/wx/doc/gen/choicebook.rb +116 -0
- data/lib/wx/doc/gen/client_dc.rb +43 -0
- data/lib/wx/doc/gen/clipboard.rb +144 -0
- data/lib/wx/doc/gen/collapsible_pane.rb +138 -0
- data/lib/wx/doc/gen/collapsible_pane_event.rb +46 -0
- data/lib/wx/doc/gen/colour.rb +333 -0
- data/lib/wx/doc/gen/colour_dialog.rb +190 -0
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +110 -0
- data/lib/wx/doc/gen/colour_picker_event.rb +77 -0
- data/lib/wx/doc/gen/combo_box.rb +292 -0
- data/lib/wx/doc/gen/combo_ctrl.rb +662 -0
- data/lib/wx/doc/gen/command_link_button.rb +134 -0
- data/lib/wx/doc/gen/config_base.rb +10 -0
- data/lib/wx/doc/gen/context_help_button.rb +109 -0
- data/lib/wx/doc/gen/control.rb +277 -0
- data/lib/wx/doc/gen/control_with_items.rb +253 -0
- data/lib/wx/doc/gen/core.rb +45 -0
- data/lib/wx/doc/gen/credential_entry_dialog.rb +137 -0
- data/lib/wx/doc/gen/cursor.rb +193 -0
- data/lib/wx/doc/gen/data_format.rb +85 -0
- data/lib/wx/doc/gen/data_object.rb +436 -0
- data/lib/wx/doc/gen/data_object_simple_base.rb +10 -0
- data/lib/wx/doc/gen/date_event.rb +49 -0
- data/lib/wx/doc/gen/date_picker_ctrl.rb +161 -0
- data/lib/wx/doc/gen/dc.rb +1631 -0
- data/lib/wx/doc/gen/dc_overlay.rb +102 -0
- data/lib/wx/doc/gen/defs.rb +2802 -0
- data/lib/wx/doc/gen/dial_up_event.rb +45 -0
- data/lib/wx/doc/gen/dial_up_manager.rb +149 -0
- data/lib/wx/doc/gen/dialog.rb +541 -0
- data/lib/wx/doc/gen/dir_dialog.rb +164 -0
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +90 -0
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +125 -0
- data/lib/wx/doc/gen/display.rb +238 -0
- data/lib/wx/doc/gen/drag_drop.rb +299 -0
- data/lib/wx/doc/gen/drag_image.rb +116 -0
- data/lib/wx/doc/gen/editable_list_box.rb +109 -0
- data/lib/wx/doc/gen/event.rb +990 -0
- data/lib/wx/doc/gen/event_blocker.rb +50 -0
- data/lib/wx/doc/gen/event_filter.rb +92 -0
- data/lib/wx/doc/gen/event_list.rb +1644 -0
- data/lib/wx/doc/gen/events.rb +2809 -0
- data/lib/wx/doc/gen/evt_handler.rb +229 -0
- data/lib/wx/doc/gen/ext_help_controller.rb +109 -0
- data/lib/wx/doc/gen/file_ctrl.rb +231 -0
- data/lib/wx/doc/gen/file_ctrl_event.rb +83 -0
- data/lib/wx/doc/gen/file_dialog.rb +353 -0
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +165 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +158 -0
- data/lib/wx/doc/gen/file_dir_picker_event.rb +100 -0
- data/lib/wx/doc/gen/file_picker_ctrl.rb +132 -0
- data/lib/wx/doc/gen/file_system.rb +232 -0
- data/lib/wx/doc/gen/find_dialog_event.rb +126 -0
- data/lib/wx/doc/gen/find_replace_data.rb +60 -0
- data/lib/wx/doc/gen/find_replace_dialog.rb +58 -0
- data/lib/wx/doc/gen/flex_grid_sizer.rb +199 -0
- data/lib/wx/doc/gen/font.rb +1379 -0
- data/lib/wx/doc/gen/font_data.rb +151 -0
- data/lib/wx/doc/gen/font_dialog.rb +88 -0
- data/lib/wx/doc/gen/font_picker_ctrl.rb +143 -0
- data/lib/wx/doc/gen/font_picker_event.rb +65 -0
- data/lib/wx/doc/gen/frame.rb +352 -0
- data/lib/wx/doc/gen/fs_file.rb +337 -0
- data/lib/wx/doc/gen/functions.rb +10 -0
- data/lib/wx/doc/gen/gauge.rb +157 -0
- data/lib/wx/doc/gen/gb_sizer_item.rb +68 -0
- data/lib/wx/doc/gen/gcdc.rb +46 -0
- data/lib/wx/doc/gen/gdi_common.rb +1271 -0
- data/lib/wx/doc/gen/gdi_object.rb +31 -0
- data/lib/wx/doc/gen/generic_about_dialog.rb +140 -0
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +223 -0
- data/lib/wx/doc/gen/geometry.rb +661 -0
- data/lib/wx/doc/gen/graphics_context.rb +1184 -0
- data/lib/wx/doc/gen/graphics_object.rb +750 -0
- data/lib/wx/doc/gen/grid/event_list.rb +191 -0
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +40 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +280 -0
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +35 -0
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +37 -0
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +49 -0
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +35 -0
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +46 -0
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +38 -0
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +45 -0
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +40 -0
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +197 -0
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +39 -0
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +44 -0
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +45 -0
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +79 -0
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +46 -0
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +35 -0
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +108 -0
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +35 -0
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +49 -0
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +3002 -0
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +95 -0
- data/lib/wx/doc/gen/grid/grid_event.rb +129 -0
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +104 -0
- data/lib/wx/doc/gen/grid/grid_size_event.rb +85 -0
- data/lib/wx/doc/gen/grid/grid_string_table.rb +142 -0
- data/lib/wx/doc/gen/grid/grid_table_base.rb +317 -0
- data/lib/wx/doc/gen/grid/grid_table_message.rb +81 -0
- data/lib/wx/doc/gen/grid_bag_sizer.rb +323 -0
- data/lib/wx/doc/gen/grid_sizer.rb +195 -0
- data/lib/wx/doc/gen/gui_event_loop.rb +159 -0
- data/lib/wx/doc/gen/h_scrolled_window.rb +562 -0
- data/lib/wx/doc/gen/header_ctrl.rb +880 -0
- data/lib/wx/doc/gen/header_ctrl_event.rb +133 -0
- data/lib/wx/doc/gen/help_controller.rb +195 -0
- data/lib/wx/doc/gen/help_provider.rb +98 -0
- data/lib/wx/doc/gen/html/event_list.rb +38 -0
- data/lib/wx/doc/gen/html/html_cell.rb +536 -0
- data/lib/wx/doc/gen/html/html_cell_event.rb +69 -0
- data/lib/wx/doc/gen/html/html_data_object.rb +42 -0
- data/lib/wx/doc/gen/html/html_easy_printing.rb +203 -0
- data/lib/wx/doc/gen/html/html_help_controller.rb +340 -0
- data/lib/wx/doc/gen/html/html_help_data.rb +159 -0
- data/lib/wx/doc/gen/html/html_help_window.rb +258 -0
- data/lib/wx/doc/gen/html/html_link_event.rb +41 -0
- data/lib/wx/doc/gen/html/html_list_box.rb +346 -0
- data/lib/wx/doc/gen/html/html_printout.rb +109 -0
- data/lib/wx/doc/gen/html/html_window.rb +461 -0
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +311 -0
- data/lib/wx/doc/gen/hyperlink_event.rb +44 -0
- data/lib/wx/doc/gen/icon.rb +267 -0
- data/lib/wx/doc/gen/icon_location.rb +40 -0
- data/lib/wx/doc/gen/image.rb +1371 -0
- data/lib/wx/doc/gen/image_list.rb +168 -0
- data/lib/wx/doc/gen/info_bar.rb +195 -0
- data/lib/wx/doc/gen/keyboard_state.rb +140 -0
- data/lib/wx/doc/gen/list_box.rb +304 -0
- data/lib/wx/doc/gen/list_ctrl.rb +1774 -0
- data/lib/wx/doc/gen/list_event.rb +208 -0
- data/lib/wx/doc/gen/listbook.rb +116 -0
- data/lib/wx/doc/gen/locale.rb +4293 -0
- data/lib/wx/doc/gen/log.rb +603 -0
- data/lib/wx/doc/gen/mdi_client_window.rb +47 -0
- data/lib/wx/doc/gen/mdi_frame.rb +324 -0
- data/lib/wx/doc/gen/media_ctrl.rb +269 -0
- data/lib/wx/doc/gen/media_event.rb +117 -0
- data/lib/wx/doc/gen/memory_dc.rb +174 -0
- data/lib/wx/doc/gen/menu.rb +509 -0
- data/lib/wx/doc/gen/menu_bar.rb +287 -0
- data/lib/wx/doc/gen/menu_item.rb +362 -0
- data/lib/wx/doc/gen/message_dialog.rb +238 -0
- data/lib/wx/doc/gen/mini_frame.rb +108 -0
- data/lib/wx/doc/gen/mirror_dc.rb +22 -0
- data/lib/wx/doc/gen/mouse_state.rb +150 -0
- data/lib/wx/doc/gen/multi_choice_dialog.rb +80 -0
- data/lib/wx/doc/gen/non_owned_window.rb +49 -0
- data/lib/wx/doc/gen/notebook.rb +278 -0
- data/lib/wx/doc/gen/num_validator.rb +37 -0
- data/lib/wx/doc/gen/number_entry_dialog.rb +93 -0
- data/lib/wx/doc/gen/object.rb +59 -0
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +395 -0
- data/lib/wx/doc/gen/paint_dc.rb +27 -0
- data/lib/wx/doc/gen/palette.rb +92 -0
- data/lib/wx/doc/gen/panel.rb +127 -0
- data/lib/wx/doc/gen/pen.rb +511 -0
- data/lib/wx/doc/gen/persistence_manager.rb +135 -0
- data/lib/wx/doc/gen/persistent_object.rb +52 -0
- data/lib/wx/doc/gen/persistent_window.rb +241 -0
- data/lib/wx/doc/gen/pg/event_list.rb +106 -0
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +54 -0
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +292 -0
- data/lib/wx/doc/gen/pg/pg_cell.rb +177 -0
- data/lib/wx/doc/gen/pg/pg_editor.rb +721 -0
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +152 -0
- data/lib/wx/doc/gen/pg/pg_properties.rb +2829 -0
- data/lib/wx/doc/gen/pg/pg_property.rb +2078 -0
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +344 -0
- data/lib/wx/doc/gen/pg/property_grid.rb +740 -0
- data/lib/wx/doc/gen/pg/property_grid_event.rb +184 -0
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +1098 -0
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +415 -0
- data/lib/wx/doc/gen/pg/property_grid_page.rb +354 -0
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +165 -0
- data/lib/wx/doc/gen/picker_base.rb +152 -0
- data/lib/wx/doc/gen/platform_info.rb +622 -0
- data/lib/wx/doc/gen/popup_window.rb +107 -0
- data/lib/wx/doc/gen/progress_dialog.rb +100 -0
- data/lib/wx/doc/gen/property_sheet_dialog.rb +216 -0
- data/lib/wx/doc/gen/prt/event_list.rb +17 -0
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +44 -0
- data/lib/wx/doc/gen/prt/post_script_dc.rb +30 -0
- data/lib/wx/doc/gen/prt/preview_frame.rb +78 -0
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +151 -0
- data/lib/wx/doc/gen/prt/print_data.rb +804 -0
- data/lib/wx/doc/gen/prt/print_dialog.rb +55 -0
- data/lib/wx/doc/gen/prt/printer.rb +518 -0
- data/lib/wx/doc/gen/prt/printer_dc.rb +37 -0
- data/lib/wx/doc/gen/query_layout_info_event.rb +106 -0
- data/lib/wx/doc/gen/radio_box.rb +306 -0
- data/lib/wx/doc/gen/radio_button.rb +159 -0
- data/lib/wx/doc/gen/rbn/event_list.rb +136 -0
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1132 -0
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +308 -0
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +45 -0
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +458 -0
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +63 -0
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +143 -0
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +229 -0
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +55 -0
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +174 -0
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +270 -0
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +45 -0
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +360 -0
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +42 -0
- data/lib/wx/doc/gen/rearrange_ctrl.rb +78 -0
- data/lib/wx/doc/gen/rearrange_list.rb +123 -0
- data/lib/wx/doc/gen/region.rb +380 -0
- data/lib/wx/doc/gen/region_iterator.rb +76 -0
- data/lib/wx/doc/gen/rich_tool_tip.rb +154 -0
- data/lib/wx/doc/gen/rtc/event_list.rb +125 -0
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +445 -0
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1188 -0
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +41 -0
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +538 -0
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +2103 -0
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +173 -0
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +181 -0
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +319 -0
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +193 -0
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +102 -0
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +337 -0
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +2922 -0
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1240 -0
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +258 -0
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +344 -0
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +227 -0
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +59 -0
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +169 -0
- data/lib/wx/doc/gen/sash_event.rb +147 -0
- data/lib/wx/doc/gen/sash_layout_window.rb +232 -0
- data/lib/wx/doc/gen/sash_window.rb +171 -0
- data/lib/wx/doc/gen/scaled_dc.rb +10 -0
- data/lib/wx/doc/gen/screen_dc.rb +30 -0
- data/lib/wx/doc/gen/scroll_bar.rb +204 -0
- data/lib/wx/doc/gen/scrolled_canvas.rb +410 -0
- data/lib/wx/doc/gen/scrolled_control.rb +410 -0
- data/lib/wx/doc/gen/scrolled_window.rb +430 -0
- data/lib/wx/doc/gen/search_ctrl.rb +159 -0
- data/lib/wx/doc/gen/secret_store.rb +116 -0
- data/lib/wx/doc/gen/simplebook.rb +110 -0
- data/lib/wx/doc/gen/single_choice_dialog.rb +89 -0
- data/lib/wx/doc/gen/sizer.rb +945 -0
- data/lib/wx/doc/gen/sizer_item.rb +244 -0
- data/lib/wx/doc/gen/slider.rb +342 -0
- data/lib/wx/doc/gen/spin_button.rb +157 -0
- data/lib/wx/doc/gen/spin_ctrl.rb +231 -0
- data/lib/wx/doc/gen/spin_ctrl_double.rb +192 -0
- data/lib/wx/doc/gen/spin_double_event.rb +55 -0
- data/lib/wx/doc/gen/spin_event.rb +51 -0
- data/lib/wx/doc/gen/splash_screen.rb +113 -0
- data/lib/wx/doc/gen/splitter_event.rb +99 -0
- data/lib/wx/doc/gen/splitter_window.rb +498 -0
- data/lib/wx/doc/gen/static_bitmap.rb +256 -0
- data/lib/wx/doc/gen/static_box.rb +180 -0
- data/lib/wx/doc/gen/static_box_sizer.rb +85 -0
- data/lib/wx/doc/gen/static_line.rb +83 -0
- data/lib/wx/doc/gen/static_text.rb +127 -0
- data/lib/wx/doc/gen/status_bar.rb +290 -0
- data/lib/wx/doc/gen/stc/event_list.rb +221 -0
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4474 -0
- data/lib/wx/doc/gen/stc/styled_text_event.rb +8762 -0
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +129 -0
- data/lib/wx/doc/gen/svg_file_dc.rb +164 -0
- data/lib/wx/doc/gen/system_options.rb +129 -0
- data/lib/wx/doc/gen/system_settings.rb +507 -0
- data/lib/wx/doc/gen/task_bar_icon.rb +127 -0
- data/lib/wx/doc/gen/task_bar_icon_event.rb +88 -0
- data/lib/wx/doc/gen/text_attr.rb +756 -0
- data/lib/wx/doc/gen/text_ctrl.rb +1033 -0
- data/lib/wx/doc/gen/text_entry.rb +441 -0
- data/lib/wx/doc/gen/text_entry_dialog.rb +220 -0
- data/lib/wx/doc/gen/text_validator.rb +245 -0
- data/lib/wx/doc/gen/time_picker_ctrl.rb +128 -0
- data/lib/wx/doc/gen/timer.rb +119 -0
- data/lib/wx/doc/gen/timer_event.rb +68 -0
- data/lib/wx/doc/gen/tip_provider.rb +63 -0
- data/lib/wx/doc/gen/tip_window.rb +51 -0
- data/lib/wx/doc/gen/toggle_button.rb +182 -0
- data/lib/wx/doc/gen/tool_bar.rb +890 -0
- data/lib/wx/doc/gen/tool_tip.rb +86 -0
- data/lib/wx/doc/gen/toolbook.rb +118 -0
- data/lib/wx/doc/gen/top_level_window.rb +497 -0
- data/lib/wx/doc/gen/tree_ctrl.rb +1052 -0
- data/lib/wx/doc/gen/tree_event.rb +127 -0
- data/lib/wx/doc/gen/treebook.rb +180 -0
- data/lib/wx/doc/gen/ui_action_simulator.rb +109 -0
- data/lib/wx/doc/gen/utils.rb +273 -0
- data/lib/wx/doc/gen/v_list_box.rb +272 -0
- data/lib/wx/doc/gen/v_scrolled_canvas.rb +195 -0
- data/lib/wx/doc/gen/v_scrolled_window.rb +191 -0
- data/lib/wx/doc/gen/validator.rb +68 -0
- data/lib/wx/doc/gen/variant.rb +294 -0
- data/lib/wx/doc/gen/window.rb +2917 -0
- data/lib/wx/doc/gen/window_dc.rb +38 -0
- data/lib/wx/doc/gen/window_disabler.rb +30 -0
- data/lib/wx/doc/gen/with_images.rb +84 -0
- data/lib/wx/doc/gen/wizard.rb +257 -0
- data/lib/wx/doc/gen/wizard_event.rb +113 -0
- data/lib/wx/doc/gen/wizard_page.rb +65 -0
- data/lib/wx/doc/gen/wizard_page_simple.rb +88 -0
- data/lib/wx/doc/gen/wrap_sizer.rb +79 -0
- data/lib/wx/doc/gen/xml_node.rb +316 -0
- data/lib/wx/doc/gen/xml_resource.rb +320 -0
- data/lib/wx/doc/generic_validator.rb +5 -0
- data/lib/wx/doc/pg/pg_property.rb +5 -0
- data/lib/wx/doc/tip_window.rb +18 -6
- data/lib/wx/doc/variant.rb +30 -0
- data/lib/wx/grid/events/evt_list.rb +166 -0
- data/lib/wx/html/events/evt_list.rb +27 -0
- data/lib/wx/html/simple_html_listbox.rb +46 -33
- data/lib/wx/keyword_defs.rb +9 -0
- data/lib/wx/pg/events/evt_list.rb +73 -0
- data/lib/wx/pg/pg_property.rb +85 -52
- data/lib/wx/pg/property_grid_interface.rb +12 -2
- data/lib/wx/rbn/events/evt_list.rb +102 -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/stc/events/evt_list.rb +178 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wx/wxruby/cmd/setup.rb +6 -0
- data/rakelib/configure.rb +9 -0
- data/rakelib/gem.rake +84 -66
- data/rakelib/gem.rb +4 -20
- data/rakelib/lib/config/linux.rb +1 -1
- data/rakelib/lib/config/macosx.rb +15 -1
- data/rakelib/lib/config/pkgman/linux.rb +7 -2
- data/rakelib/lib/config/unixish.rb +3 -3
- data/rakelib/lib/config.rb +19 -8
- data/rakelib/lib/core/include/swigdirector.inc +3 -3
- data/rakelib/lib/core/include/swigrubyerrors.inc +4 -8
- data/rakelib/lib/core/include/swigrubyrun.inc +20 -4
- data/rakelib/lib/core/include/swigrun.inc +189 -0
- data/rakelib/lib/core/package.rb +3 -1
- data/rakelib/lib/core/spec.rb +1 -1
- data/rakelib/lib/director/accelerator.rb +1 -1
- data/rakelib/lib/director/animation.rb +1 -0
- data/rakelib/lib/director/app_traits.rb +1 -1
- data/rakelib/lib/director/aui_manager.rb +21 -14
- data/rakelib/lib/director/aui_mdi_child_frame.rb +2 -0
- data/rakelib/lib/director/aui_mdi_parent_frame.rb +4 -0
- data/rakelib/lib/director/aui_notebook.rb +20 -3
- data/rakelib/lib/director/aui_tab_ctrl.rb +64 -106
- data/rakelib/lib/director/bitmap_combobox.rb +4 -2
- data/rakelib/lib/director/calendar_ctrl.rb +72 -14
- data/rakelib/lib/director/clipboard.rb +2 -0
- data/rakelib/lib/director/data_object.rb +15 -7
- data/rakelib/lib/director/date_picker_ctrl.rb +4 -1
- data/rakelib/lib/director/display.rb +81 -0
- data/rakelib/lib/director/event.rb +33 -16
- data/rakelib/lib/director/event_handler.rb +27 -2
- data/rakelib/lib/director/functions.rb +9 -0
- data/rakelib/lib/director/geometry.rb +5 -0
- data/rakelib/lib/director/grid_ctrl.rb +123 -28
- data/rakelib/lib/director/help_provider.rb +1 -1
- data/rakelib/lib/director/html_listbox.rb +30 -4
- data/rakelib/lib/director/hvscrolled.rb +154 -0
- data/rakelib/lib/director/image_list.rb +1 -0
- data/rakelib/lib/director/mdi_frame.rb +4 -0
- data/rakelib/lib/director/menu.rb +56 -15
- data/rakelib/lib/director/menu_bar.rb +62 -0
- data/rakelib/lib/director/menu_item.rb +7 -1
- data/rakelib/lib/director/num_validator.rb +27 -0
- data/rakelib/lib/director/numeric_property_validator.rb +9 -0
- data/rakelib/lib/director/persistent_window.rb +16 -0
- data/rakelib/lib/director/pgproperty.rb +3 -2
- data/rakelib/lib/director/popup_window.rb +2 -0
- data/rakelib/lib/director/preview_frame.rb +29 -6
- data/rakelib/lib/director/printer.rb +59 -5
- data/rakelib/lib/director/property_grid.rb +37 -18
- data/rakelib/lib/director/property_grid_interface.rb +10 -8
- data/rakelib/lib/director/property_grid_manager.rb +99 -39
- data/rakelib/lib/director/property_grid_page.rb +60 -0
- data/rakelib/lib/director/rich_tooltip.rb +22 -0
- data/rakelib/lib/director/richtext_ctrl.rb +5 -0
- data/rakelib/lib/director/richtext_object.rb +13 -4
- data/rakelib/lib/director/richtext_style_listbox.rb +11 -2
- data/rakelib/lib/director/scrolled_t.rb +3 -0
- data/rakelib/lib/director/searchctrl.rb +1 -0
- data/rakelib/lib/director/task_bar_icon.rb +14 -8
- data/rakelib/lib/director/text_validator.rb +9 -0
- data/rakelib/lib/director/tip_window.rb +117 -6
- data/rakelib/lib/director/tool_bar.rb +6 -0
- data/rakelib/lib/director/top_level_window.rb +0 -1
- data/rakelib/lib/director/utils.rb +3 -1
- data/rakelib/lib/director/validator.rb +12 -0
- data/rakelib/lib/director/variant.rb +64 -20
- data/rakelib/lib/director/vlistbox.rb +29 -22
- data/rakelib/lib/director/window.rb +12 -2
- data/rakelib/lib/director/xml_resource.rb +6 -0
- data/rakelib/lib/generate/doc/aui_manager.yaml +1 -1
- data/rakelib/lib/generate/doc/rich_tool_tip.yaml +26 -0
- data/rakelib/lib/generate/doc.rb +12 -7
- data/rakelib/lib/generate/interface.rb +16 -1
- data/rakelib/lib/specs/interfaces.rb +6 -2
- data/rakelib/lib/swig_runner.rb +12 -12
- data/rakelib/lib/typemap/aui_tabctrl.rb +46 -0
- data/rakelib/lib/typemap/common.rb +3 -3
- data/rakelib/lib/typemap/print_page_range.rb +32 -8
- data/samples/art/wxruby-512x512.png +0 -0
- data/samples/calendar/calendar.rb +64 -1
- data/samples/dialogs/dialogs.rb +172 -0
- data/samples/dialogs/tip.xpm +157 -0
- data/samples/drawing/maths_images.rb +1 -1
- data/samples/event/event.rb +1 -1
- data/samples/printing/printing2.rb +1 -1
- data/samples/sampler.rb +26 -8
- data/samples/text/textctrl.rb +2 -2
- data/samples/treectrl/treectrl.rb +2 -2
- data/tests/lib/leaked_process_event_exception_test.rb +1 -1
- data/tests/lib/leaked_queued_event_exception_test.rb +1 -1
- data/tests/lib/wxapp_runner.rb +31 -41
- data/tests/lib/wxframe_runner.rb +23 -11
- data/tests/lib/wxrb_test.rb +58 -0
- data/tests/test_app_event_filter.rb +1 -1
- data/tests/test_app_exit_exception.rb +3 -3
- data/tests/test_app_init_exception.rb +3 -3
- data/tests/test_app_traits.rb +24 -21
- data/tests/test_art.rb +7 -7
- data/tests/test_art_provider.rb +1 -1
- data/tests/test_basic.rb +2 -2
- data/tests/test_book_controls.rb +1 -1
- data/tests/test_box_sizer.rb +1 -1
- data/tests/test_clipboard.rb +5 -5
- data/tests/test_combo_ctrl.rb +2 -2
- data/tests/test_config.rb +11 -1
- data/tests/test_dc.rb +1 -1
- data/tests/test_dialog.rb +1 -1
- data/tests/test_event_handling.rb +1 -1
- data/tests/test_events.rb +1 -1
- data/tests/test_exceptions.rb +2 -2
- data/tests/test_ext_controls.rb +10 -10
- data/tests/test_file_dialog.rb +1 -1
- data/tests/test_font.rb +1 -1
- data/tests/test_gdi_object.rb +1 -1
- data/tests/test_geometry.rb +2 -2
- data/tests/test_grid_sizer.rb +2 -2
- data/tests/test_intl.rb +1 -1
- data/tests/test_item_data.rb +12 -12
- data/tests/test_list_ctrl.rb +1 -1
- data/tests/test_log.rb +2 -2
- data/tests/test_media_ctrl.rb +1 -1
- data/tests/test_menu.rb +114 -43
- data/tests/test_proof_check.rb +1 -1
- data/tests/test_propgrid.rb +857 -0
- data/tests/test_richtext.rb +10 -24
- data/tests/test_secret_store.rb +1 -1
- data/tests/test_sizer.rb +1 -1
- data/tests/test_std_controls.rb +8 -8
- data/tests/test_styled_text_ctrl.rb +1 -1
- data/tests/test_timer.rb +1 -1
- data/tests/test_tree_ctrl.rb +1 -1
- data/tests/test_validators.rb +79 -36
- data/tests/test_variant.rb +1 -1
- data/tests/test_window.rb +11 -11
- data/tests/testapp.rb +2 -2
- data/tests/testapp_noframe.rb +2 -2
- metadata +402 -12
- data/lib/wx/aui/aui_tab_ctrl.rb +0 -18
- data/rakelib/lib/director/hvscrolled_window.rb +0 -140
|
@@ -0,0 +1,106 @@
|
|
|
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
|
+
# This event is sent when {Wx::LayoutAlgorithm} wishes to get the size, orientation and alignment of a window.
|
|
10
|
+
#
|
|
11
|
+
# More precisely, the event is sent by the OnCalculateLayout handler which is itself invoked by {Wx::LayoutAlgorithm}.
|
|
12
|
+
# ### Events using this class
|
|
13
|
+
#
|
|
14
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::QueryLayoutInfoEvent} events.
|
|
15
|
+
# Event handler methods:
|
|
16
|
+
#
|
|
17
|
+
# - {Wx::EvtHandler#evt_query_layout_info}(meth = nil, &block): Process a {Wx::EVT_QUERY_LAYOUT_INFO} event, to get size, orientation and alignment from a window.
|
|
18
|
+
#
|
|
19
|
+
# Category: {Wx::Events}
|
|
20
|
+
# @see Wx::CalculateLayoutEvent
|
|
21
|
+
# @see Wx::SashLayoutWindow
|
|
22
|
+
# @see Wx::LayoutAlgorithm.
|
|
23
|
+
#
|
|
24
|
+
#
|
|
25
|
+
class QueryLayoutInfoEvent < Event
|
|
26
|
+
|
|
27
|
+
# Constructor.
|
|
28
|
+
# @param id [Integer]
|
|
29
|
+
# @return [Wx::QueryLayoutInfoEvent]
|
|
30
|
+
def initialize(id=0) end
|
|
31
|
+
|
|
32
|
+
# Specifies the alignment of the window (which side of the remaining parent client area the window sticks to).
|
|
33
|
+
#
|
|
34
|
+
# One of {Wx::LayoutAlignment::LAYOUT_TOP}, {Wx::LayoutAlignment::LAYOUT_LEFT}, {Wx::LayoutAlignment::LAYOUT_RIGHT}, {Wx::LayoutAlignment::LAYOUT_BOTTOM}.
|
|
35
|
+
# @return [Wx::LayoutAlignment]
|
|
36
|
+
def get_alignment; end
|
|
37
|
+
alias_method :alignment, :get_alignment
|
|
38
|
+
|
|
39
|
+
# Returns the flags associated with this event.
|
|
40
|
+
#
|
|
41
|
+
# Not currently used.
|
|
42
|
+
# @return [Integer]
|
|
43
|
+
def get_flags; end
|
|
44
|
+
alias_method :flags, :get_flags
|
|
45
|
+
|
|
46
|
+
# Returns the orientation that the event handler specified to the event object.
|
|
47
|
+
#
|
|
48
|
+
# May be one of {Wx::LayoutOrientation::LAYOUT_HORIZONTAL}, {Wx::LayoutOrientation::LAYOUT_VERTICAL}.
|
|
49
|
+
# @return [Wx::LayoutOrientation]
|
|
50
|
+
def get_orientation; end
|
|
51
|
+
alias_method :orientation, :get_orientation
|
|
52
|
+
|
|
53
|
+
# Returns the requested length of the window in the direction of the window orientation.
|
|
54
|
+
#
|
|
55
|
+
# This information is not yet used.
|
|
56
|
+
# @return [Integer]
|
|
57
|
+
def get_requested_length; end
|
|
58
|
+
alias_method :requested_length, :get_requested_length
|
|
59
|
+
|
|
60
|
+
# Returns the size that the event handler specified to the event object as being the requested size of the window.
|
|
61
|
+
# @return [Wx::Size]
|
|
62
|
+
def get_size; end
|
|
63
|
+
alias_method :size, :get_size
|
|
64
|
+
|
|
65
|
+
# Call this to specify the alignment of the window (which side of the remaining parent client area the window sticks to).
|
|
66
|
+
#
|
|
67
|
+
# May be one of {Wx::LayoutAlignment::LAYOUT_TOP}, {Wx::LayoutAlignment::LAYOUT_LEFT}, {Wx::LayoutAlignment::LAYOUT_RIGHT}, {Wx::LayoutAlignment::LAYOUT_BOTTOM}.
|
|
68
|
+
# @param alignment [Wx::LayoutAlignment]
|
|
69
|
+
# @return [void]
|
|
70
|
+
def set_alignment(alignment) end
|
|
71
|
+
alias_method :alignment=, :set_alignment
|
|
72
|
+
|
|
73
|
+
# Sets the flags associated with this event.
|
|
74
|
+
#
|
|
75
|
+
# Not currently used.
|
|
76
|
+
# @param flags [Integer]
|
|
77
|
+
# @return [void]
|
|
78
|
+
def set_flags(flags) end
|
|
79
|
+
alias_method :flags=, :set_flags
|
|
80
|
+
|
|
81
|
+
# Call this to specify the orientation of the window.
|
|
82
|
+
#
|
|
83
|
+
# May be one of {Wx::LayoutOrientation::LAYOUT_HORIZONTAL}, {Wx::LayoutOrientation::LAYOUT_VERTICAL}.
|
|
84
|
+
# @param orientation [Wx::LayoutOrientation]
|
|
85
|
+
# @return [void]
|
|
86
|
+
def set_orientation(orientation) end
|
|
87
|
+
alias_method :orientation=, :set_orientation
|
|
88
|
+
|
|
89
|
+
# Sets the requested length of the window in the direction of the window orientation.
|
|
90
|
+
#
|
|
91
|
+
# This information is not yet used.
|
|
92
|
+
# @param length [Integer]
|
|
93
|
+
# @return [void]
|
|
94
|
+
def set_requested_length(length) end
|
|
95
|
+
alias_method :requested_length=, :set_requested_length
|
|
96
|
+
|
|
97
|
+
# Call this to let the calling code know what the size of the window is.
|
|
98
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
|
99
|
+
# @return [void]
|
|
100
|
+
def set_size(size) end
|
|
101
|
+
alias_method :size=, :set_size
|
|
102
|
+
|
|
103
|
+
end # QueryLayoutInfoEvent
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
end
|
|
@@ -0,0 +1,306 @@
|
|
|
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 radio box item is used to select one of number of mutually exclusive choices.
|
|
10
|
+
#
|
|
11
|
+
# It is displayed as a vertical column or horizontal row of labelled buttons.
|
|
12
|
+
# ### Styles
|
|
13
|
+
#
|
|
14
|
+
# This class supports the following styles:
|
|
15
|
+
#
|
|
16
|
+
# - {Wx::RA_SPECIFY_ROWS}: The major dimension parameter refers to the maximum number of rows.
|
|
17
|
+
#
|
|
18
|
+
# - {Wx::RA_SPECIFY_COLS}: The major dimension parameter refers to the maximum number of columns.
|
|
19
|
+
#
|
|
20
|
+
# ### Events emitted by this class
|
|
21
|
+
#
|
|
22
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
|
|
23
|
+
# Event handler methods for events emitted by this class:
|
|
24
|
+
#
|
|
25
|
+
# - {Wx::EvtHandler#evt_radiobox}(id, meth = nil, &block): Process a {Wx::EVT_RADIOBOX} event, when a radiobutton is clicked.
|
|
26
|
+
#
|
|
27
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
|
28
|
+
# </td><td> WXGTK Appearance
|
|
29
|
+
# </td><td> WXOSX Appearance
|
|
30
|
+
# </td></tr></table></div>
|
|
31
|
+
# @see Events and Event Handling
|
|
32
|
+
# @see Wx::RadioButton
|
|
33
|
+
# @see Wx::CheckBox
|
|
34
|
+
#
|
|
35
|
+
#
|
|
36
|
+
# @wxrb_require USE_RADIOBOX
|
|
37
|
+
class RadioBox < Control
|
|
38
|
+
|
|
39
|
+
# @overload initialize()
|
|
40
|
+
# Default constructor.
|
|
41
|
+
#
|
|
42
|
+
#
|
|
43
|
+
# @see Wx::RadioBox#create
|
|
44
|
+
# @see Wx::Validator
|
|
45
|
+
# @return [Wx::RadioBox]
|
|
46
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BOX_NAME_STR)
|
|
47
|
+
# Constructor, creating and showing a radiobox.
|
|
48
|
+
#
|
|
49
|
+
#
|
|
50
|
+
# @see Wx::RadioBox#create
|
|
51
|
+
# @see Wx::Validator
|
|
52
|
+
# @param parent [Wx::Window] Parent window. Must not be nil.
|
|
53
|
+
# @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
|
|
54
|
+
# @param label [String] Label for the static box surrounding the radio buttons.
|
|
55
|
+
# @param pos [Array(Integer, Integer), Wx::Point] Window position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
|
|
56
|
+
# @param size [Array(Integer, Integer), Wx::Size] Window size. If {Wx::DEFAULT_SIZE} is specified then a default size is chosen.
|
|
57
|
+
# @param choices [Array<String>] An array of choices with which to initialize the radiobox.
|
|
58
|
+
# @param majorDimension [Integer] Specifies the maximum number of rows (if style contains {Wx::RA_SPECIFY_ROWS}) or columns (if style contains {Wx::RA_SPECIFY_COLS}) for a two-dimensional radiobox. The default value of 0 means to use the number of items, i.e. n.
|
|
59
|
+
# @param style [Integer] Window style. See {Wx::RadioBox}.
|
|
60
|
+
# @param validator [Wx::Validator] Window validator.
|
|
61
|
+
# @param name [String] Window name.
|
|
62
|
+
# @return [Wx::RadioBox]
|
|
63
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BOX_NAME_STR, &block)
|
|
64
|
+
# Constructor, creating and showing a radiobox.
|
|
65
|
+
#
|
|
66
|
+
#
|
|
67
|
+
# @see Wx::RadioBox#create
|
|
68
|
+
# @see Wx::Validator
|
|
69
|
+
# @param parent [Wx::Window] Parent window. Must not be nil.
|
|
70
|
+
# @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
|
|
71
|
+
# @param label [String] Label for the static box surrounding the radio buttons.
|
|
72
|
+
# @param pos [Array(Integer, Integer), Wx::Point] Window position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
|
|
73
|
+
# @param size [Array(Integer, Integer), Wx::Size] Window size. If {Wx::DEFAULT_SIZE} is specified then a default size is chosen.
|
|
74
|
+
# @param choices [Array<String>] An array of choices with which to initialize the radiobox.
|
|
75
|
+
# @param majorDimension [Integer] Specifies the maximum number of rows (if style contains {Wx::RA_SPECIFY_ROWS}) or columns (if style contains {Wx::RA_SPECIFY_COLS}) for a two-dimensional radiobox. The default value of 0 means to use the number of items, i.e. n.
|
|
76
|
+
# @param style [Integer] Window style. See {Wx::RadioBox}.
|
|
77
|
+
# @param validator [Wx::Validator] Window validator.
|
|
78
|
+
# @param name [String] Window name.
|
|
79
|
+
# @yieldparam [Wx::RadioBox] win new instance
|
|
80
|
+
# @return [Wx::RadioBox]
|
|
81
|
+
# @overload initialize(parent, id, label, pos, size, choices, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BOX_NAME_STR)
|
|
82
|
+
# Constructor, creating and showing a radiobox.
|
|
83
|
+
#
|
|
84
|
+
#
|
|
85
|
+
# @see Wx::RadioBox#create
|
|
86
|
+
# @see Wx::Validator
|
|
87
|
+
# @param parent [Wx::Window] Parent window. Must not be nil.
|
|
88
|
+
# @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
|
|
89
|
+
# @param label [String] Label for the static box surrounding the radio buttons.
|
|
90
|
+
# @param pos [Array(Integer, Integer), Wx::Point] Window position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
|
|
91
|
+
# @param size [Array(Integer, Integer), Wx::Size] Window size. If {Wx::DEFAULT_SIZE} is specified then a default size is chosen.
|
|
92
|
+
# @param choices [Array<String>] An array of choices with which to initialize the radiobox.
|
|
93
|
+
# @param majorDimension [Integer] Specifies the maximum number of rows (if style contains {Wx::RA_SPECIFY_ROWS}) or columns (if style contains {Wx::RA_SPECIFY_COLS}) for a two-dimensional radiobox. The default value of 0 means to use the number of items, i.e. number of elements in choices.
|
|
94
|
+
# @param style [Integer] Window style. See {Wx::RadioBox}.
|
|
95
|
+
# @param validator [Wx::Validator] Window validator.
|
|
96
|
+
# @param name [String] Window name.
|
|
97
|
+
# @return [Wx::RadioBox]
|
|
98
|
+
# @overload initialize(parent, id, label, pos, size, choices, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BOX_NAME_STR, &block)
|
|
99
|
+
# Constructor, creating and showing a radiobox.
|
|
100
|
+
#
|
|
101
|
+
#
|
|
102
|
+
# @see Wx::RadioBox#create
|
|
103
|
+
# @see Wx::Validator
|
|
104
|
+
# @param parent [Wx::Window] Parent window. Must not be nil.
|
|
105
|
+
# @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
|
|
106
|
+
# @param label [String] Label for the static box surrounding the radio buttons.
|
|
107
|
+
# @param pos [Array(Integer, Integer), Wx::Point] Window position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
|
|
108
|
+
# @param size [Array(Integer, Integer), Wx::Size] Window size. If {Wx::DEFAULT_SIZE} is specified then a default size is chosen.
|
|
109
|
+
# @param choices [Array<String>] An array of choices with which to initialize the radiobox.
|
|
110
|
+
# @param majorDimension [Integer] Specifies the maximum number of rows (if style contains {Wx::RA_SPECIFY_ROWS}) or columns (if style contains {Wx::RA_SPECIFY_COLS}) for a two-dimensional radiobox. The default value of 0 means to use the number of items, i.e. number of elements in choices.
|
|
111
|
+
# @param style [Integer] Window style. See {Wx::RadioBox}.
|
|
112
|
+
# @param validator [Wx::Validator] Window validator.
|
|
113
|
+
# @param name [String] Window name.
|
|
114
|
+
# @yieldparam [Wx::RadioBox] win new instance
|
|
115
|
+
# @return [Wx::RadioBox]
|
|
116
|
+
def initialize(*args) end
|
|
117
|
+
|
|
118
|
+
# @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BOX_NAME_STR)
|
|
119
|
+
# Creates the radiobox for two-step construction.
|
|
120
|
+
#
|
|
121
|
+
# See {Wx::RadioBox#initialize} for further details.
|
|
122
|
+
# @param parent [Wx::Window]
|
|
123
|
+
# @param id [Integer]
|
|
124
|
+
# @param label [String]
|
|
125
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
|
126
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
|
127
|
+
# @param choices [Array<String>]
|
|
128
|
+
# @param majorDimension [Integer]
|
|
129
|
+
# @param style [Integer]
|
|
130
|
+
# @param validator [Wx::Validator]
|
|
131
|
+
# @param name [String]
|
|
132
|
+
# @return [Boolean]
|
|
133
|
+
# @overload create(parent, id, label, pos, size, choices, majorDimension=0, style=Wx::RA_SPECIFY_COLS, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BOX_NAME_STR)
|
|
134
|
+
# Creates the radiobox for two-step construction.
|
|
135
|
+
#
|
|
136
|
+
# See {Wx::RadioBox#initialize} for further details.
|
|
137
|
+
# @param parent [Wx::Window]
|
|
138
|
+
# @param id [Integer]
|
|
139
|
+
# @param label [String]
|
|
140
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
|
141
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
|
142
|
+
# @param choices [Array<String>]
|
|
143
|
+
# @param majorDimension [Integer]
|
|
144
|
+
# @param style [Integer]
|
|
145
|
+
# @param validator [Wx::Validator]
|
|
146
|
+
# @param name [String]
|
|
147
|
+
# @return [Boolean]
|
|
148
|
+
def create(*args) end
|
|
149
|
+
|
|
150
|
+
# Finds a button matching the given string, returning the position if found, or {Wx::NOT_FOUND} if not found.
|
|
151
|
+
# @param string [String] The string to find.
|
|
152
|
+
# @param bCase [Boolean] Should the search be case-sensitive?
|
|
153
|
+
# @return [Integer]
|
|
154
|
+
def find_string(string, bCase=false) end
|
|
155
|
+
|
|
156
|
+
# Returns the number of columns in the radiobox.
|
|
157
|
+
# @return [Integer]
|
|
158
|
+
def get_column_count; end
|
|
159
|
+
alias_method :column_count, :get_column_count
|
|
160
|
+
|
|
161
|
+
# Returns a radio box item under the point, a zero-based item index, or {Wx::NOT_FOUND} if no item is under the point.
|
|
162
|
+
# @param pt [Array(Integer, Integer), Wx::Point] Point in client coordinates.
|
|
163
|
+
# @return [Integer]
|
|
164
|
+
def get_item_from_point(pt) end
|
|
165
|
+
alias_method :item_from_point, :get_item_from_point
|
|
166
|
+
|
|
167
|
+
# Returns the helptext associated with the specified item if any or {Wx::EmptyString}.
|
|
168
|
+
#
|
|
169
|
+
#
|
|
170
|
+
# @see Wx::RadioBox#set_item_help_text
|
|
171
|
+
# @param item [Integer] The zero-based item index.
|
|
172
|
+
# @return [String]
|
|
173
|
+
def get_item_help_text(item) end
|
|
174
|
+
alias_method :item_help_text, :get_item_help_text
|
|
175
|
+
|
|
176
|
+
# Returns the tooltip associated with the specified item if any or nil.
|
|
177
|
+
#
|
|
178
|
+
#
|
|
179
|
+
# @see Wx::RadioBox#set_item_tool_tip
|
|
180
|
+
# @see Wx::Window#get_tool_tip
|
|
181
|
+
# @param item [Integer]
|
|
182
|
+
# @return [Wx::ToolTip]
|
|
183
|
+
def get_item_tool_tip(item) end
|
|
184
|
+
alias_method :item_tool_tip, :get_item_tool_tip
|
|
185
|
+
|
|
186
|
+
# Returns the number of rows in the radiobox.
|
|
187
|
+
# @return [Integer]
|
|
188
|
+
def get_row_count; end
|
|
189
|
+
alias_method :row_count, :get_row_count
|
|
190
|
+
|
|
191
|
+
# Returns true if the item is enabled or false if it was disabled using Enable(n, false).
|
|
192
|
+
#
|
|
193
|
+
# This function is currently only implemented in WXMSW, WXGTK, {Wx::QT} and {Wx::Universal} and always returns true in the other ports.
|
|
194
|
+
# @param n [Integer] The zero-based button position.
|
|
195
|
+
# @return [Boolean]
|
|
196
|
+
def is_item_enabled(n) end
|
|
197
|
+
alias_method :item_enabled?, :is_item_enabled
|
|
198
|
+
|
|
199
|
+
# Returns true if the item is currently shown or false if it was hidden using Show(n, false).
|
|
200
|
+
#
|
|
201
|
+
# Note that this function returns true for an item which hadn't been hidden even if the entire radiobox is not currently shown.
|
|
202
|
+
# This function is currently only implemented in WXMSW, WXGTK, {Wx::QT} and {Wx::Universal} and always returns true in the other ports.
|
|
203
|
+
# @param n [Integer] The zero-based button position.
|
|
204
|
+
# @return [Boolean]
|
|
205
|
+
def is_item_shown(n) end
|
|
206
|
+
alias_method :item_shown?, :is_item_shown
|
|
207
|
+
|
|
208
|
+
# Sets the helptext for an item.
|
|
209
|
+
#
|
|
210
|
+
# Empty string erases any existing helptext.
|
|
211
|
+
# @see Wx::RadioBox#get_item_help_text
|
|
212
|
+
# @param item [Integer] The zero-based item index.
|
|
213
|
+
# @param helptext [String] The help text to set for the item.
|
|
214
|
+
# @return [void]
|
|
215
|
+
def set_item_help_text(item, helptext) end
|
|
216
|
+
|
|
217
|
+
# Sets the tooltip text for the specified item in the radio group.
|
|
218
|
+
#
|
|
219
|
+
# This function is currently only implemented in WXMSW and WXGTK2 and does nothing in the other ports.
|
|
220
|
+
# @see Wx::RadioBox#get_item_tool_tip
|
|
221
|
+
# @see Wx::Window#set_tool_tip
|
|
222
|
+
# @param item [Integer] Index of the item the tooltip will be shown for.
|
|
223
|
+
# @param text [String] Tooltip text for the item, the tooltip is removed if empty.
|
|
224
|
+
# @return [void]
|
|
225
|
+
def set_item_tool_tip(item, text) end
|
|
226
|
+
|
|
227
|
+
# Sets the selection to the given item.
|
|
228
|
+
#
|
|
229
|
+
# Notice that a radio box always has selection, so n must be valid here and passing {Wx::NOT_FOUND} is not allowed.
|
|
230
|
+
# @param n [Integer]
|
|
231
|
+
# @return [void]
|
|
232
|
+
def set_selection(n) end
|
|
233
|
+
alias_method :selection=, :set_selection
|
|
234
|
+
|
|
235
|
+
# Returns the number of items in the control.
|
|
236
|
+
#
|
|
237
|
+
#
|
|
238
|
+
# @see Wx::RadioBox#is_empty
|
|
239
|
+
# @return [Integer]
|
|
240
|
+
def get_count; end
|
|
241
|
+
alias_method :count, :get_count
|
|
242
|
+
|
|
243
|
+
# Returns the label of the item with the given index.
|
|
244
|
+
#
|
|
245
|
+
# The index must be valid, i.e. less than the value returned by {Wx::RadioBox#get_count}, otherwise an assert is triggered. Notably, this function can't be called if the control is empty.
|
|
246
|
+
#
|
|
247
|
+
# The label of the item.
|
|
248
|
+
# @param n [Integer] The zero-based index.
|
|
249
|
+
# @return [String]
|
|
250
|
+
def get_string(n) end
|
|
251
|
+
alias_method :string, :get_string
|
|
252
|
+
|
|
253
|
+
# Sets the label for the given item.
|
|
254
|
+
# @param n [Integer] The zero-based item index.
|
|
255
|
+
# @param string [String] The label to set.
|
|
256
|
+
# @return [void]
|
|
257
|
+
def set_string(n, string) end
|
|
258
|
+
|
|
259
|
+
# Returns the index of the selected item.
|
|
260
|
+
#
|
|
261
|
+
# As radio boxes always have a selected item, the return value is never {Wx::NOT_FOUND} for this class.
|
|
262
|
+
# @return [Integer]
|
|
263
|
+
def get_selection; end
|
|
264
|
+
alias_method :selection, :get_selection
|
|
265
|
+
|
|
266
|
+
# Returns true if the control is empty or false if it has some items.
|
|
267
|
+
#
|
|
268
|
+
#
|
|
269
|
+
# @see get_count
|
|
270
|
+
# @return [Boolean]
|
|
271
|
+
def is_empty; end
|
|
272
|
+
alias_method :empty?, :is_empty
|
|
273
|
+
|
|
274
|
+
# Returns the array of the labels of all items in the control.
|
|
275
|
+
# @return [Array<String>]
|
|
276
|
+
def get_strings; end
|
|
277
|
+
alias_method :strings, :get_strings
|
|
278
|
+
|
|
279
|
+
# Selects the item with the specified string in the control.
|
|
280
|
+
#
|
|
281
|
+
# This method doesn't cause any command events to be emitted.
|
|
282
|
+
# Notice that this method is case-insensitive, i.e. the string is compared with all the elements of the control case-insensitively and the first matching entry is selected, even if it doesn't have exactly the same case as this string and there is an exact match afterwards.
|
|
283
|
+
#
|
|
284
|
+
# true if the specified string has been selected, false if it wasn't found in the control.
|
|
285
|
+
# @param string [String] The string to select.
|
|
286
|
+
# @return [Boolean]
|
|
287
|
+
def set_string_selection(string) end
|
|
288
|
+
alias_method :string_selection=, :set_string_selection
|
|
289
|
+
|
|
290
|
+
# Returns the label of the selected item or an empty string if no item is selected.
|
|
291
|
+
#
|
|
292
|
+
#
|
|
293
|
+
# @see get_selection
|
|
294
|
+
# @return [String]
|
|
295
|
+
def get_string_selection; end
|
|
296
|
+
alias_method :string_selection, :get_string_selection
|
|
297
|
+
|
|
298
|
+
# This is the same as {set_selection} and exists only because it is slightly more natural for controls which support multiple selection.
|
|
299
|
+
# @param n [Integer]
|
|
300
|
+
# @return [void]
|
|
301
|
+
def select(n) end
|
|
302
|
+
|
|
303
|
+
end # RadioBox
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
end
|
|
@@ -0,0 +1,159 @@
|
|
|
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 radio button item is a button which usually denotes one of several mutually exclusive options.
|
|
10
|
+
#
|
|
11
|
+
# It has a text label next to a (usually) round button.
|
|
12
|
+
# Radio buttons are typically used in groups of mutually-exclusive buttons, i.e. exactly one of the buttons in the group is checked, and the other ones are unchecked automatically. Such groups are created implicitly, but can also be started explicitly by using {Wx::RB_GROUP} style: a button with this style starts a new group and will become the initial selection in this group. Alternatively, a radio button may be excluded from the group that it would otherwise belong to by using {Wx::RB_SINGLE} style.
|
|
13
|
+
# To find the other elements of the same radio button group, you can use {Wx::RadioButton#get_first_in_group}, {Wx::RadioButton#get_previous_in_group}, {Wx::RadioButton#get_next_in_group} and {Wx::RadioButton#get_last_in_group} functions.
|
|
14
|
+
# ### Styles
|
|
15
|
+
#
|
|
16
|
+
# This class supports the following styles:
|
|
17
|
+
#
|
|
18
|
+
# - {Wx::RB_GROUP}: Marks the beginning of a new group of radio buttons.
|
|
19
|
+
#
|
|
20
|
+
# - {Wx::RB_SINGLE}: Creates a radio button which is not part of any radio button group. When this style is used, no other radio buttons will be turned off automatically when this button is turned on and such behaviour will need to be implemented manually, in the event handler for this button. This style is currently only supported in WXMSW and WXGTK (since version 3.3.0). In the other ports it can be specified, but single radio buttons can't be turned off, making them not very useful.
|
|
21
|
+
#
|
|
22
|
+
# ### Events emitted by this class
|
|
23
|
+
#
|
|
24
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
|
|
25
|
+
# Event handler methods for events emitted by this class:
|
|
26
|
+
#
|
|
27
|
+
# - {Wx::EvtHandler#evt_radiobutton}(id, meth = nil, &block): Process a {Wx::EVT_RADIOBUTTON} event, when the radiobutton is clicked.
|
|
28
|
+
#
|
|
29
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
|
30
|
+
# </td><td> WXGTK Appearance
|
|
31
|
+
# </td><td> WXOSX Appearance
|
|
32
|
+
# </td></tr></table></div>
|
|
33
|
+
# @see Events and Event Handling
|
|
34
|
+
# @see Wx::RadioBox
|
|
35
|
+
# @see Wx::CheckBox
|
|
36
|
+
#
|
|
37
|
+
#
|
|
38
|
+
# @wxrb_require USE_RADIOBTN
|
|
39
|
+
class RadioButton < Control
|
|
40
|
+
|
|
41
|
+
# @overload initialize()
|
|
42
|
+
# Default constructor.
|
|
43
|
+
#
|
|
44
|
+
#
|
|
45
|
+
# @see Wx::RadioButton#create
|
|
46
|
+
# @see Wx::Validator
|
|
47
|
+
# @return [Wx::RadioButton]
|
|
48
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BUTTON_NAME_STR)
|
|
49
|
+
# Constructor, creating and showing a radio button.
|
|
50
|
+
#
|
|
51
|
+
#
|
|
52
|
+
# @see Wx::RadioButton#create
|
|
53
|
+
# @see Wx::Validator
|
|
54
|
+
# @param parent [Wx::Window] Parent window. Must not be nil.
|
|
55
|
+
# @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
|
|
56
|
+
# @param label [String] Label for the radio button.
|
|
57
|
+
# @param pos [Array(Integer, Integer), Wx::Point] Window position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
|
|
58
|
+
# @param size [Array(Integer, Integer), Wx::Size] Window size. If {Wx::DEFAULT_SIZE} is specified then a default size is chosen.
|
|
59
|
+
# @param style [Integer] Window style. See {Wx::RadioButton}.
|
|
60
|
+
# @param validator [Wx::Validator] Window validator.
|
|
61
|
+
# @param name [String] Window name.
|
|
62
|
+
# @return [Wx::RadioButton]
|
|
63
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BUTTON_NAME_STR, &block)
|
|
64
|
+
# Constructor, creating and showing a radio button.
|
|
65
|
+
#
|
|
66
|
+
#
|
|
67
|
+
# @see Wx::RadioButton#create
|
|
68
|
+
# @see Wx::Validator
|
|
69
|
+
# @param parent [Wx::Window] Parent window. Must not be nil.
|
|
70
|
+
# @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
|
|
71
|
+
# @param label [String] Label for the radio button.
|
|
72
|
+
# @param pos [Array(Integer, Integer), Wx::Point] Window position. If {Wx::DEFAULT_POSITION} is specified then a default position is chosen.
|
|
73
|
+
# @param size [Array(Integer, Integer), Wx::Size] Window size. If {Wx::DEFAULT_SIZE} is specified then a default size is chosen.
|
|
74
|
+
# @param style [Integer] Window style. See {Wx::RadioButton}.
|
|
75
|
+
# @param validator [Wx::Validator] Window validator.
|
|
76
|
+
# @param name [String] Window name.
|
|
77
|
+
# @yieldparam [Wx::RadioButton] win new instance
|
|
78
|
+
# @return [Wx::RadioButton]
|
|
79
|
+
def initialize(*args) end
|
|
80
|
+
|
|
81
|
+
# Creates the choice for two-step construction.
|
|
82
|
+
#
|
|
83
|
+
# See {Wx::RadioButton#initialize} for further details.
|
|
84
|
+
# @param parent [Wx::Window]
|
|
85
|
+
# @param id [Integer]
|
|
86
|
+
# @param label [String]
|
|
87
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
|
88
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
|
89
|
+
# @param style [Integer]
|
|
90
|
+
# @param validator [Wx::Validator]
|
|
91
|
+
# @param name [String]
|
|
92
|
+
# @return [Boolean]
|
|
93
|
+
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BUTTON_NAME_STR) end
|
|
94
|
+
|
|
95
|
+
# Returns true if the radio button is checked, false otherwise.
|
|
96
|
+
# @return [Boolean]
|
|
97
|
+
def get_value; end
|
|
98
|
+
alias_method :value, :get_value
|
|
99
|
+
|
|
100
|
+
# Sets the radio button to checked or unchecked status.
|
|
101
|
+
#
|
|
102
|
+
# This does not cause a {Wx::EVT_RADIOBUTTON} event to get emitted.
|
|
103
|
+
# If the radio button belongs to a radio group exactly one button in the group may be checked and so this method can be only called with value set to true. To uncheck a radio button in a group you must check another button in the same group.
|
|
104
|
+
#
|
|
105
|
+
# <div class="wxrb-note">
|
|
106
|
+
# <b>Note:</b>
|
|
107
|
+
# <p>Under MSW, the focused radio button is always selected, i.e. its value is true. And, conversely, calling <code>SetValue(true)</code> will also set focus to the radio button if the focus had previously been on another radio button in the same group as otherwise setting it on wouldn't work.
|
|
108
|
+
# </p>
|
|
109
|
+
# </div>
|
|
110
|
+
# @param value [Boolean] true to check, false to uncheck.
|
|
111
|
+
# @return [void]
|
|
112
|
+
def set_value(value) end
|
|
113
|
+
alias_method :value=, :set_value
|
|
114
|
+
|
|
115
|
+
# Returns the first button of the radio button group this button belongs to.
|
|
116
|
+
#
|
|
117
|
+
# For a radio button with {Wx::RB_SINGLE} style, this function returns this button itself, as it is the only member of its group. Otherwise, the function returns the closest previous radio button with {Wx::RB_GROUP} style (which could still be this button itself) or the first radio button in the same window.
|
|
118
|
+
# The returned value is never nil.
|
|
119
|
+
# @see Wx::RadioButton#get_previous_in_group
|
|
120
|
+
# @see Wx::RadioButton#get_next_in_group
|
|
121
|
+
# @see Wx::RadioButton#get_last_in_group
|
|
122
|
+
# @return [Wx::RadioButton]
|
|
123
|
+
def get_first_in_group; end
|
|
124
|
+
alias_method :first_in_group, :get_first_in_group
|
|
125
|
+
|
|
126
|
+
# Returns the last button of the radio button group this button belongs to.
|
|
127
|
+
#
|
|
128
|
+
# Similarly to {Wx::RadioButton#get_first_in_group}, this function returns this button itself if it has {Wx::RB_SINGLE} style. Otherwise, the function returns the last button before the next button with {Wx::RB_GROUP} style or the last radio button in the same window.
|
|
129
|
+
# The returned value is never nil.
|
|
130
|
+
# @see Wx::RadioButton#get_previous_in_group
|
|
131
|
+
# @see Wx::RadioButton#get_next_in_group
|
|
132
|
+
# @return [Wx::RadioButton]
|
|
133
|
+
def get_last_in_group; end
|
|
134
|
+
alias_method :last_in_group, :get_last_in_group
|
|
135
|
+
|
|
136
|
+
# Returns the previous radio button in the same group.
|
|
137
|
+
#
|
|
138
|
+
# The return value is nil if there is no predecessor or if this button has {Wx::RB_SINGLE} style.
|
|
139
|
+
# @see Wx::RadioButton#get_first_in_group
|
|
140
|
+
# @see Wx::RadioButton#get_next_in_group
|
|
141
|
+
# @see Wx::RadioButton#get_last_in_group
|
|
142
|
+
# @return [Wx::RadioButton]
|
|
143
|
+
def get_previous_in_group; end
|
|
144
|
+
alias_method :previous_in_group, :get_previous_in_group
|
|
145
|
+
|
|
146
|
+
# Returns the next radio button in the same group.
|
|
147
|
+
#
|
|
148
|
+
# The return value is nil if there is no successor or if this button has {Wx::RB_SINGLE} style.
|
|
149
|
+
# @see Wx::RadioButton#get_first_in_group
|
|
150
|
+
# @see Wx::RadioButton#get_previous_in_group
|
|
151
|
+
# @see Wx::RadioButton#get_last_in_group
|
|
152
|
+
# @return [Wx::RadioButton]
|
|
153
|
+
def get_next_in_group; end
|
|
154
|
+
alias_method :next_in_group, :get_next_in_group
|
|
155
|
+
|
|
156
|
+
end # RadioButton
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
end
|