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
@@ -44,7 +44,7 @@ module Wx
|
|
44
44
|
# @see Wx::RadioButton#create
|
45
45
|
# @see Wx::Validator
|
46
46
|
# @return [Wx::RadioButton]
|
47
|
-
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
47
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BUTTON_NAME_STR)
|
48
48
|
# Constructor, creating and showing a radio button.
|
49
49
|
#
|
50
50
|
# @see Wx::RadioButton#create
|
@@ -71,7 +71,7 @@ module Wx
|
|
71
71
|
# @param validator [Wx::Validator]
|
72
72
|
# @param name [String]
|
73
73
|
# @return [Boolean]
|
74
|
-
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
74
|
+
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::RADIO_BUTTON_NAME_STR) end
|
75
75
|
|
76
76
|
# Returns true if the radio button is checked, false otherwise.
|
77
77
|
# @return [Boolean]
|
@@ -18,7 +18,7 @@ module Wx::RBN
|
|
18
18
|
# @overload initialize()
|
19
19
|
# Constructor.
|
20
20
|
# @return [Wx::RBN::RibbonControl]
|
21
|
-
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
21
|
+
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::CONTROL_NAME_STR)
|
22
22
|
# Constructor.
|
23
23
|
# If parent is a {Wx::RBN::RibbonControl} with a non-NULL art provider, then the art provider of new control is set to that of parent.
|
24
24
|
# @param parent [Wx::Window]
|
@@ -20,7 +20,7 @@ module Wx
|
|
20
20
|
# Default constructor.
|
21
21
|
# {Wx::RearrangeCtrl#create} must be called later to effectively create the control.
|
22
22
|
# @return [Wx::RearrangeCtrl]
|
23
|
-
# @overload initialize(parent, id, pos, size, order, items, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
23
|
+
# @overload initialize(parent, id, pos, size, order, items, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::REARRANGE_LIST_NAME_STR)
|
24
24
|
# Constructor really creating the control.
|
25
25
|
# Please see {Wx::RearrangeCtrl#create} for the parameters description.
|
26
26
|
# @param parent [Wx::Window]
|
@@ -47,7 +47,7 @@ module Wx
|
|
47
47
|
# @param validator [Wx::Validator]
|
48
48
|
# @param name [String]
|
49
49
|
# @return [Boolean]
|
50
|
-
def create(parent, id, pos, size, order, items, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
50
|
+
def create(parent, id, pos, size, order, items, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::REARRANGE_LIST_NAME_STR) end
|
51
51
|
|
52
52
|
# Return the listbox which is the main part of this control.
|
53
53
|
# @return [Wx::RearrangeList]
|
@@ -30,7 +30,7 @@ module Wx
|
|
30
30
|
# Default constructor.
|
31
31
|
# {Wx::RearrangeList#create} must be called later to effectively create the control.
|
32
32
|
# @return [Wx::RearrangeList]
|
33
|
-
# @overload initialize(parent, id, pos, size, order, items, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
33
|
+
# @overload initialize(parent, id, pos, size, order, items, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::REARRANGE_LIST_NAME_STR)
|
34
34
|
# Constructor really creating the control.
|
35
35
|
# Please see {Wx::RearrangeList#create} for the parameters description.
|
36
36
|
# @param parent [Wx::Window]
|
@@ -57,7 +57,7 @@ module Wx
|
|
57
57
|
# @param validator [Wx::Validator] Optional window validator.
|
58
58
|
# @param name [String] Optional window name.
|
59
59
|
# @return [Boolean]
|
60
|
-
def create(parent, id, pos, size, order, items, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
60
|
+
def create(parent, id, pos, size, order, items, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::REARRANGE_LIST_NAME_STR) end
|
61
61
|
|
62
62
|
# Return the current order of the items.
|
63
63
|
# The order may be different from the one passed to the constructor if {Wx::RearrangeList#move_current_up} or {Wx::RearrangeList#move_current_down} were called.
|
@@ -198,7 +198,7 @@ module Wx::RTC
|
|
198
198
|
# @overload initialize()
|
199
199
|
# Default constructor.
|
200
200
|
# @return [Wx::RTC::RichTextCtrl]
|
201
|
-
# @overload initialize(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
201
|
+
# @overload initialize(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TEXT_CTRL_NAME_STR)
|
202
202
|
# Constructor, creating and showing a rich text control.
|
203
203
|
#
|
204
204
|
# @see Wx::RTC::RichTextCtrl#create
|
@@ -224,7 +224,7 @@ module Wx::RTC
|
|
224
224
|
# @param validator [Wx::Validator]
|
225
225
|
# @param name [String]
|
226
226
|
# @return [Boolean]
|
227
|
-
def create(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
227
|
+
def create(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TEXT_CTRL_NAME_STR) end
|
228
228
|
|
229
229
|
# Initialises the members of the control.
|
230
230
|
# @return [void]
|
@@ -153,7 +153,7 @@ module Wx::RTC
|
|
153
153
|
# @param ext [String]
|
154
154
|
# @param type [Wx::RichTextFileType]
|
155
155
|
# @return [Wx::RTC::RichTextPlainTextHandler]
|
156
|
-
def initialize(name=("
|
156
|
+
def initialize(name=("TEXT"), ext=("TXT"), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_TEXT) end
|
157
157
|
|
158
158
|
# Returns true if we can save using this handler.
|
159
159
|
# @return [Boolean]
|
@@ -56,7 +56,7 @@ module Wx::RTC
|
|
56
56
|
# @overload initialize()
|
57
57
|
# Default ctor.
|
58
58
|
# @return [Wx::RTC::RichTextFormattingDialog]
|
59
|
-
# @overload initialize(flags, parent, title=("
|
59
|
+
# @overload initialize(flags, parent, title=("FORMATTING"), id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, sz=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE)
|
60
60
|
# Constructors.
|
61
61
|
# @param flags [Integer] The pages to show.
|
62
62
|
# @param parent [Wx::Window] The dialog's parent.
|
@@ -84,7 +84,7 @@ module Wx::RTC
|
|
84
84
|
# @param sz [Array(Integer, Integer), Wx::Size]
|
85
85
|
# @param style [Integer]
|
86
86
|
# @return [Boolean]
|
87
|
-
def create(flags, parent, title=(Wx::GetTranslation.new("
|
87
|
+
def create(flags, parent, title=(Wx::GetTranslation.new("FORMATTING")), id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, sz=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE) end
|
88
88
|
|
89
89
|
# Gets the attributes being edited.
|
90
90
|
# @return [Wx::TextAttr]
|
@@ -19,7 +19,7 @@ module Wx::RTC
|
|
19
19
|
# @param name [String]
|
20
20
|
# @param parentWindow [Wx::Window]
|
21
21
|
# @return [Wx::RTC::RichTextPrinting]
|
22
|
-
def initialize(name=("
|
22
|
+
def initialize(name=("PRINTING"), parentWindow=nil) end
|
23
23
|
|
24
24
|
# A convenience function to get the footer text.
|
25
25
|
# See {Wx::RTC::RichTextHeaderFooterData} for details.
|
@@ -134,10 +134,10 @@ module Wx::RTC
|
|
134
134
|
# Sets the style type to display.
|
135
135
|
# One of
|
136
136
|
#
|
137
|
-
# - {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_ALL},
|
138
|
-
# - {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_PARAGRAPH},
|
139
|
-
# - {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_CHARACTER}
|
140
|
-
# - {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_LIST}.
|
137
|
+
# - {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_ALL},
|
138
|
+
# - {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_PARAGRAPH},
|
139
|
+
# - {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_CHARACTER}
|
140
|
+
# - {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_LIST}.
|
141
141
|
# @param styleType [Wx::wxRichTextStyleListBox::RichTextStyleType]
|
142
142
|
# @return [void]
|
143
143
|
def set_style_type(styleType) end
|
@@ -151,7 +151,7 @@ module Wx::RTC
|
|
151
151
|
|
152
152
|
# This class incorporates a {Wx::RTC::RichTextStyleListBox} and a choice control that allows the user to select the category of style to view.
|
153
153
|
# It is demonstrated in the {Wx::RTC::RichTextCtrl} sample in <code>samples/richtext</code>.
|
154
|
-
# To use {Wx::RTC::RichTextStyleListCtrl}, add the control to your window hierarchy and call {Wx::RTC::RichTextStyleListCtrl#set_style_type} with one of {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_ALL}, {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_PARAGRAPH}, {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_CHARACTER} and {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_LIST} to set the current view.
|
154
|
+
# To use {Wx::RTC::RichTextStyleListCtrl}, add the control to your window hierarchy and call {Wx::RTC::RichTextStyleListCtrl#set_style_type} with one of {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_ALL}, {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_PARAGRAPH}, {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_CHARACTER} and {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_LIST} to set the current view.
|
155
155
|
# Associate the control with a style sheet and rich text control with SetStyleSheet and SetRichTextCtrl, so that when a style is double-clicked, it is applied to the selection.
|
156
156
|
# === Styles
|
157
157
|
#
|
@@ -226,10 +226,10 @@ module Wx::RTC
|
|
226
226
|
# Sets the style type to display.
|
227
227
|
# One of
|
228
228
|
#
|
229
|
-
# - {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_ALL},
|
230
|
-
# - {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_PARAGRAPH},
|
231
|
-
# - {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_CHARACTER}
|
232
|
-
# - {Wx::RTC::RichTextStyleListBox::RICHTEXT_STYLE_LIST}.
|
229
|
+
# - {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_ALL},
|
230
|
+
# - {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_PARAGRAPH},
|
231
|
+
# - {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_CHARACTER}
|
232
|
+
# - {Wx::RTC::RichTextStyleListBox::RichTextStyleType::RICHTEXT_STYLE_LIST}.
|
233
233
|
# @param styleType [Wx::wxRichTextStyleListBox::RichTextStyleType]
|
234
234
|
# @return [void]
|
235
235
|
def set_style_type(styleType) end
|
@@ -62,7 +62,7 @@ module Wx::RTC
|
|
62
62
|
# @overload initialize()
|
63
63
|
# Default ctor.
|
64
64
|
# @return [Wx::RTC::RichTextStyleOrganiserDialog]
|
65
|
-
# @overload initialize(flags, sheet, ctrl, parent, id=Wx::StandardID::ID_ANY, caption=(_.new("
|
65
|
+
# @overload initialize(flags, sheet, ctrl, parent, id=Wx::StandardID::ID_ANY, caption=(_.new("STYLE ORGANISER")), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_DIALOG_STYLE|Wx::RESIZE_BORDER|Wx::SYSTEM_MENU|Wx::CLOSE_BOX))
|
66
66
|
# Constructor.
|
67
67
|
# To create a dialog, pass a bitlist of flags (see below), a style sheet, a text control to apply a selected style to (or NULL), followed by the usual window parameters.
|
68
68
|
# To specify the operations available to the user, pass a combination of these values to flags:
|
@@ -116,7 +116,7 @@ module Wx::RTC
|
|
116
116
|
# @param size [Array(Integer, Integer), Wx::Size]
|
117
117
|
# @param style [Integer]
|
118
118
|
# @return [Boolean]
|
119
|
-
def create(flags, sheet, ctrl, parent, id=Wx::StandardID::ID_ANY, caption=(Wx::GetTranslation.new("
|
119
|
+
def create(flags, sheet, ctrl, parent, id=Wx::StandardID::ID_ANY, caption=(Wx::GetTranslation.new("STYLE ORGANISER")), pos=Wx::DEFAULT_POSITION, size=(Wx::Size.new(400, 300)), style=(Wx::DEFAULT_DIALOG_STYLE|Wx::RESIZE_BORDER|Wx::SYSTEM_MENU|Wx::CLOSE_BOX)) end
|
120
120
|
|
121
121
|
# Returns true if the user has opted to restart numbering.
|
122
122
|
# @return [Boolean]
|
@@ -26,7 +26,7 @@ module Wx::RTC
|
|
26
26
|
# @param ext [String]
|
27
27
|
# @param type [Integer]
|
28
28
|
# @return [Wx::RTC::RichTextXMLHandler]
|
29
|
-
def initialize(name=("XML"), ext=("
|
29
|
+
def initialize(name=("XML"), ext=("XML"), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_XML) end
|
30
30
|
|
31
31
|
# Returns true.
|
32
32
|
# @return [Boolean]
|
@@ -55,7 +55,7 @@ module Wx::RTC
|
|
55
55
|
# @overload initialize()
|
56
56
|
# Default ctor.
|
57
57
|
# @return [Wx::RTC::SymbolPickerDialog]
|
58
|
-
# @overload initialize(symbol, initialFont, normalTextFont, parent, id=Wx::StandardID::ID_ANY, title=(_.new("
|
58
|
+
# @overload initialize(symbol, initialFont, normalTextFont, parent, id=Wx::StandardID::ID_ANY, title=(_.new("SYMBOLS")), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::DEFAULT_DIALOG_STYLE|Wx::RESIZE_BORDER|Wx::CLOSE_BOX))
|
59
59
|
# Constructor.
|
60
60
|
# @param symbol [String] The initial symbol to show. Specify a single character in a string, or an empty string.
|
61
61
|
# @param initialFont [String] The initial font to be displayed in the font list. If empty, the item normal text will be selected.
|
@@ -80,7 +80,7 @@ module Wx::RTC
|
|
80
80
|
# @param size [Array(Integer, Integer), Wx::Size]
|
81
81
|
# @param style [Integer]
|
82
82
|
# @return [Boolean]
|
83
|
-
def create(symbol, initialFont, normalTextFont, parent, id=Wx::StandardID::ID_ANY, caption=(Wx::GetTranslation.new("
|
83
|
+
def create(symbol, initialFont, normalTextFont, parent, id=Wx::StandardID::ID_ANY, caption=(Wx::GetTranslation.new("SYMBOLS")), pos=Wx::DEFAULT_POSITION, size=(Wx::Size.new(400, 300)), style=(Wx::DEFAULT_DIALOG_STYLE|Wx::RESIZE_BORDER|Wx::CLOSE_BOX)) end
|
84
84
|
|
85
85
|
# Returns the font name (the font reflected in the font list).
|
86
86
|
# @return [String]
|
@@ -69,6 +69,9 @@ module Wx
|
|
69
69
|
#
|
70
70
|
EVT_SASH_DRAGGED = 10050
|
71
71
|
|
72
|
+
#
|
73
|
+
EVT_SASH_DRAGGED_RANGE = 10050
|
74
|
+
|
72
75
|
# A sash event is sent when the sash of a {Wx::SashWindow} has been dragged by the user.
|
73
76
|
# When a sash belonging to a sash window is dragged by the user, and then released, this event is sent to the window, where it may be processed by an event table entry in a derived class, a plug-in event handler or an ancestor class. Note that the {Wx::SashWindow} doesn't change the window's size itself. It relies on the application's event handler to do that. This is because the application may have to handle other consequences of the resize, or it may wish to veto it altogether. The event handler should look at the drag rectangle: see {Wx::SashEvent#get_drag_rect} to see what the new size of the window would be if the resize were to be applied. It should also call {Wx::SashEvent#get_drag_status} to see whether the drag was OK or out of the current allowed range.
|
74
77
|
#
|
@@ -77,7 +77,7 @@ module Wx
|
|
77
77
|
# @overload initialize()
|
78
78
|
# Default ctor.
|
79
79
|
# @return [Wx::SashLayoutWindow]
|
80
|
-
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("
|
80
|
+
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("LAYOUT_WINDOW"))
|
81
81
|
# Constructs a sash layout window, which can be a child of a frame, dialog or any other non-control window.
|
82
82
|
# @param parent [Wx::Window] Pointer to a parent window.
|
83
83
|
# @param id [Integer] Window identifier. If -1, will automatically create an identifier.
|
@@ -96,7 +96,7 @@ module Wx
|
|
96
96
|
# @param style [Integer] Window style. For window styles, please see {Wx::SashLayoutWindow}.
|
97
97
|
# @param name [String] Window name.
|
98
98
|
# @return [Boolean]
|
99
|
-
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("
|
99
|
+
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("LAYOUT_WINDOW")) end
|
100
100
|
|
101
101
|
# Returns the alignment of the window: one of {Wx::LayoutAlignment::LAYOUT_TOP}, {Wx::LayoutAlignment::LAYOUT_LEFT}, {Wx::LayoutAlignment::LAYOUT_RIGHT}, {Wx::LayoutAlignment::LAYOUT_BOTTOM}.
|
102
102
|
# @return [Wx::LayoutAlignment]
|
@@ -43,7 +43,7 @@ module Wx
|
|
43
43
|
# @overload initialize()
|
44
44
|
# Default ctor.
|
45
45
|
# @return [Wx::SashWindow]
|
46
|
-
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("
|
46
|
+
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::CLIP_CHILDREN|wxSW_3D), name=("SASH_WINDOW"))
|
47
47
|
# Constructs a sash window, which can be a child of a frame, dialog or any other non-control window.
|
48
48
|
# @param parent [Wx::Window] Pointer to a parent window.
|
49
49
|
# @param id [Integer] Window identifier. If -1, will automatically create an identifier.
|
@@ -84,7 +84,7 @@ module Wx
|
|
84
84
|
# @overload initialize()
|
85
85
|
# Default constructor.
|
86
86
|
# @return [Wx::ScrollBar]
|
87
|
-
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::SB_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
87
|
+
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::SB_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SCROLL_BAR_NAME_STR)
|
88
88
|
# Constructor, creating and showing a scrollbar.
|
89
89
|
#
|
90
90
|
# @see Wx::ScrollBar#create
|
@@ -109,7 +109,7 @@ module Wx
|
|
109
109
|
# @param validator [Wx::Validator]
|
110
110
|
# @param name [String]
|
111
111
|
# @return [Boolean]
|
112
|
-
def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::SB_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
112
|
+
def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::SB_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SCROLL_BAR_NAME_STR) end
|
113
113
|
|
114
114
|
# Returns the page size of the scrollbar.
|
115
115
|
# This is the number of scroll units that will be scrolled when the user pages up or down. Often it is the same as the thumb size.
|
@@ -82,7 +82,7 @@ module Wx
|
|
82
82
|
# @overload initialize()
|
83
83
|
# Default constructor.
|
84
84
|
# @return [Wx::ScrolledCanvas]
|
85
|
-
# @overload initialize(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("
|
85
|
+
# @overload initialize(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("SCROLLED_WINDOW"))
|
86
86
|
# Constructor.
|
87
87
|
# The window is initially created without visible scrollbars. Call Wx::Scrolled#set_scrollbars to specify how big the virtual window size should be.
|
88
88
|
# @param parent [Wx::Window] Parent window.
|
@@ -128,7 +128,7 @@ module Wx
|
|
128
128
|
# @param style [Integer]
|
129
129
|
# @param name [String]
|
130
130
|
# @return [Boolean]
|
131
|
-
def create(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("
|
131
|
+
def create(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("SCROLLED_WINDOW")) end
|
132
132
|
|
133
133
|
# Disable use of keyboard keys for scrolling.
|
134
134
|
# By default cursor movement keys (including Home, End, Page Up and Down) are used to scroll the window appropriately. If the derived class uses these keys for something else, e.g. changing the currently selected item, this function can be used to disable this behaviour as it's not only not necessary then but can actually be actively harmful if another object forwards a keyboard event corresponding to one of the above keys to us using ProcessWindowEvent() because the event will always be processed which can be undesirable.
|
@@ -82,7 +82,7 @@ module Wx
|
|
82
82
|
# @overload initialize()
|
83
83
|
# Default constructor.
|
84
84
|
# @return [Wx::ScrolledControl]
|
85
|
-
# @overload initialize(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("
|
85
|
+
# @overload initialize(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("SCROLLED_WINDOW"))
|
86
86
|
# Constructor.
|
87
87
|
# The window is initially created without visible scrollbars. Call Wx::Scrolled#set_scrollbars to specify how big the virtual window size should be.
|
88
88
|
# @param parent [Wx::Window] Parent window.
|
@@ -128,7 +128,7 @@ module Wx
|
|
128
128
|
# @param style [Integer]
|
129
129
|
# @param name [String]
|
130
130
|
# @return [Boolean]
|
131
|
-
def create(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("
|
131
|
+
def create(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("SCROLLED_WINDOW")) end
|
132
132
|
|
133
133
|
# Disable use of keyboard keys for scrolling.
|
134
134
|
# By default cursor movement keys (including Home, End, Page Up and Down) are used to scroll the window appropriately. If the derived class uses these keys for something else, e.g. changing the currently selected item, this function can be used to disable this behaviour as it's not only not necessary then but can actually be actively harmful if another object forwards a keyboard event corresponding to one of the above keys to us using ProcessWindowEvent() because the event will always be processed which can be undesirable.
|
@@ -102,7 +102,7 @@ module Wx
|
|
102
102
|
# @overload initialize()
|
103
103
|
# Default constructor.
|
104
104
|
# @return [Wx::ScrolledWindow]
|
105
|
-
# @overload initialize(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("
|
105
|
+
# @overload initialize(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("SCROLLED_WINDOW"))
|
106
106
|
# Constructor.
|
107
107
|
# The window is initially created without visible scrollbars. Call Wx::Scrolled#set_scrollbars to specify how big the virtual window size should be.
|
108
108
|
# @param parent [Wx::Window] Parent window.
|
@@ -148,7 +148,7 @@ module Wx
|
|
148
148
|
# @param style [Integer]
|
149
149
|
# @param name [String]
|
150
150
|
# @return [Boolean]
|
151
|
-
def create(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("
|
151
|
+
def create(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::HSCROLL|Wx::VSCROLL), name=("SCROLLED_WINDOW")) end
|
152
152
|
|
153
153
|
# Disable use of keyboard keys for scrolling.
|
154
154
|
# By default cursor movement keys (including Home, End, Page Up and Down) are used to scroll the window appropriately. If the derived class uses these keys for something else, e.g. changing the currently selected item, this function can be used to disable this behaviour as it's not only not necessary then but can actually be actively harmful if another object forwards a keyboard event corresponding to one of the above keys to us using ProcessWindowEvent() because the event will always be processed which can be undesirable.
|
@@ -58,7 +58,7 @@ module Wx
|
|
58
58
|
# @overload initialize()
|
59
59
|
# Default constructor.
|
60
60
|
# @return [Wx::SearchCtrl]
|
61
|
-
# @overload initialize(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
61
|
+
# @overload initialize(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SEARCH_CTRL_NAME_STR)
|
62
62
|
# Constructor, creating and showing a text control.
|
63
63
|
#
|
64
64
|
# @see Wx::TextCtrl#create
|
@@ -83,7 +83,7 @@ module Wx
|
|
83
83
|
# @param validator [Wx::Validator]
|
84
84
|
# @param name [String]
|
85
85
|
# @return [Boolean]
|
86
|
-
def create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
86
|
+
def create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SEARCH_CTRL_NAME_STR) end
|
87
87
|
|
88
88
|
# Returns a pointer to the search control's menu object or NULL if there is no menu attached.
|
89
89
|
# @return [Wx::Menu]
|
data/lib/wx/doc/gen/slider.rb
CHANGED
@@ -149,7 +149,7 @@ module Wx
|
|
149
149
|
# @overload initialize()
|
150
150
|
# Default constructor.
|
151
151
|
# @return [Wx::Slider]
|
152
|
-
# @overload initialize(parent, id, value, minValue, maxValue, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::SL_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
152
|
+
# @overload initialize(parent, id, value, minValue, maxValue, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::SL_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SLIDER_NAME_STR)
|
153
153
|
# Constructor, creating and showing a slider.
|
154
154
|
#
|
155
155
|
# @see Wx::Slider#create
|
@@ -190,7 +190,7 @@ module Wx
|
|
190
190
|
# @param validator [Wx::Validator]
|
191
191
|
# @param name [String]
|
192
192
|
# @return [Boolean]
|
193
|
-
def create(parent, id, value, minValue, maxValue, point=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::SL_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
193
|
+
def create(parent, id, value, minValue, maxValue, point=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::SL_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::SLIDER_NAME_STR) end
|
194
194
|
|
195
195
|
# Returns the line size.
|
196
196
|
#
|
@@ -48,7 +48,7 @@ module Wx
|
|
48
48
|
# @overload initialize()
|
49
49
|
# Default constructor.
|
50
50
|
# @return [Wx::SpinButton]
|
51
|
-
# @overload initialize(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::SP_VERTICAL, name=("
|
51
|
+
# @overload initialize(parent, id=-1, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::SP_VERTICAL, name=("SPIN_BUTTON"))
|
52
52
|
# Constructor, creating and showing a spin button.
|
53
53
|
#
|
54
54
|
# @see Wx::SpinButton#create
|
@@ -135,7 +135,7 @@ module Wx
|
|
135
135
|
# @overload initialize()
|
136
136
|
# Default constructor.
|
137
137
|
# @return [Wx::SplitterWindow]
|
138
|
-
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=wxSP_3D, name=("
|
138
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=wxSP_3D, name=("SPLITTER_WINDOW"))
|
139
139
|
# Constructor for creating the window.
|
140
140
|
# After using this constructor, you must create either one or two subwindows with the splitter window as parent, and then call one of {Wx::SplitterWindow#initialize}, {Wx::SplitterWindow#split_vertically} and {Wx::SplitterWindow#split_horizontally} in order to set the pane(s). You can create two windows, with one hidden when not being shown; or you can create and delete the second pane on demand.
|
141
141
|
# @see Wx::SplitterWindow#initialize
|
@@ -160,7 +160,7 @@ module Wx
|
|
160
160
|
# @param style [Integer]
|
161
161
|
# @param name [String]
|
162
162
|
# @return [Boolean]
|
163
|
-
def create(parent, id=Wx::StandardID::ID_ANY, point=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=wxSP_3D, name=("
|
163
|
+
def create(parent, id=Wx::StandardID::ID_ANY, point=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=wxSP_3D, name=("SPLITTER")) end
|
164
164
|
|
165
165
|
# Returns the current minimum pane size (defaults to zero).
|
166
166
|
#
|
@@ -51,7 +51,7 @@ module Wx
|
|
51
51
|
# @overload initialize()
|
52
52
|
# Default constructor.
|
53
53
|
# @return [Wx::StaticBitmap]
|
54
|
-
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::
|
54
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BITMAP_NAME_STR)
|
55
55
|
# Constructor, creating and showing a static bitmap control.
|
56
56
|
#
|
57
57
|
# @see Wx::StaticBitmap#create
|
@@ -75,7 +75,7 @@ module Wx
|
|
75
75
|
# @param style [Integer]
|
76
76
|
# @param name [String]
|
77
77
|
# @return [Boolean]
|
78
|
-
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::
|
78
|
+
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BITMAP_NAME_STR) end
|
79
79
|
|
80
80
|
# Returns the bitmap currently used in the control.
|
81
81
|
# Notice that this method can be called even if {Wx::StaticBitmap#set_icon} had been used.
|
@@ -40,7 +40,7 @@ module Wx
|
|
40
40
|
# @overload initialize()
|
41
41
|
# Default constructor.
|
42
42
|
# @return [Wx::StaticBox]
|
43
|
-
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::
|
43
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BOX_NAME_STR)
|
44
44
|
# Constructor, creating and showing a static box.
|
45
45
|
#
|
46
46
|
# @see Wx::StaticBox#create
|
@@ -52,7 +52,7 @@ module Wx
|
|
52
52
|
# @param style [Integer] Window style. There are no {Wx::StaticBox}-specific styles, but generic {Wx::Alignment::ALIGN_LEFT}, {Wx::Alignment::ALIGN_CENTRE_HORIZONTAL} and {Wx::Alignment::ALIGN_RIGHT} can be used here to change the position of the static box label when using wxGTK (these styles are ignored under the other platforms currently).
|
53
53
|
# @param name [String] Window name.
|
54
54
|
# @return [Wx::StaticBox]
|
55
|
-
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::
|
55
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BOX_NAME_STR)
|
56
56
|
# Constructor for a static box using the given window as label.
|
57
57
|
# This constructor takes a pointer to an arbitrary window (although usually a {Wx::CheckBox} or a {Wx::RadioButton}) instead of just the usual text label and puts this window at the top of the box at the place where the label would be shown.
|
58
58
|
# The label window must be a non-null, fully created window and will become a child of this {Wx::StaticBox}, i.e. it will be owned by this control and will be deleted when the {Wx::StaticBox} itself is deleted.
|
@@ -70,7 +70,7 @@ module Wx
|
|
70
70
|
# end
|
71
71
|
# ```
|
72
72
|
#
|
73
|
-
# Currently this constructor is only available in wxGTK and wxMSW
|
73
|
+
# Currently this constructor is only available in wxGTK and wxMSW.
|
74
74
|
# @param parent [Wx::Window]
|
75
75
|
# @param id [Integer]
|
76
76
|
# @param label [Wx::Window]
|
@@ -81,7 +81,7 @@ module Wx
|
|
81
81
|
# @return [Wx::StaticBox]
|
82
82
|
def initialize(*args) end
|
83
83
|
|
84
|
-
# @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::
|
84
|
+
# @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BOX_NAME_STR)
|
85
85
|
# Creates the static box for two-step construction.
|
86
86
|
# See {Wx::StaticBox#initialize} for further details.
|
87
87
|
# @param parent [Wx::Window]
|
@@ -92,11 +92,11 @@ module Wx
|
|
92
92
|
# @param style [Integer]
|
93
93
|
# @param name [String]
|
94
94
|
# @return [Boolean]
|
95
|
-
# @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::
|
95
|
+
# @overload create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_BOX_NAME_STR)
|
96
96
|
# Creates the static box with the window as a label.
|
97
97
|
# This method can only be called for an object created using its default constructor.
|
98
98
|
# See the constructor documentation for more details.
|
99
|
-
# Currently this overload is only available in wxGTK and wxMSW
|
99
|
+
# Currently this overload is only available in wxGTK and wxMSW.
|
100
100
|
# @param parent [Wx::Window]
|
101
101
|
# @param id [Integer]
|
102
102
|
# @param label [Wx::Window]
|
@@ -27,7 +27,7 @@ module Wx
|
|
27
27
|
# @overload initialize()
|
28
28
|
# Default constructor.
|
29
29
|
# @return [Wx::StaticLine]
|
30
|
-
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LI_HORIZONTAL, name=Wx::
|
30
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LI_HORIZONTAL, name=Wx::STATIC_LINE_NAME_STR)
|
31
31
|
# Constructor, creating and showing a static line.
|
32
32
|
#
|
33
33
|
# @see Wx::StaticLine#create
|
@@ -49,7 +49,7 @@ module Wx
|
|
49
49
|
# @param style [Integer]
|
50
50
|
# @param name [String]
|
51
51
|
# @return [Boolean]
|
52
|
-
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LI_HORIZONTAL, name=Wx::
|
52
|
+
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::LI_HORIZONTAL, name=Wx::STATIC_LINE_NAME_STR) end
|
53
53
|
|
54
54
|
# Returns true if the line is vertical, false if horizontal.
|
55
55
|
# @return [Boolean]
|
@@ -53,7 +53,7 @@ module Wx
|
|
53
53
|
# @overload initialize()
|
54
54
|
# Default constructor.
|
55
55
|
# @return [Wx::StaticText]
|
56
|
-
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::
|
56
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_TEXT_NAME_STR)
|
57
57
|
# Constructor, creating and showing a text control.
|
58
58
|
#
|
59
59
|
# @see Wx::StaticText#create
|
@@ -77,7 +77,7 @@ module Wx
|
|
77
77
|
# @param style [Integer]
|
78
78
|
# @param name [String]
|
79
79
|
# @return [Boolean]
|
80
|
-
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::
|
80
|
+
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STATIC_TEXT_NAME_STR) end
|
81
81
|
|
82
82
|
# Returns true if the window styles for this control contains one of the {Wx::ST_ELLIPSIZE_START}, {Wx::ST_ELLIPSIZE_MIDDLE} or {Wx::ST_ELLIPSIZE_END} styles.
|
83
83
|
# @return [Boolean]
|
@@ -73,7 +73,7 @@ module Wx
|
|
73
73
|
# @overload initialize()
|
74
74
|
# Default ctor.
|
75
75
|
# @return [Wx::StatusBar]
|
76
|
-
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, style=Wx::STB_DEFAULT_STYLE, name=Wx::
|
76
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, style=Wx::STB_DEFAULT_STYLE, name=Wx::STATUS_BAR_NAME_STR)
|
77
77
|
# Constructor, creating the window.
|
78
78
|
#
|
79
79
|
# @see Wx::StatusBar#create
|
@@ -91,7 +91,7 @@ module Wx
|
|
91
91
|
# @param style [Integer]
|
92
92
|
# @param name [String]
|
93
93
|
# @return [Boolean]
|
94
|
-
def create(parent, id=Wx::StandardID::ID_ANY, style=Wx::STB_DEFAULT_STYLE, name=Wx::
|
94
|
+
def create(parent, id=Wx::StandardID::ID_ANY, style=Wx::STB_DEFAULT_STYLE, name=Wx::STATUS_BAR_NAME_STR) end
|
95
95
|
|
96
96
|
# Returns the size and position of a field's internal bounding rectangle.
|
97
97
|
# true if the field index is valid, false otherwise.
|
@@ -75,7 +75,7 @@ module Wx::STC
|
|
75
75
|
|
76
76
|
include Wx::TextEntry
|
77
77
|
|
78
|
-
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::
|
78
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STC_NAME_STR)
|
79
79
|
# Ctor.
|
80
80
|
# @param parent [Wx::Window]
|
81
81
|
# @param id [Integer]
|
@@ -98,7 +98,7 @@ module Wx::STC
|
|
98
98
|
# @param style [Integer]
|
99
99
|
# @param name [String]
|
100
100
|
# @return [Boolean]
|
101
|
-
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::
|
101
|
+
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STC_NAME_STR) end
|
102
102
|
|
103
103
|
# Add text to the document at current position.
|
104
104
|
# @param text [String]
|
@@ -3814,7 +3814,7 @@ module Wx::STC
|
|
3814
3814
|
def do_drop_text(x, y, data) end
|
3815
3815
|
|
3816
3816
|
# Specify whether anti-aliased fonts should be used.
|
3817
|
-
# This will have no effect on some platforms, but on some (
|
3817
|
+
# This will have no effect on some platforms, but on some (wxMac for example) can greatly improve performance.
|
3818
3818
|
# @param useAA [Boolean]
|
3819
3819
|
# @return [void]
|
3820
3820
|
def set_use_anti_aliasing(useAA) end
|
data/lib/wx/doc/gen/text_ctrl.rb
CHANGED
@@ -582,7 +582,7 @@ module Wx
|
|
582
582
|
# @overload initialize()
|
583
583
|
# Default ctor.
|
584
584
|
# @return [Wx::TextCtrl]
|
585
|
-
# @overload initialize(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
585
|
+
# @overload initialize(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TEXT_CTRL_NAME_STR)
|
586
586
|
# Constructor, creating and showing a text control.
|
587
587
|
# The horizontal scrollbar ({Wx::HSCROLL} style flag) will only be created for multi-line text controls. Without a horizontal scrollbar, text lines that don't fit in the control's size will be wrapped (but no newline character is inserted). Single line controls don't have a horizontal scrollbar, the text is automatically scrolled so that the insertion point is always visible.
|
588
588
|
# @see Wx::TextCtrl#create
|
@@ -609,7 +609,7 @@ module Wx
|
|
609
609
|
# @param validator [Wx::Validator]
|
610
610
|
# @param name [String]
|
611
611
|
# @return [Boolean]
|
612
|
-
def create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
612
|
+
def create(parent, id, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TEXT_CTRL_NAME_STR) end
|
613
613
|
|
614
614
|
# Resets the internal modified flag as if the current changes had been saved.
|
615
615
|
# @return [void]
|
@@ -37,7 +37,7 @@ module Wx
|
|
37
37
|
# @overload initialize()
|
38
38
|
# Default constructor.
|
39
39
|
# @return [Wx::TimePickerCtrl]
|
40
|
-
# @overload initialize(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TP_DEFAULT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
40
|
+
# @overload initialize(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TP_DEFAULT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TIME_PICKER_CTRL_NAME_STR)
|
41
41
|
# Initializes the object and calls {Wx::TimePickerCtrl#create} with all the parameters.
|
42
42
|
# @param parent [Wx::Window]
|
43
43
|
# @param id [Integer]
|
@@ -63,7 +63,7 @@ module Wx
|
|
63
63
|
# @param validator [Wx::Validator] Validator which can be used for additional checks.
|
64
64
|
# @param name [String] Control name.
|
65
65
|
# @return [Boolean]
|
66
|
-
def create(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TP_DEFAULT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
66
|
+
def create(parent, id, dt=Wx::DEFAULT_DATE_TIME, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::TP_DEFAULT, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TIME_PICKER_CTRL_NAME_STR) end
|
67
67
|
|
68
68
|
# Returns the currently entered time as hours, minutes and seconds.
|
69
69
|
# All the arguments must be non-NULL, false is returned otherwise and none of them is modified.
|
@@ -37,7 +37,7 @@ module Wx
|
|
37
37
|
# @overload initialize()
|
38
38
|
# Default constructor.
|
39
39
|
# @return [Wx::ToggleButton]
|
40
|
-
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, val=Wx::DEFAULT_VALIDATOR, name=Wx::
|
40
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, val=Wx::DEFAULT_VALIDATOR, name=Wx::CHECK_BOX_NAME_STR)
|
41
41
|
# Constructor, creating and showing a toggle button.
|
42
42
|
#
|
43
43
|
# @see Wx::ToggleButton#create
|
@@ -64,7 +64,7 @@ module Wx
|
|
64
64
|
# @param val [Wx::Validator]
|
65
65
|
# @param name [String]
|
66
66
|
# @return [Boolean]
|
67
|
-
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, val=Wx::DEFAULT_VALIDATOR, name=Wx::
|
67
|
+
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, val=Wx::DEFAULT_VALIDATOR, name=Wx::CHECK_BOX_NAME_STR) end
|
68
68
|
|
69
69
|
# Gets the state of the toggle button.
|
70
70
|
# Returns true if it is pressed, false otherwise.
|