wxruby3 0.9.0-x64-mingw-ucrt → 0.9.1-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/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/const.rb +83 -0
- data/lib/wx/core/events/evt_list.rb +24 -0
- data/lib/wx/doc/const.rb +66 -66
- data/lib/wx/doc/event.rb +0 -6
- data/lib/wx/doc/functions.rb +9 -9
- data/lib/wx/doc/gen/activity_indicator.rb +2 -2
- data/lib/wx/doc/gen/animation_ctrl.rb +2 -2
- data/lib/wx/doc/gen/app_traits.rb +1 -1
- data/lib/wx/doc/gen/art_provider.rb +1 -1
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +2 -2
- data/lib/wx/doc/gen/banner_window.rb +2 -2
- data/lib/wx/doc/gen/bitmap.rb +2 -2
- data/lib/wx/doc/gen/bitmap_button.rb +2 -2
- data/lib/wx/doc/gen/bitmap_combo_box.rb +4 -4
- data/lib/wx/doc/gen/button.rb +2 -2
- data/lib/wx/doc/gen/calendar_ctrl.rb +2 -2
- data/lib/wx/doc/gen/check_box.rb +2 -2
- data/lib/wx/doc/gen/check_list_box.rb +3 -3
- data/lib/wx/doc/gen/choice.rb +2 -2
- data/lib/wx/doc/gen/collapsible_pane.rb +2 -2
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/combo_box.rb +4 -4
- data/lib/wx/doc/gen/combo_ctrl.rb +5 -5
- data/lib/wx/doc/gen/command_link_button.rb +2 -2
- data/lib/wx/doc/gen/control.rb +2 -2
- data/lib/wx/doc/gen/core.rb +2 -2
- data/lib/wx/doc/gen/cursor.rb +1 -1
- data/lib/wx/doc/gen/data_object.rb +1 -1
- data/lib/wx/doc/gen/date_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/dc.rb +2 -2
- data/lib/wx/doc/gen/defs.rb +3 -3
- data/lib/wx/doc/gen/dial_up_event.rb +42 -0
- data/lib/wx/doc/gen/dial_up_manager.rb +129 -0
- data/lib/wx/doc/gen/dialog.rb +2 -2
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/editable_list_box.rb +2 -2
- data/lib/wx/doc/gen/event.rb +7 -1
- data/lib/wx/doc/gen/event_list.rb +30 -2
- data/lib/wx/doc/gen/events.rb +11 -15
- data/lib/wx/doc/gen/file_ctrl.rb +200 -0
- data/lib/wx/doc/gen/file_ctrl_event.rb +80 -0
- data/lib/wx/doc/gen/file_dialog.rb +1 -1
- data/lib/wx/doc/gen/file_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/font.rb +1 -1
- data/lib/wx/doc/gen/font_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/frame.rb +4 -4
- data/lib/wx/doc/gen/gauge.rb +2 -2
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +2 -2
- data/lib/wx/doc/gen/graphics_context.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +2 -2
- data/lib/wx/doc/gen/header_ctrl.rb +3 -3
- data/lib/wx/doc/gen/help_controller.rb +39 -0
- data/lib/wx/doc/gen/html/html_easy_printing.rb +1 -1
- data/lib/wx/doc/gen/html/html_help_controller.rb +39 -0
- data/lib/wx/doc/gen/html/html_list_box.rb +5 -5
- data/lib/wx/doc/gen/html/html_window.rb +1 -1
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +2 -2
- data/lib/wx/doc/gen/list_box.rb +5 -5
- data/lib/wx/doc/gen/list_ctrl.rb +3 -3
- data/lib/wx/doc/gen/mdi_frame.rb +4 -4
- data/lib/wx/doc/gen/media_ctrl.rb +2 -2
- data/lib/wx/doc/gen/menu_item.rb +76 -76
- data/lib/wx/doc/gen/mini_frame.rb +2 -2
- data/lib/wx/doc/gen/notebook.rb +2 -2
- data/lib/wx/doc/gen/panel.rb +2 -2
- data/lib/wx/doc/gen/pg/property_grid.rb +2 -2
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +2 -2
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +2 -2
- data/lib/wx/doc/gen/platform_info.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +1 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/printer.rb +1 -1
- data/lib/wx/doc/gen/radio_box.rb +4 -4
- data/lib/wx/doc/gen/radio_button.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
- data/lib/wx/doc/gen/rearrange_ctrl.rb +2 -2
- data/lib/wx/doc/gen/rearrange_list.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +9 -9
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
- data/lib/wx/doc/gen/sash_event.rb +3 -0
- data/lib/wx/doc/gen/sash_layout_window.rb +2 -2
- data/lib/wx/doc/gen/sash_window.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +2 -2
- data/lib/wx/doc/gen/scrolled_canvas.rb +2 -2
- data/lib/wx/doc/gen/scrolled_control.rb +2 -2
- data/lib/wx/doc/gen/scrolled_window.rb +2 -2
- data/lib/wx/doc/gen/search_ctrl.rb +2 -2
- data/lib/wx/doc/gen/slider.rb +2 -2
- data/lib/wx/doc/gen/spin_button.rb +1 -1
- data/lib/wx/doc/gen/splitter_window.rb +2 -2
- data/lib/wx/doc/gen/static_bitmap.rb +2 -2
- data/lib/wx/doc/gen/static_box.rb +6 -6
- data/lib/wx/doc/gen/static_line.rb +2 -2
- data/lib/wx/doc/gen/static_text.rb +2 -2
- data/lib/wx/doc/gen/status_bar.rb +2 -2
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +3 -3
- data/lib/wx/doc/gen/text_ctrl.rb +2 -2
- data/lib/wx/doc/gen/time_picker_ctrl.rb +2 -2
- data/lib/wx/doc/gen/toggle_button.rb +2 -2
- data/lib/wx/doc/gen/tool_bar.rb +2 -2
- data/lib/wx/doc/gen/top_level_window.rb +2 -2
- data/lib/wx/doc/gen/tree_ctrl.rb +2 -2
- data/lib/wx/doc/gen/utils.rb +1 -1
- data/lib/wx/doc/gen/v_list_box.rb +2 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
- data/lib/wx/doc/gen/window.rb +5 -5
- data/lib/wx/doc/gen/xml_resource.rb +1 -1
- data/lib/wx/doc/window.rb +5 -0
- data/lib/wx/keyword_defs.rb +43 -6
- data/lib/wx/version.rb +1 -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/lib/config/macosx.rb +1 -1
- data/samples/text/richtext.rb +0 -30
- data/tests/test_app_exit_exception.rb +36 -0
- data/tests/test_app_init_exception.rb +20 -0
- data/tests/test_book_controls.rb +29 -0
- data/tests/test_exceptions.rb +41 -0
- data/tests/test_sizer.rb +43 -0
- data/tests/test_std_controls.rb +36 -0
- metadata +12 -2
data/lib/wx/doc/gen/check_box.rb
CHANGED
@@ -74,7 +74,7 @@ module Wx
|
|
74
74
|
# @see Wx::CheckBox#create
|
75
75
|
# @see Wx::Validator
|
76
76
|
# @return [Wx::CheckBox]
|
77
|
-
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
77
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CHECK_BOX_NAME_STR)
|
78
78
|
# Constructor, creating and showing a checkbox.
|
79
79
|
#
|
80
80
|
# @see Wx::CheckBox#create
|
@@ -101,7 +101,7 @@ module Wx
|
|
101
101
|
# @param validator [Wx::Validator]
|
102
102
|
# @param name [String]
|
103
103
|
# @return [Boolean]
|
104
|
-
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
104
|
+
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CHECK_BOX_NAME_STR) end
|
105
105
|
|
106
106
|
# Gets the state of a 2-state checkbox.
|
107
107
|
# Returns true if it is checked, false otherwise.
|
@@ -30,7 +30,7 @@ module Wx
|
|
30
30
|
#
|
31
31
|
class CheckListBox < ListBox
|
32
32
|
|
33
|
-
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=("
|
33
|
+
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=("LIST_BOX"))
|
34
34
|
# Constructor, creating and showing a list box.
|
35
35
|
# @param parent [Wx::Window] Parent window. Must not be NULL.
|
36
36
|
# @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
|
@@ -41,7 +41,7 @@ module Wx
|
|
41
41
|
# @param validator [Wx::Validator] Window validator.
|
42
42
|
# @param name [String] Window name.
|
43
43
|
# @return [Wx::CheckListBox]
|
44
|
-
# @overload initialize(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=("
|
44
|
+
# @overload initialize(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=("LIST_BOX"))
|
45
45
|
# Constructor, creating and showing a list box.
|
46
46
|
# @param parent [Wx::Window] Parent window. Must not be NULL.
|
47
47
|
# @param id [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
|
@@ -66,7 +66,7 @@ module Wx
|
|
66
66
|
# @param validator [Wx::Validator]
|
67
67
|
# @param name [String]
|
68
68
|
# @return [Boolean]
|
69
|
-
def create(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
69
|
+
def create(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::LIST_BOX_NAME_STR) end
|
70
70
|
|
71
71
|
# Checks the given item.
|
72
72
|
# Note that calling this method does not result in a {Wx::EVT_CHECKLISTBOX} event being emitted.
|
data/lib/wx/doc/gen/choice.rb
CHANGED
@@ -45,7 +45,7 @@ module Wx
|
|
45
45
|
# @param validator [Wx::Validator]
|
46
46
|
# @param name [String]
|
47
47
|
# @return [Boolean]
|
48
|
-
def create(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
48
|
+
def create(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CHOICE_NAME_STR) end
|
49
49
|
|
50
50
|
# @overload initialize()
|
51
51
|
# Default constructor.
|
@@ -53,7 +53,7 @@ module Wx
|
|
53
53
|
# @see Wx::Choice#create
|
54
54
|
# @see Wx::Validator
|
55
55
|
# @return [Wx::Choice]
|
56
|
-
# @overload initialize(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
56
|
+
# @overload initialize(parent, id, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CHOICE_NAME_STR)
|
57
57
|
# Constructor, creating and showing a choice.
|
58
58
|
#
|
59
59
|
# @see Wx::Choice#create
|
@@ -68,7 +68,7 @@ module Wx
|
|
68
68
|
# @overload initialize()
|
69
69
|
# Default constructor.
|
70
70
|
# @return [Wx::CollapsiblePane]
|
71
|
-
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
71
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COLLAPSIBLE_PANE_NAME_STR)
|
72
72
|
# Initializes the object and calls {Wx::CollapsiblePane#create} with all the parameters.
|
73
73
|
# @param parent [Wx::Window]
|
74
74
|
# @param id [Integer]
|
@@ -92,7 +92,7 @@ module Wx
|
|
92
92
|
# @param validator [Wx::Validator] Validator which can be used for additional data checks.
|
93
93
|
# @param name [String] Control name.
|
94
94
|
# @return [Boolean]
|
95
|
-
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
95
|
+
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COLLAPSIBLE_PANE_NAME_STR) end
|
96
96
|
|
97
97
|
# Collapses or expands the pane window.
|
98
98
|
# @param collapse [Boolean]
|
@@ -58,7 +58,7 @@ module Wx
|
|
58
58
|
|
59
59
|
# @overload initialize()
|
60
60
|
# @return [Wx::ColourPickerCtrl]
|
61
|
-
# @overload initialize(parent, id, colour=Wx::BLACK, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CLRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
61
|
+
# @overload initialize(parent, id, colour=Wx::BLACK, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CLRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COLOUR_PICKER_CTRL_NAME_STR)
|
62
62
|
# Initializes the object and calls {Wx::ColourPickerCtrl#create} with all the parameters.
|
63
63
|
# @param parent [Wx::Window]
|
64
64
|
# @param id [Integer]
|
@@ -82,7 +82,7 @@ module Wx
|
|
82
82
|
# @param validator [Wx::Validator] Validator which can be used for additional data checks.
|
83
83
|
# @param name [String] Control name.
|
84
84
|
# @return [Boolean]
|
85
|
-
def create(parent, id, colour=Wx::BLACK, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CLRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
85
|
+
def create(parent, id, colour=Wx::BLACK, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::CLRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COLOUR_PICKER_CTRL_NAME_STR) end
|
86
86
|
|
87
87
|
# Returns the currently selected colour.
|
88
88
|
# @return [Wx::Colour]
|
data/lib/wx/doc/gen/combo_box.rb
CHANGED
@@ -56,7 +56,7 @@ module Wx
|
|
56
56
|
|
57
57
|
include Wx::TextEntry
|
58
58
|
|
59
|
-
# @overload create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=((
|
59
|
+
# @overload create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=((CONST Wx::STRING *) nil), style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
60
60
|
# Creates the combobox for two-step construction.
|
61
61
|
# Derived classes should call or replace this function. See {Wx::ComboBox#initialize} for further details.
|
62
62
|
# @param parent [Wx::Window]
|
@@ -69,7 +69,7 @@ module Wx
|
|
69
69
|
# @param validator [Wx::Validator]
|
70
70
|
# @param name [String]
|
71
71
|
# @return [Boolean]
|
72
|
-
# @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
72
|
+
# @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
73
73
|
# Creates the combobox for two-step construction.
|
74
74
|
# Derived classes should call or replace this function. See {Wx::ComboBox#initialize} for further details.
|
75
75
|
# @param parent [Wx::Window]
|
@@ -87,7 +87,7 @@ module Wx
|
|
87
87
|
# @overload initialize()
|
88
88
|
# Default constructor.
|
89
89
|
# @return [Wx::ComboBox]
|
90
|
-
# @overload initialize(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
90
|
+
# @overload initialize(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, choices=nil, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
91
91
|
# Constructor, creating and showing a combobox.
|
92
92
|
#
|
93
93
|
# @see Wx::ComboBox#create
|
@@ -102,7 +102,7 @@ module Wx
|
|
102
102
|
# @param validator [Wx::Validator] Window validator.
|
103
103
|
# @param name [String] Window name.
|
104
104
|
# @return [Wx::ComboBox]
|
105
|
-
# @overload initialize(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
105
|
+
# @overload initialize(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
106
106
|
# Constructor, creating and showing a combobox.
|
107
107
|
#
|
108
108
|
# @see Wx::ComboBox#create
|
@@ -194,7 +194,7 @@ module Wx
|
|
194
194
|
# @overload initialize()
|
195
195
|
# Default constructor.
|
196
196
|
# @return [Wx::ComboCtrl]
|
197
|
-
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
197
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
198
198
|
# Constructor, creating and showing a combo control.
|
199
199
|
#
|
200
200
|
# @see Wx::ComboCtrl#create
|
@@ -225,7 +225,7 @@ module Wx
|
|
225
225
|
# @param validator [Wx::Validator]
|
226
226
|
# @param name [String]
|
227
227
|
# @return [Boolean]
|
228
|
-
def create(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
228
|
+
def create(parent, id=Wx::StandardID::ID_ANY, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR) end
|
229
229
|
|
230
230
|
# Copies the selected text to the clipboard and removes the selection.
|
231
231
|
# @return [void]
|
@@ -743,7 +743,7 @@ module Wx
|
|
743
743
|
#
|
744
744
|
class OwnerDrawnComboBox < ComboCtrl
|
745
745
|
|
746
|
-
# @overload create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
746
|
+
# @overload create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
747
747
|
# Creates the combobox for two-step construction.
|
748
748
|
# See {Wx::OwnerDrawnComboBox#initialize} for further details.
|
749
749
|
# Derived classes should call or replace this function.
|
@@ -756,7 +756,7 @@ module Wx
|
|
756
756
|
# @param validator [Wx::Validator]
|
757
757
|
# @param name [String]
|
758
758
|
# @return [Boolean]
|
759
|
-
# @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
759
|
+
# @overload create(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::COMBO_BOX_NAME_STR)
|
760
760
|
# Creates the combobox for two-step construction.
|
761
761
|
# See {Wx::OwnerDrawnComboBox#initialize} for further details.
|
762
762
|
# Derived classes should call or replace this function.
|
@@ -775,7 +775,7 @@ module Wx
|
|
775
775
|
# @overload initialize()
|
776
776
|
# Default constructor.
|
777
777
|
# @return [Wx::OwnerDrawnComboBox]
|
778
|
-
# @overload initialize(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=("
|
778
|
+
# @overload initialize(parent, id, value, pos, size, choices, style=0, validator=Wx::DEFAULT_VALIDATOR, name=("COMBO_BOX"))
|
779
779
|
# Constructor, creating and showing a owner-drawn combobox.
|
780
780
|
#
|
781
781
|
# @see Wx::OwnerDrawnComboBox#create
|
@@ -29,7 +29,7 @@ module Wx
|
|
29
29
|
# Default constructor.
|
30
30
|
# Use {Wx::CommandLinkButton#create} to really create the control.
|
31
31
|
# @return [Wx::CommandLinkButton]
|
32
|
-
# @overload initialize(parent, id, mainLabel=(''), note=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
32
|
+
# @overload initialize(parent, id, mainLabel=(''), note=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR)
|
33
33
|
# Constructor really creating a command Link button.
|
34
34
|
# The button will be decorated with stock icons under GTK+ 2.
|
35
35
|
# @see Wx::CommandLinkButton#create
|
@@ -58,7 +58,7 @@ module Wx
|
|
58
58
|
# @param validator [Wx::Validator]
|
59
59
|
# @param name [String]
|
60
60
|
# @return [Boolean]
|
61
|
-
def create(parent, id, mainLabel=(''), note=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
61
|
+
def create(parent, id, mainLabel=(''), note=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::BUTTON_NAME_STR) end
|
62
62
|
|
63
63
|
# Sets a new main label and note for the button.
|
64
64
|
# Neither of the arguments can be empty, if you need to change just the label or just the note, use {Wx::CommandLinkButton#set_main_label} or {Wx::CommandLinkButton#set_note} instead of this function.
|
data/lib/wx/doc/gen/control.rb
CHANGED
@@ -27,7 +27,7 @@ module Wx
|
|
27
27
|
#
|
28
28
|
class Control < Window
|
29
29
|
|
30
|
-
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
30
|
+
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CONTROL_NAME_STR)
|
31
31
|
# Constructs a control.
|
32
32
|
# @param parent [Wx::Window] Pointer to a parent window.
|
33
33
|
# @param id [Integer] Control identifier. If {Wx::StandardID::ID_ANY}, will automatically create an identifier.
|
@@ -50,7 +50,7 @@ module Wx
|
|
50
50
|
# @param validator [Wx::Validator]
|
51
51
|
# @param name [String]
|
52
52
|
# @return [Boolean]
|
53
|
-
def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
53
|
+
def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CONTROL_NAME_STR) end
|
54
54
|
|
55
55
|
# Simulates the effect of the user issuing a command to the item.
|
56
56
|
#
|
data/lib/wx/doc/gen/core.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
module Wx
|
8
8
|
|
9
9
|
# wxRuby version string
|
10
|
-
Wx::WXRUBY_VERSION = '0.9.
|
10
|
+
Wx::WXRUBY_VERSION = '0.9.1'
|
11
11
|
|
12
12
|
# wxRuby version release type (alpha, beta, rc)
|
13
13
|
Wx::WXRUBY_RELEASE_TYPE = ''
|
@@ -16,7 +16,7 @@ module Wx
|
|
16
16
|
# wxRuby minor version number
|
17
17
|
Wx::WXRUBY_MINOR = 9
|
18
18
|
# wxRuby release number
|
19
|
-
Wx::WXRUBY_RELEASE =
|
19
|
+
Wx::WXRUBY_RELEASE = 1
|
20
20
|
|
21
21
|
# Convenience string for WxWidgets version info
|
22
22
|
WXWIDGETS_VERSION = '3.2.3'
|
data/lib/wx/doc/gen/cursor.rb
CHANGED
@@ -63,7 +63,7 @@ module Wx
|
|
63
63
|
# If cursor are monochrome on the current platform, colors with the RGB elements all greater than 127 will be foreground, colors less than this background. The mask (if any) will be used to specify the transparent area.
|
64
64
|
# In wxMSW the foreground will be white and the background black. If the cursor is larger than 32x32 it is resized.
|
65
65
|
# In wxGTK, colour cursors and alpha channel are supported (starting from GTK+ 2.2). Otherwise the two most frequent colors will be used for foreground and background. In any case, the cursor will be displayed at the size of the image.
|
66
|
-
# Under
|
66
|
+
# Under wxMac (Cocoa), large cursors are supported.
|
67
67
|
# Notice that the image can define the cursor hot spot. To set it you need to use {Wx::Image#set_option} with {Wx::IMAGE_OPTION_CUR_HOTSPOT_X} or {Wx::IMAGE_OPTION_CUR_HOTSPOT_Y}, e.g.
|
68
68
|
# ```ruby
|
69
69
|
# image.set_option(Wx::IMAGE_OPTION_CUR_HOTSPOT_X, hotSpotX)
|
@@ -214,7 +214,7 @@ module Wx
|
|
214
214
|
# @param format [Wx::DataFormat]
|
215
215
|
# @param dir [Wx::wxDataObject::Direction]
|
216
216
|
# @return [Wx::DataObjectSimple]
|
217
|
-
def get_object(format, dir=
|
217
|
+
def get_object(format, dir=DataObject::Get) end
|
218
218
|
alias_method :object, :get_object
|
219
219
|
|
220
220
|
end # DataObjectComposite
|
@@ -67,7 +67,7 @@ module Wx
|
|
67
67
|
# @overload initialize()
|
68
68
|
# Default constructor.
|
69
69
|
# @return [Wx::DatePickerCtrl]
|
70
|
-
# @overload initialize(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DP_DEFAULT|Wx::DP_SHOWCENTURY), validator=Wx::DEFAULT_VALIDATOR, name=("
|
70
|
+
# @overload initialize(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DP_DEFAULT|Wx::DP_SHOWCENTURY), validator=Wx::DEFAULT_VALIDATOR, name=("DATECTRL"))
|
71
71
|
# Initializes the object and calls {Wx::DatePickerCtrl#create} with all the parameters.
|
72
72
|
# @param parent [Wx::Window]
|
73
73
|
# @param id [Integer]
|
@@ -93,7 +93,7 @@ module Wx
|
|
93
93
|
# @param validator [Wx::Validator] Validator which can be used for additional data checks.
|
94
94
|
# @param name [String] Control name.
|
95
95
|
# @return [Boolean]
|
96
|
-
def create(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DP_DEFAULT|Wx::DP_SHOWCENTURY), validator=Wx::DEFAULT_VALIDATOR, name=("
|
96
|
+
def create(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DP_DEFAULT|Wx::DP_SHOWCENTURY), validator=Wx::DEFAULT_VALIDATOR, name=("DATECTRL")) end
|
97
97
|
|
98
98
|
# Returns the currently entered date.
|
99
99
|
# For a control with {Wx::DP_ALLOWNONE} style the returned value may be invalid if no date is entered, otherwise it is always valid.
|
data/lib/wx/doc/gen/dc.rb
CHANGED
@@ -10,7 +10,7 @@ module Wx
|
|
10
10
|
#
|
11
11
|
# {Wx::DC#blit} and {Wx::DC#stretch_blit}).
|
12
12
|
# The description of the values below refer to how a generic src source pixel and the corresponding dst destination pixel gets combined together to produce the final pixel. E.g. {Wx::RasterOperationMode::CLEAR} and {Wx::RasterOperationMode::SET} completely ignore the source and the destination pixel and always put zeroes or ones in the final surface.
|
13
|
-
# Note that not all modes are supported under all platforms. Notably wxGTK3 and
|
13
|
+
# Note that not all modes are supported under all platforms. Notably wxGTK3 and wxMac only support the following modes:
|
14
14
|
#
|
15
15
|
# - {Wx::RasterOperationMode::COPY}
|
16
16
|
# - {Wx::RasterOperationMode::OR}
|
@@ -1190,7 +1190,7 @@ module Wx
|
|
1190
1190
|
def set_device_origin(x, y) end
|
1191
1191
|
|
1192
1192
|
# Sets the current logical function for the device context.
|
1193
|
-
# This function is not fully supported in all ports, due to the limitations of the underlying drawing model. Notably, {Wx::RasterOperationMode::INVERT} which was commonly used for drawing rubber bands or other moving outlines in the past, is not, and will not, be supported by wxGTK3 and
|
1193
|
+
# This function is not fully supported in all ports, due to the limitations of the underlying drawing model. Notably, {Wx::RasterOperationMode::INVERT} which was commonly used for drawing rubber bands or other moving outlines in the past, is not, and will not, be supported by wxGTK3 and wxMac. The suggested alternative is to draw temporarily objects normally and refresh the (affected part of the) window to remove them later.
|
1194
1194
|
#
|
1195
1195
|
# It determines how a source pixel (from a pen or brush colour, or source device context if using {Wx::DC#blit}) combines with a destination pixel in the current device context. Text drawing is not affected by this function.
|
1196
1196
|
# See {Wx::RasterOperationMode} enumeration values for more info.
|
data/lib/wx/doc/gen/defs.rb
CHANGED
@@ -1430,7 +1430,7 @@ module Wx
|
|
1430
1430
|
|
1431
1431
|
# Virtual keycodes used by {Wx::KeyEvent} and some other wxWidgets functions.
|
1432
1432
|
#
|
1433
|
-
# Note that the range 0..255 corresponds to the characters of the current locale, in particular the 32..127 subrange is for the ASCII symbols, and all the special key values such as {Wx::K_END} lie above this range.
|
1433
|
+
# Note that the range 0..255 corresponds to the characters of the current locale, in particular the 32..127 subrange is for the ASCII symbols, and all the special key values such as {Wx::KeyCode::K_END} lie above this range.
|
1434
1434
|
#
|
1435
1435
|
class KeyCode < Wx::Enum
|
1436
1436
|
|
@@ -1598,11 +1598,11 @@ module Wx
|
|
1598
1598
|
#
|
1599
1599
|
K_ALT = Wx::KeyCode.new(307)
|
1600
1600
|
|
1601
|
-
# Note that under macOS, to improve compatibility with other systems, '{Wx::K_CONTROL}' represents the 'Command' key.
|
1601
|
+
# Note that under macOS, to improve compatibility with other systems, '{Wx::KeyCode::K_CONTROL}' represents the 'Command' key.
|
1602
1602
|
#
|
1603
1603
|
K_CONTROL = Wx::KeyCode.new(308)
|
1604
1604
|
|
1605
|
-
# Under macOS, where the 'Command' key is mapped to 'Control' to improve compatibility with other systems, {Wx::K_RAW}_CONTROL may be used to obtain the state of the actual 'Control' key ('{Wx::K_CONTROL}' would obtain the status of the 'Command' key).
|
1605
|
+
# Under macOS, where the 'Command' key is mapped to 'Control' to improve compatibility with other systems, {Wx::KeyCode::K_RAW}_CONTROL may be used to obtain the state of the actual 'Control' key ('{Wx::KeyCode::K_CONTROL}' would obtain the status of the 'Command' key).
|
1606
1606
|
#
|
1607
1607
|
K_RAW_CONTROL = Wx::KeyCode.new(308)
|
1608
1608
|
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# :stopdoc:
|
2
|
+
# This file is automatically generated by the WXRuby3 documentation
|
3
|
+
# generator. Do not alter this file.
|
4
|
+
# :startdoc:
|
5
|
+
|
6
|
+
|
7
|
+
module Wx
|
8
|
+
|
9
|
+
# connected event
|
10
|
+
EVT_DIALUP_CONNECTED = 10199
|
11
|
+
|
12
|
+
# disconnected event
|
13
|
+
EVT_DIALUP_DISCONNECTED = 10200
|
14
|
+
|
15
|
+
# This is the event class for the dialup events sent by {Wx::DialUpManager}.
|
16
|
+
# ===
|
17
|
+
#
|
18
|
+
# Category: {Wx::Events}
|
19
|
+
#
|
20
|
+
class DialUpEvent < Event
|
21
|
+
|
22
|
+
# Constructor is only used by {Wx::DialUpManager}.
|
23
|
+
# @param isConnected [Boolean]
|
24
|
+
# @param isOwnEvent [Boolean]
|
25
|
+
# @return [Wx::DialUpEvent]
|
26
|
+
def initialize(isConnected, isOwnEvent) end
|
27
|
+
|
28
|
+
# Is this a CONNECTED or DISCONNECTED event? In other words, does it notify about transition from offline to online state or vice versa?
|
29
|
+
# @return [Boolean]
|
30
|
+
def is_connected_event; end
|
31
|
+
alias_method :connected_event?, :is_connected_event
|
32
|
+
|
33
|
+
# Does this event come from {Wx::DialUpManager#dial} or from some external process (i.e.
|
34
|
+
# does it result from our own attempt to establish the connection)?
|
35
|
+
# @return [Boolean]
|
36
|
+
def is_own_event; end
|
37
|
+
alias_method :own_event?, :is_own_event
|
38
|
+
|
39
|
+
end # DialUpEvent
|
40
|
+
|
41
|
+
|
42
|
+
end
|
@@ -0,0 +1,129 @@
|
|
1
|
+
# :stopdoc:
|
2
|
+
# This file is automatically generated by the WXRuby3 documentation
|
3
|
+
# generator. Do not alter this file.
|
4
|
+
# :startdoc:
|
5
|
+
|
6
|
+
|
7
|
+
module Wx
|
8
|
+
|
9
|
+
# This class encapsulates functions dealing with verifying the connection status of the workstation (connected to the Internet via a direct connection, connected through a modem or not connected at all) and to establish this connection if possible/required (i.e.
|
10
|
+
# in the case of the modem).
|
11
|
+
# The program may also wish to be notified about the change in the connection status (for example, to perform some action when the user connects to the network the next time or, on the contrary, to stop receiving data from the net when the user hangs up the modem). For this, you need to use one of the event macros described below.
|
12
|
+
# This class is different from other wxWidgets classes in that there is at most one instance of this class in the program accessed via {Wx::DialUpManager.create} and you can't create the objects of this class directly.
|
13
|
+
# === Events emitted by this class
|
14
|
+
#
|
15
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::DialUpEvent} events.
|
16
|
+
# Event handler methods for events emitted by this class:
|
17
|
+
#
|
18
|
+
# - {Wx::EvtHandler#evt_dialup_connected}(meth = nil, &block): A connection with the network was established.
|
19
|
+
#
|
20
|
+
# - {Wx::EvtHandler#evt_dialup_disconnected}(meth = nil, &block): The connection with the network was lost.
|
21
|
+
#
|
22
|
+
# ===
|
23
|
+
#
|
24
|
+
# Category: {Wx::Networking}
|
25
|
+
# @see Dialup Sample
|
26
|
+
# @see Wx::DialUpEvent
|
27
|
+
#
|
28
|
+
#
|
29
|
+
#
|
30
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
31
|
+
class DialUpManager < ::Object
|
32
|
+
|
33
|
+
# Cancel dialing the number initiated with {Wx::DialUpManager#dial} with async parameter equal to true.
|
34
|
+
# This won't result in a DISCONNECTED event being sent.
|
35
|
+
# @see Wx::DialUpManager#is_dialing
|
36
|
+
# @return [Boolean]
|
37
|
+
def cancel_dialing; end
|
38
|
+
|
39
|
+
# Dial the given ISP, use username and password to authenticate.
|
40
|
+
# The parameters are only used under Windows currently, for Unix you should use {Wx::DialUpManager#set_connect_command} to customize this functions behaviour.
|
41
|
+
# If no nameOfISP is given, the function will select the default one (proposing the user to choose among all connections defined on this machine) and if no username and/or password are given, the function will try to do without them, but will ask the user if really needed.
|
42
|
+
# If async parameter is false, the function waits until the end of dialing and returns true upon successful completion.
|
43
|
+
# If async is true, the function only initiates the connection and returns immediately - the result is reported via events (an event is sent anyhow, but if dialing failed it will be a DISCONNECTED one).
|
44
|
+
# @param nameOfISP [String]
|
45
|
+
# @param username [String]
|
46
|
+
# @param password [String]
|
47
|
+
# @param async [Boolean]
|
48
|
+
# @return [Boolean]
|
49
|
+
def dial(nameOfISP=(''), username=(''), password=(''), async=true) end
|
50
|
+
|
51
|
+
# Disable automatic check for connection status change - notice that the {Wx::EVT_DIALUP_XXX} events won't be sent any more either.
|
52
|
+
# @return [void]
|
53
|
+
def disable_auto_check_online_status; end
|
54
|
+
|
55
|
+
# Enable automatic checks for the connection status and sending of <code>wxEVT_DIALUP_CONNECTED/wxEVT_DIALUP_DISCONNECTED</code> events.
|
56
|
+
# The interval parameter is only for Unix where we do the check manually and specifies how often should we repeat the check (each minute by default). Under Windows, the notification about the change of connection status is sent by the system and so we don't do any polling and this parameter is ignored.
|
57
|
+
# false if couldn't set up automatic check for online status.
|
58
|
+
# @param nSeconds [Integer]
|
59
|
+
# @return [Boolean]
|
60
|
+
def enable_auto_check_online_status(nSeconds=60) end
|
61
|
+
|
62
|
+
# This function is only implemented under Windows.
|
63
|
+
# Fills the array with the names of all possible values for the first parameter to {Wx::DialUpManager#dial} on this machine and returns their number (may be 0).
|
64
|
+
# @return [Array<String>]
|
65
|
+
def get_isp_names; end
|
66
|
+
alias_method :isp_names, :get_isp_names
|
67
|
+
|
68
|
+
# Hang up the currently active dial up connection.
|
69
|
+
# @return [Boolean]
|
70
|
+
def hang_up; end
|
71
|
+
|
72
|
+
# Returns true if the computer has a permanent network connection (i.e.
|
73
|
+
# \ is on a LAN) and so there is no need to use {Wx::DialUpManager#dial} function to go online.
|
74
|
+
# This function tries to guess the result and it is not always guaranteed to be correct, so it is better to ask user for confirmation or give him a possibility to override it.
|
75
|
+
# @return [Boolean]
|
76
|
+
def is_always_online; end
|
77
|
+
alias_method :always_online?, :is_always_online
|
78
|
+
|
79
|
+
# Returns true if (async) dialing is in progress.
|
80
|
+
#
|
81
|
+
# @see Wx::DialUpManager#dial
|
82
|
+
# @return [Boolean]
|
83
|
+
def is_dialing; end
|
84
|
+
alias_method :dialing?, :is_dialing
|
85
|
+
|
86
|
+
# Returns true if the dialup manager was initialized correctly.
|
87
|
+
# If this function returns false, no other functions will work either, so it is a good idea to call this function and check its result before calling any other {Wx::DialUpManager} methods.
|
88
|
+
# @return [Boolean]
|
89
|
+
def is_ok; end
|
90
|
+
alias_method :ok?, :is_ok
|
91
|
+
|
92
|
+
# Returns true if the computer is connected to the network: under Windows, this just means that a RAS connection exists, under Unix we check that the "well-known host" (as specified by {Wx::DialUpManager#set_well_known_host}) is reachable.
|
93
|
+
# @return [Boolean]
|
94
|
+
def is_online; end
|
95
|
+
alias_method :online?, :is_online
|
96
|
+
|
97
|
+
# This method is for Unix only.
|
98
|
+
# Sets the commands to start up the network and to hang up again.
|
99
|
+
# @param commandDial [String]
|
100
|
+
# @param commandHangup [String]
|
101
|
+
# @return [void]
|
102
|
+
def set_connect_command(commandDial=("/USR/BIN/PON"), commandHangup=("/USR/BIN/POFF")) end
|
103
|
+
alias_method :connect_command=, :set_connect_command
|
104
|
+
|
105
|
+
# Sometimes the built-in logic for determining the online status may fail, so, in general, the user should be allowed to override it.
|
106
|
+
# This function allows forcefully setting the online status - whatever our internal algorithm may think about it.
|
107
|
+
# @see Wx::DialUpManager#is_online
|
108
|
+
# @param isOnline [Boolean]
|
109
|
+
# @return [void]
|
110
|
+
def set_online_status(isOnline=true) end
|
111
|
+
alias_method :online_status=, :set_online_status
|
112
|
+
|
113
|
+
# This method is for Unix only.
|
114
|
+
# Under Unix, the value of well-known host is used to check whether we're connected to the internet. It is unused under Windows, but this function is always safe to call. The default value is <code>"www.yahoo.com:80"</code>.
|
115
|
+
# @param hostname [String]
|
116
|
+
# @param portno [Integer]
|
117
|
+
# @return [void]
|
118
|
+
def set_well_known_host(hostname, portno=80) end
|
119
|
+
alias_method :well_known_host=, :set_well_known_host
|
120
|
+
|
121
|
+
# This function should create and return the object of the platform-specific class derived from {Wx::DialUpManager}.
|
122
|
+
# You should delete the pointer when you are done with it.
|
123
|
+
# @return [Wx::DialUpManager]
|
124
|
+
def self.create; end
|
125
|
+
|
126
|
+
end # DialUpManager
|
127
|
+
|
128
|
+
|
129
|
+
end
|
data/lib/wx/doc/gen/dialog.rb
CHANGED
@@ -134,7 +134,7 @@ module Wx
|
|
134
134
|
# @overload initialize()
|
135
135
|
# Default constructor.
|
136
136
|
# @return [Wx::Dialog]
|
137
|
-
# @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::
|
137
|
+
# @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DIALOG_NAME_STR)
|
138
138
|
# Constructor.
|
139
139
|
#
|
140
140
|
# @see Wx::Dialog#create
|
@@ -178,7 +178,7 @@ module Wx
|
|
178
178
|
# @param style [Integer]
|
179
179
|
# @param name [String]
|
180
180
|
# @return [Boolean]
|
181
|
-
def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::
|
181
|
+
def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DIALOG_NAME_STR) end
|
182
182
|
|
183
183
|
# Creates a sizer with standard buttons.
|
184
184
|
# flags is a bit list of the following flags: {Wx::OK}, {Wx::CANCEL}, {Wx::YES}, {Wx::NO}, {Wx::APPLY}, {Wx::CLOSE}, {Wx::HELP}, {Wx::NO_DEFAULT}.
|
@@ -43,7 +43,7 @@ module Wx
|
|
43
43
|
|
44
44
|
# @overload initialize()
|
45
45
|
# @return [Wx::DirPickerCtrl]
|
46
|
-
# @overload initialize(parent, id, path=(''), message=Wx::DIR_SELECTOR_PROMPT_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
46
|
+
# @overload initialize(parent, id, path=(''), message=Wx::DIR_SELECTOR_PROMPT_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::DIR_PICKER_CTRL_NAME_STR)
|
47
47
|
# Initializes the object and calls {Wx::DirPickerCtrl#create} with all the parameters.
|
48
48
|
# @param parent [Wx::Window]
|
49
49
|
# @param id [Integer]
|
@@ -69,7 +69,7 @@ module Wx
|
|
69
69
|
# @param validator [Wx::Validator] Validator which can be used for additional data checks.
|
70
70
|
# @param name [String] Control name.
|
71
71
|
# @return [Boolean]
|
72
|
-
def create(parent, id, path=(''), message=Wx::DIR_SELECTOR_PROMPT_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
72
|
+
def create(parent, id, path=(''), message=Wx::DIR_SELECTOR_PROMPT_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::DIR_PICKER_CTRL_NAME_STR) end
|
73
73
|
|
74
74
|
# Returns the absolute path of the currently selected directory as a {Wx::FileName} object.
|
75
75
|
# This function is equivalent to {Wx::DirPickerCtrl#get_path}.
|
@@ -49,7 +49,7 @@ module Wx
|
|
49
49
|
# @overload initialize()
|
50
50
|
# Default ctor.
|
51
51
|
# @return [Wx::EditableListBox]
|
52
|
-
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::EL_DEFAULT_STYLE, name=Wx::
|
52
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::EL_DEFAULT_STYLE, name=Wx::EDITABLE_LIST_BOX_NAME_STR)
|
53
53
|
# Constructor, creating and showing a list box.
|
54
54
|
#
|
55
55
|
# @see Wx::EditableListBox#create
|
@@ -73,7 +73,7 @@ module Wx
|
|
73
73
|
# @param style [Integer]
|
74
74
|
# @param name [String]
|
75
75
|
# @return [Boolean]
|
76
|
-
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::EL_DEFAULT_STYLE, name=Wx::
|
76
|
+
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::EL_DEFAULT_STYLE, name=Wx::EDITABLE_LIST_BOX_NAME_STR) end
|
77
77
|
|
78
78
|
# Replaces current contents with given strings.
|
79
79
|
# @param strings [Array<String>]
|
data/lib/wx/doc/gen/event.rb
CHANGED
@@ -80,7 +80,7 @@ module Wx
|
|
80
80
|
#
|
81
81
|
K_CATEGORY_CUT = Wx::KeyCategoryFlags.new(16)
|
82
82
|
|
83
|
-
# union of {Wx::K_CATEGORY}_ARROW, {Wx::K_CATEGORY}_PAGING, and {Wx::K_CATEGORY}_JUMP categories
|
83
|
+
# union of {Wx::KeyCode::K_CATEGORY}_ARROW, {Wx::KeyCode::K_CATEGORY}_PAGING, and {Wx::KeyCode::K_CATEGORY}_JUMP categories
|
84
84
|
#
|
85
85
|
K_CATEGORY_NAVIGATION = Wx::KeyCategoryFlags.new(7)
|
86
86
|
|
@@ -674,6 +674,12 @@ module Wx
|
|
674
674
|
#
|
675
675
|
EVT_WINDOW_MODAL_DIALOG_CLOSED = 10182
|
676
676
|
|
677
|
+
#
|
678
|
+
EVT_MENU_HIGHLIGHT_ALL = 10299
|
679
|
+
|
680
|
+
#
|
681
|
+
EVT_NC_PAINT = 10296
|
682
|
+
|
677
683
|
# Generates a new unique event type.
|
678
684
|
# Usually this function is only used by {define_event} and not called directly.
|
679
685
|
# @return [Wx::CommandLinkButton::EventType]
|
@@ -707,6 +707,34 @@ class Wx::EvtHandler
|
|
707
707
|
# @yieldparam [Wx::FileDirPickerEvent] event the event to handle
|
708
708
|
def evt_dirpicker_changed(id, meth = nil, &block) end
|
709
709
|
|
710
|
+
# The user activated a file(by double-clicking or pressing Enter)
|
711
|
+
# Processes a {Wx::EVT_FILECTRL_FILEACTIVATED} event.
|
712
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
713
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
714
|
+
# @yieldparam [Wx::FileCtrlEvent] event the event to handle
|
715
|
+
def evt_filectrl_fileactivated(id, meth = nil, &block) end
|
716
|
+
|
717
|
+
# The user changed the current selection(by selecting or deselecting a file)
|
718
|
+
# Processes a {Wx::EVT_FILECTRL_SELECTIONCHANGED} event.
|
719
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
720
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
721
|
+
# @yieldparam [Wx::FileCtrlEvent] event the event to handle
|
722
|
+
def evt_filectrl_selectionchanged(id, meth = nil, &block) end
|
723
|
+
|
724
|
+
# The current folder of the file control has been changed
|
725
|
+
# Processes a {Wx::EVT_FILECTRL_FOLDERCHANGED} event.
|
726
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
727
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
728
|
+
# @yieldparam [Wx::FileCtrlEvent] event the event to handle
|
729
|
+
def evt_filectrl_folderchanged(id, meth = nil, &block) end
|
730
|
+
|
731
|
+
# The current file filter of the file control has been changed
|
732
|
+
# Processes a {Wx::EVT_FILECTRL_FILTERCHANGED} event.
|
733
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
734
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
735
|
+
# @yieldparam [Wx::FileCtrlEvent] event the event to handle
|
736
|
+
def evt_filectrl_filterchanged(id, meth = nil, &block) end
|
737
|
+
|
710
738
|
# Begin dragging with the left mouse button.
|
711
739
|
# Processes a {Wx::EVT_LIST_BEGIN_DRAG} event.
|
712
740
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
@@ -1301,13 +1329,13 @@ class Wx::EvtHandler
|
|
1301
1329
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1302
1330
|
def evt_command_enter(id, meth = nil, &block) end
|
1303
1331
|
|
1304
|
-
# A connection with the network was established.
|
1332
|
+
# A connection with the network was established.
|
1305
1333
|
# Processes a {Wx::EVT_DIALUP_CONNECTED} event.
|
1306
1334
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1307
1335
|
# @yieldparam [Wx::App] event the event to handle
|
1308
1336
|
def evt_dialup_connected(meth = nil, &block) end
|
1309
1337
|
|
1310
|
-
# The connection with the network was lost.
|
1338
|
+
# The connection with the network was lost.
|
1311
1339
|
# Processes a {Wx::EVT_DIALUP_DISCONNECTED} event.
|
1312
1340
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1313
1341
|
# @yieldparam [Wx::App] event the event to handle
|