wxruby3 0.9.0.pre.rc.2-x64-mingw-ucrt → 0.9.0-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/INSTALL.md +30 -8
- data/README.md +3 -3
- data/ext/mkrf_conf_bingem.rb +4 -1
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/accessors.rb +10 -2
- data/lib/wx/aui/auifloatframe.rb +20 -0
- data/lib/wx/aui/auimanager.rb +3 -0
- data/lib/wx/aui/auinotebook.rb +17 -0
- data/lib/wx/aui/events/evt_list.rb +7 -7
- data/lib/wx/aui/require.rb +5 -1
- data/lib/wx/aui.rb +4 -1
- data/lib/wx/core/acceleratortable.rb +8 -0
- data/lib/wx/core/animation.rb +8 -0
- data/lib/wx/core/app.rb +8 -0
- data/lib/wx/core/array_ext.rb +7 -0
- data/lib/wx/core/art_locator.rb +7 -0
- data/lib/wx/core/artprovider.rb +9 -0
- data/lib/wx/core/bitmap.rb +16 -4
- data/lib/wx/core/bitmap_combobox.rb +7 -0
- data/lib/wx/core/brush.rb +7 -0
- data/lib/wx/core/busycursor.rb +9 -0
- data/lib/wx/core/choice.rb +7 -0
- data/lib/wx/core/choicedlg.rb +7 -0
- data/lib/wx/core/clientdc.rb +9 -0
- data/lib/wx/core/clipboard.rb +8 -0
- data/lib/wx/core/collapsible_pane.rb +8 -1
- data/lib/wx/core/colour.rb +8 -0
- data/lib/wx/core/combo_ctrl.rb +110 -0
- data/lib/wx/core/combobox.rb +7 -0
- data/lib/wx/core/config.rb +303 -0
- data/lib/wx/core/controlwithitems.rb +12 -1
- data/lib/wx/core/cursor.rb +14 -4
- data/lib/wx/core/data_object.rb +7 -0
- data/lib/wx/core/dataformat.rb +9 -0
- data/lib/wx/core/datetime.rb +14 -0
- data/lib/wx/core/dc.rb +7 -0
- data/lib/wx/core/dialog.rb +18 -1
- data/lib/wx/core/enum.rb +7 -0
- data/lib/wx/core/event.rb +7 -0
- data/lib/wx/core/event_blocker.rb +7 -0
- data/lib/wx/core/event_loop.rb +14 -0
- data/lib/wx/core/events/evt_list.rb +76 -0
- data/lib/wx/core/evthandler.rb +8 -0
- data/lib/wx/core/ext.rb +7 -0
- data/lib/wx/core/file_dialog.rb +23 -0
- data/lib/wx/core/find_replace_dialog.rb +7 -0
- data/lib/wx/core/functions.rb +8 -0
- data/lib/wx/core/gauge.rb +10 -1
- data/lib/wx/core/genericdirctrl.rb +9 -0
- data/lib/wx/core/hboxsizer.rb +16 -0
- data/lib/wx/core/helpcontroller.rb +8 -0
- data/lib/wx/core/helpcontrollerhelpprovider.rb +9 -0
- data/lib/wx/core/helpprovider.rb +10 -1
- data/lib/wx/core/icon.rb +17 -6
- data/lib/wx/core/id_helper.rb +7 -0
- data/lib/wx/core/image.rb +49 -4
- data/lib/wx/core/imagelist.rb +8 -1
- data/lib/wx/core/listbox.rb +7 -0
- data/lib/wx/core/listctrl.rb +26 -13
- data/lib/wx/core/locale.rb +8 -0
- data/lib/wx/core/log.rb +114 -0
- data/lib/wx/core/menu.rb +9 -0
- data/lib/wx/core/menu_bar.rb +7 -0
- data/lib/wx/core/menuitem.rb +9 -0
- data/lib/wx/core/notebook.rb +9 -0
- data/lib/wx/core/object.rb +9 -0
- data/lib/wx/core/paintdc.rb +7 -0
- data/lib/wx/core/pen.rb +7 -0
- data/lib/wx/core/pen_info.rb +7 -0
- data/lib/wx/core/platform_info.rb +7 -0
- data/lib/wx/core/point.rb +8 -0
- data/lib/wx/core/real_point.rb +8 -0
- data/lib/wx/core/rect.rb +9 -0
- data/lib/wx/core/region_iterator.rb +7 -0
- data/lib/wx/core/simplehelpprovider.rb +9 -0
- data/lib/wx/core/size.rb +8 -0
- data/lib/wx/core/sizer.rb +9 -0
- data/lib/wx/core/splash_screen.rb +22 -2
- data/lib/wx/core/text_entry.rb +7 -0
- data/lib/wx/core/textctrl.rb +86 -5
- data/lib/wx/core/timer.rb +9 -0
- data/lib/wx/core/toolbar.rb +9 -0
- data/lib/wx/core/toolbartool.rb +8 -0
- data/lib/wx/core/treectrl.rb +9 -0
- data/lib/wx/core/v_list_box.rb +7 -0
- data/lib/wx/core/validator.rb +7 -0
- data/lib/wx/core/variant.rb +7 -0
- data/lib/wx/core/vboxsizer.rb +16 -0
- data/lib/wx/core/window.rb +8 -0
- data/lib/wx/core/window_update_locker.rb +9 -0
- data/lib/wx/core/xmlresource.rb +8 -0
- data/lib/wx/core.rb +4 -1
- data/lib/wx/doc/app.rb +7 -1
- data/lib/wx/doc/array_ext.rb +6 -0
- data/lib/wx/doc/art_locator.rb +7 -0
- data/lib/wx/doc/aui/auimanager.rb +6 -0
- data/lib/wx/doc/aui/auinotebook.rb +6 -0
- data/lib/wx/doc/bitmap.rb +19 -15
- data/lib/wx/doc/brush.rb +6 -0
- data/lib/wx/doc/busy_info.rb +6 -0
- data/lib/wx/doc/client_dc.rb +6 -0
- data/lib/wx/doc/clipboard.rb +6 -0
- data/lib/wx/doc/colour_dialog.rb +6 -0
- data/lib/wx/doc/config.rb +190 -0
- data/lib/wx/doc/const.rb +7 -0
- data/lib/wx/doc/controlwithitems.rb +6 -0
- data/lib/wx/doc/core.rb +6 -0
- data/lib/wx/doc/cursor.rb +13 -5
- data/lib/wx/doc/data_object.rb +6 -0
- data/lib/wx/doc/datetime.rb +16 -0
- data/lib/wx/doc/dc.rb +6 -0
- data/lib/wx/doc/enum.rb +8 -1
- data/lib/wx/doc/event.rb +12 -0
- data/lib/wx/doc/event_blocker.rb +6 -0
- data/lib/wx/doc/event_loop.rb +13 -0
- data/lib/wx/doc/events.rb +6 -0
- data/lib/wx/doc/evthandler.rb +8 -0
- data/lib/wx/doc/extra/00_starting.md +6 -6
- data/lib/wx/doc/extra/01_packages.md +52 -51
- data/lib/wx/doc/extra/02_lifecycles.md +9 -8
- data/lib/wx/doc/extra/05_event-handling.md +37 -12
- data/lib/wx/doc/extra/06_geometry.md +5 -5
- data/lib/wx/doc/extra/07_colour_and_font.md +2 -2
- data/lib/wx/doc/extra/09_exceptions.md +2 -2
- data/lib/wx/doc/extra/10_art.md +18 -12
- data/lib/wx/doc/extra/11_drawing_and_dc.md +8 -8
- data/lib/wx/doc/font.rb +7 -1
- data/lib/wx/doc/font_data.rb +16 -0
- data/lib/wx/doc/functions.rb +60 -24
- data/lib/wx/doc/gc_dc.rb +7 -1
- data/lib/wx/doc/gdi_common.rb +8 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +10 -10
- data/lib/wx/doc/gen/accelerator.rb +8 -13
- data/lib/wx/doc/gen/accessible.rb +27 -23
- data/lib/wx/doc/gen/activity_indicator.rb +7 -7
- data/lib/wx/doc/gen/animation.rb +20 -20
- data/lib/wx/doc/gen/animation_ctrl.rb +14 -13
- data/lib/wx/doc/gen/any_button.rb +3 -3
- data/lib/wx/doc/gen/app.rb +25 -88
- data/lib/wx/doc/gen/app_traits.rb +381 -0
- data/lib/wx/doc/gen/art_provider.rb +64 -4
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +12 -12
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_manager.rb +57 -41
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +16 -10
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +19 -20
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +7 -7
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +12 -12
- data/lib/wx/doc/gen/aui/aui_notebook.rb +136 -26
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +17 -2
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +95 -95
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +17 -17
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +61 -46
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +18 -18
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +11 -11
- data/lib/wx/doc/gen/aui/event_list.rb +7 -0
- data/lib/wx/doc/gen/banner_window.rb +98 -0
- data/lib/wx/doc/gen/bitmap.rb +56 -81
- data/lib/wx/doc/gen/bitmap_button.rb +13 -9
- data/lib/wx/doc/gen/bitmap_combo_box.rb +14 -9
- data/lib/wx/doc/gen/book_ctrl_base.rb +20 -16
- data/lib/wx/doc/gen/book_ctrl_event.rb +2 -2
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +24 -12
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +23 -11
- data/lib/wx/doc/gen/calculate_layout_event.rb +2 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +34 -22
- data/lib/wx/doc/gen/calendar_date_attr.rb +13 -13
- data/lib/wx/doc/gen/calendar_event.rb +4 -10
- data/lib/wx/doc/gen/caret.rb +6 -6
- data/lib/wx/doc/gen/check_box.rb +19 -15
- data/lib/wx/doc/gen/check_list_box.rb +10 -9
- data/lib/wx/doc/gen/choice.rb +10 -9
- data/lib/wx/doc/gen/choicebook.rb +13 -7
- data/lib/wx/doc/gen/client_dc.rb +1 -1
- data/lib/wx/doc/gen/clipboard.rb +10 -10
- data/lib/wx/doc/gen/collapsible_pane.rb +13 -10
- data/lib/wx/doc/gen/collapsible_pane_event.rb +5 -4
- data/lib/wx/doc/gen/colour.rb +42 -32
- data/lib/wx/doc/gen/colour_dialog.rb +12 -12
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +16 -10
- data/lib/wx/doc/gen/colour_picker_event.rb +7 -4
- data/lib/wx/doc/gen/combo_box.rb +29 -20
- data/lib/wx/doc/gen/combo_ctrl.rb +960 -0
- data/lib/wx/doc/gen/command_link_button.rb +110 -0
- data/lib/wx/doc/gen/config_base.rb +10 -0
- data/lib/wx/doc/gen/context_help_button.rb +7 -6
- data/lib/wx/doc/gen/control.rb +12 -9
- data/lib/wx/doc/gen/control_with_items.rb +5 -5
- data/lib/wx/doc/gen/core.rb +8 -5
- data/lib/wx/doc/gen/cursor.rb +18 -18
- data/lib/wx/doc/gen/data_format.rb +5 -5
- data/lib/wx/doc/gen/data_object.rb +32 -25
- data/lib/wx/doc/gen/date_event.rb +3 -3
- data/lib/wx/doc/gen/date_picker_ctrl.rb +16 -11
- data/lib/wx/doc/gen/dc.rb +162 -74
- data/lib/wx/doc/gen/defs.rb +16 -16
- data/lib/wx/doc/gen/dialog.rb +65 -22
- data/lib/wx/doc/gen/dir_dialog.rb +6 -2
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +3 -3
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +17 -12
- data/lib/wx/doc/gen/drag_drop.rb +26 -52
- data/lib/wx/doc/gen/drag_image.rb +13 -38
- data/lib/wx/doc/gen/editable_list_box.rb +9 -5
- data/lib/wx/doc/gen/event.rb +55 -32
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_filter.rb +5 -2
- data/lib/wx/doc/gen/event_list.rb +117 -19
- data/lib/wx/doc/gen/events.rb +351 -215
- data/lib/wx/doc/gen/evt_handler.rb +8 -8
- data/lib/wx/doc/gen/ext_help_controller.rb +9 -9
- data/lib/wx/doc/gen/file_dialog.rb +20 -9
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +146 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +159 -0
- data/lib/wx/doc/gen/file_dir_picker_event.rb +5 -3
- data/lib/wx/doc/gen/file_picker_ctrl.rb +19 -11
- data/lib/wx/doc/gen/file_system.rb +250 -0
- data/lib/wx/doc/gen/find_dialog_event.rb +7 -2
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +2 -2
- data/lib/wx/doc/gen/flex_grid_sizer.rb +16 -10
- data/lib/wx/doc/gen/font.rb +90 -94
- data/lib/wx/doc/gen/font_data.rb +15 -11
- data/lib/wx/doc/gen/font_dialog.rb +5 -5
- data/lib/wx/doc/gen/font_picker_ctrl.rb +11 -7
- data/lib/wx/doc/gen/font_picker_event.rb +2 -1
- data/lib/wx/doc/gen/frame.rb +36 -27
- data/lib/wx/doc/gen/fs_file.rb +65 -38
- data/lib/wx/doc/gen/gauge.rb +14 -10
- data/lib/wx/doc/gen/gb_sizer_item.rb +12 -26
- data/lib/wx/doc/gen/gcdc.rb +5 -1
- data/lib/wx/doc/gen/gdi_common.rb +43 -41
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +19 -13
- data/lib/wx/doc/gen/graphics_context.rb +320 -88
- data/lib/wx/doc/gen/graphics_object.rb +48 -102
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +4 -2
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +41 -56
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +4 -2
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +7 -12
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +19 -14
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +15 -13
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +446 -189
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +5 -3
- data/lib/wx/doc/gen/grid/grid_event.rb +26 -9
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +15 -11
- data/lib/wx/doc/gen/grid/grid_size_event.rb +13 -7
- data/lib/wx/doc/gen/grid/grid_string_table.rb +8 -8
- data/lib/wx/doc/gen/grid/grid_table_base.rb +21 -21
- data/lib/wx/doc/gen/grid/grid_table_message.rb +5 -5
- data/lib/wx/doc/gen/grid_bag_sizer.rb +15 -15
- data/lib/wx/doc/gen/grid_sizer.rb +4 -4
- data/lib/wx/doc/gen/gui_event_loop.rb +132 -0
- data/lib/wx/doc/gen/header_ctrl.rb +755 -0
- data/lib/wx/doc/gen/header_ctrl_event.rb +131 -0
- data/lib/wx/doc/gen/help_controller.rb +25 -19
- data/lib/wx/doc/gen/help_provider.rb +3 -3
- data/lib/wx/doc/gen/html/html_cell.rb +100 -59
- data/lib/wx/doc/gen/html/html_cell_event.rb +7 -5
- data/lib/wx/doc/gen/html/html_easy_printing.rb +14 -9
- data/lib/wx/doc/gen/html/html_help_controller.rb +60 -46
- data/lib/wx/doc/gen/html/html_help_data.rb +5 -5
- data/lib/wx/doc/gen/html/html_help_window.rb +33 -35
- data/lib/wx/doc/gen/html/html_link_event.rb +4 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +21 -13
- data/lib/wx/doc/gen/html/html_printout.rb +16 -6
- data/lib/wx/doc/gen/html/html_window.rb +54 -39
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +15 -10
- data/lib/wx/doc/gen/hyperlink_event.rb +2 -1
- data/lib/wx/doc/gen/icon.rb +24 -24
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +164 -114
- data/lib/wx/doc/gen/image_list.rb +24 -30
- data/lib/wx/doc/gen/info_bar.rb +152 -0
- data/lib/wx/doc/gen/keyboard_state.rb +24 -24
- data/lib/wx/doc/gen/list_box.rb +40 -31
- data/lib/wx/doc/gen/list_ctrl.rb +223 -167
- data/lib/wx/doc/gen/list_event.rb +25 -3
- data/lib/wx/doc/gen/listbook.rb +13 -7
- data/lib/wx/doc/gen/locale.rb +22 -71
- data/lib/wx/doc/gen/log.rb +133 -106
- data/lib/wx/doc/gen/mdi_client_window.rb +3 -3
- data/lib/wx/doc/gen/mdi_frame.rb +23 -17
- data/lib/wx/doc/gen/media_ctrl.rb +22 -19
- data/lib/wx/doc/gen/media_event.rb +8 -2
- data/lib/wx/doc/gen/memory_dc.rb +26 -33
- data/lib/wx/doc/gen/menu.rb +24 -25
- data/lib/wx/doc/gen/menu_bar.rb +11 -28
- data/lib/wx/doc/gen/menu_item.rb +127 -46
- data/lib/wx/doc/gen/message_dialog.rb +54 -36
- data/lib/wx/doc/gen/mini_frame.rb +14 -5
- data/lib/wx/doc/gen/mouse_state.rb +51 -11
- data/lib/wx/doc/gen/multi_choice_dialog.rb +4 -2
- data/lib/wx/doc/gen/non_owned_window.rb +8 -9
- data/lib/wx/doc/gen/notebook.rb +27 -22
- data/lib/wx/doc/gen/number_entry_dialog.rb +3 -3
- data/lib/wx/doc/gen/object.rb +3 -14
- data/lib/wx/doc/gen/palette.rb +15 -17
- data/lib/wx/doc/gen/panel.rb +8 -7
- data/lib/wx/doc/gen/pen.rb +50 -37
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +3 -3
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +17 -17
- data/lib/wx/doc/gen/pg/pg_cell.rb +13 -16
- data/lib/wx/doc/gen/pg/pg_editor.rb +95 -93
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +64 -89
- data/lib/wx/doc/gen/pg/pg_properties.rb +379 -349
- data/lib/wx/doc/gen/pg/pg_property.rb +260 -307
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +3 -3
- data/lib/wx/doc/gen/pg/property_grid.rb +49 -49
- data/lib/wx/doc/gen/pg/property_grid_event.rb +24 -11
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +75 -69
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +51 -54
- data/lib/wx/doc/gen/pg/property_grid_page.rb +22 -30
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +17 -26
- data/lib/wx/doc/gen/picker_base.rb +17 -16
- data/lib/wx/doc/gen/platform_info.rb +180 -20
- data/lib/wx/doc/gen/popup_window.rb +8 -8
- data/lib/wx/doc/gen/progress_dialog.rb +3 -3
- data/lib/wx/doc/gen/property_sheet_dialog.rb +20 -18
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +18 -2
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/print_data.rb +68 -62
- data/lib/wx/doc/gen/prt/print_dialog.rb +4 -4
- data/lib/wx/doc/gen/prt/printer.rb +44 -49
- data/lib/wx/doc/gen/query_layout_info_event.rb +6 -5
- data/lib/wx/doc/gen/radio_box.rb +21 -19
- data/lib/wx/doc/gen/radio_button.rb +13 -11
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +67 -67
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +38 -20
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +22 -15
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +6 -6
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +11 -11
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +14 -16
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +12 -12
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +24 -22
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +17 -15
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +6 -6
- data/lib/wx/doc/gen/rearrange_ctrl.rb +60 -0
- data/lib/wx/doc/gen/rearrange_list.rb +99 -0
- data/lib/wx/doc/gen/region.rb +35 -43
- data/lib/wx/doc/gen/region_iterator.rb +3 -3
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +423 -0
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +626 -1538
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +37 -0
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +525 -0
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +488 -503
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +31 -12
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +18 -18
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +282 -0
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +23 -19
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +9 -18
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +328 -0
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +2849 -0
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1174 -0
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +29 -29
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +305 -0
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +183 -0
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +3 -3
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +34 -37
- data/lib/wx/doc/gen/sash_event.rb +8 -6
- data/lib/wx/doc/gen/sash_layout_window.rb +13 -11
- data/lib/wx/doc/gen/sash_window.rb +14 -9
- data/lib/wx/doc/gen/scroll_bar.rb +33 -12
- data/lib/wx/doc/gen/scrolled_canvas.rb +49 -37
- data/lib/wx/doc/gen/scrolled_control.rb +49 -37
- data/lib/wx/doc/gen/scrolled_window.rb +49 -37
- data/lib/wx/doc/gen/search_ctrl.rb +20 -13
- data/lib/wx/doc/gen/simplebook.rb +7 -7
- data/lib/wx/doc/gen/single_choice_dialog.rb +5 -4
- data/lib/wx/doc/gen/sizer.rb +69 -73
- data/lib/wx/doc/gen/sizer_item.rb +5 -5
- data/lib/wx/doc/gen/slider.rb +51 -18
- data/lib/wx/doc/gen/spin_button.rb +17 -11
- data/lib/wx/doc/gen/spin_ctrl.rb +15 -9
- data/lib/wx/doc/gen/spin_ctrl_double.rb +146 -0
- data/lib/wx/doc/gen/spin_double_event.rb +53 -0
- data/lib/wx/doc/gen/spin_event.rb +5 -2
- data/lib/wx/doc/gen/splash_screen.rb +16 -12
- data/lib/wx/doc/gen/splitter_event.rb +6 -2
- data/lib/wx/doc/gen/splitter_window.rb +36 -16
- data/lib/wx/doc/gen/static_bitmap.rb +9 -9
- data/lib/wx/doc/gen/static_box.rb +41 -37
- data/lib/wx/doc/gen/static_box_sizer.rb +13 -10
- data/lib/wx/doc/gen/static_line.rb +8 -7
- data/lib/wx/doc/gen/static_text.rb +15 -9
- data/lib/wx/doc/gen/status_bar.rb +53 -10
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +200 -184
- data/lib/wx/doc/gen/stc/styled_text_event.rb +229 -54
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +11 -2
- data/lib/wx/doc/gen/svg_file_dc.rb +8 -8
- data/lib/wx/doc/gen/system_options.rb +13 -3
- data/lib/wx/doc/gen/system_settings.rb +9 -9
- data/lib/wx/doc/gen/task_bar_icon.rb +17 -9
- data/lib/wx/doc/gen/task_bar_icon_event.rb +3 -3
- data/lib/wx/doc/gen/text_attr.rb +67 -61
- data/lib/wx/doc/gen/text_ctrl.rb +58 -113
- data/lib/wx/doc/gen/text_entry.rb +44 -56
- data/lib/wx/doc/gen/text_entry_dialog.rb +23 -23
- data/lib/wx/doc/gen/text_validator.rb +3 -19
- data/lib/wx/doc/gen/time_picker_ctrl.rb +11 -10
- data/lib/wx/doc/gen/timer.rb +13 -9
- data/lib/wx/doc/gen/timer_event.rb +19 -26
- data/lib/wx/doc/gen/tip_provider.rb +3 -3
- data/lib/wx/doc/gen/toggle_button.rb +10 -9
- data/lib/wx/doc/gen/tool_bar.rb +71 -61
- data/lib/wx/doc/gen/tool_tip.rb +2 -10
- data/lib/wx/doc/gen/toolbook.rb +12 -9
- data/lib/wx/doc/gen/top_level_window.rb +53 -113
- data/lib/wx/doc/gen/tree_ctrl.rb +83 -33
- data/lib/wx/doc/gen/tree_event.rb +24 -3
- data/lib/wx/doc/gen/treebook.rb +20 -16
- data/lib/wx/doc/gen/ui_action_simulator.rb +20 -19
- data/lib/wx/doc/gen/utils.rb +20 -14
- data/lib/wx/doc/gen/v_list_box.rb +11 -11
- data/lib/wx/doc/gen/v_scrolled_window.rb +9 -9
- data/lib/wx/doc/gen/validator.rb +10 -8
- data/lib/wx/doc/gen/variant.rb +56 -119
- data/lib/wx/doc/gen/window.rb +314 -224
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +2 -2
- data/lib/wx/doc/gen/wizard.rb +21 -8
- data/lib/wx/doc/gen/wizard_event.rb +11 -4
- data/lib/wx/doc/gen/wizard_page.rb +3 -3
- data/lib/wx/doc/gen/wizard_page_simple.rb +8 -8
- data/lib/wx/doc/gen/wrap_sizer.rb +65 -0
- data/lib/wx/doc/gen/xml_node.rb +13 -13
- data/lib/wx/doc/gen/xml_resource.rb +24 -21
- data/lib/wx/doc/graphics_context.rb +59 -39
- data/lib/wx/doc/grid/grid.rb +16 -1
- data/lib/wx/doc/hboxsizer.rb +33 -0
- data/lib/wx/doc/help_controller.rb +6 -0
- data/lib/wx/doc/html/html_help_controller.rb +6 -0
- data/lib/wx/doc/icon.rb +13 -5
- data/lib/wx/doc/id_helper.rb +6 -0
- data/lib/wx/doc/image.rb +50 -12
- data/lib/wx/doc/list_ctrl.rb +38 -0
- data/lib/wx/doc/log.rb +45 -0
- data/lib/wx/doc/memory_dc.rb +6 -0
- data/lib/wx/doc/mirror_dc.rb +6 -0
- data/lib/wx/doc/pen.rb +6 -0
- data/lib/wx/doc/pg/events.rb +6 -0
- data/lib/wx/doc/pg/pg_property.rb +17 -0
- data/lib/wx/doc/pg/pgeditor.rb +6 -0
- data/lib/wx/doc/pg/property_grid.rb +6 -0
- data/lib/wx/doc/pg/property_grid_interface.rb +6 -0
- data/lib/wx/doc/progress_dialog.rb +6 -0
- data/lib/wx/doc/prt/page_setup_dialog.rb +6 -0
- data/lib/wx/doc/prt/print_data.rb +6 -0
- data/lib/wx/doc/prt/print_dialog.rb +6 -0
- data/lib/wx/doc/prt/printer.rb +6 -0
- data/lib/wx/doc/prt/printer_dc.rb +8 -2
- data/lib/wx/doc/radio_box.rb +6 -0
- data/lib/wx/doc/rbn/ribbon_bar.rb +6 -0
- data/lib/wx/doc/rbn/ribbon_button_bar.rb +6 -0
- data/lib/wx/doc/rbn/ribbon_gallery.rb +6 -0
- data/lib/wx/doc/rbn/ribbon_tool_bar.rb +6 -0
- data/lib/wx/doc/region_iterator.rb +6 -0
- data/lib/wx/doc/rtc/richtext_buffer.rb +28 -0
- data/lib/wx/doc/rtc/richtext_formatting_dialog.rb +68 -0
- data/lib/wx/doc/rtc/richtext_printing.rb +6 -0
- data/lib/wx/doc/rtc/richtext_style_sheet.rb +20 -0
- data/lib/wx/doc/scaled_dc.rb +7 -1
- data/lib/wx/doc/screen_dc.rb +6 -0
- data/lib/wx/doc/stock_objects.rb +6 -0
- data/lib/wx/doc/stream.rb +6 -0
- data/lib/wx/doc/svg_file_dc.rb +6 -0
- data/lib/wx/doc/system_settings.rb +6 -0
- data/lib/wx/doc/text_validator.rb +18 -0
- data/lib/wx/doc/textctrl.rb +89 -0
- data/lib/wx/doc/tree_event.rb +20 -0
- data/lib/wx/doc/treebook.rb +6 -0
- data/lib/wx/doc/v_list_box.rb +6 -0
- data/lib/wx/doc/variant.rb +6 -0
- data/lib/wx/doc/vboxsizer.rb +33 -0
- data/lib/wx/doc/window.rb +6 -0
- data/lib/wx/doc/window_disabler.rb +6 -0
- data/lib/wx/doc/xml_resource.rb +8 -0
- data/lib/wx/global_const.rb +4 -1
- data/lib/wx/grid/grid.rb +23 -3
- data/lib/wx/grid/keyword_defs.rb +8 -1
- data/lib/wx/grid/require.rb +4 -1
- data/lib/wx/grid.rb +4 -1
- data/lib/wx/helpers.rb +8 -1
- data/lib/wx/html/htmlhelpcontroller.rb +29 -3
- data/lib/wx/html/htmlwindow.rb +23 -12
- data/lib/wx/html/keyword_defs.rb +8 -1
- data/lib/wx/html/require.rb +4 -1
- data/lib/wx/html/simple_html_listbox.rb +3 -0
- data/lib/wx/html.rb +4 -1
- data/lib/wx/keyword_ctors.rb +22 -3
- data/lib/wx/keyword_defs.rb +55 -3
- data/lib/wx/pg/events.rb +4 -1
- data/lib/wx/pg/keyword_defs.rb +8 -1
- data/lib/wx/pg/pg_editor.rb +3 -0
- data/lib/wx/pg/pg_properties.rb +4 -1
- data/lib/wx/pg/pg_property.rb +18 -5
- data/lib/wx/pg/property_grid.rb +4 -1
- data/lib/wx/pg/property_grid_interface.rb +3 -0
- data/lib/wx/pg/require.rb +4 -1
- data/lib/wx/pg.rb +4 -1
- data/lib/wx/prt/keyword_defs.rb +8 -1
- data/lib/wx/prt/page_setup_dialog.rb +3 -0
- data/lib/wx/prt/previewframe.rb +5 -0
- data/lib/wx/prt/require.rb +4 -1
- data/lib/wx/prt.rb +4 -1
- data/lib/wx/rbn/events.rb +4 -1
- data/lib/wx/rbn/keyword_defs.rb +8 -1
- data/lib/wx/rbn/require.rb +5 -1
- data/lib/wx/rbn/ribbon_art_provider.rb +3 -1
- data/lib/wx/rbn/ribbon_bar.rb +3 -0
- data/lib/wx/rbn/ribbon_button_bar.rb +3 -0
- data/lib/wx/rbn/ribbon_control.rb +3 -0
- data/lib/wx/rbn/ribbon_gallery.rb +10 -0
- data/lib/wx/rbn/ribbon_page.rb +3 -0
- data/lib/wx/rbn/ribbon_panel.rb +3 -0
- data/lib/wx/rbn/ribbon_tool_bar.rb +3 -0
- data/lib/wx/rbn.rb +4 -1
- data/lib/wx/rtc/ext.rb +4 -1
- data/lib/wx/rtc/keyword_defs.rb +18 -7
- data/lib/wx/rtc/require.rb +8 -1
- data/lib/wx/rtc/richtext_buffer.rb +36 -0
- data/lib/wx/rtc/richtext_formatting_dialog.rb +88 -0
- data/lib/wx/rtc/richtext_style_organiser_dialog.rb +46 -0
- data/lib/wx/rtc/symbol_picker_dialog.rb +47 -0
- data/lib/wx/rtc.rb +5 -1
- data/lib/wx/stc/keyword_defs.rb +8 -1
- data/lib/wx/stc/require.rb +4 -1
- data/lib/wx/stc.rb +4 -1
- data/lib/wx/version.rb +5 -1
- data/lib/wx/wxruby/base.rb +4 -1
- data/lib/wx/wxruby/cmd/sampler.rb +4 -1
- data/lib/wx/wxruby/cmd/test.rb +4 -1
- data/lib/wx.rb +4 -1
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/install.rb +4 -1
- data/rakelib/lib/config/cygwin.rb +4 -1
- data/rakelib/lib/config/linux.rb +4 -1
- data/rakelib/lib/config/macosx.rb +5 -2
- data/rakelib/lib/config/mingw.rb +4 -1
- data/rakelib/lib/config/netbsd.rb +4 -1
- data/rakelib/lib/config/unixish.rb +10 -7
- data/rakelib/lib/config.rb +7 -2
- data/rakelib/lib/ext/enum_chain.rb +4 -1
- data/rakelib/prepost.rake +4 -1
- data/rakelib/prepost.rb +4 -1
- data/samples/aui/aui.rb +8 -3
- data/samples/bigdemo/bigdemo.rb +9 -2
- data/samples/bigdemo/run.rb +9 -2
- data/samples/bigdemo/utils.rb +9 -1
- data/samples/calendar/calendar.rb +9 -4
- data/samples/caret/caret.rb +8 -3
- data/samples/controls/books.rb +8 -2
- data/samples/controls/controls.rb +33 -77
- data/samples/controls/get_item_sample.rb +8 -2
- data/samples/controls/htlbox.rb +10 -3
- data/samples/dialogs/dialogs.rb +9 -4
- data/samples/dialogs/wizard.rb +8 -3
- data/samples/dragdrop/dragdrop.rb +8 -3
- data/samples/drawing/bitmap.rb +8 -3
- data/samples/drawing/bitmap_image.rb +8 -3
- data/samples/drawing/graphics_drawing.rb +44 -33
- data/samples/drawing/image_prt.rb +8 -2
- data/samples/drawing/maths_images.rb +8 -3
- data/samples/drawing/rmagic_bitmap_image.rb +8 -3
- data/samples/etc/choice.rb +8 -3
- data/samples/etc/miniframe.rb +8 -3
- data/samples/etc/sash.rb +8 -3
- data/samples/etc/scrollwin.rb +8 -3
- data/samples/etc/system_settings.rb +8 -3
- data/samples/event/activation.rb +8 -3
- data/samples/event/event.rb +8 -3
- data/samples/event/threaded.rb +8 -3
- data/samples/event/update_ui_event.rb +8 -3
- data/samples/grid/grid.rb +9 -3
- data/samples/grid/gridtablebase.rb +8 -3
- data/samples/html/html.rb +8 -3
- data/samples/mdi/mdi.rb +8 -3
- data/samples/minimal/minimal.rb +8 -3
- data/samples/minimal/nothing.rb +8 -3
- data/samples/printing/printing.rb +8 -3
- data/samples/printing/printing2.rb +8 -2
- data/samples/propgrid/propgrid.rb +4 -1
- data/samples/propgrid/propgrid_minimal.rb +4 -2
- data/samples/propgrid/sample_props.rb +4 -1
- data/samples/ribbon/ribbon.rb +4 -1
- data/samples/sampler/editor.rb +4 -1
- data/samples/sampler/ext.rb +4 -1
- data/samples/sampler/sample.rb +13 -4
- data/samples/sampler/stc_editor.rb +4 -1
- data/samples/sampler/txt_editor.rb +4 -1
- data/samples/sampler.rb +11 -3
- data/samples/splash/splash.rb +4 -2
- data/samples/text/art/richtext/alignleft.xpm +24 -0
- data/samples/text/art/richtext/alignright.xpm +24 -0
- data/samples/text/art/richtext/bold.xpm +24 -0
- data/samples/text/art/richtext/centre.xpm +24 -0
- data/samples/text/art/richtext/copy.xpm +45 -0
- data/samples/text/art/richtext/cut.xpm +47 -0
- data/samples/text/art/richtext/font.xpm +25 -0
- data/samples/text/art/richtext/idea.xpm +47 -0
- data/samples/text/art/richtext/indentless.xpm +25 -0
- data/samples/text/art/richtext/indentmore.xpm +25 -0
- data/samples/text/art/richtext/italic.xpm +25 -0
- data/samples/text/art/richtext/open.xpm +58 -0
- data/samples/text/art/richtext/paste.xpm +47 -0
- data/samples/text/art/richtext/redo.xpm +59 -0
- data/samples/text/art/richtext/save.xpm +43 -0
- data/samples/text/art/richtext/smiley.xpm +42 -0
- data/samples/text/art/richtext/underline.xpm +25 -0
- data/samples/text/art/richtext/undo.xpm +59 -0
- data/samples/text/art/richtext/zebra.xpm +409 -0
- data/samples/text/rich_textctrl.rb +8 -3
- data/samples/text/richtext.rb +1824 -0
- data/samples/text/scintilla.rb +8 -3
- data/samples/text/textctrl.rb +21 -4
- data/samples/text/tn_richtext.png +0 -0
- data/samples/text/unicode.rb +9 -4
- data/samples/treectrl/treectrl.rb +10 -5
- data/samples/xrc/custom_xrc_sample.rb +8 -3
- data/samples/xrc/xrc_sample.rb +8 -3
- data/tests/art/test_art/bitmap/wxruby-128x128.png +0 -0
- data/tests/art/test_art/bitmap/wxruby-256x256.png +0 -0
- data/tests/art/test_art/bitmap/wxruby-64x64.png +0 -0
- data/tests/lib/item_container_tests.rb +3 -0
- data/tests/lib/text_entry_tests.rb +3 -0
- data/tests/lib/wxapp_runner.rb +3 -0
- data/tests/lib/wxframe_runner.rb +81 -3
- data/tests/test_app_event_filter.rb +3 -0
- data/tests/test_app_traits.rb +33 -0
- data/tests/test_art.rb +31 -0
- data/tests/test_art_provider.rb +3 -0
- data/tests/test_aui.rb +65 -0
- data/tests/test_basic.rb +5 -1
- data/tests/test_box_sizer.rb +164 -0
- data/tests/test_clipboard.rb +3 -0
- data/tests/test_config.rb +150 -0
- data/tests/test_dc.rb +3 -0
- data/tests/test_dialog.rb +3 -0
- data/tests/test_event_handling.rb +3 -0
- data/tests/test_events.rb +3 -0
- data/tests/test_ext_controls.rb +286 -3
- data/tests/test_file_dialog.rb +55 -0
- data/tests/test_font.rb +8 -5
- data/tests/test_gdi_object.rb +3 -0
- data/tests/test_geometry.rb +4 -0
- data/tests/test_grid_sizer.rb +151 -0
- data/tests/test_intl.rb +3 -0
- data/tests/test_item_data.rb +3 -0
- data/tests/test_list_ctrl.rb +56 -0
- data/tests/test_log.rb +226 -0
- data/tests/test_proof_check.rb +52 -0
- data/tests/test_richtext.rb +204 -0
- data/tests/test_std_controls.rb +99 -31
- data/tests/test_timer.rb +98 -0
- data/tests/test_variant.rb +3 -0
- data/tests/test_window.rb +10 -8
- data/tests/testapp.rb +4 -0
- data/tests/testapp_noframe.rb +4 -0
- metadata +87 -3
- data/lib/wx/doc/gen/html/html_help_frame.rb +0 -112
@@ -19,23 +19,33 @@ module Wx
|
|
19
19
|
# == Windows
|
20
20
|
#
|
21
21
|
# - no-maskblt: 1 to never use WIN32's MaskBlt function, 0 to allow it to be used where possible. Default: 0. In some circumstances the MaskBlt function can be slower than using the fallback code, especially if using DC caching. By default, MaskBlt will be used where it is implemented by the operating system and driver.
|
22
|
+
#
|
22
23
|
# - msw.remap: If 1 (the default), {Wx::ToolBar} bitmap colours will be remapped to the current theme's values. Set this to 0 to disable this functionality, for example if you're using more than 16 colours in your tool bitmaps.
|
24
|
+
#
|
23
25
|
# - msw.window.no-clip-children: If 1, windows will not automatically get the WS_CLIPCHILDREN style. This restores the way windows are refreshed back to the method used in versions of wxWidgets earlier than 2.5.4, and for some complex window hierarchies it can reduce apparent refresh delays. You may still specify {Wx::CLIP_CHILDREN} for individual windows.
|
26
|
+
#
|
24
27
|
# - msw.notebook.themed-background: If set to 0, globally disables themed backgrounds on notebook pages. Note that this won't disable the theme on the actual notebook background (noticeable only if there are no pages).
|
28
|
+
#
|
25
29
|
# - msw.staticbox.optimized-paint: If set to 0, switches off optimized {Wx::StaticBox} painting. Setting this to 0 causes more flicker, but allows applications to paint graphics on the parent of a static box (the optimized refresh causes any such drawing to disappear).
|
30
|
+
#
|
26
31
|
# - msw.font.no-proof-quality: If set to 1, use default fonts quality instead of proof quality when creating fonts. With proof quality the fonts have slightly better appearance but not all fonts are available in this quality, e.g. the Terminal font in small sizes is not and this option may be used if wider fonts selection is more important than higher quality.
|
27
32
|
#
|
28
33
|
# == GTK+
|
29
34
|
#
|
30
35
|
# - gtk.tlw.can-set-transparent: {Wx::TopLevelWindow#can_set_transparent} method normally tries to detect automatically whether transparency for top level windows is currently supported, however this may sometimes fail and this option allows overriding the automatic detection. Setting it to 1 makes the transparency be always available (setting it can still fail, of course) and setting it to 0 makes it always unavailable.
|
36
|
+
#
|
31
37
|
# - gtk.desktop: This option can be set to override the default desktop environment determination. Supported values are GNOME and KDE.
|
38
|
+
#
|
32
39
|
# - gtk.window.force-background-colour: If 1, the backgrounds of windows with the {Wx::BackgroundStyle::BG_STYLE_COLOUR} background style are cleared forcibly instead of relying on the underlying GTK+ window colour. This works around a display problem when running applications under KDE with the gtk-qt theme installed (0.6 and below).
|
33
40
|
#
|
34
41
|
# == Mac
|
35
42
|
#
|
36
43
|
# - mac.window-plain-transition: If 1, uses a plainer transition when showing a window. You can also use the symbol {Wx::MAC_WINDOW_PLAIN_TRANSITION}.
|
44
|
+
#
|
37
45
|
# - window-default-variant: The default variant used by windows (cast to integer from the {Wx::WindowVariant} enum). Also known as {Wx::WINDOW_DEFAULT_VARIANT}.
|
46
|
+
#
|
38
47
|
# - mac.textcontrol-use-spell-checker: If 1 activates the spell checking in {Wx::TextCtrl}.
|
48
|
+
#
|
39
49
|
# - osx.openfiledialog.always-show-types: Per default a {Wx::FileDialog} with {Wx::FD_OPEN} does not show a types-popup on macOS but allows the selection of files from any of the supported types. Setting this to 1 shows a {Wx::Choice} for selection (if there is more than one supported filetype).
|
40
50
|
#
|
41
51
|
# == Motif
|
@@ -67,7 +77,7 @@ module Wx
|
|
67
77
|
|
68
78
|
# Default constructor.
|
69
79
|
# You don't need to create an instance of {Wx::SystemOptions} since all of its functions are static.
|
70
|
-
# @return [SystemOptions]
|
80
|
+
# @return [Wx::SystemOptions]
|
71
81
|
def initialize; end
|
72
82
|
|
73
83
|
# Gets an option.
|
@@ -94,13 +104,13 @@ module Wx
|
|
94
104
|
# @see Wx::SystemOptions.get_option
|
95
105
|
# @see Wx::SystemOptions.get_option_int
|
96
106
|
# @param name [String]
|
97
|
-
# @return [
|
107
|
+
# @return [Boolean]
|
98
108
|
def self.has_option(name) end
|
99
109
|
|
100
110
|
# Returns true if the option with the given name had been set to 0 value.
|
101
111
|
# This is mostly useful for boolean options for which you can't use <code>GetOptionInt(name)</code> == 0 as this would also be true if the option hadn't been set at all.
|
102
112
|
# @param name [String]
|
103
|
-
# @return [
|
113
|
+
# @return [Boolean]
|
104
114
|
def self.is_false(name) end
|
105
115
|
|
106
116
|
end # SystemOptions
|
@@ -8,7 +8,7 @@ module Wx
|
|
8
8
|
|
9
9
|
# Possible values for {Wx::SystemSettings.get_font} parameter.
|
10
10
|
#
|
11
|
-
# These values map 1:1 the native values supported by the Windows' GetStockObject function. Note that other ports (other than
|
11
|
+
# These values map 1:1 the native values supported by the Windows' GetStockObject function. Note that other ports (other than wxMSW) will try to provide meaningful fonts but they usually map the same font to various <code>wxSYS_*_FONT</code> values.
|
12
12
|
#
|
13
13
|
class SystemFont < Wx::Enum
|
14
14
|
|
@@ -40,7 +40,7 @@ module Wx
|
|
40
40
|
|
41
41
|
# Possible values for {Wx::SystemSettings.get_colour} parameter.
|
42
42
|
#
|
43
|
-
# These values map 1:1 the native values supported by the Windows' GetSysColor function. Note that other ports (other than
|
43
|
+
# These values map 1:1 the native values supported by the Windows' GetSysColor function. Note that other ports (other than wxMSW) will try to provide meaningful colours but they usually map the same colour to various <code>wxSYS_COLOUR_*</code> values.
|
44
44
|
#
|
45
45
|
class SystemColour < Wx::Enum
|
46
46
|
|
@@ -440,18 +440,18 @@ module Wx
|
|
440
440
|
|
441
441
|
# Default constructor.
|
442
442
|
# You don't need to create an instance of {Wx::SystemSettings} since all of its functions are static.
|
443
|
-
# @return [SystemSettings]
|
443
|
+
# @return [Wx::SystemSettings]
|
444
444
|
def initialize; end
|
445
445
|
|
446
446
|
# Returns a system colour.
|
447
447
|
# The returned colour is always valid.
|
448
|
-
# @param index [SystemColour] Can be one of the {Wx::SystemColour} enum values.
|
448
|
+
# @param index [Wx::SystemColour] Can be one of the {Wx::SystemColour} enum values.
|
449
449
|
# @return [Wx::Colour]
|
450
450
|
def self.get_colour(index) end
|
451
451
|
|
452
452
|
# Returns a system font.
|
453
453
|
# The returned font is always valid.
|
454
|
-
# @param index [SystemFont] Can be one of the {Wx::SystemFont} enum values.
|
454
|
+
# @param index [Wx::SystemFont] Can be one of the {Wx::SystemFont} enum values.
|
455
455
|
# @return [Wx::Font]
|
456
456
|
def self.get_font(index) end
|
457
457
|
|
@@ -459,20 +459,20 @@ module Wx
|
|
459
459
|
# The value of win determines if the metric returned is a global value or a {Wx::Window} based value, in which case it might determine the widget, the display the window is on, or something similar. The window given should be as close to the metric as possible (e.g. a {Wx::TopLevelWindow} in case of the {Wx::SystemMetric::SYS_CAPTION_Y} metric).
|
460
460
|
# index can be one of the {Wx::SystemMetric} enum values.
|
461
461
|
# win is a pointer to the window for which the metric is requested. Specifying the win parameter is encouraged, because some metrics on some ports are not supported without one, or they might be capable of reporting better values if given one. If a window does not make sense for a metric, one should still be given, as for example it might determine which displays cursor width is requested with {Wx::SystemMetric::SYS_CURSOR_X}.
|
462
|
-
# @param index [SystemMetric]
|
462
|
+
# @param index [Wx::SystemMetric]
|
463
463
|
# @param win [Wx::Window]
|
464
464
|
# @return [Integer]
|
465
465
|
def self.get_metric(index, win=nil) end
|
466
466
|
|
467
467
|
# Returns the screen type.
|
468
468
|
# The return value is one of the {Wx::SystemScreenType} enum values.
|
469
|
-
# @return [SystemScreenType]
|
469
|
+
# @return [Wx::SystemScreenType]
|
470
470
|
def self.get_screen_type; end
|
471
471
|
|
472
472
|
# Returns true if the port has certain feature.
|
473
473
|
# See the {Wx::SystemFeature} enum values.
|
474
|
-
# @param index [SystemFeature]
|
475
|
-
# @return [
|
474
|
+
# @param index [Wx::SystemFeature]
|
475
|
+
# @return [Boolean]
|
476
476
|
def self.has_feature(index) end
|
477
477
|
|
478
478
|
end # SystemSettings
|
@@ -17,13 +17,21 @@ module Wx
|
|
17
17
|
#
|
18
18
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::TaskBarIconEvent} events.
|
19
19
|
# Event handler methods for events emitted by this class:{Wx::TaskBarIcon#create_popup_menu} or {Wx::TaskBarIcon#get_popup_menu} if all that the application does is that it shows a popup menu in reaction to mouse click.
|
20
|
+
#
|
20
21
|
# - {Wx::EvtHandler#evt_taskbar_move}(meth = nil, &block): Process a {Wx::EVT_TASKBAR_MOVE} event.
|
22
|
+
#
|
21
23
|
# - {Wx::EvtHandler#evt_taskbar_left_down}(meth = nil, &block): Process a {Wx::EVT_TASKBAR_LEFT_DOWN} event.
|
24
|
+
#
|
22
25
|
# - {Wx::EvtHandler#evt_taskbar_left_up}(meth = nil, &block): Process a {Wx::EVT_TASKBAR_LEFT_UP} event.
|
26
|
+
#
|
23
27
|
# - {Wx::EvtHandler#evt_taskbar_right_down}(meth = nil, &block): Process a {Wx::EVT_TASKBAR_RIGHT_DOWN} event.
|
28
|
+
#
|
24
29
|
# - {Wx::EvtHandler#evt_taskbar_right_up}(meth = nil, &block): Process a {Wx::EVT_TASKBAR_RIGHT_UP} event.
|
30
|
+
#
|
25
31
|
# - {Wx::EvtHandler#evt_taskbar_left_dclick}(meth = nil, &block): Process a {Wx::EVT_TASKBAR_LEFT_DCLICK} event.
|
32
|
+
#
|
26
33
|
# - {Wx::EvtHandler#evt_taskbar_right_dclick}(meth = nil, &block): Process a {Wx::EVT_TASKBAR_RIGHT_DCLICK} event.
|
34
|
+
#
|
27
35
|
# - {Wx::EvtHandler#evt_taskbar_click}(meth = nil, &block): This is a synonym for either EVT_TASKBAR_RIGHT_DOWN or UP depending on the platform, use this event macro to catch the event which should result in the menu being displayed on the current platform.
|
28
36
|
#
|
29
37
|
# ===
|
@@ -33,9 +41,9 @@ module Wx
|
|
33
41
|
class TaskBarIcon < EvtHandler
|
34
42
|
|
35
43
|
# Default constructor.
|
36
|
-
# The iconType is only applicable on
|
37
|
-
# @param iconType [TaskBarIconType]
|
38
|
-
# @return [TaskBarIcon]
|
44
|
+
# The iconType is only applicable on wxOSX/Cocoa.
|
45
|
+
# @param iconType [Wx::TaskBarIconType]
|
46
|
+
# @return [Wx::TaskBarIcon]
|
39
47
|
def initialize(iconType=Wx::TaskBarIconType::TBI_DEFAULT_TYPE) end
|
40
48
|
|
41
49
|
# This method is similar to {Wx::Window#destroy} and can be used to schedule the task bar icon object for the delayed destruction: it will be deleted during the next event loop iteration, which allows the task bar icon to process any pending events for it before being destroyed.
|
@@ -43,12 +51,12 @@ module Wx
|
|
43
51
|
def destroy; end
|
44
52
|
|
45
53
|
# Returns true if {Wx::TaskBarIcon#set_icon} was called with no subsequent {Wx::TaskBarIcon#remove_icon}.
|
46
|
-
# @return [
|
54
|
+
# @return [Boolean]
|
47
55
|
def is_icon_installed; end
|
48
56
|
alias_method :icon_installed?, :is_icon_installed
|
49
57
|
|
50
58
|
# Returns true if the object initialized successfully.
|
51
|
-
# @return [
|
59
|
+
# @return [Boolean]
|
52
60
|
def is_ok; end
|
53
61
|
alias_method :ok?, :is_ok
|
54
62
|
|
@@ -56,17 +64,17 @@ module Wx
|
|
56
64
|
# The events can be handled by a class derived from {Wx::TaskBarIcon}.
|
57
65
|
# It is recommended to override the {Wx::TaskBarIcon#create_popup_menu} or {Wx::TaskBarIcon#get_popup_menu} callback instead of calling this method from event handler, because some ports (e.g. {Wx::Cocoa}) may not implement {Wx::TaskBarIcon#popup_menu} and mouse click events at all.
|
58
66
|
# @param menu [Wx::Menu]
|
59
|
-
# @return [
|
67
|
+
# @return [Boolean]
|
60
68
|
def popup_menu(menu) end
|
61
69
|
|
62
70
|
# Removes the icon previously set with {Wx::TaskBarIcon#set_icon}.
|
63
|
-
# @return [
|
71
|
+
# @return [Boolean]
|
64
72
|
def remove_icon; end
|
65
73
|
|
66
74
|
# Sets the icon, and optional tooltip text.
|
67
75
|
# @param icon [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
68
76
|
# @param tooltip [String]
|
69
|
-
# @return [
|
77
|
+
# @return [Boolean]
|
70
78
|
def set_icon(icon, tooltip=('')) end
|
71
79
|
alias_method :icon=, :set_icon
|
72
80
|
|
@@ -76,7 +84,7 @@ module Wx
|
|
76
84
|
# Tray availability may change during application's lifetime under X11 and so applications shouldn't cache the result.
|
77
85
|
#
|
78
86
|
# {Wx::TaskBarIcon} supports older GNOME 1.2 and KDE 1/2 methods of adding icons to tray, but they are unreliable and this method doesn't detect them.
|
79
|
-
# @return [
|
87
|
+
# @return [Boolean]
|
80
88
|
def self.is_available; end
|
81
89
|
|
82
90
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
module Wx
|
8
8
|
|
9
|
-
# On
|
9
|
+
# On wxOSX/Cocoa the taskbar icon can be in the doc or in the status area.
|
10
10
|
#
|
11
11
|
# This enumeration can be used to select which will be instantiated.
|
12
12
|
#
|
@@ -75,9 +75,9 @@ module Wx
|
|
75
75
|
class TaskBarIconEvent < Event
|
76
76
|
|
77
77
|
# Constructor.
|
78
|
-
# @param evtType [
|
78
|
+
# @param evtType [Wx::CommandLinkButton::EventType]
|
79
79
|
# @param tbIcon [Wx::TaskBarIcon]
|
80
|
-
# @return [TaskBarIconEvent]
|
80
|
+
# @return [Wx::TaskBarIconEvent]
|
81
81
|
def initialize(evtType, tbIcon) end
|
82
82
|
|
83
83
|
end # TaskBarIconEvent
|
data/lib/wx/doc/gen/text_attr.rb
CHANGED
@@ -15,27 +15,29 @@ module Wx
|
|
15
15
|
# @see Wx::RTC::RichTextCtrl
|
16
16
|
#
|
17
17
|
#
|
18
|
+
#
|
19
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
18
20
|
class TextAttr < ::Object
|
19
21
|
|
20
22
|
# @overload initialize()
|
21
23
|
# Constructors.
|
22
|
-
# @return [TextAttr]
|
24
|
+
# @return [Wx::TextAttr]
|
23
25
|
# @overload initialize(colText, colBack=Wx::NULL_COLOUR, font=Wx::NULL_FONT, alignment=Wx::TextAttrAlignment::TEXT_ALIGNMENT_DEFAULT)
|
24
26
|
# Constructors.
|
25
27
|
# @param colText [Wx::Colour,String,Symbol]
|
26
28
|
# @param colBack [Wx::Colour,String,Symbol]
|
27
29
|
# @param font [Wx::Font,Wx::FontInfo]
|
28
|
-
# @param alignment [TextAttrAlignment]
|
29
|
-
# @return [TextAttr]
|
30
|
+
# @param alignment [Wx::TextAttrAlignment]
|
31
|
+
# @return [Wx::TextAttr]
|
30
32
|
# @overload initialize(attr)
|
31
33
|
# Constructors.
|
32
34
|
# @param attr [Wx::TextAttr]
|
33
|
-
# @return [TextAttr]
|
35
|
+
# @return [Wx::TextAttr]
|
34
36
|
def initialize(*args) end
|
35
37
|
|
36
38
|
# Returns the alignment flags.
|
37
39
|
# See {Wx::TextAttrAlignment} for a list of available styles.
|
38
|
-
# @return [TextAttrAlignment]
|
40
|
+
# @return [Wx::TextAttrAlignment]
|
39
41
|
def get_alignment; end
|
40
42
|
alias_method :alignment, :get_alignment
|
41
43
|
|
@@ -52,7 +54,11 @@ module Wx
|
|
52
54
|
|
53
55
|
# Returns the standard bullet name, applicable if the bullet style is {Wx::TextAttrBulletStyle::TEXT_ATTR_BULLET_STYLE_STANDARD}.
|
54
56
|
# Currently the following standard bullet names are supported:
|
55
|
-
#
|
57
|
+
#
|
58
|
+
# - <code>standard/circle</code>
|
59
|
+
# - <code>standard/square</code>
|
60
|
+
# - <code>standard/diamond</code>
|
61
|
+
# - <code>standard/triangle</code>
|
56
62
|
#
|
57
63
|
# For {Wx::RTC::RichTextCtrl} users only: if you wish your rich text controls to support further bullet graphics, you can derive a class from {Wx::RichTextRenderer} or {Wx::RichTextStdRenderer}, override DrawStandardBullet and EnumerateStandardBulletNames, and set an instance of the class using {Wx::RTC::RichTextBuffer::SetRenderer}.
|
58
64
|
# @return [Wx::String]
|
@@ -96,12 +102,12 @@ module Wx
|
|
96
102
|
# Gets the font attributes from the given font, using only the attributes specified by flags.
|
97
103
|
# @param font [Wx::Font,Wx::FontInfo]
|
98
104
|
# @param flags [Integer]
|
99
|
-
# @return [
|
105
|
+
# @return [Boolean]
|
100
106
|
def get_font_attributes(font, flags=Wx::TextAttrFlags::TEXT_ATTR_FONT) end
|
101
107
|
alias_method :font_attributes, :get_font_attributes
|
102
108
|
|
103
109
|
# Returns the font encoding.
|
104
|
-
# @return [FontEncoding]
|
110
|
+
# @return [Wx::FontEncoding]
|
105
111
|
def get_font_encoding; end
|
106
112
|
alias_method :font_encoding, :get_font_encoding
|
107
113
|
|
@@ -111,7 +117,7 @@ module Wx
|
|
111
117
|
alias_method :font_face_name, :get_font_face_name
|
112
118
|
|
113
119
|
# Returns the font family.
|
114
|
-
# @return [FontFamily]
|
120
|
+
# @return [Wx::FontFamily]
|
115
121
|
def get_font_family; end
|
116
122
|
alias_method :font_family, :get_font_family
|
117
123
|
|
@@ -121,17 +127,17 @@ module Wx
|
|
121
127
|
alias_method :font_size, :get_font_size
|
122
128
|
|
123
129
|
# Returns the font style.
|
124
|
-
# @return [FontStyle]
|
130
|
+
# @return [Wx::FontStyle]
|
125
131
|
def get_font_style; end
|
126
132
|
alias_method :font_style, :get_font_style
|
127
133
|
|
128
134
|
# Returns true if the font is underlined.
|
129
|
-
# @return [
|
135
|
+
# @return [Boolean]
|
130
136
|
def get_font_underlined; end
|
131
137
|
alias_method :font_underlined, :get_font_underlined
|
132
138
|
|
133
139
|
# Returns the underline type, which is one of the {Wx::TextAttrUnderlineType} values.
|
134
|
-
# @return [TextAttrUnderlineType]
|
140
|
+
# @return [Wx::TextAttrUnderlineType]
|
135
141
|
def get_underline_type; end
|
136
142
|
alias_method :underline_type, :get_underline_type
|
137
143
|
|
@@ -142,7 +148,7 @@ module Wx
|
|
142
148
|
alias_method :underline_colour, :get_underline_colour
|
143
149
|
|
144
150
|
# Returns the font weight.
|
145
|
-
# @return [FontWeight]
|
151
|
+
# @return [Wx::FontWeight]
|
146
152
|
def get_font_weight; end
|
147
153
|
alias_method :font_weight, :get_font_weight
|
148
154
|
|
@@ -221,180 +227,180 @@ module Wx
|
|
221
227
|
alias_method :url, :get_url
|
222
228
|
|
223
229
|
# Returns true if the attribute object specifies alignment.
|
224
|
-
# @return [
|
230
|
+
# @return [Boolean]
|
225
231
|
def has_alignment; end
|
226
232
|
alias_method :has_alignment?, :has_alignment
|
227
233
|
|
228
234
|
# Returns true if the attribute object specifies a background colour.
|
229
|
-
# @return [
|
235
|
+
# @return [Boolean]
|
230
236
|
def has_background_colour; end
|
231
237
|
alias_method :has_background_colour?, :has_background_colour
|
232
238
|
|
233
239
|
# Returns true if the attribute object specifies a standard bullet name.
|
234
|
-
# @return [
|
240
|
+
# @return [Boolean]
|
235
241
|
def has_bullet_name; end
|
236
242
|
alias_method :has_bullet_name?, :has_bullet_name
|
237
243
|
|
238
244
|
# Returns true if the attribute object specifies a bullet number.
|
239
|
-
# @return [
|
245
|
+
# @return [Boolean]
|
240
246
|
def has_bullet_number; end
|
241
247
|
alias_method :has_bullet_number?, :has_bullet_number
|
242
248
|
|
243
249
|
# Returns true if the attribute object specifies a bullet style.
|
244
|
-
# @return [
|
250
|
+
# @return [Boolean]
|
245
251
|
def has_bullet_style; end
|
246
252
|
alias_method :has_bullet_style?, :has_bullet_style
|
247
253
|
|
248
254
|
# Returns true if the attribute object specifies bullet text (usually specifying a symbol).
|
249
|
-
# @return [
|
255
|
+
# @return [Boolean]
|
250
256
|
def has_bullet_text; end
|
251
257
|
alias_method :has_bullet_text?, :has_bullet_text
|
252
258
|
|
253
259
|
# Returns true if the attribute object specifies a character style name.
|
254
|
-
# @return [
|
260
|
+
# @return [Boolean]
|
255
261
|
def has_character_style_name; end
|
256
262
|
alias_method :has_character_style_name?, :has_character_style_name
|
257
263
|
|
258
264
|
# Returns true if the flag is present in the attribute object's flag bitlist.
|
259
265
|
# @param flag [Integer]
|
260
|
-
# @return [
|
266
|
+
# @return [Boolean]
|
261
267
|
def has_flag(flag) end
|
262
268
|
alias_method :has_flag?, :has_flag
|
263
269
|
|
264
270
|
# Returns true if the attribute object specifies any font attributes.
|
265
|
-
# @return [
|
271
|
+
# @return [Boolean]
|
266
272
|
def has_font; end
|
267
273
|
alias_method :has_font?, :has_font
|
268
274
|
|
269
275
|
# Returns true if the attribute object specifies an encoding.
|
270
|
-
# @return [
|
276
|
+
# @return [Boolean]
|
271
277
|
def has_font_encoding; end
|
272
278
|
alias_method :has_font_encoding?, :has_font_encoding
|
273
279
|
|
274
280
|
# Returns true if the attribute object specifies a font face name.
|
275
|
-
# @return [
|
281
|
+
# @return [Boolean]
|
276
282
|
def has_font_face_name; end
|
277
283
|
alias_method :has_font_face_name?, :has_font_face_name
|
278
284
|
|
279
285
|
# Returns true if the attribute object specifies a font family.
|
280
|
-
# @return [
|
286
|
+
# @return [Boolean]
|
281
287
|
def has_font_family; end
|
282
288
|
alias_method :has_font_family?, :has_font_family
|
283
289
|
|
284
290
|
# Returns true if the attribute object specifies italic style.
|
285
|
-
# @return [
|
291
|
+
# @return [Boolean]
|
286
292
|
def has_font_italic; end
|
287
293
|
alias_method :has_font_italic?, :has_font_italic
|
288
294
|
|
289
295
|
# Returns true if the attribute object specifies a font point or pixel size.
|
290
|
-
# @return [
|
296
|
+
# @return [Boolean]
|
291
297
|
def has_font_size; end
|
292
298
|
alias_method :has_font_size?, :has_font_size
|
293
299
|
|
294
300
|
# Returns true if the attribute object specifies a font point size.
|
295
|
-
# @return [
|
301
|
+
# @return [Boolean]
|
296
302
|
def has_font_point_size; end
|
297
303
|
alias_method :has_font_point_size?, :has_font_point_size
|
298
304
|
|
299
305
|
# Returns true if the attribute object specifies a font pixel size.
|
300
|
-
# @return [
|
306
|
+
# @return [Boolean]
|
301
307
|
def has_font_pixel_size; end
|
302
308
|
alias_method :has_font_pixel_size?, :has_font_pixel_size
|
303
309
|
|
304
310
|
# Returns true if the attribute object specifies either underlining or no underlining.
|
305
|
-
# @return [
|
311
|
+
# @return [Boolean]
|
306
312
|
def has_font_underlined; end
|
307
313
|
alias_method :has_font_underlined?, :has_font_underlined
|
308
314
|
|
309
315
|
# Returns true if the attribute object specifies font weight (bold, light or normal).
|
310
|
-
# @return [
|
316
|
+
# @return [Boolean]
|
311
317
|
def has_font_weight; end
|
312
318
|
alias_method :has_font_weight?, :has_font_weight
|
313
319
|
|
314
320
|
# Returns true if the attribute object specifies a left indent.
|
315
|
-
# @return [
|
321
|
+
# @return [Boolean]
|
316
322
|
def has_left_indent; end
|
317
323
|
alias_method :has_left_indent?, :has_left_indent
|
318
324
|
|
319
325
|
# Returns true if the attribute object specifies line spacing.
|
320
|
-
# @return [
|
326
|
+
# @return [Boolean]
|
321
327
|
def has_line_spacing; end
|
322
328
|
alias_method :has_line_spacing?, :has_line_spacing
|
323
329
|
|
324
330
|
# Returns true if the attribute object specifies a list style name.
|
325
|
-
# @return [
|
331
|
+
# @return [Boolean]
|
326
332
|
def has_list_style_name; end
|
327
333
|
alias_method :has_list_style_name?, :has_list_style_name
|
328
334
|
|
329
335
|
# Returns true if the attribute object specifies an outline level.
|
330
|
-
# @return [
|
336
|
+
# @return [Boolean]
|
331
337
|
def has_outline_level; end
|
332
338
|
alias_method :has_outline_level?, :has_outline_level
|
333
339
|
|
334
340
|
# Returns true if the attribute object specifies a page break before this paragraph.
|
335
|
-
# @return [
|
341
|
+
# @return [Boolean]
|
336
342
|
def has_page_break; end
|
337
343
|
alias_method :has_page_break?, :has_page_break
|
338
344
|
|
339
345
|
# Returns true if the attribute object specifies spacing after a paragraph.
|
340
|
-
# @return [
|
346
|
+
# @return [Boolean]
|
341
347
|
def has_paragraph_spacing_after; end
|
342
348
|
alias_method :has_paragraph_spacing_after?, :has_paragraph_spacing_after
|
343
349
|
|
344
350
|
# Returns true if the attribute object specifies spacing before a paragraph.
|
345
|
-
# @return [
|
351
|
+
# @return [Boolean]
|
346
352
|
def has_paragraph_spacing_before; end
|
347
353
|
alias_method :has_paragraph_spacing_before?, :has_paragraph_spacing_before
|
348
354
|
|
349
355
|
# Returns true if the attribute object specifies a paragraph style name.
|
350
|
-
# @return [
|
356
|
+
# @return [Boolean]
|
351
357
|
def has_paragraph_style_name; end
|
352
358
|
alias_method :has_paragraph_style_name?, :has_paragraph_style_name
|
353
359
|
|
354
360
|
# Returns true if the attribute object specifies a right indent.
|
355
|
-
# @return [
|
361
|
+
# @return [Boolean]
|
356
362
|
def has_right_indent; end
|
357
363
|
alias_method :has_right_indent?, :has_right_indent
|
358
364
|
|
359
365
|
# Returns true if the attribute object specifies tab stops.
|
360
|
-
# @return [
|
366
|
+
# @return [Boolean]
|
361
367
|
def has_tabs; end
|
362
368
|
alias_method :has_tabs?, :has_tabs
|
363
369
|
|
364
370
|
# Returns true if the attribute object specifies a text foreground colour.
|
365
|
-
# @return [
|
371
|
+
# @return [Boolean]
|
366
372
|
def has_text_colour; end
|
367
373
|
alias_method :has_text_colour?, :has_text_colour
|
368
374
|
|
369
375
|
# Returns true if the attribute object specifies text effects.
|
370
|
-
# @return [
|
376
|
+
# @return [Boolean]
|
371
377
|
def has_text_effects; end
|
372
378
|
alias_method :has_text_effects?, :has_text_effects
|
373
379
|
|
374
380
|
# Returns true if the attribute object specifies a URL.
|
375
|
-
# @return [
|
381
|
+
# @return [Boolean]
|
376
382
|
def has_url; end
|
377
383
|
alias_method :has_url?, :has_url
|
378
384
|
|
379
385
|
# Returns true if the object represents a character style, that is, the flags specify a font or a text background or foreground colour.
|
380
|
-
# @return [
|
386
|
+
# @return [Boolean]
|
381
387
|
def is_character_style; end
|
382
388
|
alias_method :character_style?, :is_character_style
|
383
389
|
|
384
390
|
# Returns false if we have any attributes set, true otherwise.
|
385
|
-
# @return [
|
391
|
+
# @return [Boolean]
|
386
392
|
def is_default; end
|
387
393
|
alias_method :default?, :is_default
|
388
394
|
|
389
395
|
# Returns true if the object represents a paragraph style, that is, the flags specify alignment, indentation, tabs, paragraph spacing, or bullet style.
|
390
|
-
# @return [
|
396
|
+
# @return [Boolean]
|
391
397
|
def is_paragraph_style; end
|
392
398
|
alias_method :paragraph_style?, :is_paragraph_style
|
393
399
|
|
394
400
|
# Sets the paragraph alignment.
|
395
401
|
# See {Wx::TextAttrAlignment} enumeration values.
|
396
402
|
# Of these, {Wx::TextAttrAlignment::TEXT_ALIGNMENT_JUSTIFIED} is unimplemented. In future justification may be supported when printing or previewing, only.
|
397
|
-
# @param alignment [TextAttrAlignment]
|
403
|
+
# @param alignment [Wx::TextAttrAlignment]
|
398
404
|
# @return [void]
|
399
405
|
def set_alignment(alignment) end
|
400
406
|
alias_method :alignment=, :set_alignment
|
@@ -460,7 +466,7 @@ module Wx
|
|
460
466
|
alias_method :font=, :set_font
|
461
467
|
|
462
468
|
# Sets the font encoding.
|
463
|
-
# @param encoding [FontEncoding]
|
469
|
+
# @param encoding [Wx::FontEncoding]
|
464
470
|
# @return [void]
|
465
471
|
def set_font_encoding(encoding) end
|
466
472
|
alias_method :font_encoding=, :set_font_encoding
|
@@ -472,7 +478,7 @@ module Wx
|
|
472
478
|
alias_method :font_face_name=, :set_font_face_name
|
473
479
|
|
474
480
|
# Sets the font family.
|
475
|
-
# @param family [FontFamily]
|
481
|
+
# @param family [Wx::FontFamily]
|
476
482
|
# @return [void]
|
477
483
|
def set_font_family(family) end
|
478
484
|
alias_method :font_family=, :set_font_family
|
@@ -496,30 +502,30 @@ module Wx
|
|
496
502
|
alias_method :font_pixel_size=, :set_font_pixel_size
|
497
503
|
|
498
504
|
# Sets the font style (normal, italic or slanted).
|
499
|
-
# @param fontStyle [FontStyle]
|
505
|
+
# @param fontStyle [Wx::FontStyle]
|
500
506
|
# @return [void]
|
501
507
|
def set_font_style(fontStyle) end
|
502
508
|
alias_method :font_style=, :set_font_style
|
503
509
|
|
504
510
|
# @overload set_font_underlined(underlined)
|
505
511
|
# Sets the font underlining (solid line, text colour).
|
506
|
-
# @param underlined [
|
512
|
+
# @param underlined [Boolean]
|
507
513
|
# @return [void]
|
508
514
|
# @overload set_font_underlined(type, colour=Wx::NULL_COLOUR)
|
509
515
|
# Sets the font underlining.
|
510
|
-
# On
|
516
|
+
# On wxMSW, {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_DOUBLE} is shown as {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SOLID}. There is only a limited number of colours supported, the RGB values are listed here. {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL} is shown as a waved line.
|
511
517
|
#
|
512
|
-
# On
|
518
|
+
# On wxGTK, underline colour is only supported by wxGTK3. {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL} is shown as a waved line. GTK might overrule the colour of {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL}.
|
513
519
|
#
|
514
|
-
# On
|
515
|
-
# @param type [TextAttrUnderlineType] Type of underline.
|
520
|
+
# On wxOSX, {Wx::TextAttrUnderlineType::TEXT_ATTR_UNDERLINE_SPECIAL} is shown as a dotted line.
|
521
|
+
# @param type [Wx::TextAttrUnderlineType] Type of underline.
|
516
522
|
# @param colour [Wx::Colour,String,Symbol] Colour to use for underlining, text colour is used by default.
|
517
523
|
# @return [void]
|
518
524
|
def set_font_underlined(*args) end
|
519
525
|
alias_method :font_underlined=, :set_font_underlined
|
520
526
|
|
521
527
|
# Sets the font weight.
|
522
|
-
# @param fontWeight [FontWeight]
|
528
|
+
# @param fontWeight [Wx::FontWeight]
|
523
529
|
# @return [void]
|
524
530
|
def set_font_weight(fontWeight) end
|
525
531
|
alias_method :font_weight=, :set_font_weight
|
@@ -555,7 +561,7 @@ module Wx
|
|
555
561
|
alias_method :outline_level=, :set_outline_level
|
556
562
|
|
557
563
|
# Specifies a page break before this paragraph.
|
558
|
-
# @param pageBreak [
|
564
|
+
# @param pageBreak [Boolean]
|
559
565
|
# @return [void]
|
560
566
|
def set_page_break(pageBreak=true) end
|
561
567
|
alias_method :page_break=, :set_page_break
|
@@ -624,7 +630,7 @@ module Wx
|
|
624
630
|
# Applies the attributes in style to the original object, but not those attributes from style that are the same as those in compareWith (if passed).
|
625
631
|
# @param style [Wx::TextAttr]
|
626
632
|
# @param compareWith [Wx::TextAttr]
|
627
|
-
# @return [
|
633
|
+
# @return [Boolean]
|
628
634
|
def apply(style, compareWith=nil) end
|
629
635
|
|
630
636
|
# Copies all defined/valid properties from overlay to current object.
|
@@ -635,8 +641,8 @@ module Wx
|
|
635
641
|
# Partial equality test.
|
636
642
|
# If weakTest is true, attributes of this object do not have to be present if those attributes of attr are present. If weakTest is false, the function will fail if an attribute is present in attr but not in this object.
|
637
643
|
# @param attr [Wx::TextAttr]
|
638
|
-
# @param weakTest [
|
639
|
-
# @return [
|
644
|
+
# @param weakTest [Boolean]
|
645
|
+
# @return [Boolean]
|
640
646
|
def eq_partial(attr, weakTest=true) end
|
641
647
|
|
642
648
|
end # TextAttr
|