wxruby3 0.9.4-x64-mingw-ucrt → 0.9.7-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.wxconfig +9 -8
- data/INSTALL.md +315 -78
- data/README.md +32 -21
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/core/combo_ctrl.rb +171 -0
- data/lib/wx/core/ext.rb +22 -3
- data/lib/wx/doc/comboctrl.rb +128 -3
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
- data/lib/wx/doc/gen/accelerator.rb +1 -1
- data/lib/wx/doc/gen/accessible.rb +1 -1
- data/lib/wx/doc/gen/activity_indicator.rb +1 -1
- data/lib/wx/doc/gen/animation.rb +1 -1
- data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/app.rb +1 -1
- data/lib/wx/doc/gen/app_traits.rb +3 -55
- data/lib/wx/doc/gen/art_provider.rb +1 -3
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
- data/lib/wx/doc/gen/aui/aui_manager.rb +352 -349
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -37
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
- data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +1 -1
- data/lib/wx/doc/gen/bitmap_button.rb +1 -1
- data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +1 -1
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +1 -1
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +1 -1
- data/lib/wx/doc/gen/caret.rb +1 -1
- data/lib/wx/doc/gen/check_box.rb +1 -1
- data/lib/wx/doc/gen/check_list_box.rb +1 -1
- data/lib/wx/doc/gen/choice.rb +1 -1
- data/lib/wx/doc/gen/choicebook.rb +1 -1
- data/lib/wx/doc/gen/client_dc.rb +1 -1
- data/lib/wx/doc/gen/clipboard.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
- data/lib/wx/doc/gen/colour.rb +1 -2
- data/lib/wx/doc/gen/colour_dialog.rb +2 -2
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
- data/lib/wx/doc/gen/combo_box.rb +4 -3
- data/lib/wx/doc/gen/combo_ctrl.rb +92 -228
- data/lib/wx/doc/gen/command_link_button.rb +1 -1
- data/lib/wx/doc/gen/config_base.rb +1 -1
- data/lib/wx/doc/gen/context_help_button.rb +1 -1
- data/lib/wx/doc/gen/control.rb +1 -1
- data/lib/wx/doc/gen/control_with_items.rb +1 -1
- data/lib/wx/doc/gen/core.rb +5 -5
- data/lib/wx/doc/gen/cursor.rb +1 -1
- data/lib/wx/doc/gen/data_format.rb +1 -1
- data/lib/wx/doc/gen/data_object.rb +1 -1
- data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
- data/lib/wx/doc/gen/date_event.rb +1 -1
- data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dc.rb +1 -4
- data/lib/wx/doc/gen/defs.rb +1 -1
- data/lib/wx/doc/gen/dial_up_event.rb +1 -1
- data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
- data/lib/wx/doc/gen/dialog.rb +1 -2
- data/lib/wx/doc/gen/dir_dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/drag_drop.rb +1 -1
- data/lib/wx/doc/gen/drag_image.rb +1 -1
- data/lib/wx/doc/gen/editable_list_box.rb +1 -1
- data/lib/wx/doc/gen/event.rb +1 -1
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_filter.rb +1 -1
- data/lib/wx/doc/gen/events.rb +3 -25
- data/lib/wx/doc/gen/evt_handler.rb +1 -1
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/file_dialog.rb +1 -3
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +54 -62
- data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
- data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_system.rb +2 -59
- data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/font.rb +1 -1
- data/lib/wx/doc/gen/font_data.rb +1 -1
- data/lib/wx/doc/gen/font_dialog.rb +1 -1
- data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/font_picker_event.rb +1 -1
- data/lib/wx/doc/gen/frame.rb +1 -2
- data/lib/wx/doc/gen/fs_file.rb +1 -1
- data/lib/wx/doc/gen/functions.rb +1 -1
- data/lib/wx/doc/gen/gauge.rb +1 -1
- data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -1
- data/lib/wx/doc/gen/gdi_common.rb +3 -3
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
- data/lib/wx/doc/gen/graphics_context.rb +1 -1
- data/lib/wx/doc/gen/graphics_object.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +2716 -2724
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
- data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
- data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
- data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
- data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
- data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
- data/lib/wx/doc/gen/grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl.rb +1 -2
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/help_controller.rb +1 -1
- data/lib/wx/doc/gen/help_provider.rb +1 -1
- data/lib/wx/doc/gen/html/html_cell.rb +515 -511
- data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
- data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
- data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
- data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
- data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
- data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
- data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
- data/lib/wx/doc/gen/html/html_printout.rb +94 -90
- data/lib/wx/doc/gen/html/html_window.rb +406 -402
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
- data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
- data/lib/wx/doc/gen/icon.rb +1 -1
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +1 -3
- data/lib/wx/doc/gen/image_list.rb +1 -1
- data/lib/wx/doc/gen/info_bar.rb +1 -1
- data/lib/wx/doc/gen/keyboard_state.rb +1 -1
- data/lib/wx/doc/gen/list_box.rb +1 -1
- data/lib/wx/doc/gen/list_ctrl.rb +1 -2
- data/lib/wx/doc/gen/list_event.rb +1 -1
- data/lib/wx/doc/gen/listbook.rb +1 -1
- data/lib/wx/doc/gen/locale.rb +1 -1
- data/lib/wx/doc/gen/log.rb +1 -1
- data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
- data/lib/wx/doc/gen/mdi_frame.rb +1 -1
- data/lib/wx/doc/gen/media_ctrl.rb +1 -7
- data/lib/wx/doc/gen/media_event.rb +1 -1
- data/lib/wx/doc/gen/memory_dc.rb +1 -1
- data/lib/wx/doc/gen/menu.rb +1 -3
- data/lib/wx/doc/gen/menu_bar.rb +1 -1
- data/lib/wx/doc/gen/menu_item.rb +1 -1
- data/lib/wx/doc/gen/message_dialog.rb +1 -1
- data/lib/wx/doc/gen/mini_frame.rb +1 -1
- data/lib/wx/doc/gen/mirror_dc.rb +1 -1
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +1 -2
- data/lib/wx/doc/gen/num_validator.rb +1 -1
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +1 -1
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
- data/lib/wx/doc/gen/paint_dc.rb +1 -1
- data/lib/wx/doc/gen/palette.rb +1 -1
- data/lib/wx/doc/gen/panel.rb +1 -1
- data/lib/wx/doc/gen/pen.rb +1 -1
- data/lib/wx/doc/gen/persistence_manager.rb +1 -1
- data/lib/wx/doc/gen/persistent_object.rb +1 -1
- data/lib/wx/doc/gen/persistent_window.rb +1 -1
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
- data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
- data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
- data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
- data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1938
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -273
- data/lib/wx/doc/gen/pg/property_grid.rb +708 -706
- data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -384
- data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -265
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -144
- data/lib/wx/doc/gen/picker_base.rb +1 -1
- data/lib/wx/doc/gen/platform_info.rb +1 -1
- data/lib/wx/doc/gen/popup_window.rb +1 -1
- data/lib/wx/doc/gen/progress_dialog.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
- data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -18
- data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
- data/lib/wx/doc/gen/prt/print_data.rb +637 -633
- data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
- data/lib/wx/doc/gen/prt/printer.rb +484 -480
- data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
- data/lib/wx/doc/gen/radio_box.rb +1 -1
- data/lib/wx/doc/gen/radio_button.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
- data/lib/wx/doc/gen/rearrange_list.rb +1 -1
- data/lib/wx/doc/gen/region.rb +1 -1
- data/lib/wx/doc/gen/region_iterator.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -85
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -279
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -44
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
- data/lib/wx/doc/gen/sash_event.rb +1 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
- data/lib/wx/doc/gen/sash_window.rb +1 -1
- data/lib/wx/doc/gen/scaled_dc.rb +1 -1
- data/lib/wx/doc/gen/screen_dc.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +1 -2
- data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
- data/lib/wx/doc/gen/scrolled_control.rb +1 -1
- data/lib/wx/doc/gen/scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/search_ctrl.rb +1 -1
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/sizer.rb +1 -2
- data/lib/wx/doc/gen/sizer_item.rb +1 -1
- data/lib/wx/doc/gen/slider.rb +1 -2
- data/lib/wx/doc/gen/spin_button.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
- data/lib/wx/doc/gen/spin_double_event.rb +1 -1
- data/lib/wx/doc/gen/spin_event.rb +1 -1
- data/lib/wx/doc/gen/splash_screen.rb +2 -2
- data/lib/wx/doc/gen/splitter_event.rb +1 -1
- data/lib/wx/doc/gen/splitter_window.rb +1 -1
- data/lib/wx/doc/gen/static_bitmap.rb +1 -1
- data/lib/wx/doc/gen/static_box.rb +1 -1
- data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
- data/lib/wx/doc/gen/static_line.rb +1 -1
- data/lib/wx/doc/gen/static_text.rb +1 -1
- data/lib/wx/doc/gen/status_bar.rb +1 -1
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4199
- data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7508
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
- data/lib/wx/doc/gen/system_options.rb +1 -1
- data/lib/wx/doc/gen/system_settings.rb +1 -1
- data/lib/wx/doc/gen/task_bar_button.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon.rb +1 -2
- data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
- data/lib/wx/doc/gen/text_attr.rb +1 -1
- data/lib/wx/doc/gen/text_ctrl.rb +1 -6
- data/lib/wx/doc/gen/text_entry.rb +1 -1
- data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/text_validator.rb +1 -1
- data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/timer.rb +1 -1
- data/lib/wx/doc/gen/timer_event.rb +1 -1
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +1 -1
- data/lib/wx/doc/gen/tool_bar.rb +1 -1
- data/lib/wx/doc/gen/tool_tip.rb +1 -1
- data/lib/wx/doc/gen/toolbook.rb +1 -1
- data/lib/wx/doc/gen/top_level_window.rb +1 -1
- data/lib/wx/doc/gen/tree_ctrl.rb +1 -3
- data/lib/wx/doc/gen/tree_event.rb +1 -1
- data/lib/wx/doc/gen/treebook.rb +1 -1
- data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
- data/lib/wx/doc/gen/utils.rb +1 -1
- data/lib/wx/doc/gen/v_list_box.rb +1 -1
- data/lib/wx/doc/gen/v_scrolled_window.rb +1 -2
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -1
- data/lib/wx/doc/gen/window.rb +1 -1
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/window_disabler.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +1 -2
- data/lib/wx/doc/gen/wizard_event.rb +1 -1
- data/lib/wx/doc/gen/wizard_page.rb +1 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
- data/lib/wx/doc/gen/xml_node.rb +1 -1
- data/lib/wx/doc/gen/xml_resource.rb +1 -1
- data/lib/wx/doc/owner_drawn_combobox.rb +5 -1
- data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
- data/lib/wx/version.rb +1 -1
- data/lib/wx/wxruby/base.rb +6 -4
- data/lib/wx/wxruby/cmd/sampler.rb +39 -29
- data/lib/wx/wxruby/cmd/setup.rb +122 -0
- data/lib/wx/wxruby/cmd/test.rb +56 -6
- 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 +2 -0
- data/rakelib/lib/config/linux.rb +24 -2
- data/rakelib/lib/config/macosx.rb +16 -0
- data/rakelib/lib/config/mingw.rb +133 -9
- data/rakelib/lib/config/pkgman/arch.rb +53 -0
- data/rakelib/lib/config/pkgman/base.rb +169 -0
- data/rakelib/lib/config/pkgman/debian.rb +66 -0
- data/rakelib/lib/config/pkgman/macosx.rb +183 -0
- data/rakelib/lib/config/pkgman/rhel.rb +54 -0
- data/rakelib/lib/config/pkgman/suse.rb +54 -0
- data/rakelib/lib/config/unixish.rb +36 -19
- data/rakelib/lib/config.rb +254 -61
- data/rakelib/prepost.rake +9 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
- data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
- data/tests/test_combo_ctrl.rb +196 -0
- metadata +25 -4
@@ -6,638 +6,642 @@
|
|
6
6
|
|
7
7
|
module Wx::PRT
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
9
|
+
module Wx::PRT
|
10
|
+
|
11
|
+
# Enumeration of various printer bin sources.
|
12
|
+
#
|
13
|
+
#
|
14
|
+
# @see Wx::PRT::PrintData#set_bin
|
15
|
+
#
|
16
|
+
#
|
17
|
+
# @wxrb_require USE_PRINTING_ARCHITECTURE
|
18
|
+
class PrintBin < Wx::Enum
|
19
|
+
|
20
|
+
#
|
21
|
+
#
|
22
|
+
PRINTBIN_DEFAULT = Wx::PRT::PrintBin.new(0)
|
23
|
+
|
24
|
+
#
|
25
|
+
#
|
26
|
+
PRINTBIN_ONLYONE = Wx::PRT::PrintBin.new(1)
|
27
|
+
|
28
|
+
#
|
29
|
+
#
|
30
|
+
PRINTBIN_LOWER = Wx::PRT::PrintBin.new(2)
|
31
|
+
|
32
|
+
#
|
33
|
+
#
|
34
|
+
PRINTBIN_MIDDLE = Wx::PRT::PrintBin.new(3)
|
35
|
+
|
36
|
+
#
|
37
|
+
#
|
38
|
+
PRINTBIN_MANUAL = Wx::PRT::PrintBin.new(4)
|
39
|
+
|
40
|
+
#
|
41
|
+
#
|
42
|
+
PRINTBIN_ENVELOPE = Wx::PRT::PrintBin.new(5)
|
43
|
+
|
44
|
+
#
|
45
|
+
#
|
46
|
+
PRINTBIN_ENVMANUAL = Wx::PRT::PrintBin.new(6)
|
47
|
+
|
48
|
+
#
|
49
|
+
#
|
50
|
+
PRINTBIN_AUTO = Wx::PRT::PrintBin.new(7)
|
51
|
+
|
52
|
+
#
|
53
|
+
#
|
54
|
+
PRINTBIN_TRACTOR = Wx::PRT::PrintBin.new(8)
|
55
|
+
|
56
|
+
#
|
57
|
+
#
|
58
|
+
PRINTBIN_SMALLFMT = Wx::PRT::PrintBin.new(9)
|
59
|
+
|
60
|
+
#
|
61
|
+
#
|
62
|
+
PRINTBIN_LARGEFMT = Wx::PRT::PrintBin.new(10)
|
63
|
+
|
64
|
+
#
|
65
|
+
#
|
66
|
+
PRINTBIN_LARGECAPACITY = Wx::PRT::PrintBin.new(11)
|
67
|
+
|
68
|
+
#
|
69
|
+
#
|
70
|
+
PRINTBIN_CASSETTE = Wx::PRT::PrintBin.new(12)
|
71
|
+
|
72
|
+
#
|
73
|
+
#
|
74
|
+
PRINTBIN_FORMSOURCE = Wx::PRT::PrintBin.new(13)
|
75
|
+
|
76
|
+
#
|
77
|
+
#
|
78
|
+
PRINTBIN_USER = Wx::PRT::PrintBin.new(14)
|
79
|
+
|
80
|
+
end # PrintBin
|
81
|
+
|
82
|
+
# This class holds a variety of information related to printers and printer device contexts.
|
83
|
+
#
|
84
|
+
# This class is used to create a {Wx::PRT::PrinterDC} and a {Wx::PRT::PostScriptDC}. It is also used as a data member of {Wx::PRT::PrintDialogData} and {Wx::PRT::PageSetupDialogData}, as part of the mechanism for transferring data between the print dialogs and the application.
|
85
|
+
#
|
86
|
+
# Category: Printing Framework, Data Structures
|
87
|
+
# @see Printing Framework Overview
|
88
|
+
# @see Wx::PRT::PrintDialog
|
89
|
+
# @see Wx::PRT::PageSetupDialog
|
90
|
+
# @see Wx::PRT::PrintDialogData
|
91
|
+
# @see Wx::PRT::PageSetupDialogData
|
92
|
+
# @see wxPrintDialog Overview
|
93
|
+
# @see Wx::PRT::PrinterDC
|
94
|
+
# @see Wx::PRT::PostScriptDC
|
95
|
+
#
|
96
|
+
#
|
97
|
+
#
|
98
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
99
|
+
# @wxrb_require USE_PRINTING_ARCHITECTURE
|
100
|
+
class PrintData < Object
|
101
|
+
|
102
|
+
# @overload initialize()
|
103
|
+
# Default constructor.
|
104
|
+
# @return [Wx::PRT::PrintData]
|
105
|
+
# @overload initialize(data)
|
106
|
+
# Copy constructor.
|
107
|
+
# @param data [Wx::PRT::PrintData]
|
108
|
+
# @return [Wx::PRT::PrintData]
|
109
|
+
def initialize(*args) end
|
110
|
+
|
111
|
+
# Returns the current bin (papersource).
|
112
|
+
#
|
113
|
+
# By default, the system is left to select the bin ({Wx::PRT::PrintBin::PRINTBIN_DEFAULT} is returned).
|
114
|
+
# See {Wx::PRT::PrintData#set_bin} for the full list of bin values.
|
115
|
+
# @return [Wx::PrintBin]
|
116
|
+
def get_bin; end
|
117
|
+
alias_method :bin, :get_bin
|
118
|
+
|
119
|
+
# Returns true if collation is on.
|
120
|
+
# @return [Boolean]
|
121
|
+
def get_collate; end
|
122
|
+
alias_method :collate, :get_collate
|
123
|
+
|
124
|
+
# Returns true if colour printing is on.
|
125
|
+
# @return [Boolean]
|
126
|
+
def get_colour; end
|
127
|
+
alias_method :colour, :get_colour
|
128
|
+
|
129
|
+
# Returns the duplex mode.
|
130
|
+
#
|
131
|
+
# One of {Wx::DuplexMode::DUPLEX_SIMPLEX}, {Wx::DuplexMode::DUPLEX_HORIZONTAL}, {Wx::DuplexMode::DUPLEX_VERTICAL}.
|
132
|
+
# @return [Wx::DuplexMode]
|
133
|
+
def get_duplex; end
|
134
|
+
alias_method :duplex, :get_duplex
|
135
|
+
|
136
|
+
# Returns the number of copies requested by the user.
|
137
|
+
# @return [Integer]
|
138
|
+
def get_no_copies; end
|
139
|
+
alias_method :no_copies, :get_no_copies
|
140
|
+
|
141
|
+
# Gets the orientation.
|
142
|
+
#
|
143
|
+
# This can be {Wx::PrintOrientation::LANDSCAPE} or {Wx::PrintOrientation::PORTRAIT}.
|
144
|
+
# @return [Wx::PrintOrientation]
|
145
|
+
def get_orientation; end
|
146
|
+
alias_method :orientation, :get_orientation
|
147
|
+
|
148
|
+
# Returns the paper size id.
|
149
|
+
#
|
150
|
+
#
|
151
|
+
# @see Wx::PRT::PrintData#set_paper_id
|
152
|
+
# @return [Wx::PaperSize]
|
153
|
+
def get_paper_id; end
|
154
|
+
alias_method :paper_id, :get_paper_id
|
155
|
+
|
156
|
+
# Returns the printer name.
|
157
|
+
#
|
158
|
+
# If the printer name is the empty string, it indicates that the default printer should be used.
|
159
|
+
# @return [Wx::String]
|
160
|
+
def get_printer_name; end
|
161
|
+
alias_method :printer_name, :get_printer_name
|
162
|
+
|
163
|
+
# Returns the current print quality.
|
164
|
+
#
|
165
|
+
# This can be a positive integer, denoting the number of dots per inch, or one of the following identifiers:
|
166
|
+
#
|
167
|
+
# - {Wx::PRINT_QUALITY_HIGH}
|
168
|
+
# - {Wx::PRINT_QUALITY_MEDIUM}
|
169
|
+
# - {Wx::PRINT_QUALITY_LOW}
|
170
|
+
# - {Wx::PRINT_QUALITY_DRAFT}
|
171
|
+
#
|
172
|
+
# On input you should pass one of these identifiers, but on return you may get back a positive integer indicating the current resolution setting.
|
173
|
+
# @return [Integer]
|
174
|
+
def get_quality; end
|
175
|
+
alias_method :quality, :get_quality
|
176
|
+
|
177
|
+
# Returns true if the print data is valid for using in print dialogs.
|
178
|
+
#
|
179
|
+
# This can return false on Windows if the current printer is not set, for example. On all other platforms, it returns true.
|
180
|
+
# @return [Boolean]
|
181
|
+
def is_ok; end
|
182
|
+
alias_method :ok?, :is_ok
|
183
|
+
|
184
|
+
# Sets the current bin.
|
185
|
+
# @param flag [Wx::PrintBin]
|
186
|
+
# @return [void]
|
187
|
+
def set_bin(flag) end
|
188
|
+
alias_method :bin=, :set_bin
|
189
|
+
|
190
|
+
# Sets collation to on or off.
|
191
|
+
# @param flag [Boolean]
|
192
|
+
# @return [void]
|
193
|
+
def set_collate(flag) end
|
194
|
+
alias_method :collate=, :set_collate
|
195
|
+
|
196
|
+
# Sets colour printing on or off.
|
197
|
+
# @param flag [Boolean]
|
198
|
+
# @return [void]
|
199
|
+
def set_colour(flag) end
|
200
|
+
alias_method :colour=, :set_colour
|
201
|
+
|
202
|
+
# Returns the duplex mode.
|
203
|
+
#
|
204
|
+
# One of {Wx::DuplexMode::DUPLEX_SIMPLEX}, {Wx::DuplexMode::DUPLEX_HORIZONTAL}, {Wx::DuplexMode::DUPLEX_VERTICAL}.
|
205
|
+
# @param mode [Wx::DuplexMode]
|
206
|
+
# @return [void]
|
207
|
+
def set_duplex(mode) end
|
208
|
+
alias_method :duplex=, :set_duplex
|
209
|
+
|
210
|
+
# Sets the default number of copies to be printed out.
|
211
|
+
# @param n [Integer]
|
212
|
+
# @return [void]
|
213
|
+
def set_no_copies(n) end
|
214
|
+
alias_method :no_copies=, :set_no_copies
|
215
|
+
|
216
|
+
# Sets the orientation.
|
217
|
+
#
|
218
|
+
# This can be {Wx::PrintOrientation::LANDSCAPE} or {Wx::PrintOrientation::PORTRAIT}.
|
219
|
+
# @param orientation [Wx::PrintOrientation]
|
220
|
+
# @return [void]
|
221
|
+
def set_orientation(orientation) end
|
222
|
+
alias_method :orientation=, :set_orientation
|
223
|
+
|
224
|
+
# Sets the paper id.
|
225
|
+
#
|
226
|
+
# This indicates the type of paper to be used. For a mapping between paper id, paper size and string name, see {Wx::PrintPaperDatabase} in <code>"paper.h"</code> (not yet documented).
|
227
|
+
# @see Wx::PRT::PrintData#set_paper_size
|
228
|
+
# @param paperId [Wx::PaperSize]
|
229
|
+
# @return [void]
|
230
|
+
def set_paper_id(paperId) end
|
231
|
+
alias_method :paper_id=, :set_paper_id
|
232
|
+
|
233
|
+
# Sets custom paper size.
|
234
|
+
#
|
235
|
+
# This method can be used to set up custom paper size. When using a standard size, prefer to use {Wx::PRT::PrintData#set_paper_id} instead.
|
236
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
237
|
+
# @return [void]
|
238
|
+
def set_paper_size(size) end
|
239
|
+
alias_method :paper_size=, :set_paper_size
|
240
|
+
|
241
|
+
# Sets the printer name.
|
242
|
+
#
|
243
|
+
# This can be the empty string to indicate that the default printer should be used.
|
244
|
+
# @param printerName [String]
|
245
|
+
# @return [void]
|
246
|
+
def set_printer_name(printerName) end
|
247
|
+
alias_method :printer_name=, :set_printer_name
|
248
|
+
|
249
|
+
# Sets the desired print quality.
|
250
|
+
#
|
251
|
+
# This can be a positive integer, denoting the number of dots per inch, or one of the following identifiers:
|
252
|
+
#
|
253
|
+
# - {Wx::PRINT_QUALITY_HIGH}
|
254
|
+
# - {Wx::PRINT_QUALITY_MEDIUM}
|
255
|
+
# - {Wx::PRINT_QUALITY_LOW}
|
256
|
+
# - {Wx::PRINT_QUALITY_DRAFT}
|
257
|
+
#
|
258
|
+
# On input you should pass one of these identifiers, but on return you may get back a positive integer indicating the current resolution setting.
|
259
|
+
# @param quality [Integer]
|
260
|
+
# @return [void]
|
261
|
+
def set_quality(quality) end
|
262
|
+
alias_method :quality=, :set_quality
|
263
|
+
|
264
|
+
# @return [String]
|
265
|
+
def get_filename; end
|
266
|
+
alias_method :filename, :get_filename
|
267
|
+
|
268
|
+
# @param filename [String]
|
269
|
+
# @return [void]
|
270
|
+
def set_filename(filename) end
|
271
|
+
alias_method :filename=, :set_filename
|
272
|
+
|
273
|
+
# @return [Wx::PrintMode]
|
274
|
+
def get_print_mode; end
|
275
|
+
alias_method :print_mode, :get_print_mode
|
276
|
+
|
277
|
+
# @param printMode [Wx::PrintMode]
|
278
|
+
# @return [void]
|
279
|
+
def set_print_mode(printMode) end
|
280
|
+
alias_method :print_mode=, :set_print_mode
|
281
|
+
|
282
|
+
end # PrintData
|
283
|
+
|
284
|
+
# This class holds information related to the visual characteristics of {Wx::PRT::PrintDialog}.
|
285
|
+
#
|
286
|
+
# It contains a {Wx::PRT::PrintData} object with underlying printing settings.
|
287
|
+
#
|
288
|
+
# Category: Printing Framework, Common Dialogs, Data Structures
|
289
|
+
# @see Printing Framework Overview
|
290
|
+
# @see Wx::PRT::PrintDialog
|
291
|
+
# @see wxPrintDialog Overview
|
292
|
+
#
|
293
|
+
#
|
294
|
+
#
|
295
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
296
|
+
# @wxrb_require USE_PRINTING_ARCHITECTURE
|
297
|
+
class PrintDialogData < Object
|
298
|
+
|
299
|
+
# @overload initialize()
|
300
|
+
# Default constructor.
|
301
|
+
# @return [Wx::PRT::PrintDialogData]
|
302
|
+
# @overload initialize(dialogData)
|
303
|
+
# Copy constructor.
|
304
|
+
# @param dialogData [Wx::PRT::PrintDialogData]
|
305
|
+
# @return [Wx::PRT::PrintDialogData]
|
306
|
+
# @overload initialize(printData)
|
307
|
+
# Construct an object from a print dialog data object.
|
308
|
+
# @param printData [Wx::PRT::PrintData]
|
309
|
+
# @return [Wx::PRT::PrintDialogData]
|
310
|
+
def initialize(*args) end
|
311
|
+
|
312
|
+
# Enables or disables the "Help" button.
|
313
|
+
# @param flag [Boolean]
|
314
|
+
# @return [void]
|
315
|
+
def enable_help(flag) end
|
316
|
+
|
317
|
+
# Enables or disables the "Page numbers" controls.
|
318
|
+
# @param flag [Boolean]
|
319
|
+
# @return [void]
|
320
|
+
def enable_page_numbers(flag) end
|
321
|
+
|
322
|
+
# Enables or disables the "Print to file" checkbox.
|
323
|
+
# @param flag [Boolean]
|
324
|
+
# @return [void]
|
325
|
+
def enable_print_to_file(flag) end
|
326
|
+
|
327
|
+
# Enables or disables the "Selection" radio button.
|
328
|
+
# @param flag [Boolean]
|
329
|
+
# @return [void]
|
330
|
+
def enable_selection(flag) end
|
331
|
+
|
332
|
+
# Returns true if the user requested that all pages be printed.
|
333
|
+
# @return [Boolean]
|
334
|
+
def get_all_pages; end
|
335
|
+
alias_method :all_pages, :get_all_pages
|
336
|
+
|
337
|
+
# Returns true if the user requested that the document(s) be collated.
|
338
|
+
# @return [Boolean]
|
339
|
+
def get_collate; end
|
340
|
+
alias_method :collate, :get_collate
|
341
|
+
|
342
|
+
# Returns the from page number, as entered by the user.
|
343
|
+
# @return [Integer]
|
344
|
+
def get_from_page; end
|
345
|
+
alias_method :from_page, :get_from_page
|
346
|
+
|
347
|
+
# Returns the maximum page number.
|
348
|
+
# @return [Integer]
|
349
|
+
def get_max_page; end
|
350
|
+
alias_method :max_page, :get_max_page
|
351
|
+
|
352
|
+
# Returns the minimum page number.
|
353
|
+
# @return [Integer]
|
354
|
+
def get_min_page; end
|
355
|
+
alias_method :min_page, :get_min_page
|
356
|
+
|
357
|
+
# Returns the number of copies requested by the user.
|
358
|
+
# @return [Integer]
|
359
|
+
def get_no_copies; end
|
360
|
+
alias_method :no_copies, :get_no_copies
|
361
|
+
|
362
|
+
# Returns a reference to the internal {Wx::PRT::PrintData} object.
|
363
|
+
# @return [Wx::PrintData]
|
364
|
+
def get_print_data; end
|
365
|
+
alias_method :print_data, :get_print_data
|
366
|
+
|
367
|
+
# Returns true if the user has selected printing to a file.
|
368
|
+
# @return [Boolean]
|
369
|
+
def get_print_to_file; end
|
370
|
+
alias_method :print_to_file, :get_print_to_file
|
371
|
+
|
372
|
+
# Returns true if the user requested that the selection be printed (where "selection" is a concept specific to the application).
|
373
|
+
# @return [Boolean]
|
374
|
+
def get_selection; end
|
375
|
+
alias_method :selection, :get_selection
|
376
|
+
|
377
|
+
# Returns the "print to" page number, as entered by the user.
|
378
|
+
# @return [Integer]
|
379
|
+
def get_to_page; end
|
380
|
+
alias_method :to_page, :get_to_page
|
381
|
+
|
382
|
+
# Returns true if the print data is valid for using in print dialogs.
|
383
|
+
#
|
384
|
+
# This can return false on Windows if the current printer is not set, for example. On all other platforms, it returns true.
|
385
|
+
# @return [Boolean]
|
386
|
+
def is_ok; end
|
387
|
+
alias_method :ok?, :is_ok
|
388
|
+
|
389
|
+
# Sets the "Collate" checkbox to true or false.
|
390
|
+
# @param flag [Boolean]
|
391
|
+
# @return [void]
|
392
|
+
def set_collate(flag) end
|
393
|
+
alias_method :collate=, :set_collate
|
394
|
+
|
395
|
+
# Sets the from page number.
|
396
|
+
# @param page [Integer]
|
397
|
+
# @return [void]
|
398
|
+
def set_from_page(page) end
|
399
|
+
alias_method :from_page=, :set_from_page
|
400
|
+
|
401
|
+
# Sets the maximum page number.
|
402
|
+
# @param page [Integer]
|
403
|
+
# @return [void]
|
404
|
+
def set_max_page(page) end
|
405
|
+
alias_method :max_page=, :set_max_page
|
406
|
+
|
407
|
+
# Sets the minimum page number.
|
408
|
+
# @param page [Integer]
|
409
|
+
# @return [void]
|
410
|
+
def set_min_page(page) end
|
411
|
+
alias_method :min_page=, :set_min_page
|
412
|
+
|
413
|
+
# Sets the default number of copies the user has requested to be printed out.
|
414
|
+
# @param n [Integer]
|
415
|
+
# @return [void]
|
416
|
+
def set_no_copies(n) end
|
417
|
+
alias_method :no_copies=, :set_no_copies
|
418
|
+
|
419
|
+
# Sets the internal {Wx::PRT::PrintData}.
|
420
|
+
# @param printData [Wx::PRT::PrintData]
|
421
|
+
# @return [void]
|
422
|
+
def set_print_data(printData) end
|
423
|
+
alias_method :print_data=, :set_print_data
|
424
|
+
|
425
|
+
# Sets the "Print to file" checkbox to true or false.
|
426
|
+
# @param flag [Boolean]
|
427
|
+
# @return [void]
|
428
|
+
def set_print_to_file(flag) end
|
429
|
+
alias_method :print_to_file=, :set_print_to_file
|
430
|
+
|
431
|
+
# Selects the "Selection" radio button.
|
432
|
+
#
|
433
|
+
# The effect of printing the selection depends on how the application implements this command, if at all.
|
434
|
+
# @param flag [Boolean]
|
435
|
+
# @return [void]
|
436
|
+
def set_selection(flag) end
|
437
|
+
alias_method :selection=, :set_selection
|
438
|
+
|
439
|
+
# Sets the "print to" page number.
|
440
|
+
# @param page [Integer]
|
441
|
+
# @return [void]
|
442
|
+
def set_to_page(page) end
|
443
|
+
alias_method :to_page=, :set_to_page
|
444
|
+
|
445
|
+
end # PrintDialogData
|
446
|
+
|
447
|
+
# This class holds a variety of information related to {Wx::PRT::PageSetupDialog}.
|
448
|
+
#
|
449
|
+
# It contains a {Wx::PRT::PrintData} member which is used to hold basic printer configuration data (as opposed to the user-interface configuration settings stored by {Wx::PRT::PageSetupDialogData}).
|
450
|
+
#
|
451
|
+
# Category: Printing Framework, Data Structures
|
452
|
+
# @see Printing Framework Overview
|
453
|
+
# @see Wx::PRT::PageSetupDialog
|
454
|
+
#
|
455
|
+
#
|
456
|
+
#
|
457
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
458
|
+
# @wxrb_require USE_PRINTING_ARCHITECTURE
|
459
|
+
class PageSetupDialogData < Object
|
460
|
+
|
461
|
+
# @overload initialize()
|
462
|
+
# Default constructor.
|
463
|
+
# @return [Wx::PRT::PageSetupDialogData]
|
464
|
+
# @overload initialize(data)
|
465
|
+
# Copy constructor.
|
466
|
+
# @param data [Wx::PRT::PageSetupDialogData]
|
467
|
+
# @return [Wx::PRT::PageSetupDialogData]
|
468
|
+
# @overload initialize(printData)
|
469
|
+
# Construct an object from a print data object.
|
470
|
+
# @param printData [Wx::PRT::PrintData]
|
471
|
+
# @return [Wx::PRT::PageSetupDialogData]
|
472
|
+
def initialize(*args) end
|
473
|
+
|
474
|
+
# Enables or disables the "Help" button (Windows only).
|
475
|
+
# @param flag [Boolean]
|
476
|
+
# @return [void]
|
477
|
+
def enable_help(flag) end
|
478
|
+
|
479
|
+
# Enables or disables the margin controls (Windows only).
|
480
|
+
# @param flag [Boolean]
|
481
|
+
# @return [void]
|
482
|
+
def enable_margins(flag) end
|
483
|
+
|
484
|
+
# Enables or disables the orientation control (Windows only).
|
485
|
+
# @param flag [Boolean]
|
486
|
+
# @return [void]
|
487
|
+
def enable_orientation(flag) end
|
488
|
+
|
489
|
+
# Enables or disables the paper size control (Windows only).
|
490
|
+
# @param flag [Boolean]
|
491
|
+
# @return [void]
|
492
|
+
def enable_paper(flag) end
|
493
|
+
|
494
|
+
# Enables or disables the "Printer" button, which invokes a printer setup dialog.
|
495
|
+
# @param flag [Boolean]
|
496
|
+
# @return [void]
|
497
|
+
def enable_printer(flag) end
|
498
|
+
|
499
|
+
# Returns true if the dialog will simply return default printer information (such as orientation) instead of showing a dialog (Windows only).
|
500
|
+
# @return [Boolean]
|
501
|
+
def get_default_info; end
|
502
|
+
alias_method :default_info, :get_default_info
|
503
|
+
|
504
|
+
# Returns true if the page setup dialog will take its minimum margin values from the currently selected printer properties (Windows only).
|
505
|
+
# @return [Boolean]
|
506
|
+
def get_default_min_margins; end
|
507
|
+
alias_method :default_min_margins, :get_default_min_margins
|
508
|
+
|
509
|
+
# Returns true if the printer setup button is enabled.
|
510
|
+
# @return [Boolean]
|
511
|
+
def get_enable_help; end
|
512
|
+
|
513
|
+
# Returns true if the margin controls are enabled (Windows only).
|
514
|
+
# @return [Boolean]
|
515
|
+
def get_enable_margins; end
|
516
|
+
|
517
|
+
# Returns true if the orientation control is enabled (Windows only).
|
518
|
+
# @return [Boolean]
|
519
|
+
def get_enable_orientation; end
|
520
|
+
|
521
|
+
# Returns true if the paper size control is enabled (Windows only).
|
522
|
+
# @return [Boolean]
|
523
|
+
def get_enable_paper; end
|
524
|
+
|
525
|
+
# Returns true if the printer setup button is enabled.
|
526
|
+
# @return [Boolean]
|
527
|
+
def get_enable_printer; end
|
528
|
+
|
529
|
+
# Returns the right (x) and bottom (y) margins in millimetres.
|
530
|
+
# @return [Wx::Point]
|
531
|
+
def get_margin_bottom_right; end
|
532
|
+
alias_method :margin_bottom_right, :get_margin_bottom_right
|
533
|
+
|
534
|
+
# Returns the left (x) and top (y) margins in millimetres.
|
535
|
+
# @return [Wx::Point]
|
536
|
+
def get_margin_top_left; end
|
537
|
+
alias_method :margin_top_left, :get_margin_top_left
|
538
|
+
|
539
|
+
# Returns the right (x) and bottom (y) minimum margins the user can enter (Windows only).
|
540
|
+
#
|
541
|
+
# Units are in millimetres.
|
542
|
+
# @return [Wx::Point]
|
543
|
+
def get_min_margin_bottom_right; end
|
544
|
+
alias_method :min_margin_bottom_right, :get_min_margin_bottom_right
|
545
|
+
|
546
|
+
# Returns the left (x) and top (y) minimum margins the user can enter (Windows only).
|
547
|
+
#
|
548
|
+
# Units are in millimetres.
|
549
|
+
# @return [Wx::Point]
|
550
|
+
def get_min_margin_top_left; end
|
551
|
+
alias_method :min_margin_top_left, :get_min_margin_top_left
|
552
|
+
|
553
|
+
# Returns the paper id (stored in the internal {Wx::PRT::PrintData} object).
|
554
|
+
#
|
555
|
+
#
|
556
|
+
# @see Wx::PRT::PrintData#set_paper_id
|
557
|
+
# @return [Wx::PaperSize]
|
558
|
+
def get_paper_id; end
|
559
|
+
alias_method :paper_id, :get_paper_id
|
560
|
+
|
561
|
+
# Returns the paper size in millimetres.
|
562
|
+
# @return [Wx::Size]
|
563
|
+
def get_paper_size; end
|
564
|
+
alias_method :paper_size, :get_paper_size
|
565
|
+
|
566
|
+
# @return [Wx::PRT::PrintData]
|
567
|
+
def get_print_data; end
|
568
|
+
alias_method :print_data, :get_print_data
|
569
|
+
|
570
|
+
# Returns true if the print data associated with the dialog data is valid.
|
571
|
+
#
|
572
|
+
# This can return false on Windows if the current printer is not set, for example. On all other platforms, it returns true.
|
573
|
+
# @return [Boolean]
|
574
|
+
def is_ok; end
|
575
|
+
alias_method :ok?, :is_ok
|
576
|
+
|
577
|
+
# Pass true if the dialog will simply return default printer information (such as orientation) instead of showing a dialog (Windows only).
|
578
|
+
# @param flag [Boolean]
|
579
|
+
# @return [void]
|
580
|
+
def set_default_info(flag) end
|
581
|
+
alias_method :default_info=, :set_default_info
|
582
|
+
|
583
|
+
# Pass true if the page setup dialog will take its minimum margin values from the currently selected printer properties (Windows only).
|
584
|
+
#
|
585
|
+
# Units are in millimetres.
|
586
|
+
# @param flag [Boolean]
|
587
|
+
# @return [void]
|
588
|
+
def set_default_min_margins(flag) end
|
589
|
+
alias_method :default_min_margins=, :set_default_min_margins
|
590
|
+
|
591
|
+
# Sets the right (x) and bottom (y) margins in millimetres.
|
592
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
593
|
+
# @return [void]
|
594
|
+
def set_margin_bottom_right(pt) end
|
595
|
+
alias_method :margin_bottom_right=, :set_margin_bottom_right
|
596
|
+
|
597
|
+
# Sets the left (x) and top (y) margins in millimetres.
|
598
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
599
|
+
# @return [void]
|
600
|
+
def set_margin_top_left(pt) end
|
601
|
+
alias_method :margin_top_left=, :set_margin_top_left
|
602
|
+
|
603
|
+
# Sets the right (x) and bottom (y) minimum margins the user can enter (Windows only).
|
604
|
+
#
|
605
|
+
# Units are in millimetres.
|
606
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
607
|
+
# @return [void]
|
608
|
+
def set_min_margin_bottom_right(pt) end
|
609
|
+
alias_method :min_margin_bottom_right=, :set_min_margin_bottom_right
|
610
|
+
|
611
|
+
# Sets the left (x) and top (y) minimum margins the user can enter (Windows only).
|
612
|
+
#
|
613
|
+
# Units are in millimetres.
|
614
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
615
|
+
# @return [void]
|
616
|
+
def set_min_margin_top_left(pt) end
|
617
|
+
alias_method :min_margin_top_left=, :set_min_margin_top_left
|
618
|
+
|
619
|
+
# Sets the paper size id.
|
620
|
+
#
|
621
|
+
# Calling this function overrides the explicit paper dimensions passed in {Wx::PRT::PageSetupDialogData#set_paper_size}.
|
622
|
+
# @see Wx::PRT::PrintData#set_paper_id
|
623
|
+
# @param id [Wx::PaperSize]
|
624
|
+
# @return [void]
|
625
|
+
def set_paper_id(id) end
|
626
|
+
alias_method :paper_id=, :set_paper_id
|
627
|
+
|
628
|
+
# Sets the paper size in millimetres.
|
629
|
+
#
|
630
|
+
# If a corresponding paper id is found, it will be set in the internal {Wx::PRT::PrintData} object, otherwise the paper size overrides the paper id.
|
631
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
632
|
+
# @return [void]
|
633
|
+
def set_paper_size(size) end
|
634
|
+
alias_method :paper_size=, :set_paper_size
|
635
|
+
|
636
|
+
# Sets the print data associated with this object.
|
637
|
+
# @param printData [Wx::PRT::PrintData]
|
638
|
+
# @return [void]
|
639
|
+
def set_print_data(printData) end
|
640
|
+
alias_method :print_data=, :set_print_data
|
641
|
+
|
642
|
+
end # PageSetupDialogData
|
639
643
|
|
640
|
-
end # PageSetupDialogData
|
641
|
-
|
642
644
|
|
643
|
-
end
|
645
|
+
end
|
646
|
+
|
647
|
+
end
|