wxruby3 0.9.4-x64-mingw-ucrt → 0.9.7-x64-mingw-ucrt

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