wxPython 4.3.2__cp315-cp315-win_amd64.whl

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 (472) hide show
  1. wx/WebView2Loader.dll +0 -0
  2. wx/__init__.py +22 -0
  3. wx/__init__.pyi +10 -0
  4. wx/__version__.py +9 -0
  5. wx/__version__.pyi +15 -0
  6. wx/_adv.cp315-win_amd64.pyd +0 -0
  7. wx/_aui.cp315-win_amd64.pyd +0 -0
  8. wx/_core.cp315-win_amd64.pyd +0 -0
  9. wx/_dataview.cp315-win_amd64.pyd +0 -0
  10. wx/_glcanvas.cp315-win_amd64.pyd +0 -0
  11. wx/_grid.cp315-win_amd64.pyd +0 -0
  12. wx/_html.cp315-win_amd64.pyd +0 -0
  13. wx/_html2.cp315-win_amd64.pyd +0 -0
  14. wx/_media.cp315-win_amd64.pyd +0 -0
  15. wx/_msw.cp315-win_amd64.pyd +0 -0
  16. wx/_propgrid.cp315-win_amd64.pyd +0 -0
  17. wx/_ribbon.cp315-win_amd64.pyd +0 -0
  18. wx/_richtext.cp315-win_amd64.pyd +0 -0
  19. wx/_stc.cp315-win_amd64.pyd +0 -0
  20. wx/_xml.cp315-win_amd64.pyd +0 -0
  21. wx/_xrc.cp315-win_amd64.pyd +0 -0
  22. wx/adv.py +127 -0
  23. wx/adv.pyi +5931 -0
  24. wx/aui.py +70 -0
  25. wx/aui.pyi +4805 -0
  26. wx/core.py +3417 -0
  27. wx/core.pyi +62949 -0
  28. wx/dataview.py +176 -0
  29. wx/dataview.pyi +3828 -0
  30. wx/gizmos.py +18 -0
  31. wx/glcanvas.py +13 -0
  32. wx/glcanvas.pyi +544 -0
  33. wx/grid.py +237 -0
  34. wx/grid.pyi +5678 -0
  35. wx/html.py +38 -0
  36. wx/html.pyi +3283 -0
  37. wx/html2.py +46 -0
  38. wx/html2.pyi +1301 -0
  39. wx/include/wxPython/sip.h +1938 -0
  40. wx/include/wxPython/wxpy_api.h +418 -0
  41. wx/lib/CDate.py +201 -0
  42. wx/lib/ClickableHtmlWindow.py +57 -0
  43. wx/lib/__init__.py +0 -0
  44. wx/lib/activex.py +178 -0
  45. wx/lib/activexwrapper.py +153 -0
  46. wx/lib/agw/__init__.py +128 -0
  47. wx/lib/agw/advancedsplash.py +563 -0
  48. wx/lib/agw/aquabutton.py +1127 -0
  49. wx/lib/agw/artmanager.py +2110 -0
  50. wx/lib/agw/aui/__init__.py +295 -0
  51. wx/lib/agw/aui/aui_constants.py +2616 -0
  52. wx/lib/agw/aui/aui_switcherdialog.py +1232 -0
  53. wx/lib/agw/aui/aui_utilities.py +648 -0
  54. wx/lib/agw/aui/auibar.py +4045 -0
  55. wx/lib/agw/aui/auibook.py +6288 -0
  56. wx/lib/agw/aui/dockart.py +1198 -0
  57. wx/lib/agw/aui/framemanager.py +10485 -0
  58. wx/lib/agw/aui/tabart.py +2749 -0
  59. wx/lib/agw/aui/tabmdi.py +679 -0
  60. wx/lib/agw/balloontip.py +1157 -0
  61. wx/lib/agw/buttonpanel.py +2787 -0
  62. wx/lib/agw/cubecolourdialog.py +3529 -0
  63. wx/lib/agw/customtreectrl.py +9908 -0
  64. wx/lib/agw/data/ShortcutEditor_1.png +0 -0
  65. wx/lib/agw/data/ShortcutEditor_1_thumb.png +0 -0
  66. wx/lib/agw/data/ShortcutEditor_2.png +0 -0
  67. wx/lib/agw/data/ShortcutEditor_2_thumb.png +0 -0
  68. wx/lib/agw/data/ShortcutEditor_3.png +0 -0
  69. wx/lib/agw/data/ShortcutEditor_3_thumb.png +0 -0
  70. wx/lib/agw/data/ShortcutEditor_4.png +0 -0
  71. wx/lib/agw/data/ShortcutEditor_4_thumb.png +0 -0
  72. wx/lib/agw/data/default_help_text.html +105 -0
  73. wx/lib/agw/flatmenu.py +7392 -0
  74. wx/lib/agw/flatnotebook.py +6669 -0
  75. wx/lib/agw/floatspin.py +1820 -0
  76. wx/lib/agw/fmcustomizedlg.py +535 -0
  77. wx/lib/agw/fmresources.py +407 -0
  78. wx/lib/agw/foldpanelbar.py +2282 -0
  79. wx/lib/agw/fourwaysplitter.py +1130 -0
  80. wx/lib/agw/genericmessagedialog.py +1549 -0
  81. wx/lib/agw/gradientbutton.py +731 -0
  82. wx/lib/agw/hyperlink.py +664 -0
  83. wx/lib/agw/hypertreelist.py +5756 -0
  84. wx/lib/agw/infobar.py +885 -0
  85. wx/lib/agw/knobctrl.py +944 -0
  86. wx/lib/agw/labelbook.py +3028 -0
  87. wx/lib/agw/multidirdialog.py +581 -0
  88. wx/lib/agw/peakmeter.py +1028 -0
  89. wx/lib/agw/persist/__init__.py +188 -0
  90. wx/lib/agw/persist/persist_constants.py +283 -0
  91. wx/lib/agw/persist/persist_handlers.py +2614 -0
  92. wx/lib/agw/persist/persistencemanager.py +863 -0
  93. wx/lib/agw/piectrl.py +1082 -0
  94. wx/lib/agw/pybusyinfo.py +399 -0
  95. wx/lib/agw/pycollapsiblepane.py +940 -0
  96. wx/lib/agw/pygauge.py +570 -0
  97. wx/lib/agw/pyprogress.py +916 -0
  98. wx/lib/agw/ribbon/__init__.py +198 -0
  99. wx/lib/agw/ribbon/art.py +219 -0
  100. wx/lib/agw/ribbon/art_aui.py +1283 -0
  101. wx/lib/agw/ribbon/art_default.py +81 -0
  102. wx/lib/agw/ribbon/art_internal.py +248 -0
  103. wx/lib/agw/ribbon/art_msw.py +2735 -0
  104. wx/lib/agw/ribbon/art_osx.py +52 -0
  105. wx/lib/agw/ribbon/bar.py +1259 -0
  106. wx/lib/agw/ribbon/buttonbar.py +1317 -0
  107. wx/lib/agw/ribbon/control.py +205 -0
  108. wx/lib/agw/ribbon/gallery.py +973 -0
  109. wx/lib/agw/ribbon/page.py +946 -0
  110. wx/lib/agw/ribbon/panel.py +1170 -0
  111. wx/lib/agw/ribbon/toolbar.py +1441 -0
  112. wx/lib/agw/rulerctrl.py +1885 -0
  113. wx/lib/agw/scrolledthumbnail.py +2116 -0
  114. wx/lib/agw/shapedbutton.py +1809 -0
  115. wx/lib/agw/shortcuteditor.py +2642 -0
  116. wx/lib/agw/speedmeter.py +1800 -0
  117. wx/lib/agw/supertooltip.py +1443 -0
  118. wx/lib/agw/thumbnailctrl.py +529 -0
  119. wx/lib/agw/toasterbox.py +1327 -0
  120. wx/lib/agw/ultimatelistctrl.py +13671 -0
  121. wx/lib/agw/xlsgrid.py +2111 -0
  122. wx/lib/agw/zoombar.py +1336 -0
  123. wx/lib/analogclock/__init__.py +140 -0
  124. wx/lib/analogclock/analogclock.py +630 -0
  125. wx/lib/analogclock/helpers.py +986 -0
  126. wx/lib/analogclock/lib_setup/__init__.py +0 -0
  127. wx/lib/analogclock/lib_setup/buttontreectrlpanel.py +297 -0
  128. wx/lib/analogclock/lib_setup/fontselect.py +57 -0
  129. wx/lib/analogclock/setup.py +490 -0
  130. wx/lib/analogclock/styles.py +47 -0
  131. wx/lib/anchors.py +103 -0
  132. wx/lib/art/__init__.py +4 -0
  133. wx/lib/art/flagart.py +1583 -0
  134. wx/lib/art/img2pyartprov.py +56 -0
  135. wx/lib/busy.py +152 -0
  136. wx/lib/buttons.py +1140 -0
  137. wx/lib/calendar.py +1596 -0
  138. wx/lib/checkbox.py +837 -0
  139. wx/lib/colourchooser/__init__.py +36 -0
  140. wx/lib/colourchooser/canvas.py +145 -0
  141. wx/lib/colourchooser/intl.py +24 -0
  142. wx/lib/colourchooser/pycolourbox.py +89 -0
  143. wx/lib/colourchooser/pycolourchooser.py +626 -0
  144. wx/lib/colourchooser/pycolourslider.py +98 -0
  145. wx/lib/colourchooser/pypalette.py +208 -0
  146. wx/lib/colourdb.py +740 -0
  147. wx/lib/colourselect.py +385 -0
  148. wx/lib/colourutils.py +118 -0
  149. wx/lib/combotreebox.py +944 -0
  150. wx/lib/delayedresult.py +420 -0
  151. wx/lib/dialogs.py +510 -0
  152. wx/lib/docview.py +3210 -0
  153. wx/lib/dragscroller.py +79 -0
  154. wx/lib/editor/README.txt +77 -0
  155. wx/lib/editor/__init__.py +24 -0
  156. wx/lib/editor/editor.py +974 -0
  157. wx/lib/editor/images.py +15 -0
  158. wx/lib/editor/selection.py +44 -0
  159. wx/lib/embeddedimage.py +76 -0
  160. wx/lib/eventStack.py +136 -0
  161. wx/lib/eventwatcher.py +440 -0
  162. wx/lib/evtmgr.py +521 -0
  163. wx/lib/expando.py +393 -0
  164. wx/lib/fancytext.py +494 -0
  165. wx/lib/filebrowsebutton.py +461 -0
  166. wx/lib/flashwin.py +262 -0
  167. wx/lib/flashwin_old.py +651 -0
  168. wx/lib/floatcanvas/FCEvents.py +53 -0
  169. wx/lib/floatcanvas/FCObjects.py +2910 -0
  170. wx/lib/floatcanvas/FloatCanvas.py +1025 -0
  171. wx/lib/floatcanvas/GUIMode.py +396 -0
  172. wx/lib/floatcanvas/NavCanvas.py +162 -0
  173. wx/lib/floatcanvas/Resources.py +319 -0
  174. wx/lib/floatcanvas/ScreenShot.py +1788 -0
  175. wx/lib/floatcanvas/Utilities/BBox.py +313 -0
  176. wx/lib/floatcanvas/Utilities/Colors.py +137 -0
  177. wx/lib/floatcanvas/Utilities/GUI.py +91 -0
  178. wx/lib/floatcanvas/Utilities/__init__.py +7 -0
  179. wx/lib/floatcanvas/__init__.py +124 -0
  180. wx/lib/foldmenu.py +89 -0
  181. wx/lib/gestures.py +310 -0
  182. wx/lib/gizmos/__init__.py +18 -0
  183. wx/lib/gizmos/dynamicsash.py +1202 -0
  184. wx/lib/gizmos/ledctrl.py +299 -0
  185. wx/lib/gizmos/treelistctrl.py +87 -0
  186. wx/lib/graphics.py +1942 -0
  187. wx/lib/gridmovers.py +516 -0
  188. wx/lib/iewin.py +249 -0
  189. wx/lib/iewin_old.py +894 -0
  190. wx/lib/imagebrowser.py +853 -0
  191. wx/lib/imageutils.py +163 -0
  192. wx/lib/infoframe.py +490 -0
  193. wx/lib/inspection.py +1254 -0
  194. wx/lib/intctrl.py +990 -0
  195. wx/lib/itemspicker.py +256 -0
  196. wx/lib/langlistctrl.py +480 -0
  197. wx/lib/layoutf.py +271 -0
  198. wx/lib/masked/__init__.py +27 -0
  199. wx/lib/masked/combobox.py +839 -0
  200. wx/lib/masked/ctrl.py +108 -0
  201. wx/lib/masked/ipaddrctrl.py +241 -0
  202. wx/lib/masked/maskededit.py +7262 -0
  203. wx/lib/masked/numctrl.py +2000 -0
  204. wx/lib/masked/textctrl.py +465 -0
  205. wx/lib/masked/timectrl.py +1465 -0
  206. wx/lib/mixins/__init__.py +17 -0
  207. wx/lib/mixins/grid.py +47 -0
  208. wx/lib/mixins/gridlabelrenderer.py +277 -0
  209. wx/lib/mixins/imagelist.py +77 -0
  210. wx/lib/mixins/inspection.py +184 -0
  211. wx/lib/mixins/listctrl.py +893 -0
  212. wx/lib/mixins/rubberband.py +403 -0
  213. wx/lib/mixins/treemixin.py +678 -0
  214. wx/lib/msgpanel.py +95 -0
  215. wx/lib/multisash.py +746 -0
  216. wx/lib/myole4ax.idl +178 -0
  217. wx/lib/myole4ax.tlb +0 -0
  218. wx/lib/newevent.py +229 -0
  219. wx/lib/newevent.pyi +25 -0
  220. wx/lib/nvdlg.py +156 -0
  221. wx/lib/ogl/__init__.py +13 -0
  222. wx/lib/ogl/basic.py +3989 -0
  223. wx/lib/ogl/bmpshape.py +86 -0
  224. wx/lib/ogl/canvas.py +467 -0
  225. wx/lib/ogl/composit.py +1576 -0
  226. wx/lib/ogl/diagram.py +230 -0
  227. wx/lib/ogl/divided.py +482 -0
  228. wx/lib/ogl/drawn.py +898 -0
  229. wx/lib/ogl/lines.py +1809 -0
  230. wx/lib/ogl/oglmisc.py +607 -0
  231. wx/lib/pdfviewer/__init__.py +113 -0
  232. wx/lib/pdfviewer/bitmaps/ArrowLeft.png +0 -0
  233. wx/lib/pdfviewer/bitmaps/ArrowRight.png +0 -0
  234. wx/lib/pdfviewer/bitmaps/DirectionH.png +0 -0
  235. wx/lib/pdfviewer/bitmaps/DirectionV.png +0 -0
  236. wx/lib/pdfviewer/bitmaps/PlayerFirst.png +0 -0
  237. wx/lib/pdfviewer/bitmaps/PlayerLast.png +0 -0
  238. wx/lib/pdfviewer/bitmaps/PlayerNext.png +0 -0
  239. wx/lib/pdfviewer/bitmaps/PlayerPrev.png +0 -0
  240. wx/lib/pdfviewer/bitmaps/Printer.png +0 -0
  241. wx/lib/pdfviewer/bitmaps/ReadMe.txt +28 -0
  242. wx/lib/pdfviewer/bitmaps/Save.png +0 -0
  243. wx/lib/pdfviewer/bitmaps/ZoomIn.png +0 -0
  244. wx/lib/pdfviewer/bitmaps/ZoomOut.png +0 -0
  245. wx/lib/pdfviewer/bitmaps/encode_bitmaps.py +37 -0
  246. wx/lib/pdfviewer/buttonpanel.py +285 -0
  247. wx/lib/pdfviewer/images.py +240 -0
  248. wx/lib/pdfviewer/viewer.py +1118 -0
  249. wx/lib/pdfwin.py +295 -0
  250. wx/lib/pdfwin_old.py +789 -0
  251. wx/lib/platebtn.py +789 -0
  252. wx/lib/plot/CHANGELOG.md +150 -0
  253. wx/lib/plot/README.md +16 -0
  254. wx/lib/plot/__init__.py +46 -0
  255. wx/lib/plot/__main__.py +5 -0
  256. wx/lib/plot/examples/__init__.py +0 -0
  257. wx/lib/plot/examples/demo.py +1010 -0
  258. wx/lib/plot/examples/simple_example.py +56 -0
  259. wx/lib/plot/plotcanvas.py +2985 -0
  260. wx/lib/plot/polyobjects.py +1524 -0
  261. wx/lib/plot/utils.py +334 -0
  262. wx/lib/popupctl.py +251 -0
  263. wx/lib/printout.py +1155 -0
  264. wx/lib/progressindicator.py +151 -0
  265. wx/lib/pubsub/LICENSE_BSD_Simple.txt +23 -0
  266. wx/lib/pubsub/README_WxPython.txt +22 -0
  267. wx/lib/pubsub/RELEASE_NOTES.txt +71 -0
  268. wx/lib/pubsub/__init__.py +25 -0
  269. wx/lib/pubsub/core/__init__.py +92 -0
  270. wx/lib/pubsub/core/arg1/__init__.py +16 -0
  271. wx/lib/pubsub/core/arg1/listenerimpl.py +97 -0
  272. wx/lib/pubsub/core/arg1/publisher.py +40 -0
  273. wx/lib/pubsub/core/arg1/publishermixin.py +34 -0
  274. wx/lib/pubsub/core/arg1/topicargspecimpl.py +66 -0
  275. wx/lib/pubsub/core/arg1/topicmgrimpl.py +19 -0
  276. wx/lib/pubsub/core/callables.py +198 -0
  277. wx/lib/pubsub/core/imp2.py +62 -0
  278. wx/lib/pubsub/core/itopicdefnprovider.py +0 -0
  279. wx/lib/pubsub/core/kwargs/__init__.py +16 -0
  280. wx/lib/pubsub/core/kwargs/datamsg.py +27 -0
  281. wx/lib/pubsub/core/kwargs/listenerimpl.py +93 -0
  282. wx/lib/pubsub/core/kwargs/publisher.py +77 -0
  283. wx/lib/pubsub/core/kwargs/publishermixin.py +65 -0
  284. wx/lib/pubsub/core/kwargs/topicargspecimpl.py +216 -0
  285. wx/lib/pubsub/core/kwargs/topicmgrimpl.py +13 -0
  286. wx/lib/pubsub/core/listener.py +40 -0
  287. wx/lib/pubsub/core/listenerbase.py +185 -0
  288. wx/lib/pubsub/core/notificationmgr.py +185 -0
  289. wx/lib/pubsub/core/publisherbase.py +189 -0
  290. wx/lib/pubsub/core/topicargspec.py +77 -0
  291. wx/lib/pubsub/core/topicdefnprovider.py +631 -0
  292. wx/lib/pubsub/core/topicexc.py +72 -0
  293. wx/lib/pubsub/core/topicmgr.py +454 -0
  294. wx/lib/pubsub/core/topicobj.py +472 -0
  295. wx/lib/pubsub/core/topictreetraverser.py +143 -0
  296. wx/lib/pubsub/core/topicutils.py +119 -0
  297. wx/lib/pubsub/core/treeconfig.py +21 -0
  298. wx/lib/pubsub/core/validatedefnargs.py +29 -0
  299. wx/lib/pubsub/core/weakmethod.py +102 -0
  300. wx/lib/pubsub/policies.py +24 -0
  301. wx/lib/pubsub/pub.py +199 -0
  302. wx/lib/pubsub/setuparg1.py +47 -0
  303. wx/lib/pubsub/setupkwargs.py +29 -0
  304. wx/lib/pubsub/utils/__init__.py +27 -0
  305. wx/lib/pubsub/utils/exchandling.py +100 -0
  306. wx/lib/pubsub/utils/misc.py +99 -0
  307. wx/lib/pubsub/utils/notification.py +331 -0
  308. wx/lib/pubsub/utils/topictreeprinter.py +195 -0
  309. wx/lib/pubsub/utils/xmltopicdefnprovider.py +286 -0
  310. wx/lib/pydocview.py +3300 -0
  311. wx/lib/rcsizer.py +227 -0
  312. wx/lib/resizewidget.py +357 -0
  313. wx/lib/scrolledpanel.py +243 -0
  314. wx/lib/sheet.py +350 -0
  315. wx/lib/sized_controls.py +691 -0
  316. wx/lib/softwareupdate.py +355 -0
  317. wx/lib/splitter.py +925 -0
  318. wx/lib/statbmp.py +199 -0
  319. wx/lib/stattext.py +321 -0
  320. wx/lib/throbber.py +424 -0
  321. wx/lib/ticker.py +306 -0
  322. wx/lib/ticker_xrc.py +48 -0
  323. wx/lib/utils.py +89 -0
  324. wx/lib/wordwrap.py +97 -0
  325. wx/lib/wxcairo/__init__.py +139 -0
  326. wx/lib/wxcairo/wx_cairocffi.py +200 -0
  327. wx/lib/wxcairo/wx_pycairo.py +455 -0
  328. wx/lib/wxpTag.py +274 -0
  329. wx/libcairo-2.dll +0 -0
  330. wx/locale/af/LC_MESSAGES/wxstd.mo +0 -0
  331. wx/locale/an/LC_MESSAGES/wxstd.mo +0 -0
  332. wx/locale/ar/LC_MESSAGES/wxstd.mo +0 -0
  333. wx/locale/ca/LC_MESSAGES/wxstd.mo +0 -0
  334. wx/locale/ca@valencia/LC_MESSAGES/wxstd.mo +0 -0
  335. wx/locale/co/LC_MESSAGES/wxstd.mo +0 -0
  336. wx/locale/cs/LC_MESSAGES/wxstd.mo +0 -0
  337. wx/locale/da/LC_MESSAGES/wxstd.mo +0 -0
  338. wx/locale/de/LC_MESSAGES/wxstd.mo +0 -0
  339. wx/locale/el/LC_MESSAGES/wxstd.mo +0 -0
  340. wx/locale/es/LC_MESSAGES/wxstd.mo +0 -0
  341. wx/locale/eu/LC_MESSAGES/wxstd.mo +0 -0
  342. wx/locale/fa_IR/LC_MESSAGES/wxstd.mo +0 -0
  343. wx/locale/fi/LC_MESSAGES/wxstd.mo +0 -0
  344. wx/locale/fr/LC_MESSAGES/wxstd.mo +0 -0
  345. wx/locale/gl_ES/LC_MESSAGES/wxstd.mo +0 -0
  346. wx/locale/hi/LC_MESSAGES/wxstd.mo +0 -0
  347. wx/locale/hr/LC_MESSAGES/wxstd.mo +0 -0
  348. wx/locale/hu/LC_MESSAGES/wxstd.mo +0 -0
  349. wx/locale/id/LC_MESSAGES/wxstd.mo +0 -0
  350. wx/locale/it/LC_MESSAGES/wxstd.mo +0 -0
  351. wx/locale/ja/LC_MESSAGES/wxstd.mo +0 -0
  352. wx/locale/ka/LC_MESSAGES/wxstd.mo +0 -0
  353. wx/locale/ko_KR/LC_MESSAGES/wxstd.mo +0 -0
  354. wx/locale/lt/LC_MESSAGES/wxstd.mo +0 -0
  355. wx/locale/lv/LC_MESSAGES/wxstd.mo +0 -0
  356. wx/locale/ms/LC_MESSAGES/wxstd.mo +0 -0
  357. wx/locale/nb/LC_MESSAGES/wxstd.mo +0 -0
  358. wx/locale/ne/LC_MESSAGES/wxstd.mo +0 -0
  359. wx/locale/nl/LC_MESSAGES/wxstd.mo +0 -0
  360. wx/locale/pl/LC_MESSAGES/wxstd.mo +0 -0
  361. wx/locale/pt/LC_MESSAGES/wxstd.mo +0 -0
  362. wx/locale/pt_BR/LC_MESSAGES/wxstd.mo +0 -0
  363. wx/locale/ro/LC_MESSAGES/wxstd.mo +0 -0
  364. wx/locale/ru/LC_MESSAGES/wxstd.mo +0 -0
  365. wx/locale/sk/LC_MESSAGES/wxstd.mo +0 -0
  366. wx/locale/sl/LC_MESSAGES/wxstd.mo +0 -0
  367. wx/locale/sq/LC_MESSAGES/wxstd.mo +0 -0
  368. wx/locale/sr/LC_MESSAGES/wxstd.mo +0 -0
  369. wx/locale/sv/LC_MESSAGES/wxstd.mo +0 -0
  370. wx/locale/ta/LC_MESSAGES/wxstd.mo +0 -0
  371. wx/locale/tr/LC_MESSAGES/wxstd.mo +0 -0
  372. wx/locale/uk/LC_MESSAGES/wxstd.mo +0 -0
  373. wx/locale/vi/LC_MESSAGES/wxstd.mo +0 -0
  374. wx/locale/zh_CN/LC_MESSAGES/wxstd.mo +0 -0
  375. wx/locale/zh_TW/LC_MESSAGES/wxstd.mo +0 -0
  376. wx/media.py +30 -0
  377. wx/media.pyi +272 -0
  378. wx/msw.py +16 -0
  379. wx/msw.pyi +91 -0
  380. wx/propgrid.py +498 -0
  381. wx/propgrid.pyi +7427 -0
  382. wx/py/CHANGES.txt +796 -0
  383. wx/py/Py.ico +0 -0
  384. wx/py/PyAlaCarte.py +34 -0
  385. wx/py/PyAlaMode.py +34 -0
  386. wx/py/PyAlaModeTest.py +33 -0
  387. wx/py/PyCrust.ico +0 -0
  388. wx/py/PyCrust.py +78 -0
  389. wx/py/PyCrust_16.png +0 -0
  390. wx/py/PyCrust_32.png +0 -0
  391. wx/py/PyFilling.py +35 -0
  392. wx/py/PyShell.py +78 -0
  393. wx/py/PySlices.ico +0 -0
  394. wx/py/PySlices.py +98 -0
  395. wx/py/PySlicesShell.py +94 -0
  396. wx/py/PySlices_16.png +0 -0
  397. wx/py/PySlices_32.png +0 -0
  398. wx/py/PyWrap.py +52 -0
  399. wx/py/README.txt +77 -0
  400. wx/py/__init__.py +20 -0
  401. wx/py/buffer.py +136 -0
  402. wx/py/crust.py +403 -0
  403. wx/py/crustslices.py +403 -0
  404. wx/py/dispatcher.py +259 -0
  405. wx/py/document.py +37 -0
  406. wx/py/editor.py +844 -0
  407. wx/py/editwindow.py +316 -0
  408. wx/py/filling.py +358 -0
  409. wx/py/frame.py +976 -0
  410. wx/py/images.py +212 -0
  411. wx/py/interpreter.py +161 -0
  412. wx/py/introspect.py +402 -0
  413. wx/py/magic.py +98 -0
  414. wx/py/parse.py +134 -0
  415. wx/py/path.py +36 -0
  416. wx/py/pseudo.py +99 -0
  417. wx/py/shell.py +1579 -0
  418. wx/py/sliceshell.py +3805 -0
  419. wx/py/tests/test_interpreter.py +71 -0
  420. wx/py/tests/test_introspect.py +810 -0
  421. wx/py/tests/test_pseudo.py +70 -0
  422. wx/py/tests/test_version.py +36 -0
  423. wx/py/tests/testall.py +22 -0
  424. wx/py/version.py +7 -0
  425. wx/py.typed +0 -0
  426. wx/ribbon.py +48 -0
  427. wx/ribbon.pyi +3099 -0
  428. wx/richtext.py +141 -0
  429. wx/richtext.pyi +13581 -0
  430. wx/siplib.cp315-win_amd64.pyd +0 -0
  431. wx/siplib.pyi +19 -0
  432. wx/stc.py +59 -0
  433. wx/stc.pyi +9918 -0
  434. wx/svg/__init__.py +363 -0
  435. wx/svg/_nanosvg.cp315-win_amd64.pyd +0 -0
  436. wx/tools/__init__.py +18 -0
  437. wx/tools/dbg.py +268 -0
  438. wx/tools/genaxmodule.py +50 -0
  439. wx/tools/helpviewer.py +92 -0
  440. wx/tools/img2img.py +85 -0
  441. wx/tools/img2png.py +54 -0
  442. wx/tools/img2py.py +306 -0
  443. wx/tools/img2xpm.py +54 -0
  444. wx/tools/pywxrc.py +951 -0
  445. wx/tools/wxget.py +254 -0
  446. wx/tools/wxget_docs_demo.py +183 -0
  447. wx/wxbase334u_net_vc140_x64.dll +0 -0
  448. wx/wxbase334u_vc140_x64.dll +0 -0
  449. wx/wxbase334u_xml_vc140_x64.dll +0 -0
  450. wx/wxmsw334u_adv_vc140_x64.dll +0 -0
  451. wx/wxmsw334u_aui_vc140_x64.dll +0 -0
  452. wx/wxmsw334u_core_vc140_x64.dll +0 -0
  453. wx/wxmsw334u_gl_vc140_x64.dll +0 -0
  454. wx/wxmsw334u_html_vc140_x64.dll +0 -0
  455. wx/wxmsw334u_media_vc140_x64.dll +0 -0
  456. wx/wxmsw334u_propgrid_vc140_x64.dll +0 -0
  457. wx/wxmsw334u_qa_vc140_x64.dll +0 -0
  458. wx/wxmsw334u_ribbon_vc140_x64.dll +0 -0
  459. wx/wxmsw334u_richtext_vc140_x64.dll +0 -0
  460. wx/wxmsw334u_stc_vc140_x64.dll +0 -0
  461. wx/wxmsw334u_webview_vc140_x64.dll +0 -0
  462. wx/wxmsw334u_xrc_vc140_x64.dll +0 -0
  463. wx/xml.py +18 -0
  464. wx/xml.pyi +728 -0
  465. wx/xrc.py +68 -0
  466. wx/xrc.pyi +896 -0
  467. wxpython-4.3.2.dist-info/METADATA +71 -0
  468. wxpython-4.3.2.dist-info/RECORD +472 -0
  469. wxpython-4.3.2.dist-info/WHEEL +5 -0
  470. wxpython-4.3.2.dist-info/entry_points.txt +13 -0
  471. wxpython-4.3.2.dist-info/licenses/LICENSE.txt +610 -0
  472. wxpython-4.3.2.dist-info/top_level.txt +1 -0
wx/aui.pyi ADDED
@@ -0,0 +1,4805 @@
1
+ # -*- coding: utf-8 -*-
2
+ #---------------------------------------------------------------------------
3
+ # This file is generated by wxPython's PI generator. Do not edit by hand.
4
+ #
5
+ # The *.pyi files are used by PyCharm and other development tools to provide
6
+ # more information, such as PEP 484 type hints, than it is able to glean from
7
+ # introspection of extension types and methods. They are not intended to be
8
+ # imported, executed or used for any other purpose other than providing info
9
+ # to the tools. If you don't use use a tool that makes use of .pyi files then
10
+ # you can safely ignore this file.
11
+ #
12
+ # See: https://www.python.org/dev/peps/pep-0484/
13
+ # https://www.jetbrains.com/help/pycharm/2016.1/type-hinting-in-pycharm.html
14
+ #
15
+ # Copyright: (c) 2020 by Total Control Software
16
+ # License: wxWindows License
17
+ #---------------------------------------------------------------------------
18
+
19
+ #-- begin-typing-imports --#
20
+ from __future__ import annotations
21
+ import builtins
22
+ import typing
23
+ from datetime import datetime, date
24
+ from enum import IntEnum, IntFlag, auto
25
+ from typing import (Any, overload, TypeAlias, Generic, TypeVar, Protocol, ClassVar, final,
26
+ Union, Optional, List, Tuple, Callable, Iterator, Sequence
27
+ )
28
+ try:
29
+ from typing import ParamSpec
30
+ except ImportError:
31
+ from typing_extensions import ParamSpec
32
+ from typing_extensions import Buffer
33
+
34
+ _TwoInts: TypeAlias = Tuple[int, int]
35
+ _ThreeInts: TypeAlias = Tuple[int, int, int]
36
+ _FourInts: TypeAlias = Tuple[int, int, int, int]
37
+ _TwoFloats: TypeAlias = Tuple[float, float]
38
+ _FourFloats: TypeAlias = Tuple[float, float, float, float]
39
+
40
+ #-- end-typing-imports --#
41
+
42
+ """
43
+ `wx.aui` provides a set of classes for implementing an "Advanced User Interface".
44
+ More specifically, these classes enable to you present some of your application in
45
+ floating or dockable panels, notebooks with floatable tabs, etc.
46
+
47
+ There is also a pure-python implementation of these classes available in the
48
+ `wx.lib.agw.aui` package.
49
+ """
50
+ #-- begin-_aui --#
51
+
52
+ import wx
53
+ #-- end-_aui --#
54
+ #-- begin-auiframemanager --#
55
+ import wx.aui
56
+ import wx.siplib
57
+
58
+ @final
59
+ class AuiManagerDock(int, metaclass=wx.siplib.enumtype):
60
+ AUI_DOCK_NONE: ClassVar[AuiManagerDock]
61
+ AUI_DOCK_TOP: ClassVar[AuiManagerDock]
62
+ AUI_DOCK_RIGHT: ClassVar[AuiManagerDock]
63
+ AUI_DOCK_BOTTOM: ClassVar[AuiManagerDock]
64
+ AUI_DOCK_LEFT: ClassVar[AuiManagerDock]
65
+ AUI_DOCK_CENTER: ClassVar[AuiManagerDock]
66
+ AUI_DOCK_CENTRE: ClassVar[AuiManagerDock]
67
+ AUI_DOCK_NONE: AuiManagerDock
68
+ AUI_DOCK_TOP: AuiManagerDock
69
+ AUI_DOCK_RIGHT: AuiManagerDock
70
+ AUI_DOCK_BOTTOM: AuiManagerDock
71
+ AUI_DOCK_LEFT: AuiManagerDock
72
+ AUI_DOCK_CENTER: AuiManagerDock
73
+ AUI_DOCK_CENTRE: AuiManagerDock
74
+
75
+ @final
76
+ class AuiManagerOption(int, metaclass=wx.siplib.enumtype):
77
+ AUI_MGR_ALLOW_FLOATING: ClassVar[AuiManagerOption]
78
+ AUI_MGR_ALLOW_ACTIVE_PANE: ClassVar[AuiManagerOption]
79
+ AUI_MGR_TRANSPARENT_DRAG: ClassVar[AuiManagerOption]
80
+ AUI_MGR_TRANSPARENT_HINT: ClassVar[AuiManagerOption]
81
+ AUI_MGR_VENETIAN_BLINDS_HINT: ClassVar[AuiManagerOption]
82
+ AUI_MGR_RECTANGLE_HINT: ClassVar[AuiManagerOption]
83
+ AUI_MGR_HINT_FADE: ClassVar[AuiManagerOption]
84
+ AUI_MGR_NO_VENETIAN_BLINDS_FADE: ClassVar[AuiManagerOption]
85
+ AUI_MGR_LIVE_RESIZE: ClassVar[AuiManagerOption]
86
+ AUI_MGR_DEFAULT: ClassVar[AuiManagerOption]
87
+ AUI_MGR_ALLOW_FLOATING: AuiManagerOption
88
+ AUI_MGR_ALLOW_ACTIVE_PANE: AuiManagerOption
89
+ AUI_MGR_TRANSPARENT_DRAG: AuiManagerOption
90
+ AUI_MGR_TRANSPARENT_HINT: AuiManagerOption
91
+ AUI_MGR_VENETIAN_BLINDS_HINT: AuiManagerOption
92
+ AUI_MGR_RECTANGLE_HINT: AuiManagerOption
93
+ AUI_MGR_HINT_FADE: AuiManagerOption
94
+ AUI_MGR_NO_VENETIAN_BLINDS_FADE: AuiManagerOption
95
+ AUI_MGR_LIVE_RESIZE: AuiManagerOption
96
+ AUI_MGR_DEFAULT: AuiManagerOption
97
+
98
+ @final
99
+ class AuiMinDockOption(int, metaclass=wx.siplib.enumtype):
100
+ AUI_MIN_DOCK_ICONS: ClassVar[AuiMinDockOption]
101
+ AUI_MIN_DOCK_TEXT: ClassVar[AuiMinDockOption]
102
+ AUI_MIN_DOCK_BOTH: ClassVar[AuiMinDockOption]
103
+ AUI_MIN_DOCK_ROTATE_ICON_WITH_TEXT: ClassVar[AuiMinDockOption]
104
+ AUI_MIN_DOCK_DEFAULT: ClassVar[AuiMinDockOption]
105
+ AUI_MIN_DOCK_ICONS: AuiMinDockOption
106
+ AUI_MIN_DOCK_TEXT: AuiMinDockOption
107
+ AUI_MIN_DOCK_BOTH: AuiMinDockOption
108
+ AUI_MIN_DOCK_ROTATE_ICON_WITH_TEXT: AuiMinDockOption
109
+ AUI_MIN_DOCK_DEFAULT: AuiMinDockOption
110
+ wxEVT_AUI_PANE_BUTTON: int
111
+ wxEVT_AUI_PANE_CLOSE: int
112
+ wxEVT_AUI_PANE_MINIMIZE: int
113
+ wxEVT_AUI_PANE_MAXIMIZE: int
114
+ wxEVT_AUI_PANE_RESTORE: int
115
+ wxEVT_AUI_PANE_ACTIVATED: int
116
+ wxEVT_AUI_RENDER: int
117
+ wxEVT_AUI_FIND_MANAGER: int
118
+
119
+ class AuiManager(wx.EvtHandler):
120
+ """
121
+ AuiManager(managedWindow=None, flags=AUI_MGR_DEFAULT) -> None
122
+
123
+ wxAuiManager is the central class of the wxAUI class framework.
124
+ """
125
+
126
+ def __init__(self, managedWindow: Optional[wx.Window]=None, flags: int=AUI_MGR_DEFAULT) -> None:
127
+ """
128
+ AuiManager(managedWindow=None, flags=AUI_MGR_DEFAULT) -> None
129
+
130
+ wxAuiManager is the central class of the wxAUI class framework.
131
+ """
132
+
133
+ @overload
134
+ def AddPane(self, window: wx.Window, direction: int=wx.LEFT, caption: str='') -> bool:
135
+ ...
136
+
137
+ @overload
138
+ def AddPane(self, window: wx.Window, pane_info: AuiPaneInfo, drop_pos: Union[wx.Point, _TwoInts]) -> bool:
139
+ ...
140
+
141
+ @overload
142
+ def AddPane(self, window: wx.Window, pane_info: AuiPaneInfo) -> bool:
143
+ """
144
+ AddPane(window, pane_info) -> bool
145
+ AddPane(window, direction=wx.LEFT, caption='') -> bool
146
+ AddPane(window, pane_info, drop_pos) -> bool
147
+
148
+ AddPane() tells the frame manager to start managing a child window.
149
+ """
150
+
151
+ def AllowDocksForMinPanes(self, directions: int) -> None:
152
+ """
153
+ AllowDocksForMinPanes(directions) -> None
154
+
155
+ Change the sides where docks for minimized panes can be created.
156
+ """
157
+
158
+ def SetDocksForMinPanesStyle(self, style: int) -> None:
159
+ """
160
+ SetDocksForMinPanesStyle(style) -> None
161
+
162
+ Set style of for the items representing minimized panes in the docking
163
+ toolbars.
164
+ """
165
+
166
+ def CalculateHintRect(self, paneWindow: wx.Window, pt: Union[wx.Point, _TwoInts], offset: Union[wx.Point, _TwoInts]=wx.Point(0,0)) -> wx.Rect:
167
+ """
168
+ CalculateHintRect(paneWindow, pt, offset=wx.Point(0,0)) -> wx.Rect
169
+
170
+ This function is used by controls to calculate the drop hint
171
+ rectangle.
172
+ """
173
+
174
+ def CalculateNewSplitSize(self) -> wx.Size:
175
+ """
176
+ CalculateNewSplitSize() -> wx.Size
177
+
178
+ Return a reasonable size to use for a new split.
179
+ """
180
+
181
+ def CanDockPanel(self, p: AuiPaneInfo) -> bool:
182
+ """
183
+ CanDockPanel(p) -> bool
184
+
185
+ Check if a key modifier is pressed (actually WXK_CONTROL or WXK_ALT)
186
+ while dragging the frame to not dock the window.
187
+ """
188
+
189
+ def ClosePane(self, paneInfo: AuiPaneInfo) -> None:
190
+ """
191
+ ClosePane(paneInfo) -> None
192
+
193
+ Destroys or hides the given pane depending on its flags.
194
+ """
195
+
196
+ def CreateFloatingFrame(self, parent: wx.Window, p: AuiPaneInfo) -> AuiFloatingFrame:
197
+ """
198
+ CreateFloatingFrame(parent, p) -> AuiFloatingFrame
199
+
200
+ Creates a floating frame in this wxAuiManager with the given parent
201
+ and wxAuiPaneInfo.
202
+ """
203
+
204
+ def DetachPane(self, window: wx.Window) -> bool:
205
+ """
206
+ DetachPane(window) -> bool
207
+
208
+ Tells the wxAuiManager to stop managing the pane specified by window.
209
+ """
210
+
211
+ def DrawHintRect(self, paneWindow: wx.Window, pt: Union[wx.Point, _TwoInts], offset: Union[wx.Point, _TwoInts]=wx.Point(0,0)) -> None:
212
+ """
213
+ DrawHintRect(paneWindow, pt, offset=wx.Point(0,0)) -> None
214
+
215
+ This function is used by controls to draw the hint window.
216
+ """
217
+
218
+ def GetAllPanes(self) -> AuiPaneInfoArray:
219
+ """
220
+ GetAllPanes() -> AuiPaneInfoArray
221
+
222
+ Returns an array of all panes managed by the frame manager.
223
+ """
224
+
225
+ def GetArtProvider(self) -> AuiDockArt:
226
+ """
227
+ GetArtProvider() -> AuiDockArt
228
+
229
+ Returns the current art provider being used.
230
+ """
231
+
232
+ def GetDockSizeConstraint(self, widthpct: float, heightpct: float) -> None:
233
+ """
234
+ GetDockSizeConstraint(widthpct, heightpct) -> None
235
+
236
+ Returns the current dock constraint values.
237
+ """
238
+
239
+ def GetFlags(self) -> int:
240
+ """
241
+ GetFlags() -> int
242
+
243
+ Returns the current wxAuiManagerOption's flags.
244
+ """
245
+
246
+ def GetManagedWindow(self) -> wx.Window:
247
+ """
248
+ GetManagedWindow() -> wx.Window
249
+
250
+ Returns the frame currently being managed by wxAuiManager.
251
+ """
252
+
253
+ @overload
254
+ def GetPane(self, name: str) -> AuiPaneInfo:
255
+ ...
256
+
257
+ @overload
258
+ def GetPane(self, window: wx.Window) -> AuiPaneInfo:
259
+ """
260
+ GetPane(window) -> AuiPaneInfo
261
+ GetPane(name) -> AuiPaneInfo
262
+
263
+ GetPane() is used to lookup a wxAuiPaneInfo object either by window pointer or by pane name, which acts as a unique id for a window pane.
264
+ """
265
+
266
+ def HasLiveResize(self) -> bool:
267
+ """
268
+ HasLiveResize() -> bool
269
+
270
+ Returns true if windows are resized live.
271
+ """
272
+
273
+ def HideHint(self) -> None:
274
+ """
275
+ HideHint() -> None
276
+
277
+ HideHint() hides any docking hint that may be visible.
278
+ """
279
+
280
+ def InsertPane(self, window: wx.Window, insert_location: AuiPaneInfo, insert_level: int=AUI_INSERT_PANE) -> bool:
281
+ """
282
+ InsertPane(window, insert_location, insert_level=AUI_INSERT_PANE) -> bool
283
+
284
+ This method is used to insert either a previously unmanaged pane
285
+ window into the frame manager, or to insert a currently managed pane
286
+ somewhere else.
287
+ """
288
+
289
+ def LoadLayout(self, deserializer: AuiDeserializer) -> None:
290
+ """
291
+ LoadLayout(deserializer) -> None
292
+
293
+ Load the layout information saved by SaveLayout().
294
+ """
295
+
296
+ def LoadPaneInfo(self, pane_part: str, pane: AuiPaneInfo) -> None:
297
+ """
298
+ LoadPaneInfo(pane_part, pane) -> None
299
+
300
+ LoadPaneInfo() is similar to LoadPerspective, with the exception that it only loads information about a single pane.
301
+ """
302
+
303
+ def LoadPerspective(self, perspective: str, update: bool=True) -> bool:
304
+ """
305
+ LoadPerspective(perspective, update=True) -> bool
306
+
307
+ Loads a saved perspective.
308
+ """
309
+
310
+ def MinimizePane(self, paneInfo: AuiPaneInfo) -> None:
311
+ """
312
+ MinimizePane(paneInfo) -> None
313
+
314
+ Minimize the given pane.
315
+ """
316
+
317
+ def MaximizePane(self, paneInfo: AuiPaneInfo) -> None:
318
+ """
319
+ MaximizePane(paneInfo) -> None
320
+
321
+ Maximize the given pane.
322
+ """
323
+
324
+ def RestorePane(self, paneInfo: AuiPaneInfo) -> None:
325
+ """
326
+ RestorePane(paneInfo) -> None
327
+
328
+ Restore the last state of the given pane.
329
+ """
330
+
331
+ def RestoreMaximizedPane(self) -> None:
332
+ """
333
+ RestoreMaximizedPane() -> None
334
+
335
+ Restore the previously maximized pane.
336
+ """
337
+
338
+ def SaveLayout(self, serializer: AuiSerializer) -> None:
339
+ """
340
+ SaveLayout(serializer) -> None
341
+
342
+ Save the layout information using the provided object.
343
+ """
344
+
345
+ def SavePaneInfo(self, pane: AuiPaneInfo) -> str:
346
+ """
347
+ SavePaneInfo(pane) -> str
348
+
349
+ SavePaneInfo() is similar to SavePerspective, with the exception that it only saves information about a single pane.
350
+ """
351
+
352
+ def SavePerspective(self) -> str:
353
+ """
354
+ SavePerspective() -> str
355
+
356
+ Saves the entire user interface layout into an encoded wxString, which
357
+ can then be stored by the application (probably using wxConfig).
358
+ """
359
+
360
+ def SetArtProvider(self, art_provider: AuiDockArt) -> None:
361
+ """
362
+ SetArtProvider(art_provider) -> None
363
+
364
+ Instructs wxAuiManager to use art provider specified by parameter
365
+ art_provider for all drawing calls.
366
+ """
367
+
368
+ def SetDockSizeConstraint(self, widthpct: float, heightpct: float) -> None:
369
+ """
370
+ SetDockSizeConstraint(widthpct, heightpct) -> None
371
+
372
+ When a user creates a new dock by dragging a window into a docked
373
+ position, often times the large size of the window will create a dock
374
+ that is unwieldy large.
375
+ """
376
+
377
+ def SetFlags(self, flags: int) -> None:
378
+ """
379
+ SetFlags(flags) -> None
380
+
381
+ This method is used to specify wxAuiManagerOption's flags.
382
+ """
383
+
384
+ def SetManagedWindow(self, managedWindow: wx.Window) -> None:
385
+ """
386
+ SetManagedWindow(managedWindow) -> None
387
+
388
+ Set the window which is to be managed by wxAuiManager.
389
+ """
390
+
391
+ def ShowHint(self, rect: Union[wx.Rect, _FourInts]) -> None:
392
+ """
393
+ ShowHint(rect) -> None
394
+
395
+ This function is used to show a hint window at the specified
396
+ rectangle.
397
+ """
398
+
399
+ def SplitPane(self, window: wx.Window, newWindow: wx.Window, direction: int, dropPos: Union[wx.Point, _TwoInts]=wx.DefaultPosition) -> bool:
400
+ """
401
+ SplitPane(window, newWindow, direction, dropPos=wx.DefaultPosition) -> bool
402
+
403
+ Create a new pane with the given window near an existing pane.
404
+ """
405
+
406
+ def StartPaneDrag(self, paneWindow: wx.Window, offset: Union[wx.Point, _TwoInts]) -> None:
407
+ """
408
+ StartPaneDrag(paneWindow, offset) -> None
409
+
410
+ Mostly used internally to define the drag action parameters.
411
+ """
412
+
413
+ def UnInit(self) -> None:
414
+ """
415
+ UnInit() -> None
416
+
417
+ Dissociate the managed window from the manager.
418
+ """
419
+
420
+ def Update(self) -> None:
421
+ """
422
+ Update() -> None
423
+
424
+ This method is called after any number of changes are made to any of
425
+ the managed panes.
426
+ """
427
+
428
+ def UpdateHint(self, rect: Union[wx.Rect, _FourInts]) -> None:
429
+ """
430
+ UpdateHint(rect) -> None
431
+
432
+ Show or hide the hint window.
433
+ """
434
+
435
+ @staticmethod
436
+ def AlwaysUsesLiveResize(window: wx.Window) -> bool:
437
+ """
438
+ AlwaysUsesLiveResize(window) -> bool
439
+
440
+ Returns true if live resize is always used on the current platform.
441
+ """
442
+
443
+ @staticmethod
444
+ def GetManager(window: wx.Window) -> AuiManager:
445
+ """
446
+ GetManager(window) -> AuiManager
447
+
448
+ Calling this method will return the wxAuiManager for a given window.
449
+ """
450
+ @property
451
+ def AllPanes(self) -> AuiPaneInfoArray: ...
452
+ @property
453
+ def ArtProvider(self) -> AuiDockArt: ...
454
+ @ArtProvider.setter
455
+ def ArtProvider(self, value: AuiDockArt, /) -> None: ...
456
+ @property
457
+ def Flags(self) -> int: ...
458
+ @Flags.setter
459
+ def Flags(self, value: int, /) -> None: ...
460
+ @property
461
+ def ManagedWindow(self) -> wx.Window: ...
462
+ @ManagedWindow.setter
463
+ def ManagedWindow(self, value: wx.Window, /) -> None: ...
464
+
465
+ def ProcessDockResult(self, target: AuiPaneInfo, new_pos: AuiPaneInfo) -> bool:
466
+ """
467
+ ProcessDockResult(target, new_pos) -> bool
468
+
469
+ ProcessDockResult() is a protected member of the wxAUI layout manager.
470
+ """
471
+ # end of class AuiManager
472
+
473
+
474
+ class AuiPaneInfo(wx.siplib.wrapper):
475
+ """
476
+ AuiPaneInfo() -> None
477
+ AuiPaneInfo(c) -> None
478
+
479
+ wxAuiPaneInfo is part of the wxAUI class framework.
480
+ """
481
+
482
+ @overload
483
+ def __init__(self, c: AuiPaneInfo) -> None:
484
+ ...
485
+
486
+ @overload
487
+ def __init__(self) -> None:
488
+ """
489
+ AuiPaneInfo() -> None
490
+ AuiPaneInfo(c) -> None
491
+
492
+ wxAuiPaneInfo is part of the wxAUI class framework.
493
+ """
494
+ name: str
495
+ caption: str
496
+ icon: wx.BitmapBundle
497
+ window: wx.Window
498
+ frame: wx.Frame
499
+ state: int
500
+ dock_direction: int
501
+ dock_layer: int
502
+ dock_row: int
503
+ dock_pos: int
504
+ best_size: wx.Size
505
+ min_size: wx.Size
506
+ max_size: wx.Size
507
+ floating_pos: wx.Point
508
+ floating_size: wx.Size
509
+ dock_proportion: int
510
+ rect: wx.Rect
511
+
512
+ @overload
513
+ def BestSize(self, x: int, y: int) -> AuiPaneInfo:
514
+ ...
515
+
516
+ @overload
517
+ def BestSize(self, size: Union[wx.Size, _TwoInts]) -> AuiPaneInfo:
518
+ """
519
+ BestSize(size) -> AuiPaneInfo
520
+ BestSize(x, y) -> AuiPaneInfo
521
+
522
+ BestSize() sets the ideal size for the pane.
523
+ """
524
+
525
+ def Bottom(self) -> AuiPaneInfo:
526
+ """
527
+ Bottom() -> AuiPaneInfo
528
+
529
+ Bottom() sets the pane dock position to the bottom side of the frame.
530
+ """
531
+
532
+ def BottomDockable(self, b: bool=True) -> AuiPaneInfo:
533
+ """
534
+ BottomDockable(b=True) -> AuiPaneInfo
535
+
536
+ BottomDockable() indicates whether a pane can be docked at the bottom of the frame.
537
+ """
538
+
539
+ def Caption(self, c: str) -> AuiPaneInfo:
540
+ """
541
+ Caption(c) -> AuiPaneInfo
542
+
543
+ Caption() sets the caption of the pane.
544
+ """
545
+
546
+ def CaptionVisible(self, visible: bool=True) -> AuiPaneInfo:
547
+ """
548
+ CaptionVisible(visible=True) -> AuiPaneInfo
549
+
550
+ CaptionVisible indicates that a pane caption should be visible.
551
+ """
552
+
553
+ def Centre(self) -> AuiPaneInfo:
554
+ """
555
+ Centre() -> AuiPaneInfo
556
+
557
+ Center() sets the pane dock position to the left side of the frame.
558
+ """
559
+
560
+ def Center(self) -> AuiPaneInfo:
561
+ """
562
+ Center() -> AuiPaneInfo
563
+ """
564
+
565
+ def CentrePane(self) -> AuiPaneInfo:
566
+ """
567
+ CentrePane() -> AuiPaneInfo
568
+
569
+ CentrePane() specifies that the pane should adopt the default center pane settings.
570
+ """
571
+
572
+ def CenterPane(self) -> AuiPaneInfo:
573
+ """
574
+ CenterPane() -> AuiPaneInfo
575
+ """
576
+
577
+ def CloseButton(self, visible: bool=True) -> AuiPaneInfo:
578
+ """
579
+ CloseButton(visible=True) -> AuiPaneInfo
580
+
581
+ CloseButton() indicates that a close button should be drawn for the pane.
582
+ """
583
+
584
+ def DefaultPane(self) -> AuiPaneInfo:
585
+ """
586
+ DefaultPane() -> AuiPaneInfo
587
+
588
+ DefaultPane() specifies that the pane should adopt the default pane settings.
589
+ """
590
+
591
+ def DestroyOnClose(self, b: bool=True) -> AuiPaneInfo:
592
+ """
593
+ DestroyOnClose(b=True) -> AuiPaneInfo
594
+
595
+ DestroyOnClose() indicates whether a pane should be destroyed when it is closed.
596
+ """
597
+
598
+ def Direction(self, direction: int) -> AuiPaneInfo:
599
+ """
600
+ Direction(direction) -> AuiPaneInfo
601
+
602
+ Direction() determines the direction of the docked pane.
603
+ """
604
+
605
+ def Dock(self) -> AuiPaneInfo:
606
+ """
607
+ Dock() -> AuiPaneInfo
608
+
609
+ Dock() indicates that a pane should be docked.
610
+ """
611
+
612
+ def DockFixed(self, b: bool=True) -> AuiPaneInfo:
613
+ """
614
+ DockFixed(b=True) -> AuiPaneInfo
615
+
616
+ DockFixed() causes the containing dock to have no resize sash.
617
+ """
618
+
619
+ def Dockable(self, b: bool=True) -> AuiPaneInfo:
620
+ """
621
+ Dockable(b=True) -> AuiPaneInfo
622
+
623
+ Dockable() specifies whether a frame can be docked or not.
624
+ """
625
+
626
+ def Fixed(self) -> AuiPaneInfo:
627
+ """
628
+ Fixed() -> AuiPaneInfo
629
+
630
+ Fixed() forces a pane to be fixed size so that it cannot be resized.
631
+ """
632
+
633
+ def Float(self) -> AuiPaneInfo:
634
+ """
635
+ Float() -> AuiPaneInfo
636
+
637
+ Float() indicates that a pane should be floated.
638
+ """
639
+
640
+ def Floatable(self, b: bool=True) -> AuiPaneInfo:
641
+ """
642
+ Floatable(b=True) -> AuiPaneInfo
643
+
644
+ Floatable() sets whether the user will be able to undock a pane and turn it into a floating window.
645
+ """
646
+
647
+ @overload
648
+ def FloatingPosition(self, x: int, y: int) -> AuiPaneInfo:
649
+ ...
650
+
651
+ @overload
652
+ def FloatingPosition(self, pos: Union[wx.Point, _TwoInts]) -> AuiPaneInfo:
653
+ """
654
+ FloatingPosition(pos) -> AuiPaneInfo
655
+ FloatingPosition(x, y) -> AuiPaneInfo
656
+
657
+ FloatingPosition() sets the position of the floating pane.
658
+ """
659
+
660
+ @overload
661
+ def FloatingSize(self, x: int, y: int) -> AuiPaneInfo:
662
+ ...
663
+
664
+ @overload
665
+ def FloatingSize(self, size: Union[wx.Size, _TwoInts]) -> AuiPaneInfo:
666
+ """
667
+ FloatingSize(size) -> AuiPaneInfo
668
+ FloatingSize(x, y) -> AuiPaneInfo
669
+
670
+ FloatingSize() sets the size of the floating pane.
671
+ """
672
+
673
+ @overload
674
+ def FloatingClientSize(self, x: int, y: int) -> AuiPaneInfo:
675
+ ...
676
+
677
+ @overload
678
+ def FloatingClientSize(self, size: Union[wx.Size, _TwoInts]) -> AuiPaneInfo:
679
+ """
680
+ FloatingClientSize(size) -> AuiPaneInfo
681
+ FloatingClientSize(x, y) -> AuiPaneInfo
682
+
683
+ FloatingClientSize() sets the client size of the floating pane.
684
+ """
685
+
686
+ def Gripper(self, visible: bool=True) -> AuiPaneInfo:
687
+ """
688
+ Gripper(visible=True) -> AuiPaneInfo
689
+
690
+ Gripper() indicates that a gripper should be drawn for the pane.
691
+ """
692
+
693
+ def GripperTop(self, attop: bool=True) -> AuiPaneInfo:
694
+ """
695
+ GripperTop(attop=True) -> AuiPaneInfo
696
+
697
+ GripperTop() indicates that a gripper should be drawn at the top of the pane.
698
+ """
699
+
700
+ def HasBorder(self) -> bool:
701
+ """
702
+ HasBorder() -> bool
703
+
704
+ HasBorder() returns true if the pane displays a border.
705
+ """
706
+
707
+ def HasCaption(self) -> bool:
708
+ """
709
+ HasCaption() -> bool
710
+
711
+ HasCaption() returns true if the pane displays a caption.
712
+ """
713
+
714
+ def HasCloseButton(self) -> bool:
715
+ """
716
+ HasCloseButton() -> bool
717
+
718
+ HasCloseButton() returns true if the pane displays a button to close the pane.
719
+ """
720
+
721
+ def HasFlag(self, flag: int) -> bool:
722
+ """
723
+ HasFlag(flag) -> bool
724
+
725
+ HasFlag() returns true if the property specified by flag is active for the pane.
726
+ """
727
+
728
+ def HasGripper(self) -> bool:
729
+ """
730
+ HasGripper() -> bool
731
+
732
+ HasGripper() returns true if the pane displays a gripper.
733
+ """
734
+
735
+ def HasGripperTop(self) -> bool:
736
+ """
737
+ HasGripperTop() -> bool
738
+
739
+ HasGripper() returns true if the pane displays a gripper at the top.
740
+ """
741
+
742
+ def HasMaximizeButton(self) -> bool:
743
+ """
744
+ HasMaximizeButton() -> bool
745
+
746
+ HasMaximizeButton() returns true if the pane displays a button to maximize the pane.
747
+ """
748
+
749
+ def HasMinimizeButton(self) -> bool:
750
+ """
751
+ HasMinimizeButton() -> bool
752
+
753
+ HasMinimizeButton() returns true if the pane displays a button to minimize the pane.
754
+ """
755
+
756
+ def HasPinButton(self) -> bool:
757
+ """
758
+ HasPinButton() -> bool
759
+
760
+ HasPinButton() returns true if the pane displays a button to float the pane.
761
+ """
762
+
763
+ def Hide(self) -> AuiPaneInfo:
764
+ """
765
+ Hide() -> AuiPaneInfo
766
+
767
+ Hide() indicates that a pane should be hidden.
768
+ """
769
+
770
+ def Icon(self, b: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]) -> AuiPaneInfo:
771
+ """
772
+ Icon(b) -> AuiPaneInfo
773
+
774
+ Icon() sets the icon of the pane.
775
+ """
776
+
777
+ def IconMin(self, b: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]) -> AuiPaneInfo:
778
+ """
779
+ IconMin(b) -> AuiPaneInfo
780
+
781
+ IconMin() sets the icon shown when the pane is minimized.
782
+ """
783
+
784
+ def IsBottomDockable(self) -> bool:
785
+ """
786
+ IsBottomDockable() -> bool
787
+
788
+ IsBottomDockable() returns true if the pane can be docked at the bottom of the managed frame.
789
+ """
790
+
791
+ def IsDockable(self) -> bool:
792
+ """
793
+ IsDockable() -> bool
794
+
795
+ Returns true if the pane can be docked at any side.
796
+ """
797
+
798
+ def IsDocked(self) -> bool:
799
+ """
800
+ IsDocked() -> bool
801
+
802
+ IsDocked() returns true if the pane is currently docked.
803
+ """
804
+
805
+ def IsFixed(self) -> bool:
806
+ """
807
+ IsFixed() -> bool
808
+
809
+ IsFixed() returns true if the pane cannot be resized.
810
+ """
811
+
812
+ def IsFloatable(self) -> bool:
813
+ """
814
+ IsFloatable() -> bool
815
+
816
+ IsFloatable() returns true if the pane can be undocked and displayed as a floating window.
817
+ """
818
+
819
+ def IsFloating(self) -> bool:
820
+ """
821
+ IsFloating() -> bool
822
+
823
+ IsFloating() returns true if the pane is floating.
824
+ """
825
+
826
+ def IsLeftDockable(self) -> bool:
827
+ """
828
+ IsLeftDockable() -> bool
829
+
830
+ IsLeftDockable() returns true if the pane can be docked on the left of the managed frame.
831
+ """
832
+
833
+ def IsMovable(self) -> bool:
834
+ """
835
+ IsMovable() -> bool
836
+
837
+ IsMoveable() returns true if the docked frame can be undocked or moved
838
+ to another dock position.
839
+ """
840
+
841
+ def IsOk(self) -> bool:
842
+ """
843
+ IsOk() -> bool
844
+
845
+ IsOk() returns true if the wxAuiPaneInfo structure is valid.
846
+ """
847
+
848
+ def IsResizable(self) -> bool:
849
+ """
850
+ IsResizable() -> bool
851
+
852
+ IsResizable() returns true if the pane can be resized.
853
+ """
854
+
855
+ def IsRightDockable(self) -> bool:
856
+ """
857
+ IsRightDockable() -> bool
858
+
859
+ IsRightDockable() returns true if the pane can be docked on the right of the managed frame.
860
+ """
861
+
862
+ def IsShown(self) -> bool:
863
+ """
864
+ IsShown() -> bool
865
+
866
+ IsShown() returns true if the pane is currently shown.
867
+ """
868
+
869
+ def IsToolbar(self) -> bool:
870
+ """
871
+ IsToolbar() -> bool
872
+
873
+ IsToolbar() returns true if the pane contains a toolbar.
874
+ """
875
+
876
+ def IsTopDockable(self) -> bool:
877
+ """
878
+ IsTopDockable() -> bool
879
+
880
+ IsTopDockable() returns true if the pane can be docked at the top of the managed frame.
881
+ """
882
+
883
+ def Layer(self, layer: int) -> AuiPaneInfo:
884
+ """
885
+ Layer(layer) -> AuiPaneInfo
886
+
887
+ Layer() determines the layer of the docked pane.
888
+ """
889
+
890
+ def Left(self) -> AuiPaneInfo:
891
+ """
892
+ Left() -> AuiPaneInfo
893
+
894
+ Left() sets the pane dock position to the left side of the frame.
895
+ """
896
+
897
+ def LeftDockable(self, b: bool=True) -> AuiPaneInfo:
898
+ """
899
+ LeftDockable(b=True) -> AuiPaneInfo
900
+
901
+ LeftDockable() indicates whether a pane can be docked on the left of the frame.
902
+ """
903
+
904
+ @overload
905
+ def MaxSize(self, x: int, y: int) -> AuiPaneInfo:
906
+ ...
907
+
908
+ @overload
909
+ def MaxSize(self, size: Union[wx.Size, _TwoInts]) -> AuiPaneInfo:
910
+ """
911
+ MaxSize(size) -> AuiPaneInfo
912
+ MaxSize(x, y) -> AuiPaneInfo
913
+
914
+ MaxSize() sets the maximum size of the pane.
915
+ """
916
+
917
+ def MaximizeButton(self, visible: bool=True) -> AuiPaneInfo:
918
+ """
919
+ MaximizeButton(visible=True) -> AuiPaneInfo
920
+
921
+ MaximizeButton() indicates that a maximize button should be drawn for the pane.
922
+ """
923
+
924
+ @overload
925
+ def MinSize(self, x: int, y: int) -> AuiPaneInfo:
926
+ ...
927
+
928
+ @overload
929
+ def MinSize(self, size: Union[wx.Size, _TwoInts]) -> AuiPaneInfo:
930
+ """
931
+ MinSize(size) -> AuiPaneInfo
932
+ MinSize(x, y) -> AuiPaneInfo
933
+
934
+ MinSize() sets the minimum size of the pane.
935
+ """
936
+
937
+ def MinimizeButton(self, visible: bool=True) -> AuiPaneInfo:
938
+ """
939
+ MinimizeButton(visible=True) -> AuiPaneInfo
940
+
941
+ MinimizeButton() indicates that a minimize button should be drawn for the pane.
942
+ """
943
+
944
+ def Movable(self, b: bool=True) -> AuiPaneInfo:
945
+ """
946
+ Movable(b=True) -> AuiPaneInfo
947
+
948
+ Movable indicates whether a frame can be moved.
949
+ """
950
+
951
+ def Name(self, n: str) -> AuiPaneInfo:
952
+ """
953
+ Name(n) -> AuiPaneInfo
954
+
955
+ Name() sets the name of the pane so it can be referenced in lookup functions.
956
+ """
957
+
958
+ def PaneBorder(self, visible: bool=True) -> AuiPaneInfo:
959
+ """
960
+ PaneBorder(visible=True) -> AuiPaneInfo
961
+
962
+ PaneBorder indicates that a border should be drawn for the pane.
963
+ """
964
+
965
+ def PinButton(self, visible: bool=True) -> AuiPaneInfo:
966
+ """
967
+ PinButton(visible=True) -> AuiPaneInfo
968
+
969
+ PinButton() indicates that a pin button should be drawn for the pane.
970
+ """
971
+
972
+ def Position(self, pos: int) -> AuiPaneInfo:
973
+ """
974
+ Position(pos) -> AuiPaneInfo
975
+
976
+ Position() determines the position of the docked pane.
977
+ """
978
+
979
+ def Resizable(self, resizable: bool=True) -> AuiPaneInfo:
980
+ """
981
+ Resizable(resizable=True) -> AuiPaneInfo
982
+
983
+ Resizable() allows a pane to be resized if the parameter is true, and forces it to be a fixed size if the parameter is false.
984
+ """
985
+
986
+ def Right(self) -> AuiPaneInfo:
987
+ """
988
+ Right() -> AuiPaneInfo
989
+
990
+ Right() sets the pane dock position to the right side of the frame.
991
+ """
992
+
993
+ def RightDockable(self, b: bool=True) -> AuiPaneInfo:
994
+ """
995
+ RightDockable(b=True) -> AuiPaneInfo
996
+
997
+ RightDockable() indicates whether a pane can be docked on the right of the frame.
998
+ """
999
+
1000
+ def Row(self, row: int) -> AuiPaneInfo:
1001
+ """
1002
+ Row(row) -> AuiPaneInfo
1003
+
1004
+ Row() determines the row of the docked pane.
1005
+ """
1006
+
1007
+ def SafeSet(self, source: AuiPaneInfo) -> None:
1008
+ """
1009
+ SafeSet(source) -> None
1010
+
1011
+ Write the safe parts of a PaneInfo object "source" into "this".
1012
+ """
1013
+
1014
+ def SetFlag(self, flag: int, option_state: bool) -> AuiPaneInfo:
1015
+ """
1016
+ SetFlag(flag, option_state) -> AuiPaneInfo
1017
+
1018
+ SetFlag() turns the property given by flag on or off with the option_state parameter.
1019
+ """
1020
+
1021
+ def Show(self, show: bool=True) -> AuiPaneInfo:
1022
+ """
1023
+ Show(show=True) -> AuiPaneInfo
1024
+
1025
+ Show() indicates that a pane should be shown.
1026
+ """
1027
+
1028
+ def ToolbarPane(self) -> AuiPaneInfo:
1029
+ """
1030
+ ToolbarPane() -> AuiPaneInfo
1031
+
1032
+ ToolbarPane() specifies that the pane should adopt the default toolbar pane settings.
1033
+ """
1034
+
1035
+ def Top(self) -> AuiPaneInfo:
1036
+ """
1037
+ Top() -> AuiPaneInfo
1038
+
1039
+ Top() sets the pane dock position to the top of the frame.
1040
+ """
1041
+
1042
+ def TopDockable(self, b: bool=True) -> AuiPaneInfo:
1043
+ """
1044
+ TopDockable(b=True) -> AuiPaneInfo
1045
+
1046
+ TopDockable() indicates whether a pane can be docked at the top of the frame.
1047
+ """
1048
+
1049
+ def Window(self, w: wx.Window) -> AuiPaneInfo:
1050
+ """
1051
+ Window(w) -> AuiPaneInfo
1052
+
1053
+ Window() assigns the window pointer that the wxAuiPaneInfo should use.
1054
+ """
1055
+
1056
+ def IsValid(self) -> bool:
1057
+ """
1058
+ IsValid() -> bool
1059
+ """
1060
+ # end of class AuiPaneInfo
1061
+
1062
+
1063
+ class AuiManagerEvent(wx.Event):
1064
+ """
1065
+ AuiManagerEvent(type=wx.wxEVT_NULL) -> None
1066
+
1067
+ Event used to indicate various actions taken with wxAuiManager.
1068
+ """
1069
+
1070
+ def __init__(self, type: int=wx.wxEVT_NULL) -> None:
1071
+ """
1072
+ AuiManagerEvent(type=wx.wxEVT_NULL) -> None
1073
+
1074
+ Event used to indicate various actions taken with wxAuiManager.
1075
+ """
1076
+
1077
+ def CanVeto(self) -> bool:
1078
+ """
1079
+ CanVeto() -> bool
1080
+ """
1081
+
1082
+ def GetButton(self) -> int:
1083
+ """
1084
+ GetButton() -> int
1085
+ """
1086
+
1087
+ def GetDC(self) -> wx.DC:
1088
+ """
1089
+ GetDC() -> wx.DC
1090
+ """
1091
+
1092
+ def GetVeto(self) -> bool:
1093
+ """
1094
+ GetVeto() -> bool
1095
+ """
1096
+
1097
+ def GetManager(self) -> AuiManager:
1098
+ """
1099
+ GetManager() -> AuiManager
1100
+ """
1101
+
1102
+ def GetPane(self) -> AuiPaneInfo:
1103
+ """
1104
+ GetPane() -> AuiPaneInfo
1105
+ """
1106
+
1107
+ def SetButton(self, button: int) -> None:
1108
+ """
1109
+ SetButton(button) -> None
1110
+
1111
+ Sets the ID of the button clicked that triggered this event.
1112
+ """
1113
+
1114
+ def SetCanVeto(self, can_veto: bool) -> None:
1115
+ """
1116
+ SetCanVeto(can_veto) -> None
1117
+
1118
+ Sets whether or not this event can be vetoed.
1119
+ """
1120
+
1121
+ def SetDC(self, pdc: wx.DC) -> None:
1122
+ """
1123
+ SetDC(pdc) -> None
1124
+ """
1125
+
1126
+ def SetManager(self, manager: AuiManager) -> None:
1127
+ """
1128
+ SetManager(manager) -> None
1129
+
1130
+ Sets the wxAuiManager this event is associated with.
1131
+ """
1132
+
1133
+ def SetPane(self, pane: AuiPaneInfo) -> None:
1134
+ """
1135
+ SetPane(pane) -> None
1136
+
1137
+ Sets the pane this event is associated with.
1138
+ """
1139
+
1140
+ def Veto(self, veto: bool=True) -> None:
1141
+ """
1142
+ Veto(veto=True) -> None
1143
+
1144
+ Cancels the action indicated by this event if CanVeto() is true.
1145
+ """
1146
+ @property
1147
+ def Button(self) -> int: ...
1148
+ @Button.setter
1149
+ def Button(self, value: int, /) -> None: ...
1150
+ @property
1151
+ def DC(self) -> wx.DC: ...
1152
+ @DC.setter
1153
+ def DC(self, value: wx.DC, /) -> None: ...
1154
+ @property
1155
+ def Manager(self) -> AuiManager: ...
1156
+ @Manager.setter
1157
+ def Manager(self, value: AuiManager, /) -> None: ...
1158
+ @property
1159
+ def Pane(self) -> AuiPaneInfo: ...
1160
+ @Pane.setter
1161
+ def Pane(self, value: AuiPaneInfo, /) -> None: ...
1162
+ # end of class AuiManagerEvent
1163
+
1164
+
1165
+ class AuiDockInfo(wx.siplib.wrapper):
1166
+ """
1167
+ AuiDockInfo() -> None
1168
+ AuiDockInfo(c) -> None
1169
+ """
1170
+
1171
+ @overload
1172
+ def __init__(self, c: AuiDockInfo) -> None:
1173
+ ...
1174
+
1175
+ @overload
1176
+ def __init__(self) -> None:
1177
+ """
1178
+ AuiDockInfo() -> None
1179
+ AuiDockInfo(c) -> None
1180
+ """
1181
+ panes: AuiPaneInfoPtrArray
1182
+ rect: wx.Rect
1183
+ dock_direction: int
1184
+ dock_layer: int
1185
+ dock_row: int
1186
+ size: int
1187
+ min_size: int
1188
+ resizable: bool
1189
+ toolbar: bool
1190
+ fixed: bool
1191
+ reserved1: bool
1192
+
1193
+ def IsOk(self) -> bool:
1194
+ """
1195
+ IsOk() -> bool
1196
+ """
1197
+
1198
+ def IsHorizontal(self) -> bool:
1199
+ """
1200
+ IsHorizontal() -> bool
1201
+ """
1202
+
1203
+ def IsVertical(self) -> bool:
1204
+ """
1205
+ IsVertical() -> bool
1206
+ """
1207
+ # end of class AuiDockInfo
1208
+
1209
+
1210
+ class AuiDockUIPart(wx.siplib.wrapper):
1211
+ """
1212
+
1213
+ """
1214
+ typeCaption: int
1215
+ typeGripper: int
1216
+ typeDock: int
1217
+ typeDockSizer: int
1218
+ typePane: int
1219
+ typePaneSizer: int
1220
+ typeBackground: int
1221
+ typePaneBorder: int
1222
+ typePaneButton: int
1223
+ type: int
1224
+ orientation: int
1225
+ dock: AuiDockInfo
1226
+ pane: AuiPaneInfo
1227
+ button: int
1228
+ cont_sizer: wx.Sizer
1229
+ sizer_item: wx.SizerItem
1230
+ rect: wx.Rect
1231
+ # end of class AuiDockUIPart
1232
+
1233
+
1234
+ class AuiFloatingFrame(wx.Frame):
1235
+ """
1236
+ AuiFloatingFrame(parent, ownerMgr, pane, id=wx.ID_ANY, style=wx.RESIZE_BORDER|wx.SYSTEM_MENU|wx.CAPTION|wx.FRAME_NO_TASKBAR|wx.FRAME_FLOAT_ON_PARENT|wx.CLIP_CHILDREN) -> None
1237
+ """
1238
+
1239
+ def __init__(self, parent: Optional[wx.Window], ownerMgr: wx.aui.AuiManager, pane: AuiPaneInfo, id: int=wx.ID_ANY, style: int=wx.RESIZE_BORDER|wx.SYSTEM_MENU|wx.CAPTION|wx.FRAME_NO_TASKBAR|wx.FRAME_FLOAT_ON_PARENT|wx.CLIP_CHILDREN) -> None:
1240
+ """
1241
+ AuiFloatingFrame(parent, ownerMgr, pane, id=wx.ID_ANY, style=wx.RESIZE_BORDER|wx.SYSTEM_MENU|wx.CAPTION|wx.FRAME_NO_TASKBAR|wx.FRAME_FLOAT_ON_PARENT|wx.CLIP_CHILDREN) -> None
1242
+ """
1243
+
1244
+ def SetPaneWindow(self, pane: AuiPaneInfo) -> None:
1245
+ """
1246
+ SetPaneWindow(pane) -> None
1247
+ """
1248
+
1249
+ def GetOwnerManager(self) -> wx.aui.AuiManager:
1250
+ """
1251
+ GetOwnerManager() -> AuiManager
1252
+ """
1253
+
1254
+ def GetAuiManager(self) -> wx.aui.AuiManager:
1255
+ """
1256
+ GetAuiManager() -> AuiManager
1257
+
1258
+ Returns the embedded wxAuiManager managing this floating pane's
1259
+ contents.
1260
+ """
1261
+ @property
1262
+ def AuiManager(self) -> wx.aui.AuiManager: ...
1263
+ @property
1264
+ def OwnerManager(self) -> wx.aui.AuiManager: ...
1265
+ # end of class AuiFloatingFrame
1266
+
1267
+
1268
+ class AuiPaneInfoArray(wx.siplib.wrapper):
1269
+ def __len__(self) -> int: ...
1270
+ def __getitem__(self, index: int, /) -> AuiPaneInfo: ...
1271
+ def __contains__(self, obj: AuiPaneInfo, /) -> bool: ...
1272
+ def __iter__(self) -> Iterator[AuiPaneInfo]: ...
1273
+ def index(self, obj: AuiPaneInfo) -> int: ...
1274
+ def append(self, obj: AuiPaneInfo) -> None: ...
1275
+
1276
+ EVT_AUI_PANE_BUTTON: wx.PyEventBinder[AuiManagerEvent]
1277
+ EVT_AUI_PANE_CLOSE: wx.PyEventBinder[AuiManagerEvent]
1278
+ EVT_AUI_PANE_MAXIMIZE: wx.PyEventBinder[AuiManagerEvent]
1279
+ EVT_AUI_PANE_RESTORE: wx.PyEventBinder[AuiManagerEvent]
1280
+ EVT_AUI_PANE_ACTIVATED: wx.PyEventBinder[AuiManagerEvent]
1281
+ EVT_AUI_RENDER: wx.PyEventBinder[AuiManagerEvent]
1282
+ EVT_AUI_FIND_MANAGER: wx.PyEventBinder[AuiManagerEvent]
1283
+
1284
+ class AuiPaneInfoPtrArray(wx.siplib.wrapper):
1285
+ def __len__(self) -> int: ...
1286
+ def __getitem__(self, index: int, /) -> AuiPaneInfo: ...
1287
+ def __contains__(self, obj: AuiPaneInfo, /) -> bool: ...
1288
+ def __iter__(self) -> Iterator[AuiPaneInfo]: ...
1289
+ def index(self, obj: AuiPaneInfo) -> int: ...
1290
+ def append(self, obj: AuiPaneInfo) -> None: ...
1291
+ #-- end-auiframemanager --#
1292
+ #-- begin-auidockart --#
1293
+ import wx.siplib
1294
+
1295
+ @final
1296
+ class AuiPaneDockArtSetting(int, metaclass=wx.siplib.enumtype):
1297
+ AUI_DOCKART_SASH_SIZE: ClassVar[AuiPaneDockArtSetting]
1298
+ AUI_DOCKART_CAPTION_SIZE: ClassVar[AuiPaneDockArtSetting]
1299
+ AUI_DOCKART_GRIPPER_SIZE: ClassVar[AuiPaneDockArtSetting]
1300
+ AUI_DOCKART_PANE_BORDER_SIZE: ClassVar[AuiPaneDockArtSetting]
1301
+ AUI_DOCKART_PANE_BUTTON_SIZE: ClassVar[AuiPaneDockArtSetting]
1302
+ AUI_DOCKART_BACKGROUND_COLOUR: ClassVar[AuiPaneDockArtSetting]
1303
+ AUI_DOCKART_SASH_COLOUR: ClassVar[AuiPaneDockArtSetting]
1304
+ AUI_DOCKART_ACTIVE_CAPTION_COLOUR: ClassVar[AuiPaneDockArtSetting]
1305
+ AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR: ClassVar[AuiPaneDockArtSetting]
1306
+ AUI_DOCKART_INACTIVE_CAPTION_COLOUR: ClassVar[AuiPaneDockArtSetting]
1307
+ AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR: ClassVar[AuiPaneDockArtSetting]
1308
+ AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR: ClassVar[AuiPaneDockArtSetting]
1309
+ AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR: ClassVar[AuiPaneDockArtSetting]
1310
+ AUI_DOCKART_BORDER_COLOUR: ClassVar[AuiPaneDockArtSetting]
1311
+ AUI_DOCKART_GRIPPER_COLOUR: ClassVar[AuiPaneDockArtSetting]
1312
+ AUI_DOCKART_CAPTION_FONT: ClassVar[AuiPaneDockArtSetting]
1313
+ AUI_DOCKART_GRADIENT_TYPE: ClassVar[AuiPaneDockArtSetting]
1314
+ AUI_DOCKART_SASH_SIZE: AuiPaneDockArtSetting
1315
+ AUI_DOCKART_CAPTION_SIZE: AuiPaneDockArtSetting
1316
+ AUI_DOCKART_GRIPPER_SIZE: AuiPaneDockArtSetting
1317
+ AUI_DOCKART_PANE_BORDER_SIZE: AuiPaneDockArtSetting
1318
+ AUI_DOCKART_PANE_BUTTON_SIZE: AuiPaneDockArtSetting
1319
+ AUI_DOCKART_BACKGROUND_COLOUR: AuiPaneDockArtSetting
1320
+ AUI_DOCKART_SASH_COLOUR: AuiPaneDockArtSetting
1321
+ AUI_DOCKART_ACTIVE_CAPTION_COLOUR: AuiPaneDockArtSetting
1322
+ AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR: AuiPaneDockArtSetting
1323
+ AUI_DOCKART_INACTIVE_CAPTION_COLOUR: AuiPaneDockArtSetting
1324
+ AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR: AuiPaneDockArtSetting
1325
+ AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR: AuiPaneDockArtSetting
1326
+ AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR: AuiPaneDockArtSetting
1327
+ AUI_DOCKART_BORDER_COLOUR: AuiPaneDockArtSetting
1328
+ AUI_DOCKART_GRIPPER_COLOUR: AuiPaneDockArtSetting
1329
+ AUI_DOCKART_CAPTION_FONT: AuiPaneDockArtSetting
1330
+ AUI_DOCKART_GRADIENT_TYPE: AuiPaneDockArtSetting
1331
+
1332
+ @final
1333
+ class AuiPaneDockArtGradients(int, metaclass=wx.siplib.enumtype):
1334
+ AUI_GRADIENT_NONE: ClassVar[AuiPaneDockArtGradients]
1335
+ AUI_GRADIENT_VERTICAL: ClassVar[AuiPaneDockArtGradients]
1336
+ AUI_GRADIENT_HORIZONTAL: ClassVar[AuiPaneDockArtGradients]
1337
+ AUI_GRADIENT_NONE: AuiPaneDockArtGradients
1338
+ AUI_GRADIENT_VERTICAL: AuiPaneDockArtGradients
1339
+ AUI_GRADIENT_HORIZONTAL: AuiPaneDockArtGradients
1340
+
1341
+ @final
1342
+ class AuiPaneButtonState(int, metaclass=wx.siplib.enumtype):
1343
+ AUI_BUTTON_STATE_NORMAL: ClassVar[AuiPaneButtonState]
1344
+ AUI_BUTTON_STATE_HOVER: ClassVar[AuiPaneButtonState]
1345
+ AUI_BUTTON_STATE_PRESSED: ClassVar[AuiPaneButtonState]
1346
+ AUI_BUTTON_STATE_DISABLED: ClassVar[AuiPaneButtonState]
1347
+ AUI_BUTTON_STATE_HIDDEN: ClassVar[AuiPaneButtonState]
1348
+ AUI_BUTTON_STATE_CHECKED: ClassVar[AuiPaneButtonState]
1349
+ AUI_BUTTON_STATE_NORMAL: AuiPaneButtonState
1350
+ AUI_BUTTON_STATE_HOVER: AuiPaneButtonState
1351
+ AUI_BUTTON_STATE_PRESSED: AuiPaneButtonState
1352
+ AUI_BUTTON_STATE_DISABLED: AuiPaneButtonState
1353
+ AUI_BUTTON_STATE_HIDDEN: AuiPaneButtonState
1354
+ AUI_BUTTON_STATE_CHECKED: AuiPaneButtonState
1355
+
1356
+ @final
1357
+ class AuiButtonId(int, metaclass=wx.siplib.enumtype):
1358
+ AUI_BUTTON_CLOSE: ClassVar[AuiButtonId]
1359
+ AUI_BUTTON_MAXIMIZE_RESTORE: ClassVar[AuiButtonId]
1360
+ AUI_BUTTON_MINIMIZE: ClassVar[AuiButtonId]
1361
+ AUI_BUTTON_PIN: ClassVar[AuiButtonId]
1362
+ AUI_BUTTON_OPTIONS: ClassVar[AuiButtonId]
1363
+ AUI_BUTTON_WINDOWLIST: ClassVar[AuiButtonId]
1364
+ AUI_BUTTON_LEFT: ClassVar[AuiButtonId]
1365
+ AUI_BUTTON_RIGHT: ClassVar[AuiButtonId]
1366
+ AUI_BUTTON_UP: ClassVar[AuiButtonId]
1367
+ AUI_BUTTON_DOWN: ClassVar[AuiButtonId]
1368
+ AUI_BUTTON_CUSTOM1: ClassVar[AuiButtonId]
1369
+ AUI_BUTTON_CUSTOM2: ClassVar[AuiButtonId]
1370
+ AUI_BUTTON_CUSTOM3: ClassVar[AuiButtonId]
1371
+ AUI_BUTTON_CLOSE: AuiButtonId
1372
+ AUI_BUTTON_MAXIMIZE_RESTORE: AuiButtonId
1373
+ AUI_BUTTON_MINIMIZE: AuiButtonId
1374
+ AUI_BUTTON_PIN: AuiButtonId
1375
+ AUI_BUTTON_OPTIONS: AuiButtonId
1376
+ AUI_BUTTON_WINDOWLIST: AuiButtonId
1377
+ AUI_BUTTON_LEFT: AuiButtonId
1378
+ AUI_BUTTON_RIGHT: AuiButtonId
1379
+ AUI_BUTTON_UP: AuiButtonId
1380
+ AUI_BUTTON_DOWN: AuiButtonId
1381
+ AUI_BUTTON_CUSTOM1: AuiButtonId
1382
+ AUI_BUTTON_CUSTOM2: AuiButtonId
1383
+ AUI_BUTTON_CUSTOM3: AuiButtonId
1384
+
1385
+ class AuiDockArt(wx.siplib.wrapper):
1386
+ """
1387
+ AuiDockArt() -> None
1388
+
1389
+ wxAuiDockArt is part of the wxAUI class framework.
1390
+ """
1391
+
1392
+ def __init__(self) -> None:
1393
+ """
1394
+ AuiDockArt() -> None
1395
+
1396
+ wxAuiDockArt is part of the wxAUI class framework.
1397
+ """
1398
+
1399
+ def Clone(self) -> AuiDockArt:
1400
+ """
1401
+ Clone() -> AuiDockArt
1402
+
1403
+ Create a copy of this wxAuiDockArt instance.
1404
+ """
1405
+
1406
+ def DrawBackground(self, dc: wx.DC, window: wx.Window, orientation: int, rect: Union[wx.Rect, _FourInts]) -> None:
1407
+ """
1408
+ DrawBackground(dc, window, orientation, rect) -> None
1409
+
1410
+ Draws a background.
1411
+ """
1412
+
1413
+ def DrawBorder(self, dc: wx.DC, window: wx.Window, rect: Union[wx.Rect, _FourInts], pane: AuiPaneInfo) -> None:
1414
+ """
1415
+ DrawBorder(dc, window, rect, pane) -> None
1416
+
1417
+ Draws a border.
1418
+ """
1419
+
1420
+ def DrawCaption(self, dc: wx.DC, window: wx.Window, text: str, rect: Union[wx.Rect, _FourInts], pane: AuiPaneInfo) -> None:
1421
+ """
1422
+ DrawCaption(dc, window, text, rect, pane) -> None
1423
+
1424
+ Draws a caption.
1425
+ """
1426
+
1427
+ def DrawGripper(self, dc: wx.DC, window: wx.Window, rect: Union[wx.Rect, _FourInts], pane: AuiPaneInfo) -> None:
1428
+ """
1429
+ DrawGripper(dc, window, rect, pane) -> None
1430
+
1431
+ Draws a gripper.
1432
+ """
1433
+
1434
+ def DrawPaneButton(self, dc: wx.DC, window: wx.Window, button: int, button_state: int, rect: Union[wx.Rect, _FourInts], pane: AuiPaneInfo) -> None:
1435
+ """
1436
+ DrawPaneButton(dc, window, button, button_state, rect, pane) -> None
1437
+
1438
+ Draws a button in the pane's title bar.
1439
+ """
1440
+
1441
+ def DrawSash(self, dc: wx.DC, window: wx.Window, orientation: int, rect: Union[wx.Rect, _FourInts]) -> None:
1442
+ """
1443
+ DrawSash(dc, window, orientation, rect) -> None
1444
+
1445
+ Draws a sash between two windows.
1446
+ """
1447
+
1448
+ def GetColour(self, id: int) -> wx.Colour:
1449
+ """
1450
+ GetColour(id) -> wx.Colour
1451
+
1452
+ Get the colour of a certain setting.
1453
+ """
1454
+
1455
+ def GetFont(self, id: int) -> wx.Font:
1456
+ """
1457
+ GetFont(id) -> wx.Font
1458
+
1459
+ Get a font setting.
1460
+ """
1461
+
1462
+ def GetMetric(self, id: int) -> int:
1463
+ """
1464
+ GetMetric(id) -> int
1465
+
1466
+ Get the value of a certain setting.
1467
+ """
1468
+
1469
+ def GetMetricForWindow(self, id: int, window: wx.Window) -> int:
1470
+ """
1471
+ GetMetricForWindow(id, window) -> int
1472
+
1473
+ Get metric value scaled by the DPI of the given window if appropriate.
1474
+ """
1475
+
1476
+ def SetColour(self, id: int, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
1477
+ """
1478
+ SetColour(id, colour) -> None
1479
+
1480
+ Set a certain setting with the value colour.
1481
+ """
1482
+
1483
+ def SetFont(self, id: int, font: wx.Font) -> None:
1484
+ """
1485
+ SetFont(id, font) -> None
1486
+
1487
+ Set a font setting.
1488
+ """
1489
+
1490
+ def SetMetric(self, id: int, new_val: int) -> None:
1491
+ """
1492
+ SetMetric(id, new_val) -> None
1493
+
1494
+ Set a certain setting with the value new_val.
1495
+ """
1496
+ # end of class AuiDockArt
1497
+
1498
+
1499
+ class AuiDefaultDockArt(AuiDockArt):
1500
+ """
1501
+ AuiDefaultDockArt() -> None
1502
+
1503
+ This is the default art provider for wxAuiManager.
1504
+ """
1505
+
1506
+ def __init__(self) -> None:
1507
+ """
1508
+ AuiDefaultDockArt() -> None
1509
+
1510
+ This is the default art provider for wxAuiManager.
1511
+ """
1512
+
1513
+ def Clone(self) -> AuiDockArt:
1514
+ """
1515
+ Clone() -> AuiDockArt
1516
+
1517
+ Create a copy of this wxAuiDockArt instance.
1518
+ """
1519
+
1520
+ def GetMetric(self, id: int) -> int:
1521
+ """
1522
+ GetMetric(id) -> int
1523
+
1524
+ Get the value of a certain setting.
1525
+ """
1526
+
1527
+ def SetMetric(self, id: int, new_val: int) -> None:
1528
+ """
1529
+ SetMetric(id, new_val) -> None
1530
+
1531
+ Set a certain setting with the value new_val.
1532
+ """
1533
+
1534
+ def GetColour(self, id: int) -> wx.Colour:
1535
+ """
1536
+ GetColour(id) -> wx.Colour
1537
+
1538
+ Get the colour of a certain setting.
1539
+ """
1540
+
1541
+ def SetColour(self, id: int, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
1542
+ """
1543
+ SetColour(id, colour) -> None
1544
+
1545
+ Set a certain setting with the value colour.
1546
+ """
1547
+
1548
+ def SetFont(self, id: int, font: wx.Font) -> None:
1549
+ """
1550
+ SetFont(id, font) -> None
1551
+
1552
+ Set a font setting.
1553
+ """
1554
+
1555
+ def GetFont(self, id: int) -> wx.Font:
1556
+ """
1557
+ GetFont(id) -> wx.Font
1558
+
1559
+ Get a font setting.
1560
+ """
1561
+
1562
+ def DrawSash(self, dc: wx.DC, window: wx.Window, orientation: int, rect: Union[wx.Rect, _FourInts]) -> None:
1563
+ """
1564
+ DrawSash(dc, window, orientation, rect) -> None
1565
+
1566
+ Draws a sash between two windows.
1567
+ """
1568
+
1569
+ def DrawBackground(self, dc: wx.DC, window: wx.Window, orientation: int, rect: Union[wx.Rect, _FourInts]) -> None:
1570
+ """
1571
+ DrawBackground(dc, window, orientation, rect) -> None
1572
+
1573
+ Draws a background.
1574
+ """
1575
+
1576
+ def DrawCaption(self, dc: wx.DC, window: wx.Window, text: str, rect: Union[wx.Rect, _FourInts], pane: AuiPaneInfo) -> None:
1577
+ """
1578
+ DrawCaption(dc, window, text, rect, pane) -> None
1579
+
1580
+ Draws a caption.
1581
+ """
1582
+
1583
+ def DrawGripper(self, dc: wx.DC, window: wx.Window, rect: Union[wx.Rect, _FourInts], pane: AuiPaneInfo) -> None:
1584
+ """
1585
+ DrawGripper(dc, window, rect, pane) -> None
1586
+
1587
+ Draws a gripper.
1588
+ """
1589
+
1590
+ def DrawBorder(self, dc: wx.DC, window: wx.Window, rect: Union[wx.Rect, _FourInts], pane: AuiPaneInfo) -> None:
1591
+ """
1592
+ DrawBorder(dc, window, rect, pane) -> None
1593
+
1594
+ Draws a border.
1595
+ """
1596
+
1597
+ def DrawPaneButton(self, dc: wx.DC, window: wx.Window, button: int, button_state: int, rect: Union[wx.Rect, _FourInts], pane: AuiPaneInfo) -> None:
1598
+ """
1599
+ DrawPaneButton(dc, window, button, button_state, rect, pane) -> None
1600
+
1601
+ Draws a button in the pane's title bar.
1602
+ """
1603
+ # end of class AuiDefaultDockArt
1604
+
1605
+ #-- end-auidockart --#
1606
+ #-- begin-auibar --#
1607
+ import wx.siplib
1608
+
1609
+ @final
1610
+ class AuiToolBarStyle(int, metaclass=wx.siplib.enumtype):
1611
+ AUI_TB_TEXT: ClassVar[AuiToolBarStyle]
1612
+ AUI_TB_NO_TOOLTIPS: ClassVar[AuiToolBarStyle]
1613
+ AUI_TB_NO_AUTORESIZE: ClassVar[AuiToolBarStyle]
1614
+ AUI_TB_GRIPPER: ClassVar[AuiToolBarStyle]
1615
+ AUI_TB_OVERFLOW: ClassVar[AuiToolBarStyle]
1616
+ AUI_TB_VERTICAL: ClassVar[AuiToolBarStyle]
1617
+ AUI_TB_HORZ_LAYOUT: ClassVar[AuiToolBarStyle]
1618
+ AUI_TB_HORIZONTAL: ClassVar[AuiToolBarStyle]
1619
+ AUI_TB_PLAIN_BACKGROUND: ClassVar[AuiToolBarStyle]
1620
+ AUI_TB_VERT_LAYOUT_DOWN: ClassVar[AuiToolBarStyle]
1621
+ AUI_TB_VERT_LAYOUT_UP: ClassVar[AuiToolBarStyle]
1622
+ AUI_TB_HORZ_TEXT: ClassVar[AuiToolBarStyle]
1623
+ AUI_TB_VERT_TEXT_DOWN: ClassVar[AuiToolBarStyle]
1624
+ AUI_TB_VERT_TEXT_UP: ClassVar[AuiToolBarStyle]
1625
+ AUI_TB_ROTATE_ICON_WITH_TEXT: ClassVar[AuiToolBarStyle]
1626
+ AUI_ORIENTATION_MASK: ClassVar[AuiToolBarStyle]
1627
+ AUI_TB_DEFAULT_STYLE: ClassVar[AuiToolBarStyle]
1628
+ AUI_TB_TEXT: AuiToolBarStyle
1629
+ AUI_TB_NO_TOOLTIPS: AuiToolBarStyle
1630
+ AUI_TB_NO_AUTORESIZE: AuiToolBarStyle
1631
+ AUI_TB_GRIPPER: AuiToolBarStyle
1632
+ AUI_TB_OVERFLOW: AuiToolBarStyle
1633
+ AUI_TB_VERTICAL: AuiToolBarStyle
1634
+ AUI_TB_HORZ_LAYOUT: AuiToolBarStyle
1635
+ AUI_TB_HORIZONTAL: AuiToolBarStyle
1636
+ AUI_TB_PLAIN_BACKGROUND: AuiToolBarStyle
1637
+ AUI_TB_VERT_LAYOUT_DOWN: AuiToolBarStyle
1638
+ AUI_TB_VERT_LAYOUT_UP: AuiToolBarStyle
1639
+ AUI_TB_HORZ_TEXT: AuiToolBarStyle
1640
+ AUI_TB_VERT_TEXT_DOWN: AuiToolBarStyle
1641
+ AUI_TB_VERT_TEXT_UP: AuiToolBarStyle
1642
+ AUI_TB_ROTATE_ICON_WITH_TEXT: AuiToolBarStyle
1643
+ AUI_ORIENTATION_MASK: AuiToolBarStyle
1644
+ AUI_TB_DEFAULT_STYLE: AuiToolBarStyle
1645
+
1646
+ @final
1647
+ class AuiToolBarArtSetting(int, metaclass=wx.siplib.enumtype):
1648
+ AUI_TBART_SEPARATOR_SIZE: ClassVar[AuiToolBarArtSetting]
1649
+ AUI_TBART_GRIPPER_SIZE: ClassVar[AuiToolBarArtSetting]
1650
+ AUI_TBART_OVERFLOW_SIZE: ClassVar[AuiToolBarArtSetting]
1651
+ AUI_TBART_DROPDOWN_SIZE: ClassVar[AuiToolBarArtSetting]
1652
+ AUI_TBART_SEPARATOR_SIZE: AuiToolBarArtSetting
1653
+ AUI_TBART_GRIPPER_SIZE: AuiToolBarArtSetting
1654
+ AUI_TBART_OVERFLOW_SIZE: AuiToolBarArtSetting
1655
+ AUI_TBART_DROPDOWN_SIZE: AuiToolBarArtSetting
1656
+
1657
+ @final
1658
+ class AuiToolBarToolTextOrientation(int, metaclass=wx.siplib.enumtype):
1659
+ AUI_TBTOOL_TEXT_LEFT: ClassVar[AuiToolBarToolTextOrientation]
1660
+ AUI_TBTOOL_TEXT_RIGHT: ClassVar[AuiToolBarToolTextOrientation]
1661
+ AUI_TBTOOL_TEXT_TOP: ClassVar[AuiToolBarToolTextOrientation]
1662
+ AUI_TBTOOL_TEXT_BOTTOM: ClassVar[AuiToolBarToolTextOrientation]
1663
+ AUI_TBTOOL_TEXT_LEFT: AuiToolBarToolTextOrientation
1664
+ AUI_TBTOOL_TEXT_RIGHT: AuiToolBarToolTextOrientation
1665
+ AUI_TBTOOL_TEXT_TOP: AuiToolBarToolTextOrientation
1666
+ AUI_TBTOOL_TEXT_BOTTOM: AuiToolBarToolTextOrientation
1667
+
1668
+ class AuiTextDirection(IntEnum):
1669
+ LeftToRight = auto()
1670
+ TopToBottom = auto()
1671
+ BottomToTop = auto()
1672
+ wxEVT_AUITOOLBAR_TOOL_DROPDOWN: int
1673
+ wxEVT_AUITOOLBAR_OVERFLOW_CLICK: int
1674
+ wxEVT_AUITOOLBAR_RIGHT_CLICK: int
1675
+ wxEVT_AUITOOLBAR_MIDDLE_CLICK: int
1676
+ wxEVT_AUITOOLBAR_BEGIN_DRAG: int
1677
+
1678
+ class AuiToolBarItem(wx.siplib.wrapper):
1679
+ """
1680
+ AuiToolBarItem() -> None
1681
+ AuiToolBarItem(c) -> None
1682
+
1683
+ wxAuiToolBarItem is part of the wxAUI class framework, representing a
1684
+ toolbar element.
1685
+ """
1686
+
1687
+ @overload
1688
+ def __init__(self, c: AuiToolBarItem) -> None:
1689
+ ...
1690
+
1691
+ @overload
1692
+ def __init__(self) -> None:
1693
+ """
1694
+ AuiToolBarItem() -> None
1695
+ AuiToolBarItem(c) -> None
1696
+
1697
+ wxAuiToolBarItem is part of the wxAUI class framework, representing a
1698
+ toolbar element.
1699
+ """
1700
+
1701
+ def Assign(self, c: AuiToolBarItem) -> None:
1702
+ """
1703
+ Assign(c) -> None
1704
+
1705
+ Assigns the properties of the wxAuiToolBarItem "c" to this.
1706
+ """
1707
+
1708
+ def SetWindow(self, w: wx.Window) -> None:
1709
+ """
1710
+ SetWindow(w) -> None
1711
+
1712
+ Assigns a window to the toolbar item.
1713
+ """
1714
+
1715
+ def GetWindow(self) -> wx.Window:
1716
+ """
1717
+ GetWindow() -> wx.Window
1718
+
1719
+ Returns the wxWindow* associated to the toolbar item.
1720
+ """
1721
+
1722
+ def SetId(self, new_id: int) -> None:
1723
+ """
1724
+ SetId(new_id) -> None
1725
+
1726
+ Sets the toolbar item identifier.
1727
+ """
1728
+
1729
+ def GetId(self) -> int:
1730
+ """
1731
+ GetId() -> int
1732
+
1733
+ Returns the toolbar item identifier.
1734
+ """
1735
+
1736
+ def SetKind(self, new_kind: int) -> None:
1737
+ """
1738
+ SetKind(new_kind) -> None
1739
+
1740
+ Sets the wxAuiToolBarItem kind.
1741
+ """
1742
+
1743
+ def GetKind(self) -> int:
1744
+ """
1745
+ GetKind() -> int
1746
+
1747
+ Returns the toolbar item kind.
1748
+ """
1749
+
1750
+ def SetState(self, new_state: int) -> None:
1751
+ """
1752
+ SetState(new_state) -> None
1753
+
1754
+ Set the current state of the toolbar item.
1755
+ """
1756
+
1757
+ def GetState(self) -> int:
1758
+ """
1759
+ GetState() -> int
1760
+
1761
+ Gets the current state of the toolbar item.
1762
+ """
1763
+
1764
+ def SetSizerItem(self, s: wx.SizerItem) -> None:
1765
+ """
1766
+ SetSizerItem(s) -> None
1767
+ """
1768
+
1769
+ def GetSizerItem(self) -> wx.SizerItem:
1770
+ """
1771
+ GetSizerItem() -> wx.SizerItem
1772
+ """
1773
+
1774
+ def SetLabel(self, s: str) -> None:
1775
+ """
1776
+ SetLabel(s) -> None
1777
+ """
1778
+
1779
+ def GetLabel(self) -> str:
1780
+ """
1781
+ GetLabel() -> str
1782
+ """
1783
+
1784
+ def SetBitmap(self, bmp: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]) -> None:
1785
+ """
1786
+ SetBitmap(bmp) -> None
1787
+ """
1788
+
1789
+ def GetBitmap(self) -> wx.Bitmap:
1790
+ """
1791
+ GetBitmap() -> wx.Bitmap
1792
+ """
1793
+
1794
+ def SetDisabledBitmap(self, bmp: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]) -> None:
1795
+ """
1796
+ SetDisabledBitmap(bmp) -> None
1797
+ """
1798
+
1799
+ def GetDisabledBitmap(self) -> wx.Bitmap:
1800
+ """
1801
+ GetDisabledBitmap() -> wx.Bitmap
1802
+ """
1803
+
1804
+ def SetHoverBitmap(self, bmp: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]) -> None:
1805
+ """
1806
+ SetHoverBitmap(bmp) -> None
1807
+ """
1808
+
1809
+ def GetHoverBitmap(self) -> wx.Bitmap:
1810
+ """
1811
+ GetHoverBitmap() -> wx.Bitmap
1812
+ """
1813
+
1814
+ def SetShortHelp(self, s: str) -> None:
1815
+ """
1816
+ SetShortHelp(s) -> None
1817
+ """
1818
+
1819
+ def GetShortHelp(self) -> str:
1820
+ """
1821
+ GetShortHelp() -> str
1822
+ """
1823
+
1824
+ def SetLongHelp(self, s: str) -> None:
1825
+ """
1826
+ SetLongHelp(s) -> None
1827
+ """
1828
+
1829
+ def GetLongHelp(self) -> str:
1830
+ """
1831
+ GetLongHelp() -> str
1832
+ """
1833
+
1834
+ def SetMinSize(self, s: Union[wx.Size, _TwoInts]) -> None:
1835
+ """
1836
+ SetMinSize(s) -> None
1837
+ """
1838
+
1839
+ def GetMinSize(self) -> wx.Size:
1840
+ """
1841
+ GetMinSize() -> wx.Size
1842
+ """
1843
+
1844
+ def SetSpacerPixels(self, s: int) -> None:
1845
+ """
1846
+ SetSpacerPixels(s) -> None
1847
+ """
1848
+
1849
+ def GetSpacerPixels(self) -> int:
1850
+ """
1851
+ GetSpacerPixels() -> int
1852
+ """
1853
+
1854
+ def SetProportion(self, p: int) -> None:
1855
+ """
1856
+ SetProportion(p) -> None
1857
+ """
1858
+
1859
+ def GetProportion(self) -> int:
1860
+ """
1861
+ GetProportion() -> int
1862
+ """
1863
+
1864
+ def SetActive(self, b: bool) -> None:
1865
+ """
1866
+ SetActive(b) -> None
1867
+ """
1868
+
1869
+ def IsActive(self) -> bool:
1870
+ """
1871
+ IsActive() -> bool
1872
+ """
1873
+
1874
+ def SetHasDropDown(self, b: bool) -> None:
1875
+ """
1876
+ SetHasDropDown(b) -> None
1877
+
1878
+ Set whether this tool has a drop down button.
1879
+ """
1880
+
1881
+ def HasDropDown(self) -> bool:
1882
+ """
1883
+ HasDropDown() -> bool
1884
+
1885
+ Returns whether the toolbar item has an associated drop down button.
1886
+ """
1887
+
1888
+ def SetSticky(self, b: bool) -> None:
1889
+ """
1890
+ SetSticky(b) -> None
1891
+ """
1892
+
1893
+ def IsSticky(self) -> bool:
1894
+ """
1895
+ IsSticky() -> bool
1896
+ """
1897
+
1898
+ def SetUserData(self, userData: int) -> None:
1899
+ """
1900
+ SetUserData(userData) -> None
1901
+
1902
+ Associates a number with the item.
1903
+ """
1904
+
1905
+ def GetUserData(self) -> int:
1906
+ """
1907
+ GetUserData() -> int
1908
+
1909
+ Get number associated with the item.
1910
+ """
1911
+
1912
+ def SetClientData(self, clientData: wx.Object) -> None:
1913
+ """
1914
+ SetClientData(clientData) -> None
1915
+
1916
+ Associates a wxObject with the item.
1917
+ """
1918
+
1919
+ def GetClientData(self) -> wx.Object:
1920
+ """
1921
+ GetClientData() -> wx.Object
1922
+
1923
+ Get wxObject associated with the item.
1924
+ """
1925
+
1926
+ def SetAlignment(self, l: int) -> None:
1927
+ """
1928
+ SetAlignment(l) -> None
1929
+ """
1930
+
1931
+ def GetAlignment(self) -> int:
1932
+ """
1933
+ GetAlignment() -> int
1934
+ """
1935
+
1936
+ def CanBeToggled(self) -> bool:
1937
+ """
1938
+ CanBeToggled() -> bool
1939
+
1940
+ Returns whether the toolbar item can be toggled.
1941
+ """
1942
+ @property
1943
+ def Alignment(self) -> int: ...
1944
+ @Alignment.setter
1945
+ def Alignment(self, value: int, /) -> None: ...
1946
+ @property
1947
+ def Bitmap(self) -> wx.Bitmap: ...
1948
+ @Bitmap.setter
1949
+ def Bitmap(self, value: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image], /) -> None: ...
1950
+ @property
1951
+ def ClientData(self) -> wx.Object: ...
1952
+ @ClientData.setter
1953
+ def ClientData(self, value: wx.Object, /) -> None: ...
1954
+ @property
1955
+ def DisabledBitmap(self) -> wx.Bitmap: ...
1956
+ @DisabledBitmap.setter
1957
+ def DisabledBitmap(self, value: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image], /) -> None: ...
1958
+ @property
1959
+ def HoverBitmap(self) -> wx.Bitmap: ...
1960
+ @HoverBitmap.setter
1961
+ def HoverBitmap(self, value: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image], /) -> None: ...
1962
+ @property
1963
+ def Id(self) -> int: ...
1964
+ @Id.setter
1965
+ def Id(self, value: int, /) -> None: ...
1966
+ @property
1967
+ def Kind(self) -> int: ...
1968
+ @Kind.setter
1969
+ def Kind(self, value: int, /) -> None: ...
1970
+ @property
1971
+ def Label(self) -> str: ...
1972
+ @Label.setter
1973
+ def Label(self, value: str, /) -> None: ...
1974
+ @property
1975
+ def LongHelp(self) -> str: ...
1976
+ @LongHelp.setter
1977
+ def LongHelp(self, value: str, /) -> None: ...
1978
+ @property
1979
+ def MinSize(self) -> wx.Size: ...
1980
+ @MinSize.setter
1981
+ def MinSize(self, value: Union[wx.Size, _TwoInts], /) -> None: ...
1982
+ @property
1983
+ def Proportion(self) -> int: ...
1984
+ @Proportion.setter
1985
+ def Proportion(self, value: int, /) -> None: ...
1986
+ @property
1987
+ def ShortHelp(self) -> str: ...
1988
+ @ShortHelp.setter
1989
+ def ShortHelp(self, value: str, /) -> None: ...
1990
+ @property
1991
+ def SizerItem(self) -> wx.SizerItem: ...
1992
+ @SizerItem.setter
1993
+ def SizerItem(self, value: wx.SizerItem, /) -> None: ...
1994
+ @property
1995
+ def SpacerPixels(self) -> int: ...
1996
+ @SpacerPixels.setter
1997
+ def SpacerPixels(self, value: int, /) -> None: ...
1998
+ @property
1999
+ def State(self) -> int: ...
2000
+ @State.setter
2001
+ def State(self, value: int, /) -> None: ...
2002
+ @property
2003
+ def UserData(self) -> int: ...
2004
+ @UserData.setter
2005
+ def UserData(self, value: int, /) -> None: ...
2006
+ @property
2007
+ def Window(self) -> wx.Window: ...
2008
+ @Window.setter
2009
+ def Window(self, value: wx.Window, /) -> None: ...
2010
+ # end of class AuiToolBarItem
2011
+
2012
+
2013
+ class AuiToolBarArt(wx.siplib.wrapper):
2014
+ """
2015
+ AuiToolBarArt() -> None
2016
+
2017
+ wxAuiToolBarArt is part of the wxAUI class framework and is the base
2018
+ class defining the interface for rendering wxAuiToolBar.
2019
+ """
2020
+
2021
+ def __init__(self) -> None:
2022
+ """
2023
+ AuiToolBarArt() -> None
2024
+
2025
+ wxAuiToolBarArt is part of the wxAUI class framework and is the base
2026
+ class defining the interface for rendering wxAuiToolBar.
2027
+ """
2028
+
2029
+ def Clone(self) -> AuiToolBarArt:
2030
+ """
2031
+ Clone() -> AuiToolBarArt
2032
+ """
2033
+
2034
+ def SetFlags(self, flags: int) -> None:
2035
+ """
2036
+ SetFlags(flags) -> None
2037
+ """
2038
+
2039
+ def GetFlags(self) -> int:
2040
+ """
2041
+ GetFlags() -> int
2042
+ """
2043
+
2044
+ def SetFont(self, font: wx.Font) -> None:
2045
+ """
2046
+ SetFont(font) -> None
2047
+ """
2048
+
2049
+ def GetFont(self) -> wx.Font:
2050
+ """
2051
+ GetFont() -> wx.Font
2052
+ """
2053
+
2054
+ def SetTextOrientation(self, orientation: int) -> None:
2055
+ """
2056
+ SetTextOrientation(orientation) -> None
2057
+ """
2058
+
2059
+ def GetTextOrientation(self) -> int:
2060
+ """
2061
+ GetTextOrientation() -> int
2062
+ """
2063
+
2064
+ def SetTextDirection(self, direction: AuiTextDirection) -> None:
2065
+ """
2066
+ SetTextDirection(direction) -> None
2067
+
2068
+ Set the text direction for rendering text.
2069
+ """
2070
+
2071
+ def GetTextDirection(self) -> AuiTextDirection:
2072
+ """
2073
+ GetTextDirection() -> AuiTextDirection
2074
+
2075
+ Return the direction used for rendering text.
2076
+ """
2077
+
2078
+ def DrawBackground(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
2079
+ """
2080
+ DrawBackground(dc, wnd, rect) -> None
2081
+ """
2082
+
2083
+ def DrawPlainBackground(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
2084
+ """
2085
+ DrawPlainBackground(dc, wnd, rect) -> None
2086
+ """
2087
+
2088
+ def DrawLabel(self, dc: wx.DC, wnd: wx.Window, item: AuiToolBarItem, rect: Union[wx.Rect, _FourInts]) -> None:
2089
+ """
2090
+ DrawLabel(dc, wnd, item, rect) -> None
2091
+ """
2092
+
2093
+ def DrawButton(self, dc: wx.DC, wnd: wx.Window, item: AuiToolBarItem, rect: Union[wx.Rect, _FourInts]) -> None:
2094
+ """
2095
+ DrawButton(dc, wnd, item, rect) -> None
2096
+ """
2097
+
2098
+ def DrawDropDownButton(self, dc: wx.DC, wnd: wx.Window, item: AuiToolBarItem, rect: Union[wx.Rect, _FourInts]) -> None:
2099
+ """
2100
+ DrawDropDownButton(dc, wnd, item, rect) -> None
2101
+ """
2102
+
2103
+ def DrawControlLabel(self, dc: wx.DC, wnd: wx.Window, item: AuiToolBarItem, rect: Union[wx.Rect, _FourInts]) -> None:
2104
+ """
2105
+ DrawControlLabel(dc, wnd, item, rect) -> None
2106
+ """
2107
+
2108
+ def DrawSeparator(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
2109
+ """
2110
+ DrawSeparator(dc, wnd, rect) -> None
2111
+ """
2112
+
2113
+ def DrawGripper(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
2114
+ """
2115
+ DrawGripper(dc, wnd, rect) -> None
2116
+ """
2117
+
2118
+ def DrawOverflowButton(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts], state: int) -> None:
2119
+ """
2120
+ DrawOverflowButton(dc, wnd, rect, state) -> None
2121
+ """
2122
+
2123
+ def GetLabelSize(self, dc: wx.ReadOnlyDC, wnd: wx.Window, item: AuiToolBarItem) -> wx.Size:
2124
+ """
2125
+ GetLabelSize(dc, wnd, item) -> wx.Size
2126
+
2127
+ Return the size of the label for the given item.
2128
+ """
2129
+
2130
+ def GetToolSize(self, dc: wx.ReadOnlyDC, wnd: wx.Window, item: AuiToolBarItem) -> wx.Size:
2131
+ """
2132
+ GetToolSize(dc, wnd, item) -> wx.Size
2133
+
2134
+ Return the size of the given item.
2135
+ """
2136
+
2137
+ def GetElementSizeForWindow(self, elementId: int, window: wx.Window) -> int:
2138
+ """
2139
+ GetElementSizeForWindow(elementId, window) -> int
2140
+
2141
+ Get the element size scaled by the DPI of the given window.
2142
+ """
2143
+
2144
+ def GetElementSize(self, elementId: int) -> int:
2145
+ """
2146
+ GetElementSize(elementId) -> int
2147
+
2148
+ Returns the size of the given element in DIPs.
2149
+ """
2150
+
2151
+ def SetElementSize(self, elementId: int, size: int) -> None:
2152
+ """
2153
+ SetElementSize(elementId, size) -> None
2154
+
2155
+ Sets the size of the given element in DIPs.
2156
+ """
2157
+
2158
+ def ShowDropDown(self, wnd: wx.Window, items: AuiToolBarItemArray) -> int:
2159
+ """
2160
+ ShowDropDown(wnd, items) -> int
2161
+
2162
+ Show a drop down menu with the given items.
2163
+ """
2164
+ @property
2165
+ def Flags(self) -> int: ...
2166
+ @Flags.setter
2167
+ def Flags(self, value: int, /) -> None: ...
2168
+ @property
2169
+ def Font(self) -> wx.Font: ...
2170
+ @Font.setter
2171
+ def Font(self, value: wx.Font, /) -> None: ...
2172
+ @property
2173
+ def TextDirection(self) -> AuiTextDirection: ...
2174
+ @TextDirection.setter
2175
+ def TextDirection(self, value: AuiTextDirection, /) -> None: ...
2176
+ @property
2177
+ def TextOrientation(self) -> int: ...
2178
+ @TextOrientation.setter
2179
+ def TextOrientation(self, value: int, /) -> None: ...
2180
+ # end of class AuiToolBarArt
2181
+
2182
+
2183
+ class AuiDefaultToolBarArt(AuiToolBarArt):
2184
+ """
2185
+ AuiDefaultToolBarArt() -> None
2186
+
2187
+ wxAuiDefaultToolBarArt is part of the wxAUI class framework.
2188
+ """
2189
+
2190
+ def __init__(self) -> None:
2191
+ """
2192
+ AuiDefaultToolBarArt() -> None
2193
+
2194
+ wxAuiDefaultToolBarArt is part of the wxAUI class framework.
2195
+ """
2196
+
2197
+ def Clone(self) -> AuiToolBarArt:
2198
+ """
2199
+ Clone() -> AuiToolBarArt
2200
+ """
2201
+
2202
+ def SetFlags(self, flags: int) -> None:
2203
+ """
2204
+ SetFlags(flags) -> None
2205
+ """
2206
+
2207
+ def GetFlags(self) -> int:
2208
+ """
2209
+ GetFlags() -> int
2210
+ """
2211
+
2212
+ def SetFont(self, font: wx.Font) -> None:
2213
+ """
2214
+ SetFont(font) -> None
2215
+ """
2216
+
2217
+ def GetFont(self) -> wx.Font:
2218
+ """
2219
+ GetFont() -> wx.Font
2220
+ """
2221
+
2222
+ def SetTextOrientation(self, orientation: int) -> None:
2223
+ """
2224
+ SetTextOrientation(orientation) -> None
2225
+ """
2226
+
2227
+ def GetTextOrientation(self) -> int:
2228
+ """
2229
+ GetTextOrientation() -> int
2230
+ """
2231
+
2232
+ def DrawBackground(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
2233
+ """
2234
+ DrawBackground(dc, wnd, rect) -> None
2235
+ """
2236
+
2237
+ def DrawPlainBackground(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
2238
+ """
2239
+ DrawPlainBackground(dc, wnd, rect) -> None
2240
+ """
2241
+
2242
+ def DrawLabel(self, dc: wx.DC, wnd: wx.Window, item: AuiToolBarItem, rect: Union[wx.Rect, _FourInts]) -> None:
2243
+ """
2244
+ DrawLabel(dc, wnd, item, rect) -> None
2245
+ """
2246
+
2247
+ def DrawButton(self, dc: wx.DC, wnd: wx.Window, item: AuiToolBarItem, rect: Union[wx.Rect, _FourInts]) -> None:
2248
+ """
2249
+ DrawButton(dc, wnd, item, rect) -> None
2250
+ """
2251
+
2252
+ def DrawDropDownButton(self, dc: wx.DC, wnd: wx.Window, item: AuiToolBarItem, rect: Union[wx.Rect, _FourInts]) -> None:
2253
+ """
2254
+ DrawDropDownButton(dc, wnd, item, rect) -> None
2255
+ """
2256
+
2257
+ def DrawControlLabel(self, dc: wx.DC, wnd: wx.Window, item: AuiToolBarItem, rect: Union[wx.Rect, _FourInts]) -> None:
2258
+ """
2259
+ DrawControlLabel(dc, wnd, item, rect) -> None
2260
+ """
2261
+
2262
+ def DrawSeparator(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
2263
+ """
2264
+ DrawSeparator(dc, wnd, rect) -> None
2265
+ """
2266
+
2267
+ def DrawGripper(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
2268
+ """
2269
+ DrawGripper(dc, wnd, rect) -> None
2270
+ """
2271
+
2272
+ def DrawOverflowButton(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts], state: int) -> None:
2273
+ """
2274
+ DrawOverflowButton(dc, wnd, rect, state) -> None
2275
+ """
2276
+
2277
+ def GetLabelSize(self, dc: wx.ReadOnlyDC, wnd: wx.Window, item: AuiToolBarItem) -> wx.Size:
2278
+ """
2279
+ GetLabelSize(dc, wnd, item) -> wx.Size
2280
+
2281
+ Return the size of the label for the given item.
2282
+ """
2283
+
2284
+ def GetToolSize(self, dc: wx.ReadOnlyDC, wnd: wx.Window, item: AuiToolBarItem) -> wx.Size:
2285
+ """
2286
+ GetToolSize(dc, wnd, item) -> wx.Size
2287
+
2288
+ Return the size of the given item.
2289
+ """
2290
+
2291
+ def GetElementSize(self, elementId: int) -> int:
2292
+ """
2293
+ GetElementSize(elementId) -> int
2294
+
2295
+ Return the size of the element.
2296
+ """
2297
+
2298
+ def SetElementSize(self, elementId: int, size: int) -> None:
2299
+ """
2300
+ SetElementSize(elementId, size) -> None
2301
+
2302
+ Change the size of the element.
2303
+ """
2304
+
2305
+ def ShowDropDown(self, wnd: wx.Window, items: AuiToolBarItemArray) -> int:
2306
+ """
2307
+ ShowDropDown(wnd, items) -> int
2308
+
2309
+ Show a drop down menu with the given items.
2310
+ """
2311
+ @property
2312
+ def Flags(self) -> int: ...
2313
+ @Flags.setter
2314
+ def Flags(self, value: int, /) -> None: ...
2315
+ @property
2316
+ def Font(self) -> wx.Font: ...
2317
+ @Font.setter
2318
+ def Font(self, value: wx.Font, /) -> None: ...
2319
+ @property
2320
+ def TextOrientation(self) -> int: ...
2321
+ @TextOrientation.setter
2322
+ def TextOrientation(self, value: int, /) -> None: ...
2323
+ # end of class AuiDefaultToolBarArt
2324
+
2325
+
2326
+ class AuiToolBar(wx.Control):
2327
+ """
2328
+ AuiToolBar() -> None
2329
+ AuiToolBar(parent, id=wx.ID_ANY, position=wx.DefaultPosition, size=wx.DefaultSize, style=AUI_TB_DEFAULT_STYLE) -> None
2330
+
2331
+ wxAuiToolBar is a dockable toolbar, part of the wxAUI class framework.
2332
+ """
2333
+
2334
+ @overload
2335
+ def __init__(self, parent: wx.Window, id: int=wx.ID_ANY, position: Union[wx.Point, _TwoInts]=wx.DefaultPosition, size: Union[wx.Size, _TwoInts]=wx.DefaultSize, style: int=AUI_TB_DEFAULT_STYLE) -> None:
2336
+ ...
2337
+
2338
+ @overload
2339
+ def __init__(self) -> None:
2340
+ """
2341
+ AuiToolBar() -> None
2342
+ AuiToolBar(parent, id=wx.ID_ANY, position=wx.DefaultPosition, size=wx.DefaultSize, style=AUI_TB_DEFAULT_STYLE) -> None
2343
+
2344
+ wxAuiToolBar is a dockable toolbar, part of the wxAUI class framework.
2345
+ """
2346
+
2347
+ @overload
2348
+ def AddTool(self, toolId: int, label: str, bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image], disabled_bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image], kind: Union[wx.ItemKind, int], short_help_string: str, long_help_string: str, client_data: wx.Object) -> AuiToolBarItem:
2349
+ ...
2350
+
2351
+ @overload
2352
+ def AddTool(self, toolId: int, bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image], disabled_bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image], toggle: bool=False, client_data: Optional[wx.Object]=None, short_help_string: str='', long_help_string: str='') -> AuiToolBarItem:
2353
+ ...
2354
+
2355
+ @overload
2356
+ def AddTool(self, toolId: int, label: str, bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image], short_help_string: str='', kind: Union[wx.ItemKind, int]=wx.ITEM_NORMAL) -> AuiToolBarItem:
2357
+ """
2358
+ AddTool(toolId, label, bitmap, short_help_string='', kind=wx.ITEM_NORMAL) -> AuiToolBarItem
2359
+ AddTool(toolId, label, bitmap, disabled_bitmap, kind, short_help_string, long_help_string, client_data) -> AuiToolBarItem
2360
+ AddTool(toolId, bitmap, disabled_bitmap, toggle=False, client_data=None, short_help_string='', long_help_string='') -> AuiToolBarItem
2361
+
2362
+ Add a new tool to the toolbar.
2363
+ """
2364
+
2365
+ def Create(self, parent: wx.Window, id: int=wx.ID_ANY, pos: Union[wx.Point, _TwoInts]=wx.DefaultPosition, size: Union[wx.Size, _TwoInts]=wx.DefaultSize, style: int=AUI_TB_DEFAULT_STYLE) -> bool:
2366
+ """
2367
+ Create(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=AUI_TB_DEFAULT_STYLE) -> bool
2368
+
2369
+ Really create wxAuiToolBar created using default constructor.
2370
+ """
2371
+
2372
+ def SetWindowStyleFlag(self, style: int) -> None:
2373
+ """
2374
+ SetWindowStyleFlag(style) -> None
2375
+
2376
+ Sets the style of the window.
2377
+ """
2378
+
2379
+ def GetWindowStyleFlag(self) -> int:
2380
+ """
2381
+ GetWindowStyleFlag() -> int
2382
+
2383
+ Gets the window style that was passed to the constructor or Create()
2384
+ method.
2385
+ """
2386
+
2387
+ def SetArtProvider(self, art: AuiToolBarArt) -> None:
2388
+ """
2389
+ SetArtProvider(art) -> None
2390
+ """
2391
+
2392
+ def GetArtProvider(self) -> AuiToolBarArt:
2393
+ """
2394
+ GetArtProvider() -> AuiToolBarArt
2395
+ """
2396
+
2397
+ def SetFont(self, font: wx.Font) -> bool:
2398
+ """
2399
+ SetFont(font) -> bool
2400
+
2401
+ Sets the font for this window.
2402
+ """
2403
+
2404
+ def AddLabel(self, toolId: int, label: str='', width: int=-1) -> AuiToolBarItem:
2405
+ """
2406
+ AddLabel(toolId, label='', width=-1) -> AuiToolBarItem
2407
+ """
2408
+
2409
+ def AddControl(self, control: wx.Control, label: str='') -> AuiToolBarItem:
2410
+ """
2411
+ AddControl(control, label='') -> AuiToolBarItem
2412
+ """
2413
+
2414
+ def AddSeparator(self) -> AuiToolBarItem:
2415
+ """
2416
+ AddSeparator() -> AuiToolBarItem
2417
+ """
2418
+
2419
+ def AddSpacer(self, pixels: int) -> AuiToolBarItem:
2420
+ """
2421
+ AddSpacer(pixels) -> AuiToolBarItem
2422
+ """
2423
+
2424
+ def AddStretchSpacer(self, proportion: int=1) -> AuiToolBarItem:
2425
+ """
2426
+ AddStretchSpacer(proportion=1) -> AuiToolBarItem
2427
+ """
2428
+
2429
+ def Realize(self) -> bool:
2430
+ """
2431
+ Realize() -> bool
2432
+ """
2433
+
2434
+ def FindControl(self, window_id: int) -> wx.Control:
2435
+ """
2436
+ FindControl(window_id) -> wx.Control
2437
+ """
2438
+
2439
+ def FindToolByPosition(self, x: int, y: int) -> AuiToolBarItem:
2440
+ """
2441
+ FindToolByPosition(x, y) -> AuiToolBarItem
2442
+ """
2443
+
2444
+ def FindToolByIndex(self, idx: int) -> AuiToolBarItem:
2445
+ """
2446
+ FindToolByIndex(idx) -> AuiToolBarItem
2447
+ """
2448
+
2449
+ def FindTool(self, toolId: int) -> AuiToolBarItem:
2450
+ """
2451
+ FindTool(toolId) -> AuiToolBarItem
2452
+ """
2453
+
2454
+ def ClearTools(self) -> None:
2455
+ """
2456
+ ClearTools() -> None
2457
+ """
2458
+
2459
+ def Clear(self) -> None:
2460
+ """
2461
+ Clear() -> None
2462
+ """
2463
+
2464
+ def DestroyTool(self, toolId: int) -> bool:
2465
+ """
2466
+ DestroyTool(toolId) -> bool
2467
+
2468
+ Destroys the tool with the given ID and its associated window, if any.
2469
+ """
2470
+
2471
+ def DestroyToolByIndex(self, idx: int) -> bool:
2472
+ """
2473
+ DestroyToolByIndex(idx) -> bool
2474
+
2475
+ Destroys the tool at the given position and its associated window, if
2476
+ any.
2477
+ """
2478
+
2479
+ def DeleteTool(self, toolId: int) -> bool:
2480
+ """
2481
+ DeleteTool(toolId) -> bool
2482
+
2483
+ Removes the tool with the given ID from the toolbar.
2484
+ """
2485
+
2486
+ def DeleteByIndex(self, idx: int) -> bool:
2487
+ """
2488
+ DeleteByIndex(idx) -> bool
2489
+
2490
+ Removes the tool at the given position from the toolbar.
2491
+ """
2492
+
2493
+ def GetToolCount(self) -> int:
2494
+ """
2495
+ GetToolCount() -> int
2496
+ """
2497
+
2498
+ def GetToolPos(self, toolId: int) -> int:
2499
+ """
2500
+ GetToolPos(toolId) -> int
2501
+ """
2502
+
2503
+ def GetToolIndex(self, toolId: int) -> int:
2504
+ """
2505
+ GetToolIndex(toolId) -> int
2506
+ """
2507
+
2508
+ def GetToolFits(self, toolId: int) -> bool:
2509
+ """
2510
+ GetToolFits(toolId) -> bool
2511
+ """
2512
+
2513
+ def GetToolRect(self, toolId: int) -> wx.Rect:
2514
+ """
2515
+ GetToolRect(toolId) -> wx.Rect
2516
+ """
2517
+
2518
+ def GetToolFitsByIndex(self, toolId: int) -> bool:
2519
+ """
2520
+ GetToolFitsByIndex(toolId) -> bool
2521
+ """
2522
+
2523
+ def GetToolBarFits(self) -> bool:
2524
+ """
2525
+ GetToolBarFits() -> bool
2526
+ """
2527
+
2528
+ @overload
2529
+ def SetMargins(self, x: int, y: int) -> None:
2530
+ ...
2531
+
2532
+ @overload
2533
+ def SetMargins(self, left: int, right: int, top: int, bottom: int) -> None:
2534
+ ...
2535
+
2536
+ @overload
2537
+ def SetMargins(self, size: Union[wx.Size, _TwoInts]) -> None:
2538
+ """
2539
+ SetMargins(size) -> None
2540
+ SetMargins(x, y) -> None
2541
+ SetMargins(left, right, top, bottom) -> None
2542
+ """
2543
+
2544
+ def SetToolClientData(self, toolId: int, clientData: wx.Object) -> None:
2545
+ """
2546
+ SetToolClientData(toolId, clientData) -> None
2547
+
2548
+ Associates a wxObject with the item identified by id.
2549
+ """
2550
+
2551
+ def GetToolClientData(self, toolId: int) -> wx.Object:
2552
+ """
2553
+ GetToolClientData(toolId) -> wx.Object
2554
+
2555
+ Get wxObject associated with the item identified by id.
2556
+ """
2557
+
2558
+ def SetToolBitmapSize(self, size: Union[wx.Size, _TwoInts]) -> None:
2559
+ """
2560
+ SetToolBitmapSize(size) -> None
2561
+ """
2562
+
2563
+ def GetToolBitmapSize(self) -> wx.Size:
2564
+ """
2565
+ GetToolBitmapSize() -> wx.Size
2566
+ """
2567
+
2568
+ def GetOverflowVisible(self) -> bool:
2569
+ """
2570
+ GetOverflowVisible() -> bool
2571
+ """
2572
+
2573
+ def SetOverflowVisible(self, visible: bool) -> None:
2574
+ """
2575
+ SetOverflowVisible(visible) -> None
2576
+ """
2577
+
2578
+ def GetGripperVisible(self) -> bool:
2579
+ """
2580
+ GetGripperVisible() -> bool
2581
+ """
2582
+
2583
+ def SetGripperVisible(self, visible: bool) -> None:
2584
+ """
2585
+ SetGripperVisible(visible) -> None
2586
+ """
2587
+
2588
+ def ToggleTool(self, toolId: int, state: bool) -> None:
2589
+ """
2590
+ ToggleTool(toolId, state) -> None
2591
+ """
2592
+
2593
+ def GetToolToggled(self, toolId: int) -> bool:
2594
+ """
2595
+ GetToolToggled(toolId) -> bool
2596
+ """
2597
+
2598
+ def EnableTool(self, toolId: int, state: bool) -> None:
2599
+ """
2600
+ EnableTool(toolId, state) -> None
2601
+ """
2602
+
2603
+ def GetToolEnabled(self, toolId: int) -> bool:
2604
+ """
2605
+ GetToolEnabled(toolId) -> bool
2606
+ """
2607
+
2608
+ def SetToolDropDown(self, toolId: int, dropdown: bool) -> None:
2609
+ """
2610
+ SetToolDropDown(toolId, dropdown) -> None
2611
+
2612
+ Set whether the specified toolbar item has a drop down button.
2613
+ """
2614
+
2615
+ def GetToolDropDown(self, toolId: int) -> bool:
2616
+ """
2617
+ GetToolDropDown(toolId) -> bool
2618
+
2619
+ Returns whether the specified toolbar item has an associated drop down
2620
+ button.
2621
+ """
2622
+
2623
+ def SetToolBorderPadding(self, padding: int) -> None:
2624
+ """
2625
+ SetToolBorderPadding(padding) -> None
2626
+ """
2627
+
2628
+ def GetToolBorderPadding(self) -> int:
2629
+ """
2630
+ GetToolBorderPadding() -> int
2631
+ """
2632
+
2633
+ def SetToolTextOrientation(self, orientation: int) -> None:
2634
+ """
2635
+ SetToolTextOrientation(orientation) -> None
2636
+ """
2637
+
2638
+ def GetToolTextOrientation(self) -> int:
2639
+ """
2640
+ GetToolTextOrientation() -> int
2641
+ """
2642
+
2643
+ def SetToolPacking(self, packing: int) -> None:
2644
+ """
2645
+ SetToolPacking(packing) -> None
2646
+ """
2647
+
2648
+ def GetToolPacking(self) -> int:
2649
+ """
2650
+ GetToolPacking() -> int
2651
+ """
2652
+
2653
+ def SetToolProportion(self, toolId: int, proportion: int) -> None:
2654
+ """
2655
+ SetToolProportion(toolId, proportion) -> None
2656
+ """
2657
+
2658
+ def GetToolProportion(self, toolId: int) -> int:
2659
+ """
2660
+ GetToolProportion(toolId) -> int
2661
+ """
2662
+
2663
+ def SetToolSeparation(self, separation: int) -> None:
2664
+ """
2665
+ SetToolSeparation(separation) -> None
2666
+
2667
+ Set the tool separation in DIPs.
2668
+ """
2669
+
2670
+ def GetToolSeparation(self) -> int:
2671
+ """
2672
+ GetToolSeparation() -> int
2673
+
2674
+ Returns the separation between tools in logical pixels.
2675
+ """
2676
+
2677
+ def SetToolSticky(self, toolId: int, sticky: bool) -> None:
2678
+ """
2679
+ SetToolSticky(toolId, sticky) -> None
2680
+ """
2681
+
2682
+ def GetToolSticky(self, toolId: int) -> bool:
2683
+ """
2684
+ GetToolSticky(toolId) -> bool
2685
+ """
2686
+
2687
+ def GetToolLabel(self, toolId: int) -> str:
2688
+ """
2689
+ GetToolLabel(toolId) -> str
2690
+ """
2691
+
2692
+ def SetToolLabel(self, toolId: int, label: str) -> None:
2693
+ """
2694
+ SetToolLabel(toolId, label) -> None
2695
+ """
2696
+
2697
+ def GetToolBitmap(self, toolId: int) -> wx.Bitmap:
2698
+ """
2699
+ GetToolBitmap(toolId) -> wx.Bitmap
2700
+ """
2701
+
2702
+ def SetToolBitmap(self, toolId: int, bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]) -> None:
2703
+ """
2704
+ SetToolBitmap(toolId, bitmap) -> None
2705
+ """
2706
+
2707
+ def GetToolShortHelp(self, toolId: int) -> str:
2708
+ """
2709
+ GetToolShortHelp(toolId) -> str
2710
+ """
2711
+
2712
+ def SetToolShortHelp(self, toolId: int, help_string: str) -> None:
2713
+ """
2714
+ SetToolShortHelp(toolId, help_string) -> None
2715
+ """
2716
+
2717
+ def GetToolLongHelp(self, toolId: int) -> str:
2718
+ """
2719
+ GetToolLongHelp(toolId) -> str
2720
+ """
2721
+
2722
+ def SetToolLongHelp(self, toolId: int, help_string: str) -> None:
2723
+ """
2724
+ SetToolLongHelp(toolId, help_string) -> None
2725
+ """
2726
+
2727
+ def SetCustomOverflowItems(self, prepend: AuiToolBarItemArray, append: AuiToolBarItemArray) -> None:
2728
+ """
2729
+ SetCustomOverflowItems(prepend, append) -> None
2730
+
2731
+ Add toolbar items that are always displayed in the overflow menu.
2732
+ """
2733
+
2734
+ def GetHintSize(self, dock_direction: int) -> wx.Size:
2735
+ """
2736
+ GetHintSize(dock_direction) -> wx.Size
2737
+
2738
+ get size of hint rectangle for a particular dock location
2739
+ """
2740
+
2741
+ def IsPaneValid(self, pane: AuiPaneInfo) -> bool:
2742
+ """
2743
+ IsPaneValid(pane) -> bool
2744
+ """
2745
+
2746
+ @staticmethod
2747
+ def GetClassDefaultAttributes(variant: Union[wx.WindowVariant, int]=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes:
2748
+ """
2749
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
2750
+ """
2751
+ @property
2752
+ def ArtProvider(self) -> AuiToolBarArt: ...
2753
+ @ArtProvider.setter
2754
+ def ArtProvider(self, value: AuiToolBarArt, /) -> None: ...
2755
+ @property
2756
+ def GripperVisible(self) -> bool: ...
2757
+ @GripperVisible.setter
2758
+ def GripperVisible(self, value: bool, /) -> None: ...
2759
+ @property
2760
+ def OverflowVisible(self) -> bool: ...
2761
+ @OverflowVisible.setter
2762
+ def OverflowVisible(self, value: bool, /) -> None: ...
2763
+ @property
2764
+ def ToolBarFits(self) -> bool: ...
2765
+ @property
2766
+ def ToolBitmapSize(self) -> wx.Size: ...
2767
+ @ToolBitmapSize.setter
2768
+ def ToolBitmapSize(self, value: Union[wx.Size, _TwoInts], /) -> None: ...
2769
+ @property
2770
+ def ToolBorderPadding(self) -> int: ...
2771
+ @ToolBorderPadding.setter
2772
+ def ToolBorderPadding(self, value: int, /) -> None: ...
2773
+ @property
2774
+ def ToolCount(self) -> int: ...
2775
+ @property
2776
+ def ToolPacking(self) -> int: ...
2777
+ @ToolPacking.setter
2778
+ def ToolPacking(self, value: int, /) -> None: ...
2779
+ @property
2780
+ def ToolSeparation(self) -> int: ...
2781
+ @ToolSeparation.setter
2782
+ def ToolSeparation(self, value: int, /) -> None: ...
2783
+ @property
2784
+ def ToolTextOrientation(self) -> int: ...
2785
+ @ToolTextOrientation.setter
2786
+ def ToolTextOrientation(self, value: int, /) -> None: ...
2787
+ @property
2788
+ def WindowStyleFlag(self) -> int: ...
2789
+ @WindowStyleFlag.setter
2790
+ def WindowStyleFlag(self, value: int, /) -> None: ...
2791
+ # end of class AuiToolBar
2792
+
2793
+
2794
+ class AuiToolBarEvent(wx.NotifyEvent):
2795
+ """
2796
+ AuiToolBarEvent(commandType=wx.wxEVT_NULL, winId=0) -> None
2797
+ AuiToolBarEvent(c) -> None
2798
+
2799
+ wxAuiToolBarEvent is used for the events generated by wxAuiToolBar.
2800
+ """
2801
+
2802
+ @overload
2803
+ def __init__(self, c: AuiToolBarEvent) -> None:
2804
+ ...
2805
+
2806
+ @overload
2807
+ def __init__(self, commandType: int=wx.wxEVT_NULL, winId: int=0) -> None:
2808
+ """
2809
+ AuiToolBarEvent(commandType=wx.wxEVT_NULL, winId=0) -> None
2810
+ AuiToolBarEvent(c) -> None
2811
+
2812
+ wxAuiToolBarEvent is used for the events generated by wxAuiToolBar.
2813
+ """
2814
+
2815
+ def IsDropDownClicked(self) -> bool:
2816
+ """
2817
+ IsDropDownClicked() -> bool
2818
+
2819
+ Returns whether the drop down menu has been clicked.
2820
+ """
2821
+
2822
+ def GetClickPoint(self) -> wx.Point:
2823
+ """
2824
+ GetClickPoint() -> wx.Point
2825
+
2826
+ Returns the point where the user clicked with the mouse.
2827
+ """
2828
+
2829
+ def GetItemRect(self) -> wx.Rect:
2830
+ """
2831
+ GetItemRect() -> wx.Rect
2832
+
2833
+ Returns the wxAuiToolBarItem rectangle bounding the mouse click point.
2834
+ """
2835
+
2836
+ def GetToolId(self) -> int:
2837
+ """
2838
+ GetToolId() -> int
2839
+
2840
+ Returns the wxAuiToolBarItem identifier.
2841
+ """
2842
+
2843
+ def SetDropDownClicked(self, c: bool) -> None:
2844
+ """
2845
+ SetDropDownClicked(c) -> None
2846
+ """
2847
+
2848
+ def SetClickPoint(self, p: Union[wx.Point, _TwoInts]) -> None:
2849
+ """
2850
+ SetClickPoint(p) -> None
2851
+ """
2852
+
2853
+ def SetItemRect(self, r: Union[wx.Rect, _FourInts]) -> None:
2854
+ """
2855
+ SetItemRect(r) -> None
2856
+ """
2857
+
2858
+ def SetToolId(self, toolId: int) -> None:
2859
+ """
2860
+ SetToolId(toolId) -> None
2861
+ """
2862
+ @property
2863
+ def ClickPoint(self) -> wx.Point: ...
2864
+ @ClickPoint.setter
2865
+ def ClickPoint(self, value: Union[wx.Point, _TwoInts], /) -> None: ...
2866
+ @property
2867
+ def ItemRect(self) -> wx.Rect: ...
2868
+ @ItemRect.setter
2869
+ def ItemRect(self, value: Union[wx.Rect, _FourInts], /) -> None: ...
2870
+ @property
2871
+ def ToolId(self) -> int: ...
2872
+ @ToolId.setter
2873
+ def ToolId(self, value: int, /) -> None: ...
2874
+ # end of class AuiToolBarEvent
2875
+
2876
+
2877
+ EVT_AUITOOLBAR_TOOL_DROPDOWN: wx.PyEventBinder[AuiToolBarEvent]
2878
+ EVT_AUITOOLBAR_OVERFLOW_CLICK: wx.PyEventBinder[AuiToolBarEvent]
2879
+ EVT_AUITOOLBAR_RIGHT_CLICK: wx.PyEventBinder[AuiToolBarEvent]
2880
+ EVT_AUITOOLBAR_MIDDLE_CLICK: wx.PyEventBinder[AuiToolBarEvent]
2881
+ EVT_AUITOOLBAR_BEGIN_DRAG: wx.PyEventBinder[AuiToolBarEvent]
2882
+
2883
+ class AuiToolBarItemArray(wx.siplib.wrapper):
2884
+ def __len__(self) -> int: ...
2885
+ def __getitem__(self, index: int, /) -> AuiToolBarItem: ...
2886
+ def __contains__(self, obj: AuiToolBarItem, /) -> bool: ...
2887
+ def __iter__(self) -> Iterator[AuiToolBarItem]: ...
2888
+ def index(self, obj: AuiToolBarItem) -> int: ...
2889
+ def append(self, obj: AuiToolBarItem) -> None: ...
2890
+ #-- end-auibar --#
2891
+ #-- begin-auibook --#
2892
+ import wx.siplib
2893
+
2894
+ @final
2895
+ class AuiNotebookOption(int, metaclass=wx.siplib.enumtype):
2896
+ AUI_NB_TOP: ClassVar[AuiNotebookOption]
2897
+ AUI_NB_LEFT: ClassVar[AuiNotebookOption]
2898
+ AUI_NB_RIGHT: ClassVar[AuiNotebookOption]
2899
+ AUI_NB_BOTTOM: ClassVar[AuiNotebookOption]
2900
+ AUI_NB_TAB_SPLIT: ClassVar[AuiNotebookOption]
2901
+ AUI_NB_TAB_MOVE: ClassVar[AuiNotebookOption]
2902
+ AUI_NB_TAB_EXTERNAL_MOVE: ClassVar[AuiNotebookOption]
2903
+ AUI_NB_TAB_FIXED_WIDTH: ClassVar[AuiNotebookOption]
2904
+ AUI_NB_SCROLL_BUTTONS: ClassVar[AuiNotebookOption]
2905
+ AUI_NB_WINDOWLIST_BUTTON: ClassVar[AuiNotebookOption]
2906
+ AUI_NB_CLOSE_BUTTON: ClassVar[AuiNotebookOption]
2907
+ AUI_NB_CLOSE_ON_ACTIVE_TAB: ClassVar[AuiNotebookOption]
2908
+ AUI_NB_CLOSE_ON_ALL_TABS: ClassVar[AuiNotebookOption]
2909
+ AUI_NB_MIDDLE_CLICK_CLOSE: ClassVar[AuiNotebookOption]
2910
+ AUI_NB_MULTILINE: ClassVar[AuiNotebookOption]
2911
+ AUI_NB_PIN_ON_ACTIVE_TAB: ClassVar[AuiNotebookOption]
2912
+ AUI_NB_UNPIN_ON_ALL_PINNED: ClassVar[AuiNotebookOption]
2913
+ AUI_NB_DEFAULT_STYLE: ClassVar[AuiNotebookOption]
2914
+ AUI_NB_TOP: AuiNotebookOption
2915
+ AUI_NB_LEFT: AuiNotebookOption
2916
+ AUI_NB_RIGHT: AuiNotebookOption
2917
+ AUI_NB_BOTTOM: AuiNotebookOption
2918
+ AUI_NB_TAB_SPLIT: AuiNotebookOption
2919
+ AUI_NB_TAB_MOVE: AuiNotebookOption
2920
+ AUI_NB_TAB_EXTERNAL_MOVE: AuiNotebookOption
2921
+ AUI_NB_TAB_FIXED_WIDTH: AuiNotebookOption
2922
+ AUI_NB_SCROLL_BUTTONS: AuiNotebookOption
2923
+ AUI_NB_WINDOWLIST_BUTTON: AuiNotebookOption
2924
+ AUI_NB_CLOSE_BUTTON: AuiNotebookOption
2925
+ AUI_NB_CLOSE_ON_ACTIVE_TAB: AuiNotebookOption
2926
+ AUI_NB_CLOSE_ON_ALL_TABS: AuiNotebookOption
2927
+ AUI_NB_MIDDLE_CLICK_CLOSE: AuiNotebookOption
2928
+ AUI_NB_MULTILINE: AuiNotebookOption
2929
+ AUI_NB_PIN_ON_ACTIVE_TAB: AuiNotebookOption
2930
+ AUI_NB_UNPIN_ON_ALL_PINNED: AuiNotebookOption
2931
+ AUI_NB_DEFAULT_STYLE: AuiNotebookOption
2932
+
2933
+ class AuiTabKind(IntEnum):
2934
+ Normal = auto()
2935
+ Pinned = auto()
2936
+ Locked = auto()
2937
+ wxEVT_AUINOTEBOOK_PAGE_CLOSE: int
2938
+ wxEVT_AUINOTEBOOK_PAGE_CHANGED: int
2939
+ wxEVT_AUINOTEBOOK_PAGE_CHANGING: int
2940
+ wxEVT_AUINOTEBOOK_PAGE_CLOSED: int
2941
+ wxEVT_AUINOTEBOOK_BUTTON: int
2942
+ wxEVT_AUINOTEBOOK_BEGIN_DRAG: int
2943
+ wxEVT_AUINOTEBOOK_END_DRAG: int
2944
+ wxEVT_AUINOTEBOOK_DRAG_MOTION: int
2945
+ wxEVT_AUINOTEBOOK_ALLOW_DND: int
2946
+ wxEVT_AUINOTEBOOK_TAB_MIDDLE_DOWN: int
2947
+ wxEVT_AUINOTEBOOK_TAB_MIDDLE_UP: int
2948
+ wxEVT_AUINOTEBOOK_TAB_RIGHT_DOWN: int
2949
+ wxEVT_AUINOTEBOOK_TAB_RIGHT_UP: int
2950
+ wxEVT_AUINOTEBOOK_DRAG_DONE: int
2951
+ wxEVT_AUINOTEBOOK_BG_DCLICK: int
2952
+
2953
+ class AuiNotebook(wx.BookCtrlBase):
2954
+ """
2955
+ AuiNotebook() -> None
2956
+ AuiNotebook(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=AUI_NB_DEFAULT_STYLE) -> None
2957
+
2958
+ wxAuiNotebook is part of the wxAUI class framework, which represents a
2959
+ notebook control, managing multiple windows with associated tabs.
2960
+ """
2961
+
2962
+ @overload
2963
+ def __init__(self, parent: wx.Window, id: int=wx.ID_ANY, pos: Union[wx.Point, _TwoInts]=wx.DefaultPosition, size: Union[wx.Size, _TwoInts]=wx.DefaultSize, style: int=AUI_NB_DEFAULT_STYLE) -> None:
2964
+ ...
2965
+
2966
+ @overload
2967
+ def __init__(self) -> None:
2968
+ """
2969
+ AuiNotebook() -> None
2970
+ AuiNotebook(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=AUI_NB_DEFAULT_STYLE) -> None
2971
+
2972
+ wxAuiNotebook is part of the wxAUI class framework, which represents a
2973
+ notebook control, managing multiple windows with associated tabs.
2974
+ """
2975
+
2976
+ @overload
2977
+ def AddPage(self, page: wx.Window, text: str, select: bool, imageId: int) -> bool:
2978
+ ...
2979
+
2980
+ @overload
2981
+ def AddPage(self, page: wx.Window, caption: str, select: bool=False, bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]=wx.BitmapBundle()) -> bool:
2982
+ """
2983
+ AddPage(page, caption, select=False, bitmap=wx.BitmapBundle()) -> bool
2984
+ AddPage(page, text, select, imageId) -> bool
2985
+
2986
+ Adds a page.
2987
+ """
2988
+
2989
+ def AdvanceSelection(self, forward: bool=True) -> None:
2990
+ """
2991
+ AdvanceSelection(forward=True) -> None
2992
+
2993
+ Sets the selection to the next or previous page in the same tab
2994
+ control.
2995
+ """
2996
+
2997
+ def ChangeSelection(self, n: int) -> int:
2998
+ """
2999
+ ChangeSelection(n) -> int
3000
+
3001
+ Changes the selection for the given page, returning the previous
3002
+ selection.
3003
+ """
3004
+
3005
+ def Create(self, parent: wx.Window, id: int=wx.ID_ANY, pos: Union[wx.Point, _TwoInts]=wx.DefaultPosition, size: Union[wx.Size, _TwoInts]=wx.DefaultSize, style: int=0) -> bool:
3006
+ """
3007
+ Create(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0) -> bool
3008
+
3009
+ Creates the notebook window.
3010
+ """
3011
+
3012
+ def DeleteAllPages(self) -> bool:
3013
+ """
3014
+ DeleteAllPages() -> bool
3015
+
3016
+ Deletes all pages.
3017
+ """
3018
+
3019
+ def DeletePage(self, page: int) -> bool:
3020
+ """
3021
+ DeletePage(page) -> bool
3022
+
3023
+ Deletes a page at the given index.
3024
+ """
3025
+
3026
+ def GetArtProvider(self) -> AuiTabArt:
3027
+ """
3028
+ GetArtProvider() -> AuiTabArt
3029
+
3030
+ Returns the associated art provider.
3031
+ """
3032
+
3033
+ def GetCurrentPage(self) -> wx.Window:
3034
+ """
3035
+ GetCurrentPage() -> wx.Window
3036
+
3037
+ Returns the currently selected page or nullptr.
3038
+ """
3039
+
3040
+ def GetHeightForPageHeight(self, pageHeight: int) -> int:
3041
+ """
3042
+ GetHeightForPageHeight(pageHeight) -> int
3043
+
3044
+ Returns the desired height of the notebook for the given page height.
3045
+ """
3046
+
3047
+ def GetPage(self, page_idx: int) -> wx.Window:
3048
+ """
3049
+ GetPage(page_idx) -> wx.Window
3050
+
3051
+ Returns the page specified by the given index.
3052
+ """
3053
+
3054
+ def GetPageBitmap(self, page: int) -> wx.Bitmap:
3055
+ """
3056
+ GetPageBitmap(page) -> wx.Bitmap
3057
+
3058
+ Returns the tab bitmap for the page.
3059
+ """
3060
+
3061
+ def GetPageCount(self) -> int:
3062
+ """
3063
+ GetPageCount() -> int
3064
+
3065
+ Returns the number of pages in the notebook.
3066
+ """
3067
+
3068
+ def GetPageIndex(self, page_wnd: wx.Window) -> int:
3069
+ """
3070
+ GetPageIndex(page_wnd) -> int
3071
+
3072
+ Returns the page index for the specified window.
3073
+ """
3074
+
3075
+ def GetPageKind(self, pageIdx: int) -> AuiTabKind:
3076
+ """
3077
+ GetPageKind(pageIdx) -> AuiTabKind
3078
+
3079
+ Returns the tab kind for the page.
3080
+ """
3081
+
3082
+ def GetPagePosition(self, page: int) -> AuiNotebookPosition:
3083
+ """
3084
+ GetPagePosition(page) -> AuiNotebookPosition
3085
+
3086
+ Returns the position of the page in the notebook.
3087
+ """
3088
+
3089
+ def GetPageText(self, page: int) -> str:
3090
+ """
3091
+ GetPageText(page) -> str
3092
+
3093
+ Returns the tab label for the page.
3094
+ """
3095
+
3096
+ def GetPageToolTip(self, pageIdx: int) -> str:
3097
+ """
3098
+ GetPageToolTip(pageIdx) -> str
3099
+
3100
+ Returns the tooltip for the tab label of the page.
3101
+ """
3102
+
3103
+ def GetSelection(self) -> int:
3104
+ """
3105
+ GetSelection() -> int
3106
+
3107
+ Returns the currently selected page.
3108
+ """
3109
+
3110
+ def GetTabCtrlHeight(self) -> int:
3111
+ """
3112
+ GetTabCtrlHeight() -> int
3113
+
3114
+ Returns the height of the tab control.
3115
+ """
3116
+
3117
+ @overload
3118
+ def InsertPage(self, index: int, page: wx.Window, text: str, select: bool, imageId: int) -> bool:
3119
+ ...
3120
+
3121
+ @overload
3122
+ def InsertPage(self, index: int, page: wx.Window, text: str, select: bool=False, bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]=wx.BitmapBundle()) -> bool:
3123
+ """
3124
+ InsertPage(index, page, text, select=False, bitmap=wx.BitmapBundle()) -> bool
3125
+ InsertPage(index, page, text, select, imageId) -> bool
3126
+
3127
+ InsertPage() is similar to AddPage, but allows the ability to specify the insert location.
3128
+ """
3129
+
3130
+ def LoadLayout(self, name: str, deserializer: AuiBookDeserializer) -> None:
3131
+ """
3132
+ LoadLayout(name, deserializer) -> None
3133
+
3134
+ Load the previously saved layout of the notebook.
3135
+ """
3136
+
3137
+ def RemovePage(self, page: int) -> bool:
3138
+ """
3139
+ RemovePage(page) -> bool
3140
+
3141
+ Removes a page, without deleting the window pointer.
3142
+ """
3143
+
3144
+ def SaveLayout(self, name: str, serializer: AuiBookSerializer) -> None:
3145
+ """
3146
+ SaveLayout(name, serializer) -> None
3147
+
3148
+ Save the layout of the notebook using the provided serializer.
3149
+ """
3150
+
3151
+ def SetArtProvider(self, art: AuiTabArt) -> None:
3152
+ """
3153
+ SetArtProvider(art) -> None
3154
+
3155
+ Sets the art provider to be used by the notebook.
3156
+ """
3157
+
3158
+ def SetFont(self, font: wx.Font) -> bool:
3159
+ """
3160
+ SetFont(font) -> bool
3161
+
3162
+ Sets the font for drawing the tab labels, using a bold version of the
3163
+ font for selected tab labels.
3164
+ """
3165
+
3166
+ def SetManagerFlags(self, flags: int) -> None:
3167
+ """
3168
+ SetManagerFlags(flags) -> None
3169
+
3170
+ Sets the flags for the wxAuiManager used by wxAuiNotebook.
3171
+ """
3172
+
3173
+ def SetMeasuringFont(self, font: wx.Font) -> None:
3174
+ """
3175
+ SetMeasuringFont(font) -> None
3176
+
3177
+ Sets the font for measuring tab labels.
3178
+ """
3179
+
3180
+ def SetNormalFont(self, font: wx.Font) -> None:
3181
+ """
3182
+ SetNormalFont(font) -> None
3183
+
3184
+ Sets the font for drawing unselected tab labels.
3185
+ """
3186
+
3187
+ def SetPageBitmap(self, page: int, bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]) -> bool:
3188
+ """
3189
+ SetPageBitmap(page, bitmap) -> bool
3190
+
3191
+ Sets the bitmap for the page.
3192
+ """
3193
+
3194
+ def SetPageImage(self, n: int, imageId: int) -> bool:
3195
+ """
3196
+ SetPageImage(n, imageId) -> bool
3197
+
3198
+ Sets the image index for the given page.
3199
+ """
3200
+
3201
+ def SetPageKind(self, pageIdx: int, kind: AuiTabKind) -> bool:
3202
+ """
3203
+ SetPageKind(pageIdx, kind) -> bool
3204
+
3205
+ Set the tab kind.
3206
+ """
3207
+
3208
+ def SetPageText(self, page: int, text: str) -> bool:
3209
+ """
3210
+ SetPageText(page, text) -> bool
3211
+
3212
+ Sets the tab label for the page.
3213
+ """
3214
+
3215
+ def SetPageToolTip(self, page: int, text: str) -> bool:
3216
+ """
3217
+ SetPageToolTip(page, text) -> bool
3218
+
3219
+ Sets the tooltip displayed when hovering over the tab label of the
3220
+ page.
3221
+ """
3222
+
3223
+ def SetSelectedFont(self, font: wx.Font) -> None:
3224
+ """
3225
+ SetSelectedFont(font) -> None
3226
+
3227
+ Sets the font for drawing selected tab labels.
3228
+ """
3229
+
3230
+ def SetSelection(self, new_page: int) -> int:
3231
+ """
3232
+ SetSelection(new_page) -> int
3233
+
3234
+ Sets the page selection.
3235
+ """
3236
+
3237
+ def SetTabCtrlHeight(self, height: int) -> None:
3238
+ """
3239
+ SetTabCtrlHeight(height) -> None
3240
+
3241
+ Sets the tab height.
3242
+ """
3243
+
3244
+ def SetUniformBitmapSize(self, size: Union[wx.Size, _TwoInts]) -> None:
3245
+ """
3246
+ SetUniformBitmapSize(size) -> None
3247
+
3248
+ Ensure that all tabs have the same height, even if some of them don't
3249
+ have bitmaps.
3250
+ """
3251
+
3252
+ def Split(self, page: int, direction: int) -> None:
3253
+ """
3254
+ Split(page, direction) -> None
3255
+
3256
+ Split performs a split operation programmatically.
3257
+ """
3258
+
3259
+ def ShowWindowMenu(self) -> bool:
3260
+ """
3261
+ ShowWindowMenu() -> bool
3262
+
3263
+ Shows the window menu for the active tab control associated with this
3264
+ notebook, and returns true if a selection was made.
3265
+ """
3266
+
3267
+ def UnsplitAll(self) -> None:
3268
+ """
3269
+ UnsplitAll() -> None
3270
+
3271
+ Remove all split tab controls, leaving only the single one.
3272
+ """
3273
+
3274
+ def GetPageImage(self, nPage: int) -> int:
3275
+ """
3276
+ GetPageImage(nPage) -> int
3277
+
3278
+ Returns the image index for the given page.
3279
+ """
3280
+
3281
+ def GetTabCtrlFromPoint(self, pt: Union[wx.Point, _TwoInts]) -> AuiTabCtrl:
3282
+ """
3283
+ GetTabCtrlFromPoint(pt) -> AuiTabCtrl
3284
+
3285
+ Returns tab control based on point coordinates inside the tab frame.
3286
+ """
3287
+
3288
+ def GetActiveTabCtrl(self) -> AuiTabCtrl:
3289
+ """
3290
+ GetActiveTabCtrl() -> AuiTabCtrl
3291
+
3292
+ Returns active tab control for this notebook.
3293
+ """
3294
+
3295
+ def GetMainTabCtrl(self) -> AuiTabCtrl:
3296
+ """
3297
+ GetMainTabCtrl() -> AuiTabCtrl
3298
+
3299
+ Returns the main tab control for this notebook.
3300
+ """
3301
+
3302
+ def FindTab(self, page: wx.Window, ctrl: AuiTabCtrl, idx: int) -> bool:
3303
+ """
3304
+ FindTab(page, ctrl, idx) -> bool
3305
+
3306
+ Finds tab control associated with a given window and its tab index.
3307
+ """
3308
+
3309
+ @staticmethod
3310
+ def GetClassDefaultAttributes(variant: Union[wx.WindowVariant, int]=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes:
3311
+ """
3312
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
3313
+ """
3314
+ @property
3315
+ def ActiveTabCtrl(self) -> AuiTabCtrl: ...
3316
+ @property
3317
+ def ArtProvider(self) -> AuiTabArt: ...
3318
+ @ArtProvider.setter
3319
+ def ArtProvider(self, value: AuiTabArt, /) -> None: ...
3320
+ @property
3321
+ def CurrentPage(self) -> wx.Window: ...
3322
+ @property
3323
+ def MainTabCtrl(self) -> AuiTabCtrl: ...
3324
+ @property
3325
+ def PageCount(self) -> int: ...
3326
+ @property
3327
+ def Selection(self) -> int: ...
3328
+ @Selection.setter
3329
+ def Selection(self, value: int, /) -> None: ...
3330
+ @property
3331
+ def TabCtrlHeight(self) -> int: ...
3332
+ @TabCtrlHeight.setter
3333
+ def TabCtrlHeight(self, value: int, /) -> None: ...
3334
+ # end of class AuiNotebook
3335
+
3336
+
3337
+ class AuiNotebookPage(wx.siplib.wrapper):
3338
+ """
3339
+ Holds information about a page in wxAuiNotebook.
3340
+ """
3341
+ window: wx.Window
3342
+ caption: str
3343
+ tooltip: str
3344
+ bitmap: wx.BitmapBundle
3345
+ rect: wx.Rect
3346
+ active: bool
3347
+ # end of class AuiNotebookPage
3348
+
3349
+
3350
+ class AuiTabContainerButton(wx.siplib.wrapper):
3351
+ """
3352
+ A simple class which holds information about wxAuiNotebook tab buttons
3353
+ and their state.
3354
+ """
3355
+ id: int
3356
+ curState: int
3357
+ location: int
3358
+ bitmap: wx.BitmapBundle
3359
+ disBitmap: wx.BitmapBundle
3360
+ rect: wx.Rect
3361
+ # end of class AuiTabContainerButton
3362
+
3363
+
3364
+ class AuiTabContainer(wx.siplib.wrapper):
3365
+ """
3366
+ AuiTabContainer() -> None
3367
+
3368
+ wxAuiTabContainer is a class which contains information about each
3369
+ tab.
3370
+ """
3371
+
3372
+ class HitTestResult(wx.siplib.wrapper):
3373
+ """
3374
+
3375
+ """
3376
+ window: wx.Window
3377
+ pos: int
3378
+ # end of class HitTestResult
3379
+
3380
+
3381
+ @final
3382
+ class HitTestFlags(int, metaclass=wx.siplib.enumtype):
3383
+ HitTest_Default: ClassVar[AuiTabContainer.HitTestFlags]
3384
+ HitTest_AllowAfterTab: ClassVar[AuiTabContainer.HitTestFlags]
3385
+ HitTest_Default: ClassVar[HitTestFlags]
3386
+ HitTest_AllowAfterTab: ClassVar[HitTestFlags]
3387
+
3388
+ def __init__(self) -> None:
3389
+ """
3390
+ AuiTabContainer() -> None
3391
+
3392
+ wxAuiTabContainer is a class which contains information about each
3393
+ tab.
3394
+ """
3395
+
3396
+ def SetArtProvider(self, art: AuiTabArt) -> None:
3397
+ """
3398
+ SetArtProvider(art) -> None
3399
+ """
3400
+
3401
+ def GetArtProvider(self) -> AuiTabArt:
3402
+ """
3403
+ GetArtProvider() -> AuiTabArt
3404
+ """
3405
+
3406
+ def SetFlags(self, flags: int) -> None:
3407
+ """
3408
+ SetFlags(flags) -> None
3409
+ """
3410
+
3411
+ def GetFlags(self) -> int:
3412
+ """
3413
+ GetFlags() -> int
3414
+ """
3415
+
3416
+ def IsFlagSet(self, flag: int) -> bool:
3417
+ """
3418
+ IsFlagSet(flag) -> bool
3419
+
3420
+ Returns true if the given flag is set.
3421
+ """
3422
+
3423
+ def AddPage(self, info: AuiNotebookPage) -> bool:
3424
+ """
3425
+ AddPage(info) -> bool
3426
+ """
3427
+
3428
+ def InsertPage(self, info: AuiNotebookPage, idx: int) -> bool:
3429
+ """
3430
+ InsertPage(info, idx) -> bool
3431
+ """
3432
+
3433
+ def MovePage(self, page: wx.Window, newIdx: int) -> bool:
3434
+ """
3435
+ MovePage(page, newIdx) -> bool
3436
+ """
3437
+
3438
+ def RemovePage(self, page: wx.Window) -> bool:
3439
+ """
3440
+ RemovePage(page) -> bool
3441
+ """
3442
+
3443
+ def RemovePageAt(self, idx: int) -> None:
3444
+ """
3445
+ RemovePageAt(idx) -> None
3446
+ """
3447
+
3448
+ @overload
3449
+ def SetActivePage(self, page: int) -> bool:
3450
+ ...
3451
+
3452
+ @overload
3453
+ def SetActivePage(self, page: wx.Window) -> bool:
3454
+ """
3455
+ SetActivePage(page) -> bool
3456
+ SetActivePage(page) -> bool
3457
+ """
3458
+
3459
+ def SetNoneActive(self) -> None:
3460
+ """
3461
+ SetNoneActive() -> None
3462
+ """
3463
+
3464
+ def GetActivePage(self) -> int:
3465
+ """
3466
+ GetActivePage() -> int
3467
+ """
3468
+
3469
+ def TabHitTest(self, pt: Union[wx.Point, _TwoInts], flags: int=HitTest_Default) -> HitTestResult:
3470
+ """
3471
+ TabHitTest(pt, flags=HitTest_Default) -> HitTestResult
3472
+ """
3473
+
3474
+ def ButtonHitTest(self, pt: Union[wx.Point, _TwoInts]) -> AuiTabContainerButton:
3475
+ """
3476
+ ButtonHitTest(pt) -> AuiTabContainerButton
3477
+ """
3478
+
3479
+ def GetWindowFromIdx(self, idx: int) -> wx.Window:
3480
+ """
3481
+ GetWindowFromIdx(idx) -> wx.Window
3482
+ """
3483
+
3484
+ def GetIdxFromWindow(self, page: wx.Window) -> int:
3485
+ """
3486
+ GetIdxFromWindow(page) -> int
3487
+ """
3488
+
3489
+ def GetPageCount(self) -> int:
3490
+ """
3491
+ GetPageCount() -> int
3492
+ """
3493
+
3494
+ def GetPage(self, idx: int) -> AuiNotebookPage:
3495
+ """
3496
+ GetPage(idx) -> AuiNotebookPage
3497
+ """
3498
+
3499
+ def SetNormalFont(self, normalFont: wx.Font) -> None:
3500
+ """
3501
+ SetNormalFont(normalFont) -> None
3502
+ """
3503
+
3504
+ def SetSelectedFont(self, selectedFont: wx.Font) -> None:
3505
+ """
3506
+ SetSelectedFont(selectedFont) -> None
3507
+ """
3508
+
3509
+ def SetMeasuringFont(self, measuringFont: wx.Font) -> None:
3510
+ """
3511
+ SetMeasuringFont(measuringFont) -> None
3512
+ """
3513
+
3514
+ def SetColour(self, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
3515
+ """
3516
+ SetColour(colour) -> None
3517
+ """
3518
+
3519
+ def SetActiveColour(self, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
3520
+ """
3521
+ SetActiveColour(colour) -> None
3522
+ """
3523
+
3524
+ def DoShowHide(self) -> None:
3525
+ """
3526
+ DoShowHide() -> None
3527
+ """
3528
+
3529
+ def SetRect(self, rect: Union[wx.Rect, _FourInts], wnd: Optional[wx.Window]=None) -> None:
3530
+ """
3531
+ SetRect(rect, wnd=None) -> None
3532
+ """
3533
+
3534
+ def RemoveButton(self, id: int) -> None:
3535
+ """
3536
+ RemoveButton(id) -> None
3537
+ """
3538
+
3539
+ def AddButton(self, id: int, location: int, normalBitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]=wx.BitmapBundle(), disabledBitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image]=wx.BitmapBundle()) -> None:
3540
+ """
3541
+ AddButton(id, location, normalBitmap=wx.BitmapBundle(), disabledBitmap=wx.BitmapBundle()) -> None
3542
+ """
3543
+
3544
+ def GetTabOffset(self) -> int:
3545
+ """
3546
+ GetTabOffset() -> int
3547
+ """
3548
+
3549
+ def SetTabOffset(self, offset: int) -> None:
3550
+ """
3551
+ SetTabOffset(offset) -> None
3552
+ """
3553
+
3554
+ def IsTabVisible(self, tabPage: int, tabOffset: int, dc: wx.DC, wnd: wx.Window) -> bool:
3555
+ """
3556
+ IsTabVisible(tabPage, tabOffset, dc, wnd) -> bool
3557
+ """
3558
+
3559
+ def MakeTabVisible(self, tabPage: int, win: wx.Window) -> None:
3560
+ """
3561
+ MakeTabVisible(tabPage, win) -> None
3562
+ """
3563
+ @property
3564
+ def ActivePage(self) -> int: ...
3565
+ @ActivePage.setter
3566
+ def ActivePage(self, value: Union[wx.Window, int], /) -> None: ...
3567
+ @property
3568
+ def ArtProvider(self) -> AuiTabArt: ...
3569
+ @ArtProvider.setter
3570
+ def ArtProvider(self, value: AuiTabArt, /) -> None: ...
3571
+ @property
3572
+ def Flags(self) -> int: ...
3573
+ @Flags.setter
3574
+ def Flags(self, value: int, /) -> None: ...
3575
+ @property
3576
+ def PageCount(self) -> int: ...
3577
+ @property
3578
+ def TabOffset(self) -> int: ...
3579
+ @TabOffset.setter
3580
+ def TabOffset(self, value: int, /) -> None: ...
3581
+ # end of class AuiTabContainer
3582
+
3583
+
3584
+ class AuiTabArt(wx.siplib.wrapper):
3585
+ """
3586
+ AuiTabArt() -> None
3587
+
3588
+ Tab art provider defines all the drawing functions used by
3589
+ wxAuiNotebook.
3590
+ """
3591
+
3592
+ def __init__(self) -> None:
3593
+ """
3594
+ AuiTabArt() -> None
3595
+
3596
+ Tab art provider defines all the drawing functions used by
3597
+ wxAuiNotebook.
3598
+ """
3599
+
3600
+ def Clone(self) -> AuiTabArt:
3601
+ """
3602
+ Clone() -> AuiTabArt
3603
+
3604
+ Clones the art object.
3605
+ """
3606
+
3607
+ def DrawBackground(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
3608
+ """
3609
+ DrawBackground(dc, wnd, rect) -> None
3610
+
3611
+ Draws a background on the given area.
3612
+ """
3613
+
3614
+ def DrawButton(self, dc: wx.DC, wnd: wx.Window, in_rect: Union[wx.Rect, _FourInts], bitmap_id: int, button_state: int, orientation: int, out_rect: Union[wx.Rect, _FourInts]) -> None:
3615
+ """
3616
+ DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect) -> None
3617
+
3618
+ Draws a button.
3619
+ """
3620
+
3621
+ def DrawTab(self, dc: wx.DC, wnd: wx.Window, page: AuiNotebookPage, rect: Union[wx.Rect, _FourInts], close_button_state: int, out_tab_rect: Union[wx.Rect, _FourInts], out_button_rect: Union[wx.Rect, _FourInts], x_extent: int) -> None:
3622
+ """
3623
+ DrawTab(dc, wnd, page, rect, close_button_state, out_tab_rect, out_button_rect, x_extent) -> None
3624
+
3625
+ Draws a tab.
3626
+ """
3627
+
3628
+ def DrawPageTab(self, dc: wx.DC, wnd: wx.Window, page: AuiNotebookPage, rect: Union[wx.Rect, _FourInts]) -> int:
3629
+ """
3630
+ DrawPageTab(dc, wnd, page, rect) -> int
3631
+
3632
+ Draws a tab for the specified notebook page.
3633
+ """
3634
+
3635
+ def GetIndentSize(self) -> int:
3636
+ """
3637
+ GetIndentSize() -> int
3638
+
3639
+ Returns the indent size.
3640
+ """
3641
+
3642
+ def GetNormalFont(self) -> wx.Font:
3643
+ """
3644
+ GetNormalFont() -> wx.Font
3645
+
3646
+ Returns the font to use for normal, non-selected, tabs.
3647
+ """
3648
+
3649
+ def GetSelectedFont(self) -> wx.Font:
3650
+ """
3651
+ GetSelectedFont() -> wx.Font
3652
+
3653
+ Returns the font to use for the selected tab.
3654
+ """
3655
+
3656
+ def GetTabSize(self, dc: wx.ReadOnlyDC, wnd: wx.Window, caption: str, bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image], active: bool, close_button_state: int, x_extent: int) -> wx.Size:
3657
+ """
3658
+ GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent) -> wx.Size
3659
+
3660
+ Returns the tab size for the given caption, bitmap and state.
3661
+ """
3662
+
3663
+ def GetPageTabSize(self, dc: wx.ReadOnlyDC, wnd: wx.Window, page: AuiNotebookPage, xExtent: Optional[int]=None) -> wx.Size:
3664
+ """
3665
+ GetPageTabSize(dc, wnd, page, xExtent=None) -> wx.Size
3666
+
3667
+ Returns the size of the tab for the specified notebook page.
3668
+ """
3669
+
3670
+ def GetButtonRect(self, dc: wx.ReadOnlyDC, wnd: wx.Window, inRect: Union[wx.Rect, _FourInts], bitmapId: int, buttonState: int, orientation: int, outRect: Optional[Union[wx.Rect, _FourInts]]=None) -> int:
3671
+ """
3672
+ GetButtonRect(dc, wnd, inRect, bitmapId, buttonState, orientation, outRect=None) -> int
3673
+
3674
+ Returns the rectangle for the given button.
3675
+ """
3676
+
3677
+ def SetFlags(self, flags: int) -> None:
3678
+ """
3679
+ SetFlags(flags) -> None
3680
+
3681
+ Sets flags.
3682
+ """
3683
+
3684
+ def SetMeasuringFont(self, font: wx.Font) -> None:
3685
+ """
3686
+ SetMeasuringFont(font) -> None
3687
+
3688
+ Sets the font used for calculating measurements.
3689
+ """
3690
+
3691
+ def SetNormalFont(self, font: wx.Font) -> None:
3692
+ """
3693
+ SetNormalFont(font) -> None
3694
+
3695
+ Sets the normal font for drawing labels.
3696
+ """
3697
+
3698
+ def SetSelectedFont(self, font: wx.Font) -> None:
3699
+ """
3700
+ SetSelectedFont(font) -> None
3701
+
3702
+ Sets the font for drawing text for selected UI elements.
3703
+ """
3704
+
3705
+ def SetColour(self, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
3706
+ """
3707
+ SetColour(colour) -> None
3708
+
3709
+ Sets the colour of the inactive tabs.
3710
+ """
3711
+
3712
+ def SetActiveColour(self, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
3713
+ """
3714
+ SetActiveColour(colour) -> None
3715
+
3716
+ Sets the colour of the selected tab.
3717
+ """
3718
+
3719
+ def SetSizingInfo(self, tab_ctrl_size: Union[wx.Size, _TwoInts], tab_count: int, wnd: Optional[wx.Window]=None) -> None:
3720
+ """
3721
+ SetSizingInfo(tab_ctrl_size, tab_count, wnd=None) -> None
3722
+
3723
+ Sets sizing information.
3724
+ """
3725
+ @property
3726
+ def IndentSize(self) -> int: ...
3727
+ @property
3728
+ def NormalFont(self) -> wx.Font: ...
3729
+ @NormalFont.setter
3730
+ def NormalFont(self, value: wx.Font, /) -> None: ...
3731
+ @property
3732
+ def SelectedFont(self) -> wx.Font: ...
3733
+ @SelectedFont.setter
3734
+ def SelectedFont(self, value: wx.Font, /) -> None: ...
3735
+ # end of class AuiTabArt
3736
+
3737
+
3738
+ class AuiFlatTabArt(AuiTabArt):
3739
+ """
3740
+ AuiFlatTabArt() -> None
3741
+
3742
+ An art provider for wxAuiNotebook implementing "flat" look.
3743
+ """
3744
+
3745
+ def __init__(self) -> None:
3746
+ """
3747
+ AuiFlatTabArt() -> None
3748
+
3749
+ An art provider for wxAuiNotebook implementing "flat" look.
3750
+ """
3751
+
3752
+ def Clone(self) -> AuiTabArt:
3753
+ """
3754
+ Clone() -> AuiTabArt
3755
+
3756
+ Clones the art object.
3757
+ """
3758
+
3759
+ def DrawBackground(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
3760
+ """
3761
+ DrawBackground(dc, wnd, rect) -> None
3762
+
3763
+ Draws a background on the given area.
3764
+ """
3765
+
3766
+ def DrawButton(self, dc: wx.DC, wnd: wx.Window, in_rect: Union[wx.Rect, _FourInts], bitmap_id: int, button_state: int, orientation: int, out_rect: Union[wx.Rect, _FourInts]) -> None:
3767
+ """
3768
+ DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect) -> None
3769
+
3770
+ Draws a button.
3771
+ """
3772
+
3773
+ def GetIndentSize(self) -> int:
3774
+ """
3775
+ GetIndentSize() -> int
3776
+
3777
+ Returns the indent size.
3778
+ """
3779
+
3780
+ def SetFlags(self, flags: int) -> None:
3781
+ """
3782
+ SetFlags(flags) -> None
3783
+
3784
+ Sets flags.
3785
+ """
3786
+
3787
+ def SetMeasuringFont(self, font: wx.Font) -> None:
3788
+ """
3789
+ SetMeasuringFont(font) -> None
3790
+
3791
+ Sets the font used for calculating measurements.
3792
+ """
3793
+
3794
+ def SetNormalFont(self, font: wx.Font) -> None:
3795
+ """
3796
+ SetNormalFont(font) -> None
3797
+
3798
+ Sets the normal font for drawing labels.
3799
+ """
3800
+
3801
+ def SetSelectedFont(self, font: wx.Font) -> None:
3802
+ """
3803
+ SetSelectedFont(font) -> None
3804
+
3805
+ Sets the font for drawing text for selected UI elements.
3806
+ """
3807
+
3808
+ def SetColour(self, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
3809
+ """
3810
+ SetColour(colour) -> None
3811
+
3812
+ Sets the colour of the inactive tabs.
3813
+ """
3814
+
3815
+ def SetActiveColour(self, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
3816
+ """
3817
+ SetActiveColour(colour) -> None
3818
+
3819
+ Sets the colour of the selected tab.
3820
+ """
3821
+
3822
+ def SetSizingInfo(self, tab_ctrl_size: Union[wx.Size, _TwoInts], tab_count: int, wnd: Optional[wx.Window]=None) -> None:
3823
+ """
3824
+ SetSizingInfo(tab_ctrl_size, tab_count, wnd=None) -> None
3825
+
3826
+ Sets sizing information.
3827
+ """
3828
+ @property
3829
+ def IndentSize(self) -> int: ...
3830
+ # end of class AuiFlatTabArt
3831
+
3832
+
3833
+ class AuiGenericTabArt(AuiTabArt):
3834
+ """
3835
+ AuiGenericTabArt() -> None
3836
+
3837
+ An art provider for wxAuiNotebook implementing "glossy" look.
3838
+ """
3839
+
3840
+ def __init__(self) -> None:
3841
+ """
3842
+ AuiGenericTabArt() -> None
3843
+
3844
+ An art provider for wxAuiNotebook implementing "glossy" look.
3845
+ """
3846
+
3847
+ def Clone(self) -> AuiTabArt:
3848
+ """
3849
+ Clone() -> AuiTabArt
3850
+
3851
+ Clones the art object.
3852
+ """
3853
+
3854
+ def SetFlags(self, flags: int) -> None:
3855
+ """
3856
+ SetFlags(flags) -> None
3857
+
3858
+ Sets flags.
3859
+ """
3860
+
3861
+ def SetSizingInfo(self, tab_ctrl_size: Union[wx.Size, _TwoInts], tab_count: int, wnd: Optional[wx.Window]=None) -> None:
3862
+ """
3863
+ SetSizingInfo(tab_ctrl_size, tab_count, wnd=None) -> None
3864
+
3865
+ Sets sizing information.
3866
+ """
3867
+
3868
+ def SetNormalFont(self, font: wx.Font) -> None:
3869
+ """
3870
+ SetNormalFont(font) -> None
3871
+
3872
+ Sets the normal font for drawing labels.
3873
+ """
3874
+
3875
+ def SetSelectedFont(self, font: wx.Font) -> None:
3876
+ """
3877
+ SetSelectedFont(font) -> None
3878
+
3879
+ Sets the font for drawing text for selected UI elements.
3880
+ """
3881
+
3882
+ def SetMeasuringFont(self, font: wx.Font) -> None:
3883
+ """
3884
+ SetMeasuringFont(font) -> None
3885
+
3886
+ Sets the font used for calculating measurements.
3887
+ """
3888
+
3889
+ def SetColour(self, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
3890
+ """
3891
+ SetColour(colour) -> None
3892
+
3893
+ Sets the colour of the inactive tabs.
3894
+ """
3895
+
3896
+ def SetActiveColour(self, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
3897
+ """
3898
+ SetActiveColour(colour) -> None
3899
+
3900
+ Sets the colour of the selected tab.
3901
+ """
3902
+
3903
+ def DrawBackground(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
3904
+ """
3905
+ DrawBackground(dc, wnd, rect) -> None
3906
+
3907
+ Draws a background on the given area.
3908
+ """
3909
+
3910
+ def DrawTab(self, dc: wx.DC, wnd: wx.Window, page: AuiNotebookPage, rect: Union[wx.Rect, _FourInts], close_button_state: int, out_tab_rect: Union[wx.Rect, _FourInts], out_button_rect: Union[wx.Rect, _FourInts], x_extent: int) -> None:
3911
+ """
3912
+ DrawTab(dc, wnd, page, rect, close_button_state, out_tab_rect, out_button_rect, x_extent) -> None
3913
+
3914
+ Draws a tab.
3915
+ """
3916
+
3917
+ def DrawButton(self, dc: wx.DC, wnd: wx.Window, in_rect: Union[wx.Rect, _FourInts], bitmap_id: int, button_state: int, orientation: int, out_rect: Union[wx.Rect, _FourInts]) -> None:
3918
+ """
3919
+ DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect) -> None
3920
+
3921
+ Draws a button.
3922
+ """
3923
+
3924
+ def GetIndentSize(self) -> int:
3925
+ """
3926
+ GetIndentSize() -> int
3927
+
3928
+ Returns the indent size.
3929
+ """
3930
+
3931
+ def GetTabSize(self, dc: wx.ReadOnlyDC, wnd: wx.Window, caption: str, bitmap: Union[wx.BitmapBundle, wx.Bitmap, wx.Icon, wx.Image], active: bool, close_button_state: int, x_extent: int) -> wx.Size:
3932
+ """
3933
+ GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent) -> wx.Size
3934
+
3935
+ Returns the tab size for the given caption, bitmap and state.
3936
+ """
3937
+ @property
3938
+ def IndentSize(self) -> int: ...
3939
+ # end of class AuiGenericTabArt
3940
+
3941
+
3942
+ class AuiSimpleTabArt(AuiTabArt):
3943
+ """
3944
+ AuiSimpleTabArt() -> None
3945
+
3946
+ Another standard tab art provider for wxAuiNotebook.
3947
+ """
3948
+
3949
+ def __init__(self) -> None:
3950
+ """
3951
+ AuiSimpleTabArt() -> None
3952
+
3953
+ Another standard tab art provider for wxAuiNotebook.
3954
+ """
3955
+
3956
+ def Clone(self) -> AuiTabArt:
3957
+ """
3958
+ Clone() -> AuiTabArt
3959
+
3960
+ Clones the art object.
3961
+ """
3962
+
3963
+ def SetFlags(self, flags: int) -> None:
3964
+ """
3965
+ SetFlags(flags) -> None
3966
+
3967
+ Sets flags.
3968
+ """
3969
+
3970
+ def SetSizingInfo(self, tab_ctrl_size: Union[wx.Size, _TwoInts], tab_count: int, wnd: Optional[wx.Window]=None) -> None:
3971
+ """
3972
+ SetSizingInfo(tab_ctrl_size, tab_count, wnd=None) -> None
3973
+
3974
+ Sets sizing information.
3975
+ """
3976
+
3977
+ def SetNormalFont(self, font: wx.Font) -> None:
3978
+ """
3979
+ SetNormalFont(font) -> None
3980
+
3981
+ Sets the normal font for drawing labels.
3982
+ """
3983
+
3984
+ def SetSelectedFont(self, font: wx.Font) -> None:
3985
+ """
3986
+ SetSelectedFont(font) -> None
3987
+
3988
+ Sets the font for drawing text for selected UI elements.
3989
+ """
3990
+
3991
+ def SetMeasuringFont(self, font: wx.Font) -> None:
3992
+ """
3993
+ SetMeasuringFont(font) -> None
3994
+
3995
+ Sets the font used for calculating measurements.
3996
+ """
3997
+
3998
+ def SetColour(self, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
3999
+ """
4000
+ SetColour(colour) -> None
4001
+
4002
+ Sets the colour of the inactive tabs.
4003
+ """
4004
+
4005
+ def SetActiveColour(self, colour: Union[wx.Colour, _ThreeInts, _FourInts, str, None]) -> None:
4006
+ """
4007
+ SetActiveColour(colour) -> None
4008
+
4009
+ Sets the colour of the selected tab.
4010
+ """
4011
+
4012
+ def DrawBackground(self, dc: wx.DC, wnd: wx.Window, rect: Union[wx.Rect, _FourInts]) -> None:
4013
+ """
4014
+ DrawBackground(dc, wnd, rect) -> None
4015
+
4016
+ Draws a background on the given area.
4017
+ """
4018
+
4019
+ def DrawTab(self, dc: wx.DC, wnd: wx.Window, page: AuiNotebookPage, rect: Union[wx.Rect, _FourInts], close_button_state: int, out_tab_rect: Union[wx.Rect, _FourInts], out_button_rect: Union[wx.Rect, _FourInts], x_extent: int) -> None:
4020
+ """
4021
+ DrawTab(dc, wnd, page, rect, close_button_state, out_tab_rect, out_button_rect, x_extent) -> None
4022
+
4023
+ Draws a tab.
4024
+ """
4025
+
4026
+ def DrawButton(self, dc: wx.DC, wnd: wx.Window, in_rect: Union[wx.Rect, _FourInts], bitmap_id: int, button_state: int, orientation: int, out_rect: Union[wx.Rect, _FourInts]) -> None:
4027
+ """
4028
+ DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, out_rect) -> None
4029
+
4030
+ Draws a button.
4031
+ """
4032
+
4033
+ def GetIndentSize(self) -> int:
4034
+ """
4035
+ GetIndentSize() -> int
4036
+
4037
+ Returns the indent size.
4038
+ """
4039
+
4040
+ def GetTabSize(self, dc: wx.ReadOnlyDC, wnd: wx.Window, caption: str, bitmap: wx.Bitmap, active: bool, closeButtonState: int, xExtent: int) -> wx.Size:
4041
+ """
4042
+ GetTabSize(dc, wnd, caption, bitmap, active, closeButtonState, xExtent) -> wx.Size
4043
+ """
4044
+ @property
4045
+ def IndentSize(self) -> int: ...
4046
+ # end of class AuiSimpleTabArt
4047
+
4048
+
4049
+ class AuiNotebookEvent(wx.BookCtrlEvent):
4050
+ """
4051
+ AuiNotebookEvent(command_type=wx.wxEVT_NULL, win_id=0) -> None
4052
+
4053
+ This class is used by the events generated by wxAuiNotebook.
4054
+ """
4055
+
4056
+ def __init__(self, command_type: int=wx.wxEVT_NULL, win_id: int=0) -> None:
4057
+ """
4058
+ AuiNotebookEvent(command_type=wx.wxEVT_NULL, win_id=0) -> None
4059
+
4060
+ This class is used by the events generated by wxAuiNotebook.
4061
+ """
4062
+
4063
+ def Clone(self) -> wx.Event:
4064
+ """
4065
+ Clone() -> wx.Event
4066
+ """
4067
+ # end of class AuiNotebookEvent
4068
+
4069
+
4070
+ class AuiNotebookPosition(wx.siplib.wrapper):
4071
+ """
4072
+ Simple struct combining wxAuiTabCtrl with the position inside it.
4073
+ """
4074
+ tabCtrl: AuiTabCtrl
4075
+ tabIdx: int
4076
+ # end of class AuiNotebookPosition
4077
+
4078
+
4079
+ class AuiBookDeserializer(wx.siplib.wrapper):
4080
+ """
4081
+ AuiBookDeserializer() -> None
4082
+
4083
+ wxAuiBookDeserializer is used for deserializing wxAuiNotebook layout.
4084
+ """
4085
+
4086
+ def __init__(self) -> None:
4087
+ """
4088
+ AuiBookDeserializer() -> None
4089
+
4090
+ wxAuiBookDeserializer is used for deserializing wxAuiNotebook layout.
4091
+ """
4092
+
4093
+ def HandleOrphanedPage(self, book: AuiNotebook, page: int, tabCtrl: AuiTabCtrl, tabIndex: int) -> bool:
4094
+ """
4095
+ HandleOrphanedPage(book, page, tabCtrl, tabIndex) -> bool
4096
+
4097
+ Determine what should be done with the pages not attached to any tab
4098
+ control after restoring the pages order.
4099
+ """
4100
+ # end of class AuiBookDeserializer
4101
+
4102
+
4103
+ class AuiBookSerializer(wx.siplib.wrapper):
4104
+ """
4105
+ AuiBookSerializer() -> None
4106
+
4107
+ wxAuiBookSerializer is used for serializing wxAuiNotebook layout.
4108
+ """
4109
+
4110
+ def __init__(self) -> None:
4111
+ """
4112
+ AuiBookSerializer() -> None
4113
+
4114
+ wxAuiBookSerializer is used for serializing wxAuiNotebook layout.
4115
+ """
4116
+
4117
+ def BeforeSaveNotebook(self, name: str) -> None:
4118
+ """
4119
+ BeforeSaveNotebook(name) -> None
4120
+
4121
+ Called before starting to save information about the tabs in the
4122
+ notebook in the AUI pane with the given name.
4123
+ """
4124
+
4125
+ def SaveNotebookTabControl(self, tab: AuiTabLayoutInfo) -> None:
4126
+ """
4127
+ SaveNotebookTabControl(tab) -> None
4128
+
4129
+ Called to save information about a single tab control in the given
4130
+ notebook.
4131
+ """
4132
+
4133
+ def AfterSaveNotebook(self) -> None:
4134
+ """
4135
+ AfterSaveNotebook() -> None
4136
+
4137
+ Called after saving information about all the pages of the notebook in
4138
+ the AUI pane with the given name.
4139
+ """
4140
+ # end of class AuiBookSerializer
4141
+
4142
+
4143
+ class AuiTabLayoutInfo(AuiDockLayoutInfo):
4144
+ """
4145
+ Contains information about the layout of a tab control in a
4146
+ wxAuiNotebook.
4147
+ """
4148
+ active: int
4149
+ # end of class AuiTabLayoutInfo
4150
+
4151
+
4152
+ class AuiDockLayoutInfo(wx.siplib.wrapper):
4153
+ """
4154
+ Description of a docked element layout.
4155
+ """
4156
+ dock_direction: int
4157
+ dock_layer: int
4158
+ dock_row: int
4159
+ dock_pos: int
4160
+ dock_proportion: int
4161
+ dock_size: int
4162
+ # end of class AuiDockLayoutInfo
4163
+
4164
+
4165
+ class AuiNotebookPageArray(wx.siplib.wrapper):
4166
+ def __len__(self) -> int: ...
4167
+ def __getitem__(self, index: int, /) -> AuiNotebookPage: ...
4168
+ def __contains__(self, obj: AuiNotebookPage, /) -> bool: ...
4169
+ def __iter__(self) -> Iterator[AuiNotebookPage]: ...
4170
+ def index(self, obj: AuiNotebookPage) -> int: ...
4171
+ def append(self, obj: AuiNotebookPage) -> None: ...
4172
+
4173
+ class AuiTabContainerButtonArray(wx.siplib.wrapper):
4174
+ def __len__(self) -> int: ...
4175
+ def __getitem__(self, index: int, /) -> AuiTabContainerButton: ...
4176
+ def __contains__(self, obj: AuiTabContainerButton, /) -> bool: ...
4177
+ def __iter__(self) -> Iterator[AuiTabContainerButton]: ...
4178
+ def index(self, obj: AuiTabContainerButton) -> int: ...
4179
+ def append(self, obj: AuiTabContainerButton) -> None: ...
4180
+
4181
+ class AuiNativeTabArt(AuiGenericTabArt):
4182
+ """
4183
+ AuiNativeTabArt() -> None
4184
+
4185
+ wxAuiNativeTabArt is an alias for either the art provider providing
4186
+ native-like appearance or wxAuiGenericTabArt if not available.
4187
+ """
4188
+
4189
+ def __init__(self) -> None:
4190
+ """
4191
+ AuiNativeTabArt() -> None
4192
+
4193
+ wxAuiNativeTabArt is an alias for either the art provider providing
4194
+ native-like appearance or wxAuiGenericTabArt if not available.
4195
+ """
4196
+ # end of class AuiNativeTabArt
4197
+
4198
+
4199
+ EVT_AUINOTEBOOK_PAGE_CLOSE: wx.PyEventBinder[AuiNotebookEvent]
4200
+ EVT_AUINOTEBOOK_PAGE_CLOSED: wx.PyEventBinder[AuiNotebookEvent]
4201
+ EVT_AUINOTEBOOK_PAGE_CHANGED: wx.PyEventBinder[AuiNotebookEvent]
4202
+ EVT_AUINOTEBOOK_PAGE_CHANGING: wx.PyEventBinder[AuiNotebookEvent]
4203
+ EVT_AUINOTEBOOK_BUTTON: wx.PyEventBinder[AuiNotebookEvent]
4204
+ EVT_AUINOTEBOOK_BEGIN_DRAG: wx.PyEventBinder[AuiNotebookEvent]
4205
+ EVT_AUINOTEBOOK_END_DRAG: wx.PyEventBinder[AuiNotebookEvent]
4206
+ EVT_AUINOTEBOOK_DRAG_MOTION: wx.PyEventBinder[AuiNotebookEvent]
4207
+ EVT_AUINOTEBOOK_ALLOW_DND: wx.PyEventBinder[AuiNotebookEvent]
4208
+ EVT_AUINOTEBOOK_DRAG_DONE: wx.PyEventBinder[AuiNotebookEvent]
4209
+ EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN: wx.PyEventBinder[AuiNotebookEvent]
4210
+ EVT_AUINOTEBOOK_TAB_MIDDLE_UP: wx.PyEventBinder[AuiNotebookEvent]
4211
+ EVT_AUINOTEBOOK_TAB_RIGHT_DOWN: wx.PyEventBinder[AuiNotebookEvent]
4212
+ EVT_AUINOTEBOOK_TAB_RIGHT_UP: wx.PyEventBinder[AuiNotebookEvent]
4213
+ EVT_AUINOTEBOOK_BG_DCLICK: wx.PyEventBinder[AuiNotebookEvent]
4214
+
4215
+ AuiDefaultTabArt = AuiFlatTabArt
4216
+
4217
+ class AuiTabCtrl(wx.Control, AuiTabContainer):
4218
+ """
4219
+ AuiTabCtrl(parent, id=wx.ID_ANY) -> None
4220
+ """
4221
+
4222
+ def __init__(self, parent: AuiNotebook, id: int=wx.ID_ANY) -> None:
4223
+ """
4224
+ AuiTabCtrl(parent, id=wx.ID_ANY) -> None
4225
+ """
4226
+
4227
+ def IsDragging(self) -> bool:
4228
+ """
4229
+ IsDragging() -> bool
4230
+ """
4231
+
4232
+ @staticmethod
4233
+ def GetClassDefaultAttributes(variant: Union[wx.WindowVariant, int]=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes:
4234
+ """
4235
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
4236
+ """
4237
+ # end of class AuiTabCtrl
4238
+
4239
+ #-- end-auibook --#
4240
+ #-- begin-auitabmdi --#
4241
+
4242
+ class AuiMDIParentFrame(wx.Frame):
4243
+ """
4244
+ AuiMDIParentFrame() -> None
4245
+ AuiMDIParentFrame(parent, winid=wx.ID_ANY, title='', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE|wx.VSCROLL|wx.HSCROLL, name=wx.FrameNameStr) -> None
4246
+
4247
+ wxAuiMDIParentFrame is an MDI parent frame using wxAuiNotebook for
4248
+ showing the child frames as notebook pages.
4249
+ """
4250
+
4251
+ @overload
4252
+ def __init__(self, parent: Optional[wx.Window], winid: int=wx.ID_ANY, title: str='', pos: Union[wx.Point, _TwoInts]=wx.DefaultPosition, size: Union[wx.Size, _TwoInts]=wx.DefaultSize, style: int=wx.DEFAULT_FRAME_STYLE|wx.VSCROLL|wx.HSCROLL, name: str=...) -> None:
4253
+ ...
4254
+
4255
+ @overload
4256
+ def __init__(self) -> None:
4257
+ """
4258
+ AuiMDIParentFrame() -> None
4259
+ AuiMDIParentFrame(parent, winid=wx.ID_ANY, title='', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE|wx.VSCROLL|wx.HSCROLL, name=wx.FrameNameStr) -> None
4260
+
4261
+ wxAuiMDIParentFrame is an MDI parent frame using wxAuiNotebook for
4262
+ showing the child frames as notebook pages.
4263
+ """
4264
+
4265
+ def Create(self, parent: wx.Window, winid: int=wx.ID_ANY, title: str='', pos: Union[wx.Point, _TwoInts]=wx.DefaultPosition, size: Union[wx.Size, _TwoInts]=wx.DefaultSize, style: int=wx.DEFAULT_FRAME_STYLE|wx.VSCROLL|wx.HSCROLL, name: str=...) -> bool:
4266
+ """
4267
+ Create(parent, winid=wx.ID_ANY, title='', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE|wx.VSCROLL|wx.HSCROLL, name=wx.FrameNameStr) -> bool
4268
+
4269
+ Used in two-step frame construction.
4270
+ """
4271
+
4272
+ def SetArtProvider(self, provider: AuiTabArt) -> None:
4273
+ """
4274
+ SetArtProvider(provider) -> None
4275
+
4276
+ Sets the tab art provider used by the underlying wxAuiNotebook.
4277
+ """
4278
+
4279
+ def GetArtProvider(self) -> AuiTabArt:
4280
+ """
4281
+ GetArtProvider() -> AuiTabArt
4282
+
4283
+ Returns the tab art provider used by the underlying wxAuiNotebook.
4284
+ """
4285
+
4286
+ def GetNotebook(self) -> AuiNotebook:
4287
+ """
4288
+ GetNotebook() -> AuiNotebook
4289
+
4290
+ Returns the notebook used by this frame.
4291
+ """
4292
+
4293
+ def GetWindowMenu(self) -> wx.Menu:
4294
+ """
4295
+ GetWindowMenu() -> wx.Menu
4296
+
4297
+ Returns the Window menu used for child-window commands.
4298
+ """
4299
+
4300
+ def SetWindowMenu(self, pMenu: wx.Menu) -> None:
4301
+ """
4302
+ SetWindowMenu(pMenu) -> None
4303
+
4304
+ Replaces the Window menu used for child-window commands.
4305
+ """
4306
+
4307
+ def SetMenuBar(self, menuBar: wx.MenuBar) -> None:
4308
+ """
4309
+ SetMenuBar(menuBar) -> None
4310
+
4311
+ Tells the frame to show the given menu bar.
4312
+ """
4313
+
4314
+ def SetChildMenuBar(self, pChild: AuiMDIChildFrame) -> None:
4315
+ """
4316
+ SetChildMenuBar(pChild) -> None
4317
+ """
4318
+
4319
+ def GetActiveChild(self) -> AuiMDIChildFrame:
4320
+ """
4321
+ GetActiveChild() -> AuiMDIChildFrame
4322
+ """
4323
+
4324
+ def SetActiveChild(self, pChildFrame: AuiMDIChildFrame) -> None:
4325
+ """
4326
+ SetActiveChild(pChildFrame) -> None
4327
+ """
4328
+
4329
+ def GetClientWindow(self) -> AuiMDIClientWindow:
4330
+ """
4331
+ GetClientWindow() -> AuiMDIClientWindow
4332
+
4333
+ Returns the client window containing the child-frame pages.
4334
+ """
4335
+
4336
+ def OnCreateClient(self) -> AuiMDIClientWindow:
4337
+ """
4338
+ OnCreateClient() -> AuiMDIClientWindow
4339
+
4340
+ Override this to return a custom wxAuiMDIClientWindow-derived class.
4341
+ """
4342
+
4343
+ def Cascade(self) -> None:
4344
+ """
4345
+ Cascade() -> None
4346
+
4347
+ Has no effect for AUI MDI, because child frames are notebook pages.
4348
+ """
4349
+
4350
+ def Tile(self, orient: Union[wx.Orientation, int]=wx.HORIZONTAL) -> None:
4351
+ """
4352
+ Tile(orient=wx.HORIZONTAL) -> None
4353
+
4354
+ Splits the active AUI notebook page horizontally or vertically.
4355
+ """
4356
+
4357
+ def ArrangeIcons(self) -> None:
4358
+ """
4359
+ ArrangeIcons() -> None
4360
+
4361
+ Has no effect for AUI MDI, because child frames cannot be iconized.
4362
+ """
4363
+
4364
+ def ActivateNext(self) -> None:
4365
+ """
4366
+ ActivateNext() -> None
4367
+
4368
+ Activates the child following the current one.
4369
+ """
4370
+
4371
+ def ActivatePrevious(self) -> None:
4372
+ """
4373
+ ActivatePrevious() -> None
4374
+
4375
+ Activates the child preceding the current one.
4376
+ """
4377
+
4378
+ @staticmethod
4379
+ def GetClassDefaultAttributes(variant: Union[wx.WindowVariant, int]=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes:
4380
+ """
4381
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
4382
+ """
4383
+ @property
4384
+ def ActiveChild(self) -> AuiMDIChildFrame: ...
4385
+ @ActiveChild.setter
4386
+ def ActiveChild(self, value: AuiMDIChildFrame, /) -> None: ...
4387
+ @property
4388
+ def ArtProvider(self) -> AuiTabArt: ...
4389
+ @ArtProvider.setter
4390
+ def ArtProvider(self, value: AuiTabArt, /) -> None: ...
4391
+ @property
4392
+ def ClientWindow(self) -> AuiMDIClientWindow: ...
4393
+ @property
4394
+ def Notebook(self) -> AuiNotebook: ...
4395
+ @property
4396
+ def WindowMenu(self) -> wx.Menu: ...
4397
+ @WindowMenu.setter
4398
+ def WindowMenu(self, value: wx.Menu, /) -> None: ...
4399
+ # end of class AuiMDIParentFrame
4400
+
4401
+
4402
+ class AuiMDIChildFrame(wx.TDIChildFrame):
4403
+ """
4404
+ AuiMDIChildFrame() -> None
4405
+ AuiMDIChildFrame(parent, winid=wx.ID_ANY, title='', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE, name=wx.FrameNameStr) -> None
4406
+
4407
+ wxAuiMDIChildFrame represents one child document inside an
4408
+ wxAuiMDIParentFrame.
4409
+ """
4410
+
4411
+ @overload
4412
+ def __init__(self, parent: AuiMDIParentFrame, winid: int=wx.ID_ANY, title: str='', pos: Union[wx.Point, _TwoInts]=wx.DefaultPosition, size: Union[wx.Size, _TwoInts]=wx.DefaultSize, style: int=wx.DEFAULT_FRAME_STYLE, name: str=...) -> None:
4413
+ ...
4414
+
4415
+ @overload
4416
+ def __init__(self) -> None:
4417
+ """
4418
+ AuiMDIChildFrame() -> None
4419
+ AuiMDIChildFrame(parent, winid=wx.ID_ANY, title='', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE, name=wx.FrameNameStr) -> None
4420
+
4421
+ wxAuiMDIChildFrame represents one child document inside an
4422
+ wxAuiMDIParentFrame.
4423
+ """
4424
+
4425
+ def Create(self, parent: AuiMDIParentFrame, winid: int=wx.ID_ANY, title: str='', pos: Union[wx.Point, _TwoInts]=wx.DefaultPosition, size: Union[wx.Size, _TwoInts]=wx.DefaultSize, style: int=wx.DEFAULT_FRAME_STYLE, name: str=...) -> bool:
4426
+ """
4427
+ Create(parent, winid=wx.ID_ANY, title='', pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE, name=wx.FrameNameStr) -> bool
4428
+
4429
+ Used in two-step child-frame construction.
4430
+ """
4431
+
4432
+ def SetMenuBar(self, menuBar: wx.MenuBar) -> None:
4433
+ """
4434
+ SetMenuBar(menuBar) -> None
4435
+ """
4436
+
4437
+ def GetMenuBar(self) -> wx.MenuBar:
4438
+ """
4439
+ GetMenuBar() -> wx.MenuBar
4440
+ """
4441
+
4442
+ def SetTitle(self, title: str) -> None:
4443
+ """
4444
+ SetTitle(title) -> None
4445
+
4446
+ Sets the child title, which is used as its notebook tab label.
4447
+ """
4448
+
4449
+ def GetTitle(self) -> str:
4450
+ """
4451
+ GetTitle() -> str
4452
+
4453
+ Returns the child title.
4454
+ """
4455
+
4456
+ def SetIcons(self, icons: wx.IconBundle) -> None:
4457
+ """
4458
+ SetIcons(icons) -> None
4459
+ """
4460
+
4461
+ def GetIcons(self) -> wx.IconBundle:
4462
+ """
4463
+ GetIcons() -> wx.IconBundle
4464
+ """
4465
+
4466
+ def SetIcon(self, icon: wx.Icon) -> None:
4467
+ """
4468
+ SetIcon(icon) -> None
4469
+ """
4470
+
4471
+ def GetIcon(self) -> wx.Icon:
4472
+ """
4473
+ GetIcon() -> wx.Icon
4474
+ """
4475
+
4476
+ def Activate(self) -> None:
4477
+ """
4478
+ Activate() -> None
4479
+ """
4480
+
4481
+ def Destroy(self) -> bool:
4482
+ """
4483
+ Destroy() -> bool
4484
+
4485
+ Destroys the window safely.
4486
+ """
4487
+
4488
+ def Show(self, show: bool=True) -> bool:
4489
+ """
4490
+ Show(show=True) -> bool
4491
+
4492
+ Shows or hides the window.
4493
+ """
4494
+
4495
+ def CreateStatusBar(self, number: int=1, style: int=1, winid: int=1, name: str='') -> wx.StatusBar:
4496
+ """
4497
+ CreateStatusBar(number=1, style=1, winid=1, name='') -> wx.StatusBar
4498
+ """
4499
+
4500
+ def GetStatusBar(self) -> wx.StatusBar:
4501
+ """
4502
+ GetStatusBar() -> wx.StatusBar
4503
+ """
4504
+
4505
+ def SetStatusText(self, text: str, number: int=0) -> None:
4506
+ """
4507
+ SetStatusText(text, number=0) -> None
4508
+ """
4509
+
4510
+ def SetStatusWidths(self, widths: List[int]) -> None:
4511
+ """
4512
+ SetStatusWidths(widths) -> None
4513
+ """
4514
+
4515
+ def CreateToolBar(self, style: int, winid: int, name: str) -> wx.ToolBar:
4516
+ """
4517
+ CreateToolBar(style, winid, name) -> wx.ToolBar
4518
+ """
4519
+
4520
+ def GetToolBar(self) -> wx.ToolBar:
4521
+ """
4522
+ GetToolBar() -> wx.ToolBar
4523
+ """
4524
+
4525
+ def Maximize(self, maximize: bool=True) -> None:
4526
+ """
4527
+ Maximize(maximize=True) -> None
4528
+ """
4529
+
4530
+ def Restore(self) -> None:
4531
+ """
4532
+ Restore() -> None
4533
+ """
4534
+
4535
+ def Iconize(self, iconize: bool=True) -> None:
4536
+ """
4537
+ Iconize(iconize=True) -> None
4538
+ """
4539
+
4540
+ def IsMaximized(self) -> bool:
4541
+ """
4542
+ IsMaximized() -> bool
4543
+ """
4544
+
4545
+ def IsIconized(self) -> bool:
4546
+ """
4547
+ IsIconized() -> bool
4548
+ """
4549
+
4550
+ def ShowFullScreen(self, show: bool, style: int) -> bool:
4551
+ """
4552
+ ShowFullScreen(show, style) -> bool
4553
+ """
4554
+
4555
+ def IsFullScreen(self) -> bool:
4556
+ """
4557
+ IsFullScreen() -> bool
4558
+ """
4559
+
4560
+ def IsTopLevel(self) -> bool:
4561
+ """
4562
+ IsTopLevel() -> bool
4563
+
4564
+ Returns true if the given window is a top-level one.
4565
+ """
4566
+
4567
+ def SetMDIParentFrame(self, parent: AuiMDIParentFrame) -> None:
4568
+ """
4569
+ SetMDIParentFrame(parent) -> None
4570
+
4571
+ Sets the AUI MDI parent frame containing this child.
4572
+ """
4573
+
4574
+ def GetMDIParentFrame(self) -> AuiMDIParentFrame:
4575
+ """
4576
+ GetMDIParentFrame() -> AuiMDIParentFrame
4577
+
4578
+ Returns the AUI MDI parent frame containing this child.
4579
+ """
4580
+
4581
+ @staticmethod
4582
+ def GetClassDefaultAttributes(variant: Union[wx.WindowVariant, int]=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes:
4583
+ """
4584
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
4585
+ """
4586
+ @property
4587
+ def Icon(self) -> wx.Icon: ...
4588
+ @Icon.setter
4589
+ def Icon(self, value: wx.Icon, /) -> None: ...
4590
+ @property
4591
+ def Icons(self) -> wx.IconBundle: ...
4592
+ @Icons.setter
4593
+ def Icons(self, value: wx.IconBundle, /) -> None: ...
4594
+ @property
4595
+ def MDIParentFrame(self) -> AuiMDIParentFrame: ...
4596
+ @MDIParentFrame.setter
4597
+ def MDIParentFrame(self, value: AuiMDIParentFrame, /) -> None: ...
4598
+ @property
4599
+ def MenuBar(self) -> wx.MenuBar: ...
4600
+ @MenuBar.setter
4601
+ def MenuBar(self, value: wx.MenuBar, /) -> None: ...
4602
+ @property
4603
+ def StatusBar(self) -> wx.StatusBar: ...
4604
+ @property
4605
+ def Title(self) -> str: ...
4606
+ @Title.setter
4607
+ def Title(self, value: str, /) -> None: ...
4608
+ @property
4609
+ def ToolBar(self) -> wx.ToolBar: ...
4610
+ # end of class AuiMDIChildFrame
4611
+
4612
+
4613
+ class AuiMDIClientWindow(AuiNotebook):
4614
+ """
4615
+ AuiMDIClientWindow() -> None
4616
+ AuiMDIClientWindow(parent, style=0) -> None
4617
+
4618
+ wxAuiMDIClientWindow is the wxAuiNotebook used by wxAuiMDIParentFrame
4619
+ to contain wxAuiMDIChildFrame pages.
4620
+ """
4621
+
4622
+ @overload
4623
+ def __init__(self, parent: AuiMDIParentFrame, style: int=0) -> None:
4624
+ ...
4625
+
4626
+ @overload
4627
+ def __init__(self) -> None:
4628
+ """
4629
+ AuiMDIClientWindow() -> None
4630
+ AuiMDIClientWindow(parent, style=0) -> None
4631
+
4632
+ wxAuiMDIClientWindow is the wxAuiNotebook used by wxAuiMDIParentFrame
4633
+ to contain wxAuiMDIChildFrame pages.
4634
+ """
4635
+
4636
+ def CreateClient(self, parent: AuiMDIParentFrame, style: int=wx.VSCROLL|wx.HSCROLL) -> bool:
4637
+ """
4638
+ CreateClient(parent, style=wx.VSCROLL|wx.HSCROLL) -> bool
4639
+
4640
+ Called by wxAuiMDIParentFrame immediately after creating the client
4641
+ window object.
4642
+ """
4643
+
4644
+ def SetSelection(self, page: int) -> int:
4645
+ """
4646
+ SetSelection(page) -> int
4647
+
4648
+ Selects the page at the given index.
4649
+ """
4650
+
4651
+ def GetActiveChild(self) -> AuiMDIChildFrame:
4652
+ """
4653
+ GetActiveChild() -> AuiMDIChildFrame
4654
+
4655
+ Returns the active child frame, or nullptr if there are no pages.
4656
+ """
4657
+
4658
+ def SetActiveChild(self, pChildFrame: AuiMDIChildFrame) -> None:
4659
+ """
4660
+ SetActiveChild(pChildFrame) -> None
4661
+
4662
+ Makes the given child frame active.
4663
+ """
4664
+
4665
+ @staticmethod
4666
+ def GetClassDefaultAttributes(variant: Union[wx.WindowVariant, int]=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes:
4667
+ """
4668
+ GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes
4669
+ """
4670
+ @property
4671
+ def ActiveChild(self) -> AuiMDIChildFrame: ...
4672
+ @ActiveChild.setter
4673
+ def ActiveChild(self, value: AuiMDIChildFrame, /) -> None: ...
4674
+ # end of class AuiMDIClientWindow
4675
+
4676
+ #-- end-auitabmdi --#
4677
+ #-- begin-auiserializer --#
4678
+
4679
+ class AuiDeserializer(AuiBookDeserializer):
4680
+ """
4681
+ AuiDeserializer(manager) -> None
4682
+
4683
+ wxAuiDeserializer is used by wxAuiManager::LoadLayout() to restore
4684
+ layout information saved by wxAuiManager::SaveLayout().
4685
+ """
4686
+
4687
+ def __init__(self, manager: AuiManager) -> None:
4688
+ """
4689
+ AuiDeserializer(manager) -> None
4690
+
4691
+ wxAuiDeserializer is used by wxAuiManager::LoadLayout() to restore
4692
+ layout information saved by wxAuiManager::SaveLayout().
4693
+ """
4694
+
4695
+ def BeforeLoad(self) -> None:
4696
+ """
4697
+ BeforeLoad() -> None
4698
+
4699
+ Called before doing anything else.
4700
+ """
4701
+
4702
+ def CreatePaneWindow(self, pane: AuiPaneInfo) -> wx.Window:
4703
+ """
4704
+ CreatePaneWindow(pane) -> wx.Window
4705
+
4706
+ Create the window to be managed by the given pane if necessary.
4707
+ """
4708
+
4709
+ def AfterLoad(self) -> None:
4710
+ """
4711
+ AfterLoad() -> None
4712
+
4713
+ Called after restoring everything.
4714
+ """
4715
+ # end of class AuiDeserializer
4716
+
4717
+
4718
+ class AuiPaneLayoutInfo(AuiDockLayoutInfo):
4719
+ """
4720
+ AuiPaneLayoutInfo(name) -> None
4721
+
4722
+ Description of user-modifiable pane layout information.
4723
+ """
4724
+
4725
+ def __init__(self, name: str) -> None:
4726
+ """
4727
+ AuiPaneLayoutInfo(name) -> None
4728
+
4729
+ Description of user-modifiable pane layout information.
4730
+ """
4731
+ name: str
4732
+ floating_pos: wx.Point
4733
+ floating_size: wx.Size
4734
+ is_maximized: bool
4735
+ is_hidden: bool
4736
+ # end of class AuiPaneLayoutInfo
4737
+
4738
+
4739
+ class AuiSerializer(AuiBookSerializer):
4740
+ """
4741
+ AuiSerializer() -> None
4742
+
4743
+ wxAuiSerializer is used by wxAuiManager::SaveLayout() to store layout
4744
+ information.
4745
+ """
4746
+
4747
+ def __init__(self) -> None:
4748
+ """
4749
+ AuiSerializer() -> None
4750
+
4751
+ wxAuiSerializer is used by wxAuiManager::SaveLayout() to store layout
4752
+ information.
4753
+ """
4754
+
4755
+ def BeforeSave(self) -> None:
4756
+ """
4757
+ BeforeSave() -> None
4758
+
4759
+ Called before doing anything else.
4760
+ """
4761
+
4762
+ def BeforeSavePanes(self) -> None:
4763
+ """
4764
+ BeforeSavePanes() -> None
4765
+
4766
+ Called before starting to save information about the panes.
4767
+ """
4768
+
4769
+ def SavePane(self, pane: AuiPaneLayoutInfo) -> None:
4770
+ """
4771
+ SavePane(pane) -> None
4772
+
4773
+ Save information about the given pane.
4774
+ """
4775
+
4776
+ def AfterSavePanes(self) -> None:
4777
+ """
4778
+ AfterSavePanes() -> None
4779
+
4780
+ Called after the last call to SavePane().
4781
+ """
4782
+
4783
+ def BeforeSaveNotebooks(self) -> None:
4784
+ """
4785
+ BeforeSaveNotebooks() -> None
4786
+
4787
+ Called before starting to save information about the notebooks.
4788
+ """
4789
+
4790
+ def AfterSaveNotebooks(self) -> None:
4791
+ """
4792
+ AfterSaveNotebooks() -> None
4793
+
4794
+ Called after the last call to SaveNotebook().
4795
+ """
4796
+
4797
+ def AfterSave(self) -> None:
4798
+ """
4799
+ AfterSave() -> None
4800
+
4801
+ Called after saving everything.
4802
+ """
4803
+ # end of class AuiSerializer
4804
+
4805
+ #-- end-auiserializer --#